Operator ‘Content Operator’¶
This operator is an extension of the IEC 61131-3 standard.
You can use this operator to dereference pointers by appending the operator as ^
to the pointer identifier.
Caution
When using pointers to addresses, please note that applying an online change can shift address contents.
Example
ST:
pt : POINTER TO INT;
var_int1 : INT;
var_int2 : INT;
pt := ADR(var_int1);
var_int2 := pt^;