Pointers and references

User-defined structures with references and pointers as member variables can be read and written using dereferencing if the PLC data type has been marked with the PLC attribute TcGenerateDeRefType.

Pointers and references 1:

Available starting with HMI Server version 14.3.76 and TwinCAT version 4026.20

With version 1.12.748.0, references, pointers, and interface pointers can be resolved in the HMI. This makes it possible to access the original variable being pointed to via the pointer or reference. It can be read and written when accessed via the pointer or reference. The resolved pointers or references are listed as usual under the variables in the TwinCAT HMI Configuration Window.

Changing the addresses of the pointers or references so that they point to another variable is not possible in the HMI. This must be done in the PLC.

Pointers and references 2:

Available since version 1.12.748.0.