Annex A High Pressure Die Casting Devices Rules for Variable Definition in Device Specifications (Normative)

A.1 Overview

The following guideline details the variable definition requirements in companion specifications that are to be developed for specific HPDC Devices and will implement the standard OPC 40350-1. This guideline is provided to serve as a common reference for different device-specific companion specifications.

A.1.1 Scope

This document provides general mandatory requirements as well as recommendations regarding the definition of parameters and process variables in the different HPDC device companion specifications.

The focus of this document is standard use cases like device identification, status, alarms/warnings and process variables. More complex use cases like device interaction are not yet included (e.g. automation of an HPDC cell).

A.1.2 Foreword

The motivation behind this document is to ensure that the various HPDC device companion specifications ("device CS") have a minimum degree of harmonization regarding the parameter and variable definition.

The recommendations are intended to help the authors of a device CS to formulate the description of the variables and parameters as precisely as possible in order to ensure that the definition is absolutely clear - both for the developer who implements the device CS on the server side and for the process expert who wants to use the variable on the client side.

This makes it easier for the users behind the client to understand the various variables and parameters of the different HPDC Devices.

A.2 Requirements and Recommendations for Variable Definitions

Each variable shall be defined as clear as possible. This chapter deals with mandatory requirements and optional recommendations for the implementation of variables in an OPC-UA server of an HPDC Device.

A.2.1 Variable Name

The variable name shall fulfill the following mandatory requirements:

Temperature (recommended: °C, degree Celcius)

Force (recommended: kN, kilo Newton)

Pressure (recommended: bar; 0 = ambient atmospheric pressure)

VacuumPressure (recommended: mbar; 0 = absolute vacuum)

Power (recommended: kW, kilo watts)

Energy (recommended: kWh, kilo watt hours)

Stroke (recommended: mm, millimeters)

Position (recommended: mm, millimeters)

Velocity (recommended: m/s, meters per second)

Acceleration (recommended: m/s^2, meters per square second)

Angle (recommended: °, degree)

RotationSpeed (recommended: rpm, rotations per minute)

Flowrate (recommended: L/min, liters per minute)

Length (recommended: m, meter)

Width (recommended: m, meter)

Height (recommended: m, meter)

Thickness (recommended: mm, millimeters)

Diameter (recommended: mm, millimeters)

CrossSection (recommended: mm^2, square millimeters)

SurfaceArea (recommended: mm^2, square millimeters)

Volume (recommended: L, liter)

Quantity (recommended: -/-)

Counter (recommended: -/-)

Mass (recommended: g)

Density (recommended: kg/m^3)

Humidity (recommended: % RH)

Time (recommended: sec)

Delay (recommended: sec)

Frequency (recommended: Hz)

ElectricCurrent (recommended: A)

ElectricVoltage (recommended: V)

ElectricResistance (recommended: Ohm)

ElectricCapacity (recommended: µF)

Maximum

Minimum

Average

Relative (e.g. to a more or less constant base)

Difference (e.g. pressure difference of two pressure sensors)

Deviation

Percentage

Sum

Product

Quotient

Gradient

Setpt : setpoint value

Live : Live actual value (continuously measured and updated value; as fast as possible regarding the technical system and OPC-UA)

Msrd : Measured value (regarding a specific measurement event)

Calc : Calculated measured value (e.g. average value of measured actual values)

Estm : Estimated value

State : Status value

Config : Configuration value (e.g. file name / path; user name)

Spec : Specification values like technical data (e.g. maximum of plunger stroke; space between tie bars)

Trigger : Trigger variable (e.g. a trigger when a certain set of corresponding variables are consistent, see chapter 2.7)

Examples:

CoolingChannel001TemperatureAverageCalc

CoolCh001TemperatureAverageVerySpecialCustomerCalcCstm

Optional recommendations regarding the variable name:

A.2.2 Variable Type

The variable type shall fulfill the following mandatory requirements:

Optional recommendations regarding the variable type:

'Float' (32bits) for floating point values (e.g. analog process values)

'UInt32' (32bits) for numbers / counters

A.2.3 Unit of a Variable

The unit of a variable shall fulfill the following mandatory requirements:

Optional recommendations regarding the variable unit:

The recommended units for different physical signals or variables are given in the chapter for the physical context, see chapter 2.1.

A.2.4 Recorded Series of Actual Value Variables

A recorded series of values is a sequence of values which is recorded in the controller of the device and provided by its OPC-UA server later. Typical applications are, if the values change that fast, that it would not be possible to provide the values live by the OPC-UA server, e.g. the position of the injection plunger recorded over a time period or recorded over the plunger stroke.

A recorded value series always has a sequence of base values which defines the grid points, when or where the single values of the series were measured and recorded. If one would show the value series as a diagram, the value series would be drawn in Y-Axis while the base values build the X-Axis. Often this base values are a time vector but it could also be a vector of positions if the value series was recorded e.g. over the position of a plunger.

For recorded series of actual values the following mandatory requirements shall be fulfilled:

Optional recommendations for recorded series of actual value variables:

A.2.5 Range Limits for Writable Numeric Variables

Writeable numeric variables shall fulfill the following mandatory requirements:

A.2.6 Variable Description

The variable description shall fulfill the following mandatory requirements:

A.2.7 Dataset Trigger Variables

A dataset trigger variable specifies or signals, when a set of variables in the OPC-UA server is valid and consistent:

Note: A dataset trigger variable is only necessary for sets of variables which must be consistent from a process perspective. For single "independent" variables there's no need for a dataset trigger variable.

Dataset Trigger variables shall fulfill the following mandatory requirements:

Recommendations for implementation:

A.2.8 Global Cycle ID

The HPDC process is a cyclic process. For quality reasons and from a perspective of a central database in a foundry, the association between a unique die casting part and the corresponding process data of different devices within the production cell is obligatory. Therefore a global cycle ID is introduced for each HPDC production cell which is provided by the cell controller for all devices.

Regarding the global cycle ID the following mandatory requirements shall be fulfilled:

General

Devices

A.2.9 Time Management of Cycle Associated Variables

The HPDC process is a cyclic process, so the association of e.g. process values to the cycle number is very important. It must be ensured, that all devices provide their data associated to the cycle. Therefore, a cycle dataset trigger variable is introduced which uses the mechanism of the dataset trigger variables, see above.

E.g. the HPDC machine provides a big set of quality data each cycle. Hereby it is very important, that these variables are updated more or less synchronously and contain valid and consistent values when the e.g. "quality trigger variable" is incremented.

Cycle dataset trigger variables and datasets shall fulfill the following mandatory requirements:

The dataset status variable shall be an UInt16

The dataset status variable shall be named DatasetState

0 = unknown (initial value)

1 = dataset is incomplete (e.g. the device has internally started the refreshing the dataset but did not complete it)

2 = dataset is complete and valid

OPC 20018, Whitepaper - OPC UA Introduction

http://www.opcfoundation.org/documents/20018/

_____________