CODESYS Development System
Operator: MIN The IEC operator is used for the minimum function. It yields the least value of all inputs. OUT := MIN(IN0,IN1,IN2,...) Permitted data types: all Example 111 . Examples Result: 30 ST Var
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: 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
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: CAL The IEC operator is used for calling function blocks. In IL, CAL calls the instance of a function block. CAL <function block> (<input variable1> := <value>, <input variableN> := <value>)
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