Content operatorPermalink

IEC operator: A pointer can be dereferenced by adding the content operator "^" after the pointer identifier.

⮫ “Overview”

Example in ST:

pt:POINTER TO INT;
var_int1:INT;
var_int2:INT;
pt := ADR(var_int1);
var_int2:=pt^;
NOTICE

NOTICE
NOTICE
NOTICE

NOTICE

NOTICE

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