Content operator

The operator is an extension of the IEC 61131-3 standard.

The operator allows dereferencing of a pointer. Append the operator as ^ on the pointer identifier.

CAUTION

Shift of contents of addresses through online change

If you use an online change, contents of addresses may shift.

Example:

ST:

pSample : POINTER TO INT;
nInt1   : INT;
nInt2   : INT;
pSample := ADR(nInt1);
nInt2   := pSample^;