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
CODESYS Development System
Constant: Typed Literal With the ecxeption of REAL or LREAL -Constants (in this case, always LREAL is used) the smallest possible data type is used when calculating with IEC constants. If you want to
CODESYS Development System
Access to Variables in Arrays, Structures, and Blocks Access to array elements Syntax: <name of array variable> [ <comma-separated list of dimension indexes> ] <name of array variable> Name of the a
CODESYS Development System
Bit Access in Variables Important Implement concurrent bit access by two tasks only if the processor can execute bit access directly on the memory. All x86 and x64 systems have commands for bit access
CODESYS Development System
Data Type: Implicit Enumeration The implicit enumeration allows for an easy way to declare a new enumeration variable which is valid only within the local POU. A variable of this type can take a limit
CODESYS Development System
Operators CODESYS V3 supports all IEC 61131-3 operators. These operators are recognized implicitly throughout the project. In addition to these IEC operators, CODESYS also supports some non-IEC 61131-
CODESYS Development System
Operator: MUL The IEC operator is used to multiply variables. Permitted data types: BYTE , WORD , DWORD , LWORD , SINT , USINT , INT , UINT , DINT , UDINT , LINT , ULINT , REAL , LREAL , TIME Feature