Reference programming 7.2.2 Numeric Operators 7.2.2.1 ABS Returns the absolute value of a number. ABS(-2) equals 2. The following type combinations for input and output variables are possible. 7.2.2.2 ACOS Returns the arc cosine (inverse function of cosine) of a number. IN can be type BYTE, WORD, DWORD, INT, DINT, REAL, SINT, USINT, UINT, UDINT, OUT must be type REAL. 7.2.2.3 ASIN TX1200 194 Version: 1.3 Operator ST Operator AWL Mod. AWL Signification R TRIG _ R TRIG _ FB: rising edge is detected F TRIG _ F TRIG _ FB: falling edge is detected CTU CTU FB: Counts up CTD CTD FB: Counts down CTUD CTUD FB: Counts up and down TP TP FB: trigger TON TON FB: on-delay timer TOF TOF FB:
off-delay timer IN OUT INT INT, REAL, WORD, DWORD, DINT REAL REAL BYTE INT, REAL, BYTE, WORD, DWORD, DINT WORD INT, REAL, WORD, DWORD, DINT DWORD REAL, DWORD, DINT SINT REAL USINT REAL UINT INT, REAL, WORD, DWORD, DINT, UDINT, UINT DINT REAL, DWORD, DINT UDINT REAL, DWORD, DINT, UDINT