Navigation:  Programming > Variables >

Instances and Structures in the Rung

Previous pageReturn to chapter overviewNext page

In the contacts, coils and functional blocks, it is also possible to access the internal variables of instances and structures as shown in the following figures.

 

Figure 1: Access of internal variable of instance or structure

Figure 1: Access of internal variable of instance or structure

 

Figure 2: Internal variable of instance or structure in the Rung

Figure 2: Internal variable of instance or structure in the Rung

 

In order to view the internal variables of the instances and structures, expand the variable in the variable window as shown in the following figure.

 

Figure 3: Displaying internal variables of instance or structure

Figure 3: Displaying internal variables of instance or structure