CODESYS Development System
Operator: NE The IEC operator compares two operands for inequality. All elementary data types are permitted as data types for the operands. If the operands are unequal, then the operator yields the re
CODESYS Development System
Operator: Content Operator The operator is an extension of the IEC 61131-3 standard. The operator allows for dereferencing a pointer. You append the operator as ^ to the pointer identifier. Caution Wh
CODESYS Development System
Operator: CAL The IEC operator is used for calling function blocks. In IL, CAL calls the instance of a function block. CAL <function block> (<input variable1> := <value>, <input variableN> := <value>)
CODESYS Development System
Overloading Important If the operand value for a type conversion operator is outside of the value range of the target data type, then the result output depends on the processor type and is therefore u
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
CODESYS Development System
Operator: NOT The IEC operator is used for the bitwise NOT of a bit operand. When the respective input bit yields 0, the output bit also yields 1, and the other way around. Permitted data types: BOOL