E_FlexValue
Enumeration to identify a value of the type U_FlexValue.
Syntax:
{attribute 'qualified_only'}
{attribute 'strict'}
TYPE E_FlexValue :
(
eILLEGAL := -1,
//
// 1 bit
//
eBOOL := 0,
//
// 8 bit
//
eSINT := 8,
eUSINT,
eBYTE,
//
// 16 bit
//
eINT := 16,
eUINT,
eWORD,
//
// 32 bit
//
eDINT := 32,
eUDINT,
eDWORD,
eREAL,
//
// 64 bit
//
eLINT := 64,
eULINT,
eLWORD,
eLREAL
);
END_TYPE
Values
Name | Number | Bit width |
---|---|---|
eILLEGAL | -1 | / |
eBOOL | 0 | 1 bit |
eSINT | 8 | 8 bits |
eUSINT | 9 | |
eBYTE | 10 | |
eINT | 16 | 16 bits |
eUINT | 17 | |
eWORD | 18 | |
eDINT | 32 | 32 bits |
eUDINT | 33 | |
eDWORD | 34 | |
eREAL | 35 | |
eLINT | 64 | 64 bits |
eULINT | 65 | |
eLWORD | 66 | |
eLREAL | 67 |
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) |