Beckhoff Automation GmbH & Co. KG TX1200 — 7.2.8.1 INDEXOF

Reference programming 7.2.7.5 EQ Equal to. A Boolean operator that returns the value TRUE when the operands are equal. The operands can be BOOL, BYTE, WORD, DWORD, SINT, USINT, INT, UINT, DINT, UDINT, REAL, LREAL, TIME, DATE, TI- ME_OF_DAY, DATE_AND_TIME and STRING. Example in IL: LD 40 EQ 40 ST Var1 (* Result is TRUE *) Example in ST: VAR1 := 40 = 40; Example in FBD: 7.2.7.6 NE Not equal to A Boolean operator that returns that value TRUE when the operands are not equal. The operands can be BOOL, BYTE, WORD, DWORD, SINT, USINT, INT, UINT, DINT, UDINT, REAL, LREAL, TIME, DATE, TI- ME_OF_DAY, DATE_AND_TIME and STRING. Example in IL: LD 40 NE 40 ST Var1 (* Result is FALSE *) Example in ST:

VAR1 := 40 40; Example in FBD: 7.2.8 Selection of different Operators 7.2.8.1 INDEXOF Perform this function to find the internal index for a POU. Example in ST: var1 := INDEXOF(POU2); TX1200 208 Version: 1.3