Use 1-dim array elements in the program

You may use a one-dimensional array element by entering identifier e.g. aiVar1dim (ARRAY OF [iRange1] INT)

In the example you call up the third array element (element 3) with aiVar1dim[2].

Example

POU header

Related topics:

Declaring local variables

Modified on: 2023-11-22Feedback on this pagePanasonic hotline