Content Operator

The IEC Operators and additional, norm-extending \ functions: 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^;

Attention

After an Online Change there might be changes concerning the data on certain addresses. Please regard this in case of using pointers on addresses.