GX Works3 Global Labels and Structures Import
Using this feature, you can import global labels and structures from a GX Works3 project into Workbench. Workbench imports the global labels and structures as tags and device structures. When importing safety GX3 projects, you must provide a username, password, and project password, as the projects contain sensitive security information about the PLC programs. This section explains how to use Data Explorer to verify whether the global labels have been successfully imported.
To review the specification restrictions for this feature, see "Specification Restrictions".
To GX Works3 Global Labels and Structures
-
Locate the GX Works3 project file (*.gx3).
To prevent errors, build the project in GX Works3 (Shift+Alt+F4 is the keyboard shortcut) before saving the project file.
-
In Workbench, expand Project Explorer > Data Connectivity > Mitsubishi Electric FA, and then do one of the following:
-
Right-click the desired Mitsubishi device, and then select Import global labels.
-
Click the desired Mitsubishi device, and on the Home ribbon, click Import global labels.
-
-
To import the GX Works3 file, do the following:
-
In Description, enter a description of the GX Works3 import file. Workbench displays the description in the Recent Tasks pane.
-
In the Import Mode drop-down list, select the desired import mode:
-
Only Create new items: Create items that do not currently exist in Workbench.
-
Only Update old items: Update items that currently exist in Workbench.
-
Create and Update: Create items that do not currently exist and update items that currently exist in Workbench. If you are importing the GX Works3 project for the first time, use this option.
-
-
In File, enter the path to the GX Works3 import file. For assistance locating the file, click the folder button, browse to and click the desired file, and then click Open.
-
In Username and Password, enter the GX Works3 import file username and password.
These fields only appear when you select a safety CPU in CPU Type.
-
In Project Password, select the checkbox, and then enter the GX Works3 project password.
You will only need to enter this password when the GX Works3 project is set to Security Version 2. (*1)
-
Click OK.
Wait until the "Extracting global labels" message closes and Workbench displays the import task in the Recent Tasks pane.
-
-
In the Recent Tasks pane, check the import task state:
-
Queued: Workbench will process the import task in the background soon.
-
Completed: Workbench successfully imported global labels and structures from the GX Works3 file.
-
Completed with warnings: Workbench imported some but not all of the global labels and structures from the GX Works3 file, logging the missing elements.
-
Failed: Workbench did not import the elements from the GX Works3 file.
To view the import details, right-click the import task and then select View Log.
-
-
To view the imported elements, right-click the Workbench project and then select Refresh.
Safety CPUs
CPU Series |
CPU Type |
---|---|
RCPU |
R08PSF R16PSF R32PSF R120PSF |
RSafety |
R08SF R16SF R32SF R120SF |
1 GX Works3 Version 1.096A or later has the new security measure Security Version. With Security Version 2, users must enter an additional password called Project Password. For more information, see the GX Works3 manual.
Confirm Imported Global Labels
You can verify whether the global labels have been successfully imported.
You need to activate the pre-configured device. Please refer to How to activate a Mitsubishi FA device
-
Open Data Explorer from the Start menu.
-
Expand the tree on the left side of the Data Explorer screen to Data Connectivity > Mitsubishi Electric FA > Your MELSEC/MELFA Device, and click on your tag folder. This will open a table listing all inputs and outputs mapped in the GX Works project.
Specification Restrictions
The following list shows the specification restrictions of the import feature.
No. |
Restrictions |
Reason |
Remark |
---|---|---|---|
1 |
GX Works3 Ver 1.050C or higher must be installed on the computer. |
APIs required for data conversion are incorporated into the GX Works3 Ver 1.050C or higher. |
|
2 |
GX Works3 projects must be built. |
Unbuilt GX Works projects may contain invalid or inconsistent data. Workbench rejects importing such project files. |
Use F4 for the shortcut key to build the project in GX Works3. |
3 |
The labels and structures that include forbidden characters in Workbench will be replaced with underscores. |
Some usable characters on GX Works3 are (forbidden) not allowed in Workbench. |
The following characters are (forbidden) not allowed in Workbench, but they can be used on GX Works3: ! (exclamation), #(hash), `(backquote), and +(plus). These characters will be replaced with _(underscore). |
4 |
The array tags with more than 50,000 elements in total of 3 dimensions are not imported. |
Workbench does not allow to set more than 50,000 elements in a single array. |
|