Introduction
A short discussion on how to utilize the GX Developer Global variables in PLC programming.
GX Developer – Global label variables
To access the Global label variables for a Melsec-Q series PLC
Global label variables for Melsec-Q series PLC can be accessed as follows:
GX Developer – Global variable addition. The global variables can be found at one of the following;
During the startup of a new program – the label setting is to be enabled:
From there – there are two options – pointed out below;
Global variables and Header
As can be seen below – the Header is used for the storage for variables;
The Global variable setting can be accessed as follows:
The Global variable setting can be utilized as follows:
To access the Global label variables for a Melsec-FX series PLC
Melsec-FX CPU with GX Developer use only Simple Project of Project Type, so without Labels is the only option.
This means that the device registers are specified in the program- and the labels are added as descriptions in the comment section – pointed out below;
Device comments are being used for this purpose.
In GX Works2 the use of Global Labels (structured Project) is possible – via the following;