E_ArgType
Internal argument type ID. This type is used by string format functions/function blocks.
TYPE E_ArgType :
(
ARGTYPE_UNKNOWN := 0,
ARGTYPE_BYTE,
ARGTYPE_WORD,
ARGTYPE_DWORD,
ARGTYPE_REAL,
ARGTYPE_LREAL,
ARGTYPE_SINT,
ARGTYPE_INT,
ARGTYPE_DINT,
ARGTYPE_USINT,
ARGTYPE_UINT,
ARGTYPE_UDINT,
ARGTYPE_STRING,
ARGTYPE_BOOL,
ARGTYPE_BIGTYPE,
ARGTYPE_ULARGE,
ARGTYPE_UHUGE,
ARGTYPE_LARGE,
ARGTYPE_HUGE,
ARGTYPE_LWORD
);
END_TYPE
Value | Corresponding PLC data type |
---|---|
ARGTYPE_UNKNOWN | Type is unknown or not initialized |
ARGTYPE_BYTE | BYTE (8 bits) |
ARGTYPE_WORD | WORD (16 bits) |
ARGTYPE_DWORD | DWORD (32 bits) |
ARGTYPE_REAL | REAL |
ARGTYPE_LREAL | LREAL |
ARGTYPE_SINT | SINT |
ARGTYPE_INT | INT |
ARGTYPE_DINT | DINT |
ARGTYPE_USINT | USINT |
ARGTYPE_UINT | UINT |
ARGTYPE_UDINT | UDINT |
ARGTYPE_STRING | String of type: T_MaxString |
ARGTYPE_BOOL | BOOL |
ARGTYPE_BIGTYPE | Any data structure or byte buffer |
ARGTYPE_ULARGE | T_ULARGE_INTEGER or ULINT (unsigned 64-bit integer) |
ARGTYPE_UHUGE | T_UHUGE_INTEGER (unsigned 128 bit integer) |
ARGTYPE_LARGE | T_LARGE_INTEGER or LINT (signed 64 bit integer) |
ARGTYPE_HUGE | T_HUGE_INTEGER (signed 128 bit integer) |
ARGTYPE_LWORD | LWORD (64 bits) |
Requirements
Development environment |
Target platform |
PLC libraries to be integrated (category group) |
---|---|---|
TwinCAT v3.1.0 |
PC or CX (x86, x64, ARM) |
Tc2_Utilities (System) |