Reference programming TX1200 192 Version: 1.3 Operator ST Operator AWL Mod.
AWL Signification LE ( Less or equal in1 MOD in2 MOD Modulo Division INDEXOF(in) INDEXOF Internal index of POU in1; [INT] SIZEOF(in) SIZEOF Number of bytes required for the given data type of in SHL(in,K) SHL Bitwise left-shift of operator in by K SHR(in,K) SHR Bitwise right-shift of operator in by K ROL(in,K) ROL Bitwise rotation to the left of operator in by K ROR(in,K) ROR Bitwise rotation to the right of operator in by K SEL(G,in0,in1) SEL Binary selection between 2 operands in0 (G is FALSE) and in1 (G is TRUE) MAX(in0,in1) MAX Returns the greater of 2 values MIN(in0,in1) MIN Returns the lesser of 2 values in0 and in1 LIMIT(Min,in,Max) LIMIT Limits the value range (in is set back to MIN or MAX in case of exceeding the range) MUX(K, in0,..
in n) _ MUX Selects the Kth value out of a group of values (in0 to In n) _ ADR(in) ADR Address of the operand in [DWORD] BOOL TO (in) _ _ BOOL TO _ _ Type conversion of the boolean operand TO BOOL(in) _ _ TO BOOL _ _ Type conversion to BOOL INT TO (in) _ _ INT TO _ _ Type conversion of an INT Operand to another elementary type REAL TO (in) _ _ REAL TO _ _ Type conversion of an REAL operand to another elementary type LREAL TO (in) _ _ LREAL TO _ _ Type conversion of a LREAL operand to another elementary type TIME TO (in) _ _ TIME TO _ _ Type conversion of a TIME operand to another elementary type TOD TO (in) _ _ TOD TO _ _ Type conversion of a TOD operand to another elementary type DATE TO (in) _ _ DATE TO _ _ Type conversion of a DATE operand to another elementary type