CODESYS Development System
Operator: __CURRENTTASK The operator is an extension of the IEC 61131-3 standard. At runtime, the operator provides information about the IEC task that is currently running. Tip The operator is suppor
CODESYS Development System
Operator: __COMPARE_AND_SWAP The multicore operator is an extension of the IEC 61131-3 standard. The operator can be used for implementing a semaphore, for example to guarantee exclusive access to a v
CODESYS Development System
Operator: __XADD The multicore operator is an extension of the IEC 61131-3 standard. The operator can be used for implementing an atomic counter. If an integer variable is incremented by means of ordi
CODESYS Development System
Operator: __POSITION The operator is an extension of the IEC 61131-1 standard. At runtime, the operator yields the position of a variable in the declaration part or in the implementation part of a POU
CODESYS Development System
Operator: __POUNAME The operator is an extension of the IEC 61131-1 standard. At runtime, the operator yields the name of the POU that contains the operator __POUNAME . The result is of type STRING .
CODESYS Development System
String Constants A string constant is a string enclosed in single straight quotation marks. The characters are coded according to the character set specified in ISO/IEC 8859-1. Therefore, a string con
CODESYS Development System
Constant: UTF8# String With compiler version >= 3.5.18.0, UTF-8 encoded string literals are possible as a single-byte string with base STRING . Syntax: UTF8#' <string literal> ' Example 170 . Constant
CODESYS Development System
Constant: Character The character literal for a single Unicode character has the base type UDINT . The type prefix UCHAR# is prefixed to the literal as an identifier. The numerical value of the charac
CODESYS Development System
Constant: TIME, LTIME You can use TIME constants to operate the standard timer modules. The constant has a size of 32 bits and a resolution in milliseconds. In addition, the time constant LTIME is ava
CODESYS Development System
Constant: Date and Time 32-bit date specification: DATE Use the DATE keyword ( D ) to specify a date. Syntax <date keyword>#<year>-<month>-<day> <date keyword> : DATE | date | D | d <year> : 1970-2106