Array Example: Single Dimension Array - Mitsubishi Electric FX Series Training Manual

Programmable logic controllers
Hide thumbs Also See for FX Series:
Table of Contents

Advertisement

Arrays

Array Example: Single Dimension Array

11.2
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:
Training Manual GX IEC Developer
Array Example: Single Dimension Array
11 - 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents