Navigation:  Programming > Variables >

Arrays in the Rung

Previous pageReturn to chapter overviewNext page

In the contacts, coils and functional blocks, it is also possible the access of variables of the array type as shown in the following figures.

 

Figure 1: Array access

Figure 1: Array access

 

Figure 2: Array in the Rung

Figure 2: Array in the Rung

 

In order to view the indices of a variable of the array type, expand the variable in the variable window as shown in the following figure.

 

Figure 3: Displaying indices of a variable of the array type

Figure 3: Displaying indices of a variable of the array type