Beckhoff Automation GmbH & Co. KG TX1200 — 7.2.1 Overview IEC Operators

Reference programming TX1200 193 Version: 1.3 Operator ST Operator AWL Mod.

AWL Signification DT TO (in) _ _ DT TO _ _ Type conversion of a DT operand to another elementary type STRING TO (in) _ _ STRING TO _ _ Type conversion of a STRING operand to another elementary type TRUNC(in) TRUNC Conversion from REAL to INT ABS(in) ABS Absolut value of operand in SQRT(in) SQRT Square root of operand in LN(in) LN Natural logarithm of operand in LOG(in) LOG Logarithm of operand in, base 10 EXP(in) EXP Exponential function of operand in SIN(in) SIN Sine of operand in COS(IN) COS Cosine of operand in TAN(in) TAN Tangent of operand in ASIN(in) ASIN Arc sine of operand in ACOS(in) ACOS Arc cosine of operand in ATAN(in) ATAN Arc tangent of operand in EXPT(in,expt) EXPT expt Exponentation of operand in with expt LEN(in) LEN String length of operand in LEFT(str, size) LEFT Left inital string of given size of string str standard.lib RIGHT(str, size) RIGHT Right initial string of given size of string str standard.lib MID(str, len, pos) MID Partial string of str of given length CONCAT(str1, str2) CONCAT Concatenation of two subsequent strings standard.lib INSERT(str1, str2, pos) INSERT Insert string str1 in String str2 at position pos standard.lib DELETE(str1, len, pos) DELETE Delete partial string (length len), start at position pos of str1 standard.lib REPLACE(str1, str2, len, pos) REPLACE Replace partial string of lenght len by str2, start at position pos of str1 FIND(str1, str2) FIND Search for partial string str2 in str1 SR SR Bistable FB is set dominant RS RS Bistable FB is set back SEMA SEMA FB:

Software Semaphor (interruptable)