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: 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: ABS The IEC operator yields the absolute value of a number. Permitted data types for input and output variables and numeric constants: any numeric basic data type Example 123 . Examples Resu
CODESYS Development System
Operator: SQRT The IEC operator yields the square root of a number. Permitted data types for input variables: any numeric basic data type Permitted data types for output variables: REAL and LREAL Exam
CODESYS Development System
Operator: LN The IEC operator yields the natural logarithm of a number. Permitted data types for input variables: any numeric basic data type Permitted data types for output variables: REAL and LREAL
CODESYS Development System
Operator: EXP The IEC operator yields the exponential function. Permitted data types for input variables: any numeric basic data type Permitted data types for output variables: REAL and LREAL Example
CODESYS Development System
Operator: EXPT The IEC operator raises a number to a higher power and returns the power of the base raised to the exponent: power = base exponent . The input values (parameters) are the base and the e
CODESYS Development System
Operator: LIMIT The IEC selection operator is used for limiting. OUT := LIMIT(Min, IN, Max) That means: OUT := MIN (MAX (IN, Min), Max) Max is the upper limit and Min is the lower limit for the result
CODESYS Development System
Operator: GT The IEC operator is used for the "greater than" function. Permitted data types of the operands: any basic data type If the first operand is greater than the second operand, then the opera