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: MUX The IEC operator is used as a multiplexer. OUT := MUX(K, IN0,...,INn) That means: OUT = IN_K Permitted data types for K : BYTE , WORD , DWORD , LWORD , SINT , USINT , INT , UINT , DINT ,
CODESYS Development System
Operator: LT The IEC operator is used for the "less than" function. Permitted data types of the operands: any basic data type If the first operand is less than the second operand, then the operator yi
CODESYS Development System
Operator: LE The IEC operator is used for the "less than or equal to" function. Permitted data types of the operands: any basic data type If the first operand is less than or equal to the second opera
CODESYS Development System
Operator: GE The IEC operator is used for the "greater than or equal to" function. Permitted data types of the operands: any basic data type If the first operand is greater than or equal to the second
CODESYS Development System
Operator: EQ The IEC operator compares two operands for equality. All elementary data types are permitted as data types for the operands. If the operands are equal, then the operator yields the result
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: COS The IEC operator yields the cosine value of a number. Permitted data types for input variables that measure the angle in radians: any numeric basic data type Permitted data types for out
CODESYS Development System
Operator: TAN The IEC operator yields the tangent value of a number. Permitted data types for input variables that measure the angle in radians: any numeric basic data type Permitted data types for ou
CODESYS Development System
Operator: ASIN The IEC operator yields the arcsine value of a number. Permitted data types for input variables: any numeric basic data type Permitted data types for output variables: REAL and LREAL Ex