
L-force | PLC Designer
IEC Operators and additional norm extending functions
DMS 3.2 EN 02/2011 TD29 465
( ! you get the same result with:
LD ivar1
ST ivar2 )
Example in ST:
ivar2 := MOVE(ivar1);
( ! you get the same result with: ivar2 := ivar1; )
9.2.7 INDEXOF
PLC Designer operator: This function is not prescribed by the standard IEC61131-3.
Perform this function to find the internal index for a POU.
Example in ST:
var1 := INDEXOF(POU2);
9.2.8 SIZEOF
PLC Designer operator: This function is not prescribed by the standard IEC61131-3.
Perform this function to determine the number of bytes required by the given
variable.
Example in IL:
arr1:ARRAY[0..4] OF INT;
Var1 INT
LD arr1
SIZEOF
ST Var1 (* Result is 10 *)
Example in ST:
var1 := SIZEOF(arr1);
Komentáře k této Příručce