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
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: OR_ELSE The operator is an extension of the IEC 61131-3 standard. The OR_ELSE operator is permitted only for programming in structured text: OR operation of BOOL and BIT operands with short-
CODESYS Development System
Operator: SHL The IEC operator is used for bitwise shift of an operand to the left. erg := SHL (in, n) in : Operand which is shifted to the left n : Number of bits to shift in to the left Important If
CODESYS Development System
Operator: SHR The IEC operator is used for bitwise shift of an operand to the right. erg := SHR (in, n) in : Operand which is shifted to the right n : Number of bits to shift in to the right Important
CODESYS Development System
Operator: ROL The IEC operator is used for bitwise rotation of an operand to the left. Permitted data types: BYTE , WORD , DWORD , LWORD erg := ROL (in, n) CODESYS moves in n-times one bit to the left