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
CODESYS Development System
Operator: OR The IEC operator is used for the bitwise OR of bit operands. When at least one of the input bits yields 1, the output bit also yields 1; otherwise 0. Permitted data types: BOOL , BYTE , W
CODESYS Development System
Operator: XOR The IEC operator is used for the bitwise XOR of bit operands. When only one of the two input bits yields 1, the output bit also yields 1. When both inputs yield 1 or 0, then the output y
CODESYS Development System
Operator: AND_THEN The operator is an extension of the IEC 61131-3 standard. The AND_THEN operator is permitted only for programming in structured text with the AND operation of BOOL and BIT operands