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
Содержание FX2N-32CAN
Страница 1: ...MITSUBISHI ELECTRIC FACTORY AUTOMATION Programmable Logic Controllers GX IEC Developer ...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 10: ...IV MITSUBISHI ELECTRIC ...
Страница 18: ...Modular PLC Training Hardware Course Overview and Requirements 1 2 MITSUBISHI ELECTRIC ...
Страница 172: ...Monitoring Instances of Function Blocks Advanced Monitoring Functions 7 12 MITSUBISHI ELECTRIC ...
Страница 176: ...Device Edit 8 4 MITSUBISHI ELECTRIC ...
Страница 190: ...Assigning DUT Variables to Function Blocks Data Unit Types DUT 10 10 MITSUBISHI ELECTRIC ...
Страница 198: ...Array Example Single Dimension Array Arrays 11 8 MITSUBISHI ELECTRIC ...
Страница 219: ...Sequential Function Chart SFC SFC Elements Training Manual GX IEC Developer 14 3 ...
Страница 220: ...14 3 SFC configuration examples SFC configuration examples Sequential Function Chart SFC 14 4 MITSUBISHI ELECTRIC ...
Страница 230: ...Structured Text Program Example IEC Structured Text 16 4 MITSUBISHI ELECTRIC ...
Страница 248: ...Configuring GX IEC Developer to access the PLC on Ethernet Ethernet Communications 18 10 MITSUBISHI ELECTRIC ...
Страница 278: ...PLC Components Glossary Appendix A 18 MITSUBISHI ELECTRIC ...
Страница 283: ......