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
CODESYS Development System
Operator: ROR The IEC operator is used for bitwise rotation of an operand to the right. Permitted data types: BYTE , WORD , DWORD , LWORD erg := ROR(in,n) CODESYS moves in n-times one bit to the right
CODESYS Development System
Operator: __POUNAME The operator is an extension of the IEC 61131-1 standard. At runtime, the operator yields the name of the POU that contains the operator __POUNAME . The result is of type STRING .
CODESYS Development System
Functions In ST, you can use a function call as an operand. Example 194 . Example: Result := Fct(7) + 3; TIME() function This function yields the time (in milliseconds) that has elapsed since system b
CODESYS Development System
Data Types In the programming, a variable is identified by its name and has an address in the memory of the target system. Accordingly, variable names are identifiers under which the allocated memory