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
Summary of Contents for FX2N-32CAN
Page 1: ...MITSUBISHI ELECTRIC FACTORY AUTOMATION Programmable Logic Controllers GX IEC Developer ...
Page 2: ......
Page 4: ......
Page 6: ......
Page 10: ...IV MITSUBISHI ELECTRIC ...
Page 18: ...Modular PLC Training Hardware Course Overview and Requirements 1 2 MITSUBISHI ELECTRIC ...
Page 176: ...Device Edit 8 4 MITSUBISHI ELECTRIC ...
Page 190: ...Assigning DUT Variables to Function Blocks Data Unit Types DUT 10 10 MITSUBISHI ELECTRIC ...
Page 198: ...Array Example Single Dimension Array Arrays 11 8 MITSUBISHI ELECTRIC ...
Page 219: ...Sequential Function Chart SFC SFC Elements Training Manual GX IEC Developer 14 3 ...
Page 230: ...Structured Text Program Example IEC Structured Text 16 4 MITSUBISHI ELECTRIC ...
Page 278: ...PLC Components Glossary Appendix A 18 MITSUBISHI ELECTRIC ...
Page 283: ......