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
CODESYS Development System
Operator: SUB The IEC operator subtracts variables. Permitted data types: BYTE , WORD , DWORD , LWORD , SINT , USINT , INT , UINT , DINT , UDINT , LINT , ULINT , REAL , LREAL , TIME , LTIME , TIME_OF_
CODESYS Development System
Operator: DIV The IEC operator is used to divide variables. Permitted data types: BYTE , WORD , DWORD , LWORD , SINT , USINT , INT , UINT , DINT , UDINT , LINT , ULINT , REAL , LREAL , TIME Important
CODESYS Development System
Operator: MOD The IEC operator is used for modulo division. The result of the function is the non-negative, integer remainder of division. Permitted data types: BYTE , WORD , DWORD , LWORD , SINT , US
CODESYS Development System
Operator: MOVE The IEC operator is used for assigning a variable to another variable of a corresponding type. Because MOVE is available in the CFC, FBD, and LD editors, you can also use the EN/ENO fun
CODESYS Development System
Operator: INDEXOF The operator is an extension of the IEC 61131-3 standard. Instead of the INDEXOF operator, the ADR operator is provided in CODESYS V3 for getting a pointer at the index of a POU. :
CODESYS Development System
Operator: SIZEOF Tip In compiler version 3.5.16.0 and higher, the XSIZEOF operator should be used instead of this operator. The operator is an extension of the IEC 61131-3 standard. Syntax : <return v
CODESYS Development System
Operator: XSIZEOF The operator is an extension of the IEC 61131-3 standard. The XSIZEOF operator determines the number of bytes which are needed in the passed variable or data type. In doing so, an un