11.2 Array Example: Single Dimension Array
The following example is used to illustrate a single dimension array. The array is 10 words long
and uses Global MELSEC addresses D100 to D109. This example uses only “Standard IEC”
Operators, Functions and Function Blocks.
햲
Create a new project and define one new POU of class “Program” using a body of lan
-
guage
FBD
and named “Data_Lookup1”
햳
Create a new Task in the task pool named “Main” and bind the program POU
“Data_Lookup1” to it:
햴
Open the Global Variables list and create the following entries:
NOTE The variable type “Array” in entered as follows:
Arrays Array Example: Single Dimension Array
Training Manual GX IEC Developer 11 - 3