SIZEOFΒΆ
The IEC Operators and additional, norm-extending \ functions This function is not prescribed by the standard IEC 61131-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);