Declaring Variables
As can be seen from the GVL field list, each variable has a set of elements as follows:
쎲
Class
The class keyboard assigns the variable a specific property that defines how it is to be
used in the project
쎲
Identifier
Each variable is given a symbolic address, i.e. a name. This is referred to as the identifier. It
consists of a string of alphanumeric characters and ‘underscore’ characters. The identifier
must always begin with a letter or an underscore character. Spaces and mathematical op-
erator characters (e.g. +,-,*) are not permitted.
쎲
MIT-Addr
This is the absolute address referenced in the PLC.
쎲
IEC-Addr
The IEC syntax of the address.
쎲
Type
Referrers to the data type, i.e. BOOL, INT, REAL, WORD etc.
쎲
Initial
The initial values are set automatically by the system and cannot be changed by the user.
쎲
Comment
Comments up to 64 characters may be added for each variable
If symbolic identifiers are not to be used in the program but only Mitsubishi addresses, then there
is no need to fill out the Global Variable List (GVL). However the program will no longer be truly
IEC61131-3 compliant.
Application Program
Building a Project
4 - 10
MITSUBISHI ELECTRIC
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: ......