U_BA_ClassValue
Structure for the input of values.
The data type UNION allows the meaningful description of one of the containing elements.
All other elements start at the same address in the memory area and are thus also written to.
Their content, however, is then usually not meaningful.
Syntax
TYPE U_BA_ClassValue :
UNION
bVal : BOOL;
rVal : REAL;
udiVal : UDINT;
END_UNION
END_TYPE
Name | Type | Description |
---|---|---|
bVal | BOOL | Binary values. |
rVal | REAL | Analog floating point values. |
udiVal | UDINT | Multistate value as UDINT. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT 3.1 4024.35 | Tc3_BA2_Common from V2.1.20.0 |