U_FlexValue
Union to hold the information in the data type ST_FlexValue.
Syntax:
TYPE U_FlexValue :
UNION
b: BOOL;
//
si: SINT;
usi: USINT;
bt: BYTE;
//
i: INT;
ui: UINT;
w: WORD;
//
di: DINT;
udi: UDINT;
dw: DWORD;
re: REAL;
//
li: LINT;
uli: ULINT;
lw: LWORD;
lr: LREAL;
END_UNION
END_TYPE
Values
Name | Type |
---|---|
b | BOOL |
si | SINT |
usi | USINT |
bt | BYTE |
i | INT |
ui | UINT |
w | WORD |
di | DINT |
udi | UDINT |
dw | DWORD |
re | REAL |
li | LINT |
uli | ULINT |
lw | LWORD |
lr | LREAL |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.55 | PC or CX (x64, x86) | Tc3_PlasticFunctions (>= v3.12.5.0) |