4.2.4
Assigning the Global Variables
Before any program code can be created, it is necessary to specify and assign all pre-allocated
physical PLC inputs and outputs including any shared variables that are to be used in the pro-
ject.
Double Click the mouse pointer on
Global_Vars
to open the Editor for the Global Variables. This
is called the Global Variable List - GVL.
Global Variables are the link to the physical PLC devices.
As discussed previously, if IEC conventions are to be applied, then symbolic identifiers (names)
must be used instead of discreet addresses in our program. These addresses must therefore be
declared in the Global Variable List (GVL). The identifier must be filled in, using its’ PLC address
(either using Mitsubishi or IEC notation) and its’ type, for example; whether it is a ‘bit’ or ‘word’
device. Once completed, this list can be used by all of the POU’s that will be created.
Building a Project
Application Program
Training Manual GX IEC Developer
4 - 9
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: ......