Content operator, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual
Page 1065

L-force | PLC Designer
Programming Reference
DMS 4.1 EN 03/2011 TD29
1063
Example in ST:
bitoffset:=BITADR(var1); (* Result if byte addressing=TRUE: 19, if byte
addressing=FALSE: 35 *)
Example in IL:
Note: After an Online Change there might be changes concerning the data on some
addresses. Please notice this in this case of using pointers on addresses.
Content Operator
This address operator is not prescribed by the standard IEC 61131-3.IEC. A pointer can
be dereferenced by adding the content operator "^" after the pointer identifier.
Example in ST:
pt:POINTER TO INT;
var_int1:INT;
var_int2:INT;
pt := ADR(var_int1);
var_int2:=pt^;
Note: After an Online Change there might be changes concerning the data on some
addresses. Please notice this in this case of using pointers on addresses.