GX Work 3 Manual de Operación
GX Work 3 Manual de Operación
-SW1DND-GXW3-E
SAFETY PRECAUTIONS
(Read these precautions before using this product.)
Before using this product, please read this manual carefully and pay full attention to safety to handle the product correctly. If
products are used in a different way from that specified by manufacturers, the protection function of the products may not
work properly.
The precautions given in this manual are concerned with this product only. For the safety precautions for the programmable
controller system, refer to the user's manual for the module used and MELSEC iQ-R Module Configuration Manual.
In this manual, the safety precautions are classified into two levels: " WARNING" and " CAUTION".
Under some circumstances, failure to observe the precautions given under " CAUTION" may lead to serious
consequences.
Observe the precautions of both levels because they are important for personal and system safety.
Make sure that the end users read this manual and then keep the manual in a safe place for future reference.
[Design Precautions]
WARNING
When data change, program change, or status control are performed from a personal computer to a
running CPU module, create an interlock circuit outside the programmable controller to ensure that
the whole system always operates safely.
Furthermore, for the online operations performed from a personal computer to a programmable
controller CPU, the corrective actions against a communication error due to such as a cable
connection fault should be predetermined as a system.
For the considerations specific to an safety CPU, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Startup)
MELSEC iQ-R CPU Module User's Manual (Application)
[Security Precautions]
WARNING
To maintain the security (confidentiality, integrity, and availability) of the programmable controller and
the system against unauthorized access, denial-of-service (DoS) attacks, computer viruses, and other
cyberattacks from external devices via the network, take appropriate measures such as firewalls,
virtual private networks (VPNs), and antivirus solutions.
1
[Startup and Maintenance Precautions]
CAUTION
The online operations performed from a personal computer to a running CPU module (program
change while a CPU module is in RUN, operating status changes such as RUN-STOP switching, and
remote control operation) must be executed after the manual has been carefully read and the safety
has been ensured.
When changing a program while a CPU module is in RUN (online program change), it may cause a
program corruption in some operating conditions. Fully understand the precautions before use.
The positioning test functions such as OPR, JOG, inching, or testing positioning data for positioning
module must be executed with the CPU module set to STOP after the manual has been carefully read
and the safety has been ensured.
Specially when executing the function on the network system, ensure the safety thoroughly since the
machinery whose operation cannot be checked by an operator may be activated. The operation
failure may cause the injury or machine damage.
For the considerations specific to an safety CPU, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Startup)
MELSEC iQ-R CPU Module User's Manual (Application)
2
CONDITIONS OF USE FOR THE PRODUCT
(1) MELSEC programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident;
and
ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the
case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general industries.
MITSUBISHI ELECTRIC SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT NOT LIMITED TO
ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT, WARRANTY, TORT, PRODUCT
LIABILITY) FOR ANY INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the
PRODUCT THAT ARE OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY
INSTRUCTIONS, PRECAUTIONS, OR WARNING CONTAINED IN MITSUBISHI ELECTRIC USER'S, INSTRUCTION
AND/OR SAFETY MANUALS, TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT.
("Prohibited Application")
Prohibited Applications include, but not limited to, the use of the PRODUCT in;
• Nuclear Power Plants and any other power plants operated by Power companies, and/or any other cases in which the
public could be affected if any problem or fault occurs in the PRODUCT.
• Railway companies or Public service purposes, and/or any other cases in which establishment of a special quality
assurance system is required by the Purchaser or End User.
• Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as Elevator and Escalator,
Incineration and Fuel devices, Vehicles, Manned transportation, Equipment for Recreation and Amusement, and
Safety devices, handling of Nuclear or Hazardous Materials or Chemicals, Mining and Drilling, and/or other
applications where there is a significant risk of injury to the public or property.
Notwithstanding the above restrictions, Mitsubishi Electric may in its sole discretion, authorize use of the PRODUCT in
one or more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific
applications agreed to by Mitsubishi Electric and provided further that no special quality assurance or fail-safe,
redundant or other safety features which exceed the general specifications of the PRODUCTs are required. For details,
please contact the Mitsubishi Electric representative in your region.
(3) Mitsubishi Electric shall have no responsibility or liability for any problems involving programmable controller trouble and
system trouble caused by DoS attacks, unauthorized access, computer viruses, and other cyberattacks.
3
INTRODUCTION
Thank you for purchasing the engineering software, MELSOFT series.
This manual describes the programming and functions required when using GX Works3.
Before using this product, please read this manual carefully, and develop familiarity with the functions and performance of GX
Works3 to handle the product correctly.
Note that the menu names and operating procedures may differ depending on an operating system in use and its version.
When reading this manual, replace the names and procedures with the applicable ones as necessary.
4
CONTENTS
SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
CONDITIONS OF USE FOR THE PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
RELEVANT MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
GENERIC TERMS AND ABBREVIATIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
CONTENTS
PART 1 FUNDAMENTALS OF GX Works3
5
CHAPTER 3 PROJECT MANAGEMENT 98
3.1 Project File and Data Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
File format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Safety project backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Data configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
3.2 Creating a Project File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Creating a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Opening a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Opening another format project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Opening a GX Works2 format project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Opening a PX Developer format project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Opening a GX IEC Developer format project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Opening a GX Developer format project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Saving a project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Deleting a project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
3.3 Creating Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Creating data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Editing data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Importing data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Associating data with a help file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
3.4 Searching the Navigation Window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
3.5 Changing the Module Type and Operation Mode of Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
3.6 Verifying Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Verification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Checking a verification result. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
3.7 Project Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
Registering a revision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
Revision list screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
3.8 Project Version Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Registering/acquiring/editing/deleting a project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Update Revision screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
3.9 Managing Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
6
4.2 Setting Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
Common operations for parameter settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Setting system parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
Setting parameters of control CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Setting parameters of modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Parameter interaction with MELSOFT Navigator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
4.3 Other Settings of Intelligent Function Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Setting with a module tool/drive tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Simple motion module setting function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
CONTENTS
Motion control setting function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
4.4 Predefined Protocol Support Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Start and End. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
4.5 Circuit Trace Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
4.6 Change Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
PART 3 PROGRAMMING
7
Entering comments/statements/notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
Inserting/deleting NOP instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
Changing TC setting values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
Copying and pasting a ladder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
Returning ladder diagrams to the condition before editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
Changing ladder blocks temporarily . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
Searching for/replacing data in a program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Displaying instruction help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Copying an image to the clipboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Importing/exporting ladder programs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
6.4 Creating an ST Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Configuration of an ST editor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Entering programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Searching for/replacing data in a program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
Displaying instruction help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
6.5 Creating an FBD/LD Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
Configuration of an FBD/LD editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
Entering programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
Linking a comment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
Displaying FBD network blocks in a list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
Searching for/replacing data in a program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
Displaying Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
6.6 Creating an SFC Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
Configuration of an SFC diagram editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
Creating SFC diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
Creating/displaying Zooms (action/transition) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
Displaying an SFC block list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
Searching for/replacing data in a program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
Displaying Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
6.7 Setting Initial Values of FB Properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
Display/setting an FB property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
Displaying the FB property page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Creating a setting file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
FB property management (offline). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
6.8 Registering Device Comments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
Device comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
Configuration of a device comment editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
Creating device comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
Deleting unused device comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
Clearing all device comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
Importing/exporting device comments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
Searching for device comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
Reading sample comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
6.9 Checking/Editing the Relation between Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
Display mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Edit mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
6.10 Checking a Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
Syntax check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
Program check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
6.11 Converting Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
Converting any or all programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
8
Performing the online program change simultaneously at conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
Checking for errors and warnings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
6.12 Calculating Memory Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
CONTENTS
Setting a value for each point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
Setting values in batch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
Setting character strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
Clearing whole memory of device memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
Linkage with initial device values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
7.4 Writing/Reading Data to/from CPU Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
7.5 Exporting Device Memory Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
9
Creating a library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
Enhanced use of libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510
10.4 Enhanced Use of Application Library/MELSOFT Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515
10
Reading data from a programmable controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589
Deleting data in a CPU module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 593
Considerations for Online data operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 593
13.2 Verifying Programmable Controller Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595
13.3 Writing Programs While a CPU Module is in the RUN State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597
Considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598
Writing data after changing programs partially while a CPU module is running (Online program change). . . . 600
Writing data for each file while a CPU module is running (file batch online change) . . . . . . . . . . . . . . . . . . . . 605
13.4 Reading/Writing/Deleting User Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 607
CONTENTS
13.5 Deleting All Files (Initialization) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 608
13.6 Reading/Writing the Label Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 608
13.7 Writing/Reading Data to/from Memory Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 609
Configuration of the memory card operation screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 609
Writing to/Reading from a memory card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 610
11
Setting block password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 671
15.2 Preventing Illegal Access to Programs (Security Key) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 673
Security key authentication function for a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 673
Procedure for using the security key authentication function for a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . 674
Creating/deleting a security key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 675
Copying a security key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 677
Registering a security key in a program file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678
15.3 Preventing Illegal Program Execution (Security Key) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 680
Security key authentication function for a CPU module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 680
Procedure for using the security key authentication function for a CPU module. . . . . . . . . . . . . . . . . . . . . . . . 680
Writing/deleting security key to/from CPU module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 681
15.4 Preventing Illegal Access to Project (User Authentication) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683
User authentication function for a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683
Procedure for using the user authentication function for a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 684
Logging on to a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 684
Changing a password of the logon user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 684
User management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 685
15.5 Preventing Illegal Access to CPU Module (User Authentication) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 686
User authentication function for a CPU module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 686
Procedure for using the user authentication function for a CPU module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 689
Writing user information to a CPU module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 689
Reading user information from a CPU module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 689
Logging on to CPU module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690
Changing a password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691
Authentication destination setting in the online function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691
Logging off from a CPU module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691
Copying user information to the other system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691
15.6 Preventing Illegal Data Reading/Writing (File Password ). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692
File password function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692
Procedure for using the file password function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 694
Setting a file password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 695
15.7 Preventing Illegal Access to/Falsification of Data (Security Version) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697
Security version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697
Procedure for using a security version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 698
15.8 Restricting Access from Other Than Specific Communication Route (Remote Password) . . . . . . . . . . 699
Remote password function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699
Procedure for using the remote password function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699
Setting remote password. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 700
12
CC-Link IE Field Network Basic diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 719
MELSECNET diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 720
CC-Link diagnostics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 721
Simple CPU communication diagnostics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 722
16.6 Error History/Operation History Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 723
CONTENTS
Setting the internal buffer capacity for the memory dump function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 726
Writing memory dump settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 727
Reading memory dump results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 728
Displaying memory dump results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729
Deleting memory dump results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729
17.2 Data Logging Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 730
Procedure for using the data logging function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 730
Setting internal buffer capacity for the data logging function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731
17.3 Recording Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 732
Procedure for using the recording function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 732
Settings of the recording function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 732
Reading/deleting a recording file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 734
17.4 Checking Collected Data on Program Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 736
Checking memory dump results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 736
Checking logging data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 738
Checking a recording file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 740
Operating the seek bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 743
Adding a log marker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747
Checking an event history (offline monitor) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 749
Checking a device/label value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 751
Displaying waveform data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 754
Displaying the GOT offline monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 755
Playing a video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 756
13
18.7 Reading/Writing the Label Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 773
18.8 Firmware Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 776
APPENDIX 777
Appendix 1 Additions and Changes from Previous Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 777
Functions, operability, and performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 777
Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 864
Appendix 2 Using a Project in a Different Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868
Appendix 3 Using a Previous Version of Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 882
Checking logging data in version 1.063R or earlier. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 882
Appendix 4 Unusable Character Strings (Reserved Words) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 885
Appendix 5 Applicable Devices in GX Works3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 889
RCPUs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 889
LHCPUs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 892
FX5CPUs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 894
Remote head modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 896
Appendix 6 Label Memory Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 898
Appendix 7 Replacement of Another Format Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 900
Replacement of a GX Works2 format project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 900
Replacement of a PX Developer format project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 918
Replacement of a GX Developer format project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 924
Appendix 8 Considerations for Changing from FX5CPUs to RCPUs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 929
Appendix 9 Using the Simulation Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933
Supported modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933
Supported CPU module functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 942
Supported devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 951
Supported instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 952
Supported parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 956
Process response operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 963
Module buffer memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 965
Link devices of network module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 967
Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 968
Considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 974
Appendix 10Using Sample Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 982
Appendix 11 USB Driver Installation Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 984
Appendix 12Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 986
Appendix 13Differences from Existing MELSOFT Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 988
Differences of functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 988
Differences of option settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1018
INDEX 1034
REVISIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1036
INFORMATION AND SERVICES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1040
TRADEMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1040
COPYRIGHTS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1040
14
RELEVANT MANUALS
Manual name [manual number] Description Available form
GX Works3 Operating Manual System configurations, parameter settings, and operation e-Manual
[SH-081215ENG] (this manual) methods for the online function in GX Works3 PDF
e-Manual refers to the Mitsubishi Electric FA electronic book manuals that can be browsed using a dedicated
tool.
e-Manual has the following features:
• Required information can be cross-searched in multiple manuals.
• Other manuals can be accessed from the links in the manual.
• Hardware specifications of each part can be found from the product figures.
• Pages that users often browse can be bookmarked.
• Sample programs can be copied to an engineering tool.
TERMS
Unless otherwise specified, this manual uses the following terms.
Term Description
Buffer memory Memory in an intelligent function module to store data such as setting values and monitor values.
For CPU modules, it refers to memory to store data such as setting values and monitor values of the Ethernet function, or
data used for data communication of the multiple CPU system function.
Control CPU A CPU module that controls connected I/O modules and intelligent function modules. In a multiple CPU system, a control
CPU can be set for each module.
Cyclic transmission A function by which data are periodically exchanged among stations on the same network using link devices.
Ethernet port direct connection A direct connection between a programmable controller and personal computer without using a hub.
Execution program A converted program that can be executed in a CPU module.
FB instance A label created based on the definition of a function block.
Intelligent function module A module that has functions other than an input or output, such as an A/D converter module and D/A converter module.
iQSS iQ Sensor Solution. Cooperation of sensors, programmable controllers, HMI (Human Machine Interface), and engineering
tool to facilitate the start-up or maintenance of sensors.
MELSOFT Library A generic term for components (FB library, sample programs, drawing data) which provide easy operation of
programmable controller related modules, GOTs, and other devices that are connected to the modules and GOTs.
To obtain components of MELSOFT Library, please contact your local Mitsubishi Electric sales office or representative.
Multiple CPU system A system where two to four CPU modules separately control I/O modules and intelligent function modules.
Single CPU system A system where a single CPU module controls I/O modules and intelligent function modules.
Transient transmission A function of communication with another station, which is used when requested by a dedicated instruction or a
programming tool.
15
Term Description
Process control function block In the engineering tool project of the Process CPU and the SIL2 Process CPU, the function block supplied by the
manufacturer that can be used in the FBD/LD program with the process control extension enabled.
The process control instruction corresponding to the Process CPU and the SIL2 Process CPU is executed in the function
block.
Tag access FB A usable process control function block in a user-defined tag FB.
The processing is executed by accessing tag data of a user-defined tag FB.
Tag data Data in which a process condition and process status in a tag FB are defined as a structure.
Tag FB A function block to work as a device such as a controller and indicator for process control.
The processing is executed by accessing tag data defined as a global label.
Tag type Classification of process control functions such as a controller and indicator. The tag type defines the types of a data tag
structure and faceplate.
User-defined tag FB A function block to customize the process control processing of a manufacturer-defined tag FB.
Tag data in a user-created FB program can be referred by combining a function, a function block, and a process control
function block.
For definitions of other terms for a redundant system, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
16
GENERIC TERMS AND ABBREVIATIONS
Unless otherwise specified, this manual uses the following generic terms and abbreviations.
Generic term/abbreviation Description
Built-in Ethernet CPU A CPU module with an Ethernet port
FX5CPU FX5SCPU, FX5UJCPU, FX5UCPU, FX5UCCPU
FX5SCPU FX5S-30MR/ES, FX5S-30MT/ES, FX5S-30MT/ESS, FX5S-40MR/ES, FX5S-40MT/ES, FX5S-40MT/ESS, FX5S-60MR/
ES, FX5S-60MT/ES, FX5S-60MT/ESS, FX5S-80MR/ES, FX5S-80MT/ES, FX5S-80MT/ESS
FX5UCCPU FX5UC-32MR/DS-TS, FX5UC-32MT/D, FX5UC-32MT/DS-TS, FX5UC-32MT/DSS, FX5UC-32MT/DSS-TS, FX5UC-
64MT/D, FX5UC-64MT/DSS, FX5UC-96MT/D, FX5UC-96MT/DSS
FX5UCPU FX5U-32MR/DS, FX5U-32MR/ES, FX5U-32MT/DS, FX5U-32MT/DSS, FX5U-32MT/ES, FX5U-32MT/ESS, FX5U-64MR/
DS, FX5U-64MR/ES, FX5U-64MT/DS, FX5U-64MT/DSS, FX5U-64MT/ES, FX5U-64MT/ESS, FX5U-80MR/DS, FX5U-
80MR/ES, FX5U-80MT/DS, FX5U-80MT/DSS, FX5U-80MT/ES, FX5U-80MT/ESS
FX5UJCPU FX5UJ-24MR/ES, FX5UJ-24MT/ES, FX5UJ-24MT/ESS, FX5UJ-40MR/ES, FX5UJ-40MT/ES, FX5UJ-40MT/ESS, FX5UJ-
60MR/ES, FX5UJ-60MT/ES, FX5UJ-60MT/ESS, FX5UJ-24MR/DS, FX5UJ-24MT/DS, FX5UJ-24MT/DSS, FX5UJ-40MR/
DS, FX5UJ-40MT/DS, FX5UJ-40MT/DSS, FX5UJ-60MR/DS, FX5UJ-60MT/DS, FX5UJ-60MT/DSS
FX5-SSC-G(S) FX5-40SSC-G(S), FX5-80SSC-G(S)
(S) refers to the simple motion mode.
LCPU L02S, L02S-P, L02, L02-P, L06, L06-P, L26, L26-P, L26-BT, L26-PBT
LHCPU L04HCPU, L08HCPU, L16HCPU, L32HCPU
LD78G(S) LD78G4(S), LD78G16(S)
(S) refers to the simple motion mode.
QSCPU QS001CPU
RCPU RnCPU, RnENCPU, RnPCPU, RnPSFCPU, RnSFCPU
RD78G(S) RD78G4(S), RD78G8(S), RD78G16(S)
(S) refers to the simple motion mode.
RnCPU R00CPU, R01CPU, R02CPU, R04CPU, R08CPU, R16CPU, R32CPU, R120CPU
RnENCPU R04ENCPU, R08ENCPU, R16ENCPU, R32ENCPU, R120ENCPU
RnPCPU R08PCPU, R16PCPU, R32PCPU, R120PCPU
RnPSFCPU R08PSFCPU, R16PSFCPU, R32PSFCPU, R120PSFCPU
RnSFCPU R08SFCPU, R16SFCPU, R32SFCPU, R120SFCPU
Windows 10 or later Windows 10, Windows 11
Personal computer A personal computers on which Windows operates
Process CPU Q02PHCPU, Q06PHCPU, Q12PHCPU, Q25PHCPU
Universal model QCPU Q00UJCPU, Q00UCPU, Q01UCPU, Q02UCPU, Q03UDCPU, Q03UDECPU, Q04UDHCPU, Q04UDEHCPU,
Q06UDHCPU, Q06UDEHCPU, Q10UDHCPU, Q10UDEHCPU, Q13UDHCPU, Q13UDEHCPU, Q20UDHCPU,
Q20UDEHCPU, Q26UDHCPU, Q26UDEHCPU, Q50UDEHCPU, Q100UDEHCPU
Universal model process CPU Q04UDPVCPU, Q06UDPVCPU, Q13UDPVCPU, Q26UDPVCPU
High-speed universal model Q03UDVCPU, Q04UDVCPU, Q06UDVCPU, Q13UDVCPU, Q26UDVCPU
QCPU
Remote head module An RJ72GF15-T2 CC-Link IE Field Network remote head module
Redundant CPU Q12PRHCPU, Q25PRHCPU
17
MEMO
18
PART 1
PART 1 FUNDAMENTALS OF GX
Works3
This part explains the screen configuration and basic operations of GX Works3.
19
1 BEFORE USING THIS PRODUCT
GX Works3 is an engineering tool for configuring settings, programming, debugging, and performing the maintenance for
programmable controllers such as MELSEC iQ-R series/MELSEC iQ-L series/MELSEC iQ-F series.
By comparing with conventional GX Works2, the functions are enhanced and their operability have been improved.
Writing data
Reading data
Monitor/debug function
Data such as device values can be monitored while sequence programs that were written to a CPU module are executed.
Even when a CPU module is not connected, programs can be debugged by using a virtual programmable controller
(simulation function).
Label comment
Tool hint
*1 When writing the global label setting to a programmable controller, data of file registers in the range set in the following option is
automatically written.
[Tool] [Options] "Convert" "Process Control Extension Setting" "System Resource" "File Register: ZR"
*2 [Tool] [Options] "Convert" "Process Control Extension Setting" "System Resource" "File Register: ZR"
*3 [Tool] [Options] "Convert" "Process Control Extension Setting " "System resource" "Index Register: Z"
*4 For details on a periodic execution type program and interrupt program, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
*5 The execution time and the number of execution times of a running program can be checked in the "Program List Monitor" screen.
(Page 655 Checking the Processing Time of a Program)
Safety system
In this manual, projects for an RnPSFCPU and an RnSFCPU are defined as 'safety projects,' and other projects are defined
as 'standard projects.'
There are two types of data in a safety project: safety data and standard data.
Both a safety program and a standard program can be created in a safety project.
Name Description
Data Safety data Safety program, safety FB/FUN, safety global label, and parameter for RnPSFCPUs and
RnSFCPUs
Standard data Standard program, standard FB/FUN, standard global label, standard/safety shared label,
and parameter for CPU modules other than RnPSFCPUs and RnSFCPUs
Program, FB/FUN Safety program, safety FB/FUN Program for a safety control
Standard program, standard FB/FUN Program for a general control
Label Safety global label Global label that can be used only in safety programs
Standard global label Global label that can be used only in standard programs
Standard/safety shared label Global label that can be used in both safety programs and standard programs.
When using a standard/safety shared label in a safety program, create the program so that
a safety condition can be checked.
Usable devices/labels
Project Safety device Safety global Standard/safety shared Standard device Standard global
label label label
Safety program
Standard program
For details on the usable devices in each project, refer to the following:
Page 889 Applicable Devices in GX Works3
Usable FBs/FUNs
Project Safety FB Safety FUN Standard FB Standard FUN
Safety program
Standard program
: Standard program
: Safety program
(1)
The data category (standard/safety) can be checked in the "Properties" screen of each data. (Page 135
Properties)
Safety system
For a safety system, refer to the following:
Page 30 Safety system
Redundant system
Only the redundant mode can be selected for the operation mode of an RnPSFCPU.
For a redundant system, refer to the following:
Page 29 Redundant system
1.6 NCCPU
GX Works3 supports MELSEC iQ-R series NCCPUs.
In a project for an NCCPU, ladder programs including devices can be applied. Data of labels and parameters can be edited
but they are not written.
For details on NCCPUs, refer to the manual of NCCPUs.
Standard project
Target module type: RnCPUs, RnENCPUs, RnPCPUs (with the process control extension disabled)
Start
1. Create a project.
Start GX Works3.
Page 47 Start
Page 103 Creating a project
3. Create a program.
Perform conversion.
5. Connect a personal computer to a CPU module, and set the connection destination.
Monitor the execution status and device contents of the program to check
the operation.
Start
1. Create a project.
Start GX Works3.
Page 47 Start
Page 103 Creating a project
4. Create a program.
Perform conversion.
5. Connect a personal computer to a CPU module, and set the connection destination.
Set the current value of an FB property as the initial value of the FB property.
Start
1. Create a project.
Start GX Works3.
Page 47 Start
Page 103 Creating a project
Page 685 User management
Page 126 Saving a project
3. Create a program.
Perform conversion.
4. Connect a personal computer to a CPU module, and set the connection destination.
Monitor the execution status and device contents of the program to check
the operation.
1
7. Switch the safety operation modes.
Safety project for which the process control extension is set to be used
Target module type: RnPSFCPUs (with the process control extension enabled)
For the creation method of programs, refer to the following manual as well as the contents of this manual.
MELSEC iQ-R Programming Manual (Process Control Function Blocks/Instructions)
Start
1. Create a project.
Start GX Works3.
Page 47 Start
Page 103 Creating a project
Page 685 User management
Page 126 Saving a project
Perform conversion.
5. Connect a personal computer to a CPU module, and set the connection destination.
Monitor the execution status and device contents of the program to check
the operation.
Set the current value of an FB property as the initial value of the FB property.
Start
1
1. Create a project.
Start GX Works3.
Page 47 Start
Page 103 Creating a project
4. Connect a personal computer to a Remote head module, and set the connection destination.
Monitor the execution status and device contents of the sequence program
to check the operation.
Displaying Help
Use Help to learn about operations and functions, and check error codes of a CPU module.
Operating procedure
Select [Help] [GX Works3 Help] ( ).
e-Manual Viewer starts and the manual appears.
Find Help
Enter a search term in on the toolbar and press the key to start searching it in e-Manual Viewer. The
search is executed in the manuals registered in e-Manual Viewer.
Help of an element
The manual section that is related to an element can be displayed from each screen.
The following table shows the operation in each screen and the elements that can display the manual.
Screen Operation Target element
Navigation window Select an element, and press the key. Instruction
Function*1
Element selection window
Function block*1
Module FB
User library*1
library POU*1
Program editor Ladder editor Place the cursor on an instruction, function, or function block, and press the Instruction
key. Function*1
Function block*1
ST editor Place the cursor on a token, and press the key.
Module FB
FBD/LD editor Place the cursor on an element, and press the key. Special relay
SFC diagram editor Place the cursor on an SFC element or FBD/LD element, and press the Special register
key. User library*1
Library POU*1
Enter ladder screen Click the [Manual] button. Instruction
Input argument screen
*1 If the element is associated with a help file, the help file opens. (It is not displayed if the operation is performed in an SFC diagram
editor.)
For the method for associating data with a help file, refer to the following:
Page 133 Associating data with a help file
Help of a function
The manual section that is related to the following function can be displayed while using the function.
Faceplate
Press on a faceplate.
Operating procedure
Select [Help] [Connection to MITSUBISHI ELECTRIC FA Global Website].
Operating procedure
Select [Help] [Version Information].
GX Works3
USB miniB type
RCPU FX5UJCPU
The USB cables, of which the operations are ensured by Mitsubishi Electric Corporation, are shown below.
When using a USB cable for the first time, install the USB driver.
For details, refer to the following:
Page 984 USB Driver Installation Procedure
Product name Model name Manufacturer
USB cable (USB A type USB miniB type) KU-AMB530 SANWA SUPPLY INC.
KU-AMB550
MR-J3USBCBL3M Mitsubishi Electric Corporation
GT09-C30USB-5P Mitsubishi Electric System & Service Co., Ltd.
USB adapter (USB B type USB miniB type) AD-USBBFTM5M ELECOM CO., LTD.
For the considerations when accessing a CPU module, refer to the following:
Page 576 Communication with the CPU module using a USB cable
FX5UCPUs and FX5UCCPUs do not support this connection.
USB
USB
USB
USB USB
hub
US
B
RCPU FX5CPU
GX Works3
+ Driver
GX Works3
FX5-232ADP
(1)
FX5CPU
GX Works3
(1)
FX5UCPU/FX5UJCPU
(FX5-232-BD)
Start
Operating procedure
Start GX Works3 from "MELSOFT" in Windows Start.
*1 For 'left,' enter an integer value by taking the upper left of the main display as the coordinates (0,0) and the rightward direction as
positive.
When specifying '0,' the window frame is displayed transparently by Windows settings; therefore, a gap appears for a few pixels on the
left side of the main display.
(This can be avoided by turning high contrast mode ON in Windows settings.)
*2 For 'top,' enter an integer value by taking the upper left of the main display as the coordinates (0,0) and the downward direction as
positive.
Ex.
When starting GX Works3 from the command prompt, specify an option after 'gxw3' as follows.
In addition, specify the installation folder of GX Works3 for the current directory.
• To start in full screen
gxw3 "-WINDOWSIZE"
• To start at the specified display position and in the specified window size, and open a GX Works3 project (D:\Files\Project1.gx3)
gxw3 "-WINDOWSIZE=10,20,800,600" "D:\Files\Project1.gx3"
• To display the screen for selecting a recording file to be used for offline monitoring after startup
gxw3 "-OFFLINEMONITOR"
• To start offline monitoring of a recording file (D:\Files\record.melrc) after startup
gxw3 "-OFFLINEMONITOR=D:\Files\record.melrc"
• To start in full screen and start offline monitoring of a recording file (D:\Files\record.melrc)
gxw3 "-WINDOWSIZE" "-OFFLINEMONITOR=D:\Files\record.melrc"
Ex.
When starting GX Works3 from a shortcut, specify an option in "Target" in the shortcut properties as follows.
• To start in full screen
"C:\Program Files (x86)\MELSOFT\GPPW3\GXW3.exe" "-WINDOWSIZE"
• To start at the specified display position and in the specified window size, and open a GX Works3 project (D:\Files\Project1.gx3)
"C:\Program Files (x86)\MELSOFT\GPPW3\GXW3.exe" "-WINDOWSIZE=100,50,1200,900" "D:\Files\Project1.gx3"
• To display the screen for selecting a recording file to be used for offline monitoring after startup
"C:\Program Files (x86)\MELSOFT\GPPW3\GXW3.exe" "-OFFLINEMONITOR"
• To start offline monitoring of a recording file (D:\Files\record.melrc) after startup
"C:\Program Files (x86)\MELSOFT\GPPW3\GXW3.exe" "-OFFLINEMONITOR=D:\Files\record.melrc"
• To start in full screen and start offline monitoring of a recording file (D:\Files\record.melrc)
"C:\Program Files (x86)\MELSOFT\GPPW3\GXW3.exe" "-WINDOWSIZE" "-OFFLINEMONITOR=D:\Files\record.melrc"
2
GX Works3 can also be started or ended in MELSOFT Navigator.
Window
Select [View] [Switch Display Language].
Precautions
• If the display language differs from the one for the operating system, texts may not displayed properly in the screen.
(Displayed texts may get cut.)
• When switching the display language in Windows 10 or later, supplemental fonts of the target language are required. The
fonts can be added by the following operation:
Select [Apps] [Apps & features] [Optional features] [Add a feature] in Windows settings.
• A character entered arbitrarily is not switched even if the display language is switched.
Main frame
2
The main frame configuration is shown below.
The following screen includes a work window and docked windows displayed.
(1)
(2)
(3)
(4)
(5)
(6)
Displayed items
Name Description
(1) Title bar A project name, etc. are displayed.
(2) Menu bar Menu options for performing each function are displayed.
(3) Toolbar Tool buttons for performing various functions are displayed.
(4) Work window A main screen used for operations such as programming, parameter setting, and monitoring
(5) Docked window A sub screen to support operations performed in a work window
(6) Status bar Information on the project being edited is displayed.
Window operation
Displaying docked windows
[View] [Docking Window] [(target item)]
When the docked window is not displayed by selecting it from the menu, select [Window] [Return Window
Layout to Initial Status].
Window
Select [Window] [Window].
• Floating display: Drag the title bar of a docked window and drop it to the arbitrary position to float from the main frame.
Docked windows can be switched between the docked display and the floating display by double-clicking the
title bar.
Customizing/resetting toolbars
Set the types of tool buttons to be displayed on each toolbar.
The selected tool buttons on the list are displayed on the toolbar.
Operating procedure
Customizing toolbar
1. Click on the toolbar, and select [Show/Hide Buttons] [(toolbar name)].
Resetting toolbar
Click on the toolbar, and select [Show/Hide Buttons] [Reset].
Window
Select [View] [Docking Window] [Navigation] ( ).
Toolbar (1)
(2)
POUs, global labels, and structures are displayed in the following color.
Color Data
White Converted data
Red Unconverted data
Unused data before conversion
Light blue Unconverted data*1
Displayed items
Name Description Reference
(1) Filter Data displayed in a tree format can be filtered.
• ALL: All items are displayed.
• Parameter: Module Configuration and Parameter are displayed.
• Program: Program, FB/FUN, Label, and Device are displayed.
(2) Status icons To display icons indicating the status of a project. Page 56 Status icons
Sorting data
Sort data displayed in the tree format.
2
Operating procedure
Select and right-click any of the following items, then select [Sort] [(sort type)] from the shortcut menu.
• Execution Type
• Program File
• Program Block
• Folder
• FB/FUN
• FB File
• Function Block
• FUN File
• Function
• Global Label
• Structure
• Each Program Device Comment
• Device Memory
• Device Initial Value
• Module Information
• Data can be sorted by dragging and dropping the data or selecting [Order] [Move Up]/[Move Down] from
the shortcut menu.
• Program files, program blocks, and worksheets can be sorted in a batch by selecting and right-clicking
"Project," then selecting [Sort All] [Name]/[Last Change]/[Execution Order] from the shortcut menu.
Operating procedure
1. Select a program file and select [Project] [Data Operation] [New Folder].
3. Select a program to be stored and drag and drop it onto the created folder.
Simple display
An unused folder can be hidden by clicking on the toolbar.
Status icons
The following table shows icons indicating the status of a project.
Icon Status Display timing Item Description
Parameter Offline Module folder This icon is displayed when a mismatch was detected between
mismatched the system parameters and the property of a module.
Unconfirmed Module parameter This icon is displayed when the [Apply] button has never been
required settings clicked in the module parameter (network) setting screen that
includes a required setting.
Window
Select [View] [Docking Window] [Connection Destination] ( ). 2
Window
Select [View] [Docking Window] [Element Selection] ( ).
(1)
(1): Toolbar
• By selecting a category from the pull-down list of "Display Target," only the elements in the category can be displayed.
For Windows 11, when a personal computer returns from the sleep mode, the color of a part of the element
selection window may change.
Operating procedure
1. Enter a character string in the text box of the toolbar.
By clicking (Find All) after entering a character string in the [POU List] tab, only the matching elements can
be displayed.
Pasting elements
Pasting elements in a program
When a program editor is active, elements which can be pasted are displayed in the element selection window.
Elements can be pasted by dragging and dropping them from the list onto a program.
For ST editor, the selected element is pasted at the cursor position by pressing the key.
Favorites
Frequently used modules and elements/SFC elements (devices, labels, instructions, FB instances, functions) can be added in
the [Favorites] tab for each category.
A new folder, which is for classification of elements, can be created by clicking on the toolbar. The created folder can be
moved by dragging and dropping and the folder name can also be changed.
When a module configuration diagram is active, only modules are displayed.
When a program editor is active, elements which can be used in the editor are displayed.
Operating procedure
Adding elements from the element list
Modules, instructions, functions, and function blocks can be added to the [Favorites] tab.
1. Select an element to add from the list in the element selection window, and click on the toolbar.
2. Select a registration destination in the "Add to Favorites" screen, and click the [OK] button.
1. Select an element to add in the navigation window, and drag and drop it onto the element selection window.
2. Select a registration destination in the "Add to Favorites" screen, and click the [OK] button.
1. Select the cell of an element to add, and drag the border of the cell and drop it onto the element selection window.
2. Select a registration destination in the "Add to Favorites" screen, and click the [OK] button.
1. Select the token of a part to add, and drag and drop it onto the element selection window.
2. Select a registration destination in the "Add to Favorites" screen, and click the [OK] button.
1. Select an element to add, and drag and drop it onto the element selection window with the key held down.
2. Select a registration destination in the "Add to Favorites" screen, and click the [OK] button.
1. Select an SFC element to add, and drag and drop it onto the element selection window.
2. Select a registration destination in the "Add to Favorites" screen, and click the [OK] button.
1. Select the line header of a label to add, and drag and drop it onto the element selection window.
2. Select a registration destination in the "Add to Favorites" screen, and click the [OK] button.
1. Select the name of a label to add, and drag and drop it onto the element selection window.
2. Select a registration destination in the "Add to Favorites" screen, and click the [OK] button.
2. Select on the toolbar in the element selection window [Import to Favorites] [Category by Target Template].
2. Select on the toolbar in the element selection window [Import to Favorites] [Module Template].
By importing an exported file (*.xml), elements registered in the [Favorites] tab can be used on other personal
computers.
Select on the toolbar [Export Favorites]/[Import to Favorites]
History
By selecting the [History] tab, elements used previously are displayed in the order by date.
The order can be changed to the descending order of used count from the pull-down list.
Module
Module labels and module FBs, which are registered in a project, are displayed by selecting the [Module] tab.
For details on the registration methods, refer to the following:
Page 248 Registering Module Labels, Page 500 Importing module FBs in a project
Basic menus
[Project]
2
[New] Page 103 Creating a project
[Open] Page 105 Opening a project
[Close]
[Save] Page 127 Overwriting projects
[Save As] Page 126 Saving projects under the specified name
[Delete] Page 127 Deleting a project
[Project Verify] Page 143 Verifying Projects
[Project Revision] [Register Revision] Page 160 Registering a revision
[Project Revision] [Revision List] Page 162 Revision list screen
[Change Module Type/Operation Mode] Page 139 Changing the Module Type and Operation
Mode of Projects
[Data Operation] [New Data] Page 129 Creating data
[Data Operation] [Add New Worksheet] Page 132 Adding worksheets
[Data Operation] [New Folder] Page 56 Creating folders
[Data Operation] [Rename] Page 130 Changing a data name
[Data Operation] [Delete Data] Page 132 Deleting data
[Data Operation] [Copy Data] Page 130 Copying and pasting data
[Data Operation] [Paste Data]
[Data Operation] [Add New Module] Page 205 Setting parameters of modules
Page 219 Simple motion module setting function
Page 219 Motion control setting function
[Data Operation] [Properties] Page 135 Properties
[Data Operation] [Help] Page 133 Associating data with a help file
[Intelligent Function Module] [Module Parameter List] Page 214 Checking/changing the number of intelligent
function module parameters
[Open Other Format File] [GX IEC Developer Format] [Open ASC Format File] Page 115 Opening a GX IEC Developer format project
[Open Other Format File] [GX IEC Developer Format] [Open SUL Format User Library] Page 509 Creating a GX Works3 format library from a GX
IEC Developer format library
[Open Other Format File] [GX Works2 Format] [Open Project] Page 107 Opening a GX Works2 format project
[Open Other Format File] [GX Works2 Format] [Open User Library] Page 508 Creating a GX Works3 format library from a GX
Works2 format library
[Open Other Format File] [GX Works3 Format] [Open User Library] Page 510 Editing libraries
[Open Other Format File] [PX Developer Format] [Open Project] Page 110 Opening a PX Developer format project
[Open Other Format File] [GX Developer Format] [Open QSCPU Series Project] Page 124 Opening a GX Developer format project
[Import File] [Simulink PLC Coder XML Format] Page 132 Importing data
[Library Operation] [Export Library] Page 507 Creating a library file
[Library Operation] [Register to Library List] [User Library] Page 511 Registering user libraries in the library list
[Library Operation] [Register to Library List] [Library] Page 515 Registering libraries of which file extensions
are 'mslm'
[Library Operation] [Delete from Library List] Page 511 Deleting libraries/updating display information
[Library Operation] [Update the Display Information of Library]
[Library Operation] [Show Program/FB/FUN File] Page 511 Displaying program files/FB files/FUN files
[Library Operation] [Update Library POU] Page 514 Updating library POUs
[Library Operation] [Help] Page 511 Displaying Help
[Security] [User Management] Page 685 User management
[Security] [Change User Password] Page 684 Changing a password of the logon user
[Security] [Security Key Setting] Page 678 Registering a security key in a program file
Page 681 Writing/deleting security key to/from CPU
module
[Security] [Security Key Management] Page 675 Creating/deleting a security key
[Edit]
[Undo]
[Redo]
[Cut]
[Copy]
[Paste]
[Find/Replace]
[Cross Reference] Page 457 Displaying cross reference information
[Device List] Page 465 Displaying Device Usage
[Dataflow Analysis] Page 467 Displaying a Range Affected by/Affecting a
Device/Label
[Unused Label List] Page 463 Displaying a list of unused labels
[Bookmark] Page 479 Registering a Bookmark
[Find Device/Label] Page 448 Searching for/Replacing Devices and Labels
[Find Instruction] Page 450 Searching for/Replacing Instructions
[Find Contact or Coil]
[Find String] Page 451 Searching for/Replacing Character Strings
[Replace Device/Label] Page 448 Searching for/Replacing Devices and Labels
[Replace Instruction] Page 450 Searching for/Replacing Instructions
[Replace Character String] Page 451 Searching for/Replacing Character Strings
[Change Open/Close Contact] Page 453 Changing Contacts between Open Contact
and Close Contact
[Device Batch Replace] Page 454 Batch Replacing of Devices and Labels
[Register to Device Batch Replace]
[Quick Find] Page 138 Searching the Navigation Window
[Previous]
[Next]
[Convert]
[Convert] Page 420 Converting any or all programs
[Online Program Change] Page 600 Writing data after changing programs partially
while a CPU module is running (Online program change)
[Rebuild All] Page 420 Converting any or all programs
[Check Syntax] [Current POU] Page 416 Syntax check
[Check Syntax] [ALL POUs]
[Program File Setting] Page 260 Program execution order setting
[Worksheet Execution Order Setting] Page 261 Worksheet execution order setting
[Setting]
[Online]
[Current Connection Destination] Page 557 Specification of Connection Destination
[Read from PLC] Page 577 Writing/Reading Programmable Controller
Data
[Write to PLC]
[Verify with PLC] Page 595 Verifying Programmable Controller Data
[Remote Operation] Page 759 Remote Operation
[Safety PLC Operation] [Check Safety Data Identity] Page 767 Identification check for safety data
[Safety PLC Operation] [Switch Safety Operation Mode] Page 764 Safety operation mode switching
[Safety PLC Operation] [Safety Module Operation] Page 768 Safety module operation
[Debug]
[Simulation] [Start Simulation] Page 522 Simulation
[Simulation] [Stop Simulation]
[Simulation] [System Simulation] [Start System Simulation] Page 524 System Simulation
[Simulation] [System Simulation] [Connect Simulation]
[Simulation] [System Simulation] [Disconnect Simulation] Page 546 Ending a system simulation
[Modify Value] Page 612 Changing current values
[Change History of Current Value]
[Recording]
[Recording Setting] [New] Page 732 Recording Function
[Recording Setting] [Edit]
[Read Recording File]
[Start Offline Monitor] [Recording File] Page 736 Checking Collected Data on Program Editor
[Start Offline Monitor] [Logging File]
[Start Offline Monitor] [Memory Dump]
[Stop Offline Monitor]
[GOT Offline Monitor] [Start]
[GOT Offline Monitor] [End]
[Diagnostics]
[System Monitor] Page 702 Module Status Check of a System
[Sensor/Device Monitor] Page 705 Sensor/Device Status Check
[Recording Monitor] Page 707 Recording Status Check
[Module Diagnostics (CPU Diagnostics)] Page 708 Module Diagnostics
[Ethernet Diagnostics] Page 714 Ethernet diagnostics
[CC-Link IE Control Diagnostics (Optical Cable)] Page 715 CC-Link IE Controller Network diagnostics
[CC-Link IE Control Diagnostics (Twisted Pair Cable)]
[CC-Link IE TSN/CC-Link IE Field Diagnostics] Page 717 CC-Link IE TSN/CC-Link IE Field Network
diagnostics
[CC-Link IEF Basic Diagnostics] Page 719 CC-Link IE Field Network Basic diagnostics
[MELSECNET Diagnostics] Page 720 MELSECNET diagnostics
[CC-Link Diagnostics] Page 721 CC-Link diagnostics
[Simple CPU Communication Diagnostics] Page 722 Simple CPU communication diagnostics
[Tool]
[Memory Card] [Read from Memory Card] Page 610 Writing to/Reading from a memory card
[Memory Card] [Write to Memory Card]
[Check Program] Page 417 Program check
[Check Parameter] Page 201 Checking parameters
[Check the Assigned Device of Global Label] Page 241 Checking assigned devices
[Confirm Memory Size (Offline)] Page 432 Calculating Memory Size
[Logging Configuration Tool] Page 730 Data Logging Function
[Realtime Monitor Function] Page 661 Checking Current Logging Data
[GX VideoViewer] Page 756 Playing a video
[Module Tool List] Page 218 Displaying the module tool list
[Drive Tool List] Page 218 Displaying the drive tool list
[Predefined Protocol Support Function] Page 220 Predefined Protocol Support Function
[Circuit Trace] Page 221 Circuit Trace Function
[Update Firmware] Page 776 Firmware Update
[Program Configuration Diagram] Page 410 Checking/Editing the Relation between
Programs
[Window]
[Cascade]
[Tile Vertically]
[Tile Horizontally]
[Arrange Icons]
[Close All Windows]
[Return Window Layout to Initial Status] Page 51 Displaying docked windows
[Split] Page 309 Configuration of an ST editor
Page 267 Splitting a ladder editor
Page 402 Configuration of a device comment editor
Page 435 Configuration of a Device Memory Editor
[Restore Split]
[Split Window Operation] [Focus on Next Window]
[Split Window Operation] [Focus on Previous Window]
[Split Window Operation] [Synchronous Scrolling in Side by Side] Page 267 Splitting a ladder editor
[Floating] Page 52 Docking/floating work windows
[Docking]
[(Window information being displayed)]
[Window] Page 52 Arranging work windows
[Help]
[GX Works3 Help] Page 42 Displaying Help
[Connection to MITSUBISHI ELECTRIC FA Global Website] Page 43 Connecting to MITSUBISHI ELECTRIC FA
Global Website
[Version Information] Page 43 Checking the version of GX Works3
[View]
[Toolbar] [Module Configuration Diagram]
[Online]
[Read Module Configuration from PLC] Page 191 Reading the module configuration from an
actual system
[View]
[Display Title] Page 413 Data name and comment
[Display Comment]
[Open Label Setting of Selected Element] [Open in Front] Page 411 Displaying a label editor
[Open Label Setting of Selected Element] [Tile Horizontally]
[Find/Replace]
[Line Statement List] Page 286 Displaying a list
[Jump] Page 296 Jump
[Jump to Next Ladder Block Start]
[Jump to Previous Ladder Block Start]
[Inline Structured Text] [Incremental Search] [Search Down] Page 317 Incremental search
[Inline Structured Text] [Incremental Search] [Search Up]
[View]
[Toolbar] [Ladder]
[Comment Display] Page 284 Entering/editing comments
[Statement Display] Page 285 Entering/editing statements
[Note Display] Page 288 Entering/editing notes
[Comment/Statement/Note Batch Display] Page 284 Entering/editing comments
Page 285 Entering/editing statements
Page 288 Entering/editing notes
[Display Lines of Monitored Current Value]
[Grid Display]
[Display Format for Device Comment]
[Change Display Format of Device/Label Name] [1 Cell Display] Page 264 Configuration of a ladder editor
[Change Display Format of Device/Label Name] [Wrapping Ladder Display]
[Outline] [Expand/Collapse of Outlines]
[Outline] [Expand/Collapse of All Outlines]
[Outline] [Show/Hide of Outlines] Page 264 Configuration of a ladder editor
[Display Device]
[Text Size] [Bigger]
[Text Size] [Smaller]
[Text Size] [Autofit] Page 264 Configuration of a ladder editor
[Height Setting of Inline Structured Text] Page 282 Changing the number of rows to display
[Open Label Setting of Selected Element] [Open in Front]
[Open Label Setting of Selected Element] [Tile Horizontally]
[Open Program Body of Selected Element] [Open in Front]
[Open Program Body of Selected Element] [Tile Horizontally]
[Open Label Setting] [Open in Front]
[Open Label Setting] [Tile Horizontally]
[Open Device Comment Setting] [Open in Front] Page 403 Displaying a device comment editor from a
program editor
[Open Device Comment Setting] [Tile Horizontally]
[Open Zoom Source Block] Page 369 Creating/displaying Zooms (action/transition)
[Instruction Help] Page 296 Displaying instruction help
[Find/Replace]
[Jump] Page 317 Jump
[Incremental Search] [Search Down] Page 317 Incremental search
[Incremental Search] [Search Up]
[View]
[Toolbar] [ST]
[Open Label Setting of Selected Element] [Open in Front]
[Open Label Setting of Selected Element] [Tile Horizontally]
[Open Program of Selected Element] [Open in Front]
[Open Program of Selected Element] [Tile Horizontally]
[Open Label Setting] [Open in Front]
[Open Label Setting] [Tile Horizontally]
[Open Device Comment Setting] [Open in Front] Page 403 Displaying a device comment editor from a
program editor
[Open Device Comment Setting] [Tile Horizontally]
[Open Zoom Source Block] Page 369 Creating/displaying Zooms (action/transition)
[Switch Between Worksheets] [Switch to Previous Worksheet]
[Switch Between Worksheets] [Switch to Next Worksheet]
[Outline] [Expand/Collapse of Outlines]
[Outline] [Expand/Collapse of All Outlines]
[Outline] [Show/Hide of Outlines] Page 309 Configuration of an ST editor
[Find/Replace]
[FBD Network Block List] Page 340 Displaying FBD network blocks in a list
[View]
[Toolbar] [FBD/LD]
[Online]
[Monitor] [Faceplate] Page 662 Checking tag data on the gauge window
(faceplate)
[Convert]
[Convert Block] Page 368 Converting a block
[View]
[Toolbar] [SFC]
[Comment Display] Page 343 Configuration of an SFC diagram editor
[Device Display]
[Display Step/Transition]
[Switch Ladder Display] [Detailed Expression]
[Switch Ladder Display] [MELSAP-L (Instruction Format)]
[Grid Display]
[Hide Actions]
[Open SFC Block List] Page 372 Displaying an SFC block list
[Open Zoom List] Page 371 Displaying a Zoom list
[Debug]
[Control SFC Steps] [Activate the Selected Steps] Page 631 Changing the active status
[Control SFC Steps] [Deactivate the Selected Steps]
[Control SFC Steps] [Activate the Selected Steps Only]
[Find/Replace]
[Jump] Page 373 Jump
[Block Information Find Device] Page 373 Searching for block information
[View]
[SFC Block List Comment] Page 372 Displaying an SFC block list
[Display Device]
[Open SFC Body] Page 372 Displaying SFC diagrams
[Open Label Setting] Page 373 Displaying local label editor
[View]
[Toolbar] [Label]
[Show/Hide of Label Item]
[Display Program Editor]
[Open Label Comment setting] Page 227 Configuration of a label editor
[View]
[Toolbar] [Device Memory]
[Display Format Detailed Setting]
[Online]
[Device Memory] [Read Selected Range] Page 439 Writing/Reading Data to/from CPU Module
[Device Memory] [Write Selected Range]
[Find/Replace]
[Next Mismatch] Page 145 Checking a verification result
[Previous Mismatch]
[View]
[Toolbar] [Verify Result]
[Return to Result List]
[Close Detailed Result]
[Close All Detailed Result]
[Show only Mismatches] Page 145 Checking a verification result
Available menus when displaying the device/buffer memory batch monitor window
[View]
[Toolbar] [Device/Buffer Memory Batch Monitor]
[Display Format Detailed Setting]
Window
Select [Find/Replace] [Quick Find] ( ).
(1) (2)
Operating procedure
1. Enter a search keyword in the input field of the "Quick Find" window (1).
2. Click .
3. Double-click a search result displayed in the "Quick Find Result" window (2).
The selected data is displayed, or the selected menu is executed.
• By selecting a search target category from the pull-down list of the "Quick Find" window (1), the only
selected category can be targeted for searching.
• By pressing the + keys or double-clicking a search result with the key held down in the
"Quick Find Result" window (2), jumping to the data or executing the menu is possible while the cursor
remains in the "Quick Find Result" window (2).
Filtering display
The displayed search results can be filtered.
Operating procedure
Enter or select a filtering condition in the "Quick Find Result" window (2), and press the key.
Filtering condition
The previously entered keywords or search results can be selected from the pull-down list.
Sorting display
The columns can be sorted in ascending/descending order by clicking the column header.
Window
Select [Tool] [Shortcut Key].
Operating procedure
1. Double-click a command cell to change the shortcut key.
By importing an exported file (*.gks), the setting can be utilized on other personal computers.
Setting files exported in GX Works2 can also be imported.
Window 2
Select [View] [Color and Font].
Operating procedure
1. Select an editor from the pull-down list for "Target."
2. Select "User Setting" from the pull-down list for "Font Setting."
3. Set each item in the "Font" screen, and click the [OK] button.
4. Select a color to change in "Color Setting," and click the [Apply] button.
By importing an exported file (*.gcs), the setting can be utilized on other personal computers.
Setting files exported in GX Works2 can also be imported. However, color names may differ.
Precautions
Some fonts may be displayed as garbled characters.
If this happens, change the setting to another font.
Window
Select [View] [Multiple Comments] [Display Setting].
Operating procedure
1. Select the checkbox of "Enable Multiple Comments Display."
3. Select a comment to display in a program editor or each monitor screen in the "Target" column, and click the [OK] button.
Precautions
Do not use comment No.13 to 16 (Reserved 1 to 4).
Window
Select [View] [Multiple Comments] [Read Comment]. 2
Operating procedure
1. Select the checkbox of a language to display in "Read Destination."
2. Select the checkboxes of elements to read their comments in "Read Target," then click the [OK] button.
The comment for each element is applied to the device comment editor of "Common Device Comment."
For the elements which have been used in a project, comments in another language can be added.
To switch the display language of the comments, use the "Multiple Comments Display Setting" screen.
Page 82 Display setting for multiple comments
Precautions
• For the considerations for reading sample comments, refer to the following:
Page 409 Reading sample comments
• When reading label comments of process control function blocks, module FBs, module labels, and libraries, only Japanese
and English comments can be read.
Even if the checkboxes of other languages are selected, the comments in those languages are not read.
Window
Select [Tool] [Options].
Operating procedure
Set each item and click the [OK] button.
By importing an exported file (*.gos), the settings can be utilized on other personal computers.
However, note that settings of the following option items are not exported:
• "Project" "Device Comment Reference/Reflection Target"
• "Monitor" "Common Item" "Timing to Execute Monitor Function and Modify Value Function" "After
the execution of specified program"
Precautions
Converting programs
After changing the following option setting, converting all programs is required.
• [Tool] [Options] "Other Editor" "Label Editor Common" "Data Type Setting"
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting"
As a precautionary measure, perform the following operation before switching the CPU module to RUN.
1. Reset the CPU module.
RCPU
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of Steps" "Optimize
the Number of Steps." 2
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of Steps" "Optimize
Level"
FX5CPU
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of Steps" "Optimize
the Number of Steps."
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of Steps"
"Collectively Allocate Temporary Area to Optimize the Number of Steps"
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of Steps" "Optimize
Level"
Precautions
• Depending on each option setting and the version of GX Works3, the number of steps of a program, module FB, and library
(with the "mslm" extension) may differ from the value mentioned in each manual.
Optimize level
The following shows the difference in processing between the optimize levels.
• Level 1: By optimizing the redundant processing in a program at conversion, the number of steps in the program is
reduced.
• Level 2: In addition to the processing in the level 1, the number of steps may be further reduced if any of the following
conditions is satisfied in each program.
Condition Program
A standard function is being used. Ladder program
ST program
SFC program
FBD/LD program
An input/output label (VAR_IN_OUT) is being used in a macro type function block. ST program
FBD/LD program
Binary operation is being used. ST program
Unary operation is being used.
ELSE is being used in a select statement (IF statement or CASE statement).
A contact element is connected to a left power rail element. FBD/LD program
Any of the following instructions or functions is being used.
• Rising instruction (PLS)
• Falling instruction (PLF)
• Boolean function
• Comparison function
Ladders containing a variable element which substitutes its value into the next variable element are consecutively
placed.
ENO of a function is connected to EN of another function.
ENO of a function is not connected to another element.
No. Data
1 A label for which two or more devices or labels are used as the index of an array set for the data type
(Example) Data type: structure array
(1)
Instruction
P1192
… (1)
RET
(2)
(1)
Instruction
I129
… (1)
IRET
(2)
(1)
Instruction
P1192
… (1)
RET
(2)
Interrupt program
• Change the interrupt program (1) to the inline structured text box (2).
(Example) Program before modification
(1)
Instruction
I129
… (1)
IRET
(2)
CAUTION
To set the event notification, confirm the setting contents carefully.
If there is no module set in "Event Notification" or the setting contents is incorrect, the following phenomena may result when an event occurs.
• The CPU module stopped due to the error.
• The network module communication error occurs.
• No event notification is received.
When adjusting the system, after confirming that nothing affects of the actual system, it is recommended to check that the above phenomena do not result
when an event occurs by an operation such as switching the control modes of a faceplate (example: MANUAL AUTO, AUTO MANUAL).
Window
Select [Tool] [Options] "Convert" "Process Control Extension Setting."
Event notification
The following table shows the options of "Event Notification Function."
Options Description
Not to Use No event is notified to PX Developer Monitor Tool even though an event occurs (including an alarm) in a
CPU module.
Built-in Ethernet Port CPU Events (including an alarm) occurred in a CPU module are notified to PX Developer Monitor Tool via an
Ethernet port.
Ethernet Events (including an alarm) occurred in a CPU module are notified to PX Developer Monitor Tool via
Q Compatible Ethernet Ethernet.
Specify the connection number of port 1 for "Connection No.".
When using an Ethernet module (Port 1 network type: Q-compatible Ethernet), select "Q Compatible
Ethernet."
For details on Q-compatible Ethernet, refer to the following:
MELSEC iQ-R Ethernet/CC-Link IE User's Manual (Startup)
CC-Link IE Controller Network Events (including an alarm) occurred in a CPU module are notified to PX Developer Monitor Tool via CC-
Link IE Controller Network.
Window
Select [Project] [Print] ( ).
Operating procedure
1. Select data to print and set each setting.
2. Change the printer by clicking the [Printer Setup] button and set the page setting by clicking the [Page Setup] button.
If the print result is hard to see, it will be more visible by changing its colors and fonts to the defaults when
printing. (Example: When the background color of an editor is set to black, the background color in print result
can be changed to white.)
By setting the following option, the color and font for the printing can be changed.
• "Print All (Common Setting)" "Common Setting" "Color/Font Setting" in the "Print" screen
Window
Select [Project] [Print Preview]. 2
Operating procedure
1. Select [Project] [Print Preview].
3. To change data to preview, select "Print Item" and "Data Name," and click the [Display] button.
Considerations
Displaying print previews and printing data
While the following functions are being performed, neither displaying print preview nor printing data can be performed.
• Monitor
• Simulation
• Offline monitor
When the character size is adjusted according to the display magnification of the editor by using the following
menu, the characters are printed in that size.
• [View] [Text Size] [Autofit]
Ex.
When the elements are printed across multiple pages, dashed lines (1) are displayed on the verges of the pages.
(1)
When setting "Zoom" in "Setting by Item (FBD/LD)" of the "Print" screen, note the following:
• If an FBD/LD program is too big, the program may be printed across multiple pages even when the checkbox of "Fit to One
Page" is selected.
• The page break in an FBD/LD editor is always displayed on the basis of a magnification of 100% regardless of the selection
status of "Fit to One Page" and the value in "Zoom."
Therefore, the page break for printing may differ from the one displayed in the editor.
Ex.
When the elements are printed across multiple pages, dashed lines (1) are displayed on the verges of the pages.
(1)
When setting "SFC Diagram Detailed Settings" in "Setting by Item (SFC)" of the "Print" screen, note the following:
• "SFC Diagram Detailed Settings" can be set only when the checkbox of "SFC Diagram" in "Program Block Print Item" is
selected.
• If an SFC program is too big, the program may be printed across multiple pages even when the checkbox of "Fit to One
Page" is selected.
• Actions on an SFC diagram are not printed if the checkboxes of the following two items are selected; however, Zooms
(actions/transitions) are printed.
"Program Block Print Item" "Action/Transition"
"SFC Diagram Detailed Settings" "Do not Print Actions"
Ex.
When the blocks are printed across multiple pages, dashed lines (1) are displayed on the verges of the pages.
(1)
• If a data flow diagram is too big, the diagram may be printed across multiple pages even when the checkbox of "Fit to One
Page" is selected.
This part explains the system design such as project management and parameter/label settings.
3 PROJECT MANAGEMENT
5 REGISTERING LABELS
97
3 PROJECT MANAGEMENT
This chapter explains basic operations and management of a project.
File format
Workspace format
A workspace manages multiple projects at once.
When constructing a system composed with multiple CPU modules, a project file needs to be created for each CPU module.
Multiple project files in a same system can be managed by saving them as a workspace format.
Ethernet
<Control B>
Alarm processing A
Control B
····· Project
Conveyor control C
Additional processing D
3 PROJECT MANAGEMENT
98 3.1 Project File and Data Configuration
Workspace/project configuration
GX Works2 data
(2)
GX Works3 data
Workspace
(1) First stage construction for company A
Second stage construction for company A Projectlist.xml
workspacelist.xml Conveyor control C.gx3
(4)
Alarm processing A.gx3
(3) Control B.gx3
(5)
Additional processing D.gx3
3
3 PROJECT MANAGEMENT
3.1 Project File and Data Configuration 99
Data configuration
Program data
Creation method: Page 128 Creating Data
Image Item Description
(1) Execution type A setting for a situation when a program runs.
To execute a program in a CPU module, the program need to be assigned
(1) to any of the execution types.
Page 261 Setting method
(2)
(3) (2) Program file A file that manages programs.
(4) It should be created for each execution process.
(5) Created files are written to a CPU module individually.
(3) Program block Data that composes programs.
(POU) The execution order can be set (Page 260 Program execution order
setting).
(6)
(4) Local label Label data that can be used only in a defined program block
(7) (5) Program body Program data that is created in Ladder Diagram language
(6) Worksheet Program data that is created in Structured Text or Function Block
(Program body) Diagram/Ladder Diagram language.
(8) By using Structured Text or Function Block Diagram/Ladder Diagram
language, multiple worksheets (program bodies) can be created in a
program block.
(1)
The execution order can be set (Page 261 Worksheet execution order
setting).
(9)
(7) Block Data that composes SFC blocks
(8) Program body SFC diagram data that is created by using Sequential Function Chart
(10)
language
(9) Unregistered program A folder that temporarily stores program files with no execution type
determined. Stored program files will not be executed if they are written to
a programmable controller.
(10) Program file A file that manages safety programs
(11)
(For safety)
(11) Program file A program file with the process control extension enabled
(For process control)
(12)
(12) System header A program block required to execute a process control program of the
(13)
scan execution type. No editing is allowed.
(13) System footer
Page 425 System header and system footer
3 PROJECT MANAGEMENT
100 3.1 Project File and Data Configuration
Image Item Description
(14) FB file A file that manages function blocks.
FB files are written to a CPU module individually.
(14)
Page 484 Creating a Function Block
(15)
(16) (15) Function block Data that composes the programs of function blocks
(17) (POU)
(16) Local label Label data that can be used only in defined function blocks
(17) Program body Function block data that is created in Ladder Diagram language.
(18)
This data is referred to as an 'FB program' in this manual.
(18) Worksheet Function block data that is created in Structured Text or Function Block
(19)
(Program body) Diagram/Ladder Diagram language. 3
Multiple worksheets can be created in a function block.
In addition, the execution order can be set (Page 261 Worksheet
(20) execution order setting).
(21) This data is referred to as an 'FB program' in this manual.
(22) (19) FB file A file that manages a function block of a safety program
(23) (For safety)
(20) FUN file A file that manages functions.
The function files are written to a CPU module for each FUN file.
(24)
Page 504 Creating a Function
When a label or a program body is set to be hidden, a program block, function block, and function is displayed
at the lowermost layer (i.e. the layer of them in the tree is not displayed). Therefore, some data items, which
are usually displayed on the lower part of the tree, can be seen without scrolling.
• Select "No" for "Display Labels" and "Display the Program Body" from [Tool] [Options] "Project"
"Navigation" "Display Setting."
3 PROJECT MANAGEMENT
3.1 Project File and Data Configuration 101
Label data
Creation method: Page 128 Creating Data
Image Item Description
(1) Global label A label that can be accessed from all program blocks and function blocks
in a project
Page 227 Registering Labels
(1)
(2) (2) Module label A label that is used to access an I/O signal or buffer memory of a module
(3) Page 248 Registering Module Labels
(4) (3) Safety global label A global label for safety programs
(4) Standard/safety shared A global label that can be used in both standard programs and safety
(5) label programs
(6) (5) System structure A structure registered in the system label database
(7) definition
(6) Structure definition Data that defines structure as a data type.
This can be used as a data type of all labels which can be defined in a
project except for a recursive definition in the defined structure.
(8)
(7) Structure definition Data that automatically registers a structure required for a module label
required for module labels
(9)
(8) Global label used for the A global label that is automatically created as "M+PTAG" at the time of
process control extension registration of tag FBs.
A tag FB instance and tag data are registered.
Page 249 Registering Tag FBs
(9) Structure definition of tag Structure definition of tag data that is automatically registered at the time
data of registration of tag FBs
Device data
Creation method: Page 128 Creating Data
Image Item Description
(1) Each program device Data of device comments that can be used in a program file with the
comment same name as this data
Page 400 Registering Device Comments
(2) Common device comment Data of device comments that can be used in multiple programs
(1)
(2) Page 400 Registering Device Comments
(3) Device memory Data that includes a value to be written to/read from a device in a CPU
(3) module
Page 434 SETTING DEVICE MEMORY
(4)
(4) Initial device value Data that defines a value which is set to a device when a CPU module is
in RUN
Page 441 INITIAL DEVICE VALUE SETTING
Parameter data
The structure of the tree and the creation methods: Page 199 Setting Parameters
3 PROJECT MANAGEMENT
102 3.1 Project File and Data Configuration
3.2 Creating a Project File
This section explains the methods for some operations such creating, opening, and or saving a project.
Creating a project
The following explains the creation methods of a new project.
For a safety project, a user registration is required. (Page 104 Adding a new user)
Window
3
Select [Project] [New] ( ).
Operating procedure
Select each item and click the [OK] button.
Precautions
When creating a safety project, set a screen saver in Windows to lock the personal computer automatically if the non-
operated state has been continued for a certain time.
For details, refer to Windows Help and Support.
3 PROJECT MANAGEMENT
3.2 Creating a Project File 103
Adding a new user
When creating a new safety project, a user registration is required in the "Add New User" screen.
Window
1. Select an RnPSFCPU or an RnSFCPU for "Type" in the "New" screen.
Operating procedure
1. Set each item and click the [OK] button.
To register a guest user, select the checkbox of "Add a GUEST User." (Page 684 Guest user)
2. Set each item in the "Save as" screen and click the [Save] button.
Operating procedure
1. Start GX Works3 and select [Online] [Read from PLC] ( ).
2. Select the series to be read in the "Series Selection" screen, and click the [OK] button.
3. Set the communication route to access the CPU module in the "Specify Connection Destination" screen, and click the
[OK] button.
4. Read data in the "Online Data Operation" screen.
For reading data in the "Online Data Operation" screen, refer to the following:
Page 589 Reading data from a programmable controller
Precautions
When parameters are not read from the programmable controller with data to create a new project, default parameters will be
set. Check the parameter setting.
3 PROJECT MANAGEMENT
104 3.2 Creating a Project File
Opening a project
Read a project saved on a personal computer or another data storage device.
When user information is registered to a project, user authentication is required. (Page 690 Logging on to CPU module)
Window
Select [Project] [Open] ( ).
Operating procedure
Set each item and click the [Open] button.
Precautions
Changing workspace names and folder configuration
Do not change a storage location and a file name for folders and files of a workspace/project by using an application such as
Windows Explorer.
3 PROJECT MANAGEMENT
3.2 Creating a Project File 105
Opening another format project
Projects created in other engineering tools can be opened and used in GX Works3.
In this manual, projects created in other engineering tools are referred to as other format projects; GX Works3 projects
replaced with the project data are referred to as GX Works3 format projects.
When opening another format project in GX Works3, the CPU module type is changed to one which can be used in GX
Works3.
This makes it possible to retain the project data of different CPU module series.
For details on the methods to open each 'other format project' and the data replacement, refer to the following:
Other format project Reference
GX Works2 Page 107 Opening a GX Works2 format project Page 900 Replacement of a GX Works2 format project
PX Developer Page 110 Opening a PX Developer format project Page 918 Replacement of a PX Developer format project
GX IEC Developer Page 115 Opening a GX IEC Developer format project
GX Developer Page 124 Opening a GX Developer format project Page 924 Replacement of a GX Developer format project
3 PROJECT MANAGEMENT
106 3.2 Creating a Project File
Opening a GX Works2 format project
A project created in GX Works2 (GX Works2 format project) can be opened and used in GX Works3.
This function is supported in projects for the following modules only:
• Universal model QCPU
• High-speed universal model QCPU
• Universal model process CPU
• Redundant CPU
• LCPU 3
• FXCPU (FX3S, FX3U, FX3UC, FX3G, FX3GC)
The following shows the module type to be changed.
Before change After change*1
Universal model QCPU R120CPU
High-speed universal model QCPU
Universal model process CPU R120PCPU (process mode)
Redundant CPU R120PCPU (redundant mode)
LCPU • When opening a project in GX Works3 Version 1.087R or earlier: L16HCPU
• When opening a project in GX Works3 Version 1.090U or later: L32HCPU
FXCPU (FX3S, FX3G, FX3GC, FX3U, FX3UC) FX5SCPU*2, FX5UCPU, FX5UCCPU*3, FX5UJCPU
*1 The new module type can be set in the "Select the New Module Type/Conversion Method" screen when opening a project for an
FXCPU.
*2 Cannot be changed from an FX3U and FX3UC.
*3 To change the module type to an FX5UCCPU, set "Type" to "FX5U" in the "Select the New Module Type/Conversion Method" screen.
After a project is opened, set the module name of an FX5UCCPU, and the project can be used as a project for the FX5UCCPU.
(Page 103 Specifying the specific model name of FX5CPU)
The supported versions of GX Works3 differs depending on the CPU module type set for a GX Works2 format project.
For details, refer to the following:
Page 777 Additions and Changes from Previous Version
For details on the data replacement which is necessary to use a GX Works2 format project in the GX Works3 format, refer to
the following:
Page 900 Replacement of a GX Works2 format project
To use this function, the latest GX Works2 is required to be installed in a personal computer.
Operating procedure
1. Select [Project] [Open Other Format File] [GX Works2 Format] [Open Project].
Precautions
A project which satisfies any of the following conditions cannot be opened in GX Works3. Check them and take corrective
actions in GX Works2 in advance.
• A program where an error occurs in compiling exists: Check if the program can be compiled.
• User management settings or access authority settings are configured: Clear the settings.
• A project file is compressed (*.gwz): Decompress it.
The check function at a conversion of GX Works3 is enhanced compared to GX Works2. Therefore a conversion error may
occur in a program in GX Works3 even if it does not occur in GX Works2. In that case, check the error content and correct the
program.
3 PROJECT MANAGEMENT
3.2 Creating a Project File 107
Data to be changed
Some data is changed depending on the CPU module type set for a GX Works2 format project.
Data in a module which cannot be replaced with a module in MELSEC iQ-R series, MELSEC iQ-L series, or MELSEC iQ-F
series will be deleted.
The following table shows data to be retained, returned to the default, or deleted.
Operation in opening Setting item in GX Works2 Remarks
Changing in accordance with the • PLC parameter*1 PLC name*3 Check the settings in GX Works3.
target module type *2,*3
PLC system
PLC file*2
PLC RAS*2,*3
Boot file
Program*3
SFC*5
Device*2
I/O assignment*2,*3,*4
Multiple CPU*2
Built-in Ethernet port*2,*3
• Redundant parameter*2 Operation mode
Tracking*3
• Network parameter CC-Link IE Field*1,*3
CC-Link IE Control*1,*3
Ethernet*1,*2,*3
CC-Link*2,*3,*6
MELSECNET/H*3
MELSECNET/10*3
• Intelligent function module Input
parameter*1 Output
I/O
Multiple input
Interrupt input
Analog input
Analog output
Analog I/O
Temperature input
Temperature control
Simple motion
Positioning
Counter
Channel isolated pulse input
AnyWireASLINK
Serial communication
• FB/FUN*7
• Ladder program*8
• ST programs
• Structured ladder/FBD programs*9
• SFC programs*3,*5
• Device comments for devices other than special relays (SM) and special
registers (SD)*10
• Device memory (only when the module type is changed to an FX5UCPU or an
FX5UCCPU)
• Device/label automatic-assign
3 PROJECT MANAGEMENT
108 3.2 Creating a Project File
Operation in opening Setting item in GX Works2 Remarks
Returning to the default/ • Options (other than "Reference/Reflection Target for Device Comment") Set them in GX Works3.
deleting the data • System labels
• Device comments for special relays (SM) and special registers (SD)
• Remote password
Changing to the state in which a Connection destination
project was newly created
Deleting • PLC parameter Communication head Not supported by GX Works3.
Built-in I/O function
Serial communication
Built-in serial
3
Adapter serial
Memory capacity
Special function block
Positioning
Operation
• Programs of user library that are not registered to the program setting
• Task
• Project revision
*1 When opening a project for an FXCPU, the data returns to the default or is deleted.
*2 The items which are not supported by GX Works3 are deleted.
*3 Some setting items return to the default or the data is changed or deleted. Check and set them in GX Works3 after opening the project.
*4 When opening a project for a redundant CPU, settings for a base unit are deleted.
*5 To retain SFC programs in a project for an RCPU, GX Works2 Version 1.535H or later is required to be installed in a personal computer.
To retain SFC programs in a project for an FX5CPU, GX Works2 Version 1.585K or later is required to be installed in a personal
computer.
*6 When a local station is set in the "CC-Link Configuration," it will be changed to an intelligent device station. Check the station type.
*7 The ladder programs in function blocks that satisfy all of the following conditions are deleted.
The function blocks are not used in other programs.
An undefined FB instance or an FB instance whose definition is unclear exists.
*8 The ladder programs that satisfy any of the following conditions are deleted.
1000 or more lines of statements are consecutively placed.
An incorrect ladder exists. (Example: AND instruction is used at the top of the ladder block.)
*9 To retain Structured Ladder/FBD programs, GX Works2 Version 1.519R or later is required to be installed in a personal computer.
*10 When device comments are set in an FXCPU project, devices of M8000 and later will be replaced with SM8000 and later, and devices of
D8000 and later with SD8000 and later; therefore, their device comments will be applied to that of the devices after the replacement.
For details, refer to the following:
Transition from MELSEC FX3G, FX3U, FX3UC Series to MELSEC iQ-F Series Handbook
3 PROJECT MANAGEMENT
3.2 Creating a Project File 109
Opening a PX Developer format project
PX Developer format projects created in PX Developer (PX Developer projects and GX Works2 projects) can be opened and
used in GX Works3.
This function is supported in projects for the following modules only:
• Universal model process CPU
• Redundant CPU
The following shows the module type to be changed.
Before change After change
Universal model process CPU R120PCPU (process mode)
Redundant CPU R120PCPU (redundant mode)
For details on the replacement of data which is necessary to use a PX Developer format project in the GX Works3 format,
refer to the following:
Page 918 Replacement of a PX Developer format project
To use this function, the latest PX Developer and GX Works2 are required to be installed in a personal computer.
Operating procedure
1. Select [Project] [Open Other Format File] [PX Developer Format] [Open Project].
4. Read the displayed message, and select whether to read the initial values of FB properties.
The changes in project data are displayed in the "Output" window.
Precautions
• The following projects are opened in GX Works3:
Selected PX Developer project
GX Works2 project in the folder where the selected PX Developer project is stored (If multiple GX Works2 projects exist in
the file, only the one with the same name as the PX Developer project is opened.)
• To open a project for which GX Developer is specified as the GX project type, change the project type to a GX Works2
project with the function to open a project of PX Developer Programming Tool. For details, refer to the following:
PX Developer Version 1 Operating Manual (Programming Tool)
• To open a project for a process CPU, change the PLC type of the project to a universal model process CPU or a redundant
CPU with the PLC type change function of PX Developer Programming Tool. For details, refer to the following:
PX Developer Version 1 Operating Manual (Programming Tool)
3 PROJECT MANAGEMENT
110 3.2 Creating a Project File
Data to be changed (PX Developer)
Some data is changed depending on the CPU module type set for a PX Developer format project.
Some units of PX Developer project data are not supported by GX Works3. Set them in GX Works3 after opening the project.
For details, refer to the following:
Page 918 Replacement of a PX Developer format project
The following table shows data to be retained or deleted.
Operation in opening Setting item in PX Developer Remarks
Changing in accordance with the target module
type
Tag FB *1
Check and set them in GX Works3. 3
Global variable*2
GX Works2 label assignment*3,*4
Program*5,*6
User-defined FB*5,*6
User-defined tag FB*5,*6,*7
User-defined structure
Program execution setting*5,*8,*9
Inline ST part
Function element/FB element*10
Project parameter*11
Initial value of an FB property*12
Deleting Module FB declaration*13 Set them in GX Works3.
I/O simulation setting
*1 The tag FB setting is not applied in the following cases. Click the [Check] button on the tag FB setting editor in GX Works3, then check
and set the data.
A tag name which cannot be set in GX Works3 is used.
Any one of "PFC_INT," "PFC_SF," or "PFC_SS" is used for the tag type.
*2 Converted into the global label "Global_PX" of GX Works3.
*3 Converted into the global label "GXW2LabelAssignment_PX" of GX Works3.
*4 Replace a global label name used in GX Works2 in a program with a global variable name used in PX Developer.
*5 The execution condition settings of a program and an FBD sheet are converted into comment elements of a program editor.
A comment element is displayed in the installed PX Developer language.
*6 The color set in the "Color and Font" screen of GX Works3 is applied to comment elements.
*7 The tag type "PFC_INT," "PFC_SF," and "PFC_SS" are not supported.
*8 A process control function block is added to a project.
*9 A program to execute the interrupt pointer is converted into a program the execution type of which is "No Execution Type."
*10 The following process functions in a PX Developer project are read as function blocks.
P_HS, P_HS_E, P_LS, P_LS_E, P_MID, P_MID_E, P_AVE, P_AVE_E, P_ABS, P_ABS_E
*11 The items which are not supported by GX Works3 are deleted.
*12 When the initial values of FB properties are not read, the initial values of the FB properties will be returned to default.
*13 A module FB element in an FBD program is changed to a module FB in an FBD/LD program of GX Works3; however the data cannot be
used.
After opening the project, delete the module FB in the FBD/LD program.
3 PROJECT MANAGEMENT
3.2 Creating a Project File 111
Registration destination of a program
For a program of a PX Developer project, the registration destination in GX Works3 differs depending on the execution state
and the execution type set for the program.
Setting content in PX Developer Registration destination in GX Works3
Execution state Execution type Execution type Setting for "Use the Program file name
process control
extension"
Execute/execute Timer execution (scan) Scan No Program name + '_PX'
conditionally
Timer execution (high-speed/ Scan Yes MAIN_PX
normal speed/low-speed)
Fixed scan execution Fixed scan Yes Program name + '_PX'
Interrupt pointer execution*1 No execution type No Program name + '_PX'
Do not execute No execution type No Program name + '_PX'
*1 An interrupt pointer set in PX Developer is added to a title of a program file. (Page 136 Title)
Ex.
The following figure shows a registration example.
PX Developer GX Works3
3 PROJECT MANAGEMENT
112 3.2 Creating a Project File
Execution condition settings
The execution condition settings of a program and an FBD sheet are converted into comment elements.
(1) Execution condition setting of a program
It is converted into the comment element (A) on the upper left of the first worksheet.
Ex.
The following figure shows a conversion example.
3
(A)
Ex.
The following figure shows a conversion example.
(B)
When both (1) and (2) are set, (B) is displayed under (A).
(A)
(B)
3 PROJECT MANAGEMENT
3.2 Creating a Project File 113
Label area capacity
The following data is applied to "Label Area Capacity" or "Latch Label Area Capacity" in the CPU parameters of a GX Works3
format project.
Parameter in GX Works3 Capacity
Label area capacity Capacity that is calculated based on the capacity in a PX Developer project*1 + Capacity that is calculated based on the
capacity in a GX Works2 project*2
Latch label area capacity Capacity that is calculated based on the capacity in a PX Developer project*1 + Capacity that is calculated based on the
capacity in a GX Works2 project*3
*1 Capacity that is calculated based on the number of points for file registers and timers set in the system resource of the project parameter
in a PX Developer project.
*2 Capacity that is calculated based on the total number of points for each device (for VAR) set in the device/label automatic-assign in a GX
Works2 project
*3 Capacity that is calculated based on the total number of points for each device (for VAR_RETAIN) set in the device/label automatic-
assign in a GX Works2 project
Precautions
When a PX Developer format project is opened in GX Works3, "0 K Word" may be set for "Label Area Capacity" and "Latch
Label Area Capacity."
For details, refer to the following:
Page 923 Label area capacity
Considerations
Tag names that cannot be set in GX Works3
Some tag names set in a PX Developer format project are not applied to a tag FB setting in GX Works3; therefore, the FB
property initial value is returned to the default.
In that case, change the tag name in PX Developer to the one available in GX Works3.
After changing the tag name, open the PX Developer format project in GX Works3 again.
For details, refer to the following:
Page 922 Tag names that cannot be set in GX Works3
3 PROJECT MANAGEMENT
114 3.2 Creating a Project File
Opening a GX IEC Developer format project
A project created in GX IEC Developer (GX IEC Developer format project) can be opened and used in GX Works3.
This function can be used for an ASCII format file and an SUL format file created in GX IEC Developer version 7.04 is
supported.
Enabling this function is required for opening a GX IEC Developer format project:
Log on to a personal computer as a user with the administrator authority, then execute "GIDImport.exe" in the installation DVD
(Disk1\GXW3\Others) of GX Works3 without starting GX Works3.
3
Operating procedure
If a GX Works3 format project is open
1. Select [Project] [Open Other Format File] [GX IEC Developer Format] [Open ASC Format File].
• The changes in project data are displayed in the "Progress" window and the "Output" window.
Check the logic of the project and the program before and after the change, and modify the data as
necessary.
• "Imported from GX IEC Developer project: "(name of an ASCII format file).asc"" is entered on the
[Comment] tab in the "Properties" screen of a GX Works3 format project.
3 PROJECT MANAGEMENT
3.2 Creating a Project File 115
Precautions
• If the CPU module type set for a GX Works3 format project does not support Sequential Function Chart language, POUs
created in the language are not imported.
• Devices and instructions which are not supported by GX Works3 may not be converted properly.
Refer to the following manuals to change them to equivalent elements supported by GX Works3 and correct a program.
GX IEC Developer Version7 Reference Manual
User's manual of each module
MELSEC iQ-R Programming Manual (CPU Module Instructions, Standard Functions/Function Blocks)
MELSEC iQ-R Programming Manual (Module Dedicated Instructions)
• Devices in address representation (such as %MX0.1) will be converted into device representation. Inconvertible devices
into address representation will be read as they are.
• If the CPU module type set for a GX Works3 format project does not support functions or function blocks used in a GX IEC
Developer format project, these elements will be converted into ones whose definitions are unclear.
• When an IL/MELSEC IL program is converted into an FBD/LD program of GX Works3, the numbers of parameters of
functions may not match between the GX IEC Developer format project and the GX Works3 format project.
In this case, the functions keep the number of parameters of the GX IEC Developer format project and are converted into
ones whose definition is unclear.
• Module type change will be canceled if the [Cancel] button in the progress dialog, which is displayed during the processing,
is clicked.
Data which has already been replaced in a GX Works3 format project before the cancellation will not be deleted.
3 PROJECT MANAGEMENT
116 3.2 Creating a Project File
Data to be changed
Some data is changed depending on the module type set in a GX IEC Developer format project.
The following table shows data to be retained, returned to the default, or deleted.
Operation in opening Setting item in GX IEC Developer Remarks
Changing in accordance with the target Program POU*1 Check the settings after the change.
module type
Function POU*1
Function Block POU*1
POU (FBD)
3
POU (LD)
POU (ST)
POU (SFC)*2
POU (IL/MELSEC IL)
SFC action (FBD)*2
SFC action (LD)*2
SFC action (ST)*2
SFC action (IL/MELSEC IL)*2
SFC transition (FBD)*2
SFC transition (LD)*2
SFC transition (ST)*2
SFC transition (IL/MELSEC IL)*2
Data Unit Type/Structured Data Type*1
Global variables*3
Task*1/Program File
User Library To create a GX Works3 format library from a GX
IEC Developer format library, refer to the following:
Page 509 Creating a GX Works3 format
library from a GX IEC Developer format library
Returning to the default/ CPU Parameter Set them in GX Works3.
deleting the data
System Parameter
Network Parameter
Module Parameter
Connection Settings
Entry Data Monitor/Watch
Options
*1 If the same data name exists in a GX Works3 format project, the name of the data in the GX IEC Developer format project to be imported
is incremented. (Example: Item_1Item_2)
*2 Data is deleted if the CPU module type set for a GX Works3 format project does not support Sequential Function Chart language.
*3 The global variables of GX IEC Developer are defined as global labels in "Global" only when no global label exists in "Global (Global
Label Setting)" in a GX Works3 format project.
When any global label exists in "Global," a new global label setting is created.
3 PROJECT MANAGEMENT
3.2 Creating a Project File 117
IL/MELSEC IL programs
An IL/MELSEC IL program is converted into an FBD/LD program of a GX Works3 format project, and the character string
"Imported from GX IEC Developer (IL/MELSEC IL)" is inserted as a comment element on the upper left of the first worksheet.
Each element used in the program is converted as shown below.
Network header
A network label which was set in the IL/MELSEC IL program (1) is converted into a jump label element.
The title of the network header (2) is converted into a comment element.
(1)
(2)
Comment
A comment described in the same row as the instruction (1) is converted into a comment element and placed on a variable
element.
Sequential comments in a network (2) are combined into a single comment element.
At the time, '(*' and '*)' enclosing a comment are deleted. (Example: (*Comment*) Comment)
(2) (1)
3 PROJECT MANAGEMENT
118 3.2 Creating a Project File
Programming instructions
Program instructions used in a GX IEC Developer format project are converted into the ones available in GX Works3.
The following figures show a conversion example of programming instructions.
• IEC programming instructions
3
(1)
(1)
(1) LDN instruction: the function 'NOT' is added only when an output variable is connected to an instruction.
• MELSEC programming instructions
GX IEC Developer GX Works3
3 PROJECT MANAGEMENT
3.2 Creating a Project File 119
Precautions
When an error occurs in a program, POUs may not be converted properly.
Correct the program in GX Works3.
• When there is no operand and variable of a programming instruction, the instruction is converted into a comment element
(1) and an undefined POU (2).
GX IEC Developer GX Works3
(1)
(2)
• When there is a CALC/CALCN instruction, a label (1) and a temporary variable element (2) are automatically registered as
local labels.
(2)
(1)
(2)
(1)
3 PROJECT MANAGEMENT
120 3.2 Creating a Project File
Actions/transitions (IL/MELSEC IL)
Actions and transitions of an SFC program created in IL/MELSEC IL language are converted into ones of an SFC program
created in Function Block Diagram/Ladder Diagram language.
To convert actions/transitions created in IL/MELSEC IL language, the following instructions are required at the end of the
program.
• IL language: ST instruction that a transition name or the SFC dedicated instruction "TRAN" is used for the variable
• MELSEC IL language: OUT instruction that the SFC dedicated instruction "TRAN" is used for the variable
The programs of the actions/transitions are converted into ones to call the function "TRAN."
3
GX IEC Developer GX Works3
Global variables
Global variables in a GX IEC Developer format project are converted into global labels of a GX Works3 format project only
when no global label exists in "Global (Global Label Setting)" in a GX Works3 format project.
When a global label exists in "Global," a new global label setting is created; however, it is not converted into a global label of
the GX Works3 format project.
Add the global variables set in a GX IEC Developer format project to the global label setting in GX Works3 by the following
procedure.
Operating procedure
1. In GX IEC Developer, export "Global_Vars" to an ASCII format file.
4. Open the file exported in step 1, and delete 20480 global variables which ware added to the global label setting of GX
Works3.
3 PROJECT MANAGEMENT
3.2 Creating a Project File 121
Function
Functions used in a GX IEC Developer format project are converted into the ones available in GX Works3.
The order and position of input/output arguments may differ between a GX IEC Developer format project and a GX Works3
format project.
The changes in each function can be checked in the information in the "Output" window.
The following figures show a conversion example of functions used in "Ladder Diagram(LD)" in GX IEC Developer.
• Functions of MELSEC-Q series
GX IEC Developer GX Works3
3 PROJECT MANAGEMENT
122 3.2 Creating a Project File
• Functions of MELSEC iQ-F series
GX IEC Developer GX Works3
3 PROJECT MANAGEMENT
3.2 Creating a Project File 123
Opening a GX Developer format project
A project created in GX Developer (GX Developer format project) can be opened and used in GX Works3.
This function can be used in a project for QSCPU only.
The following shows the module type to be changed.
Before change After change
QSCPU R120SFCPU
For details on the replacement of data which is necessary to use a GX Developer format project in the GX Works3 format,
refer to the following:
Page 924 Replacement of a GX Developer format project
Operating procedure
1. Select [Project] [Open Other Format File] [GX Developer Format] [Open QSCPU Series Project].
3. Enter the user name and password of a GX Developer format project in the "User Authentication (Project)" screen, and
click the [OK] button.
5. Register a new user in a GX Works3 format project. (Page 104 Adding a new user)
6. Read the displayed message, and click the [OK] button.
The changes in project data are displayed in the "Output" window.
3 PROJECT MANAGEMENT
124 3.2 Creating a Project File
Data to be changed
The following table shows data to be changed when opening a GX Developer format project.
Data of modules that cannot be replaced with MELSEC iQ-R series modules will be deleted.
Operation in opening Setting item in GX Developer Remarks
Changing in accordance with the PLC parameter PLC name Check the settings in GX Works3.
target module type
PLC system
PLC RAS
Device
3
I/O assignment*1,*2
Safety setting*3
Network parameter*1 Ethernet*3
CC IE Control(Normal station)
CC IE Field (Local station)
• Ladder program*4
• Device comments for devices other than special relays (SM) and special
registers (SD)
• Device memory*1
• User-defined FB*5
• Structure
• Global variables
• Local labels
Deleting the definition*6 Safety FB Redefine them in GX Works3.
Returning to the default/ PLC parameter Boot file setting Set them in GX Works3.
deleting the data
Network parameter CC IE Field(Master station [Safety])
CC IE Field(Local station [Safety])
CC-Link
• Options (other than "Reference/Reflection Target for Device Comment")
• Device comments for special relays (SM) and special registers (SD)
• Remote password
• User information (user name/password/access level)
Changing to the state in which a Connection destination
project was newly created
*1 Some setting items return to the default or the data is deleted. Check and set them in GX Works3 after opening the project.
*2 When switch settings are configured without setting network parameters, the switch settings are deleted.
*3 The items which are not supported by GX Works3 are deleted.
*4 Replaced with a standard program.
*5 Replaced with a standard FB.
*6 Data on a ladder program is not deleted.
3 PROJECT MANAGEMENT
3.2 Creating a Project File 125
Saving a project
Save the project on the personal computer or another data storage device.
Depending on the setting for "MELSOFT iQ AppPortal information file output when saving project," an iQ AppPortal
information file can be output when saving a project.
For details, refer to the following:
Page 137 Settings for MELSOFT iQ AppPortal
When saving the project with the workspace format, click the [Save as a Workspace Format Project] button to switch the
screen.
Operating procedure
Set each item and click the [Save] button.
When saving a project that has been opened in the Q/L/FX series compatibility mode in GX Works3, any of
the following format can be selected in "Save as type" in the "Save as" screen.
• GX Works3 Project (*.gx3)
• GX Works2 Project (*.gxw)
Precautions
For the unusable character strings for a project, workspace, or path name, refer to the following:
Page 885 Unusable Character Strings (Reserved Words)
3 PROJECT MANAGEMENT
126 3.2 Creating a Project File
Overwriting projects
Operating procedure
Select [Project] [Save] ( ).
Deleting a project
Delete a project saved on the personal computer or another data storage device.
Window
Select [Project] [Delete].
Operating procedure
Select a project ( ) to be deleted, and click the [Delete] button.
Precautions
When a project file does not exist after deleting a workspace format project, the message appears to confirm whether to
delete the workspace itself. If the project is deleted, the workspace folder is deleted, but 'workspacelist.xml' remains.
In addition, when deleting a project, the corresponding iQ AppPortal information file is also deleted.
3 PROJECT MANAGEMENT
3.2 Creating a Project File 127
3.3 Creating Data
This section explains the creation method of each data.
Data
Unusable character strings
Refer to the following:
Page 885 Unusable Character Strings (Reserved Words)
Maximum number of units of data that can be created in one project (RCPU/LHCPU/FX5CPU)
The following table shows the maximum number of units of data that can be created for each data type.
Data type RCPU LHCPU FX5CPU
R00CPU R02CPU R04CPU Others L04HCPU L08HCPU
R01CPU L16HCPU
L32HCPU
Program file 32 64 124 252 124 252 32
FB file and FUN file 16 32 64 128 64 128 15
Function block and function 4096 8192 4096 8192 960
Initial device value 800 1
Program block 2048
Common device comment 1
Each program device comment 800
Global label
Structure
Device memory
Precautions
For data names, use characters in the Unicode Basic Multilingual Plane.
If an input language is different from the language set in the regional settings on Windows, some functions may not operate
properly. In that case, unify these languages.
If the characters outside the Unicode Basic Multilingual Plane are specified, the program may not operate properly.
3 PROJECT MANAGEMENT
128 3.3 Creating Data
Creating data
Create new data in a project.
Window
1. Select data in the navigation window.
In a safety project, the "Category" column to select "Standard," "Safety," or "Standard/Safety Shared" is displayed. For details
on the data to select, refer to the following:
Page 30 Safety system
Operating procedure
Set each item and click the [OK] button.
For the setting items when "Function Block" or "FB File" is selected for "Data Type," refer to the following:
Page 485 Creating a new function block
For the setting items when "Function" is selected for "Data Type," refer to the following:
Page 504 Creating a function
Precautions
• When function block and function data are added by the above method, the FB file and FUN file will be in the unconverted
state.
• SFC data and program blocks written in programming languages except for SFC (Ladder, ST, FBD/LD) cannot exist in a
same program file.
3 PROJECT MANAGEMENT
3.3 Creating Data 129
Editing data
2. Select [Project] [Data Operation] [Rename], or right-click in the navigation window and select [Rename] from the
shortcut menu.
Operating procedure
1. Select the data of the copy source in the navigation window.
2. Select [Project] [Data Operation] [Copy Data] ( ), or right-click in the navigation window and select [Copy Data]
( ) from the shortcut menu.
3. Select a folder to paste the data (one-level upper hierarchy of the copy source data) in the navigation window or other
projects.
4. Select [Project] [Data Operation] [Paste Data] ( ), or right-click in the navigation window and select [Paste Data]
( ) from the shortcut menu.
If the same data name exists in the folder where the data is to be pasted, the pasted data is named automatically.
If data cannot be pasted with this function, it can be utilized by opening each editor and copy the
corresponding data.
Precautions
• The pasted program will be in the unconverted state.
• Structures and function blocks used in the global label are not copied.
If the same structure or function block name does not exist in the paste destination, the data type of the global label will be
changed to an undefined one.
• Pasting of global label data is canceled when the maximum number of labels (20480) is exceeded. Adjust the number of
global labels in the copy destination and the copy source, and retry pasting data.
Program file
A program block under the selected program file is copied when copying a program file.
A common device comment can also be copied by setting the following option when pasting the data to other projects.
Set it in the project of a copy source.
• [Tool] [Options] "Edit" "Copy" "Operational Setting"
3 PROJECT MANAGEMENT
130 3.3 Creating Data
Module FB
When copying and pasting a program block including a module FB to another project, the definition of the module FB is
automatically added in the navigation window of the paste destination.
Precautions
• When pasting a program block, a module FB on a ladder program is pasted as a function block whose definition is unclear.
• If a module FB does not exist in the element selection window of the paste destination, the definition of the module FB is
not added in the navigation window.
In this case, import the module FB in the project, then drag and drop the module FB from the element selection window 3
onto the navigation window. (Page 500 Importing module FBs in a project, Page 503 Adding the definition of a module
FB)
*1 For R00CPU, R01CPU, and R02CPU, data can be copied and pasted only in the following combinations:
R00CPU and R00CPU
R01CPU and R02CPU
*2 Excluding R00CPU, R01CPU, and R02CPU.
3 PROJECT MANAGEMENT
3.3 Creating Data 131
Adding worksheets
A worksheet (program body) of a POU (program block, function block, and function) can be added.
This operation is applied to a POU used in an ST program and FBD/LD program.
Operating procedure
1. Select a POU to which the worksheet is to be added in the navigation window.
2. Select [Project] [Data Operation] [Add New Worksheet], or right-click in the navigation window and select [Add New
Worksheet] from the shortcut menu.
Deleting data
Data can be deleted from the open project.
Operating procedure
1. Select data to delete in the navigation window.
2. Select [Project] [Data Operation] [Delete Data], or right-click in the navigation window and select [Delete Data] from
the shortcut menu.
Importing data
Import the following data from an XML file output with Simulink PLC Coder to a project.
• POUs (program block, function block, function)
• Global label
• Structure
Operating procedure
1. Select [Project] [Import File] [Simulink PLC Coder XML Format].
3. Specify "XML (*.xml)" for a file type, and click the [Open] button.
Precautions
• Only an XML file output with Simulink PLC Coder can be imported.
• Do not edit an XML file output with Simulink PLC Coder. Otherwise, the file may not be imported properly.
• When a program is being monitored or simulated, a file cannot be imported.
3 PROJECT MANAGEMENT
132 3.3 Creating Data
Associating data with a help file
Data can be associated with a help file (such as PDF file and e-Manual).
The associable data is listed below.
• Project
• POUs (program block, function block, function)
• Global labels, structures
Associated help files can be opened from the navigation window, element selection window, and a program editor.
3
Setting for a help file
The path information of a help file can be set for data by the following procedure.
Operating procedure
1. Select a project or data in the navigation window, then select [Project] [Data Operation] [Properties] ( ), or right-
click it and select [Properties] ( ) from the shortcut menu.
2. Specify a location of a help file using either an absolute path or a relative path in "Help Path Information," and click the
[OK] button.
For the "Help Path Information" in the property, specify the file name with no text described above. (Example:
c:\library\help.pdf)
3 PROJECT MANAGEMENT
3.3 Creating Data 133
Opening a help file
A help file associated with data can be opened from each screen.
Operating procedure
Navigation window
1. Select a project or data in the navigation window.
Program editor
1. Select a function or function block on a program editor.
3 PROJECT MANAGEMENT
134 3.3 Creating Data
Properties
Display the properties of data such as a folder, parameter, and program.
A title and comment can be added to each data.
Window
1. Select data in the navigation window.
Operating procedure
Set each item and click the [OK] button.
3 PROJECT MANAGEMENT
3.3 Creating Data 135
Title
A title set to data is displayed with a data name in the navigation window.
The title is also displayed in the "Online Data Operation" screen when writing/reading data to/from the programmable
controller.
3 PROJECT MANAGEMENT
136 3.3 Creating Data
Compressing a project file
When saving a project, whether or not to compress data can be set in the following procedure.
Operating procedure
1. Select a project in the navigation window, then select [Project] [Data Operation] [Properties] ( ), or right-click it and
select [Properties] ( ) from the shortcut menu.
2. Select "Compression" or "Standard" for "File Size" and click the [OK] button.
A project is saved according to the setting. 3
By selecting "Compression" for "File Size," the project file size decreases.
Precautions
• A compressed project cannot be opened in GX Works3 Version 1.047Z or earlier.
• A compressed project may not be used in MELSOFT products other than GX Works3.
In that case, change the setting to "Standard," or use another version of MELSOFT products which support that project.
The following table shows the applicable version of each product and support date (as of October 2022).
Product name Version Date
MELSOFT Navigator 2.54G
MT Works2 1.150G
CW Configurator 1.012N
• When a security version of a project is set to "2" in GX Works3 Version 1.096A or later, "Standard" cannot be set for the
project, and "Compression" is automatically set.
Operating procedure
1. Select a project in the navigation window, then select [Project] [Data Operation] [Properties] ( ), or right-click it and
select [Properties] ( ) from the shortcut menu.
2. Select "Always output" for "MELSOFT iQ AppPortal information file output when saving project," and click the [OK]
button.
3 PROJECT MANAGEMENT
3.3 Creating Data 137
3.4 Searching the Navigation Window
Data in the navigation window can be searched for, and the results can be displayed.
For the search method, refer to the following:
Page 78 Quick Search
3 PROJECT MANAGEMENT
138 3.4 Searching the Navigation Window
3.5 Changing the Module Type and Operation Mode of
Projects
The module type and operation mode of a project can be changed to another while editing the project.
Revisions registered in the project revision history are retained after changing the module type and operation mode.
For a project whose security version is '2,' a project password and administrator password are retained after changing the
module type and operation mode.
For RnPCPUs, the operation mode only can be changed. 3
For remote head modules, both module type and operation mode cannot be changed.
Window
Select [Project] [Change Module Type/Operation Mode].
Operating procedure
1. Select a new module type and operation mode, and click the [OK] button.
2. Compare the projects before and after the change to check the changed contents.
3. Edit each data according to the new module type and operation mode.
Precautions
• Since data cannot be restored after changing the module type and operation mode, the project data needs to be saved in
advance.
Note that, the project status after the change is changed to unsaved state.
• A module label of a CPU module, used before the module type change, is deleted, and a module label after the change is
added. Therefore, the program may need to be modified after the change.
3 PROJECT MANAGEMENT
3.5 Changing the Module Type and Operation Mode of Projects 139
Combinations of CPU series that module types are changeable
: Changeable, : Changeable (restricted), : Not changeable
For the restricted contents, refer to the displayed message.
CPU series before CPU series after change
change RnCPU RnPCPU RnSFCPU RnENCPU RnPSFCP FX5CPU LHCPU
U
RnCPU
RnPCPU
RnSFCPU
RnENCPU
RnPSFCPU
*1
FX5CPU
LHCPU
To utilize data to a different module type of CPU module, open each editor and copy the data.
3 PROJECT MANAGEMENT
140 3.5 Changing the Module Type and Operation Mode of Projects
Considerations for combinations of CPU series
Changing the module type from an RnENCPU to a CPU module that occupy one slot
When the setting items in "I/O Assignment Setting" on the [I/O Assignment] tab of the "System Parameter" screen were set,
the network part is not placed and the same network type module "RJ71EN71" is placed after changing the module type.
Changing the module type from a CPU module that occupies one slot to an RnENCPU
When the setting items in "I/O Assignment Setting" on the [I/O Assignment] tab of the "System Parameter" screen were set,
any of the following modules is required to be placed on the right side of the CPU module (slot No.0.)
• RJ71EN71 (CCIEC) 3
• RJ71EN71 (CCIEF)
• RJ71EN71 (E+CCIEC)
• RJ71EN71 (E+CCIEF)
After changing the module types, these modules will be deleted from the setting contents of I/O Assignment Setting. Instead,
the same network type CPU extension module '_RJ71EN71' will be placed on slot No.0.
Ex.
The following shows the procedure for changing R08CPU to R08ENCPU.
Operating procedure
1. In "I/O Assignment Setting" on the [I/O Assignment] tab of the "System Parameter" screen, place RJ71EN71 on the right
side of the CPU module (slot No.0).
RJ71EN71 is displayed in the navigation window.
2. Change the module type.(Page 139 Changing the Module Type and Operation Mode of Projects)
RJ71EN71 that was placed on slot No.0 is deleted, then _RJ71EN71 is placed on the slot.
In addition, the start I/O number of RJ71EN71 displayed in the navigation window is changed to "Unset."
3 PROJECT MANAGEMENT
3.5 Changing the Module Type and Operation Mode of Projects 141
Changing the module type from an RnPCPU and an RnPSFCPU to another CPU module
The following contents related to process control set for an RnPCPU and an RnPSFCPU are deleted.
• Tag FB setting
• "Use the process control extension" set in the "Properties" screen of a program file
• "Execution Interval"/"Phase" set in the "Properties" screen of a program block
• "Execution Interval"/"Phase" set in the "Program File Setting" screen
• For a function block, the setting which was set for "Use as Tag FB"/"Tag Type" in the "Properties" screen
• [Tool] [Options] "Convert" "Process Control Extension Setting"
• System header and system footer
• Global label setting 'M+PTAG'
3 PROJECT MANAGEMENT
142 3.5 Changing the Module Type and Operation Mode of Projects
3.6 Verifying Projects
The project currently opened can be verified with data of another project.
By verifying projects, the consistency and changes can be checked.
Projects can be verified between different module types of a same series.
A project of a remote head module cannot be verified with that of a CPU module.
When user information is registered to a project, user authentication is required. (Page 684 Logging on to a project)
Verification 3
Window
Select [Project] [Project Verify].
Operating procedure
1. Specify a project for "Verify Destination" on the [Verification Data Selection] tab.
Precautions
• A GX Works2 or GX Developer project cannot be verified.
• A project for which a security is set can be verified when both data of the verification source and verification destination are
not read-protected.
3 PROJECT MANAGEMENT
3.6 Verifying Projects 143
Parameters
Module parameters
In a project for FX5CPUs, parameters for the following modules can be verified.
Module
FX5-232ADP FX5-485ADP FX5-4AD-ADP FX5-4AD-PT-ADP FX5-4AD-TC-ADP FX5-4DA-ADP
FX5-4A-ADP FX5-16ET/ES-H FX5-16ET/ESS-H FX5-4LC FX5-4LC(FX3) FX5-8AD
FX5-8AD(FX2N) FX5-40SSC-S FX5-80SSC-S FX5-40SSC-G(S) FX5-80SSC-G(S) FX5-20PG-P
FX5-20PG-D FX5-ENET FX5-ENET/IP FX5-OPC FX5-CCLIEF FX5-CCL-MS
FX5-CCLGN-MS FX5-ASL-M FX5-4AD FX5-4AD(FX3) FX5-4DA FX5-4DA(FX3)
FX5-SF-MU4T5
Operating procedure
1. After projects are verified, select "Module Parameter" in the result list in the "Verify Result" window, then double-click it or
press the key.
2. Click the [Stop] button in the "Verification Progress" screen immediately after verification starts.
3. Select a module to verify in the [Module Parameter] tab in the "Verify Result" screen, and double-click it or press the
key.
Operating procedure
1. Change the corresponding setting item in the parameter editor, and then restore it.
3 PROJECT MANAGEMENT
144 3.6 Verifying Projects
Checking a verification result
A verification result can be checked in the "Verify Result" window or the detailed display (diagram/table format) screen.
In the detailed display (diagram/table format) screen, the details of a project verification result are displayed in a diagram or
table format.
No. Name Description Reference
(1) Verification Result list A tab in which the verification results of each data are displayed.
result By double-clicking data including multiple units of data such as FBD/
LD program, the verification result of those data is displayed in a new
tab. 3
(2) Detailed display A tab in which the details of mismatched data are displayed. Page 147 Detailed display
By double-clicking the data displayed in the result list, the verification (program file)
result is displayed according to the data type. Page 150 Detailed display
(program)
Page 152 Detailed display (other
data)
(3) Detailed display (diagram/table format) A screen in which verification results of programs, labels, structures, Page 154 Detailed display
and device comments are displayed in a diagram or table format. (diagram/table format)
This screen appears by double-clicking any of the rows where the
following character strings are displayed in the "Type" column of the
result list.
• Program: Program, Zoom
• Label: Global Label, Program (Local Label), FB/FUN (Local Label)
• Structure: Structured Data Types
• Device comment: Each Program Device Comment, Common
Device Comment
Ex.
FBD/LD program
(1)
(1)
(2)
(3)
3 PROJECT MANAGEMENT
3.6 Verifying Projects 145
Font and the font and background color in the "Verify Result" window can be changed. (Page 81
Checking and Changing Colors and Fonts)
Only mismatched data can be displayed by using the following menu while the detailed display tab in the
"Verify Result" window is displayed.
• [View] [Show only Mismatches] ( )
In addition, a verification result can be exported to a file by using the following menu.
• Select [Edit] [Export to File] ( ).
Precautions
Data inconsistency may be detected in a global label, local label, or structure.
In that case, there is a possibility that the inconsistency will be solved by performing the following operations in the editor
where the data is defined.
1. Export data of the corresponding label or structure to a CSV file.
3 PROJECT MANAGEMENT
146 3.6 Verifying Projects
Detailed display (program file)
The details of the verification result of a program file, FB file, and FUN file can be checked in the detailed display tab.
Window
Select and double-click data in the result list in the "Verify Result" window.
Ex.
Program file
3
Jumping to an editor
By double-clicking the displayed data, the cursor jumps to the corresponding data in each editor.
After modifying mismatched data, double-click the data in the result list. By doing so, a verification result using
the latest data of the verification source can be checked.
3 PROJECT MANAGEMENT
3.6 Verifying Projects 147
Precautions
Program file/FB file/FUN file
• When "Hide System Generated Items" is selected from the pull-down list of a Verify Result screen (detailed display), the
following instruction codes are omitted in display.
_TMALLOC, _TMFREE, JMPO, NOP H0, EXEFBDUMMY, FBRET, NOP, LD TMP, OUT TMP
• The label memory assigned to a label may be displayed in a verification result. For the types of displayed label memory,
refer to the following:
Page 898 Label Memory Types
• When either verification destination or source satisfies all of the following conditions, its memory reserved area is changed.
Therefore, difference is generated in the internal data between these projects; a mismatch may be detected between their
program files, FB files, or FUN files.
No. Condition
(1) All programs have been converted (reassigned) after a value of any of the following items was changed in the "Properties" screen of a function
block.
• Label Reserved Area
• Latch Label Reserved Area
• Signal Flow Reserved Area
(2) The FB instance of a function block whose reserved area capacity has been changed is used in a program or a subroutine type function block.
• When either verification destination or source satisfies all of the following conditions, its memory reserved area is changed.
Therefore, difference is generated in the internal data between these projects; a mismatch may be detected between their
program files or FB files.
No. Condition
(1) All programs have been converted (reassigned) after the value of "Reserved area" in the "Properties" screen of a structure definition was changed.
(2) A global label or a local label specified a structure definition, whose reserved area capacity has been changed, as the data type is used in the
program.
When the versions of GX Works3 that converted program files/FB files/FUN files are different
For verification of program files/FB Files/FUN files, when the versions of GX Works3 that converted the program files of a
verification source and verification destination are different, there may be a difference in the conversion result, and
the verification result also may be mismatched. In this case, convert all programs in both verification source and verification
destination with the same version of GX Works3, then verify them again.
When the cursor jumps to an output argument of a macro type function block
If the cursor jumps to the output argument (2) connected to the macro type function block (1) when double-clicking data, the
corresponding data may actually exist in a program of the macro type function block (1).
(2)
(1)
3 PROJECT MANAGEMENT
148 3.6 Verifying Projects
When a security is set for a program file
When a program file, FB file, or FUN file that contains a program file, for which a security is set, is specified as a verification
destination, the detailed verification result screen of each file does not appear.
The detailed verification result screen of each file appears by changing the setting of the locked program file to
accessible.(Page 674 Procedure for making locked program files accessible)
3 PROJECT MANAGEMENT
3.6 Verifying Projects 149
Detailed display (program)
The details of a program verification result can be checked in the detailed display tab.
In the detailed display tab, the details of a verification result is displayed in a list.
Window
1. Select and double-click data in the result list in the "Verify Result" window.
2. Click the [Converted Result Verification] button in the detailed display tab.
Ex.
FBD/LD program
Jumping to an editor
By double-clicking the displayed data, the cursor jumps to the corresponding data in each editor.
After modifying mismatched data, double-click the data in the result list. By doing so, the latest verification
result can be checked.
3 PROJECT MANAGEMENT
150 3.6 Verifying Projects
Precautions
Ladder program
• When there is no program in a macro type function block, the cursor jumps to the top of the ladder block.
• When programs containing an inline structured text program are verified, "STB" is displayed on the row of the inline
structured text program.
The cursor jumps to the corresponding row of the inline structured text program by double-clicking the "STB."
• When programs containing a functions and/or function blocks are verified, the result is displayed as follows:
Function: row from "*;FUN BLK START" to "*;FUN BLK END"
3
Function block: row from "*;FB BLK START" to "*;FB BLK END"
FBD/LD program
• When the versions of GX Works3 used for editing programs of a verification destination and source are different, the
verification result may be mismatched due to the difference of position information of elements. In this case, edit, convert,
and save the programs in both the verification source and the verification destination with a same version of GX Works3,
and perform the verification again*1.
• When programs containing a functions and/or function blocks are verified, the result is displayed as follows:
Function: row from "*;FUN BLK START" to "*;FUN BLK END"
Function block: row from "*;FB BLK START" to "*;FB BLK END"
It can be hidden by setting the following option.
[Tool] [Options] "Program Editor" "FBD/LD Editor" "Verify" "Verify Setting" "Minimize the Detailed Display
(List Format)"
• In any of the following cases, "-" is displayed in the "Step" column.
A project and the data in a CPU module were verified by using the [Verify with PLC] menu.
A verification was performed without converting any or all programs which were read from a CPU module.
• When programs containing an inline structured text program are verified, "STB" is displayed on the row of the inline
structured text program.
The cursor jumps to the corresponding row of the inline structured text program by double-clicking the "STB."
*1 When verifying with a programmable controller, perform the "Write to PLC" or "Online Program Change" in advance.
ST program
• When programs containing a functions and/or function blocks are verified, the result is displayed as follows:
Function: row from "*;FUN BLK START" to "*;FUN BLK END"
Function block: row from "*;FB BLK START" to "*;FB BLK END"
It can be hidden by setting the following option.
[Tool] [Options] "Program Editor" "ST Editor" "Verify" "Verify Setting" "Minimize the Detailed Display (List
Format)"
SFC program
• Even if displayed SFC diagrams of the verification destination look totally same as those of the verification source, the
verification result may be mismatched due to a difference of the internal data which is generated depending on the creation
procedure.
• "-" is displayed in the "Step" columns of the verification destination and source.
3 PROJECT MANAGEMENT
3.6 Verifying Projects 151
Detailed display (other data)
The details of the verification result of data other than a program file and program can be checked in the detailed display tab.
Window
Select and double-click data in the result list in the "Verify Result" window.
Ex.
CPU parameters (R04CPU)
Jumping to an editor
By double-clicking the displayed data, the cursor jumps to the corresponding data in each editor.
After modifying mismatched data, double-click the data in the result list. By doing so, a verification result using
the latest data of the verification source can be checked.
3 PROJECT MANAGEMENT
152 3.6 Verifying Projects
Precautions
Device memory
• Device memory data can be verified even if their names are different.
• For a verification result of device memories, only mismatched devices are displayed.
Parameters
• When the same profiles are not registered to the verification destination and source, the verification result may be
mismatched.
The following restrictions apply when a parameter item was added to the verification destination with upgrade
of an intelligent function module.
• The added parameter item is excluded from a verification because the verification source that has not been
upgraded cannot identify the item. Therefore, other parameters will be verified, and when those parameters
matched, it is applied to the verification result in each module.
3 PROJECT MANAGEMENT
3.6 Verifying Projects 153
Detailed display (diagram/table format)
Details on a verification result of the following data can be checked in the detailed display (diagram/table format) screen.
• Program (ladder program, ST program, FBD/LD program, SFC program)
• Label (global label, local label)
• Structure
• Device comment
In the detailed display (diagram/table format) screen, the details on a verification result are displayed in a diagram or table
format.
In this section, elements connected using connection lines are referred to as 'verification block.'
Window
Select and double-click data in the result list in the "Verify Result" window.
Ex.
FBD/LD program
(1)
(3)
(2)
(4)
(5)
(1): Toolbar
(2): Verification result display area (verification source)
(3): Verification result display area (verification destination)
(4): Verification block
(5): Status bar
3 PROJECT MANAGEMENT
154 3.6 Verifying Projects
When displaying a verification result of any of the following data, the display of either verification source or
destination whose magnification is higher is zoomed in or out according to the width of the one with lower
magnification by clicking (Zoom to Page Width).
• Ladder program
• FBD/LD program
• SFC program
• Label
• Structure 3
• Device comment
When displaying a verification result of ST programs, data in the selected range can be copied by pressing the
+ keys.
3 PROJECT MANAGEMENT
3.6 Verifying Projects 155
Merging mismatched data into a verification source
When the verification result of a ladder program or ST program is displayed, mismatched data can be merged into a program
of the verification source. (Excluding a Zoom and an inline structured text program used in an FBD/LD program)
The following table shows the procedures for merging data.
Data to be merged Operating procedure
Procedure Shortcut key Icon on the toolbar
Any mismatched data Switch to the merge mode. + keys (Merge Mode)
Move to the data to be merged. + keys (Next Mismatch)
+ keys (Previous Mismatch)
Merge data in the selected range into a program of the + keys (Merge the Selected
verification source. Range)
All mismatched data Switch to the merge mode. + keys (Merge Mode)
Apply all data to a program of the verification source. + keys (Reflect All)
Precautions
• Once data is merged, it cannot be undone or redone.
• Data cannot be merged in the following cases:
A read-only project is verified.
A ladder program in the read mode or monitor read mode is verified.
Histories are verified with each other by using the project revision history function or project version management function.
Specific data in a master project is verified with that in a local project by using the project version management function.
All programs are matched.
• Only a program body is merged. The following data cannot be merged:
Global label
Local label
Structure definition
Function block
Function
Device comment
3 PROJECT MANAGEMENT
156 3.6 Verifying Projects
Jumping to an editor
By double-clicking displayed data, the cursor jumps to the following data in each editor.
Editor Data
Ladder editor Double-clicked data
Structure definition
Device comment editor
FBD/LD editor Data which is found first by searching a verification block from the upper left to lower right
SFC editor
ST editor Data in the same row number as the one where the selected data is
Label editor Double-clicked data*1 3
*1 For a label or structure member assigned to a label, the cursor jumps to the data in the "Assign (Device/Label)" column.
Printing
The following shows the procedure for printing a verification result.
Operating procedure
1. Click (Print) on the toolbar.
In the "Print Preview" screen, an image is displayed in the case of using a printer which is set in [Use Always] of Windows.
2. Click (Print) in the "Print Preview" screen.
When printing a verification result of any of the following data, the screen zoomed out according to the widest
verification block in the verification source and destination will be displayed in the print preview by clicking
(Print to Page Width) on the toolbar.
• Ladder program
• FBD/LD program
• SFC program
• Label
• Structure
• Device comment
Exporting to a file
The following shows the procedure for exporting a verification result to a file.
Operating procedure
1. Right-click in the verification result display area, and select [Export to File] from the shortcut menu.
3 PROJECT MANAGEMENT
3.6 Verifying Projects 157
Precautions
Differences from a program editor
Displayed data differs between the detailed display (diagram/table format) screen and program editor.
Data not to be verified is not displayed in the detailed display (diagram/table format) screen.
In addition, characters displayed in a program editor may not be displayed in the detailed display (diagram/table format)
screen. In that case, check it by moving the cursor to the editor.
Ladder program
• Even when instructions which are not displayed in a ladder program such as NOP are mismatched, the result cannot be
checked in the detailed display (diagram/table format) screen. Check it in the detailed display tab, instead. (Page 150
Detailed display (program))
• Programs are verified in the state where all collapsed ladder blocks, notes, and statements displayed.
• When jumping to data in a ladder program, notes and statements are displayed on an ladder editor regardless of the
display format of the editor.
FBD/LD program
• When function elements/function block elements are displayed as mismatches even though their display contents are
matched between the verification source and the verification destination, the hidden arguments may not be matched.
(Page 331 Hiding arguments)
• An inline structured text program is not displayed in the preview display area of inline structured text elements in the
detailed display (diagram/table format) screen.
SFC program
The search cannot be performed for each element even by clicking (Next Mismatch)/ (Previous Mismatch) on the
toolbar but for each verification block.
3 PROJECT MANAGEMENT
158 3.6 Verifying Projects
Color and font
Font and the font and background color in the detailed display (diagram/table format) screen cannot be changed.
3 PROJECT MANAGEMENT
3.6 Verifying Projects 159
3.7 Project Revision History
This function manages the revision history of a project by recording changes in the project.
By using this function, a past project can be restored based on a revision.
Registering a revision
To record changes in a project, registering a revision in the "Register Revision" screen is required.
Window
Select [Project] [Project Revision] [Register Revision].
Operating procedure
Set each item and click the [OK] button.
Precautions
For a project whose security version is '2,' it may take time to register a revision.
3 PROJECT MANAGEMENT
160 3.7 Project Revision History
Registering a revision when a project is overwritten
By setting options, a project revision can be registered when the project is overwritten.
This prevents that the project is overwritten without registering the revision.
The procedure to register a revision is shown below.
Operating procedure
1. Set "Yes" for the following option. (When the option has been set, this operation is not required.)
• [Tool] [Options] "Project" "Revision" "Operational Setting" "Register to the Revision When Saving Project" 3
A confirmation message showing whether to register a revision appears when overwriting a project.
3. Set each item in the "Register Revision" screen, and click the [OK] button.
By selecting "Yes" for the following option, a revision title is set automatically. Therefore, the "Register
Revision" screen explained in step 3 does not appear.
• [Tool] [Options] "Project" "Revision" "Operational Setting" "Automatically Set Revision Titles"
In addition, by selecting "No" for the following option, the message explained in step 2 does not appear.
• [Tool] [Options] "Project" "Revision" "Operational Setting" "Display Confirmation Message
Showing Whether to Register Revision"
By selecting "Yes" for the following option, revision information is optimized when the revision is registered so
that the file size of the project in which a label is used is reduced.
• [Tool] [Options] "Project" "Revision" "Operational Setting" "Optimize Revision Information to
Reduce File Size"
3 PROJECT MANAGEMENT
3.7 Project Revision History 161
Revision list screen
Registered revisions can be checked in the "Revision List" screen.
Revisions can be registered, restored, deleted, and verified in this screen.
Window
Select [Project] [Project Revision] [Revision List].
Select and right-click a revision, then select [Details] from the shortcut menu; the "Detailed Revision Information" screen
appears, and the information such as comments entered at the registration can be checked.
Registering a revision
A project revision can be registered by clicking the [Register] button.
This time, information for iQ AppPortal is not registered.
Precautions
• It may take time to register a revision of a large project if the size of its project file exceeds 10 MB.
• For a project whose security version is '2,' it may take time to register a revision.
Restoring a revision
A past project can be restored based on a registered revision.
Operating procedure
1. Select a project revision to be restored, and click the [Restore] button.
Precautions
• Before restoring a project, register a revision of the project being edited. Otherwise, the project before the restoration is
overwritten when the project restored based on another revision is saved.
• The added/changed/deleted user information is not restored.
• For a project whose security version is '2,' it may take time to restore a revision.
3 PROJECT MANAGEMENT
162 3.7 Project Revision History
Deleting a revision
A registered revision can be deleted.
Operating procedure
Select a revision to be deleted, and click the [Delete] button.
Verifying a revision
A revision can be verified with another revision or a project being edited. 3
Operating procedure
Select a revision to be verified, and click the [Verify] button.
If only one revision is selected for verification, it is verified with a project being edited. To verify revisions, select two revisions.
The operation method for displaying the verification result is the same as that of project verification. For more details, refer to
the following:
Page 145 Checking a verification result
Precautions
For a project whose security version is '2,' it may take time to verify a revision.
3 PROJECT MANAGEMENT
3.7 Project Revision History 163
3.8 Project Version Management
This function manages the update revision history of a project for each data by recording changes in the project with a version
management system*1. (Changes not only in an entire project but also in each data can be recorded.)
*1 Manages the update revision history of a file that is created and edited on a personal computer.
Overview
A created project can be registered in a version management system and the project can be edited by acquiring it from the
system.
When an edited project is registered in the system again, the project that has been registered in the system is updated, and
the changes are recorded as an update revision.
Consequently, the edited project is automatically merged into the project that has been registered in the system, and the
update revision can be managed.
Moreover, past data can be restored based on an update revision.
Merge / Restore
Features
The following shows features of this function.
• The update revision history of a project on a server can be managed for each data. (Changes in each data can be recorded
individually.)
• Data created by multiple developers are automatically merged into one project. (Only specific data can be merged.)
• Only specific data can be restored based on a revision of data. (Only data with an error can be restored.)
3 PROJECT MANAGEMENT
164 3.8 Project Version Management
Master project and local project
By registering a project in a version management system, a project (folder format) in which changes are recorded is created.
This project is referred to as a 'master project' in this manual.
The following projects can be merged into a master project.
• Original project of one registered in a version management system (single file format)
• Project acquired from the version management system (single file format)
These projects are referred to as 'local projects' in this manual.
3
(1)
Register Acquire
(2) (3)
Function of iQ AppPortal
Feature Usage example Reference
Single or multiple project files used in a system can be Understanding the parent-child relationships between a newly iQ AppPortal Operating
managed. created project file and its source and the timing of derivation Manual
(Managed in a server.) when creating a new project file by utilizing one registered in iQ
AppPortal
3 PROJECT MANAGEMENT
3.8 Project Version Management 165
Operation flow
The following figure shows an operation flow to manage the update revision history of a project.
Ex.
Multiple developers (A, B, and C) assign tasks to one another and create one project:
Tasks assigned to each developer are as follows:
• A: Creating a new project and an own assigned program (ProgPou_A)
• B: Creating an assigned program (ProgPou_B) based on the project created by A
• C: Debugging programs in a master project
Server Server
Master Project
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11)
Local Project
A B A B B A C
3 PROJECT MANAGEMENT
166 3.8 Project Version Management
No. Develop Purpose Operation Reference
er
(1) A To create a master project Register a project in a version management Page 168 Registering a
system. project
(2) B To create a local project Acquire a project from the version management Page 169 Acquiring a
system. project
(3) A To edit 'ProgPou_A' Edit their respective local projects. Page 169 Editing a
project
(4) B To create 'ProgPou_B'
(5) B To merge 'ProgPou_B' To check if the master Check the update revision history of the master Page 170 Update
into the master project project has been updated project. Revision screen 3
(6) B To check differences Verify the local project with the master project. Page 178 Verifying a
between the local project project file or data
and the master project
(7) B To merge 'ProgPou_B' Register 'ProgPou_B' in the version management Page 173 Registering a
system. project file and data
('ProgPou_B' is merged into the master project,
and changes are recorded.)
(8) A To merge 'ProgPou_B' To check if the master Check the update revision history of the master Page 170 Update
into the own local project has been updated project. Revision screen
project
(9) A To check changes in Check the detailed information of the update Page 180 Checking
updated 'ProgPou_B' revision. detailed information
(10) A To merge 'ProgPou_B' Acquire only 'ProgPou_B' from the version Page 176 Acquiring a
management system. project file and data
(Only 'ProgPou_B' is merged into the local project.
'ProgPou_A' is not changed.)
(11) C To debug the programs in the master project Acquire a project from the version management Page 169 Acquiring a
system. project
(Debug the programs in the acquired project.)
3 PROJECT MANAGEMENT
3.8 Project Version Management 167
Registering/acquiring/editing/deleting a project
The following explains the methods for registering, acquiring, editing, and deleting a project.
Registering a project
The procedure to register a project in a version management system is as follows.
Only projects saved as a single file format can be registered in a version management system.
Operating procedure
1. Select [Tool] [Configuration Management]
[Register Project].
If a project is not opened, select the project to be registered
in the displayed screen.
2. Specify the path to a folder to manage a master project
in the "Register Project" screen, and click the [OK]
button. (Up to 256 characters)
3. Enter a title and comment in the "Register Project"
screen, and click the [OK] button.
(Title: up to 128 characters, Comment: up to 5120
characters)
Precautions
• A project cannot be registered in the following cases:
The project is saved as a workspace format.
The project file name has more than 80 characters.
The project is logged on to as a user whose access level is 'Users.'
• For a project whose security version is '2,' it may take time to register a project.
3 PROJECT MANAGEMENT
168 3.8 Project Version Management
Acquiring a project
The procedure to acquire a project from a version management system is as follows.
Operating procedure
1. Select [Tool] [Configuration Management] [Acquire
Project].
Precautions
• An acquired project is in the unconverted state.
• For a project whose security version is '2,' it may take time to acquire a project.
Editing a project
A local project can be edited in the same manner as a normal project.
Precautions
Once either of the following is changed, the project data cannot be registered in or acquired from a version management
system:
• A module type or operation mode set in a project
• A security version set in a project
3 PROJECT MANAGEMENT
3.8 Project Version Management 169
Update Revision screen
The update revision history of a project can be checked in the "Update Revision" screen.
The following operations can also be performed in this screen.
• Page 173 Registering a project file and data
• Page 176 Acquiring a project file and data
• Page 178 Verifying a project file or data
• Page 180 Checking detailed information
Window
Select [Tool] [Configuration Management] [Update Revision] ( ).
If a project is not opened, select the project in the screen displayed by selecting this menu.
(1)
(3)
(2)
(4)
Displayed items
Item Description
(1) Project Path The path to a folder where a master project is managed is displayed.
(2) Data List The following data is displayed in a tree format.
• Master project data (including data that does not exist in a local project)
• Data that exists only in a local project
An icon that indicates data status is displayed on the right side of each data. (Page 171 Icons in the data list)
By clicking (Display the Deleted Data), data which is deleted from a master project and also does not exist in a local
project can be displayed. (In gray)
(3) Revision List The update revisions of data selected in the data list is displayed.
If data containing lower hierarchy data is selected in the data list, the revisions of both the selected data and its lower hierarchy
data are displayed.
Revisions of a project file are displayed in bold.
is displayed on the left side of a revision of data locally acquired.
Items to be displayed can be selected by right-clicking on the column header.
(4) File List Data associated with a revision selected in the revision list is displayed.
3 PROJECT MANAGEMENT
170 3.8 Project Version Management
Management targets of an update revision history
An update revision history of the following data and settings can be managed. The table below shows whether each menu in
the "Update Revision" screen is available for each data or setting.
: Available, : Not available
data/setting Menu
[Register/Acquire Data]*1 [Register/Acquire
Project File]*2
Program block*3, FB folder*3, FUN folder*3, common device comment, each program device
comment
Project, module configuration diagram*4, program folder, execution type folder, program file,
3
folder, FB/FUN folder, FB file, FUN file, label folder, global label folder, global label,
structured data types folder, structure, device folder, device comment folder, each program
device comment folder, device memory folder*4, device memory*4, device initial value
folder*4, device initial value*4, parameter*4, unused ladder program, data and settings which
are not displayed in the navigation window (for example: program file setting)
*1 Displayed by selecting and right-clicking data in the data list in the "Update Revision" screen.
*2 Displayed by selecting and right-clicking "Project" in the data list in the "Update Revision" screen.
*3 Includes local labels, program body, and worksheet.
*4 Not displayed in the "Update Revision" screen.
For the following data and settings, the update revision history cannot be managed.
Shortcut key, color and font, display setting for the system monitor, element selection window (including library), docking window, favorite setting in the online
data operation screen, display language, profile, toolbar, status bar, each screen state (size, displayed items, content being entered, etc.), conversion state of
each data, project revision history
3 PROJECT MANAGEMENT
3.8 Project Version Management 171
Operations for which an icon is not displayed
When certain operations are performed in the following screens, (Change) is not displayed on the right side of each data
in the data list.
To apply changes in each screen to a master project, register a project file to a version management system. (Page 173
Project file)
Screen Operation
Work window Changing display state (example: arranging work windows)
Navigation Filtering data
Sorting data
Changing the name of a function block or function
Option Changing settings
Print
Multiple Comments Display Setting
Input the Configuration Detailed
Information
Tag FB Setting
Specify Connection Destination
Online Data Operation
Label editor Clicking the [Simple Display] or [Detailed Display] button
Program editor Switching whether to display or hide comments
SFC Block List
FB Property Management (Offline) Changing an initial value
Device Comment Searching for a device
Device Memory
Device Memory Changing the display format
Find and Replace Changing the search location of a device or label
Device List
Cross Reference Selecting the following menu:
• [Display] [Display Hierarchically]
Device/Buffer Memory Batch Monitor Closing the window after searching for a device
Watch Registering a device or label
Intelligent Function Module Monitor Changing a module registered in the window
3 PROJECT MANAGEMENT
172 3.8 Project Version Management
Registering a project file and data
Project file
To merge all data in a local project into a master project, register the project file in a version management system.
The following shows the procedure to register a project file.
Operating procedure
1. Select "Project" in the data list.
3 PROJECT MANAGEMENT
3.8 Project Version Management 173
Data
To merge only specific data in a local project into a master project, register only the data in a version management system.
The following shows the procedure to register only specific data.
Operating procedure
1. Select data in the data list. (Multiple selections allowed.)
• Data to be registered can be verified with the latest data in a master project by performing any of the
following operations in the "Register Data" screen:
Double-click data to be registered.
Select and right-click data to be registered, then select [Verify with the Latest Revision] from the shortcut
menu.
• Content set for each of following items can be copied by selecting and right-clicking the item in the "Register
Data" screen, then selecting [Copy] from the shortcut menu.
PC Type
Version
Title
3 PROJECT MANAGEMENT
174 3.8 Project Version Management
Precautions
Cases in which registering a project file is required
If any of the following conditions is satisfied, a project file needs to be registered.
• Content of properties for a project was changed.
• A module was added or deleted.
• The start I/O number of a module was changed.
• A global label or structure was edited.
• A module label, module FB, library, or sample library was added in a project.
3
• Any of the operations below was performed to a program file, FB file, FUN file, or folder.
Adding new data
Deleting data
Renaming
Changing content of properties
• The execution type or order for program blocks was changed.
• A device memory or initial device value was added or deleted, or its name was changed.
• A parameter of a module was changed.
• User information or a security key was changed. (Page 181 User information and security key)
• A tag FB whose tag FB type or tag type does not exist in a project was registered in the "Tag FB Setting" screen.
Security version
For a project whose security version is '2,' it may take time to register a project file or data.
3 PROJECT MANAGEMENT
3.8 Project Version Management 175
Acquiring a project file and data
Project file
To merge all data in a master project into a local project, acquire the project file from a version management system.
The following shows the procedure to acquire a project file.
Operating procedure
1. Select "Project" in the data list.
Operating procedure
1. Select data in the data list.
3 PROJECT MANAGEMENT
176 3.8 Project Version Management
• The latest data can be acquired by selecting [Acquire the Latest Data] from the shortcut menu after
selecting and right-clicking "Project" or each data in the data list of the "Update Revision" screen.
• Content set for each of following items can be copied by selecting [Copy] from the shortcut menu after
selecting and right-clicking the item in the "Acquire Data" screen.
Revision No.
Date
PC Type
Version 3
Title
Precautions
• Acquired data is in the unconverted state.
• A local project after data acquisition is in the unsaved state.
• The execution order of program blocks may be changed by acquiring data. Check their execution order in the "Program File
Setting" screen. (Page 260 Program execution order setting)
• When acquiring a ladder program including a temporarily changed ladder block, the temporary change of the ladder block
will be canceled. However, it will be retained if the ladder program was registered in a version management system at the
registration of a project file.
• The following setting is overwritten with the setting of when data to be acquired was registered in a version management
system:
Editable/non-editable setting for a library
• For a project whose security version is '2,' it may take time to acquire a project file or data.
3 PROJECT MANAGEMENT
3.8 Project Version Management 177
Verifying a project file or data
To check differences between project files or data, verify the project files or the data.
Project file
The following shows the procedure to verify the project file of a master project and the one of a local project.
Operating procedure
1. Select "Project" in the data list.
• By selecting and right-clicking a revision in the revision list, then selecting [Verify with the Previous Revision]
from the shortcut menu, project files associated with the following two revisions can be verified with each
other.
Verification source: a selected revision
Verification destination: a revision registered one before the selected one
If a revision of data is selected between the revisions of data and project file which were registered at the
same time, a verification destination will be a project file associated with a revision registered one before the
revision of project file.
• By selecting two revisions in the revision list, then right-clicking and selecting [Verify Between Revisions]
from the shortcut menu, project files associated with the selected revisions can be verified with each other.
3 PROJECT MANAGEMENT
178 3.8 Project Version Management
Data
The following shows the procedure to verify specific data in a master project and that in a local project.
Operating procedure
1. Select data in the data list.
• By selecting and right-clicking a revision in the revision list, then selecting [Verify with the Previous Revision]
from the shortcut menu, data associated with the following two revisions can be verified with each other.
Verification source: a selected revision
Verification destination: the revision registered one before the selected one
• By selecting two revisions in the revision list, then right-clicking and selecting [Verify Between Revisions]
from the shortcut menu, data associated with the selected revisions can be verified with each other.
Precautions
• When selecting "Project" in the data list then a revision of data in the revision list, data associated with the following two
revisions which were registered one before the selected revision will be set as verification destinations:
Revision of a project file
Selected revision of data
• When specific data in a master project and that in a local project are verified, the cursor does not jump to the corresponding
data in each editor even by double-clicking data displayed in the detailed display (diagram/table format) screen.
• For a project whose security version is '2,' it may take time to verify a project file or data.
Verification result
The operation method for displaying the verification result is the same as that of project verification. For more details, refer to
the following:
Page 145 Checking a verification result
Verifiable data
Data can be verified only when any of the following data is selected in the data list.
• Project
• Program block (standard, safety)
• FB folder (standard, safety)
• FUN folder (standard, safety)
• Global device comment
• Local device comment
Unverifiable data
The following data cannot be verified.
• Data that exists only in the verification source
• Data that exists only in the verification destination
• Data whose program language differs between the verification source and the verification destination
If the following passwords are not authenticated, data cannot be verified:
• Block password set for a POU
• Password set in the editable/non-editable setting for a library
3 PROJECT MANAGEMENT
3.8 Project Version Management 179
Checking detailed information
Details on an update revision of a master project can be checked in the "Details" screen.
The following shows the operating procedure to display the "Details" screen.
Operating procedure
1. Select data in the data list.
• In the "Details" screen, the title and comment for a revision can be changed.
• Content set for each of the following items can be copied by selecting and right-clicking the item in the
"Details" screen, then selecting [Copy] from the shortcut menu.
Revision No.
Date
PC Type
Version
Title
Precautions
If the title or comment of a revision of a project file is changed, the one of the revisions of data that were created at the same
time as the revision of the project file will be changed as well.
3 PROJECT MANAGEMENT
180 3.8 Project Version Management
Considerations
The following shows the considerations for using the project version management function.
Access level
Depending on the access level, operations that can be performed differ. 3
: Can be performed : Cannot be performed
Operation Access level
Administrator Developers Assistant Developers Users
Acquiring a project
Registering a project
Checking an update revision
history
Acquiring data
Registering data *1 *1
Verifying with the latest
revision
Verifying with current data
Verifying with the previous
revision
Verifying between revisions
Checking detailed
information
Block password
When acquiring data for which a block password is set, the block password of a local project is overwritten with the one of a
master project.
In addition, data for which a block password is set cannot be registered or verified if the block password does not match
between a local project and master project.
If the block password of a master project is acquired in registering or verifying data, the block password of a local project is
overwritten with the one of the master project; therefore, the password authentication will be required.
Ex.
When writing data in a local project, which matches to the latest data in a master project, to a programmable controller and
then reading the project, (Past) is displayed on the right side of the following data in the "Update Revision" screen. is
not displayed in the revision list.
• Program block
• Folder
• FB folder
• FUN folder
• Global label
• Structure
• Data of which the name is prefixed with 'M+,' 'M_,' 'P+,' or 'P_'.
3 PROJECT MANAGEMENT
3.8 Project Version Management 181
Data writing to a programmable controller and online program change
The following shows the considerations when writing a local project to a programmable controller, acquiring a project file or
data from the version management system, and then writing the file or data to the programmable controller again.
• Data writing to a programmable controller: Can be performed but a program needs to be converted before it is written to a
programmable controller.
• Online program change: Cannot be performed.
Functions of Subversion
Subversion (SVN) is embedded in GX Works3 to use the project version management function.
However, do not use the functions of Subversion for a master project.
3 PROJECT MANAGEMENT
182 3.8 Project Version Management
Troubleshooting
The following tables show messages displayed while using the project version management function and corrective actions.
Registering a project
Message Cause Corrective action
Unable to register the project version A path where project information cannot be Respecify a path, then register the project Page 168
management information to the specified path. registered is specified. again. Registering a
Please specify a path again.
Failed to register the project. Please execute A project cannot be registered in a version Check the following contents, then register
project
3
Register Project again. management system. the project again:
A version management system cannot be • Is the personal computer connected to a
connected. network?
• Is there sufficient free space on the
An update revision cannot be recorded. personal computer (server)?
A directory of specified path cannot be • Is the specified path correct?
accessed. • Does a user have the access right for the
directory of specified path?
An unconverted ladder was found. Please A ladder program is not converted. Convert the ladder program, then register
execute the operation after converting the the project again.
program.
A project whose user access level is 'Users' was A project is logged on to as a user whose Log on to the project as a user with an
specified. Unable to register the project. Please access level is 'Users.' access level other than 'Users,' then
specify a project other than the one whose user register the project again.
access level is 'Users.'
Acquiring a project
Message Cause Corrective action
GX Works3 project version management A path where project information does not Respecify the path, then acquire the project Page 169
information does not exist in the specified path. exist is specified. again. Acquiring a
Please specify the path to get the management project
information from.
Failed to acquire the project. Saved project before A local project cannot be created. Check the following contents, then acquire
acquiring the project is opened if it is found. the project again:
A version management system cannot be
Please execute Acquire Project again. connected. • Is the personal computer connected to a
network?
An update revision cannot be recorded. • Is there sufficient free space on the
personal computer (server)?
• Is the specified path correct?
• Does a user have the access right for the
directory of specified path?
3 PROJECT MANAGEMENT
3.8 Project Version Management 183
Checking an update revision history
Message Cause Corrective action
Failed to show the update revision dialog GX Works3 is forcibly terminated. Perform the following operations, then Page 169
because the project version management check the update revision history: Acquiring a
A network is disconnected.
information cannot be acquired. Please execute Create a local project again.*1 project
Register Project again. If the history is not displayed properly Page 169
even after performing step , delete the Deleting a
master project and then register the project master
again.*2 project
Page 168
A master project is deleted. Register the project again, then check the
update revision history. Registering a
project
The name of a master project is changed. Perform either of the following operations,
then check the update revision history:
• Change the name back to the original.
• Register the project again.
The specified project has not been controlled by a A selected project is not a local project. Select a local project in the screen Page 170
project version management. Please execute displayed after selecting the following Update
Register Project or Acquire Project. menu. Revision
• [Tool] [Configuration Management] screen
[Update Revision]
Alternatively, select this menu after opening
a local project.
*1 Data which was edited before the acquisition will be deleted since a new local project is acquired.
*2 A new update revision history will be created since a new project is registered.
Unable to execute because another user is Another user is registering data in a version Register the data again after a while.
registering data. Please execute it again after a management system.
while.
Failed to register the data. Please execute A version management system cannot be Check the following contents, then register
Register Data again. connected. the data again:
• Is the personal computer connected to a
An update revision cannot be recorded.
network?
• Can a folder where the master project is
managed be accessed?
Unable to register some data because the There is a data type including pieces of Reduce the number of pieces of data to be
maximum number of creatable data is exceeded. data which exceeds its maximum number registered, then register the data again.
Please correct so that it does not exceed the that can be created.
maximum number of creatable data.
The entire project is required to be registered for A project is logged on to as a user whose Log on to the project as a user with the
the selected data. Unable to register the entire access level is other than 'Administrator.' access level 'Administrator,' then register
project by the users other than Administrators. the data again.
Please execute it again after logging on as
Administrators.
3 PROJECT MANAGEMENT
184 3.8 Project Version Management
Acquiring a project file and data
Message Cause Corrective action
Unable to acquire data because data Data with the same execution type and the Change the data name, then acquire the Page 176
inconsistency occurs. The following are the same name as data to be acquired exists in data again. Acquiring a
possible causes. Please check a manual for a local project. project file
corrective actions for causes. Data created in Sequential Function Chart Acquire the data created in Sequential
and data
• The same named data exists in the same type
language and data created in another Function Chart language and the data
of the project to be acquired from language exist in a same program file of a created in another language separately.
• Program language data of SFC and other ones local project.
are included
• Block No. which is used in another block is A block number of an SFC block is Change the block number, then acquire the 3
used as the Block No. of SFC duplicating with that of another SFC block. data again.
Failed to acquire the data. Please execute A version management system cannot be Check the following contents, then acquire
Acquire Data again. connected. the data again:
• Is the personal computer connected to a
An update revision cannot be recorded.
network?
• Can a folder where the master project is
managed be accessed?
Unable to acquire data because data There is data which will cause a circular Modify data so that a circular reference
inconsistency occurs. The following is the reference if acquired. does not occur.
possible cause. Please acquire data so that data Then, acquire the data again.
inconsistency does not occur.
• Some data causes a circular reference.
3 PROJECT MANAGEMENT
3.8 Project Version Management 185
3.9 Managing Profiles
The registration status of a profile (such as CSP+*1) can be managed.
A profile is data that stores information of a connected device (such as a model name.)
A profile is managed by each personal computer, and shared within GX Works3 and other MELSOFT products. Therefore, a
profile registered in GX Works3 is applied to other MELSOFT products.
Before registering/deleting a profile, log on to a personal computer as a user with the administrator authority, and close the
project in advance.
*1 For CSP+, refer to the CC-Link Partner Association website (www.cc-link.org).
Registration
A profile can be registered in GX Works3.
Operating procedure
1. Select [Tool] [Profile Management] [Register].
2. Select a file in the "Register Profile" screen, and click the [Register] button.
Precautions
A profile is a compressed file (such as *.zip, *.ipar, and *.cspp). Register a profile without decompressing.
Deletion
A profile registered in GX Works3 can be deleted.
Operating procedure
1. Select [Tool] [Profile Management] [Delete].
2. Select the checkbox of a model name to be deleted in the "Profile Delete" screen, then click the [Delete] button.
3 PROJECT MANAGEMENT
186 3.9 Managing Profiles
4 CREATING MODULE CONFIGURATION
DIAGRAM AND SETTING PARAMETERS
In GX Works3, parameters of a programmable controller can be set in the "Module Configuration" window, as if to configure
the actual system.
Parameters can also be set in the navigation window in the same manner as GX Works2.
Parameter settings
Parameters can be set by any of the following methods.
Method Reference
Setting parameters in the "Input the Configuration Detailed Information" Page 193 Setting parameters on the module configuration diagram
window that is displayed from the "Module Configuration" window.*1
Setting parameters in a parameter editor that is displayed from the navigation Page 199 Setting Parameters
window.
Window
Double-click "Module Configuration" in the navigation window.
Toolbar
Main base
Connection point
Empty
Station No.
General module Extension base
Placing error
2. Select a module in the element selection window, and drag and drop it onto the base unit placed in step 1.
The available locations are highlighted while dragging the module.
The names of module objects can be changed in the "Properties" screen. It makes easy to distinguish
modules with the same model names.
Precautions
• The following are not supported: GOT2000/GOT1000 series, general modules, image diagrams, and link files supported by
MELSOFT Navigator
• Only bus cables are available. Network connection and serial connection are not available.
• For FX5CPUs, select a module directly and drag and drop it onto the "Module Configuration" window.
Operating procedure
The font and color of a figure object can be changed in the "Properties" screen.
Select a figure in "Figure" in the element selection window, and drag and drop it onto the "Module Configuration" window.
Operating procedure
1. Select and right-click a placed CPU module, then select [Change CPU Model Name] from the shortcut menu.
2. Select the model name after the change in the "Change CPU" screen.
Precautions
The model name cannot be changed to the one of different module type.
4
Module status setting (empty)
Set this when operating a system without mounting actual modules.
The module is highlighted in a pale color.
FX5CPUs do not support this setting.
Operating procedure
Select a module to be set to empty, and [Edit] [Module Status Setting (Empty)].
Operating procedure
Select [Online] [Read Module Configuration from PLC].
Precautions
The module configuration cannot be read when the number of extension base units was set incorrectly.
Operating procedure
Select and right-click a module object on the module configuration diagram, then select [Properties] from the shortcut menu.
Operating procedure
1. Select a module object to edit the parameters.
3. Set each item in the "Input the Configuration Detailed Information" window.
Precautions
Parameter information cannot be utilized by the following operations. The parameter information of the pasted module object
is returned to the default.
• Paste a cut or copied module object onto the "Module Configuration" window in another project.
• Before fixing parameters, change the station type of the module object in the "Input the Configuration Detailed Information"
window.
(1) (3)
(2) (4)
4
(5)
Item Description
(1) Host CPU module For a multiple CPU configuration, only one project which is set as a host CPU can be set.
(2) Another CPU module Set a CPU module which is not set as a host CPU to another station.
The module is highlighted in a pale color, same as when the module status setting (empty) is set.
(3) Module controlled by the host CPU module A module that is controlled by the CPU module set as a host CPU
(4) A module controlled by another CPU module A module that is controlled by the CPU module set as another CPU.
The module is highlighted in a pale color, same as when the module status setting (empty) is set.
(5) Available slots for CPU modules Up to four CPU modules can be placed on the CPU slot and slot 0 to 6.
The placed CPU modules are assigned a number, CPU No.1 to CPU No.4 starting from the left.
Move the host CPU module to slot 0 on the main base unit.
CPU module (CPU No.1) = host CPU Module controlled by host CPU module (CPU No.1)
CPU module (CPU No.2) = other CPU Module controlled by other CPU module (CPU No.2)
If the CPU No. of “Control CPU” for the module which has been
controlled by other CPU results in the same number as the host
CPU, the module will be controlled by the host CPU.
RC06B
Operating procedure
Select [Edit] [Start XY Batch Input] ( ).
Operating procedure
Select [Edit] [Default Points Batch Input].
XY assignment display
Input and output number assignment for each module can be displayed.
RCPUs do not support this.
Operating procedure
Select [Edit] [XY Assignment Display].
Operating procedure
1. Select [Edit] [Check] [Power Supply Capacity and I/O Points] ( ).
2. Check the result displayed on the "Result of Power Supply Capacity and I/O Points Check" window.
Operating procedure
1. Select [Edit] [Check] [System Configuration] ( ).
Window
Select [View] [Docking Window] [Guidance Flow].
The following table shows the icons displayed in the [List] tab.
Icon Description
Indicates that a flow of the guidance can be displayed.
Indicates that a flow of the guidance is being displayed.
Operating procedure
1. Double-click the guidance according to the purpose in the [List] tab.
In the "Ready" column of the flow, an operation that needs to be performed in other than GX Works3 is
displayed.
No errors
Default setting: Blue/White
4
Other than default: Black/White
With errors: White/Red
No settings required: Black/Gray
Status icons
Checking parameters
There are two methods for checking whether there is any error in parameters as follows:
Purpose Operating procedure
Checking if an input error occurs in a parameter editor Click the [Check] button in the parameter editor.
Checking if an error related to the parameter settings in a project occurs Select [Tool] [Check Parameter].
*1 RnPCPUs (redundant mode), RnPSFCPUs, LHCPUs, FX5CPUs, and remote head modules do not support it.
*2 Remote head modules in the redundant system configuration, RnPCPUs (redundant mode), RnPSFCPUs, LHCPUs, and FX5CPUs do
not support it.
Setting parameters
Operating procedure
1. Double-click "Parameter" "System Parameter" in the navigation window.
2. Select the items to be set in the [I/O Assignment] tab, [Multiple CPU Setting] tab, or [Inter-module Synchronization
Setting] tab.
When the I/O assignment setting is read from the read mounting status
For an extension base unit in which the number of extension bases was set incorrectly, the mounting status (number of CPU
modules, the I/O assignment setting (module name/point), and the base/power/extension cable setting) cannot be read
properly.
The mounting status can be read to the I/O assignment setting by clicking the [Read Mounting Status] button.
(RCPUs only)
When I/O assignment has been set, the settings are changed as follows:
• I/O assignment setting: The setting is overwritten with a mounted module. An existing module is deleted.
• Navigation window: A mounted module is newly added. The start I/O number of an existing module is
changed to "Unset."
Operating procedure
1. Double-click "Parameter" "System Parameter" in the navigation window.
Setting parameters
Operating procedure
1. Double-click "Parameter" "(CPU model name of the project)" "CPU Parameter"/"Module Parameter"/"Memory Card
Parameter" in the navigation window.
The setting screen can also be opened by double-clicking the object of a module on the module configuration
diagram.
Precautions
For the setting values of the parameters, use characters in the Unicode Basic Multilingual Plane.
If an input language is different from the language set in the regional settings on Windows, some functions may not operate
properly. In that case, unify these languages.
If the characters outside the Unicode Basic Multilingual Plane are specified, the program may not operate properly.
• File register setting of the file setting: file name
• Initial value setting of the file setting: name of an initial value file of global labels
• Program setting of the program setting: program name
• FB/FUN file setting of the program setting: FB/FUN file name
Adding a module
Add a module in the "Add New Module" screen in advance to set parameters of the module.
4
Window
1. Select "Parameter" "Module Information" in the navigation window.
(1)
Operating procedure
Select each item and click the [OK] button.
By selecting "Yes" for the following option, when adding an intelligent function module to a project, the sample
comments for the module are automatically applied to the device comment editor of "Common Device
Comment." (Page 409 Reading sample comments)
• [Tool] [Options] "Project" "Add New Module" "Operation Setting" "Read Sample Comment"
Operating procedure
1. Enter any of the following keywords in the text box in the "Add New Module" screen, and click the [FIND] button.
• Module type
• Module name
• Characteristics of a module
2. Select the module in the "Find Module" screen, and click the [OK] button.
In the "Characteristics" column, a character string shown in the [POU List] tab is displayed.
Operating procedure
1. Double-click "Parameter" "Module Information" "(module name)" "(module parameter)" or "(module extended
parameter)" in the navigation window. 4
2. Set each item in the parameter editor.
For some modules, "(module parameter)" and "(module extended parameter)" may not be displayed in the
navigation window.
In that case, double-click "(module name)."
Precautions
The following table shows the modules in which a parameter error occurs by default.
Series Module type Model name
MELSEC-Q Temperature control Q64TCRTBWN
Q64TCRTN
Q64TCTTBWN
Q64TCTTN
Interrupt input QI60
MELSEC-L Temperature control L60TCTT4
L60TCTT4BW
L60TCRT4
L60TCRT4BW
Window
The following shows the operations to display each network configuration window.
Network type Operation
Ethernet (CPU module) Double-click "Parameter" "(CPU model name of the project)" "Module Parameter" in the navigation
window.*1
Double-click "Basic Settings" "External Device Configuration" "<Detailed Setting>" in the parameter
editor.
Ethernet (Ethernet module) Double-click "Parameter" "Module Information" "(module name)" "(module parameter)" in the
navigation window.
Double-click "Basic Settings" "External Device Configuration" "<Detailed Setting>" in the parameter
editor.
AnyWireASLINK Double-click "Parameter" "Module Information" "(module name)" "AnyWireASLINK Configuration" in the
navigation window.
CC-Link IE TSN (master station)*2 Double-click "Parameter" "Module Information" "(module name)" or "Module Parameter (Network)" in
the navigation window.
Double-click "Basic Settings" "Network Configuration Settings" "<Detailed Setting>" in the parameter
editor.
CC-Link IE Field (master station)*3 Double-click "Parameter" "Module Information" "(module name)" in the navigation window.
Double-click "Basic Settings" "Network Configuration Settings" "<Detailed Setting>" in the parameter
editor.
CC-Link IE Field Network Basic*4 Double-click "Parameter" "(CPU model name of the project)" "Module Parameter" in the navigation
window.
Double-click "Basic Settings" "CC-Link IEF Basic Settings" "Network Configuration Settings"
"<Detailed Setting>" in the parameter editor.
CC-Link (master station) Double-click "Parameter" "Module Information" "(module name)" in the navigation window.
Double-click "Basic Settings" "Network Configuration Settings" "<Detailed Setting>" in the parameter
editor.
*1 For FX5CPUs, set in the parameter setting ("Module Parameter") for a control CPU.
*2 RnCPUs, RnENCPUs, RnSFCPUs, FX5UCPUs, FX5UCCPUs, and LHCPUs support it.
*3 FX5CPUs do not support it.
*4 RnCPUs, RnENCPUs, FX5CPUs, LHCPUs support it.
Properties
The image diagram can be changed using "Properties" for the particular selected module. Right-click and select [Properties]
from the shortcut menu.
Configuration applications, setting files, and manuals can be linked to the modules. Double-click the added module to open
the linked application or file.
Unmatched profile
When displaying a network configuration window, an error massage may appear if the following two profiles do not match:
• Profile of a device used in a project
• Profile of a device registered in GX Works3
In this case, contact the manufacturer of the device for the profile that corresponds to "File Version" and "Device Version"
displayed in the "Output" window.
An error can be cleared by restarting GX Works3 after registering an obtained profile to GX Works3.
(Page 186 Managing Profiles)
Window
Select [View] [Docking Window] [Device Assignment Confirmation] ( ).
Ex.
When selecting the start I/O number of the CC-Link system master/local module
Device station list
"Displayed Content for Model Name" and "Buffer Memory Display Format" can be selected by clicking the [Display Option]
button.
Displayed items
Item Description
Start I/O No./Mounting • RCPU and LHCPU: "Start I/O No." is shown.
Position No. Select the start I/O number of the master station or a local station to be displayed on the list.
• FX5CPU: "Mounting Position No." is shown.
Select the mounting position number of the master station or an intelligent device station to be displayed on the list.
Device Station List Displays the information of the device stations and the range of the refresh devices assigned to the own station.
Multiple devices are displayed in accordance with the link refresh settings of the Module Parameter.
When refresh devices are not assigned, the cells of the refresh device range will be blank.
Link Device List Displays the assignment status of refresh devices on the own station and link devices on the target station.
When link devices are not assigned, the cells of the link device range will be blank.
The cells of "Explanation" will be blank when profile is not registered.
Precautions
When selecting the start I/O number of a CC-Link IE TSN Plus master/local module, this function is available only for a device
station on the CC-Link IE TSN port.
Window
Right-click on the link device list, and select [Reflect explanation to device comment] from the shortcut menu.
Operating procedure
Set each item and click the [OK] button.
Precautions
• The explanation for the first device in the "Link Device" column on the link device list is applied to the device comment for
the first device in the "Refresh Device" column.
• If the multiple comment display has been enabled, the contents in the "Explanation" column are applied to device
comments in the language selected for "Read Destination" in the "Reflect explanation to device comment" screen.
Window
• Select [Project] [Intelligent Function Module] [Module Parameter List].
• Select "Parameter" "Module Information" in the navigation window, then right-click it and select [Module Parameter List]
from the shortcut menu.
Enabling/disabling parameters
Set whether to enable/disable the initial setting and auto refresh of intelligent function module parameter.
The number of parameters that can be set has limits depending on the intelligent function module to be used. Check the
setting information using this function and accordingly enable/disable the parameters so that the number of set parameters is
within the allowable range.
For details on the number of the parameter settings, refer to the manuals of relevant intelligent function module.
Operating procedure
Set each item and click the [Close] button.
Item Description
Initial Setting (Count) Unselect the item if it is not set as an intelligent function module parameter.
For a module with no initial settings, "-" is displayed.
Auto Refresh Setting Transfer to Intelligent Unselect the item if it is not set as an intelligent function module/CPU module parameter.
(Count) Function Module For a module for which auto refresh is not set, "No Setting" is displayed.
Transfer to CPU
Initial Setting Total Counts Displays the number of initial settings set as intelligent function module parameters.
Auto Refresh Setting Total Counts Displays the number of auto refreshes set as intelligent function module parameters.
Window
1. Select "Parameter" "Module Information" "(module name)" in the navigation window.
Operating procedure
Set each item and click the [OK] button.
Window
1. Double-click "Basic Settings" "Refresh Setting" "<Detailed Setting>" in the parameter editor for either of the
following modules:
• CC-Link IE TSN module
• CC-Link IE TSN Plus master/local module (the CC-Link IE TSN port only)
2. Right-click on the "Setting Item" column, and select [Link Side Device Batch Setting] from the shortcut menu.
Operating procedure
Set each item and click the [OK] button.
Precautions
Adding another device station after setting refresh points may cause a shortage of the points.
In that case, the refresh points need to be set again; therefore, setting larger numbers in advance is recommended.
Operating procedure
1. Double-click "Basic Settings" "Refresh Setting" "<Detailed Setting>" in the parameter editor for a CC-Link IE TSN
Plus master/local module (the EtherNet/IP port):
2. Select "Device" from the pull-down list of "Target."
3. Right-click on the "Setting Item" column, and select [Auto-refresh Batch Setting]/[Points Batch Setting] from the shortcut
menu.
4
Precautions
To use this function, EtherNet/IP Configuration tool Version 1.04E or later is required to be installed.
For details on the EtherNet/IP Configuration tool, refer to the following:
MELSEC iQ-R CC-Link IE TSN Plus Master/Local Module User's Manual
Operating procedure
1. Select [Tool] [Register Simple Device Communication Library].
2. Select a simple device communication library file (*.sdcl) in the displayed screen, and click the [Open] button. (Multiple
selections allowed.)
For the functions of each module tool, refer to the user's manual of a target module.
For the functions of the drive tool, refer to the user's manual of a target module.
Operating procedure
1. Select "Parameter" "Module Information" in the navigation window.
3. Select "Simple Motion" or "Motion Module" from the pull-down list of "Module Type" in the "Add New Module" screen.
4
4. Set each item and click the [OK] button.
If selecting "Motion Module" in step 3, set the module name to which '(S)' is added for "Module Name." (Example: FX5-
40SSC-G(S))
5. Double-click the created "Simple Motion Module Setting (Module Extended Parameter)" or "Module Extended
Parameter."
By saving a GX Works3 project, contents set with this function are saved.
Operating procedure
1. Select "Parameter" "Module Information" in the navigation window.
2. Select [Project] [Data Operation] [Add New Module].
3. Select "Motion Module" from the pull-down list of "Module Type" in the "Add New Module" screen.
By saving a GX Works3 project, contents set with this function are saved.
The files saved in GX Works2 can be read using the Predefined Protocol Support Function of GX Works3.
Start
Operating procedure
1. Select GX Works3 menu [Tool] [Predefined Protocol Support Function].
2. Set each item in the "Predefined Protocol Support Function" screen and click the [OK] button.
End
Operating procedure
Select [File] [Exit] in the protocol setting screen.
Window
Select [Tool] [Circuit Trace].
Module
The module types, module names, and station types that can be changed for each of the following modules are as follows:
2. Right-click the selected module, and select [Change Module] from the shortcut menu.
A change module screen appears.
3. Set each item in the change module screen, and click the [OK] button.
Precautions
When changing a CC-Link IE built-in Ethernet module or CPU extension module
• A module controlled by another CPU module cannot be changed.
• After changing a module, (required settings unchecked) appears in the navigation window.
Select [Tool] [Check Parameter] to check parameters. (Page 201 Checking parameters) 4
Data to be changed
The following tables show the data that is changed by changing a module.
For the changes on simple motion modules and motion modules, refer to Help for the simple motion module setting function
and for the motion control setting function respectively.
For details on the label types, classes, and data types, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
MELSEC iQ-F FX5 Programming Manual (Program Design)
5 REGISTERING LABELS
5.1 About Labels 225
Auto refresh and direct access for module labels
There are two types of module labels for each purpose: auto refresh and direct access. For direct access, '_D' is added to a
label name.
The difference between auto refresh and direct access is as follows.
Type Description Access timing
Auto refresh The value written to/read from a module label is applied to a module in a batch when auto When auto refresh is performed
refresh is performed.
By using the auto refresh, the execution time of a program can be shortened.
To use the auto refresh, select "Module Label" in "Target" under the refresh setting of the
module parameter.
Direct access The value written to/read from a module label is immediately applied to a module. When reading from/writing to a
Compared with the auto refresh, the execution time of a program will be extended; however, module label
responsiveness will be increased.
To use the direct access, select the item other than "Module Label" in "Target" under the
refresh setting of the module parameter.
When "Module Label" is selected in "Refresh," values of module labels are overwritten by a
refresh when an END processing is executed or a program in which a refresh timing is
specified is executed.
5 REGISTERING LABELS
226 5.1 About Labels
5.2 Registering Labels
This section explains the registration methods of global labels and local labels.
A global label can be created maximum 20480 in a file and maximum 16384000 in a project. A local label can be registered
maximum 5120 in a program file.
The display format and details of operation settings for each function can be set by setting the following
option.
[Tool] [Options] "Other Editor" "Label Editor Common"
5
Window
Global label
Select "Label" "Global Label" "(global label)" in the navigation window.
Local label
Select "Program" "(execution type)" "(program file)" "(program block)" "Local Label" in the navigation window.
Toolbar
(1)
(2)
(3)
5 REGISTERING LABELS
5.2 Registering Labels 227
• The items in the label list (1), extension display area (2), and system label area (3) can be displayed or
hidden in the "Display Setting" screen that appears by clicking the [Display Setting] button or in the following
options:
[Tool] [Options] "Other Editor" "Label Editor Common" "Display Setting" "Detailed Display
Setting"
[Tool] [Options] "Other Editor" "Label Editor Common" "Extended Display Setting" "Extended
Display Area"
[Tool] [Options] "Other Editor" "Label Editor Common" "Extended Display Setting" "System
Label Setting Display Area"
The settings changed in the "Options" screen are applied to all label editors.
• Click the [Check] button to check errors before converting programs.
• When the data type is structure or function block, the hierarchy of labels is displayed in the extension
display area.
• If a label comment is set for an array element or bit-specified label, a red square is displayed at the upper
right of the cell ( ) in the comment column.
The label comment for the array element or bit-specified label can be checked in the "Label Comment"
window. (Page 243 Setting a label comment)
• The "Label Comment" window appears by selecting a cell then performing either of the following operations:
Right-click it and select [Open Label Comment Setting] from the shortcut menu.
Press the + keys.
However, these operations are not available when selecting a blank row or a cell in the extension display
area.
• Font color, background color, and font can be changed.
Page 81 Checking and Changing Colors and Fonts
Precautions
In a label editor, perform any other operations after fixing current changes by pressing the key.
5 REGISTERING LABELS
228 5.2 Registering Labels
Editing a row
Adding a row
When selecting [New Declaration (After)], a row is inserted right under the selected row. In the new row, the label in the
selected row is copied with a value appended at the end of the label name.
If a value is already appended after the label name, the data is copied with an incremented value.
When devices are set for global labels, the data is copied with an incremented device number.
For adding blank rows or setting increment regulation (decimal/hexadecimal), set the following option.
• [Tool] [Options] "Other Editor" "Label Editor Common" "Editor Setting"
Operating procedure
Select [Edit] [New Declaration (Before)]( )/[New Declaration (After)]( ).
If a label comment is set for an array element or bit-specified label of the label in a selected row, the label comment is also
copied.
Operating procedure
Select [Edit] [Delete Blank Rows]. ( )
Sorting labels
Labels can be sorted by clicking a title name of label editor.
For ascending order, is displayed, and as for descending order, is displayed in the title name.
Filtering display
• A wild card (such as '*' and '?') is not applied as a filtering condition. A character string including the wild card is displayed.
• When filtering columns by selecting "Access from External Device," specify '1' after selecting "Access from External
Device." As for it is not selected, specify '0.'
5 REGISTERING LABELS
5.2 Registering Labels 229
Entering information
Label name
Set a name with avoiding the following conditions:
• Label name including a space
• Label name starting with a number
• Same label name as one for a device
For the characters that cannot be used for a label name, refer to the following:
Page 887 Unusable character strings for a label name
Precautions
For label names, constants, and initial device values, use characters in the Unicode Basic Multilingual Plane.
If an input language is different from the language set in the regional settings on Windows, some functions may not operate
properly. In that case, unify these languages.
The label names and constants that specifies the characters other than the Unicode Basic Multilingual Plane cannot be used
in programs.
A program including an initial value using the characters outside the Unicode Basic Multilingual Plane may not operate
properly.
Alias
By entering an existing label name in the "Assign (Device/Label)" column of a label editor, it can be set as an alternative label
name of the existing label.
A label to which an existing label is assigned is referred to as 'alias.'
An existing label that is assigned to an alias is referred to as 'alias source.'
The following information of an alias source will be succeeded: data types, classes, initial values, and constants.
For an alias, a label in the same category (standard, safety, and standard/safety shared) as an alias source can only be set.
Ex.
(2)
(1)
(1): Alias
(2): Alias source
5 REGISTERING LABELS
230 5.2 Registering Labels
Precautions
• For an alias, do not assign an instance of a function block or module FB.
• Enter the same character in the "Assign (Device/Label)" column of an alias as the one which was entered in the "Label
Name" column of the alias source.
• For an alias, a structure member and a label in a function block can not be assigned.
• The following error occurs at conversion when a structure member or a label used in a function block is entered in the
"Assign (Device/Label)" column of an alias and the alias is used in a program editor.
Content: An invalid device or an invalid constant is being used.
Error code: 0x12011067
• When using an alias in a project in which 20000 or more labels are included, the operability of a label editor may be
deteriorated.
In that case, assign the same device to two labels instead of alias, or set another name of a label as a label comment.
Ex.
When using 'Label2' as another name of 'Label1': 5
(1) Assign 'M120' to 'Label1' and 'Label2.'
(2) Set the comment of 'Label1' to 'Label2,' and display the comment in a program editor.
(1)
(2)
Ex.
If 'Label3' is assigned to 'Label1' while the alias (Label2) of 'Label1' and the one (Label3) of 'Label2' have been set, an error
occurs since the assignment causes a circular reference.
Label1
Label2 Label3
5 REGISTERING LABELS
5.2 Registering Labels 231
Automatic naming rule
By setting the data type and the class when the label name is blank, a label name will be set automatically.
Set the automatic naming rules in the following option setting.
• [Tool] [Options] "Other Editor" "Label Editor Common" "Editor Setting"
The automatic naming rules are as follows.
Ü!Defined characters
String (the string which is not enclosed by '%' is set without enclosed by '%')
%Type%%Prefix%Label%Row%%Device%
Character string in "Assign (Device/Label)"
Label row number
Prefix by data type
Prefix by class
*The character other than the defined one enclosed by '%' will be blank.
5 REGISTERING LABELS
232 5.2 Registering Labels
The prefixes that are added depending on the selected class are as follows.
Class Prefix
VAR_GLOBAL G_
VAR_GLOBAL_RETAIN GR_
VAR_GLOBAL_CONSTANT GC_
VAR Not added.
VAR_RETAIN r_
VAR_CONSTANT c_
VAR_INPUT i_
VAR_OUTPUT o_
VAR_IN_OUT io_
VAR_OUTPUT_RETAIN or_
VAR_PUBLIC pb_
VAR_PUBLIC_RETAIN pbr_
Setting example
5
Automatic synchronization
When a label name or alias name is changed on a label editor, the label name or alias name used on program editors such as
ST editor, FBD/LD editor, and SFC editor will also be replaced automatically.
• Select "Yes" for "Track label name automatically in program editor" from [Tool] [Options] "Other Editor" "Label Editor
Common" "Operational Setting"
The labels are distinguished between global labels and local labels in the automatic synchronization. (Page 259 Entering
global labels/local labels)
However, in either of the following cases, the label name or alias name is not replaced:
• A character string that cannot be used for a label name is included in the label name or alias name.
• The same label name or alias name exists in a label editor.
(If a global label name is changed, the label is checked if the same label name or alias name exists in any of the global
label settings.)
The programs in which the replaced label is used will be in the unconverted state.
If labels name or alias name is changed, check if the change affects control programs using the cross reference function.
Label synchronization
The contents edited on a global label editor are immediately applied on a ladder editor by setting the following option. When
labels undefined on the ladder editor are newly added on the label editor, they will be in the defined state.
• Set "Synchronize" for "Operation on Editing Label Editor" in [Tool] [Options] "Program Editor" "Ladder Editor"
"Label Synchronization" "Operational Setting."
Local labels always synchronize with the data on a label editor regardless of the option setting.
5 REGISTERING LABELS
5.2 Registering Labels 233
Duplicating a structure type global label
Structure type global labels can be duplicated including the setting of a device assigned to a global label.
The following shows the procedure to duplicate a structure type global label.
Operating procedure
1. Select a structure type global label on a global label editor.
3. Select a global label and line number of the duplication destination in the "Duplicate Structured Data Type Label" screen,
and click the [OK] button.
Precautions
Only standard global labels and safety global labels can be duplicated.
The following labels cannot be duplicated:
• Global labels to which a device is not assigned
• Global labels whose data type is other than structure
• Standard/safety shared labels
• Module labels
• Tag FB instances
• Read-only labels
• Global labels to which a structure type global label is assigned (alias)
5 REGISTERING LABELS
234 5.2 Registering Labels
Data type
A data type can be selected in the "Data Type Selection" screen displayed by clicking [...] in the "Data Type" column on each
label editor as well as the direct input.
There are three kinds of data types: "Simple Types," "Structured Data Type," and "Function Block." A data type that can be
selected for each kind differs.
An array can be set for the selected data type.
For details on the data types, structures, and arrays, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
MELSEC iQ-F FX5 Programming Manual (Program Design)
Simple types
Data types that can be set for each label are as follows.
: Available, : Not available
Data type Standard label Safety label Standard/safety shared
label 5
Bit
Word [Unsigned]/Bit String [16-bit]
Double Word [Unsigned]/Bit String [32-bit]
Word [Signed]
Double Word [Signed]
FLOAT [Single Precision]
FLOAT [Double Precision]
Time
String
String [Unicode]
Pointer
Timer
Counter
Long Counter
Retentive Timer
Long Retentive Timer
Long Timer
The data length for the String or String [Unicode] type can be changed by editing the value in "( )" directly.
The initial value of the data length for the String or String [Unicode] type can be set in the option setting.
• [Tool] [Options] "Other Editor" "Label Editor Common" "Data Type Setting"
When "( )" is deleted from the name for the String or String [Unicode] type, the data length in the option
described above is regarded as being set.
5 REGISTERING LABELS
5.2 Registering Labels 235
Structure
When specifying a structure data as a data type, creating a definition of the structure is required in advance. (Page 242
Creating a defined structure)
After creating a defined structure, specify the structure name in "Data Type."
Function block
When specifying a function block data as a data type, creating a function block is required in advance.
For details, refer to the following:
Page 484 Creating a Function Block
After creating a function block, specify the function block name in "Data Type."
Ex.
One-dimensional array with eight elements
Enter '8' in "Element (1 dimension)."
Ex.
Two-dimensional array with 4 8 elements
Enter values as shown below:
• Element (1 dimension): 4
• Element (2 dimensions): 8
Ex.
Three-dimensional array with 3 4 8 elements
Enter values as shown below:
• Element (1 dimension): 3
• Element (2 dimensions): 4
• Element (3 dimensions): 8
A value other than '0' (minus value, for example) can be specified as an offset ([array start value]...[array end
value]).
5 REGISTERING LABELS
236 5.2 Registering Labels
Class
Select a class from the pull-down list of "Class."
Safety global labels, standard/safety shared labels, local labels of a safety program, and local labels of a safety FB do not
support latch type classes ('RETAIN' is included in a name).
For details on the classes, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
MELSEC iQ-F FX5 Programming Manual (Program Design)
Assignment (devices/labels)
Set this item when assigning an arbitrary device or label to a global label.
Devices and labels that can be assigned vary depending on the assignment target label.
The following devices and labels can be assigned to a global label.
• Digit-specified bit devices (example: K4M0)
• Bit-specified word devices (example: D0.1)
5
• Module labels
However, a device name with a device type specifier suffixed (D0: U, for example) cannot be assigned.
If not assigning a device/label to a label, the label memory is assigned instead. For details on the label memory, refer to the
following:
Page 898 Label Memory Types
MELSEC iQ-R CPU Module User's Manual (Application)
MELSEC iQ-F FX5 User's Manual (Application)
By using the assigned device check function, assigned devices can be checked if they are assigned to other
labels.
Page 241 Duplication check
When a device assigned to a global label is deleted automatically due to specific operations (such as
changing the data type of the label or adding/deleting/editing a structure member), that can be reported in the
"Output" window by selecting "Yes" for the following option:
• [Tool] [Options] "Other Editor" "Label Editor Common" "Operational Setting" "Notify when
assigned device is deleted"
5 REGISTERING LABELS
5.2 Registering Labels 237
Precautions
• When specifying a timer or counter device to "Assign (Device/Label)," the assigned device is regarded as a contact (TS,
STS, CS) if a bit type device is specified to "Data Type."
When the data type is a word type, the specified device is regarded as a current value (TN, STN, CN).
• An assigned device may not be displayed automatically on a program editor when it is changed to another device. The
change is applied to a program editor by converting any or all programs.
• In projects for an RCPU and LHCPU, if a step relay (S) which does not specify a block number (BL) is specified in "Assign
(Device/Label)," the assigned label operates in the same manner as a step relay (S) which does not specify a block number
(BL).
Therefore, the same label operates differently depending on the location of use.
For details on a step relay (S), refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
• In projects for an FX5CPU where "Use" is set in "To Use or Not to Use SFC" of the CPU parameter, if a step relay (S) which
does not specify a block number (BL) is specified in "Assign (Device/Label)," the assigned label operates in the same
manner as a step relay (S) which does not specify a block number (BL).
Therefore, the same label operates differently depending on the location of use.
For details on a step relay (S), refer to the following:
MELSEC iQ-F FX5 Programming Manual (Program Design)
Safety project
Devices and labels that can be assigned vary depending on the assignment target label.
: Can be assigned, : Cannot be assigned
Global label to be assigned Assignment target
Standard device Standard global Safety device Safety global Standard/safety
label label shared label
Standard global label
Safety global label
Standard/safety shared label
Devices assigned to structure members can be deleted in a batch by selecting [Batch Delete of
Assigned Device] in the extension display area.
Moreover, the cursor jumps to the following option by selecting [Change Item Name in Hierarchy
Display Area].
• "Other Editor" "Label Editor Common" "Extended Display Setting" "Item Name to Show in Hierarchy
Display Area"
Precautions
If a structure member is changed after assigning devices to the structure member, the assignment status of devices may be
changed.
In that case, assign devices to the structure member in the "Structure Device Setting" screen or in the extension display area
of a label editor.
5 REGISTERING LABELS
238 5.2 Registering Labels
Initial value
Set the initial value of a label.
The availability of initial values differs depending on the data types and classes.
The entry method of an initial values is the same as that of the constants of labels. For details, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
FX5CPUs do not support this setting.
Applicable range
Initial values of labels will be set when the CPU module is at STOP to RUN. If the values of labels are changed by program,
the program operates with the changed initial values.
Precautions 5
• An initial value cannot be set for a safety global label, local label in a safety program, and standard/safety shared label.
• A global label to which a device is assigned does not operate with the initial label value.
Use the assigned device check function to check if an initial value is set for any global label to which a device is assigned.
(Page 241 Initial value check)
Constant
Constant can be set when "VAR_GLOBAL_CONSTANT" or "VAR_CONSTANT" is specified to the class.
The availability of the constants differs depending on the data type and class.
For details on how to enter the constants, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
MELSEC iQ-F FX5 Programming Manual (Program Design)
Comment
Set a label comment for a defined label.
When entering a label comment, a line feed can be inserted in a cell by pressing the + keys. (A line feed is counted
as two characters.)
Multiple label comments can be set for one label. (Page 82 Display setting for multiple comments)
To set a label comment for an array element or bit-specified label, use the "Label Comment" window. (Page 243 Setting a
label comment)
Operating procedure
Select [Edit] [Copy Device Comment] ( ).
5 REGISTERING LABELS
5.2 Registering Labels 239
Deleting a label comment
A label comment can be deleted by selecting a cell in the comment column in a label editor and pressing the key.
However, the label comment for an array element or bit-specified label remains.
To delete the label comment for an array element or bit-specified label, perform any of the following operations:
• Delete the row.
• Change the number of dimensions of the array type label.
• Change the data type of the bit-specified label to other than the word type.
5 REGISTERING LABELS
240 5.2 Registering Labels
Checking assigned devices
Duplication check
Devices assigned to global labels are checked if they are assigned to other labels.
Devices duplicated by the array or data type can also be detected.
Moreover, devices satisfied the following conditions can be checked.
Condition Duplication example
Device Data type
The digit specification or bit specification is used. K4X0 Word type
X2 Bit type
Multiple points are assigned. D0 Double-word type
D1 Word type
Other than the start of the array is assigned. D20 Word (0..2) type
D21 Word type 5
A structure member is assigned. M1 Structured data type
M1 Bit type
Operating procedure
1. Select [Tool] [Check the Assigned Device of Global Label].
2. Select the checkbox of "Duplication Check" in the "Check the Assigned Device of Global Label" screen.
Select the checkbox of "Include Bit Specification" to check bit-specified devices as well.
(Example: 'D0' and 'D0.0')
Operating procedure
1. Select [Tool] [Check the Assigned Device of Global Label].
2. Select the checkbox of "Initial Value Check" in the "Check the Assigned Device of Global Label" screen.
5 REGISTERING LABELS
5.2 Registering Labels 241
Creating a defined structure
A structure member (local label) can be added to a structure definition.
Up to 5120 structure members can be added.
Be sure to create data of a defined structure in advance. (Page 129 Creating data)
Window
Select "Label" "Structured Data Types" "(structure)" in the navigation window.
Operating procedure
1. Select "Yes" for the following option.
[Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Structured Data Type" "Enable to Set
Reserved Area"
2. Select a structure definition in the navigation window.
4. Set a reserved area capacity in "Reserved Area" of the "Properties" screen, and click the [OK] button.
Precautions
The reserved area capacities of the following structure definitions cannot be changed.
• System structure definition
• Structure definition necessary for module labels
5 REGISTERING LABELS
242 5.2 Registering Labels
Setting a label comment
A label comment can be set in a label editor or the "Label Comment" window.
This section explains the method for setting a label comment in the "Label Comment" window.
To set a label comment in a label editor, refer to the following:
Page 239 Comment
In the "Label Comment" window, a label comment can be set for the following data:
• Label
• Array type label
• Array element
• Bit-specified label
• Structure type label
• Structure member
However, an undefined label is not displayed in the "Label Comment" window.
Window
5
Select [View] [Docking Window] [Label Comment] ( ).
(1)
(2)
(3)
Operating procedure
1. Open a label editor or program editor, and select a label.
The label comment of the selected label is displayed in the "Label Comment" window.
When selecting an array type label or bit-specified label, array elements and labels with bit numbers are displayed in a tree
format.
2. Enter a label comment in the comment column.
• When entering a label comment, a line feed can be inserted in a cell by pressing the + keys. (A
line feed is counted as two characters.)
• Multiple label comments can be set for one label. (Page 82 Display setting for multiple comments)
• A label editor appears by selecting a cell then performing either of the following operations:
Right-click it and select [Open Label Setting] from the shortcut menu.
Press the + keys.
5 REGISTERING LABELS
5.2 Registering Labels 243
Precautions
A label comment can be set for up to 1024 array elements in the "Label Comment" window.
To set a label comment for 1025 or more array elements, use one array type label for every 1024 array elements, or enter
comments in a ladder editor.
The following table shows the methods for entering a comment for 1025 or more array elements in a ladder editor.
Method Operating procedure
Entering a comment after Select "Yes" for the following option:
entering a label • [Tool] [Options] "Program Editor" "Ladder Editor" "Enter ladder" "Operational Setting" "Enter label comment
and device comment"
Select a cell to enter a comment for, then double-click it or press the key.
Click the [OK] button in the element entry dialog, or press the key.
Enter a comment in the "Input Device Comment" screen.
Entering a comment directly Select the following menu to display comments in a ladder editor:
• [View] [Comment Display]
Select a cell and press the key twice.
Enter a comment directly.
Operating procedure
Right-click a label and select [Copy Device Comment] ( ) from the shortcut menu.
Operating procedure
1. Open the "Label Comment" window.
2. Right-click on the window and select [Export to File] ( )/ [Import File] ( ) from the shortcut menu.
5 REGISTERING LABELS
244 5.2 Registering Labels
Exporting/importing a label
Data in a label editor can be exported to a CSV file or an XML file. Moreover, data in a CSV file can be imported into a label
editor.
Operating procedure
Exporting data
1. Open a label editor.
3. Select the checkbox of either of the following items in the "Export to File" screen, and click the [Execute] button.
• Export to CSV File. (Exclude comment for array element/bit specification and assignment device of structures.)
• Export to XML File. (Include comment for array element/bit specification and assignment device of structures and structure
arrays.)
Importing data 5
1. Open a label editor.
CSV file
Format
The column titles (Class, Label Name, Data Type, etc.) in a label editor and header names in a CSV file are linked.
• In a label editor, only the data of which column titles match with header names in a CSV file is imported. To exclude the
specific data, delete the column from the CSV file.
• To import data from a CSV file exported in GX Works3 with a different language, edit the header names in the CSV file to
match with the column titles displayed in the label editor of the import target GX Works3.
• Data can be imported even when the column order in a CSV file does not match with that in a label editor.
• When "Access from External Device" is selected, '1' is output. As for it is not selected, '0' is output. When editing a CSV file,
set '1' or '0.'
5 REGISTERING LABELS
5.2 Registering Labels 245
XML file
Devices assigned to structure members can also be exported to an XML file.
The assigned devices can be checked in a list by opening this file in another application such as Excel.
Ex.
The following shows the method to export data in a label editor to an XML file and check the devices assigned to structure
members in Excel.
Operating procedure
1. Export data of a label editor. (Page 245 Exporting data)
2. Start Excel.
4. Select the checkbox of "As an XML table" in the "Open XML" screen, and click the [OK] button.
The opened file is displayed as follows:
5 REGISTERING LABELS
246 5.2 Registering Labels
Registering an undefined label
An undefined label can be registered on a label editor.
Operating procedure
Ladder editor, FBD/LD editor
1. Enter the name of a label to be registered on an editor.
2. Set each item in the "Undefined Label Registration" screen and click the [OK] button.
ST editor
1. Enter the name of a label to be registered on an editor.
2. Select the token of a label name, and select [Edit] [Register Label] ( ).
3. Set each item in the "Undefined Label Registration" screen and click the [OK] button.
5 REGISTERING LABELS
5.2 Registering Labels 247
5.3 Registering Module Labels
This section explains the registration methods of module labels.
To use a module label under arbitrary name, set alias to the module label.
Precautions
Considerations when registering module labels
Since all the registered module labels are written to a CPU module, the memory capacity of the CPU module may be
exceeded. In this case, perform any of the following operations.
• Change the write target of the global labels to SD memory card.
• For FX5CPU, the writable capacity is the same as that of the CPU module even when data is written to an SD memory
card.
Ex.
'Instance name'_'Module number'.'Label name' GF11_1.zReserveAreaSB00007
Registering public labels set with the motion control setting function
Public labels can be registered in global labels of GX Works3 as module labels by selecting the following menu using the
motion control setting function.
• [Convert] [Reflect Public Labels]
After registering the labels, the global labels of GX Works3 and the program in which the global labels are used will be in the
unconverted state. For details on public labels, refer to Help for the motion control setting function.
Editing structures
Once module labels are registered, the definitions of the structures in the module labels are registered into "Structured Data
Types" in the navigation window.
A defined structure can be copied in the navigation window. The copied defined structure of the module label is changed from
"+" to "_".
5 REGISTERING LABELS
248 5.3 Registering Module Labels
5.4 Registering Tag FBs
In projects for an RnPCPU and an RnPSFCPU, tag FBs can be used in an FBD/LD program with the process control
extension enabled.
To use tag FBs, they are required to be registered on the tag FB setting editor in advance.
Enter a tag name, tag FB type, and comment, then click the [Apply] button.
Up to 1000 tag FBs can be registered into a project.
For details on tag FBs, refer to the following:
MELSEC iQ-R Programming Manual (Process Control Function Blocks/Instructions)
Precautions
To use tag FBs, it is recommended to register and apply them on the tag FB setting editor before adding data of a program
block, function block, function, global label, and structure definition.
When a lot of data mentioned above is registered in a project, it may take time to apply the tag FB setting.
5
Configuration of the tag FB setting editor
The following shows the screen configuration of the tag FB setting editor.
Window
Click (Tag FB Setting) on the toolbar.
Displayed items
Item Description
Filter Data can be filtered.
A wild card (such as '*' and '?') is not applied as a filtering condition. A character string including the wild
card is displayed.
[Maximum Number of Tags] button Click this to check and set the following option:
• [Tool] [Options] "Convert" "Process Control Extension Setting" "Tag FB" "Maximum Number
of Tags"
[Check] button Click this to check if there are any errors.
Setting items
: Editable, : Not editable
Item Editability Description
Tag Name Enter a tag FB name.
Tag FB Type Select the tag FB type of a tag FB instance.
Tag Type The tag type of a tag FB instance is displayed.
Structured Data Type A structure definition name of tag data is displayed.
FB Instance Name A tag FB instance name is displayed.
Label Name of A tag data name is displayed.
Structured Data Type
Assigned Device The following device is assigned.
• The start device of a system resource + 3000 + ((row number -1)*130)
Set the system resource in [Tool] [Options] "Convert" "Process Control Extension Setting"
"System Resource" "File Register: ZR."
Comment Enter a comment that is applied to a comment of a tag FB instance and tag data.
5 REGISTERING LABELS
5.4 Registering Tag FBs 249
• By clicking the [Check] or [Apply] button, the versions of tag data and a process control function block in a
project can be checked whether they are supported in GX Works3 where the project is open. To update the
versions, click the [Yes] button in the confirmation message appeared.
For additions and changes in a process control function block with a version upgrade, refer to 'Version
Upgrade' in the following manual:
MELSEC iQ-R Programming Manual (Process Control Function Blocks/Instructions)
• Converting (reassigning) all programs may be required after updating the version of tag data or a process
control function block.
• The initial values of FB properties return to the default after updating the version of tag data or a process
control function block. However, the initial values can easily be set again by exporting the values in the "FB
Property Management (Offline)" screen before updating the version, then importing them after the update.
(Page 397 FB property management (offline))
Editing a row
Adding a row
A row can be added above a selected row. (Multiple selections allowed.)
Assigned devices in each tag FB setting is changed after the addition.
Operating procedure
Select [Edit] [New Declaration (Before)]( ).
Deleting a row
A selected row can be deleted. (Multiple selections allowed.)
Assigned devices in each tag FB setting is changed after the deletion.
Operating procedure
Select [Edit] [Delete Row]( ).
Copying a row
By clicking the [Apply] button after copying or cutting a row and pasting, the initial value of the FB property in the copy source
is retained. However, it will not be retained if the tag FB type is changed after pasting.
5 REGISTERING LABELS
250 5.4 Registering Tag FBs
Entering information
Tag name
Set a name with avoiding the following conditions:
• Label name starting with a number
• Same label name as one for a device
• Label name including an unusable character (reserved word) (Page 887 Unusable character strings for a label name)
Use only alphanumeric characters when monitoring data on a faceplate or exporting an assignment information database file.
Tag FB type
Select a tag FB in the "Select Tag FB Type" screen displayed by clicking the [...] button in the "Tag FB Type" column.
For details on manufacturer-defined tag FB types, refer to the following:
MELSEC iQ-R Programming Manual (Process Control Function Blocks/Instructions)
For details on user-defined tag FBs, refer to the following: 5
Page 497 Creating a user-defined tag FB
Comment
Use only alphanumeric characters when monitoring data on a faceplate or exporting an assignment information database file.
5 REGISTERING LABELS
5.4 Registering Tag FBs 251
Data to be added with tag FB registration
By applying the data after entering a tag name and selecting the tag FB type on the tag FB setting editor, the tag FB instance
and tag data are created in "M+PTAG" under "Global Label."
The definition of a tag FB and the structure definition of tag data are added in the navigation window as a read-only definition.
Ex.
When the tag name is 'TIC001' and the tag FB type is 'M+M_PID'
Data/definition to be added Name Location
Tag FB instance TIC001_FB "Label" "Global Label" "M+PTAG" in the navigation window
Definition of a tag FB M+M_PID FB/FUN (FB file name) in the navigation window
Tag data TIC001 "Label" "Global Label" "M+PTAG" in the navigation window
Structure definition of tag data M+TM_PID "Label" "Structured Data Types" in the navigation window
Definition of a function block referred from tag FB M+P_MCHG FB/FUN (FB file name) in the navigation window
M+P_IN
M+P_PHPL
M+P_PID
M+P_OUT1
Precautions
If the definition of a tag FB, the structure definition of tag data, and the definition of a user-defined tag FB are deleted in the
navigation window, a project may become incorrect.
Before deleting these definitions, search a project for the FB definition names and structure name by using the character
string search function to check that they are not used.
Window
Select "Label" "Global Label" "M+PTAG" in the navigation window.
Precautions
Do not delete "M+PTAG" from a project.
5 REGISTERING LABELS
252 5.4 Registering Tag FBs
Display/setting an FB property
The initial value of a tag FB instance can also be set in the "FB Property" window.
The display contents in the "FB Property" window is linked with the contents in the selected row on the FB setting editor.
For details on the "FB Property" window, refer to the following:
Page 375 Display/setting an FB property
In the "FB Property" window, the initial value of a tag FB instance which has already been applied on the tag FB editor is
displayed. A tag FB which is not applied, excluded from applying, or for which setting contents are changed after application is
not displayed.
5 REGISTERING LABELS
5.4 Registering Tag FBs 253
5.5 Registering System Labels
This section explains the method to register global labels as system labels.
Only standard global labels support system labels.
Precautions
Since module labels are read only, they cannot be registered as system label.
Displayed items
Item Description
System Label Relation Displays the relation between the global label and the system label.
• Disclose: The status in which the global labels are open as the system labels
• Reference: The status in which the system labels opened by other projects are imported in the global labels
• Blank: The status in which the global labels is not related to the system labels
System Label Name Displays the system label name related to the global labels.
Attribute Displays the attribute of the system label which is related to the global labels.
5 REGISTERING LABELS
254 5.5 Registering System Labels
Registering labels in system label database
Disclose standard global labels created with GX Works3 as system labels.
When registering in a system label database for the first time, create a workspace with MELSOFT Navigator and save a GX
Works3 project in the workspace in advance.
Operating procedure
1. Display a global label editor.
2. Select labels to be registered as system labels, and click the [Reservation to Register System Label] button.
Precautions
5
• The structure array type global labels for which "Structure Array Offset Value" has been set cannot be registered in the
system label database.
• Label comments for array elements and bit-specified labels cannot be registered in the system label database.
Operating procedure
1. Display a global label editor.
Operating procedure
1. Display a global label editor.
2. Select the labels of which relation is to be released from the labels registered as system labels.
5 REGISTERING LABELS
5.5 Registering System Labels 255
Verifying system label information
Compare the system label information of GX Works3 projects to the system label database, and check if there is any
difference.
If differences exist, correct the system label information of the GX Works3 projects, and synchronize the information with the
system label database.
Operating procedure
1. Select [Edit] [System Label] [Execute Verification Synchronous with System Label].
2. Check and correct information in the "Execute Verify and Synchronize with system label" screen.
Operating procedure
1. Select [Edit] [System Label] [Check the changes of the System Label Database]( ).
2. Check the information in the "Import Change Contents of System Label Database" screen.
5 REGISTERING LABELS
256 5.5 Registering System Labels
PART 3
PART 3 PROGRAMMING
This part explains the functions in editors for editing sequence programs and setting of the device memory
and initial values.
6 CREATING PROGRAMS
10 SEGMENTING PROGRAMS
257
6 CREATING PROGRAMS
This chapter explains the creation method of a program.
Remote head modules do not support creating a program.
6 CREATING PROGRAMS
258 6.1 Programming Function
Entering global devices/local devices
To use global devices and local devices individually, enter the devices as follows:
• Standard global device: Enter a device name (Example: D10)
Safety global device: Prefix 'SA\' to the device name (Example: SA\D10)
• Standard local device: Prefix '#' to the device name (Example: #D10)
Safety local device: Prefix 'SA\#' to the device name (Example: SA\#D10)
For details of the global device/local device, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
Note that FX5CPUs do not support local devices.
Creation procedure
1. Create data of a program block. (Page 129 Creating data)
2. Set the execution order and the execution type. (Page 260 Program Execution Order and Execution Type Settings)
3. Create a program. (Page 264 Creating a Ladder Program, Page 309 Creating an ST Program, Page 319 Creating
an FBD/LD Program, Page 342 Creating an SFC Program)
6 CREATING PROGRAMS
6.1 Programming Function 259
6.2 Program Execution Order and Execution Type
Settings
This section explains the setting method of the execution order and the execution type of a program.
Window
• Select [Convert] [Program File Setting].
• Select a program file in the navigation window, then right-click it and select [Program File Setting] from the shortcut menu.
Operating procedure
1. Select a program file name.
2. Set an execution order for program blocks, then click the [OK] button.
Program files can be sorted in the execution order specified in the program file setting. Select and right-click a
file in the navigation window, then select [Sort] [Execution Order] from the shortcut menu.
6 CREATING PROGRAMS
260 6.2 Program Execution Order and Execution Type Settings
Worksheet execution order setting
When multiple program bodies are included in a POU, the execution order for the program bodies can be set.
This setting is allowed to POUs used in an ST program and FBD/LD program.
Window
• Select [Convert] [Worksheet Execution Order Setting].
• Select a POU in the navigation window, then right-click it and select [Worksheet Execution Order Setting] from the shortcut
menu.
Operating procedure
1. Select a program body.
2. Set the execution order for programs, then click the [OK] button.
Program bodies can be sorted in the execution order specified in the worksheet execution order setting.
Select and right-click a POU in the navigation window, then select [Sort] [Execution Order] from the shortcut
menu.
Setting method
To set the execution type, right-click on a target program in the navigation window and select [Register Program] from the
shortcut menu, or drag the program and drop it onto the target execution type.
The set execution type will be applied to "Program Setting" of "CPU Parameter."
6 CREATING PROGRAMS
6.2 Program Execution Order and Execution Type Settings 261
Execution control of an FBD/LD program for process control
The following explains the setting methods for the execution control of an FBD/LD program for process control.
Executing method
There are two methods to execute an FBD/LD program for process control: timer execution and interrupt execution (fixed
scan). Select either of the execution methods in accordance with the intended use of the program.
For details, refer to the following:
MELSEC iQ-R Programming Manual (Process Control Function Blocks/Instructions)
Execution order
Set execution order for a program file of the scan execution type with the process control extension enabled in the "Program
File Setting" screen.
Operating procedure
1. Click (Program File Setting) on the toolbar.
Alternatively, select and right-click a program file in the navigation window, then select [Program File Setting] from the
shortcut menu.
2. Set an execution order for program blocks, then click the [OK] button.
• For details on the "Program File Setting" screen, refer to the following:
Page 263 Program File Setting screen
• Program files can be sorted in the execution order specified in the program file setting. Select and right-click
a file in the navigation window, then select [Sort] [Execution Order] from the shortcut menu.
6 CREATING PROGRAMS
262 6.2 Program Execution Order and Execution Type Settings
Execution interval and phase
Execution interval and phase of an FBD/LD program for process control can be set in either of the following screens.
• "Properties" screen of an FBD/LD program for process control (Page 135 Properties)
• "Program File Setting" screen
For details on the execution interval and phase, refer to the following:
MELSEC iQ-R Programming Manual (Process Control Function Blocks/Instructions)
The following explains the "Program File Setting" screen.
Window
• Click (Program File Setting) on the toolbar.
• Select a program file in the navigation window, then right-click it and select [Program File Setting] from the shortcut menu.
Displayed items
Item Description
(1) Order Displays the execution order for program blocks.
(2) Program Block Name Displays program block names.
(3) Execution interval (header) Display contents are changed according to the value set for the following option.
• [Tool] [Options] "Process Control Extension Setting" "Program Execution" "Execution Interval"
(4) Execution Interval Displays the execution interval of each program.
Execution intervals can be changed from the pull-down list.
(5) Phase Displays the phase of each program.
Phases can be changed by entering a value.
(6) Execution timing Displays the timing to execute each program. ('*' indicates the program execution.)
'*' is displayed only for the program blocks created in Function Block Diagram/Ladder Diagram language.
(7) Total Displays the total numbers of programs executed at each execution timing (total number of '*' displayed in each column of
'Execution timing').
If no program block is executed, '0' is displayed.
6 CREATING PROGRAMS
6.2 Program Execution Order and Execution Type Settings 263
6.3 Creating a Ladder Program
This section explains the creation method of a ladder program.
Detailed specifications of a ladder program are described in the following manuals. Please read them in advance.
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
The display format and detailed operation settings for each function can be set by setting the following option.
[Tool] [Options] "Program Editor" "Ladder Editor"
Ladder editor
(3) Comment
(7) Note
(5) P statement
(10) Argument
(6) I statement
(12) Outline display (13) Left power rail (15) Number of contacts displayed in a column (14) Right power rail
6 CREATING PROGRAMS
264 6.3 Creating a Ladder Program
(19) FB instance
(20) Function
(18) Wrapping
symbol (wrapping
source)
(21) Inline
(18) Wrapping
symbol (wrapping
structured text box
6
destination)
Splitter bar
(vertical)
Displayed items
Item Description Related operation
(1) Ladder edit mode An area that displays the ladder edit mode: Write, Read, Switching mode
Write Mntr (monitor write), or Read Mntr (monitor read) Page 268 Switching the ladder edit mode (read/
write/monitor read/monitor write)
(2) Line statement A comment that is appended to a ladder block Entering elements
Page 284 Entering comments/statements/notes
(3) Comment A comment set to a device/label
Show/Hide
(4) Line statement displayed in the A line statement that is displayed in the tree in the [View] [Comment Display]/[Statement Display]/[Note
navigation window navigation window Display]
(5) P statement A comment that is appended to a pointer number Hierarchy display setting for structure comments
[Tool] [Options] "Other Editor" "Label Editor
(6) I statement A comment that is appended to an interrupt pointer
Common" "Display Setting" "Hierarchy Display
number
Setting for Structures Comment"
(7) Note A comment that is appended to a coil/application Label comments for a structure and its member can be
instruction in the program displayed together by setting this option to "In Order of
Instance -> Member" or "In Order of Member ->
Instance."
(8) Device assigned to label A device assigned to a label. Settings
Only labels displayed on a ladder editor can be edited, Page 227 Registering Labels
searched for and replaced. Show/Hide
A device with any of the following conditions is not [View] [Display Device] ( )
displayed.
• A device that is assigned by converting the program
• A device that is assigned to a label used for an array
index
• A device that is assigned to a structure type label
(9) Tool hint The information on device/label where the mouse cursor Changing display contents
is placed over is displayed [Tool] [Options] "Program Editor" "Ladder Editor"
"Tool Hint"
(10) Argument A value or label name/device name to be operated
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 265
Item Description Related operation
(11) Step No. The start Step No. of a ladder block
(12) Outline display A symbol that indicates the status (collapse/expand) of a Show/Hide
ladder block • [Tool] [Options] "Program Editor" "Ladder
Editor" "Ladder Diagram" "Display Format"
• [View] [Outline] [Show/Hide of Outlines]
(13) Left power rail The power rails of a ladder program
(14) Right power rail
(15) Number of contacts displayed in a The maximum number of cells which are occupied with Changing number of contacts
column contacts, coils, and instructions. [Tool] [Options] "Program Editor" "Ladder Editor"
When the maximum number of contacts is exceeded, the "Ladder Diagram" "Display Format"
line will be wrapped automatically.
(16) 1 cell display The rest of a device/label name is omitted by ellipses "..." Switching display
in order for the name to be fit in one cell. [View] [Change Display Format of Device/Label Name]
[1 Cell Display]/[Wrapping Ladder Display]
(17) Wrap display A long device/label name is wrapped to be fit in one cell.
If the label name still cannot be displayed in one cell, the
rest of the name is omitted by ellipsis "...".
(18) Wrapping symbols The wrapping symbols are displayed at wrapping source
and wrapping destination.
The same numbers (serial numbers) are assigned to the
wrapping source symbol and the wrapping destination
symbol that are created in pairs.
Wrapping symbols cannot be connected to the output
circuits of an FB instance or a function.
(19) FB instance An entity of a function block used in a ladder program Insertion
Page 272 Inserting a function block
(20) Function An entity of a function used in a ladder program Insertion
Page 279 Inserting a function
(21) Inline structured text box An area where an ST program can be edited on a ladder Insertion
editor Page 281 Inserting an inline structured text box
6 CREATING PROGRAMS
266 6.3 Creating a Ladder Program
Splitting a ladder editor
The following show the procedures for splitting a ladder editor.
Horizontal sprit
Operating procedure
Drag the splitter bar (horizontal) downward or double-click it.
In another way, use the following menu.
• Select [Window] [Split].
Vertical sprit
Operating procedure
Drag the splitter bar (vertical) to the left or double-click it.
Since split ladder editors can be scrolled separately, programs which are described in different parts can be
displayed at once.
In addition, editors displayed vertically can synchronously be scrolled by using the following menu.
• [Window] [Split Window Operation] [Synchronous Scrolling in Side by Side]
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 267
Switching the ladder edit mode (read/write/monitor read/monitor write)
The ladder edit mode of a ladder editor (including a Zoom) can be switched by selecting any of the following menus:
Menu Editor where the mode switches
[Edit] [Ladder Edit Mode] [Read Mode] Active ladder editor
[Write Mode]
[Read Mode (All Windows)]*1,*2 All open ladder editors
*2
[Write Mode (All Windows)]
[Read Mode (All Ladder Programs Elements)]*1 All ladder editors that exist in a project
[Write Mode (All Ladder Programs Elements)]
*1 If there is an unconverted program, the mode will be switched to the read mode while the program remains unconverted.
*2 When the following option is set to "Open Single in Project" or "Open Single in Project," the mode of a Zoom which has been opened
even once also switches.
"Program Editor" "SFC Diagram Editor" "Action/Transition" "Display Format" "Window Display Method"
• The mode can also be changed from the pull-down list for the ladder edit mode, which is in the upper left of
a ladder editor.
• When "No" is selected in the following option, a ladder editor can be edited directly same as the write mode
in the read mode.
[Tool] [Options] "Program Editor" "Ladder Editor" "Ladder Diagram" "Edit Operation" "Use
the Switching Ladder Edit Mode (Read, Write, Monitor, Monitor (Write))"
Precautions
Read mode/monitor read mode
The program cannot be edited directly when the mode is switched to the read mode or monitor read mode.
However, performing any of the following operations changes the programs.
• The name of source function block is changed or the function block is deleted.
• Input/output labels of source function block are changed and converted.
• Devices/labels are replaced in a batch by specifying the whole project with the replacement function.
To prohibit editing the program, use the security function.
6 CREATING PROGRAMS
268 6.3 Creating a Ladder Program
Entering ladders
This section explains the entering method of a ladder.
For details of ladder symbols, refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
A frequently used instruction can be added as a favorite in the "Enter Ladder" screen.
To add an instruction as a favorite, select and right-click the instruction, then select [Add to Favorites] from the
shortcut menu.
Instructions added as favorites can be checked by selecting "Favorites" that is at the bottom of the pull-down
list of "List."
2. Select [Edit] [Ladder Symbol] [(element)]. Alternatively, select the ladder symbol icon on the toolbar.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 269
Displaying a global label entered by using an assigned device
By entering a device which was assigned as a global label to a program, the global label of the device can be displayed in the
program.
Note that, only global labels whose data type is the simple type with no array can be displayed.
Enter an assigned device after changing the entering method by one of the following option, then the global label is displayed.
• [Edit] [Edit Mode] [Use Assigned Device for Label Input]( )
• [Tool] [Options] "Program Editor" "Common Item" "Enter Element" "Operational Setting" "Use assigned
device for label input"
When inserting an instruction without entering an argument, '?' is set automatically. ('?' can be entered as an
argument.)
Arguments can also be entered later.
or or or
*1 Whether to enable or disable the ladder editing by mouse operation can be switched by setting the following option.
[Tool] [Options] "Program Editor" "Ladder Editor" "Ladder Diagram" "Edit Operation" "Enable the ladder editing by mouse
operation"
6 CREATING PROGRAMS
270 6.3 Creating a Ladder Program
Drawing a line
A line can be drawn in the program by the operations shown in the table below.
If a line has already been drawn, the line will be deleted.
Operation Drawing a line
Drag and drop*1
*1 Whether to enable or disable the ladder editing by mouse operation can be switched by setting the following option.
[Tool] [Options] "Program Editor" "Ladder Editor" "Ladder Diagram" "Edit Operation" "Enable the ladder editing by mouse
operation"
6
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 271
Inserting a function block
The following shows the procedure for pasting a function block as an element, naming its FB instance name, and inserting it
into a sequence program.
For the creation method of a program in a function block, refer to the following:
Page 484 Creating a Function Block
Operating procedure
1. Drag a function block element in the navigation window or element selection window and drop it onto any cell in the
sequence program.
2. Select the local label or global label from the pull-down list in the "FB Instance Name" screen, and enter an FB instance
name*1.
When the function block is pasted, the FB instance name is automatically registered as a label in the selected label setting
screen.
• A function block can also be inserted by entering its FB instance name in the element entry dialog.
• By entering 'fb.' in the element entry dialog, options of function block elements or FB instances are
displayed.
• To insert a function block between two consecutive FB instances, select [Edit] [Insert Row] above the
second FB instance first, and then insert the function block on the inserted row.
Place the cursor in the row on which the second FB instance exists, and insert a row.
• To insert a row above an FB instance, select the cell of a row where the FB instance name is displayed, and
select [Edit] [Insert Row].
• To insert a row above an FB instance that is connected to an input argument or output argument whose data
type is other than BOOL, change the data type of the argument to BOOL and insert a row, then change the
data type to the original one.
• By selecting "Yes" for the following option, a column width is automatically adjusted so that the text of an
input/output label (argument) does not get cut when inserting a function block:
[Tool] [Options] "Program Editor" "Ladder Editor" "FB/FUN" "Operational Setting"
"Automatically adjust column width in creating"
• By selecting "Yes" for the following option, the "FB Instance Name" screen appears when pasting a function
block:
[Tool] [Options] "Program Editor" "Ladder Editor" "FB/FUN" "Operational Setting" "Show FB
Instance Name Window in Pasting Ladder"
6 CREATING PROGRAMS
272 6.3 Creating a Ladder Program
Precautions
Pasting a function block to a sequence program causes the file size to increase.
Pasting the same function blocks to one sequence program repeatedly also causes the size increase of the sequence
program in accordance with the number of pasted function blocks.
Display of an FB instance
The following shows the contents displayed in the pasted FB instance.
(1)
(2)
(3) (3)
(4) (4)
(4)
(5) (6)
Precautions
• The initial values set in a label editor when creating an FB program are displayed. The initial values set to each FB instance
are not displayed.
• When both a label comment of an FB instance and a title of a function block are set, the label comment is displayed.
Operating procedure
1. Select an FB instance.
In another way, FB instance names can be changed by any of the following operation.
• Press the key with an FB instance being selected.
• Double-click an FB instance name.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 273
Replacing an FB instance
Operating procedure
1. Select an FB instance.
6 CREATING PROGRAMS
274 6.3 Creating a Ladder Program
Creating input and output circuit parts of an FB instance
The following shows the method for creating the input circuits (1) and output circuits (2) of an FB instance pasted to a
sequence program.
(1) (2)
The number of cells occupied by input circuits or output circuits of an FB instance differs depending on the setting of the
following option.
• [Tool] [Options] "Program Editor" "Ladder Editor" "Ladder Diagram" "Display Format" "Display Connection
of Ladder Diagram"
Setting of the number of displayed contacts Number of cells in input circuit Number of cells in output circuit
9 contacts 4 cells 4 cells
11 contacts 5 cells 5 cells
6
13 contacts 6 cells 6 cells
17 contacts 8 cells 8 cells
21 contacts 10 cells 10 cells
33 contacts 16 cells 16 cells
45 contacts 22 cells 22 cells
Instructions that exceed the number of cells occupied by input circuits or output circuits cannot be entered.
When instructions cannot be placed by changing the number of displayed contacts, the ladder block may not be displayed
properly.
Operating procedure
1. Select [Convert] [Convert] ( ).
The ladder block is converted, and lines are connected to the input and output labels of the FB instance.
2. Edit the input circuits.
Enter an element to the input circuit in the same manner as creating normal ladder programs. Create a program in
accordance with the data type of input variable.
3. Enter elements to the output circuit in the same manner as the input circuit.
Edit the program other than function blocks as well. After complete editing, convert the program.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 275
Function block whose definition is unclear
Once the definition of a function block is deleted or changed, the function block is used as one whose definition is unclear and
an error occurs when it is converted. The following shows a display example of a function block whose definition is unclear.
When the definition of a function block is changed, select the function block, then select [Edit] [Update FB/FUN] and update
the definition information.
When the definition of a function block does not exist, select the function block, then select [Edit] [Change FB/FUN Data]
and change the data.
• When the label settings of a function block is changed, convert the program or all programs.
6 CREATING PROGRAMS
276 6.3 Creating a Ladder Program
Considerations for using function block that the class of label is "VAR_IN_OUT"
• If the version of GX Works3 is 1.011M or earlier, use the same device/label for both the input and output which are
connected to a "VAR_IN_OUT" class label; otherwise, the program does not operate properly.
• If a project includes a function block that satisfies all the following conditions and if all programs in the project are converted
in two different versions of GX Works3 (version 1.011M or earlier and version 1.015R or later), the verification result
between the two converted projects will be mismatched. In that case, convert all programs using the same version of GX
Works3.
The function block is of a subroutine type.
Different devices/labels are used for the input and output connected to a "VAR_IN_OUT" label.
• For GX Works3 version 1.015R or later, a conversion error occurs when one or more instructions or coils are set to the left
side of "VAR_IN_OUT" of a function block.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 277
Consideration when an FB instance is connected directly to the left power rail
In the input circuit of an FB instance, if an EN or input variable (bit type) is directly connected to the left power rail, the ON/OFF
state will not be changed.
To change the ON/OFF status of an EN and input variable (bit type), use a contact or an instruction equivalent to a contact.
Displaying/setting FB properties
FB properties can be displayed and set in the "FB Property" window.
For details, refer to the following:
Page 375 Display/setting an FB property
6 CREATING PROGRAMS
278 6.3 Creating a Ladder Program
Inserting a function
The following shows the procedure for inserting a function in a ladder program.
For the creation method of a function, refer to the following:
Page 504 Creating a Function
Operating procedure
1. Drag a function element in the navigation window or element selection window and drop it onto any cell in the sequence
program.
• By entering 'fun.' in the element entry dialog, the options of function elements are displayed. A function
element can be entered by selecting it from the options.
• To insert a row above a function, select the cell of a row where the function name is displayed, and select
[Edit] [Insert Row].
• To insert a row above a function that is connected to an input argument or output argument whose data type
is other than BOOL, change the data type of the argument to BOOL and insert a row, then change the data
type to the original one.
• By selecting "Yes" for the following option, a column width is automatically adjusted so that the text of an
input/output label (argument) does not get cut when inserting a function:
[Tool] [Options] "Program Editor" "Ladder Editor" "FB/FUN" "Operational Setting"
"Automatically adjust column width in creating"
Adding/deleting arguments
Only for a function of which the number of arguments can be changed, an argument can be added/deleted.
Operating procedure
1. Move the cursor on a function.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 279
Replacing functions
Operating procedure
1. Move the cursor on a function.
When the definition of a function is changed, select the function, then select [Edit] [Update FB/FUN] and update the
definition information.
When the definition of a function does not exist, select the function, then select [Edit] [Change FB/FUN Data] and change
the data.
6 CREATING PROGRAMS
280 6.3 Creating a Ladder Program
Inserting an inline structured text box
Inline structured text is a function to edit or monitor an ST program by creating an inline structured text box, which displays an
ST program, at the coil instruction area in a ladder editor.
With this function, a numeric value operation or a character string process can be created easily in the ladder program.
Note that this function cannot be used in a safety program and a safety FB/FUN.
In this manual, the ST program in an inline structured text box is referred to as an 'inline structured text program.'
Up to 20,000 characters can be entered in an inline structured text program. (A line feed is counted as two characters.)
Operating procedure
Select [Edit] [Inline Structured Text] [Insert Inline Structured Text Box] ( ).
The editing method of the inline structured text program is the same as that of ST program. (Page 312 Entering
programs)
• Enter 'STB' on the element entry dialog to insert an inline structured text box.
• When inserting an inline structured text box as a parallel circuit, draw lines for the parallel circuit first, and
then insert an inline structured text box.
6
Precautions
• Of the FB instance, function, and inline structured text box, only one can be placed in a single row.
• An inline structured text box cannot be connected to the input and output circuit parts of an FB instance or a function.
• The label of which data type is pointer cannot be used in the inline structured text program.
• When a row including an inline structured text box is deleted, the whole ladder block is deleted.
• When inserting an inline structured text box in a wrapping destination ladder, a jump destination of an error message may
be the top of a ladder block if a conversion error occurs in inline structured text.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 281
Changing the number of rows to display
The height of an inline structured text box depends on the number of rows to display.
The following shows the procedure to change the number of rows to display.
Operating procedure
1. Select an inline structured text box or a row including the inline structured text box. (Multiple selections allowed.)
• By selecting "Yes" for the following option, the height of an inline structured text box is automatically
adjusted for each line feed.
[Tool] [Options] "Program Editor" "Ladder Editor" "Inline Structured Text" "Operational Setting"
Automatically Adjust Inline Structured Text Height"
• The "Height Setting of Inline Structured Text" screen appears also by selecting [Height Setting of Inline
Structured Text] from the shortcut menu after right-clicking on an inline structured text box or a ladder editor.
Precautions
• Once the number of rows to display in an inline structured text box is changed, the following menu is not available to turn
the number back to the previous setting:
[Edit] [Undo]/[Redo]
Use the "Height Setting of Inline Structured Text" screen to change it.
• The number of rows to display may not be changed if the cell height of the contact of an inline structured text is taller than
the one of the inline structured text box.
Ex.
The following lists examples of option settings which affect the cell height of a contact:
[Tool] [Options] "Program Editor" "Ladder Editor" "Comment" "Display Format" "Row"
[Tool] [Options] "Program Editor" "Ladder Editor" "Ladder Diagram" "Display Format" "Number of Wrapping
Rows for Device/Label Name"
[Tool] [Options] "Monitor" "Ladder Editor" "Display Setting" "Display Lines for Monitoring Current Value"
6 CREATING PROGRAMS
282 6.3 Creating a Ladder Program
Pasting from each screen
A device/label can be pasted by dragging and dropping its name from each screen such as a label editor, "Label Comment"
window, and device comment editor.
By dragging and dropping a device/label onto a blank cell, a contact is inserted automatically and its device/label name is
displayed.
When dropping onto the right end of the cell, a coil is inserted automatically and its device/label name is displayed.
Additionally, a device/label can be pasted by dragging and dropping onto the argument of an instruction.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 283
Entering comments/statements/notes
This section explains the basic operations for editing comments, statements, and notes.
Entering/editing comments
A device/label comment can be entered and edited by the methods shown in the table below.
The display status of the comments can be switched in the following menu:
• [View] [Comment Display]/[Comment/Statement/Note Batch Display]
The device comments edited or added on a ladder editor are applied to the device comments set to the following option.
• [Tool] [Options] "Project" "Device Comment Reference/Reflection Target"
Entering/editing method Operating procedure
In the "Input Device Comment" 1. Select [Edit] [Documentation] [Edit Device/Label Comment] ( ).
screen 2. Select the cell and press the key or double-click it.
3. Enter a comment in the "Comment" column.
After entering comments is completed, select [Edit] [Documentation] [Edit Device/Label Comment] ( ) again.
On the element entry dialog 1. Select a cell and press the key.
2. Click on the element entry dialog and click the [OK] button.
3. Enter the comment to "Comment" column.
6 CREATING PROGRAMS
284 6.3 Creating a Ladder Program
Entering/editing statements
Add a comment to a ladder block using the statement (line statement, P statement, or I statement) in order to make the
processing flow easy to understand.
The display status of the statements can be switched in the following menu:
• [View] [Statement Display]/[Comment/Statement/Note Batch Display]
For details on the statements, refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
Entering/editing method Operating procedure
In the Enter Statement screen 1. Select [Edit] [Documentation] [Edit Statement] ( ).
2. Select the cell and press the key or double-click it.
3. Enter a statement.
Before entering P statement/I statement, select the cell of a pointer number or interrupt pointer number.
When "Display in Navigation Window" is selected, "[Title]" is added in front of the line statement.
6
After entering statements is completed, select [Edit] [Documentation] [Edit Statement] ( ) again.
On the element entry dialog 1. Select a cell and press the key.
2. Enter a statement after entering ';' for 'In PLC' and ';*' for 'In Peripheral.'
When displaying a statement in the navigation window, enter [Title] after ';' or ';*'.
For P statement/I statement, enter a statement following the entry of the displayed pointer number or interrupt pointer
number.
In the "Statement/Note Batch Edit" 1. Select [Edit] [Documentation] [Statement/Note Batch Edit] ( ).
screen 2. Enter a statement.
Precautions
';' cannot be prefixed to a line statement.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 285
Editing statements
After editing a statement, the same as when a ladder program is edited, the program will be in unconverted state.
If any statement is edited in an FB program body or FUN program body, a program part where the edited function block or
function is used may also be in unconverted state.
For details on the conversion of a function block or function, refer to the following:
Page 487 Converting function blocks
Page 505 Converting functions
Displaying a list
Line statements used in a ladder program are displayed in a list format.
The cursor jumps from the list to a location where the selected line statement is used.
Only line statements inserted automatically with temporary ladder change can be displayed.
For details on temporary ladder change, refer to the following:
Page 293 Changing ladder blocks temporarily
Window
Select [Find/Replace] [Line Statement List] ( ).
6 CREATING PROGRAMS
286 6.3 Creating a Ladder Program
Line statement to be displayed in the navigation window
It can be switched to show or hide a line statement in the navigation window by specifying the line statement and selecting
[Edit] [Documentation] [Hide of Navigation Window].
By double-clicking a line statement in the navigation window, only corresponding ladder blocks can be displayed.
Precautions
By double-clicking a line statement in the navigation window when all of the following conditions are satisfied, the cursor
jumps to the head of the corresponding block while displaying the whole program.
(Displaying only corresponding ladder blocks is not applicable.)
• A ladder editor is vertically split into two screens.
• The menu [Window] [Split Window Operation] [Synchronous Scrolling in Side by Side] is not selected.
When copying or deleting a line statement displayed in the navigation window, the ladder blocks between the selected line
statement and the next statement are copied or deleted.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 287
Entering/editing notes
Append a comment to coils/application instructions using Note in the program in order to make it easier to understand the
content of program.
The display status of the notes can be switched in the following menu:
• [View] [Note Display]/[Comment/Statement/Note Batch Display]
For details on the notes, refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
Entering/editing method Operating procedure
In the "Enter Note" screen 1. Select [Edit] [Documentation] [Edit Note] ( ).
2. Select the cell and press the key or double-click it.
3. Enter a note.
After entering notes is completed, select [Edit] [Documentation] [Edit Note] ( ) again.
On the element entry dialog 1. Press the key.
2. Enter notes following the displayed device/instruction after entering ';' for 'In PLC' and ';*' for 'In Peripheral.'
In the "Statement/Note Batch Edit" 1. Select [Edit] [Documentation] [Statement/Note Batch Edit] ( ).
screen 2. Enter a note.
With the keyboard 1. Select the cell of a note, and press the key.
2. Enter a note directly.
Edit
After editing a note, the same as when a ladder program is edited, the program will be in unconverted state.
If any note is edited in an FB program or FUN program, a POU where the edited function block or function is used may also be
in unconverted state.
For details on the conversion of a function block or function, refer to the following:
Page 487 Converting function blocks
Page 505 Converting functions
6 CREATING PROGRAMS
288 6.3 Creating a Ladder Program
Inserting/deleting NOP instruction
Insert or delete a NOP instruction to adjust Step No. of a program.
The Step No. changed by the NOP instruction is applied to a ladder editor after converting the program.
Operating procedure
Batch insertion
1. Select a cell to be insert.
3. Set the number of NOPs in the "NOP Batch Insert" screen and click the [OK] button.
Batch deletion
Select [Edit] [NOP Batch Delete].
Window
Select [Edit] [Change TC Setting Value].
Operating procedure
1. Set the items in the screen.
When performing the online program change after changing the setting value, select the checkbox of "Write the Changed
Program to PLC."
2. Click the [Execute] button.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 289
Precautions
When an error occurs during the online program change
The TC setting value of a program is changed but it is not written to a programmable controller.
When specifying "MELSAP-L (Instruction Format)" for the display format of an SFC program
The TC setting value of an SFC (Zoom) cannot be changed in the following settings:
• [Tool] [Options] "Program Editor" "SFC Diagram Editor" "Action/Transition" "Display Format" "Ladder
Display Method"
• [View] [Switch Ladder Display]
Target device
The following table shows the devices that can be set in the "Change TC Setting Value" screen.
Instruction argument Device Global device Local device
Timer/counter/retentive timer T, ST, LT, LST, C, LC, SA\T, SA\ST, SA\C
Setting value D, SD, W, SW, J\W, J\SW, U\G, U3E\G, U3E\HG, RD,
R, ZR, K, FD, SA\D, SA\SD, SA\W
Cutting/coping
Select an instruction, range, or ladder block, and cut/copy it.
Select a row when copying a function/function block.
Pasting
Paste a cut/copied ladder.
For 'Insert mode' (press the key to switch to 'Overwrite mode'), one row will be inserted above the line where the cursor
placed over and the copied ladder will be pasted.
Even in 'Overwrite mode,' a row/column will be inserted automatically and the copied ladder will be pasted by selecting [Edit]
[Insert and Paste].
Precautions
If the range to cut/copy is selected on a ladder as shown below, the vertical line on the right side cannot be pasted.
6 CREATING PROGRAMS
290 6.3 Creating a Ladder Program
Pasting device numbers or label names consecutively
Paste device numbers or label names that exist in the cut/copied ladder consecutively while incrementing the numbers (+1).
The menu [Edit] [Continuous Paste] is not available for pasting device names and label names onto the input and output
circuit parts of a function/function block.
This section shows the operating procedure to paste labels consecutively by using the example of the following program.
Operating procedure
1. Select an instruction or ladder block to be pasted continuously, and cut or copy it.
2. Move the cursor to the start position of the continuous paste, and select [Edit] [Continuous Paste].
3. In the "Continuous Paste" screen, set each item and click the [Execute] button. 6
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 291
Precautions
The following data cannot be incremented.
• The number of digits of digit-specified bit device
• Dummy device
• Local label used in a function block
• Structure member
• Some constant (boolean value, real number, character string, time)
• Wrapping symbol
• EN/ENO of a function block or function
• Return value of a function
Operating procedure
Select [Edit] [Revert to Start Editing Circuit].
6 CREATING PROGRAMS
292 6.3 Creating a Ladder Program
Changing ladder blocks temporarily
The operation of a specific ladder block can temporarily be changed.
Using the Temporarily Change Ladders function, the program for debugging can be changed without losing the source
program, therefore the debug process will be improved efficiently.
This function can be used only for a standard program created in Ladder Diagram language (excluding a Zoom).
FX5CPUs do not support this function.
Precautions
When opening a project, that contains a temporarily changed ladder program, in GX Works3 Version 1.008J or earlier, the
background color of disabled ladder block is not changed. Besides, 'Apply the Changes' and 'Restore the Changes' cannot be
performed.
Temporary changing
Operating procedure
1. Select the ladder block to change, then select [Edit] [Temporarily Change Ladders] [Temporarily Change Ladders]
( ). 6
2. Enter a pointer or pointer type label to be used.
A peripheral statement, JMP instruction, NOPLF instruction, or pointer device (or pointer type label) is automatically inserted
as shown below.
The selected ladder block is disabled and a copy of the selected ladder blocks is inserted immediately below the disabled
ladder block.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 293
3. Edit the copied ladder block.
Edit
Temporarily changed
ladder block
By changing the copied ladder block to the NOPLF instruction, the specified ladder block is disabled
temporarily.
Precautions
In a program of function/function block, a pointer device cannot be used temporarily. Only pointer type label is applicable.
Operating procedure
Select the ladder block from [TemporaryStart] statement to [TemporaryEnd] statement, and then select [Edit] [Temporarily
Change Ladders] [Apply the Changes] ( )/[Restore the Changes] ( ).
Operating procedure
Select [Edit] [Temporarily Change Ladders] [Temporarily Changed Ladder List] ( ).
Only the statements inserted automatically by changing a ladder block temporarily are displayed in the "Line Statement List"
screen.
6 CREATING PROGRAMS
294 6.3 Creating a Ladder Program
Considerations for editing ladder blocks changed temporarily
When the temporarily changed ladder block was edited with the contents listed in the following table, the program may not be
performed normally.
Description
Statement Delete/cut a statement.
Insert a ladder block between the [TemporaryModify] statement row and the ladder block changed temporarily (which is the row
setting a pointer).
Delete the [TemporaryEnd] statement row and NOPLF instruction.
Insert a ladder block/a statement/NOPLF instruction between the [TemporaryEnd] statement row and NOPLF instruction.
Insert a statement before and after the [TemporaryStart] statement row.
JMP instruction, Pointer Edit/delete a JMP instruction or a pointer.
Ladder block Edit a disabled ladder block.
Delete a ladder block disabled/changed temporarily.
Copy and paste a ladder block disabled/changed temporarily.
Simple search
Instructions, devices, labels, statements, and notes can be searched for by entering a text in the "Find" screen.
Operating procedure
1. Press the key on a ladder editor.
2. Enter a text, and click the [Find] button in the "Find" screen.
By using the following menu, the cursor jumps forward or backward from the current position to the positions
where search was applied.
• [Find/Replace] [Previous] ( )/[Next] ( )
Search options
A search option can be set by adding the following commands at the end of a text for search.
Command Item name in the find/ Description
replace window
/K Digit The entered device and digit-specified bit devices that include the entered device are searched
(Example: M0/K) for.
/D Multiple Word The entered device and the double-word format word devices that include the entered device are
(Example: D0/D) searched for.
; Statements or notes are searched for.
(Example:
;statement)
For the device search examples using a search option, refer to the following:
Page 449 Examples of device search
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 295
Jump
The cursor jumps on a ladder editor by specifying a step number.
Operating procedure
1. Select [Find/Replace] [Jump].
2. Specify a Step No. in the "Jump" screen, and click the [OK] button.
On a ladder editor, pressing a numeric key on the keyboard enables to display the "Jump" screen.
By using the following menu, the cursor jumps forward or backward from the current position to the positions
where search was applied.
• [Find/Replace] [Previous] ( )/[Next] ( )
Operating procedure
1. Select the cell where the target instruction is entered.
If a help file is associated with a function or function block, the help file opens. (Page 133 Associating
data with a help file)
Operating procedure
1. Select a range to be copied in a ladder editor.
Precautions
Up to 80 rows of ladders can be copied as an image to the clipboard.
However, ladders may not be copied correctly if the image size exceeds 15 MB.
6 CREATING PROGRAMS
296 6.3 Creating a Ladder Program
Importing/exporting ladder programs
A ladder program can be imported from a CSV file and exported to a CSV file, HTML file, or text file.
.TXT
.CSV
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 297
Importing from a CSV file
Listed instructions in a CSV file can be imported into a ladder program.
When importing from the CSV file, the program will be in the unconverted state.
Operating procedure
1. Open a ladder editor, and select [Edit] [Import File]( ).
3. Specify "CSV (tab delimited)(*.csv)" for the file type, and click the [Open] button.
4. Select "Convert to 'OUT SM4095'" or "Convert to line statement" for "Conversion Method for Incorrect Instruction" in the
screen to confirm import, and click the [Yes] button.
Precautions
• When a program is being monitored or simulated, a file cannot be imported.
• When an import destination satisfies any of the following condition, the program needs to be converted (reassigned) after
importing a file.
There are multiple programs in the program file.
The program is the one of function blocks or functions.
• When a label of 'VAR' class of an FB instance is included in a CSV file, a conversion error occurs after import.
6 CREATING PROGRAMS
298 6.3 Creating a Ladder Program
File format
For the file formats when importing, follow the formats listed below:
Item Format Example
Header A project name and a module type are
displayed.
The header of each column is also displayed.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 299
• The range of a character string in a line statement to be imported differs depending on a line feed format in a CSV file.
Line feed format Import in GX Works2 Import in GX Works3
Line feed character "\r\n" is used A character string in a single row including the A character string in which a line feed is inserted is
line feed character "\r\n" is imported as a imported as a statement.
statement.
A CSV file is edited directly and a line feed is A character string up to the first line feed is imported as a statement.
inserted in a character string
• Constants are imported as they are; however, a single quote in a string constant is replaced with a double quote. (Example:
'ABC' "ABC")
6 CREATING PROGRAMS
300 6.3 Creating a Ladder Program
Exporting to a CSV file
A ladder program can be converted into a listed instruction format and exported to a CSV file.
Operating procedure
1. Open a ladder editor, and select [Edit] [Export to File]( ).
3. Specify "CSV (tab delimited)(*.csv)" for the file type, and click the [Save] button.
Precautions
Programs including an unconverted ladder cannot be exported.
If more than 5000 inline structured text boxes exist in a program, an error will occur.
File format
A saved CSV file opened in spreadsheet software is displayed as follows:
(1)
6
(2)
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 301
Format for inline structured text program
A saved CSV file which includes an inline structured text program is displayed in spreadsheet software as follows:
(1)
(2)
(3)
*1 Indicates the number that is added to each inline structured text in order from the top in a program.
6 CREATING PROGRAMS
302 6.3 Creating a Ladder Program
Format for function and function block
The display example of CSV file in the format of function blocks is as follows.
When opening an exported CSV file that includes a function block in spreadsheet software, the data is displayed as follows:
(1)
(2)
(3)
(4)
(5)
(6)
(7)
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 303
Exporting to an HTML file
A ladder diagram of a ladder program can be exported to an HTML file.
Data in an HTML file cannot be imported in a ladder program.
Operating procedure
1. Open a ladder editor, and select [Edit] [Export to File]( ).
3. Specify "HTML(*.html)" for the file type, and click the [Save] button.
Precautions
Programs including an unconverted ladder cannot be exported.
The number of displayed rows (height) of an inline structured text box is not applied in an HTML file.
The following items are not exported:
• Line number of an inline structured text program
• "*" added when entering a peripheral statement
• Data type of an argument of a function/function block
Operating environment
The following table shows the operating environment.
Item Description
Operating Tablet, smartphone Android 4.0 or later
system iOS 8 or later
Personal computer Microsoft Windows 11
Microsoft Windows 10
Browser Tablet, smartphone A browser supporting HTML5 and CSS3
The following browsers are recommended.
• Google Chrome (for Android) (version 4.3 or later)
• Safari 8.0 or later
Personal computer A browser supporting HTML5 and CSS3
The following browsers are recommended.
Microsoft Edge
Internet Explorer 11 or later
Safari 8.0 or later
Google Chrome 4.3 or later
An HTML file to which a ladder diagram is exported may not open properly in a web browser not supporting HTML5.
File configuration
A ladder diagram is exported to an HTML file in the following file configuration.
Folder Subfolder File name Description
Folder specified in the (character strings specified in the "Export The following information on ladder elements of a ladder
"Export to File" screen to File" screen).html diagram is exported.
• Picture name to be displayed
• Label/device name
• Character strings of comment/statement/note
• Tag for assigning style information in a css file
css (character strings specified in the "Export The following style information is exported.
to File" screen)BaseStyle.css • Color and font settings configured when exporting
• Layout information to display as a ladder diagram
img (ladder element name).png A same picture as that of a ladder diagram displayed on a
ladder editor is exported.*1
6 CREATING PROGRAMS
304 6.3 Creating a Ladder Program
File format
A saved HTML file opened in a web browser is displayed as follows:
Precautions
• When the magnification of a character in a web browser is not same, a file is not displayed properly.
• Some texts may get cut depending on the fonts used in a web browser.
• The number of characters and rows to display the character string data, such as a device name and a comment, may not
match between a ladder editor and a web browser.
• When displaying a program with a large number of steps in an inline structured text box, the line of the left ladder may be
cut off.
• The position of a command name may differ between a ladder editor and a web browser.
• When character strings are not displayed all, "..." is added to the end for a device, data name of a function/function block,
FB instance name, statement, note, VAR_PUBLIC, and VAR_PUBLIC_RETAIN.
• The font color and background color of inline statements that are displayed in the navigation window are the same as the
ones of other inline statements.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 305
Exporting to a text file
A ladder diagram of a ladder program can be exported to a text file.
Data in a text file cannot be imported in a ladder program.
This function supports programs within 260 KB.
Operating procedure
1. Open a ladder editor, and select [Edit] [Export to File]( ).
3. Specify "Text (*.txt)" for the file type, and click the [Save] button.
Precautions
Programs including an unconverted ladder cannot be exported.
The number of displayed rows (height) of an inline structured text box is not applied in a text file.
In addition, the following items are not exported also.
• Line number of an inline structured text program
Operating environment
When characters are not displayed on the text editor or the display width of ladder diagrams is not uniform, check the
operating environment.
It is considered to occur in the following cases.
• A non-Japanese version of operating system is used.
• Japanese fonts are not installed.
• Fonts that are not supported by Shift JIS are used.
To display an exported text file normally, set the following settings.
• Install Japanese fonts and set the system locale as Japanese.
• Set the used fonts to monospaced fonts on the text editor.
6 CREATING PROGRAMS
306 6.3 Creating a Ladder Program
File format
A saved text file opened on the text editor is displayed as follows:
(3)
(2)
(3)
(1)
(5)
(4)
(6)
(7)
(5)
(4)
(8) 6
(8)
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 307
*1 For peripheral statements or peripheral notes, '*' is added in the beginning of the character strings.
*2 Up to 12 characters are displayed per row.
*3 Characters exceeding the display range are displayed as '...'.
*4 'n' indicates an integer that is added in the output order of inline structured text boxes.
Precautions
• Up to 12 characters for one cell, and up to 14 characters for one line
• The file format is Unicode (UTF-16 Little Endian with BOM).
• Grids are not displayed.
• Ladder blocks displayed in an editor can only be exported. (Example: When only a ladder block including a line statement
is displayed)
Operating procedure
1. Open a ladder editor, and select [Edit] [Export to File]( ).
3. Specify "All File Formats(*.csv;*.html;*.txt)" for the file type, and click the [Save] button.
6 CREATING PROGRAMS
308 6.3 Creating a Ladder Program
6.4 Creating an ST Program
This section explains the creation method of an ST program.
The details on the specification of ST program are described in the following manual. Please read it in advance.
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
The display format and detailed operation settings for each function can be set by setting the following option.
[Tool] [Options] "Program Editor" "ST Editor"
Configuration of an ST editor
ST editor is a language editor in text format for creating programs in Structured Text.
Spaces, tabs, and line feeds can be entered between keywords and variable names of a control syntax.
Terms and symbols that configure the program is referred to as a token.
Window
6
Select "Program" "(execution type)" "(program file)" "(program block)" "ProgramBody" in the navigation window.
Toolbar
ST editor
Splitter bar
Displayed items
Item Description Related operation
(1) Icon display area The area to display icons Icon type
Page 310 Icon type
(2) Line number The line numbers of a program Changing display contents
[Tool] [Options] "Program Editor" "ST Editor" "Editor Display
(3) Change tracking The head of a line where the program has been changed is
Items"
highlighted.
(4) Highlighted The line on which the cursor is placed is highlighted.
display
(5) Error display A syntax error of the program is displayed.
6 CREATING PROGRAMS
6.4 Creating an ST Program 309
Item Description Related operation
(6) Tool hint Information where the mouse cursor is placed over is Changing display contents
displayed. [Tool] [Options] [Program Editor] "ST Editor" "Tool Hint"
Hierarchy display setting for structure comments
[Tool] [Options] "Other Editor" "Label Editor Common"
"Display Setting" "Hierarchy Display Setting for Structures
Comment"
By setting this option to "In Order of Instance -> Member" or "In Order
of Member -> Instance," label comments for a structure and structure
member can be displayed together when selecting a range of the
structure member.
(7) Outline display Symbols to display/hide the text blocks are displayed. Show/Hide
(Outlines can be nested up to 130 levels.) • [Tool] [Options] "Program Editor" "ST Editor" "Editor
Display Items"
• [View] [Outline] [Show/Hide of Outlines]
(8) Incremental A searched keyword is highlighted. Find
search Page 317 Incremental search
• An ST editor can horizontally be split into two screens by either of the following operations:
Select [Window] [Split].
Drag the splitter bar downward or double-click it.
To restore the split, drag the splitter bar to the top/bottom of the ST editor.
• A screen can be scrolled horizontally by scrolling the mouse wheel while pressing the key.
• "Insert mode" and "Overwrite mode" can be switched by selecting the following menu:
[Edit] [Switch Insert/Overwrite mode]
Icon type
Icon Description
This icon is displayed on the line jumped from the cross reference window.
This icon is displayed on the error line jumped from the "Output" window.
6 CREATING PROGRAMS
310 6.4 Creating an ST Program
Keywords for collapse and automatic indent
A line can be outlined and displayed collapsed by using the keywords shown below.
Additionally, pressing the key in a control syntax inserts an indent automatically.
Category Start End Automatic indent
Comment texts (* *)
/* */
Selection statement IF END_IF
CASE END_CASE
While loop FOR END_FOR
WHILE END_WHILE
REPEAT END_REPEAT
6 CREATING PROGRAMS
6.4 Creating an ST Program 311
Entering programs
This section explains the entering method of an ST program.
For the functions/instructions used in ST programs, refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
Precautions
When an ST editor is set to read-only or monitoring, the program cannot be edited.
6 CREATING PROGRAMS
312 6.4 Creating an ST Program
Inserting a function block
The following shows the procedure for inserting a function block to an ST program.
For the creation method of a program in a function block, refer to the following:
Page 484 Creating a Function Block
Operating procedure
1. Drag and drop a function block from the navigation window or element selection window onto any position in an ST
editor.
2. Enter the information of a label (FB instance)*1 in the "Undefined Label Registration" screen.
3. Enter the values for the input variables and output variables.
*1 If the definition name of the function block includes any of the following symbols, the symbol is replaced with an underscore (_) in the
"Label Name" column: plus sign (+), minus sign (-), exclamation mark (!), left round bracket ((), right round bracket()), or backquote (`).
Ex.
When the defined function block is "MYTIMER"
[Details of defined function block]
Label name: FB_MYTIMER
Input variable: Setting_value_1_second, Setting_value_10_seconds, Setting_value_100_seconds, Timer_Start, Timer_Stop 6
Output variable: In_operation, Timer_up_1, Timer_up_2
The example of entering ST program are shown below.
Label name Input variable Device that assigns a value to an input variable
The output of the function block can be obtained by specifying the output variable name with a period (.) suffixed to the
function block name.
Enter an instruction to obtain the output after performing the function block call.
Displaying/setting FB properties
FB properties can be displayed and set in the "FB Property" window.
For details, refer to the following:
Page 375 Display/setting an FB property
6 CREATING PROGRAMS
6.4 Creating an ST Program 313
Inserting a function
The following shows the procedure for inserting a function in an ST program.
For the creation method of a FUN program, refer to the following:
Page 504 Creating a Function
Operating procedure
1. Drag and drop a function from the navigation window or element selection window onto any position in an ST editor.
Inserting an indention
A tab is inserted as an indentation at the head of a new line automatically when a line feed is inserted during program editing.
The tabulator length can be set in the following option setting.
• [Tool] [Options] "Program Editor" "ST Editor" "Edit Operation"
Inserting comments
Enter a comment which does not affect the program processing. Or, comment out/uncommented the already entered
programs in a batch.
Operating procedure
Entering comments
• When the line is one: Enter a comment after entering slashes '//'.
• When specifying the range: Enclose the comment in '/*' and '*/', or '(*' and '*).'
2. [Edit] [Comment Out of the Selected Range] ( )/[Disable Comment Out of Selected Range] ( )
6 CREATING PROGRAMS
314 6.4 Creating an ST Program
Registering an undefined label
When entering an undefined label, the "Undefined Label Registration" screen appears and the label can be registered in a
label editor. (Page 247 Registering an undefined label)
Operating procedure
1. Select the token of which syntax template is to be displayed.
• Select [Edit] [Mark Template (Left)] ( )/[Mark Template (Right)] ( ), or press the ++/ 6
keys to select an argument of the template one by one.
• By selecting "Yes" for the following option, a syntax template is displayed with the arguments aligned
vertically.
"Program Editor" "ST Editor" "Edit Operation" "Vertically Align Arguments for Displaying Template"
6 CREATING PROGRAMS
6.4 Creating an ST Program 315
Editing multiple rows simultaneously
By selecting multiple rows rectangularly, they can be edited simultaneously.
The following uses a procedure to change a value, to be substituted to a device, as an example.
Ex.
Changing a value to be substituted from 100 to 500.
Operating procedure
1. Select multiple rows rectangularly by either of the following operations:
Press the ++/ keys, then press the +/ keys.
Drag the mouse while pressing the key.
2. Enter '5.'
When selecting multiple rows rectangularly without including a character string, the operation differs
depending on the edit mode.
Example: When placing the cursor between operators and '100' and selecting rectangularly, then entering '5'
• Insert mode
• Overwrite mode
6 CREATING PROGRAMS
316 6.4 Creating an ST Program
Searching for/replacing data in a program
The search functions that can be used in ST editor are as follows.
Function name Description Reference
Jump To specify a line number on an ST editor, and move to the corresponding line. Page 317 Jump
Incremental search To highlight a searched keyword. Page 317 Incremental search
Cross reference To check a declaration location and a reference location of a device*1 and a label Page 445 SEARCHING FOR DATA
in a list.
Device list To check the usage of devices being used*1.
Find and replace • To search for and replace a device name*1, label name, instruction name, and
character string.
• To change contacts between open contact and close contact
• To replace devices in a batch.
Jump
Specify a line number and move the cursor on an ST editor.
Operating procedure 6
1. Select [Find/Replace] [Jump].
2. Enter a line number of the program in the "Jump" screen, and click the [OK] button.
Incremental search
Specify a keyword to highlight it.
Operating procedure
1. Press the + keys.
The icon of the mouse cursor changes to , and an ST editor is switched to the incremental search mode.
2. Enter a keyword to be highlighted directly.
The corresponding location to the entered keyword is highlighted. (Up to 3000 keywords)
3. Press the + keys to jump to a lower keyword.
Press the ++ keys to jump to an upper keyword.
Searching and jumping can also be performed by using the following menus:
• ST editor: [Find/Replace] [Incremental Search] [Search Down]/[Search Up]
• Inline structured text in a ladder editor: [Find/Replace] [Inline Structured Text] [Incremental Search]
[Search Down]/[Search Up]
6 CREATING PROGRAMS
6.4 Creating an ST Program 317
Displaying instruction help
The instructions used in an ST program can be checked in e-Manual Viewer.
To check the instructions, the file of the corresponding manual must be registered in e-Manual Viewer.
The applicability of help display is shown below.
: Applicable, : Not applicable
Token type Applicability
Operator
Control syntax
Function
Function block
Constant, variable, comment
Operating procedure
1. Place the cursor on the token of the target instruction.
If a help file is associated with a function or function block, the help file opens. (Page 133 Associating
data with a help file)
6 CREATING PROGRAMS
318 6.4 Creating an ST Program
6.5 Creating an FBD/LD Program
This section explains the creation method of an FBD/LD program.
The details on the specification of FBD/LD program are described in the following manual. Please read it in advance.
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
In the FBD/LD program with the process control extension enabled, the process control function blocks can be used.
For details, refer to the following:
Page 24 Settings for using process control functions
The display format and detailed operation settings for each function can be set by setting the following option.
[Tool] [Options] "Program Editor" "FBD/LD Editor"
Window
Select "Program" "(execution type)" "(program file)" "(program block)" "(worksheet)" in the navigation window.
Toolbar
FBD/LD editor
(1)
(2)
(9)
(10)
(4)
(6)
(5) (3)
(7)
(13)
(8)
(11)
(3)
(12)
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 319
Displayed items
Item Description Editing operation
(1) LD element An element that constitutes a ladder program Editing method: Page 325 Entering programs
Page 321 LD element
(2) FBD element An element that constitutes an FBD program
Page 322 FBD element
(3) Common A common element that helps creating an FBD/LD program
element Page 323 Common element
(4) Connection line A line that connects the connection points between elements. Editing method: Page 327 Common operations of elements
It is displayed by placing an element to be connected closer to the
connection point on the connection target.
(5) FBD network A single FBD network block composed of all elements connected each Release from an FBD network block: Select an element to
block other or elements that perform any processing independently (such as be released, and move it with the key held down.
a function block and a jump label). Layout adjustment: Page 335 Layout correction
Maximum 4096 FBD network blocks can be created in a program.
(6) FBD network A number assigned for each FBD network block in order from upper left
block No.*1,*2 to lower right on the editor is displayed.
(7) Execution The program execution order is displayed.
order*1,*2
(8) Automatic It is automatically displayed when a connection line cannot be
connector displayed due to the positions of elements.
Elements with same number indicates that they are connected.
(9) Connection point A terminal point of when connecting elements with a connection line. Inverting: Page 326 Switching methods for contacts/
By adding an element while a connection point is being selected, the instructions
element can be added with it connected already.
(10) Grid*1,*2 A grid line that serves as makers to place the elements
(11) Smart tag*2 An operation button displayed around the selected element.
Relevant functions can be performed by clicking the button.
(12) Tool hint*2 The information on device/label and FB/FUN where the mouse cursor
is placed over is displayed.
(13) Page break*1 A line that indicates a page break for printing (Page 95 Printing
FBD/LD programs)
6 CREATING PROGRAMS
320 6.5 Creating an FBD/LD Program
Elements
The following tables show the usable elements in an FBD/LD program.
LD element
Element Name of each part Description
Left power rail element (1) Output connection point The position of a left power rail can be placed at will, and it will be the
(2) Left power rail starting point for creating a ladder program.
(1)
(2)
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 321
FBD element
Element Name of each part Description
Variable element (1) Input connection point Specify the device/label.
(2) Output connection point Information can be obtained/stored in the specified device/label.
(5) (3) Label comment/device comment*1,*2,*3 It is switched to a constant element by entering a constant.
(3) (4) Device/label
(4) (5) Assigned device*1 (Only for global
labels to which devices are assigned)
(1) (2)
Function block element (1) Input connection point Indicates a block for function corresponding to the data type.
(2) Output connection point It is used with an FB instance name assigned to each element.
(4)
(3) (3) FB instance name (label)*5 For details on the element, refer to the following:
(5) (4) Label comment*1,*2 Page 482 SEGMENTING PROGRAMS
(5) Data type The width of an element can be changed. (Page 332 Changing the
(6) Input/output label (VAR_IN_OUT)*4 element size)
(7) Input/output label (other than The height of an element can be changed. (Page 334 Changing
VAR_IN_OUT)*4 the height of an element)
(6)
(1) (7) (2)
Function element (1) Input connection point Indicates a block for function corresponding to the data type.
(2) Output connection point The name is not displayed in the return value.
(3) (3) Data type For details on the element, refer to the following:
(4) Input/output label (argument)*4 Page 482 SEGMENTING PROGRAMS
(5) Return value The width of an element can be changed. (Page 332 Changing the
(4)
element size)
(5) The height of an element can be changed. (Page 334 Changing
the height of an element)
6 CREATING PROGRAMS
322 6.5 Creating an FBD/LD Program
Common element
For a jump element and a return element, inverting contact on its connection point is not available.
Element Name of each part Description
Jump element (1) Input connection point It is used to jump the execution processing from a jump element to a
(2) Label*1 jump label element.
(2)
(1)
Jump label element (1) Label*1 Enter a label to be specified as the jump destination.
(1)
Connector element (1) Input connection point It is used instead of a connection line when placing an FBD network
(2) Output connection point block in the display range or print range on an editor. The same
(3) (3) Connector label connector label indicates that they are connected.
(2)
(1)
Return element (1) Input connection point It is used to suspend the processing in the middle of processing.
(2) Character string, "RETURN" (Not
(2) editable)
(1)
*1 Only local label that "Pointer" is selected for "Data Type" can be used. In addition, the members of a structure cannot be used.
The settings of the comment element color and text layout can individually be changed by using smart tags.
• To set the font color, click the smart tag (1).
• To set the background color, click the smart tag (2).
• To set the text layout, click a smart tag (4) to (9).
• To return the settings of colors and text layout which were individually changed to the default, click the smart
tag (3).
(1)
(2)
(3)
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 323
Precautions
When the following contents are changed by using a menu or setting an option, the display of a label name, device, comment,
or assigned device of an element may overlap with those of another element. In that case, arrange the position of those
elements.
• Whether or not to display an assigned device
• Whether or not to display a device/label comment
• Number of rows to display a device/label comment
• Number of wrapping rows for device/label name
• Number of cells for device/label name
• Number of wrapping rows for instance name
• Number of cells for instance name
6 CREATING PROGRAMS
324 6.5 Creating an FBD/LD Program
Entering programs
This section explains the entering method of an FBD/LD program.
Adding elements
Operating procedure
Using the edit box
Select*1 a cell that the element is to be added, then enter a label name or data type of FB/FUN directly.
An element name and label name can be edited directly by selecting a placed element and pressing the key.
The following items can be entered:
• Device
• Label/assigned device (Page 327 Displaying a global label entered by using an assigned device)
• Constant
• FB/FUN
• Instruction
• Data name of an inline structured text element
*1 Options of instructions/labels are displayed by pressing the + keys.
In addition, by selecting "Yes" for the following option, when entering the description of a device comment, label comment, or instruction,
6
ones for which the data has been set can be displayed as options.
[Tool] [Options] "Edit" "Instruction/Device/Label Candidacy Display" "Candidate Display Setting" "Display the
Corresponding Device in Entering Device Comment"
2. Enter the information of a label (FB instance)*1 in the "Undefined Label Registration" screen.
3. Connect variable elements to input/output arguments.
For the creation method of a program in a function block, refer to the following:
Page 484 Creating a Function Block
*1 If the definition name of the function block includes any of the following symbols, the symbol is replaced with an underscore (_): plus
sign (+), minus sign (-), exclamation mark (!), left round bracket ((), right round bracket()), or backquote (`).
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 325
Switching methods for contacts/instructions
Select a contact/instruction to be switched, and select [Edit] [Easy Edit] [Invert Contact (Open/Close)]( )/[Switch
Pulse]( )/[Switch SET and RST]( ) or follow the methods shown below.
Switching contacts and Shortcut key Remarks
instructions
Switching open/close contact, raising/
falling pulse
Inverting contact on connection point of Only when the data type of the connection point is
FB/FUN one of the following:
• Bit
• Word [Unsigned]/Bit String [16-bit]
• Double Word [Unsigned]/Bit String [32-bit]
• ANY_BIT
• ANY_BOOL
6 CREATING PROGRAMS
326 6.5 Creating an FBD/LD Program
Displaying a global label entered by using an assigned device
By entering a device which was assigned as a global label to a program, the global label of the device can be displayed in the
program.
Note that, only global labels whose data type is the simple type with no array can be displayed.
Enter an assigned device after changing the entering method by one of the following option, then the global label is displayed.
• [Edit] [Edit Mode] [Use Assigned Device for Label Input]( )
• [Tool] [Options] "Program Editor" "FBD/LD Editor" "Enter Element" "Operational Setting" "Use assigned
device for label input"
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 327
*1 Multiple FBD network blocks can be selected by selecting an FBD network block after selecting multiple elements. For an element which
is not connected another element, the selection is canceled.
*2 For function element and function block element, this follows the operation for double-clicking, which is selected from [Tool] [Options]
"Program Editor" "FBD/LD Editor."
*3 A function to connect elements automatically using a connection line. Enabling or disabling this function can be changed in the following
menu, [Edit] [Edit Mode] [Element Auto-connect]( ).
Operating procedure
1. Select [Edit] [Add Element (Ladder Symbol)] [Inline Structured Text] ( ).
• By entering '@STB' or 'STB' on the edit box, an inline structured text element can be inserted. (Page
325 Using the edit box)
• Inline structured text elements can be copied and deleted in the same manner as other elements.
(Page 327 Common operations of elements)
• In an inline structured text program, a local label of an FBD/LD program using the inline structured text
program can be used.
• An inline structured text program displayed in an ST editor can be switched by clicking another inline
structured text element.
• When performing any of the following operations while an inline structured text program is displayed in an
ST editor, the ST editor is displayed in gray:
Deleting an inline structured text element
Closing an FBD/LD editor in which an inline structured text element exists
Deleting an FBD/LD program in which an inline structured text element exists
6 CREATING PROGRAMS
328 6.5 Creating an FBD/LD Program
Precautions
• When copying and pasting an inline structured text element to the same FBD/LD editor, it is pasted with a different data
name.
• A conversion error occurs in the following cases:
An inline structured text element with the data name of "???" exists.
65 or more inline structured text elements exist in one program block.
• Highlighting for the change tracking of an inline structured text program is cleared in the following cases:
An inline structured text element is deleted.
The data name of an inline structured text element is changed to "???" by undoing/redoing.
• The label of which data type is pointer cannot be used in the inline structured text program.
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 329
Displaying/setting FB properties
FB properties can be displayed and set in the "FB Property" window.
For details, refer to the following:
Page 375 Display/setting an FB property
2. Select [Edit] [Change FB/FUN Data], and enter the data type to be changed.
An element can also be replaced by dragging it from the element selection window and dropping it onto the
element to be replaced.
For function elements, similarly, the data type can be changed by selecting a function element and entering a
new data type directly.
Adding/deleting arguments
Only for a function of which the number of arguments can be changed, an argument can be added or deleted.
Operating procedure
1. Move the cursor on a function element.
6 CREATING PROGRAMS
330 6.5 Creating an FBD/LD Program
Hiding arguments
Arguments (input/output labels) of function elements/function block elements can be hidden.
The arguments that can be hidden are as follows:
• Arguments of a function element: ENO, VAR_OUTPUT
• Arguments of a function block element: ENO, VAR_INPUT, VAR_OUTPUT, VAR_OUTPUT_RETAIN
The following shows the operating procedure to hide arguments by using smart tags.
Operating procedure
1. Select an argument to be hidden, and click (Mark as Hidden). (Multiple selections allowed.)
The argument is set as a hidden target, and the color of its name is changed.
2. Select a function element/function block element, and click (Hide Argument).
The argument which is set as a hidden target and also not connected to an element is hidden.
In addition, a dashed line is displayed under the function element/function block element.
• An argument can be excluded from hidden targets by selecting the argument and clicking (Unmark as
Hidden).
• A hidden argument can be displayed again by selecting the function element/function block element and
clicking (Show Argument).
• Arguments can also be displayed or hidden by using the following menus:
[Edit] [I/O Argument] [Mark as Hidden]
[Edit] [I/O Argument] [Unmark as Hidden]
[Edit] [I/O Argument] [Hide Argument]
[Edit] [I/O Argument] [Show Argument]
• When there is no argument set as the hidden target, all arguments which are not connected to an element
are hidden by clicking (Hide Argument).
Precautions
• When switching whether to display or hide arguments, the program will be in the unconverted state. In this case, the
program execution order may be changed.
• When changing data of a function element/function block element or updating the definition information after hiding
arguments, all arguments are displayed.
In addition, the argument displayed in the same position as the one marked as hidden before changing/updating is set as
the hidden target. (Excluding arguments which cannot be hidden)
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 331
FB/FUN whose definition is unclear
Once the definition of a function block element or function element is deleted or changed, the element is used as one whose
definition is unclear and an error occurs when it is converted. The following shows a display example of a function block
element whose definition is unclear.
When the definition of an element is changed, select the element, then select [Edit] [Update FB/FUN] and update the
definition information.
When the definition of an element does not exist, select the element, then select [Edit] [Change FB/FUN Data] and change
the data.
Operating procedure
Comment element/inline structured text element
1. Place the cursor on the frame of an element where the grips are displayed.
The icon of the cursor changes.
2. Move the cursor vertically and horizontally with the frame being held.
(For a comment element, the height and width must be one cell minimum, but there is no limitation on the maximum size.)
(For an inline structured text element, the height must be between 2 and 20 cells, and the width between 3 and 30 cells.)
6 CREATING PROGRAMS
332 6.5 Creating an FBD/LD Program
Function element/function block element
1. Place the cursor on the frame of an element where the grips are displayed.
The icon of the cursor changes.
2. Move the cursor vertically and horizontally with the frame being held. (Width: 3 cells minimum, 30 cells maximum)
The operation can be canceled by pressing the key while moving the cursor.
The size of an element can be adjusted automatically by double-clicking the frame of the element with its grips
being displayed. (For a function element or function block element, the size will be adjusted so that the
6
character strings of its data type and input/output labels are fully displayed.)
Precautions
Once the size of an element is changed, the program will be in the unconverted state.
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 333
Changing the height of an element
The space between input/output labels and variable elements can be adjusted, and the heights of function elements and
function block elements can be changed.
The height can be selected from the following two types.
Type Description Display example
Normal Input/output labels and variable elements are
displayed with the default spacing.
Compact Input/output labels and variable elements are • When adapting the width according to the input/output labels
displayed with less spacing than the default.
The following shows the operating procedure to change the height of a function element and a function block element.
Operating procedure
1. Select a function element or a function block element. (Multiple selections allowed.)
2. Right-click it and select [Edit] [Toggle FB/FUN Height] [Adapt Width]/[Keep Width] from the shortcut menu.
In an FBD/LD editor, the height can also be changed by selecting the following menu:
• [Edit] [Toggle FB/FUN Height] [Adapt Width]/[Keep Width]
By setting "Normal" or "Compact" for the following options, the height of a function element and a function
block element to be added can be set in advance.
• [Tool] [Options] "Program Editor" "FBD/LD Editor" "Enter Element" "Operational Setting"
"FB/FUN height"
• [Tool] [Options] "Program Editor" "SFC Diagram Editor" "Enter Element" "Operational Setting"
"FB/FUN height"
Precautions
If switching to the compact height, the execution order number may be hidden depending on the position of variable elements.
6 CREATING PROGRAMS
334 6.5 Creating an FBD/LD Program
Layout correction
Operating procedure
Inserting a row
Select a cell in a row to be inserted, then select [Edit] [Layout] [Insert Row].
A new row is inserted on the selected cell.
Deleting a row
Select a cell in a row to be deleted, then select [Edit] [Layout] [Delete Row].
The row including the selected cell is deleted. When the row includes any elements, the row cannot be deleted.
Inserting/deleting a column
Move the cursor onto an FBD network block in which a column will be inserted/deleted, then select [Edit] [Layout] [Insert
Column(in FBD network block)]/[Delete Column(in FBD network block)].
A column is inserted/deleted in the range of the FBD network block.
The details of 'Layout Correction in FBD Network Block' and 'Batch Correction of Layout in FBD Network
Block' can be set in the following option.
• [Tool] [Options] "Program Editor" "FBD/LD Editor" "FBD Network Block" "Layout Correction in
FBD Network Block"
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 335
Precautions
Execution order after correcting layout
When 'Layout Correction in FBD Network Block' or 'Batch Correction of Layout in FBD Network Block' is performed, the size
or position of FBD network blocks is changed and that may cause the change of execution order.
Display the execution order to check if the order is changed before and after the layout change.
If the execution order is changed, move the position of the elements manually.
• Two or more variable elements are connected to one input or output argument.
*1 Whether or not to move a variable element can be set in the following option.
[Tool] [Options] "Program Editor" "FBD/LD Editor" "FBD Network Block" "Layout Correction in FBD Network Block"
"Move the Position of Variable Elements to Connect to FB/FUN"
6 CREATING PROGRAMS
336 6.5 Creating an FBD/LD Program
Utilizing a tag FB
This section explains the method for utilizing a tag FB in an FBD/LD program for process control.
A tag FB is required to be registered on the tag FB setting editor in advance.
For details on registration of tag FBs, refer to the following:
Page 249 Registering Tag FBs
Operating procedure
1. Select an FB instance in the element selection window, then drag and drop it onto an FBD/LD editor.
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 337
Linking a comment
A comment element is simultaneously moved with an element by linking them.
A comment link can be set for an element except for a connection line, input/output argument of an FB/FUN, and comment
element.
Multiple comment elements can be linked with a single element.
The link of a comment element can be set only for a single element.
To change the link of a comment element to another, release the link first.
Operating procedure
1. Select a comment element and a single element. (Multiple selections allowed only for comment elements.)
Releasing links
Releasing the links between a comment element and an element.
All links can be released by selecting an element linking with multiple comment elements and releasing them.
Operating procedure
1. Select a comment element linking with an element.
6 CREATING PROGRAMS
338 6.5 Creating an FBD/LD Program
Linking comment elements and elements in a batch
Set the links of unlinked comment elements in a batch in the active FBD/LD editor.
Operating procedure
Select [Edit] [Easy Edit] [Comment Batch Link].
After this setting, the background of the linked comment element is changed.
2. When no element is found in the procedure above, the link is set to the closest element that is found by searching in the
blue frame (range with five cells to the left from one comment element and a depth of the comment element and five cells
downward). It is searched from the upper right of the range to lower left.
Any link is not set if no element that is to be the link target is found in the conditions above.
6
+5 +5
+5
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 339
Displaying FBD network blocks in a list
FBD network blocks in the active FBD/LD editor are displayed in a list.
To display a comment in the FBD network block list, the comment needs to link with the element of the FBD network block.
For details on the link of comments, refer to the following:
Page 338 Linking a comment
Window
Select [Find/Replace] [FBD Network Block List].
Displayed items
Item Description
No. An FBD network block number*1 is displayed.
Comment An element in the FBD network block and a comment linking with the element are displayed.
When multiple comments are set to the linking element, the comment placed at the uppermost in the left side is
displayed.
Up to 500 characters can be displayed.
*1 Select the following menu to display an FBD network block number on an FBD/LD editor.
[View] [FBD Network Block No. Display]
Operating procedure
Jumping to an FBD network block
Double-click the row of an FBD network block to jump.
To close the "FBD Network Block List" screen after the jump, select the checkbox of "Close dialog after jumping to Network.".
6 CREATING PROGRAMS
340 6.5 Creating an FBD/LD Program
Searching for/replacing data in a program
The search functions that can be used in FBD/LD editor are as follows.
Function name Description Reference
Cross reference To check a declaration location and a reference location of a device and a Page 445 SEARCHING FOR DATA
label in a list.
Device list To check the usage of devices being used.
Find and replace • To search for and replace a device name, label name, instruction name,
and character string.
• To change contacts between open contact and close contact
• To replace devices in a batch.
Displaying Help
The elements used in an FBD/LD program can be checked in e-Manual Viewer.
To check the elements, the file of the corresponding manual must be registered in e-Manual Viewer.
Operating procedure
1. Select the element to be checked.
If a function block or function is associated with a help file, the help file opens. (Page 133 Associating
data with a help file)
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 341
6.6 Creating an SFC Program
This section explains the creation method of SFC program.
The details on the specification of SFC program are described in the following manual. Please read it in advance.
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
The display format and detailed operation settings for each function can be set by setting the following option.
[Tool] [Options] "Program Editor" "SFC Diagram Editor"
Creation procedure
1. Set the point of step relay (S) in "Device Setting" of "CPU Parameter." (The default is set as 0 points.)
6 CREATING PROGRAMS
342 6.6 Creating an SFC Program
Configuration of an SFC diagram editor
An SFC diagram editor is a graphical language editor to show a sequence control as a state transition diagram.
By simply inserting the prepared SFC elements along the operation flow, the each element is connected automatically and a
program can be created.
Window
Select "Program" "(execution type)" "(program file)" "(block)" "ProgramBody" in the navigation window.
Immediately after creating a program, SFC elements that are necessary to create a program such as an initial step and end
step are placed.
Toolbar
(10)
(11)
6
(7)
(5)
(6)
(1) (3)
(2)
(5) (8)
(6)
(9)
(4)
6 CREATING PROGRAMS
6.6 Creating an SFC Program 343
Displayed items
Item Description Editing operation
SFC (1) Step Indicates one processing of a program. Entering: Page 350 Inserting initial steps, Page 351
element Inserting/editing normal steps
Displaying a start destination block: [View] [Open
Zoom/Start Destination Block]
(2) Transition Indicates a condition (transition conditions) to move to the next step. Entering: Page 353 Inserting/editing transitions
Transitions are written in a Zoom or on an SFC diagram, and they Displaying a start destination block: [View] [Open
can be displayed in multiple formats. For details, refer to the Zoom/Start Destination Block]
following:
Page 347 Display format of action/transition
(3) Action*1,*2 Indicates an assigned operation output to a step. Entering: Page 354 Inserting/editing actions
Actions are written in a Zoom or an SFC diagram, and they can be Displaying a start destination block: [View] [Open
displayed in multiple formats. For details, refer to the following: Zoom/Start Destination Block]
Page 347 Display format of action/transition
(4) FBD/LD element An FBD/LD element that can be used only for a transition. Editing method: Page 325 Entering programs
Page 321 Elements
The elements that can be used on an SFC diagram differs from the
one for an FBD/LD editor. For details, refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
(5) Step No./Transition No.*1 An assigned number to a step/transition automatically by conversion. Changing an assigned number: Page 368 Editing
A step relay (S) of a CPU module is assigned to a step. A step No. Step No./Transition No.
(S) is used for SFC control instructions, the current value change
with the monitor function or in a watch window, and the data logging/
memory dump function.
The assigned number can be changed.
(6) Device comment*1 The device comment of a Step No. (S)/Transition No. (TR) is Entering: Page 351 Entering comments of Step No.,
displayed. Page 354 Entering comments of Transition No.
The device/label comment which was set to transitions/actions is not
displayed.
(7) Grid*1 A grid line that serves as makers to place the elements
*2
(8) Smart tag An operation button displayed around a selected element.
Relevant functions can be performed by clicking the button.
(9) Tool hint*2 Information where the mouse cursor is placed over is displayed.
(10) Information area "Number of used/maximum number" of SFC elements are displayed.
The font color is changed in red when the number of used reached to
the maximum number. SFC elements cannot be created once the
number reached to the maximum number. In that case, arrange the
number of elements, for example, by deleting.
(11) Comment element Comments can be put on an SFC editor. The comments does not
affect to the program.
The frame size of a comment can be adjusted for the comment length
by placing the mouse cursor on the frame and double-clicking it.
6 CREATING PROGRAMS
344 6.6 Creating an SFC Program
Precautions
When the following contents are changed by using a menu or setting an option, the display of a label name, device, comment,
or assigned device of an element may overlap with those of another element. In that case, arrange the position of those
elements.
• Whether or not to display a device/label comment
• Number of rows to display a device/label comment
• Number of cells for device/label name
• Whether or not to display an assigned device
• Number of rows to display a device/label name by wrapping it around
6 CREATING PROGRAMS
6.6 Creating an SFC Program 345
SFC element
The following shows elements which can be used in an SFC program.
For details on creatable numbers of block/each element, action, and each element, refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
Item Description
Step Initial step Indicates the head of a block. One initial step is necessary for a block.
Multiple initial steps can be created to perform multiple processes in parallel.
(1) (2) The operation of a step can be changed by specifying the step attribute. For details,
(3) (4) refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
(1) Step name MELSEC iQ-F FX5 Programming Manual (Program Design)
(2) Step No. (S) Normal step Once a transition that places under a step is satisfied, the next step is activated.
(3) Step attribute The operation of a step can be changed by specifying the step attribute. For details,
(4) Step attribute target refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
End Step Indicates the end of a block.
Step No. is not assigned to an end step.
(1)
(2)
(1) Transition name
(2) Transition No. (TR)
Selection branch Indicates a branch displayed with a single line for selecting one processing.
Simultaneous branch Indicates a branch displayed with a double line and performs multiple processes in
parallel.
Jump Makes the execution processing jump to the specified step in the same SFC block.
A jump and a connection line can be switched.
6 CREATING PROGRAMS
346 6.6 Creating an SFC Program
Item Description
Action Once the steps are activated, the assigned action will be executed.
'N' indicates that an action perform when the step is activated. Other than 'N' cannot be
(1) (2) set.
(1) N: Qualifier
(2) Action name
Comment element It is used to enter a comment.
Up to 2000 characters can be entered in a comment element.
The frame size of a comment can be adjusted for the comment length by placing the
mouse cursor on the frame and double-clicking it.
For setting color for individual comment elements, refer to the following:
Page 323 Common element
GX Works3 GX Works2
Direct expression
• Action name/transition name is underlined when selecting the detailed expression in the switch ladder display.
• For the direct expression, "*" is displayed to the transition name that an FBD/LD element is not connected.
• When changing from "Detailed Expression" to "MELSAP-L (Instruction Format)" in [Switch Ladder Display], "????????" is
displayed for an instruction which cannot be treated in MELSAP-L (instruction format).
• When a Zoom does not exist in MELSAP-L (instruction format), "?" is displayed.
6 CREATING PROGRAMS
6.6 Creating an SFC Program 347
Changing the display format (type) of a transition
The file size of a project can be reduced by changing the display format of a transition (Zoom) created in Ladder Diagram
language.
The following shows the procedure to change the display format.
Operating procedure
1. Open an SFC diagram editor.
3. Set each item in the "Change Type of Transition" screen, and click the [OK] button.
The display format of a transition (Zoom) that consists only of one open contact and 'TRAN' or of one close contact and
'TRAN' is changed as follows:
Before change After change
Detailed expression Label/device
MELSAP-L (instruction format)
Precautions
• The display format of an unused Zoom will not be changed.
• If the display format is changed, a Zoom will be deleted and an SFC program will be in the unconverted state.
Convert all the unconverted SFC programs.
• If a security is set for a program file, the display format of a transition cannot be changed.
However, it can be changed if the security is disabled.
• If an SFC block is read-only or unconverted, the display format of a transition cannot be changed.
Ex.
The following table shows examples of how open contacts are changed:
Type Description Example
Before change After change
Timer device They will be changed to the following Timer device: T0 TS0
Counter device devices:
• TTS
• STSTS
• LTLTS
• LSTLSTS
• CCS
• LCLCS
Timer type or counter The label name will be suffixed with Timer type label: tdLabel3 tdLabel3.S
type label '.S.'
Other devices Only the display format will be Bit type device: X0 X0
changed.
No change will be made in the device
name.
Other labels Only the display format will be Bit type label: bLabel1[5] bLabel1[5]
changed.
No change will be made in the label
name.
6 CREATING PROGRAMS
348 6.6 Creating an SFC Program
Ex.
The following table shows examples of how close contacts are changed:
Type Description Example
Before change After change
Timer device They will be changed to the following Timer device: T0 !TS0
Counter device devices:
The device name will be prefixed with
'!.'
• T!TS
• ST!STS
• LT!LTS
• LST!LSTS
• C!CS
• LC!LCS
Timer type or counter The label name will be prefixed with '!' Timer type label: tdLabel3 !tdLabel3.S
type label and suffixed with '.S.'
Other devices The device name will be prefixed with Bit type device: X0 !X0
'!.'
6
Other labels The label name will be prefixed with '!.' Bit type label: bLabel1[5] !bLabel1[5]
6 CREATING PROGRAMS
6.6 Creating an SFC Program 349
Creating SFC diagrams
This section explains the creation method of an SFC diagram.
Elements which can be inserted differ depending on selected places.
Since the size or place of each element/connection line are placed automatically, it cannot be freely changed.
Precautions
When the contents shown below were entered/selected, a red frame appears in the edit box and the settings cannot be
configured.
• Duplicate step name/Step No./Transition No.
• Unusable step attribute
• Step name which cannot be specified as a jump destination
3. Select a jump, then select [Edit] [Modify] [Switch between Jump Symbol and Connection Line].
(B)
6 CREATING PROGRAMS
350 6.6 Creating an SFC Program
Inserting/editing normal steps
Inserting a normal step
Select a step/transition/jump, then select [Edit] [Insert] [Step] ( ).
By entering a Step No./number to the edit box for changing a step name, the entered number is set as the
step name or the Step No.
6 CREATING PROGRAMS
6.6 Creating an SFC Program 351
Creating a step that makes another block activated
A step that activates another block when a step was activated (block start step) is creatable.
1. Insert a step.
1. Insert a step.
3. Specify a step name of which the step is to be deactivated for the step attribute target.
When 'S999' is specified, all steps being held in the block are the target.
For details on the performance of step attribute (R), refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
6 CREATING PROGRAMS
352 6.6 Creating an SFC Program
Inserting/editing transitions
Inserting a transition
Select a step/transition/jump, then select [Edit] [Insert] [Transition] ( ).
Creating a transition
There are five ways of creation methods of a transition.
Each transition has a different type. The type can be checked in the "Transition Properties" screen.
"Detailed Expression" or "MELSAP-L (Instruction Format)" for the ladder display method can be switched in [View] [Switch
Ladder Display].
Creation method Type Operating procedure
Create a condition with a program (ladder, ST, Detailed expression Page 369 Creating Zooms (detailed expression)
FBD/LD).
Describe a program in a Zoom.
Create a condition with a program (instruction Detailed expression Page 370 Creating Zooms (MELSAP-L (instruction format))
format of a ladder).
Describe a program in the properties.
Use TRUE/FALSE as conditions. Label/device Select a transition, then enter TRUE/FALSE in the transition name.
Describe a transition on an SFC diagram.
Use ON/OFF of bit device/bit type label as Label/device Select a transition, then enter the name of any of the following devices and label
conditions. as the transition name.*1
Describe a transition on an SFC diagram. • Bit device
• Bit-specified word device
• Bit type label
Create a condition with an FBD/LD element. Direct expression Select [Edit] [Modify] [Direct Expression for Transition], then connect with an
Describe a transition on an SFC diagram. FBD/LD element.
6 CREATING PROGRAMS
6.6 Creating an SFC Program 353
*1 A device/label can be used as a close contact by prefixing the device/label name with '!.'
(Example: Enter '!X0' to use X0 as a close contact.)
When changing the transition type from the direct expression to the detailed expression, the data name of the transition is
assigned automatically.
The data name may not be returned when changing the transition type from the detailed expression to the direct transition and
changing to the detailed expression again.
(Example: Detailed expression (TRAN1) direct expression (*) detailed expression (Transition5))
In this case, select [Edit] [Undo], or set the data name again.
When a comment of transition No. overlaps with a jump symbol or connection line, the size of the transition
can be changed by selecting the following menu with one or more transitions being selected.
• [Edit] [Modify] [Toggle Transition Size]
Inserting/editing actions
Inserting an action
Select a step/an action, then select [Edit] [Insert] [Action] ( ).
Multiple actions can be inserted in a step.
If all actions in a step are deleted, a transition is only checked all the time while a step is activated. Once the
transition was satisfied, the next step is activated.
Steps without actions can be used when synchronizing the steps that are performing simultaneously etc.
Creating an action
There are three ways of creation methods of an action.
Each action has a different type. The type can be checked in the "Action Properties" screen.
"Detailed Expression" or "MELSAP-L (Instruction Format)" for the ladder display method can be switched in [View] [Switch
Ladder Display].
Creation method Type Operating procedure
Create an action with a program (ladder, ST, FBD/ Detailed expression Page 369 Creating Zooms (detailed expression)
LD).
Describe a program in a Zoom.
Create an action with a program (instruction format Detailed expression Page 370 Creating Zooms (MELSAP-L (instruction format))
of a ladder).
Describe a program in the properties.
Use ON/OFF of bit device/bit type label as an Label/device Select an action, then enter a bit device/bit-specified word device, or a bit type
action. label in the action name.
Describe an action on an SFC diagram.
6 CREATING PROGRAMS
354 6.6 Creating an SFC Program
Inserting/editing jumps (connection lines)
Inserting a jump
Insertion position Operating procedure
1. Select a transition, then select [Edit] [Insert] [Jump] ( ).
2. Select a step name of jump destination.
1. Select a transition, then select [Edit] [Modify] [Switch between Jump Symbol and
Connection Line].
2. Select a step name of jump destination.
All SFC diagram written below the inserted jump are deleted.
6 CREATING PROGRAMS
6.6 Creating an SFC Program 355
Precautions
When multiple initial steps are included, a jump cannot be inserted in a step of a simultaneous branch.
To connect a jump with a simultaneous branch, connect it immediately before the simultaneous branch according to the
following procedure.
2. Select a transition, then select [Edit] [Modify] [Switch between Jump Symbol and Connection Line].
4. Select a jump, then select [Edit] [Modify] [Switch between Jump Symbol and Connection Line].
6 CREATING PROGRAMS
356 6.6 Creating an SFC Program
Inserting/adding selection branches and simultaneous branches
Inserting a branch below a step/transition
Select a step/transition, then select [Edit] [Insert] [Selection Branch] ( )/[Simultaneous Branch] ( ).
When a selection branch/simultaneous branch was inserted, the lacking SFC elements are inserted automatically to make it
be a proper SFC diagram.
6 CREATING PROGRAMS
6.6 Creating an SFC Program 357
Common operations of SFC elements
Operation Operating procedure
Mouse Keyboard
Select To select a single Click an element to be selected. Move the cursor on an element to be selected.
element
To select multiple • Click multiple elements with the key held down. Select multiple elements by moving the cursor with
elements • Click the background of an SFC diagram editor, and drag the key held down.
the mouse diagonally around all elements to be selected.
To select an SFC Click an element, then select [Edit] [Select SFC Network Select an element, then press the ++
network block Block]. keys.
To select whole The operation is the same as that for selecting multiple Press the + keys.
elements elements.
Move Drag and drop an element. *1
Copy Drag and drop an element to be copied with held down. Press the + keys, then select the copy
*1 destination and press the + keys. (Copy +
paste)
By setting the following, a Zoom can be copied when copying a transition or an action to other blocks or
projects. However, when copying them by dragging and dropping, the Zoom is not deleted even if the
following has been set.
• [Tool] [Options] "Program Editor" "SFC Diagram Editor" "Action/Transition" "Operational
Setting" "Include Zoom in Copying"
When copying a Zoom from other projects, set the following setting in a project of a copy source.
In addition, by setting the following option, the device comment of a step relay with block specification
(BL\S) or SFC transition device with block specification (BL\TR) can also be copied when copying a step/
transition.
• [Tool] [Options] "Program Editor" "SFC Diagram Editor" "Action/Transition" "Operational
Setting" "Include Device Comment in Copying"
6 CREATING PROGRAMS
358 6.6 Creating an SFC Program
Step
• When deleting an end step, the transition placed immediately before the end step also is deleted. Thereby, the step that
connects to the above transition is changed to an end step. If the element above of the end step is a branch, the branch
also is deleted.
• The following shows the operation example of cutting and pasting.
If the step (1) is cut, the next transition (2) will be deleted together. If the cut step is pasted with selecting the step (3), the
lacking transition (4) of the step (3) will be inserted.
(1) (3)
(2) (4)
• The same step names and step numbers cannot be set in a same SFC diagram. When copying a step, the name and
number of the copied step are automatically changed and pasted to the copy destination. 6
6 CREATING PROGRAMS
6.6 Creating an SFC Program 359
A step can be moved by dragging and dropping (Also, It can be copied with held down). Note that the operations differ
depending on the place where it is dropped.
Operation Example
Drag and drop a step (Step2) onto the connection line. The step (Step2) is
moved there.
When an action is connected with a step, the action is moved together.
Drag and drop a step (Step2) onto another step (Step1). The step (Step1) is
replaced.
When an action is connected to the dragged step, The step is inserted under
the dropped destination.
6 CREATING PROGRAMS
360 6.6 Creating an SFC Program
Transition
Same Transition No. cannot be set in a same SFC diagram.
When copying a transition, the number of the copied transition is automatically changed and pasted to an SFC diagram in the
same block.
When a Zoom has already been created, the Zoom is not deleted even if the transition is deleted on an SFC diagram. Delete
it in the "Zoom List" screen. (Page 371 Displaying a Zoom list)
A transition can be moved by dragging and dropping (Also, It can be copied with held down). Note that the operations
differ depending on the place where it is dropped.
Operation Example
Drag and drop a transition (Transition1) onto the connection line. The
transition (Transition1) is moved there.
When a transition of the direct expression connects with an FBD/LD element
such as a contact, the FBD/LD element can be moved together.
6
Drag and drop a transition (Transition1) onto another transition (Transition0).
The transition (Transition0) is replaced.
When the dropped destination is the direct expression that connects with an
FBD/LD element, the connected FBD/LD element is disconnected when
replacing it.
When the dragged transition is the direct expression that connects with an
FBD/LD element, it cannot be moved.
6 CREATING PROGRAMS
6.6 Creating an SFC Program 361
Action
Cut/copy an action, and paste it selecting a step/action of the destination.
An action can be moved by dragging and dropping (Also, It can be copied with held down). Note that the operations differ
depending on the place where it is dropped.
Operation Example
Drag and drop an action (Action3) onto a target action (Action1). The
orders of those actions will be switched.
Drag and drop an action (Action3) onto the same height of a target action
(Action1). The action (Action1) is replaced.
Drag and drop an action (Action2) onto a target step (Step1). The action
(Action2) will be moved.
When a Zoom has already been created, the Zoom will not be deleted if an action is deleted on an SFC diagram. Delete it in
the "Zoom List" screen. (Page 371 Displaying a Zoom list)
6 CREATING PROGRAMS
362 6.6 Creating an SFC Program
Jump
• Deleting a jump only is not applicable. Switch the jump to a connection line first. (Page 367 Changing a jump to a
selection branch (connection))
• It is not applicable to copy a jump only. Copy a jump source and a jump destination, and paste them.
The following is an example image when selecting and pasting a transition (Transition0). When selecting an end step, it is
pasted as well.
6 CREATING PROGRAMS
6.6 Creating an SFC Program 363
Selection branch
Drag and drop a step or a transition onto the left/right side of a selection branch. The orders of those branches is switched.
Precautions
The left side of transition is given priority to perform when both side of transitions were satisfied at a same time. Check the
operation of SFC program before switching branches.
Simultaneous branch
Drag and drop a step and a transition onto the simultaneous branch. The orders of those branch will be switched.
6 CREATING PROGRAMS
364 6.6 Creating an SFC Program
Changing an SFC element
Changing an end step to a normal step
For restoring a step which has been changed to an end step (example: Step1) once to a normal step, switch it to a jump, then
switch the jump symbol to a connection line.
Ex.
1. Select an end step (Step1), and select [Edit] [Modify] [End Step/Jump]. Then select a step name (Step2) which has
been placed under the branch before changing.
2. Select the added jump, then select [Edit] [Modify] [Switch between Jump Symbol and Connection Line].
6 CREATING PROGRAMS
6.6 Creating an SFC Program 365
Changing an end step to a jump
After switching an end step to a jump on the selection branch, delete the unnecessary step.
Ex.
1. Select an end step to be changed (Step3), and select [Edit] [Modify] [End Step/Jump]. Then select a jump destination
(Step0).
2. Delete the unnecessary step (Step3).
6 CREATING PROGRAMS
366 6.6 Creating an SFC Program
For a jump on a selection branch, insert a step before a jump to be changed, and change the step to an end step.
Ex.
1. Insert a step (Step3) before a jump to be changed.
2. Select the inserted step, then select [Edit] [Modify] [End Step/Jump].
Ex.
1. Select the transition (Transition5) that places immediately before a jump to be changed, and select [Edit] [Modify]
[Switch between Jump Symbol and Connection Line]. Then, select the step (Step4) which will be connected with the
connection line.
2. Select a jump, then select [Edit] [Modify] [Switch between Jump Symbol and Connection Line].
6 CREATING PROGRAMS
6.6 Creating an SFC Program 367
Linking a comment
A comment element is simultaneously moved with an element by linking them.
The link of a comment can be set for an SFC element and an FBD/LD element.
It cannot be set for a selection blanch, simultaneous branch, and jump symbol.
For the method for operating a link, refer to the following:
Page 338 Linking a comment
Method for moving only a comment element linking with an SFC element
By selecting an element with a link, all elements linking with it are selected.
To move a comment element linking with an SFC element without releasing the link, click the target element twice or select it
with held down.
In addition, a comment element can be moved by clicking and dragging it.
Converting a block
Whether there is any problem on an active SFC diagram can be checked. The program in a Zoom will not be checked.
Operating procedure
Select [Convert] [Convert Block].
Window
Select [Edit] [Edit Step/Transition].
Operating procedure
To change a device, select the cell in the "Step/Transition No." column and click the [OK] button.
6 CREATING PROGRAMS
368 6.6 Creating an SFC Program
Creating/displaying Zooms (action/transition)
Operating procedure
1. Double-click an action name/transition name on an SFC diagram.
2. Set each item in the "New Data" screen, then click the [OK] button.
3. Enter a program in a Zoom by using Ladder Diagram, Structured Text, or Function Block Diagram/Ladder Diagram
language.
Precautions 6
When creating a Zoom in Function Block Diagram/Ladder Diagram language, inline structured text elements cannot be used.
6 CREATING PROGRAMS
6.6 Creating an SFC Program 369
Creating Zooms (MELSAP-L (instruction format))
A program of an action/transition can be created in MELSAP-L (instruction format) of a ladder.
Enter a program in the property screen.
FX5CPUs do not support this Zoom creation in MELSAP-L (instruction format).
Ex.
Action properties screen
Operating procedure
1. Double-click an action name/transition name on an SFC diagram.
2. Enter a program in MELSAP-L (instruction format) in the "MELSAP-L (Instruction Format)" column of the displayed
"Action Properties" screen or "Transition Properties" screen.
6 CREATING PROGRAMS
370 6.6 Creating an SFC Program
By selecting "Yes (TRUE)" or "Yes (SM400)" for the following option, then clicking the [OK] button while the
"MELSAP-L (Instruction Format)" column in the "Transition Properties" screen is blank, a transition is
automatically set.
• [Tool] [Options] "Program Editor" "SFC Diagram Editor" "Action/Transition" "Operational
Setting" "Automatically Set Transition to TRUE/SM400"
The transition is set as follows:
• Data name: TRUE or SM400 (depends on the option value)
• Type: Label/Device
By clicking the [Online Change] button, the transition is also automatically set.
Performing the online program change after editing a program in MELSAP-L (instruction
format)
The online program change can be performed for the edited program in the property screen. The shortcut key for conversion,
online program change, and all program conversion can be used in the property screen.
Only contents changed in the property screen are written. The online program change can be performed only while the
property screen is opened.
The online program change cannot be performed when closing the screen by clicking the [OK] button after editing.
6
Editing a device comment and label comment
By selecting "Yes" for the following item or option, the "Edit Device/Label Comment" screen appears when clicking the [OK]
button in the property screen:
• "Enter Device/Label Comment Continuously" in the property screen
• [Tool] [Options] "Program Editor" "SFC Diagram Editor" "Action/Transition" "Operational Setting" "Enter
label comment and device comment continuously"
In the "Edit Device/Label Comment" screen, the comments for a device and label that are used in an action/transition in
MELSAP-L (instruction format) can be edited.
In addition, multiple comments can be set for one device/label. (Page 82 Display setting for multiple comments)
Window
• Open the target SFC diagram editor, then select [View] [Open Zoom List].
• Select "Program" "(execution type)" "(program file)" "(block)" in the navigation window, then right-click it and select
[Open Zoom List] from the shortcut menu.
6 CREATING PROGRAMS
6.6 Creating an SFC Program 371
Displaying an SFC block list
The data names, titles, conversion statuses, and block information (SFC information devices) of blocks in a program file can
be displayed in a list.
For details on the SFC information device, refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
Window
• Open the target SFC diagram editor, then select [View] [Open SFC Block List].
• Select "Program" "(execution type)" "(program file)" in the navigation window, then right-click it and select [Open SFC
Block List] from the shortcut menu.
(1)
(2)
(3)
Displayed items
Item Description Related operation
(1) Block comment Comments set in the "Properties" screen of block are displayed.
(2) Device/label Devices/labels set to the block information (SFC information Show/Hide of devices assigned to labels
devices) in the "Properties" screen of block are displayed. [View] [Display Device] *1
Devices assigned to labels are also displayed.
(3) Device/label comment Comments for devices/labels which were set to the block Show/Hide of comments
information (SFC information devices) in the "Properties" screen of [View] [SFC Block List Comment]
block are displayed.
*1 By selecting this menu, labels are switched to devices assigned to the labels. (When a device is not assigned, blank is displayed.)
In addition, all devices are displayed in blue.
Operating procedure
1. Move the cursor on a block to be displayed.
By double-clicking a blank row, a new block can be created and the SFC diagram of the block is displayed.
6 CREATING PROGRAMS
372 6.6 Creating an SFC Program
Copying blocks
A block can be copied on an SFC block list.
Operating procedure
1. Select a block to copy, and select [Edit] [Copy] ( ).
2. Select a block to past the copied block, and select [Edit] [Paste] ( ).
3. Select whether to change or overwrite its block number in the confirmation screen, and click the [OK] button.
4. Select an item to be pasted in the "Contents to Paste" screen, and click the [OK] button.
Precautions
If "Step/Transition Comment" is selected in the "Contents to Paste" screen, steps/transition comments in the device comment
will be pasted after pasting all copied data. Therefore, the steps/transition comments may not be pasted when the [Cancel]
button is clicked during the processing even if data pasting has been already completed.
6
Search
Searching for block information
Search for block information (device/label) on an SFC block list.
FX5CPUs do not support this search.
Operating procedure
1. Select [Find/Replace] [Block Information Find Device].
2. Enter a device/label to be searched for, then click the [Find Next] button.
Jump
Specify a block number or a data name, and move the cursor on an SFC block list.
Operating procedure
1. Select [Find/Replace] [Jump].
2. Specify a block number or a data name in the "Jump" screen, then click the [OK] button.
The "Jump" screen can be displayed by pressing a numeric key of the keyboard on an SFC block list.
Operating procedure
1. Move the cursor on a block to be displayed.
2. Select [View] [Open Label Setting].
6 CREATING PROGRAMS
6.6 Creating an SFC Program 373
Searching for/replacing data in a program
The search functions that can be used in an SFC diagram editor as follows:
Function name Description Reference
Cross reference To check a declaration location and a reference location of a device and a Page 445 SEARCHING FOR DATA
label in a list.
Device list To check the usage of devices being used.
Find and replace • To search for and replace a device name, label name, instruction name,
and character string.
• To change contacts between open contact and close contact
• To replace devices in a batch.
Precautions
• When a Zoom has been created, the data name of Zoom will not be changed if the character strings of transition name/
action name are replaced on an SFC diagram. Change them in the "Zoom List" screen. (Page 371 Displaying a Zoom
list)
Displaying Help
The elements used in an SFC program can be checked in e-Manual Viewer.
To check the elements, the file of the corresponding manual must be registered in e-Manual Viewer.
Operating procedure
1. Select a check target element.
6 CREATING PROGRAMS
374 6.6 Creating an SFC Program
6.7 Setting Initial Values of FB Properties
Display/setting an FB property
Display and set initial values of FB properties in the "FB Property" window.
For tag FBs, the initial label values in the structure members of tag data can be displayed and set.
Initial values in the "FB Property" window synchronize with ones in the label editor for each label.
Initial values changed in the "FB Property" window are applied only for the project data. To change the initial values in an
actual CPU module, use the watch function.
Window
Select [View] [Docking Window] [FB Property] ( ).
(1)
(2)
6
(3)
Displayed items
Item Description
(1) Toolbar Initialize Click this to initialize all initial values of FB properties with the manufacturer-defined ones.
Check Click this to check the initial values set in the FB property list.
If an error is found in the check result, the background color of the item will be highlighted in red.
FB Property Page Click this to display the "FB Property Page" screen. (Page 377 Displaying the FB property
page)
Filter Label names can be filtered.
(2) FB instance name The FB instance name of a target FB or tag FB are displayed.
(3) Explanation column The data type of a label selected in the FB property list and a label comment is displayed.
A label comment can be displayed in the explanation column by setting the comment title of the
comment as the display target in the "Multiple Comments Display Setting" screen*1. (Page 82
Displaying and Reading Comments)
*1 The "Multiple Comments Display Setting" screen will appear by selecting the following menu.
[View] [Multiple Comments] [Display Setting]
6 CREATING PROGRAMS
6.7 Setting Initial Values of FB Properties 375
Displaying an FB property
The FB property of the element (FB or tag FB) selected in the following editors is displayed.
Editor Element
Ladder editor*1 FB instance
Inline structured text box on a ladder editor*1 Token of an FB instance name
ST editor*1 Token of an FB instance name
*1
FBD/LD editor FB element
Tag FB setting editor Tag FB
*1 Only when elements in the editor in a program block are selected, the FB properties can be displayed.
When an initial value is blank on a label editor, the manufacturer-defined initial value is displayed in the "FB Property" window.
When the manufacturer-defined initial value is blank, the default initial value of each data type is displayed.
In the explanation column, the data type and comment of a selected FB property are displayed.
6 CREATING PROGRAMS
376 6.7 Setting Initial Values of FB Properties
Displaying the FB property page
The FB property page is a screen which categorizes FB properties by each setting. The initial values of FB properties can be
checked and changed. In addition, settings for a function generator can be checked with a graph.
For details on FB properties, refer to the following:
Page 375 Display/setting an FB property
The following function blocks are supported in the FB property page:
Category Function block
Tag FB Loop tag
Status tag
Alarm tag
Message tag
Standard process FB M+P_FG
M+P_IFG
User-defined tag FB
Operating procedure
Change the initial value of each item, and click the [OK] button.
Precautions
If an initial value is changed, a label editor in which the corresponding label is defined will be in the unconverted state.
6 CREATING PROGRAMS
6.7 Setting Initial Values of FB Properties 377
• The "FB Property Page" screen can also be displayed by clicking the button in the "FB Property" window.
• The manual describing a selected FB property can be opened from the "FB Property Page" screen. Place
the cursor on the cell for an FB property, then click the [Help] button or press the key. If there is no
description of the FB property, the page for the selected function block will be displayed.
Window
1. Open the FB property page.
(1)
(3)
(2)
Displayed items
Item Description
(1) FB property list Set the number of coordinates for a line graph to be drawn.
(2) FB property list (coordinates) Set the coordinates of a line graph.
FB properties that link to the graph coordinates are displayed for the number set in "Number of Points."
(3) Graph display area A graph is displayed based on the coordinate settings.
Operating procedure
6 CREATING PROGRAMS
378 6.7 Setting Initial Values of FB Properties
User-defined tag FB
The following explains the "FB Property Page" screen of user-defined tag FBs.
The "FB Property Page" screen of user-defined tag FBs is displayed based on the contents of a setting file.
Therefore, a template file needs to be edited in advance to create a setting file.
Window
1. Set the path to a folder that saves a setting file in the following option:
• [Tool] [Options] "Project" "Process Control Extension Setting" "FB Property Page" "Setting File Save
Destination"
3. Right-click it and select [FB Property Page Setting] [Create Template File] from the shortcut menu.
5. Edit a template file and crate a setting file. (Page 381 Creating a setting file)
• If a setting file with the same name exists in the save destination, the file is overwritten.
• The "FB Property Page" screen can also be displayed by clicking the button in the "FB Property" window.
If a setting file does not exist in the save destination, a template file is also created.
• If a setting file already exists, a template file does not need to be created.
• The manual describing a selected FB property or manual set in the setting file can be opened from the "FB
Property Page" screen. Place the cursor on the cell for an FB property, then click the [Help] button or press
the key.
Operating procedure
Change the initial value of each item, and click the [OK] button.
6 CREATING PROGRAMS
6.7 Setting Initial Values of FB Properties 379
Precautions
• If an initial value is changed, a label editor in which the corresponding label is defined will be in the unconverted state.
• An FB property of the following data types is not displayed in the "FB Property Page" screen.
Time
String
String [Unicode]
• A user-defined category and FB property cannot be displayed on a line graph.
6 CREATING PROGRAMS
380 6.7 Setting Initial Values of FB Properties
Creating a setting file
The "FB Property Page" screen of user-defined tag FBs is displayed based on the contents of a setting file.
The following explains the formats and correction methods of a setting file.
File format
Item Description
Extension .csv
File name "(User-defined tag FB name)".csv
Character code Unicode (UTF-16 Little Endian with BOM).
Line feed code CRLF
Delimiter Tab
Precautions
Surrogate pair characters cannot be used.
6 CREATING PROGRAMS
6.7 Setting Initial Values of FB Properties 381
Component
The following explains the components of a setting file.
Ex.
Template file
Section list
Section name Description Required/ Reference
optional
[Window Configuration] Configuration information of the "FB Property Page" screen Required Page 385 [Window Configuration] section
[Check Error] Definition of the check contents Optional Page 388 [Error Check] section
[Editable/Non-editable] Definition of the editable/non-editable Page 390 [Editable/Non-editable] section
[Combo Box] Definition of the display items in a combo box Page 392 [Combo Box] section
[Help Reference] Setting of a help reference Page 393 [Help Reference] section
[Hidden Item] Definition of the items not to be displayed Page 395 [Hidden Item] section
6 CREATING PROGRAMS
382 6.7 Setting Initial Values of FB Properties
Template file
The following shows a template file and FB property page displayed based on the contents of the template file.
Ex.
When creating a template file from the following user-defined tag FB:
Tag type: PID
User-defined FB property: Label01, Label02, Label03, Label04, Label05
Template file
FB property page
6 CREATING PROGRAMS
6.7 Setting Initial Values of FB Properties 383
Output content
A section name is output in the first row of each section.
A column name is output as a comment in the second row of each section.
For the [Window Configuration] section, the following contents are also output:
• Window configuration of the tag data
• Default setting of a user-defined FB property
Ex.
When creating a template file from the following user-defined tag FB:
Tag type: PID
User-defined FB property: Label01, Label02, Label03, Label04, Label05
Window configuration of the tag data: The contents of the 'Hierarchy 1' column, 'Hierarchy 2' column, 'Label Name' column,
'Display Character Strings' column, and 'Parent Category' column are output as a comment.
Default setting of a user-defined FB property: The following contents are output:
Column name Description Remarks
Hierarchy 1 "Public Variable" When the number of items in a hierarchy reaches the upper limit, the end number of the public
variable is added by one, as "Public Variable2, 3...".
Hierarchy 2 "Public Variable1"
If a hierarchy with the same name already exists, the end number is also added by one.
Label Name Label name
Display Character "Category, " label name
Strings
Parent Category Category name
Note Label comment
Input Format "0"
Precautions
• Among the window configurations of the tag data, the one of an FB property list (coordinates) in the window which displays
a line graph is not output.
• An FB property of the following data types is not output:
Time
String
String [Unicode]
6 CREATING PROGRAMS
384 6.7 Setting Initial Values of FB Properties
[Window Configuration] section
This section describes the window configuration information of the FB property page (such as character strings to be
displayed and FB properties to be associated).
One category or the window configuration information of one FB property is described per row.
Example
Setting file
FB property page
6 CREATING PROGRAMS
6.7 Setting Initial Values of FB Properties 385
No. Column Description Restriction
name
Parent Set a category name defined in a setting file. (Only categories defined in the same Maximum number of hierarchies: 5
Category*2 hierarchy 2 can be set.)
(Example) When setting "Category" for a parent category of user setting 1, 'User
Setting1' is displayed in a child hierarchy of "Category."
A parent category of the tag data and a user-defined parent category can be set.
When no parent category exists, set a null character. (A null character can be set for
only categories.)
Note*3 Set a character string to be displayed in the 'Note' column of an FB property. Maximum number of characters: 1024
For a category, this is skipped.
Input Format*4 Set an input format as either of the following values:
• 0: Directly input
• 1: Combo box
For a category, this is skipped.
*1 When setting a hierarchy in which a line graph is displayed, a file format error occurs.
*2 If a category (category of the tag data) with the same name exists within the hierarchy 2, a category displayed higher in the FB property
page is set as a parent category.
*3 An escape character (\) can be used in the 'Note' column. If it is used in other columns, it is not treated as an escape character.
It is applied only for the following cases. In other cases, a file format error occurs.
Case Description
\r It is treated as a line feed (CR).
\n It is treated as a line feed (LF).
\" " is treated as a character.
\\ \ is treated as a character.
*4 When '0' (directly input) is set for an input format of a BOOL type FB property, a combo box to select "No" or "Yes" is displayed.
• Even if the window configuration of an FB property not to be displayed in the "FB Property" window is set, it
will be displayed in the FB property page.
If an FB property to be displayed in the "FB Property" window is not set in both the [Window Configuration]
section and [Hidden Item] section, the default setting is displayed in the FB property page.
• The FB property page is displayed according to the order in which rows are listed.
• A user-defined hierarchy, category, and FB property are displayed under a hierarchy of the tag data, parent
category, and FB property.
• The setting of a user-defined FB property can be added to the setting of the tag data.
(Example) When adding the settings of Label01 and Label02 in "Input" "Basic Setting"
6 CREATING PROGRAMS
386 6.7 Setting Initial Values of FB Properties
Precautions
• Multiple rows cannot be set for one FB property.
• A category with the same name cannot be set in the hierarchy 2. (It can be set in a different hierarchy.)
• A row is read in order from the top in a file; therefore, a category defined in a row below an FB property cannot be set as a
parent category.
• When setting a window configuration of an FB property of the following data types, "FB property does not exist" is displayed
in the FB property page.
Time
String
Sting [Unicode]
Error condition
The following shows the conditions that cause a format error of the [Window Configuration] section when reading a setting file.
• Unsupported escape sequence is used in the 'Note' column.
• A null character is set in the 'Display Character Strings' column.
• The maximum number of characters is exceeded.
• Either of the following exceeds the maximum number:
Hierarchy 1 6
Hierarchy 2 (within one hierarchy 1)
• The maximum number of items in the hierarchy 2 (categories + FB properties) is exceeded.
• A hierarchy in which a line graph is displayed is set.
• Multiple window configurations are set for one FB property.
• A category with the same name is defined in the hierarchy 2.
• A parent category is not set in an FB property.
• The name of a non-existent category is set as a parent category.
• The maximum number of hierarchies is exceeded.
• Unsettable value is set in the 'Input Format' column.
6 CREATING PROGRAMS
6.7 Setting Initial Values of FB Properties 387
[Error Check] section
This section sets the error check contents for FB properties.
One error check content can be set per row.
Example
Setting file
FB property page
(1): Error
(2): Warning
6 CREATING PROGRAMS
388 6.7 Setting Initial Values of FB Properties
Check method
An error is checked with the conditional expression in which the following values are set: the setting value of a label set for the
'Label Name' column is on the left-hand side, and the value or setting value of a label set for the 'Comparison Target' column
is on the right-hand side.
When the check result is not satisfied, an error of the type set in the 'Error Type' column occurs.
When multiple error checks are set for one FB property, an error occurs if even one check result is not satisfied.
Ex.
For the following example, an error occurs when a value '0' or less or a value greater than the setting value of RH is set for the
initial value of "Label," and a warning occurs when a value 1000 or more is set.
Error condition
The following shows the conditions that cause a format error of the [Check Error] section when reading a setting file.
• Unsettable value is set in the 'Error Type' column.
6
• A label name of a user-defined FB property that is not set in the [Window Configuration] section is set in the 'Label Name'
column or 'Comparison Target' column.
• The maximum number of error conditions that can be set for one FB property is exceeded.
• Unsettable value is set in the 'Conditions' column.
6 CREATING PROGRAMS
6.7 Setting Initial Values of FB Properties 389
[Editable/Non-editable] section
This section sets whether an initial value can be edited or not for FB properties.
Example
The following shows the label names to be used in the example and their setting item names.
• Label01: User setting 1
• Label02: User setting 2
• Label03: User setting 3
Setting file
FB property page
*1 When a device/label name is set for , it is treated as a character string, and an initial value of the device/label is not set.
(Example) For the following case, when the initial value of "Label" is Label2 (character string), Label3 is non-editable.
6 CREATING PROGRAMS
390 6.7 Setting Initial Values of FB Properties
• For one FB property which is the switching condition, up to 100 'Editable/Non-editable' settings can be set.
• When a label is non-editable, the item of the FB property page is masked.
• For an FB property that is set as a switching target of the editable/non-editable setting in multiple items, it
cannot be edited only when it is set to non-editable in all items.
For the above example, Label03 cannot be edited only when the setting value of Label01 and Label02 is '0.'
When the setting value of Label01 is one or two, or when the value of Label02 is one, Label03 can be
edited.
• The order in which rows are listed does not affect the operation.
Precautions
Two or more rows whose contents of the 'Label Name' column, 'Setting Value' column, and 'Label Name to Switch' column are
the same cannot be set.
Error condition
The following shows the conditions that cause a format error of the [Editable/Non-editable] section when reading a setting file.
• A label name of a user-defined FB property that is not set in the [Window Configuration] section is set in the 'Label Name'
column or 'Label Name to Switch' column. 6
• The maximum number of settings that can be set for one FB property which is the switching condition is exceeded.
• The maximum number of characters in the 'Setting Value' column is exceeded.
• Two or more rows whose contents of the 'Label Name' column, 'Setting Value' column, and 'Label Name to Switch' column
are the same are set.
• Unsettable value is set in the 'Editable/Non-editable' column.
6 CREATING PROGRAMS
6.7 Setting Initial Values of FB Properties 391
[Combo Box] section
This section sets the display items in a combo box for FB properties.
One display item in a combo box can be set per row.
Example
Setting file
FB property page
Precautions
Two or more items with the same name cannot be set for one combo box.
Error condition
The following shows the conditions that cause a format error of the [Combo Box] section when reading a setting file.
• A name of a label whose input format is not set to combo box in the [Window Configuration] section is set in the 'Label
Name' column.
• The maximum number of items in a combo box is exceeded.
• Items with the same name are defined for one combo box.
• The maximum number of characters of a combo box is exceeded.
• The setting of an FB property whose input format is set to combo box in the [Window Configuration] section does not exist
in the [Combo Box] section.
6 CREATING PROGRAMS
392 6.7 Setting Initial Values of FB Properties
[Help Reference] section
This section sets the page of a manual to be displayed when clicking the [Help] button for FB properties.
Example
Setting file
*1 By clicking the page ID displayed on the bottom right of e-Manual Viewer, it can be copied.
For details on the page ID, refer to e-Manual Viewer Help.
• For an FB property of the tag data and user-defined FB properties in which the help reference is not set, a
default help reference is set.
• The order in which rows are listed does not affect the operation.
6 CREATING PROGRAMS
6.7 Setting Initial Values of FB Properties 393
Tag type Tag FB
MVAL1 M+M_MVAL1
MVAL2 M+M_MVAL2
TIMER1 M+M_TIMER1
TIMER2 M+M_TIMER2
COUNT1 M+M_COUNTER1
COUNT2 M+M_COUNTER2
PB M+M_PB_
ALM M+M_ALARM
ALM_64PT M+M_ALARM_64PT_
MSG M+M_MESSAGE
MSG_64PT M+M_MESSAGE_64PT_
Precautions
Multiple rows cannot be set for one FB property.
Error condition
The following shows the conditions that cause a format error of the [Help Reference] section when reading a setting file.
• Multiple help references are set for one FB property.
• A label name of a user-defined FB property that is not set in the [Window Configuration] section is set in the 'Label Name'
column.
• A page ID of the manual other than the following is specified:
MELSEC iQ-R Programming Manual (Process Control Function Blocks/Instructions)
6 CREATING PROGRAMS
394 6.7 Setting Initial Values of FB Properties
[Hidden Item] section
This section sets an FB property not to be displayed on the FB property page.
Example
Setting file
Error condition
The following shows the condition that causes a format error of the [Hidden Item] section when reading a setting file.
• A label name of an FB property set in the [Window Configuration] section is set.
6
6 CREATING PROGRAMS
6.7 Setting Initial Values of FB Properties 395
Common considerations for all sections
When the language of a setting file is different from the display language of GX Works3
A template file is created according to the display language of GX Works3.
When the language of a section name in a setting file and the one of 'Error Type' in the [Check Error] section is different from
the display language of GX Works3 in which the FB property page is displayed, reading the setting file fails.
The FB property page can be displayed by correcting a section name in the setting file and 'Error Type' in the [Check Error]
section to the section name in the template file created in GX Works3 in which the FB property page is displayed.
When the [Help Reference] section is set, change the help reference to the page ID of a manual whose language is same with
the display language of GX Works3.
When an FB property of the tag data and a user-defined FB property with the same name exist
When an FB property of the tag data cannot be set, it is treated as a user-defined FB property.
When an FB property of the tag data and user-defined FB property can be set, the user-defined FB property is prioritized.
Error condition
The following shows the conditions common to all sections that cause a format error when reading a setting file.
• The [Window Configuration] section is not set as the first section.
• A non-existent section is set (including a case in which the language of a section name is different from the display
language of GX Works3 in which the FB property page is displayed).
• Same section is set two or more times.
• The number of columns is less than the required number.
• A line feed is not inserted at the end of a row.
• The begging and end of a column are not enclosed with " (double quotes).
6 CREATING PROGRAMS
396 6.7 Setting Initial Values of FB Properties
FB property management (offline)
In the "FB Property Management (Offline)" screen, initial values of FB properties saved in a project can be exported to a CSV
file.
In addition, the initial values of FB properties can be imported from the CSV file, and the values can be set as the initial values
of FB properties in the project.
For details on FB properties, refer to the following:
Page 375 Display/setting an FB property
Window
Updating the initial value of a selected FB property
1. Select a function block or tag FB in any of the following editors:
• Ladder editor
• ST editor
• FBD/LD editor 6
• Tag FB setting editor
2. Right-click it and select [FB Property] [FB Property Management (Offline)] from the shortcut menu.
(1) (6)
(7)
(2)
(3)
(4)
(8)
(5)
The "FB Property Management (Offline)" screen can be displayed in the following cases only.
• Ladder editor: An FB instance is selected.
• ST editor: The cursor is placed on a token, or the whole token is selected.
6 CREATING PROGRAMS
6.7 Setting Initial Values of FB Properties 397
Managing the initial values of all FB properties
Select [Tool] [FB Property Management (Offline)].
Alternatively, select (FB Property Management) [FB Property Management (Offline)] on the tool bar.
(1) (6)
(7)
(2)
(3)
(4)
(8)
(5)
Displayed items
Item Description
(1) Toolbar The displayed items are the same as the ones displayed in the "FB Property Management (Online)" screen.*1
For details, refer to the displayed items in the "FB Property Management (Online)" screen.
(2) FB instance name
Page 666 FB Property Management (Online) screen
(3) FB property list
(4) Header
(5) Explanation column
(6) [Import File] button Click this to import the initial values of FB properties in a CSV file.
(7) [Export to File] button Click this to export the initial values of FB properties displayed in the FB property list to a CSV file.
(8) [Update Initial Value] button For details, refer to the displayed items in the "FB Property Management (Online)" screen.
Page 666 FB Property Management (Online) screen
*1 "Current Value" in the "FB Property Management (Online)" screen is displayed as "Imported Value" in the "FB Property Management
(Offline)" screen.
Once the initial value is updated, a program related to a label of which the initial value was updated will be in
the unconverted state.
6 CREATING PROGRAMS
398 6.7 Setting Initial Values of FB Properties
Format
The following shows the CSV file formats.
(1)
(2)
(1): Header
(2): Data segment
6 CREATING PROGRAMS
6.7 Setting Initial Values of FB Properties 399
6.8 Registering Device Comments
This section explains the features and setting methods for device comments.
Device comments
Two types of device comments can be created: one that can be set in common and one that can be set for each program.
The following shows device comments of GX Works2 and GX Developer corresponding to each device comment of GX
Works3.
GX Works3 GX Works2 GX Developer
Common device comment Global device comment Common comment
Each program device comment Local device comment Device comment by program
Up to 16 device comments can be set for one device. (Page 82 Displaying and Reading Comments)
Comments can be set in Japanese, English, Chinese or other languages, and the display language in GX Works3 can be
switched among these languages.
Difference between a device comment and a label comment
'Device comment' refers to a comment that is added to devices, and also 'data' read from/written to a CPU module.
'Label comment' refers to a comment that is added to a defined label.
Precautions
• Device comments set in "Each Program Device Comment" cannot be written to an FX5CPU.
• Remote head modules do not support each program device comments.
6 CREATING PROGRAMS
400 6.8 Registering Device Comments
Setting an each program device comment
When comments are set both in "Common Device Comment" and in "Each Program Device Comment," specify the comment
to be displayed on a program editor by setting the following option:
• [Tool] [Options] "Project" "Device Comment Reference/Reflection Target"
Ex.
When different device comments are set for the same device (M)
Common device comment (COMMENT) Device comments for each program (MAIN)
ÜWhen the reference of the device M in the sequence ÜWhen the reference of the device M in the sequence program
program MAIN is set to the common device comment MAIN is set to the device comment for each program
<Options> <Options>
The global device comment, 'Initial Start 1', is The local device comment, 'Stop Device 1', is
displayed as a device comment for M1. displayed as a device comment for M1.
When any comments do not exist in the reference that was set in "Reference/Reflection Target for Device Comment," the
other comment is displayed.
Applicable devices
For the device types and comment setting availability, refer to the following:
Page 889 Applicable Devices in GX Works3
6 CREATING PROGRAMS
6.8 Registering Device Comments 401
Configuration of a device comment editor
Window
• Common device comment: Select "Device" "Device Comment" "Common Device Comment" in the navigation window.
• Each program device comment: Select "Device" "Device Comment" "Each Program Device Comment" "(data
name)" in the navigation window.
(1)
A device comment editor can vertically or horizontally be split into two screens by using any of the following menus.
• Select [Window] [Split]. (Vertical sprit only)
• Right-click on the screen, and select [Split] from the short-cut menu [Vertical Split]/[Horizontal Split]
• Click , and select [Split] [Vertical Split]/[Horizontal Split]
• When linefeed comments are set in multiple lines, the comments can be displayed in a batch by using the
following menu:
[Edit] [Show All Linefeed Comments]
• Fonts can be changed. (Page 81 Checking and Changing Colors and Fonts)
6 CREATING PROGRAMS
402 6.8 Registering Device Comments
Displaying a device comment editor from a program editor
A device comment editor can be displayed from a program editor.
The device comment editor to be displayed depends on the setting in the following option:
• [Tool] [Options] "Project" "Device Comment Reference/Reflection Target"
When any comments do not exist in the reference that was set in "Reference/Reflection Target for Device Comment," the
other comment editor is displayed.
Operating procedure
1. Open a program editor.
Precautions
When selecting a device on a program editor, the device comment editor corresponding to the selected device will appear.
For an ST editor, place the mouse cursor over a device to select.
When using the menu without selecting a device, the device comment editor to set common device comments will appear.
In another way to display a program editor and device comment editor vertically, press ++ keys.
6
6 CREATING PROGRAMS
6.8 Registering Device Comments 403
Creating device comments
Comments can be created for each device in a device comment editor.
Adding device comments make it easy to understand the content of program processing.
To create each program device comments, create data for the device comments in advance. (Page 129 Creating data)
The comments can be entered on a ladder editor. For details, refer to the following:
Page 284 Entering/editing comments
Operating procedure
1. Enter the device of which comment is to be set in "Device Name."
Precautions
For device comments, use characters in the Unicode Basic Multilingual Plane.
Operating procedure
Detecting comments from device data being displayed on a device comment editor
Select the checkbox of "Display Only the Mismatched Comment" in the filter condition on a device comment editor.
Detecting comments from all device data in the device comment data
Select [Edit] [Detect the Mismatched Comment].
Double-click "NG" in the displayed "Detect the Matched Comment of All Devices" screen to edit a device comment editor.
6 CREATING PROGRAMS
404 6.8 Registering Device Comments
Device comment including @
By selecting "Yes" for the following option and using '@' for device comments, options of devices can be refined when
searching for/replacing a device, inputting it in a program, or registering it in a watch window.
• [Tool] [Options] "Edit" "Instruction/Device/Label Candidacy Display" "Candidate Display Setting" "Display the
Corresponding Device in Entering Device Comment"
Moreover, by applying the explanations of link devices to the device comments of refresh devices which are assigned to a
device station on CC-Link IE TSN in advance, the refresh devices can be refined with their device comments.
Ex.
The following explains the method to refine refresh devices with a device comment when inputting a refresh device on a
device station of CC-Link IE TSN (FR-A800-GN) in a program.
Operating procedure
1. Apply the explanations of link devices for FR-A800-GN to the device comments of refresh devices. (Page 213
Applying explanations to device comments)
Each character string delimited by @ indicates the following:
• Start I/O number of a CC-Link IE TSN module (Example: 0000)
• Station number of FR-A800-GN (Example: St5) 6
• Explanation of the link device (Example: Fault record (output current))
2. Display the element entry dialog in a ladder editor. (Page 269 Inserting from the element entry dialog)
3. Enter "0000@" in the element entry dialog to search refresh devices of the device station whose start I/O number is
'0000.'
4. Double-click "St5" from the options, then enter '@' to search refresh devices of the device station whose station number
is '5.'
5. Double-click the device for which the comment matching the intended use in the program is set.
The device is applied to the element entry dialog.
6 CREATING PROGRAMS
6.8 Registering Device Comments 405
Deleting unused device comments
Unused comments in a program can be deleted in a batch. To delete the comments, open a device comment editor in
advance.
Operating procedure
Select [Edit] [Delete Unused Device Comment].
Deletion target
Device comment type Deletion target
Common device comment Unused device comments in all programs
Each program device comment Unused device comments in the corresponding program
Device comments in all programs
Operating procedure
Deleting all device data in the device comment data
Select [Edit] [Clear All (All Devices)].
6 CREATING PROGRAMS
406 6.8 Registering Device Comments
Importing/exporting device comments
Device comments can be imported/exported from/to a CSV file.
When multiple comments are set, the comments of which the checkboxes in the "Available" column are selected in the
"Multiple Comments Display Setting" screen are output.
Importing
Import a comment in a CSV file to a device comment.
When importing one file only, it will be imported in the selected device comment.
When importing multiple files, they will be imported in the device comments which have the same file names.
If a device comment, which has a same file name, does not exist, a new device comment will be created.
Operating procedure
1. According to the number of files to be imported, perform the following operation.
• One file: Select and right-click a device comment to import a file in the navigation window, then select [Import File] from the
shortcut menu.
• Multiple files: Select "Device" "Device Comment" in the navigation window, then right-click it and select [Import Multiple
Files] from the shortcut menu. 6
2. Set the extended setting as necessary, then click the [Yes] button.
3. Select a file(s) to be installed in the "Import File" screen, and click the [Open] button.
Files exported for each device type can be imported in a batch by selecting [Import Multiple Files] from the
shortcut menu.
Precautions
• When exporting files by splitting them for each device type, a device symbol is added to each file name. When importing
them, devices defined in the files are read regardless of the device symbols of file names.
• When importing multiple files, they are read in ascending order of the file names. When the same device exist in multiple
files, the comment in the file read later are applied.
6 CREATING PROGRAMS
6.8 Registering Device Comments 407
Exporting
Write a device comment to a CSV file.
When exporting one file only, the CSV file needs to be saved with an arbitrary name.
When exporting multiple files, CSV files are saved with the same name as device comments in an arbitrary folder.
Operating procedure
1. According to the number of files that will store device comments, perform the following operation.
• One file: Select and right-click a device comment to export in the navigation window, then select [Export to File] from the
shortcut menu.
• Multiple files: Select "Device" "Device Comment" in the navigation window, then right-click it and select [Export to
Multiple Files] from the shortcut menu.
2. Set the extended setting as necessary, then click the [Yes] button.
3. Select a folder that will store the exported file(s) in the "Export to File" screen/"Specify Folder to Export" screen, and click
the [Save] or [OK] button.
By selecting "Write comment data to different files sorted by target device types." in the extended setting, files
split for each device type can be output.
The file name of an output file is "(data name)" + "(device symbol)" + ".CSV". When "\" is included in a device
symbol, it is replaced to "_".
Precautions
• When a device comment, that exceeds the applicable number of characters, is set in a device comment editor, a warning
message appears in the "Output" window and the excessive characters are deleted.
• When an error occurs during import or export of multiple files, the processing will terminate with saving the device
comments imported/exported until then.
• When no device comment is set for all devices, a file(s) is not output by exporting a device comment(s).
6 CREATING PROGRAMS
408 6.8 Registering Device Comments
Reading sample comments
The sample comments of system devices (special relays/special registers), CPU buffer memory access devices, and
intelligent function modules can be applied to a device comment editor automatically.
Operating procedure
1. Open a device comment editor.
3. Set each item in the "Read from Sample Comment" screen, and click the [OK] button.
The sample comments are applied to a device comment editor.
Ex.
Precautions
When reading sample comments of an intelligent function module, the data size may exceed the memory capacity of the CPU
module and data may not be written. In this case, prepare an SD memory card.
The writable capacity of an SD memory card installed in an FX5CPU is the same as that of the FX5CPU module itself.
FX5CPUs do not support sample comments of CPU buffer memory.
By selecting "Yes" for the following option, when adding an intelligent function module to a project, the sample
comments for the module are automatically applied to the device comment editor of "Common Device
Comment."
• [Tool] [Options] "Project" "Add New Module" "Operation Setting" "Read Sample Comment"
6 CREATING PROGRAMS
6.8 Registering Device Comments 409
6.9 Checking/Editing the Relation between Programs
This section explains the method for checking the relation between the following data in a project with a diagram and editing
the data on the diagram:
• Program block
• Function block
• Function
Window
Select [Tool] [Program Configuration Diagram].
Data in a project is displayed as a block, and the associated data is connected to each other with a connection line.
Operating procedure
Switch the display mode/edit mode according to the intended use of a program configuration diagram.
Mode Purpose Operation Reference
Display mode To check a program configuration diagram Select [Edit] [Mode] [Display Mode]. Page 411 Display mode
Edit mode To edit a program configuration diagram Select [Edit] [Mode] [Edit Mode].*1 Page 414 Edit mode
*1 When the displayed program configuration diagram is old, the mode cannot be switched to the edit mode. In this case, update the
program configuration diagram. (Page 411 Updating a program configuration diagram)
6 CREATING PROGRAMS
410 6.9 Checking/Editing the Relation between Programs
Display mode
This mode is used to check a program configuration diagram.
By selecting a block or label on a block in the display mode, the selected block and associated block with the selected block
or label are marked with orange frames.
Operating procedure 6
Selecting a block from the navigation window
By selecting data in the navigation window, then right-clicking and selecting [Select in Program Diagram] from the shortcut
menu, the cursor can be placed on the block of the selected data.
Expanding/collapsing a block
By selecting a block in "Program Configuration Diagram," then right-clicking and selecting [Expand/Collapse] from the
shortcut menu, the display status of the selected block can be changed.
To change the display status of all blocks, select [Edit] [Expand/Collapse All].
Filtering a block
By selecting a block in "Program Configuration Diagram" or selecting a label on a block then right-clicking and selecting
[Filter] from the shortcut menu, only the blocks that are associated with the selected block or label can be filtered.
Whether to retain the position or size of a block at the update can be set by setting the following option:
• [Tool] [Options] "Other Editor" "Program Configuration Diagram" "Update Configuration Diagram"
"Keep Element Arrangement"
Precautions
If "Program Configuration Diagram" has been opened even once, the contents cannot be updated even if "Program
Configuration Diagram" is closed after editing data and then opened again. Update the contents manually by following the
procedure in this section.
6 CREATING PROGRAMS
6.9 Checking/Editing the Relation between Programs 411
• A label editor can also be displayed by double-clicking a local label or global label on a block. In this case,
the cursor is placed on the double-clicked label on the label editor.
• A global label editor can be displayed by selecting a global label on a block, then right-clicking and selecting
[Open Label Setting of Selected Element] [Open in Front]/[Tile Horizontally] from the shortcut menu.
Information to be displayed
Relation between data
In a program configuration diagram, a block of the source data (1) is placed on the left , and a block of the associated data (2)
is placed on the right.
The relations between the displayed data are as follows:
(3): An associated function block and function (2) are called from the program body of the source data (1).
(4): Associated data (2) is used in the program body of the source data (1).
(5): A label of the data type for the associated data (2) is registered in a label editor of the source data (1).
(1) (2)
(5)
(3)
(4)
6 CREATING PROGRAMS
412 6.9 Checking/Editing the Relation between Programs
Local label and global label
A label of the data type for the associated data is displayed on a block among the labels registered to a label editor.
Considerations
If a program is in the unconverted state, a program configuration diagram may not be displayed properly.
6 CREATING PROGRAMS
6.9 Checking/Editing the Relation between Programs 413
Edit mode
This mode is used to edit a program configuration diagram.
By editing the data on the program configuration diagram, the edited contents are accordingly reflected to a project.
Window
(1)
(2)
(2) (4)
(3)
Displayed items
Item Description
(1) Grid A grid line that serves as makers to place the blocks.
(2) Block The following data in a project is displayed:
• Program block
• Function block
• Function
(3) Connection point A terminal point of when connecting blocks with a connection line.
• Blue: Can be connected
• Red: Cannot be connected
(4) Connection line A line that indicates the relation between data.
For details, refer to the following:
Page 412 Information to be displayed
When a connection line is changed, the label of the data type before the change used in the relation source block is
changed to the label of the target data type.
Operating procedure
Adding a block
The following explains the procedure to add a program block and function block.
2. Set each item in the "Add New Data" screen, then click the [OK] button.
Adding a label
The following explains the procedure to add a label to a block.
1. Connect a block to which a label is to be added (source block) to an associated block. (Page 415 Common
operations of elements)
2. Set each item in the "Undefined Label Registration" screen and click the [OK] button.
6 CREATING PROGRAMS
414 6.9 Checking/Editing the Relation between Programs
Common operations of elements
Operation Operating procedure
Change To change a name • Double-click an element of which the name is to be changed, and enter a new name in the edit box.
• Select an element of which the name is to be changed, and press the key, then enter a new name in the edit
box.
To change the size Place the cursor on the frame of a block of which size is to be changed. The icon of the cursor changes.
Move the cursor vertically with the frame being held.
Move • Drag and drop a block to be moved.
• Select a block to be moved, and press the ++/// keys.
Copy*1*2 • Select a block to be copied, and select [Edit] [Copy].
• Select a block to be copied, and press the + keys.
Paste • Select a block to be pasted, and select [Edit] [Paste].
• Select a block to be pasted, and press the + keys.
Delete*3 • Select an element to be deleted, and select [Edit] [Delete].
• Select an element to delete, and press the key.
Connection To connect Click a connection point, and drag it to a target connection point.
line*4
To replace Click a connection point of the replacement source while a connection line is selected, and drag and drop it to a
connection point of the replacement target.
Precautions
• The following menu cannot be used in a program configuration diagram:
[Edit] [Undo]/[Redo]
• If the data displayed in a program configuration diagram is different from the actual data, such as when the data is edited in
a program editor, the mode switches automatically from the edit mode to the display mode.
6 CREATING PROGRAMS
6.9 Checking/Editing the Relation between Programs 415
6.10 Checking a Program
This section explains the method for checking whether an error exists in a created program.
The following table shows the differences of check contents in a program check and a syntax check.
: Checked, : Not checked
Check point Syntax check Program check
Ladder block check (ladder program, FBD/LD program)
Program syntax check (ST program)
Use of undefined label check
Data type of argument check
Duplicated coils check
Use of out-of-range device check
Incorrect pointer check
Instructions, used in pairs, check (such as (FOR/NEXT, MC/MCR)
Syntax check
This is for checking the validity of the program syntax.
This can be performed for ladder, ST, and FBD/LD programs.
Remote head modules do not support this check.
Operating procedure
Checking all programs
Select [Convert] [Check Syntax] [ALL POUs].
Precautions
• After a syntax check is completed, the former operations cannot be undone or redone on a ladder editor.
• When a return element is used in an FBD/LD program, the local label may be changed to the unconverted state and the
project may also be changed to the unsaved state.
6 CREATING PROGRAMS
416 6.10 Checking a Program
Program check
This is for checking improper input and program inconsistency.
Remote head modules do not support this check.
Window
Select [Tool] [Check Program].
6
When an error is found in the check result, the error message appears in the "Output" window. Take corrective actions
according to the displayed contents.
Precautions
When a macro type function block is used
When an error occurs in a program of a macro type function block, the cursor may jump to a location where the corresponding
error does not exist even if the error message displayed in the "Output" window is double-clicked.
In that case, identify the location where the error has occurred by any of the following methods.
No. Method
1 Search for the name of a device, label, or instruction given in the error message. (Page 445 SEARCHING FOR DATA)
2 Back up the project.
Change the type of the function block to the subroutine type. (Page 486 Changing the type of a function block)
Convert all programs.
Double-click a displayed error message, and check the jump destination.
If an error does not occur after converting all programs, check a ladder where an input argument, output argument, or input/output argument of the
macro type function block is used.
6 CREATING PROGRAMS
6.10 Checking a Program 417
Target of duplicated coil check
Instruction
The following instructions are checked as the target.
• RCPU and LHCPU: EGP, EGF, OUT, OUTH, SET, PLS, PLF, FF, DELTA, DELTAP, SFT, SFTP, MC, pointer, BLKMOVB*1,
BLKMOVBP*1, MOVB*1, MOVBP*1, CMLB*1, CMLBP*1
• FX5CPU: OUT, OUTH, SET, PLS, PLF, FF, SFT, SFTP, MC, pointer, BLKMOVB*1, BLKMOVBP*1, MOVB*1, MOVBP*1,
CMLB*1, CMLBP*1, OUTHS, UDCNTF
*1 Not checked when any of the following devices is used:
Timer (T)
Retentive timer (ST)
Long timer (LT)
Long retentive timer (LST)
Counter (C)
Long counter (LC)
Device
The following devices are checked as the target.
For the available devices in a CPU module, refer to the user's manual of each module.
• RCPU and LHCPU
Check range Type Device
Check in a project Device M, SM, L, F, V, S, TR, X, Y, B, SB, DX, DY, D, SD, R, ZR, RD, W, SW, T(TC), T(TS), T(TN), C(CC),
C(CS), C(CN), ST(STC/SC), ST(STS/SS), ST(STN/SN), LT(LTC), LT(LTS), LT(LTN), LC(LCC),
LC(LCS), LC(LCN), LST(LSTC/LSC), LST(LSTS/LSS), LST(LSTN/LSN), P, I, BL, GLP
Link direct device J\X, J\Y, J\B, J\SB, J\W, J\SW
Module access U\G, U\HG
device
Safety device SA\M, SA\SM, SA\X, SA\Y, SA\B, SA\D, SA\SD, SA\W, SA\T(TC), SA\T(TS), SA\T(TN), SA\C(CC),
SA\C(CS), SA\C(CN), SA\ST(STC/SC), SA\ST(STS/SS), SA\ST(STN/SN)
Step No./ BL\S, BL\TR
Transition No. in
an SFC program
Check in file only Device #M, #V, #D, #T(TC), #T(TS), #T(TN), #C(CC), #C(CS), #C(CN), #ST(STC/SC), #ST(STS/SS),
#ST(STN/SN), #LT(LTC), #LT(LTS), #LT(LTN), #LC(LCC), #LC(LCS), #LC(LCN), #LST(LSTC/LSC),
#LST(LSTS/LSS), #LST(LSTN/LSN), #P, #LLP
Safety device SA\#M, SA\#D, SA\#T(TC), SA\#T(TS), SA\#T(TN), SA\#C(CC), SA\#C(CS), SA\#C(CN),
SA\#ST(STC/SC), SA\#ST(STS/SS), SA\#ST(STN/SN)
• FX5CPU
Check range Type Device
Check in a project Device M, SM, L, F, S, X, Y, B, SB, DX, DY, D, SD, R, W, SW, T(TC), T(TS), T(TN), C(CC), C(CS), C(CN),
ST(STC/SC), ST(STS/SS), ST(STN/SN), LC(LCC), LC(LCS), LC(LCN), P, I, BL
Module access U\G
device
Step No./ BL\S
Transition No. in
an SFC program
6 CREATING PROGRAMS
418 6.10 Checking a Program
Label
The following labels are checked as the target.
• Local label
• Global label
The devices assigned to labels are also checked.
Precautions
Labels used in the following programs are excluded from the check target.
• Inline structured text program
• Function
• Function block
A selection function (SEL) used in a ladder editor and FBD/LD editor is a duplicated coil even if inconsistency does not occur.
6 CREATING PROGRAMS
6.10 Checking a Program 419
6.11 Converting Programs
This section explains the method for converting a created program into a code that can be executed.
A data name displayed in red in the navigation window indicates that the data is unconverted. The data is required to be
converted.
A data name displayed in light blue in the navigation window indicates that the data is unused. The data is not converted.
The name of unused data that is not converted is displayed in red. After the data is converted successfully, it will be displayed
in light blue. If a conversion error occurs, all the unused data will be displayed in red.
Operating procedure
1. Select [Convert] [Convert] *1( )/[Rebuild All] ( ).
2. To convert all programs, specify each item for "Label Assignment" and "Check Program"*2 in the "Rebuild All" screen,
and click the [OK] button.
*1 When "Yes" is selected in the following option setting, the online program change is performed instead.
[Tool] [Options] "Convert" "Online Program Change" "Operational Setting" "Execute Online Program Change in Converting"
*2 If there is no program, the check is not performed even if the check box for "Check Program" is selected.
The unconverted data can be checked. Select and right-click a global label, POU, or program file in the
navigation window, then select [Expanded/Collapse Tree] [Open Unconverted Data] from the shortcut
menu.
6 CREATING PROGRAMS
420 6.11 Converting Programs
Operations that requires a conversion for all programs
When one of the following operation is performed, converting all programs is required.
• Changing the module type/operation mode
• Changing the system parameter (Fixed Scan Communication Area Setting)
• Changing CPU parameters (File Register Setting, Device/Label Memory Area Setting, Index Register Setting, Refresh
Memory Setting, Pointer Setting, Program Setting, FB/FUN File Setting, Refresh Setting (At I45 Exe))
• Changing CPU parameters (Program Capacity Setting, To Use or Not to Use SFC) of an FX5CPU
• Changing the option setting ("Other Editor" "Label Editor Common" "Data Type Setting," "Convert" "Basic Setting"
"Operational Setting")
• Adding a label, of which the data type is the function block, to a local label of converted function block
• Changing the type of a function block in the "Properties" screen of an FB file (Page 486 Changing the type of a function
block)
• Importing a ladder program from a CSV file
• Changing reserved area capacities in the "Properties" screen of a function block. (Page 487 Setting reserved area
capacities)
• Adding a label which exceeds the reserved area capacity*1 to a local label of converted function block
• Changing reserved area capacities in the "Properties" screen of a structure definition (Page 242 Setting reserved area
capacities) 6
• Adding a structure member which exceeds the reserved area capacity*1 to a converted structure definition
• Changing the tag FB setting (tag FB type, tag type, declaration position) in projects for an RnPCPU and an RnPSFCPU
• Changing a security version of a project and project password
• Changing the security key setting (for a project whose security version is '2' only)
*1 For details, refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
6 CREATING PROGRAMS
6.11 Converting Programs 421
When the warning for the error code '0x120C2010' or '0x120C2011' is displayed
A warning message appears when converting a program containing an unused POU in which any of the following data is
used.
• Function block
• Function
• Standard function block
• Structure
An example using a function block is explained below.
ProgPou
(3)
FbPou2
(2)
(1)
When writing the program (3) to a CPU module while a warning message is displayed, the POU (2) is written but the data (1)
is not.
Therefore, an error will occur when reading the POU (2) from the CPU module to a new project in order to use it in a program
and converting the created program because the data (1) is not included.
To avoid this error, take the following measures before writing the program (3) to the CPU module.
Data Measure
Function block Move a function block or function into an FB file or FUN file including a converted POU and convert the program again.
Function
Standard function block Use a standard function block in a converted program and convert the program again.
Structure Register one or more structure type labels into a label editor in which the assigned label is included and convert the program
including the label again.
6 CREATING PROGRAMS
422 6.11 Converting Programs
When an error code '0x120110A2' or '0x120110A4' is displayed
A conversion error occurs when either of the following global labels is bit-specified or digit-specified in a program.
• Global label to which a digit-specified bit device is assigned (word type)
• Global label to which a bit-specified word device is assigned (bit type array)
Change the program as follows.
Changing method Program example
Transfer the current value of the global Example: Global label to which a digit-specified bit device is assigned (G_uLabel1)
label to another device or label.
Specify a bit or digit for the device or
label.
An error occurs when converting a program where 'G_uLabel1' is bit-specified.
This program can be converted properly by changing it to the program where another label that the value of
'G_uLabel1' is transferred to (L_uLabel1) is bit-specified.
6
When an error code '0x120110A3' or '0x120110A5' is displayed
A conversion error occurs when either of the following Input/output labels is bit-specified or digit-specified in a program of a
macro type function block.
• Input/output label using a digit-specified bit device as its argument (word type)
• Input/output label using a global label to which a bit-specified word device is assigned as its argument (bit type array)
Change the program as follows.
Changing method Program example
Transfer the current value of the digit- Example: Input/output label using the digit-specified bit device (K4M0) as its argument (uLabel1)
specified bit device or the global label to
another device or label.
Use the device or label as the
argument of an input/output label of a
macro type function block.
An error occurs when converting a program using 'K4M0' as the argument of 'uLabel1.'
This program can be converted properly by changing it to the program using another label that the value of 'K4M0'
is transferred to (L_uLabel1) as the argument.
6 CREATING PROGRAMS
6.11 Converting Programs 423
Considerations after converting any or all programs (Retain)
A newly added label and a label of which the data type etc. have been changed are reassigned again.
The current (initial) label value can be reassigned by any of the following methods.
• Register the label to a watch window, and set the current value.
• Set the initial value on a label editor.*1
*1 FX5CPU does not support the setting for initial values of labels.
When the current value of a local label needs to be retained, perform the online program change.
For details, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
Operating procedure
1. Switch the CPU module to STOP.
2. Select "Device/Label Memory" in the "CPU Memory Operation" screen displayed by selecting [Online] [CPU Memory
Operation] to clear the values.
3. Select [Online] [Write to PLC] ( ) to write the changed program files. When the initial values of labels used in the
program are set, write the initial label value file as well.
4. Reset the CPU module.
It can also be reset by selecting [Online] [Remote Operation].
The labels are set to '0' or initialized with the values set in the initial label value file.
6 CREATING PROGRAMS
424 6.11 Converting Programs
Converting a program file with the process control extension enabled
Operations of a program with the process control extension enabled can be set in the following option setting.
[Tool] [Options] "Convert" "Process Control Extension Setting"
Device memory
When a program with the process control extension enabled exists and "Use Common File Register in All Programs" is set for
"File Register Setting" of "CPU Parameter," the device memory is created at conversion.
In addition, the data in the range set in the following option is overwritten to the device memory.
• [Tool] [Options] "Convert" "Process Control Extension Setting" "System Resource"
6 CREATING PROGRAMS
6.11 Converting Programs 425
Converting a project with the process control extension enabled
Note the following for projects used for CPU modules in a redundant system configuration with the process control extension
enabled.
Tracking setting
The following parameters are automatically set when converting a program.
Parameter Setting content
• "CPU Parameter" "Redundant System Settings" "Tracking Setting" The settings in "Detail Setting" are configured.
"Tracking Device/Label Setting"
• "CPU Parameter" "Redundant System Settings" "Tracking Setting" The range of a file register that was set in the following option is set for the
"Tracking Device/Label Setting" "Device/Label Detailed Setting" trucking block No.64*1.
• [Tool] [Options] "Convert" "Process Control Extension Setting"
"System Resource" "File Register: ZR"
Precautions
The contents of the tracking block No.64 in "Device/Label Detailed Setting" of "CPU Parameter" cannot be changed manually
since they are automatically set when converting a program.
SD1670.F automatically turns ON at scanning while a CPU module is running in the backup mode since the set contents of
the tracking block No.64 is transferred (tracked); do not turn SD1670.F OFF during the scan.
When reading parameters from a CPU module after converting a program, if the parameter is overwritten with a different
content from the one that was automatically set as above, convert the program again.
6 CREATING PROGRAMS
426 6.11 Converting Programs
Memory assignment of labels (RCPU/LHCPU/FX5CPU)
When converting/converting all programs, the labels declared in a label editor are assigned to the memory in a packing block
(which is classified as type and data type, and set them in consecutive order of line numbers) unit. Since it is assigned in POU
units, the start position of POU will be 64-bit address boundary.
Ex.
Assignment
Padding
Padding
Padding
2. In the packing block, the labels are 3. When the data overlaps 64-bit address 4. The data which requires
6
assigned in order of the label row boundary in one data, a free space 2-word assignment is assigned
number without the label editor sorted. (padding) is inserted. from the start position of 32-bit
address boundary.
6 CREATING PROGRAMS
6.11 Converting Programs 427
Assignment of bit type
If the number of bit type labels exceeds 16, the labels will be assigned to the next memory area consecutively.
For FB instances, the area of EN/ENO is assigned to each head of the FB instances.
Ex.
Assignment
Assignment of array
For a bit type array, the memory is assigned from the start address (0 bit) of the array, and continuous bits for one-dimensional
element are assigned in word unit. As for the two-dimensional element or later, the same area as the one-dimensional
element is assigned for the number of the dimensional elements continuously.
For an array other than bit type, the area which is required for the element is assigned for the memory of the data type
continuously. A padding is not inserted between the array elements.
Ex.
<Assignment example of bit type two-dimension array_Bit (0..n, 0..m)> <Assignment example of word type two-dimension array_Word (0..n, 0..m)>
Two-dimension Two-dimension
Assignment of structure
A member of structure is assigned according to the assignment order of packing blocks. When a structure is declared in the
member of structure, it will be assigned in a packing block according to the order noted previously. It will be assigned from the
start position of 64-bit address boundary.
Ex.
Assignment
Padding
Padding
6 CREATING PROGRAMS
428 6.11 Converting Programs
Assignment of timer/retentive timer/counter
Timer, retentive timer, counter
The data types of the timer, retentive timer and counter are structures that have a contact, coil, and current value.
The following table shows the member configuration of each data type.
Type Member Data type Description
Timer S Bit type The operation is the same as the contact (TS) of the timer device.
C Bit type The operation is the same as the coil (TC) of the timer device.
N Word [Unsigned]/Bit String [16-bit] The operation is the same as the current value (TN) of the timer device.
Retentive timer S Bit type The operation is the same as the contact (STS) of the retentive timer
device.
C Bit type The operation is the same as the coil (STC) of the retentive timer
device.
N Word [Unsigned]/Bit String [16-bit] The operation is the same as the current value (STN) of the retentive
timer device.
Counter S Bit type The operation is the same as the contact (CS) of the counter device.
C Bit type The operation is the same as the coil (CC) of the counter device.
N Word [Unsigned]/Bit String [16-bit] The operation is the same as the current value (CN) of the counter
device.
Each of long timer, long retentive timer, and long counter requires 4 words.
Upper address
Assignment of FB instances
For details of the FB instances, refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
6 CREATING PROGRAMS
6.11 Converting Programs 429
Converting character codes
Considerations for using an instruction not supporting Unicode
To set a string constant or string type label as an argument of an instruction not supporting Unicode, check that the language
set in the following option matches with that for the initial values of the string constant or string type label before converting a
program.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Language for Instruction Conversion of
Character String Operation and Label Initial Value"
Unify the language used in a project to set a string constant or string type label as an argument of an instruction.
The data type of an instruction not supporting Unicode is "string," "ANYSTRING_SINGLE," or
"ANYSTRING_SINGLE_ARRAY" mentioned in the following manual.
MELSEC iQ-R Programming Manual (CPU Module Instructions, Standard Functions/Function Blocks)
MELSEC iQ-R Programming Manual (Process Control Function Blocks/Instructions)
MELSEC iQ-R Programming Manual (Module Dedicated Instructions)
6 CREATING PROGRAMS
430 6.11 Converting Programs
Checking for errors and warnings
When the program is converted, the target programs and label settings are checked and the result is displayed in the "Output"
window.
The corresponding error location can be referred in the "Output" window.
Operating procedure
1. Double-click the error/warning message displayed in the "Output" window.
2. Check the corresponding error location and modify the error as instructed by the error/warning message.
Considerations
The cursor may jump to a location where the corresponding error does not exist even if the error message displayed in the
"Output" window is double-clicked. The following shows corrective actions for this case.
6 CREATING PROGRAMS
6.11 Converting Programs 431
6.12 Calculating Memory Size
This section shows how to calculate offline a memory size required when writing data in a project to a CPU module.
Remote head modules do not support this function.
Window
Select [Tool] [Confirm Memory Size (Offline)].
Ex.
R08CPU
Operating procedure
1. Select a version from the pull-down list of "CPU Firmware Version."*1
2. Select "Byte" or "Step" from the pull-down list of "Size Display Unit."
3. When the data to be written to an SD memory card is included, select the corresponding SD memory card from the pull-
down list of "Memory Card Type."
4. Select the file to be written, then click the [Calculate] button.
*1 A version can be displayed in projects for RnCPUs (R04CPU, R08CPU, R16CPU, R32CPU, and R120CPU), RnENCPUs, RnPCPUs,
and RnSFCPUs.
The setting methods for the details of a target file and each data are the same as those in the "Online Data Operation" screen.
Refer to the following:
Page 577 WRITING/READING DATA TO CPU MODULE
Depending on the CPU parameter setting, the used capacity may be displayed after calculation even if any file is not selected.
(Example: File Register Setting)
6 CREATING PROGRAMS
432 6.12 Calculating Memory Size
• The items displayed in "Memory Capacity" differ depending on a CPU module.
• When using a project for an FX5CPU, the capacity of an SD card is displayed by selecting the model name
of the SD memory card from the pull-down list of "Memory Card Type."
• The firmware version of a CPU module can be checked in the "Product Information List" screen which can
be displayed from the system monitor.(Page 704 Check of the module firmware version and product
information)
Precautions
• Capacity which is displayed in the "Label" column and "Latch label" column, and is enclosed with () is included in the one
for the program or global labels using the data; therefore, the capacity enclosed with () is not included in the one for labels
and latch labels.
• When writing data by using the [Online Program Change] menu, the size of global label assignment information displayed
in the "Confirm Memory Size (Offline)" screen may differ from the actual size of data to be written to a CPU module.
6 CREATING PROGRAMS
6.12 Calculating Memory Size 433
7 SETTING DEVICE MEMORY
This chapter explains the setting methods for the device memory.
Applicable devices
For the devices that can be set in a device memory editor and their input method, refer to the following:
Page 889 Applicable Devices in GX Works3
Window
Select "Device" "Device Memory" "(data name)" in the navigation window.
Toolbar
(1)
A device memory editor can horizontally or vertically be split into two screens by using any of the following operations.
• Select [Window] [Split]. (Horizontal split only)
• Right-click on the screen, and select [Split] from the short-cut menu [Vertical Split]/[Horizontal Split]
• Click , and select [Split] [Vertical Split]/[Horizontal Split]
By selecting "Specify Range" from the pull-down list of "Device Initial Value," only the initial device values in the specified
range can be displayed.
Fonts can be changed. (Page 81 Checking and Changing Colors and Fonts)
Operating procedure
1. Select [View] [Display Format Detailed Setting] ( ).
2. Set each item in the "Display Format" screen and click the [OK] button.
The setting can also be performed in the toolbar.
Precautions
• If a deletion is executed after selecting a cell, the device value is cleared to '0.'
• The entering method by prefixing '#' to a device name to regard it as a local device is not supported.
Select global labels or local labels when reading the device memory from a CPU module.
Ex.
Set the following values in a word multi-point format.
Device: D2, Device value: 12
Operating procedure
1. Set the display format. (Page 435 Setting the display
format)
2. Enter 'D2' in "Device Name."
When the display unit format is bit, the device value can be changed by double-clicking a cell.
Ex.
Set the following values in a word multi-point format.
Device: D8 to D11, Device value: 1234
Operating procedure
1. Set the display format. (Page 435 Setting the display
format)
2. Enter 'D8' to "Device Name," and select the range of the
device value to be set.
3. Select [Edit] [FILL] ( ).
4. Set each item in the "FILL" screen and click the [OK] button.
Ex.
Set the following values in a word multi-point format.
Device: D20, Character string: Device memory
Operating procedure
1. Set the display format. (Page 435 Setting the display
format)
2. Enter 'D20' to "Device Name," and select [Edit] [Enter
Character String].
3. Enter a character string in the "Enter Character String"
screen, and click the [OK] button.
Precautions
For device memory, use characters in the Unicode Basic Multilingual Plane.
If a character outside the Unicode Basic Multilingual Plane is specified, it may not be displayed properly in the program.
Operating procedure
Deleting all data in the device memory data
Select [Edit] [Clear All (All Devices)].
Operating procedure
1. Click the [Detailed Conditions] button.
2. Select [Online] [Device Memory] [Read Selected Range] ( )/[Write Selected Range] ( ).
The following screen is an example when writing data.
Operating procedure
Select the device to be written/read, and click the [OK] button.
Operating procedure
1. Select the range of devices to be exported in a device memory editor.
4. Select the checkbox of "Export only the rows in which devices already set are included" as necessary, and click the [OK]
button.
5. Set each item in the "Export to File" screen, and click the [Save] button.
Device memory data is exported to a CSV file according to the display format of the device values.
Set the display format as necessary; however, selecting "Word Multi-point" for "Display Unit Format" is
required.
For the method to set the format, refer to the following:
Page 435 Setting the display format
Applicable devices
For the devices which can be set in an initial device value editor, refer to the following:
Page 889 Applicable Devices in GX Works3
Window
Select "Device" "Device Initial Value" "(data name)" in the navigation window.
When editing a value in "Start"/"Last"/"Comment" column, the shortcut menu is displayed by pressing the
+ keys.
Start
Completed
Operating procedure
1. Set each item in an initial device value editor.
2. Select the data to import from the pull-down list of "Device Memory for Register Diversion," and click the [Register to
Device Memory] button.
3. Click the [OK] button.
Device range
Device initial values can be set only for the devices in the range set in the following items in CPU Parameters:
• "File Setting" "File Register Setting"
• "Memory/Device Setting" "Device/Label Memory Area Setting" "Device/Label Memory Area Detailed Setting"
"Device Setting"
Operating procedure
1. Select data from the pull-down list of "Device Memory for Register Diversion."
To check the initial device values, create a new device memory and perform "Register to Device Memory" to it.
Precautions
• The program will be in the unconverted state after the replacement.
• To replace a label name, check whether a name to be replaced has been already used.
• Data cannot be replaced during monitoring unless a ladder editor is in the monitor write mode. Replace it after ending the
monitoring.
• Read-protected data cannot be searched for or replaced. Change the setting for the data so that it can be edited (disabling
the security, for example).
• Multiple cells or elements can be selected by selecting them with the held down.
• When multiple device comments are selected by dragging in a device comment editor, bit specification information that is
not displayed in the editor are also searched or replaced.
(1)
(2)
(3)
(4)
Displayed items
Item Description
(1) Status Displays the number of error logs and the search error.
(2) Search/replace results Displays the position information to specify the location where data was searched for/replaced.
(3) Sub status bar Displays the search/replace result.
(4) Error logs Displays the errors in search/replace results.
The jump function is used to jump from any row of search/replace results or logs to the corresponding
character strings.
To jump, select and right-click a low and select [Jump to the Selected Location]/[Jump to the Previous
Location]/[Jump to the Next Location] from the shortcut menu, or double-click a row.
A row displayed in the "Find Result" screen can be highlighted.
Page 462 Highlighting display
Window
Select [Find/Replace] [Find Device/Label] ( )/[Replace Device/Label].
Operating procedure
Set each item on the screen and click the [Find Next] button.
Item Description
Find/Replace Find Device Point Enter the number of points to be searched for/replaced, counted from the device entered in the "Find
Options Device/Label" field.
When a label is entered for "Find Device/Label" or "Replace Device/Label," enter 1.
Example) When X50 for "Find Device," X100 for "Replace Device," 3 for "Device Point," and "DEC" for
entered value are set
The devices are replaced as follows:
X50X100, X51X101, X52X102
Digit Select this checkbox to search for the entered device and digit-specified bit devices that include the
entered device.
Multiple word Select this checkbox to search for the entered device and the double-word format word devices that
include the entered device.
Partial Match with Select this checkbox to search for the target used for arguments of function blocks*2, arguments of
Element of FB/ functions*2, and structure members in a program.
Structure Data
Type*1
Replace Device comment Select this to copy or move a device comment in "Find Device/Label" to "Replace Device/Label" (excluding
step relays (S) and SFC transition devices (TR)).
*1 Even when the checkbox of this item is selected, the input/output labels of FB instances are not searched for or replaced if "Include the
input/output label of FB instance" under "Find Target" is not selected.
*2 A label whose class is "VAR_INPUT", "VAR_OUTPUT," "VAR_OUTPUT_RETAIN," "VAR_IN_OUT," "VAR_PUBLIC," or
"VAR_PUBLIC_RETAIN" is searched.
• Option: Digit
Device specification Search result
X0 to X3 K1X0
X0 to X0F K4X0
X0 to X1F K8X0
X0Z0 X0Z0, K1X0Z0, K4X0Z0, K8X0Z0
Device with device type specifier (for ST editor, FBD/LD editor, and SFC diagram editor only)
Device specification Search result Remarks
D100 D100: = 1; Devices are searched regardless of device type specifier.
D100: D: = 1;
D100: E:= 0.1;
D100: D D100: = 1; Only devices with a specified device type specifier are searched.
D100: D: = 1;
D100:E := 0.1;
Window
Select [Find/Replace] [Find Instruction] ( )/[Replace Instruction]/[Find Contact or Coil] ( ).
(1) (2)
(1) (2)
Operating procedure
Set each item on the screen and click the [Find Next] button.
By using the following menu, the cursor jumps forward or backward from the current position to the positions
where search or replacement was applied.
• [Find/Replace] [Previous] ( )/[Next] ( )
By selecting "Include the input/output label of FB instance" under "Find Target," the input/output labels of FB
instances in a ladder program or FBD/LD program are also searched for or replaced.
Window
Select [Find/Replace] [Find String]/[Replace Character String].
Find String Replace String
Operating procedure
Set each item on the screen and click the [Find Next] button.
Precautions
When searching for a comment in a program by using the character string search function, it may take time to display the
result. When searching for character strings excluding a comment in a program, select the following checkbox:
• "Find/Replace Options" "Do Not Search Comments in Program"
Ex.
Search for a device comment 'abc ; def' by the following character strings.
String to be searched for Search result
Unselected Selected
a abc; def Nothing is found.
abc abc; def abc; def
bc abc; def Nothing is found.
abc ; def abc; def abc; def
Window
Select [Find/Replace] [Change Open/Close Contact].
Operating procedure
1. Set each item on the screen and click the [Find Next] button.
Item Description
Find/Replace Device Point Enter the number of points to be replaced, counted from the device/label entered in the "Replace Device/Label" field.
Options When a label is entered for "Replace Device/Label," enter 1.
Example) When X100 for "Replace Device," 3 for "Device Point," and "DEC" for entered value are set
The open/close contact of X100, X101, and X102 will be replaced.
2. Click the [Replace] or [Replace All] button to change the contact type.
Window
Select [Find/Replace] [Device Batch Replace].
Operating procedure
Set each item on the screen, and click the [Replace All] button.
Item Description
Find Device, Replace Device Enter a device name and label name which are to be searched and replaced.
To replace a structure type label, enter a text including the structure member for "Find Device" or "Replace Device."
To replace an array type label, enter a text including an array index for "Find Device" or "Replace Device."
Points, Point Format Enter the number of points to be replaced from the device specified in the "Find Device."
Example) When X0 for "Find Device," X10 for "Replace Device," 5 for "Points," and "DEC" for "Point Format" are set
The devices are replaced as:
X0 X10, X1 X11, X2 X12, X3 X13, X4 X14
When a label is entered for "Find Device" or "Replace Device," it will be treated as '1' entered even if a point other
than '1' is entered.
Replace Options Device Comment Select whether to copy/move a device comment in "Find Device" to "Replace Device" (excluding S/TR).
Select a range of device/label on a ladder editor by a drag-and-drop operation to register multiple devices/
labels in batch.
When entering a label name, options will be displayed.
They can also be displayed by any of the following operations:
• Enter '.' at the end of a label name of structure type or an instance name of a function block.
• Press the + keys.
In addition, by selecting "Yes" for the following option, when entering a common device comment or a label
comment, devices and labels for which the comment has been set can be displayed as options.
• [Tool] [Options] "Edit" "Instruction/Device/Label Candidacy Display" "Candidate Display Setting"
"Display the Corresponding Device in Entering Device Comment"
The display format and detailed operation settings for each function can be set by setting the following option.
[Tool] [Options] "Find/Replace" "Cross Reference"
Window
Select [View] [Docking Window] [Cross Reference 1/Cross Reference 2] ( ).
(1)
Operating procedure
1. To specify a range to be searched, select the search location of a device/label by clicking in the toolbar (1). (Multiple
selections allowed.)
2. Enter a device name or a label name to search for in the column in which "(All Devices/Labels)" is displayed.
3. Click .
If searching for devices/labels while "(All Devices/Labels)" is displayed in the column, the cross reference information of all
devices/labels is displayed.
To clear the displayed cross reference information, click .
After setting these options, device or label options are displayed by any of the following operations:
• Enter a device or label name in the input field.
• Enter '.' at the end of a label name of structure type or an instance name of a function block.
• Press the + keys.
In addition, by selecting "Yes" for the following option, when entering a common device comment or a label comment, devices
and labels for which the comment has been set can be displayed as options.
• [Tool] [Options] "Edit" "Instruction/Device/Label Candidacy Display" "Candidate Display Setting" "Display the
Corresponding Device in Entering Device Comment"
*1 When the following option is set to "Yes," a label editor is included in the search range.
[Tool] [Options] "Find/Replace" "Cross Reference" "Find Condition" "Find Label Definition"
*2 Not searched for if a function is created in Ladder Diagram language.
Array
In the following option, a constant label used as an array index can be analyzed, and whether or not to search for a label
considering a constant value can be selected.
• [Option] in the toolbar "Find Condition" "Analyze and Find Constant in Find When Constant Label is Specified in Array
Element"
Precautions
Even if a device or label is selected in an editor when "Not Auto-tracking" is selected for the following option, the
corresponding row in the search result will not be selected.
• [Tool] [Options] "Find/Replace" "Cross Reference" "Operational Setting" "Display Destination of Auto-tracking
Result"
Operating procedure
Enter or select a filtering condition, and press the key.
Filtering condition
The previously entered keywords can be selected from the pull-down list.
For "Data Name" and "Program File Name," search results can also be selected from the list as well as previously entered
keywords.
Ex.
When setting a filtering condition for the device/label column
Wild card Target Example Result
* Any character string *30* ready301, K4X30, K1Y30, K4Y30
? Any one character K4?30 K4X30, K4Y30
[] Any one of specified characters [XY]8 X8, Y8
[!] Any one character except for one in the brackets K4X[!3]0 K4X40
[-] Character strings within the range in the brackets D[0-2] D0, D1, D2
Hierarchical display
A structure/array/function block can be displayed hierarchically.
If a device uses two or more points in an instruction, devices after the start device can also be displayed.
Operating procedure
Select the checkbox of "Display Hierarchically" under the [View] menu on the toolbar.
Sorting display
The columns can be sorted in ascending/descending order by clicking the column header. However, they cannot be sorted if a
structure/array/function block is hierarchically displayed.
Highlighting display
A displayed row can be highlighted.
Operating procedure
Select a row and click (Set/Clear Highlight) on the toolbar.
The color of a row to be highlighted can be selected by clicking next to (Set/Clear Highlight) on the
toolbar. Rows can be color-coded with this function.
Moreover, by clicking (Previous Highlight) or (Next Highlight), the cursor jumps to the previous or next
highlighted row.
Window
Select [Find/Replace] [Unused Label List].
Operating procedure
Click .
Operating procedure
1. Click .
2. Select the checkbox of data to be searched in the "Reference Tree for Find In" screen. (Multiple selections allowed.)
3. Click .
After the cursor jumped from a search result to a program editor, label editor, or SFC block list, by using the
following menu, the cursor jumps forward or backward from the current position to the positions where search
was applied.
• [Find/Replace] [Previous] ( )/[Next] ( )
Precautions
• Function blocks, functions, and structures which are not utilized in a program are not searched for.
• A label used in "Block Information" in the "Properties" screen of an SFC block as an array index is regarded as an unused
label if it is not used in a program.
• Labels specified as aliases are not detected as unused labels even when these are not used in a program.
Operating procedure
1. Select a label in a search result list. (Multiple selections allowed.)
2. Right-click the label and select [Delete Label] from the shortcut menu.
Precautions
• When a label is deleted, the program related to the deleted label will be in the unconverted state.
• When utilizing a function block/function in a program, an input argument and an output argument which are not used in the
function block/function are treated as unused ones. Note that the definition of a function block/function is changed when
deleting an input argument and an output argument.
• When VAR_PUBLIC and VAR_PUBLIC_RETAIN are not used in the function block of the definition source, these are
detected as unused labels even when used in a program other than the function block of the definition source.
• When a label name of an input/output argument of a function block utilized in an ST program corresponds to a local label
name in the ST program, it is not detected as an unused label.
Window
Select [Find/Replace] [Device List].
(1)
Operating procedure
Set each item and press the key.
To specify the range to be searched, select the search location of a device/label by clicking in the toolbar (1). (Multiple
selections allowed.)
To set the display format, set it in the screen displayed by selecting [Setting] [Batch Setting] in the tool bar (1).
• A device comment can be entered or edited in the Device List. Enter a comment in "Comment" column and
press the key.
• By any of the following operations, only comment can be copied or pasted.
Right-click and select [Copy Comment] from the shortcut menu.
Right-click and select [Paste Comment] from the shortcut menu, alternatively, press the + keys.
• The editor where the comment is defined is opened by selecting and right-clicking a row in the Device List,
then selecting [Comment Edit] from the shortcut menu.
Considerations
Searching for coil instructions
As output instructions, the following application instructions can also be searched for:
SET, RST, PLS, PLF, FF, SFT, SFTP, and MC
(1)
(2)
(3)
Displayed items
Item Description
(1) Toolbar Specify a device/label to be analyzed.
Analysis target device/label The device/label type and range to analyze can be specified by entering a device/label to
which a character string such as a program file name is appended. (Page 470 Device/
label type and analysis range specification method)
Analyze Click this to analyze a specified device/label.
Setting Select this to set an item to be included in an analysis range.
View Select this to set an item to be displayed in a data flow diagram.
Number of Rows to Display Select this to set the number of rows for a device, label, and comment displayed in a device/
label block and process block. (Up to four rows)
If the checkbox of "Display Device/Label and Comment" is selected in the pull-down list of the
[View] menu, only the following number can be selected:
•2
•4
Update Click this to update a data flow diagram with specified analysis conditions (analysis target,
setting, view, and number of rows to display).
Clear All Click this to clear an analysis result (data flow diagram).
Select Click either of the icons to switch the mouse cursor.
• Select: An element can be selected, expanded, or collapsed. In addition, the cursor can
Panning Hand
jump to a location in which the selected element is used.
• Panning Hand: The display position of a data flow diagram can be moved.
Zoom In Click this to zoom in and out a data flow diagram.
Zoom Out
Zoom Specify the magnification of a data flow diagram.
Start Monitoring Click this to start the monitor mode.
Stop Monitoring Click this to stop the monitor mode.
Register FB Instance Click this to specify an FB instance to be monitored.
Analyzing a device/label
The following shows the procedure for analyzing a device/label and displaying a data flow diagram.
Operating procedure
1. Select a device or label to be analyzed in a screen such as a program editor.
2. Right-click it and select [Dataflow Analysis] from the shortcut menu.
The "Dataflow Analysis" window appears, which displays an analysis result as a data flow diagram.
• A data flow diagram can be displayed by pressing the ++ keys after selecting a device/label.
• A device/label can be analyzed from a block displayed in a data flow diagram.
Select and right-click any of the following blocks, then select [Dataflow Analysis] from the shortcut menu:
Device/label block
Process block (function block only)
Precautions
When there is no item related to a device/label which is specified as an analysis target, a data flow diagram is not displayed.
Ex.
Analyzing a device (D0-D1) used in a DMOV instruction
e+f+'
Precautions
• When analyzing the following data, the value of an index register is not applied to the device value:
Device modified with a local index register
Index-modified device used as an array element of an array type label
32-bit index modification with ZZ expression
Index register (Z, LZ, ZZ)
• '-' (A hyphen) is displayed if a device cannot be analyzed with the device value to which the index value is applied.
Unanalyzable device/label
• In a ladder program, a ladder in which a conversion error has occurred cannot be analyzed.
• Some devices/labels cannot be analyzed if the following devices/labels are specified:
Specified device/label Unanalyzable device/label/constant
Bit-specified device/label Device/label a bit of which is not specified
Local label in a function block or structure member FB instance or structure type label name
Digit-specified device/label Device/label the digits of which are not specified
Label including an array element Label which does not completely match with the one in a program
• Device/label specified as an array element
• Device/label/constant used in a conditional expression of control
syntax in a ST program
(1) (2)
(4)
(3)
(5)
Each block is placed in a data flow diagram according to the display order in the navigation window. When
analyzing a device/label again after sorting data displayed in the navigation window, the layout of each block
in the data flow diagram will be updated.
Displaying comments
• For a device/label block and a process block, comments set in the following option or screen are displayed:
[Tool] [Options] "Project" "Device Comment Reference/Reflection Target"
[Tool] [Options] "Other Editor" "Label Editor Common" "Display Setting" "Hierarchy Display Setting for
Structures Comment"
"Multiple Comments Display Setting" screen
• Comments which are set when an analysis starts are displayed. If a comment is edited or a setting is changed in the
"Multiple Comment Display Setting" screen after the analysis starts, execute the analysis again to display the latest
comments.
• Some comments may not be displayed when the following conditions are satisfied:
Condition Comment display
One of sequential devices is specified as an analysis target. Only a comment set for the start device is displayed.
(Example: device used in a DMOV instruction)
An analysis target (base point) device/label has multiple definitions. • Device: A common device comment is displayed.
• Label: A comment is not displayed.
Precautions
• The cursor cannot jump if the mouse cursor is (Panning Hand).
• The jump function is not available for the following items:
Device/label block (base point)
Extended block (event history (offline monitor))
• By using the following menu, the cursor jumps forward or backward from the current position to the
positions where search was applied:
[Find/Replace] [Previous] ( )/[Next] ( )
• By pressing the + keys, jumping is possible while the cursor remains in the "Dataflow Analysis"
window.
Expanding/collapsing an element
By selecting an element in a data flow diagram and performing any of the following operations, the element can be expanded
or collapsed:
• Click / .
• Right-click on the diagram, and select [Expand/Collapse] from the shortcut menu.
• Press the key.
Precautions
An element cannot be expanded or collapsed if the mouse cursor is (Panning Hand).
Smart tag
Starting/stopping monitoring
By starting monitoring, the monitor values of analyzed devices/labels can be displayed in a data flow diagram.
Starting monitoring
Operating procedure
Right-click on a data flow diagram and select [Monitor] [Start Monitoring] from the shortcut menu.
Stopping monitoring
Operating procedure
Right-click on a data flow diagram and select [Monitor] [Stop Monitoring] from the shortcut menu.
When selecting a program with the specified program monitor function, the values after the selected program
was executed are displayed as the monitor values. In this case, "[Monitoring (Running Specified Program
Monitor)]" is added to the title of the "Dataflow Analysis" window.
For details on the specified program monitor function, refer to the following:
Page 613 When monitoring devices/labels in a specified program
Precautions
• If a device/label block satisfies either of the following conditions, its monitor value is not displayed:
Local label used in a macro type function block or in a program body of a FUN
Local device used in an unregistered program or in a program body of an FB/FUN
• When a device/label cannot be monitored, an indefinite value or "----" is displayed in the monitor value display area.
• If an index-modified device is displayed in either of the following data display formats, an indefinite value is displayed in the
monitor value display area:
64-bit Integer [Signed]
64-bit Integer [Unsigned]
• For sequential devices, only the monitor value of start device is displayed.
Window
Double-click a program block of a function block on a data flow diagram.
Alternatively, right click it and select [Monitor] [Register FB Instance] from the shortcut menu.
Operating procedure
1. Select an FB instance to display its monitor value, and click the [Apply] button.
Filtering display
The list of FB instances displayed in the "Register FB Instance" screen can be filtered.
Operating procedure
Enter or select a filtering condition, and press the key.
To clear filtering, delete the keyword entered as a filtering condition.
The previously entered keywords can be selected from the pull-down list.
Operating procedure
1. Select a device/label block of a word device or double-word device.
2. Click either of the following smart tags to set the display format:
• Data Display Format ( )
• Display Value ( )
Precautions
• The display format settings are saved in a project and not written to a programmable controller.
• Up to 10,000 display format settings can be retained. If the number of settings exceeds 10,000, they will be deleted in
chronological order. However, note that if there are any data display format settings imported from a CSV file, the settings
will be deleted from the one in the bottom row of the CSV file.
(1)
(2)
(1): Header
(2): Data segment
Operating procedure
Right-click on the data flow diagram, and select [Monitor] [Device Data Type Setting] [Export to File] from the shortcut
menu.
Operating procedure
Right-click on the data flow diagram, and select [Monitor] [Device Data Type Setting] [Import File] from the shortcut
menu.
Precautions
• A CSV file with more than 10,000 rows of data cannot be imported.
• When different data types are set for one device in multiple rows, the setting in the most upper row in the CSV file is
imported.
Window
Select [View] [Docking Window] [Bookmark] ( ).
(1)
Bookmark Tree
Folder
Bookmark
Displayed items
Item Description
(1) Toolbar Expand/Collapse Tree To expand or collapse a bookmark tree.
Jump to Previous Bookmark (in Execution To jump to the bookmark that is previous to a selected one in the execution order.
Order)
Jump to Next Bookmark (in Execution Order) To jump to the bookmark that is next to a selected one in the execution order.
Clear All To clear all registered bookmarks.
Sort To sort bookmarks in each folder by name or execution order.
Registering a bookmark
Position information of a program can be registered in a project. Up to 100 bookmarks can be registered.
Operating procedure
Right-click on any of the following screens, and select [BookMark] from the shortcut menu.
• Ladder editor
• Inline structured text box in a ladder editor
• ST editor
• FBD/LD editor
• Inline structured text element in an FBD/LD editor
• Dataflow analysis window
(5) (6)
Jumping to a program
The cursor can jump to a program position that is registered as a bookmark.
Operating procedure
Select a bookmark, then perform any of the following operations:
• Double-click the bookmark.
• Right-click the bookmark, and select [Jump] from the shortcut menu.
• Press the key.
Deleting a bookmark
A bookmark can be deleted from a project.
Operating procedure
Select a bookmark or folder, then perform either of the following operations:
• Right-click the bookmark, and select [Delete] from the shortcut menu.
• Press the key.
Considerations
Editing or converting a program after bookmark registration
If a program is edited or converted after bookmark registration, position information registered as a bookmark will not be
matched with the program. To update the bookmark, delete and register the bookmark again.
POU
There are two types of POUs which can repeatedly be used; function blocks and functions.
Remote head modules do not support them.
Function block
'Function block' is a program component (POU) created by segmenting a program, which outputs an operation result in
accordance with a value of the internal memory and an input value, into components.
It is classified into the following three types.
POU Description Reference
Function block A function block which is created by a user. Page 484 Creating a
In projects for an RnPCPU (process mode/redundant mode) and an RnPSFCPU, a function block in Function Block
which the process control processing of a manufacturer-defined tag FB is customized (user-defined Page 497 Creating a user-
tag FB) can be created. defined tag FB
Standard function block A function block which can be used in general. It is prepared in GX Works3 in advance. Page 57 Element
selection window
Process control function A function block for process control. It can be used in the following programs. It is prepared in GX Page 57 Element
block Works3 in advance. selection window
In addition, process control function blocks can be used in the following program.
• FBD/LD program for process control
• FB program of a function block placed in an FBD/LD program (FBD/LD program)
• FB program of a user-defined tag FB placed in an FBD/LD program (FBD/LD program)
Module FB A function block which is created by segmenting a dedicated processing for a module. It is prepared in Page 500 Using a module
GX Works3 in advance. FB
Function
'Function' is a program component (POU) created by segmenting a program, which has no internal memory and outputs the
same operation result to the same input value always.
It is classified into the following two types.
POU Description Reference
Function A function which is created by a user Page 504 Creating a
Function
Standard function A function which can be used in general. It is prepared in GX Works3 in advance. Page 57 Element
selection window
10 SEGMENTING PROGRAMS
482
Library
'Library' is an element collection of multiple POUs and structures. Elements in a library can be used in multiple projects.
User library
'User library' is an element collection which is composed of created POUs and structures.
For details, refer to the following: 10
Page 506 Enhancing Use of User Library
10 SEGMENTING PROGRAMS
483
10.1 Creating a Function Block
This section explains the method to create a sequence program using function blocks.
Function block
For details on function blocks, refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
Procedure to use
Creating a new function block
1. Create new function block data. (Page 485 Creating new data)
2. Register a local label to use in a program body of a function block. Up to 5120 local labels can be registered in a function
block. (Page 486 Setting labels)
3. Create a program body by using a label. (Page 486 Creating a program)
10 SEGMENTING PROGRAMS
484 10.1 Creating a Function Block
Creating a new function block
The following explains the method to create a new function block.
For the number of creatable function blocks, refer to the following:
Page 128 Maximum number of units of data that can be created in one project (RCPU/LHCPU/FX5CPU)
However, the maximum number of data that can be created may not be reached depending on the configuration of FB files 10
and FUN files.
*1 For the conditions under which "Yes" can be selected, refer to the following:
Page 485 Conditions to select "Yes" for "Use MC/MCR to Control EN"
Precautions
• If the function block in which the MC/MCR instruction is used is not executed, the outputs and the current values of timers
in the function block will be reset. (If the instruction is not used, the current values are retained).
• When "Yes" is selected for "Use MC/MCR to Control EN," the system uses 'N0' (nesting) for MC/MCR instructions in an FB.
Therefore, do not use 'N0' for the MC/MCR instructions in the same FB.
10 SEGMENTING PROGRAMS
10.1 Creating a Function Block 485
Setting labels
Set a label to use in a program body on a label editor.
The operations in the editor are the same as that in other label editors. For details, refer to the following:
Page 227 Registering Labels
Operating procedure
Select "FB/FUN" "(file name)" "(FB)" "Local Label" in the navigation window.
Precautions
Do not assign the instance of a function block to an alias. (Page 230 Alias)
Creating a program
Create the program body of a function block by using labels.
Both local labels and global labels of a function block can be used.
The method for entering programs is the same as that of each program.
Operating procedure
1. Select "FB/FUN" "(file name)" "(FB)" "ProgramBody" in the navigation window.
Operating procedure
1. Select "FB/FUN" "(file name)" in the navigation window.
3. Set the type of the function block for "FB Type" in the "Properties" screen, and click the [OK] button.
10 SEGMENTING PROGRAMS
486 10.1 Creating a Function Block
Setting reserved area capacities
Set the reserved area capacities of FB instances for each function block.
To apply the set reserved area capacities for programs, all the programs are required to be converted (reassigned).
For details on reserved area capacities, refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
10
MELSEC iQ-F FX5 Programming Manual (Program Design)
Operating procedure
1. Select "Yes" for the following option.
[Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Function Block" "Enable to Set Reserved
Area"
2. Select "FB/FUN" "(file name)" "(FB)" in the navigation window.
4. Set a reserved area capacity for "Label Reserved Area," "Latch Label Reserved Area," or "Signal Flow Reserved Area,"
then click the [OK] button in the "Properties" screen.
Precautions
• In a project for an FX5CPU, the reserved area capacities of function blocks cannot be changed.
• Only for subroutine type function blocks, the reserved area capacity for "Signal Flow Reserved Area" can be set.
When editing only the program body of a subroutine type function block
By setting the following option, only the edited FB program or FB file will be in the unconverted state.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Convert, Online Program Change Target
Setting"
When an unconverted function block is converted after changing the option from "High-Speed" to "Low-Speed," a POU
including the function block is also converted.
Precautions
If the option is set to "High-speed" and any one of the following instruction is used in a subroutine type function block, a
conversion error may occur. A conversion is successfully completed by converting the program again or performing the online
program change.
• Rising instruction
• Falling instruction
• SCJ instruction
• STMR instruction
10 SEGMENTING PROGRAMS
10.1 Creating a Function Block 487
Considerations when creating FB programs
Use of devices
Using labels is recommended for creating FB programs.
If an FB program which uses devices (X10, Y10, etc.) is used at multiple locations, the program may not operate normally.
In addition, if an FB program which uses devices for the OUT instruction is used at multiple locations, duplicated coil is
resulted. Duplicated coil can be avoided with the SET/RST instruction.
When using function blocks for a sequence program to be executed multiple times in a single
scan
If a function block, which contains a rising instruction/falling instruction, or an instruction that requires multiple scans before
the execution completion, is used in a sequence program to be executed multiple times in a single scan, the program may not
operate normally.
Item Description
Program type to be executed multiple times in a single scan • Periodic execution type program
• Interrupt program
• Subroutine program
• FOR-NEXT instruction program
Unusable instructions for FBs which are used for above Instructions which require multiple scans before the execution completion
programs (JP.READ/JP.WRITE instruction, SORT instruction, SP.FREAD/SP.FWRITE instruction, etc.)
Rising instruction
(P instruction (such as MOVP instruction), PLS, etc.)
Falling instruction
(PLF, LDF, ANDF, ORF, MEF, FCALLP, EFCALLP, etc.)
10 SEGMENTING PROGRAMS
488 10.1 Creating a Function Block
Creating a function block from an existing ladder block
The following explains the method to create a function block by using a ladder block in a sequence program.
This method is supported only in a ladder program.
For the number of creatable function blocks, refer to the following:
Page 128 Maximum number of units of data that can be created in one project (RCPU/LHCPU/FX5CPU) 10
However, the maximum number of data that can be created may not be reached depending on the configuration of FB files
and FUN files.
Usage example
To segment a ladder block into an element
By segmenting an existing ladder block that is used repeatedly in a program into an element, it can be used in a program.
■Before creating an FB
(1) (2)
(1)
■After creating an FB
(3)
(3)
10 SEGMENTING PROGRAMS
10.1 Creating a Function Block 489
To turn processing into a function
A program can be shortened by turning long processing in a ladder program into a function.
■Before creating an FB
(1)
(3)
(2)
■After creating an FB
(4)
10 SEGMENTING PROGRAMS
490 10.1 Creating a Function Block
Creation method
The following shows the procedure for creating a function block from a existing ladder block.
Operating procedure
1. Select a ladder block to change it to a function block in a program editor. 10
4. Set each item in "Set FB Instance" and "Local Label Definition Setting of FB," and click the [Execute] button.
For details on "Local Label Definition Setting of FB," refer to the following:
Page 493 Local label definition setting for a function block
10 SEGMENTING PROGRAMS
10.1 Creating a Function Block 491
A function block is created and inserted above the ladder block selected in step 1.
When creating a function block from a ladder block for which a statement is set, operation will be as follows,
regardless of whether the statement is selected:
• A created function block is inserted above the statement.
• The statement is added in the program of the created function block.
10 SEGMENTING PROGRAMS
492 10.1 Creating a Function Block
Local label definition setting for a function block
The following shows a setting example of "Local Label Definition Setting of FB" in the "Create FB" screen.
Ex.
Segmenting a ladder block into an element
(6)
(5)
(4)
Ex.
Turning processing into a function
Processing can be turned into a function as is by unselecting the checkbox of "Define all devices/labels as labels of FB." in
"Local Label Definition Setting of FB" of the "Create FB" screen. (Page 491 Creation method)
10 SEGMENTING PROGRAMS
10.1 Creating a Function Block 493
Considerations when creating a function block
Conversion state of a program
If a program is in the unconverted state, the "Create FB" screen cannot be opened.
Device settings
The following devices cannot be set as input, output, or input/output arguments.
• Timer
• Retentive timer
• Long timer
• Long retentive timer
• Counter
• Long counter
Change the corresponding device to a global label to which the device is assigned before creating a function block.
Alternatively, unselect the checkbox of the device in "Local Label Definition Setting of FB" in the "Create FB" screen.
By unselecting the checkbox of a device in "Local Label Definition Setting of FB" in the "Create FB" screen,
the device/label can be used as is in the program of a function block.
Operating procedure
1. Open a local label editor of a function block.
2. Change the data length in the "Data Type" column for an added label.
10 SEGMENTING PROGRAMS
494 10.1 Creating a Function Block
Troubleshooting
A conversion error may occur if a certain device, instruction, function block, or function is used in a selected ladder block.
The following table explains corrective actions for an conversion error for each device, instruction, function block, and
function.
Device/instruction/function block/function Corrective action 10
Instruction that specifies the number of device/label points to Set the data type by an array.
access with its argument The following figure shows a correction example.
(Example: BMOV) (Example) BMOV
Instruction with an argument for which only devices or array Set the data type by an array.
labels are available The following figure shows a correction example.
(Example: D*) (Example) D*
10 SEGMENTING PROGRAMS
10.1 Creating a Function Block 495
Device/instruction/function block/function Corrective action
Function block/function with an generic data type argument Set the correct data type.
(Example: ADD) Open the local label editor for a function block, and correct the setting in the "Data Type"
column.
Instruction with an argument for which only devices are Take either of the following corrective actions:
available • Unselect the checkbox of the corresponding device in "Local Label Definition Setting of FB"
(Example: EGP) in the "Create FB" screen when creating a function block.
Any of the following devices:
• Timer
• Retentive timer
• Long timer
• Long retentive timer
• Counter
• Long counter
• Change the corresponding device to a global label to which the device is assigned.
Operating procedure
1. Delete a function block inserted in a program.
2. Delete the added labels of the function block in the local label editor of the program.
3. Select "FB/FUN" in the navigation window and delete the added FB file.
10 SEGMENTING PROGRAMS
496 10.1 Creating a Function Block
Creating a user-defined tag FB
The control processing of a manufacturer-defined tag FB can be customized by creating a user-defined tag FB.
In the FB program of a user-defined tag FB, the tag data can be referenced by using a tag access FB of a process control
function block and a structure label for tag data reference.
A user-defined tag FB can be used only in an FBD/LD program for process control in projects for an RnPCPU (process mode/ 10
redundant mode) and an RnPSFCPU.
Procedure to use
1. Create new function block data. (Page 497 Creating data)
2. Create a program body of a user-defined tag FB. (Page 497 Creating a program)
3. Register a tag FB for which a user-defined tag FB has been specified on the tag FB setting editor.(Page 249
Registering Tag FBs)
4. Create an FBD/LD program for process control by using a tag FB instance of a registered user-defined tag FB.
6. Write the program to the programmable controller. (Page 580 Writing data to a programmable controller)
7. Monitor and debug the program by displaying a faceplate.(Page 662 Checking Tag Data)
8. Apply the initial value of the FB property. (Page 666 FB Property Management (Online) screen)
Precautions
If the definition of a user-defined tag FB is deleted in the navigation window, a project may become incorrect.
Before deleting a user-defined tag FB, search a project for the FB definition name by using the character string search
function and check that it is not used.
Creating data
A function block data can be created in a project on the "New Data" screen.
Item Description
Detail Program Program Language Select a programming language to be used in a function block.
Setting Configuration When creating a user-defined tag FB, select "FBD/LD."
Use as Tag FB Select whether to use a function block as a tag FB.
When creating a user-defined tag FB, select "Yes."
Tag Type Select a tag type.
FB File FB File of Add Destination Select a storage destination file of a function block to be created.
A new storage destination file can be created by entering a file name directly.
FB Type When creating a user-defined tag FB, "Subroutine Type" is selected automatically.
Creating a program
Create a program body of a user-defined tag FB by combining a function and a function block.
The method for entering programs is the same as that of an FBD/LD program.
Precautions
• Do not use the EI instruction in a user-defined tag FB or a function and function block which is called from a user-defined
tag FB
• User-defined tag FBs cannot be copied to other project.
10 SEGMENTING PROGRAMS
10.1 Creating a Function Block 497
Tag access FB
Tag access FBs can be used in a user-defined tag FB.
However, if a tag access FB to use does not support the tag type of a user-defined tag FB type, the tag access FB cannot be
used.
For details on the tag types and their corresponding tag access FBs, refer to 'Correspondence table of tag types and tag
access FBs' in the following manual:
MELSEC iQ-R Programming Manual (Process Control Function Blocks/Instructions)
Precautions
When the global label setting "M+PTAG" or tag data structure in a project is deleted, a structure label for tag data reference is
also deleted. Add a structure label for tag data reference in the FB program of a user-defined tag FB.
• [Edit] [Process Control Extension] [Add Structured Data Type Label for Tag Data Reference]
Ex.
When using the MV value of user-defined tag FB 'TIC021_FB,' create a variable element with the name 'TIC021.MV,'
• Label name of tag data: TIC021
• Member name of tag data: MV
Ex.
When using the MV value of a user-defined tag FB (tag type: PID), create a variable element with the name '_PID.MV.'
• Structure label for tag data reference: _PID (tag type: PID)
• Member name of tag data: MV
10 SEGMENTING PROGRAMS
498 10.1 Creating a Function Block
Method for having an operation constant to a user-defined tag FB
The following shows the procedure for directly setting an initial value such as that of an operation constant of a tag access FB
used in an user-defined tag FB from the user-defined tag FB in a program.
For details on operation constants, refer to the following:
MELSEC iQ-R Programming Manual (Process Control Function Blocks/Instructions)
10
Operating procedure
1. Register a label of VAR_PUBLIC' class or
'VAR_PUBLIC_RETAIN' class to a local label of a user-
defined tag FB.
2. Substitute the registered label (step 1) for an operation
constant.
To substitute a label for an operation constant of a tag access
FB, use a variable element.
Example)
When substituting a label for the operation constant 'MTD'
with the tag access FB (label name: M_P_2PID_1), define a
variable element with the label name 'M_P_2PID_1.MTD.'
Connect the label registered in step 1 and the variable label
with the name "M_P_2PID_1.MTD."
3. Register a user-defined tag FB on the tag FB setting
editor.
4. Place the user-defined tag FB (step 3) on an FBD/LD
program.
10 SEGMENTING PROGRAMS
10.1 Creating a Function Block 499
Using a module FB
In GX Works3, 'Module FB,' which is composed of the segmented processing for each module (function block), is provided.
By using the module FBs, the operation settings can easily be performed without programming the processing of each
module.
Note that the module FBs cannot be used in safety programs.
The manual of module FBs can be opened from the element selection window.
Select and right-click a module FB, then select [Help] from the shortcut menu.
2. Select the local label or global label from the pull-down list in the "FB Instance Name" screen, and enter an FB instance
name.
The FB instance is inserted into the program.
In addition, the definition of the module FB is added to "M_FBLIB" in the navigation window.
Precautions
• When using a module FB, registering a module label in advance (at creation of new project) is recommended.
Otherwise, it may take time when using the module FB.
• Do not assign the instance of a module FB to an alias. (Page 230 Alias)
10 SEGMENTING PROGRAMS
500 10.1 Creating a Function Block
• An error occurs when converting a program, such as (1) in the following figure, which is created by using a transfer
instruction or assignment statement in order to pass the value of a module label to the member of an FB instance of a
module FB. Modify the program so that the module label is connected to the input variable of the FB instance of the module
FB such as (2).
Ex.
The following shows a program example. The elements used in the program are as follows: 10
• Module label: RCPU
• Module FB: M_RCPU_ConnectionOpen_00C_1
• FB instance: M_RCPU_ConnectionOpen_00C_1
• Member (input variable): i_stModule
Ladder program
Program in which a conversion error occurs
(1)
Modification example
(2)
ST program
Program in which a conversion error occurs Modification example
(1)
(2)
10 SEGMENTING PROGRAMS
10.1 Creating a Function Block 501
Using a library associated with a module
Depending on a module (simple motion module), a library that is associated with a module can be used.
The following shows the procedure to use the library.
Operating procedure
1. In the [Module] tab in the element selection window, double-click "(module name)" under the tree of "Module FB."
4. Register the library to the library list. (Page 511 Registering user libraries in the library list)
A shortcut to the library is added as a child item of "(module name)" in the tree expanded (double-clicked) in step 1.
5. Double-click the shortcut to the library.
6. Utilize an element from the library to a project. (Page 512 Utilizing an element)
*1 The message may not appear depending on the module.
Precautions
When a library has already been registered
When a library associated with a module has already been registered in the library list, step 3 and 4 in the procedure above
are not required.
According to the operations after step 1, data to be displayed as a child item of "(module name)" is determined.
The following shows each operation and data to be displayed.
Operation Data to be displayed
Check the displayed message, and click the [Yes] button. A shortcut to the library only
Check the displayed message, and click the [No] button. A shortcut to the library and a module FB
No operation (No message is displayed.) A module FB only
Redisplay of a module FB
To redisplay module FBs that are not displayed in the tree, perform any one of the following operations.
No. Operation
1 Delete the library that is associated with a module from the library list. (Page 511 Deleting libraries/updating display information)
2 Open the project again.
In the [Module] tab of the element selection window, double-click "(module name)" under "Module FB" in the tree.
Click the [No] button in the confirmation message appeared.
10 SEGMENTING PROGRAMS
502 10.1 Creating a Function Block
Setting the operation parameters for a module FB
Operating procedure
1. Open the label editor where the FB instance of a module FB is registered (local label or global label in a program where
the module FB is used).
10
2. Select the FB instance and enter the initial value of a label within the extension display area.
However, the initial value of a label whose operation parameter is array cannot be set in a label editor. Set an initial value in a
program.
When the operation parameter of a module FB which is set using the initial label value is changed in a program, the module
FB operates with the changed value. Before changing the label values of a module FB, check the affect of the change using
the cross reference function.
Editing a module FB
A local label and a program body of a module FB cannot be edited.
However, a module FB can be copied in the navigation window and the copied one can be edited.
'+' of the copied module FB names will be replaced with '_'.
10 SEGMENTING PROGRAMS
10.1 Creating a Function Block 503
10.2 Creating a Function
This section explains the method to create a sequence program using functions.
Functions
For details of the functions, refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
Procedure to use
1. Create new function data. (Page 504 Creating data)
2. Register a local label to be used in a FUN program. Maximum 5120 local labels can be registered in a function.
(Page 504 Setting labels)
Creating a function
The following explains the method to create a function.
For the number of creatable functions, refer to the following:
Page 128 Maximum number of units of data that can be created in one project (RCPU/LHCPU/FX5CPU)
However, the maximum number of data that can be created may not be reached depending on the configuration of FB files
and FUN files.
Creating data
A function block data can be created in a project on the "New Data" screen.
Item Description
Detail Setting Use EN/ENO Yes Become a function with EN/ENO.
EN/ENO labels can be used in a program without registering as local labels.
For details on EN/ENO, refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
MELSEC iQ-F FX5 Programming Manual (Program Design)
No Become a function without EN/ENO.
FUN File of Add Destination Select the storage destination file of a function to be created.
A new storage destination file can be created by entering a file name directly.
Setting labels
Set a label to use in a program body on a label editor.
The operations in the editor are the same as that in other label editors. For details, refer to the following:
Page 227 Registering Labels
Operating procedure
Select "FB/FUN" "(file name)" "(Function)" "Local Label" in the navigation window.
10 SEGMENTING PROGRAMS
504 10.2 Creating a Function
Creating a program
Create a program body of a function by using a label.
The labels set to the local label of the function can be used.
The method for entering programs is the same as that of each program.
Operating procedure 10
1. Select "FB/FUN" "(file name)" "(function)" "ProgramBody" in the navigation window.
Converting functions
• Functions (POUs) will not be in the converted state even if the conversion was attempted as long as functions are not used
in the program, or functions are used only in unregistered programs.
• When a function is edited, all the programs in which the FUN file and the function are used will be in unconverted state.
10 SEGMENTING PROGRAMS
10.2 Creating a Function 505
10.3 Enhancing Use of User Library
This section explains the method to store a created element in a library file and utilize it to a sequence program.
In this section, the user library is explained as a library.
User library
The user library collects the elements which are used generally in multiple projects to make them easy to utilize. It can be
used by importing elements of a library into each project.
The following data can be registered in the user library.
• POUs (program block, function block, function)
• Global labels, structures
• Module labels, module FBs
• Each program device comments, common device comments
Project A
Library
Importing only necessary elements
and utilizing them
Element 1 Element 4
Element 2 Element 5
Project B
Element 3 Element 6
Project C
Procedure to use
1. Create a library file. (Page 507 Creating a library)
2. Register a library in GX Works3. (Page 511 Registering user libraries in the library list)
3. Utilize elements from a library to projects. (Page 512 Utilizing an element)
Precautions
When using the library file which is on a network drive or a removable media, save the file in the hard disk of a personal
computer before using.
10 SEGMENTING PROGRAMS
506 10.3 Enhancing Use of User Library
Creating a library
The following explains the operations such as the creation and editing methods of a library.
Precautions
After registering a library, the registered elements are displayed in the [Library] tab in the element selection window. However,
the information of global labels (such as label name, and data type) is not displayed.
When creating a library that includes multiple global labels, set comments to distinguish them on the "Properties" screen of
global labels.
Operating procedure
1. After creating elements in a project, select [Project] [Library Operation] [Export Library].
By clicking the [Detailed Setting] button on the screen above, the following can be set on the "Library Export Detailed
Settings" screen.
Item Description
Make Public Set whether to release or close the data to users who use the library.
Editable/Non-editable Setting Set whether to set a password to edit to the exported library.
When setting a password, the applicability of editing (editable/read-only/read-protected) can be set for
each element.
Additionally, an individual password can be set to a read-protected POU.
By selecting the checkbox of "Disable Password Authentication," editing of a read-protected POU can
be disabled. (Page 508 POUs whose password authentication is disabled)
Help Setting Set whether to import the help file to the library or refer it externally.
10 SEGMENTING PROGRAMS
10.3 Enhancing Use of User Library 507
Precautions
• When "Compression" is selected for "File Size" in the "Properties" screen, the project cannot be exported as a library file.
Select "Standard" for the setting in advance.
(Page 137 Compressing a project file)
• When "2" is selected for "Security Version" in the "Properties" screen, the project cannot be exported as a library file. Select
"1" for the setting in advance.
(Page 697 Preventing Illegal Access to/Falsification of Data (Security Version))
• For read-only or read-protected elements utilized from other libraries, the reading applicability of the elements cannot be
changed when exporting them.
• For the characters that cannot be used for a library name, refer to the following:
(Page 885 Unusable character strings for a name of a project/work space/library)
Operating procedure
1. Select [Project] [Open Other Format File] [GX Works2 Format] [Open User Library], and specify the library to be
converted into a GX Works3 project.
2. Select the series in the confirmation screen displayed, then click the [OK] button.
3. Check the contents of the project after changing the module type, and edit the project as necessary.
4. Export the project as a library file.
10 SEGMENTING PROGRAMS
508 10.3 Enhancing Use of User Library
Creating a GX Works3 format library from a GX IEC Developer format library
This function is supported for the SUL format files which are created with GX IEC Developer version 7.04.
Operating procedure
A GX Works3 project is open 10
1. Select [Project] [Open Other Format File] [GX IEC Developer Format] [Open SUL Format User Library], and
specify a library to convert to GX Works3 project.
3. Check the contents of the project after changing the module type, and edit the project as necessary.
4. Check the contents of the project after changing the module type, and edit the project as necessary.
3. Register the user library exported in step 1 in the library list. (Page 511 Registering user libraries in the library list)
Precautions
When a password is set for the user library, entering password is required when importing library elements.
However, when the following option is set in GX IEC Developer, entering a password is not necessary.
• [Edit] [User Library] [Change Password] "Change Password (user library name)" "Allow read access for closed
library"
10 SEGMENTING PROGRAMS
10.3 Enhancing Use of User Library 509
Editing libraries
Elements in a library file can be edited, added and deleted same as projects.
The password authentication is required when editing the library protected by password. Besides, the user registration is
required for the library file exported from a safety project. (Page 685 User management)
For details on the number of creatable pieces of data, refer to the following:
Page 128 Maximum number of units of data that can be created in one project (RCPU/LHCPU/FX5CPU)
Operating procedure
1. Select [Project] [Open Other Format File] [GX Works3 Format] [Open User Library].
2. Edit POUs.
The editing method is the same manner as elements of the project.
Library 1
Library list
Element 1 Element 3
Project
ce Element 2 Element 4
en
fer
Re
Library 2
Library 3
Utilize
(Copy)
For the considerations for utilizing the library file created in the different version of GX Works3, refer to the following:
Page 868 Using a Project in a Different Version
10 SEGMENTING PROGRAMS
510 10.3 Enhancing Use of User Library
Registering user libraries in the library list
Register a library containing elements to be utilized in the list.
Up to 64 libraries can be registered.
When the registered library file was edited while GX Works3 is running, updating the display information of library is
necessary.
10
Operating procedure
Registering libraries to be referenced
1. Select [Project] [Library Operation] [Register to Library List] [User Library].
2. Select a file in the "Register Library to Library List" screen, then click the [Open] button.
For the library/element which is protected by password, the icon will be displayed in a pale color on the [Library] tab.
2. Select the library to be deleted/updated, then select [Project] [Library Operation] [Delete from Library List] ( )/
[Update the Display Information of Library].
Displaying Help
1. Select the [Library] tab in the element selection window.
2. Select a library or element, and select [Project] [Library Operation] [Help] or right-click [Help] from the shortcut
menu.
10 SEGMENTING PROGRAMS
10.3 Enhancing Use of User Library 511
Utilizing an element
A library POU registered in the element selection window can be utilized in other projects.
To utilize POUs which were set the read-protection when exporting the library, the password is required before editing.
Operating procedure
Pasting elements onto the navigation window
1. Select an element in the [Library] tab in the element selection window. (Multiple selections allowed.)
Read-protected Authenticated
2. For a function block, select the local label or global label from the pull-down list in the "FB Instance Name" screen, and
enter an FB instance name.
10 SEGMENTING PROGRAMS
512 10.3 Enhancing Use of User Library
Precautions
Utilizing multiple elements
If there is any of the following combinations in the selected elements, none of the selected elements can be utilized to a
project; utilize the following elements individually.
• Different kinds of elements (Example: POU and global label)
10
• Elements from different libraries
• An SFC program and a program created in a programming language other than Sequential Function Chart language
• A standard program and a safety program
• A standard FB/FUN and a safety FB/FUN
• Global labels in different categories (standard, safety, or standard/safety shared)
Operating procedure
1. Export a library or project in which a POU is edited as a library file. (Page 507 Creating a library file)
2. Register the library file created in step 1 to the library list of the project to be utilized. (Page 511 Registering user
libraries in the library list)
3. Utilize the POU to a project from the registered library. (Page 512 Utilizing an element)
10 SEGMENTING PROGRAMS
10.3 Enhancing Use of User Library 513
Updating library POUs
Update the elements of a library imported to a project.
Multiple libraries and elements can be updated at once.
In addition, an element (call destination element) that is called from a selected element will also be updated at the same time.
When updating them, if an element with the same name does not exist in the project, the elements of the call destination will
be added.
Window
1. Select a library or library POU to update in the [Library] tab in the element selection window.
Operating procedure
Set each item and click the [Update] button.
10 SEGMENTING PROGRAMS
514 10.3 Enhancing Use of User Library
10.4 Enhanced Use of Application Library/MELSOFT
Library
The application library/MELSOFT Library (sample library) are the element collection of program/function block/function/
structure that composed of specific processing. 10
In this section, the application library/MELSOFT Library (sample library) are explained as a library.
An element in a library can be utilized by registering the library in the library list.
The elements are imported into a project with by registering a library.
The registration method of a library differs depending on the file extension (*.gx3s, *.mslm).
To obtain the library, please contact your local Mitsubishi Electric sales office or representative.
Remote head modules do not support these libraries.
Precautions
Before registering a library, confirm that the module type of the current project (CPU module) supports the library.
2. Select a file in the "Open Sample Library" screen, and click the [Open] button.
The function block of the library is added in the following FB files displayed in the navigation window.
• M_FBLIB: Mitsubishi Electric FA products
• P_FBLIB: partner's products
2. Select a file in the "Register Library to Library List" screen, then click the [Open] button.
The registered library is displayed on the library list.
Deleting libraries
1. Select the [Library] tab in the element selection window.
2. Select the library to be deleted, then select [Project] [Library Operation] [Delete from Library List] ( ).
Updating libraries
To update a library, refer to the following:
Page 514 Updating library POUs
Precautions
A safety FB library is automatically registered when installing GX Works3 for the first time.
However, once the safety FB library is deleted on the [Library] tab in the element selection window, the library needs to be
registered manually.
To obtain the safety FB library, please contact your local Mitsubishi Electric sales office or representative.
10 SEGMENTING PROGRAMS
10.4 Enhanced Use of Application Library/MELSOFT Library 515
MEMO
10 SEGMENTING PROGRAMS
516 10.4 Enhanced Use of Application Library/MELSOFT Library
PART 4
PART 4 DEBUGGING AND
OPERATION
This part explains the communication route setting to access a CPU module, reading/writing data, and
monitoring the execution status.
11 PROGRAM SIMULATION
517
11 PROGRAM SIMULATION
This chapter explains the method for debugging a program offline by using the simulation function.
For modules supporting the simulation function, refer to the following:
Page 933 Using the Simulation Function
Simulating
Operation of a programmable
controller can be checked in a
personal computer without using
the actual module.
R04CPU
:Writing data
Project1 Project2
Simulating
Operation of programmable controllers
can be checked in a personal computer
without using the actual modules.
Project1 Project2
R04CPU R04CPU
Virtual system
ON / OFF (GX Simulator3)
11 PROGRAM SIMULATION
518 11.1 Simulation Function
Purpose Reference
Simulation of a multiple CPU system including a programmable controller CPU and a motion Page 532 Programmable controller
CPU and motion CPU
CPU
Project1 Project2
Simulating
Operation of a programmable controller
can be checked in a personal computer
without using the actual module.
Virtual system
ON / OFF (GX Simulator3)
Simulation of a system including a simple motion module Page 536 Simple motion module/
motion module
Project
Simulating
Operation of a programmable controller can
be checked in a personal computer without
using the actual module.
Project
Virtual simple motion module
(SMM Simulator)
R04CPU RD77MS16
Interacting
Virtual system
ON / OFF (GX Simulator3)
11 PROGRAM SIMULATION
11.1 Simulation Function 519
Purpose Reference
Simulation of a system including a CC-Link IE TSN compatible motion module Page 536 Simple motion module/
motion module
Project
Simulating
Operation of a programmable controller can
be checked in a personal computer without
using the actual module.
R04CPU RD78G4
Interacting
Virtual system
ON / OFF (GX Simulator3)
Simulation of multiple systems including network modules that perform cyclic transmission or Page 538 Network modules
transient transmission
(Example) Simulation of multiple systems performing cyclic transmission
Project
Simulating
Operation of programmable controllers can
be checked in a personal computer without
using the actual modules.
Project Project
R08PU RJ71GF11-T2
Interacting
Cyclic transmission
Virtual system
ON / OFF (GX Simulator3)
R16CPU RJ71GF11-T2
For the considerations for using the simulation function, refer to the following:
Page 974 Considerations
11 PROGRAM SIMULATION
520 11.1 Simulation Function
Safety and handling consideration
CAUTION
The Simulation function simulates the actual module to debug a created sequence program. However, this function does not guarantee the operation of the
debugged program.
The Simulation function uses the memory for simulation to input and output data to/from an I/O module and intelligent function module. Some instructions/
functions and device memory are not supported. Therefore, the operation results obtained with the virtual programmable controller may differ from those
obtained using the actual module.
After debugging programs using the Simulation function, the normal program debugging, which is performed with the module 11
connected before the actual operation, is required.
11 PROGRAM SIMULATION
11.1 Simulation Function 521
11.2 Simulation
This section explains the simulation methods.
During the simulation, GX Simulator3 is set as a connection destination and "Simulation ((system number).(CPU number))" is
displayed in the status bar.
Starting a simulation
Window
Select [Debug] [Simulation] [Start Simulation] ( ).
Operating procedure
Select the checkbox of the data to be written on the "Online Data Operation" screen, and click the [Execute] button.
11 PROGRAM SIMULATION
522 11.2 Simulation
Simulation of an RnPCPU (redundant mode)
A simulation runs with the following conditions:
• Operation mode: Separate mode
• Control system/standby system: Control system
• System A/B setting: System A
• Tracking transfer: No execution
• Extension cables of a redundant extension base unit: Single configuration
Simulation of an RnPSFCPU
A simulation runs with the following conditions: 11
• Operation mode: Backup mode
• Control system/standby system: Control system
• System A/B setting: System A
• Tracking transfer: No execution
By selecting "Yes" for the following option, parameters and programs are automatically written to GX
Simulator3 when simulation is started. In this case, the "Online Data Operation" screen does not appear.
• [Tool] [Options] "Simulation" "Start Simulation" "Operational Setting" "Automatically write
programs and parameters when starting simulation."
In addition, if the checkbox in the "Select Favorites Button" column of optional data is selected in the "Set
Favorites" screen, the data is also automatically written. (Page 578 Set favorites screen)
Precautions
The following shows the considerations when simulating an RnPCPU (redundant mode) or an RnPSFCPU.
• The following function cannot be performed during simulation.
[Online] [Redundant PLC Operation]
• Set the model name of a base unit and its number of slots in the base setting of the system parameter before simulation.
Otherwise, a redundant system configuration abnormal error occurs.
Ending a simulation
Operating procedure
Select [Debug] [Simulation] [Stop Simulation] ( ).
11 PROGRAM SIMULATION
11.2 Simulation 523
11.3 System Simulation
System simulation can be performed to simulate programs by interacting with other CPU modules and simple motion
modules.
Functions using an SD memory card can also be simulated. (Page 542 SD memory card)
Window
Select [Debug] [Simulation] [System Simulation] [Start System Simulation] ( ).
(1)
(1)
Item Description
(1) Panel The operating status of each module is displayed. Additionally, an operation for each module can be performed.
Operating procedure
For operating procedures for the system simulation, refer to the following:
• Multiple CPU: Page 529 Multiple CPU system
• Programmable controller CPU and motion CPU: Page 532 Programmable controller CPU and motion CPU
• CPU module and simple motion module: Page 536 Simple motion module/motion module
• Cyclic transmission: Page 538 Network modules
11 PROGRAM SIMULATION
524 11.3 System Simulation
Display contents on a panel
Operating status can be checked and an operation can be changed in a panel for each module in GX Simulator3.
The following shows the display content on the panel of a CPU module and a network module.
Window
Programmable controller CPU
Ex.
11
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11)
Item Description
(1) Module name Indicates the model name of the CPU module.
(2) RDY Indicates the 'READY' LED on the front of the CPU module.
(3) ERR Indicates the 'ERROR' LED on the front of the CPU module.
(4) RUN Indicates the 'PROGRAM RUN' LED on the front of the CPU module.
(5) USR Indicates the 'USER' LED on the front of the CPU module.
(6) RESET A button which behaves as RESET switch.
(7) STOP Behaves as STOP switch.
(8) RUN Behaves as RUN switch.
(9) SD A button used for setting a virtual SD memory card file.
The color of 'SD' differs depending on whether a file is set or not.
• Pink: No file is set.
• Blue: A file is set.
(10) Project name The project name is displayed.
(11) Port number The port number of GX Simulator3 is displayed.
This number is used when simulating the web server function.
Motion CPU
Ex.
(1) (2)
Item Description
(1) Module name Indicates the model name of the CPU module.
(2) Device Assignment Method Select a device assignment method for a motion CPU.
• Q series Motion compatible Device assignment
• MELSEC iQ-R Motion Device assignment
Network module
Ex.
Item Description
(1) Module name Indicates the model name of the network module.
(2) ERR Indicates the 'ERROR ' LED on the front of the module.
(3) MST Indicates the 'MST' LED on the front of the module.
(4) DLK Indicates the 'D LINK' LED on the front of the module.
(5) ST Indicates the dot matrix LED of the module.
Only a station number is displayed on the panel of GX Simulator3.
(6) NW Indicates a network number set in the network parameter.
11 PROGRAM SIMULATION
11.3 System Simulation 525
Simulation connection destination setting
A connection destination CPU (GX Simulator3) can be set in the "Specify Simulation Connection Destination" screen.
Window
Select [Debug] [Simulation] [System Simulation] [Connect Simulation].
(1)
(2)
(3)
Displayed items
Item Description
(1) System Configuration Information Systems added in the GX Simulator3 screen are displayed in a list.
(2) Show the Target Systems to Connect Select this checkbox to display only a system that matches with the system configuration of a project opened in
GX Works3 in the system configuration information.
By unselecting this checkbox, a system that is different from the system configuration of the project is also
displayed.
(3) Show the Target Modules to Connect Select this checkbox to display only a connectable CPU module, base unit on which the CPU module is placed,
and system in the system configuration information.
Operating procedure
For the operation of the "Specify Simulation Connection Destination" screen, refer to the following:
• Multiple CPU: Page 529 Multiple CPU system
• Programmable controller CPU and motion CPU: Page 532 Programmable controller CPU and motion CPU
• CPU module and simple motion module: Page 536 Simple motion module/motion module
• Cyclic transmission: Page 538 Network modules
11 PROGRAM SIMULATION
526 11.3 System Simulation
Display contents in the system configuration information
The contents displayed in the system configuration information are switched depending on the selection status of "Show the
Target Systems to Connect" and "Show the Target Modules to Connect."
Ex.
When simulating the systems of (1) to (4)
(1) Project for R08CPU (2) Project for R08CPU (3) Project for R08CPU (4) Project for R16CPU
11
The following shows the combinations of the selection status and display contents in the system configuration information by
using the example of the case when displaying the "Specify Simulation Connection Destination" screen in GX Works3 where
the project (1) is opened.
: Selected, : Unselected
Show the Show the Display contents in the system Display example
Target Target configuration information
Systems to Modules to
Connect Connect
Among the systems that match with the system Only the system numbers, base units, and CPU modules of (1) and
configuration of a project opened in GX Works3, only (2) are displayed.
the system in which a CPU module whose model
name is the same with a CPU module (host CPU)
exists is displayed.
The system that matches with the system The systems of (1) and (2) are displayed.
configuration of a project opened in GX Works3 is
displayed.
Among all systems, only the connectable CPU The system numbers, base units, and CPU module of (1) to (3) are
module is displayed. displayed.
Among the systems that do not match with the system
configuration of a project opened in GX Works3, the
system in which a CPU module whose model name is
the same with a CPU module (host CPU) exists is also
displayed.
11 PROGRAM SIMULATION
11.3 System Simulation 527
Show the Show the Display contents in the system Display example
Target Target configuration information
Systems to Modules to
Connect Connect
All systems are displayed. All systems of (1) to (4) are displayed.
11 PROGRAM SIMULATION
528 11.3 System Simulation
Multiple CPU system
This section shows the operation to simulate a multiple CPU system by using the example of the following system
configuration.
R16CPU 11
R16CPU
Operating procedure
Starting GX Simulator3
1. Start GX Simulator3. (Page 524 System Simulation)
11 PROGRAM SIMULATION
11.3 System Simulation 529
Connecting to the CPU No.1 and writing data
1. Select [Debug] [Simulation] [System Simulation]
[Connect Simulation].
11 PROGRAM SIMULATION
530 11.3 System Simulation
4. Select [Online] [Write to PLC] to write parameters and
programs in GX Simulator3.
11
Simulating
1. In the GX Simulator3 screen, click the [RESET] button
in the row of the CPU No.1.
11 PROGRAM SIMULATION
11.3 System Simulation 531
Programmable controller CPU and motion CPU
This section shows the operation to simulate a system including a programmable controller CPU and a motion CPU by using
the example of the following system configuration.
To use this function, MT Works2 Version 1.140W or later is required to be installed.
R16MTCPU
R16CPU
Operating procedure
Starting GX Simulator3 and MT Simulator2
1. Start GX Simulator3. (Page 524 System Simulation)
11 PROGRAM SIMULATION
532 11.3 System Simulation
MT Simulator2 starts.
11
Connecting to a programmable controller CPU and writing data
1. Select [Debug] [Simulation] [System Simulation]
[Connect Simulation].
11 PROGRAM SIMULATION
11.3 System Simulation 533
Connecting to a motion CPU and writing data
1. Start MT Developer2, and open the project of a motion
CPU to simulate.
Simulating
1. In the GX Simulator3 screen, click the [RESET] button
in the row of a programmable controller CPU.
2. In the GX Simulator3 screen, select "RUN" in the row of
a programmable controller CPU.
11 PROGRAM SIMULATION
534 11.3 System Simulation
4. Select [Online] [Monitor] [Start Monitoring] on GX
Works3.
The system simulation starts.
11
Precautions
In the simulation of a multiple CPU system where an RnENCPU is set as CPU No.1, the place of modules in the "System
Parameter" screen and in the GX Simulator3 screen are differently displayed.
"System Parameter" screen
(1)
(2)
GX Simulator3 screen
(1)
(2)
For details on the multiple CPU configuration using an RnENCPU, refer to the following:
MELSEC iQ-R Module Configuration Manual
11 PROGRAM SIMULATION
11.3 System Simulation 535
Simple motion module/motion module
This section shows the operation to simulate a system including a simple motion module or a CC-Link IE TSN compatible
motion module by using the example of the following system configuration.
Ex.
System including a simple motion module
RD77MS2
R16CPU
R16CPU
Operating procedure
Starting GX Simulator3
1. Start GX Simulator3. (Page 524 System Simulation)
11 PROGRAM SIMULATION
536 11.3 System Simulation
Starting SMM Simulator, connecting to a CPU module, and writing data
1. Select [Debug] [Simulation] [System Simulation]
[Connect Simulation].
Simulating
1. In the GX Simulator3 screen, click the [RESET] button
in the row of a CPU module.
2. In the GX Simulator3 screen, select "RUN" in the row of
a CPU module.
11 PROGRAM SIMULATION
11.3 System Simulation 537
Network modules
This section shows the operation to simulate multiple systems including network modules, which perform cyclic transmission
or transient transmission, by using the example of the following system configuration.
Ex.
Module configuration diagram
RJ71GF11-T2 RJ71GF11-T2
R08CPU R16CPU
To simulate network modules, set the module parameters of the network modules to link each other.
Operating procedure
Starting GX Simulator3
1. Open the project of a master station in GX Works3.
11 PROGRAM SIMULATION
538 11.3 System Simulation
5. Start another GX Works3, and open the project of a
local station.
6. In the GX Simulator3 screen, click the [Add System]
button.
11
7. In the "GX Simulator3 Add System" screen, set a project
name and a system number.
11 PROGRAM SIMULATION
11.3 System Simulation 539
Connecting to a programmable controller CPU and writing data
1. In GX Works3 used in step 1, select [Debug]
[Simulation] [System Simulation] [Connect
Simulation].
2. In the "Specify Simulation Connection Destination"
screen, select the CPU module of the master station,
and click the [Connect] button.
"Simulation ((system number).(CPU number))" will be
displayed in the status bar of GX Works3.
11 PROGRAM SIMULATION
540 11.3 System Simulation
6. Select [Online] [Write to PLC] to write parameters and
programs in GX Simulator3.
11
Simulating
1. In the GX Simulator3 screen, click the [RESET] button
in the row of the CPU module of a local station.
2. In the GX Simulator3 screen, select "RUN" in the row of
the CPU module of a local station.
Precautions
For the considerations for a simulation of network modules, refer to the following:
Page 979 Simulation of network modules
11 PROGRAM SIMULATION
11.3 System Simulation 541
SD memory card
Functions using an SD memory card can be simulated by creating a 'virtual SD memory card file (*.gxsc).'
'Virtual SD memory card file' refers a file which is used as an SD memory card during a simulation.
Data saved in an SD memory card or any folders can be copied in a virtual SD memory card file. Copy files necessary for a
function to be simulated.
Operating procedure
Creating a virtual SD memory card file
1. Start GX Simulator3. (Page 524 System Simulation)
11 PROGRAM SIMULATION
542 11.3 System Simulation
9. In the GX Simulator3 screen, select the checkbox of the
CPU module to simulate, and click the [Start] button.
11
Using a created virtual SD memory card file
1. Start GX Simulator3. (Page 524 System Simulation)
11 PROGRAM SIMULATION
11.3 System Simulation 543
8. In the GX Simulator3 screen, select the checkbox of the
CPU module to simulate, and click the [Start] button.
The maximum size of a creatable virtual SD memory card file depends on the combination of the version of
Windows and the file system of the disk.
Therefore, it may fail to create a virtual SD memory card file regardless of the free space on the disk.
A virtual SD memory card file can be opened on the explorer by clicking the [Open a Virtual SD Memory Card
File through Explorer] button in the "Virtual SD Memory Card File Setting" screen.
In the opened file, data that cannot be written or read by operating in the "Online Data Operation" screen,
such as the user web page created by using the web server function, can be saved.
11 PROGRAM SIMULATION
544 11.3 System Simulation
Saving a simulation environment file
The system configuration added to the system simulation and data written in GX Simulator3 can be saved as a simulation
environment file.
Before saving data, stop all simulations.
Window
Select [File] [Save Simulation Environment] in the GX Simulator3 screen.
11
Operating procedure
Set each item and click the [Save] button.
Data list
The following data written to GX Simulator3 is saved as a simulation environment file.
Module type Data
PLC CPU System parameter, CPU parameter, module parameter, module extended parameter, remote password, global label
setting, global label assignment information, program file, FB file, FUN file, initial label value file, file register, initial
device value, device comment, device/label within a latch range, event history, device data storage file
Motion CPU Program, parameter, backup data, history of current value, event history, device within a latch range
Simple motion Positioning data, block start data, parameter, servo parameter (RD77MS, FX5-40SSC-S, and FX5-80SSC-S only),
mark detection, synchronous control parameter, cam data, backup data
CC-Link IE TSN compatible motion Motion program, FB/FUN, CLASS, motion program execution condition, label setting, label default value setting,
module interface type definition, structure type definition, enumeration type definition, operation profile (csv format), operation
profile (zip format), project control data for engineering tool, motion event history, position data history file, boot log,
boot log (at previous startup), module extended parameter open information, logging setting file (json format), logging
data file (csv format), logging data file (json format), axis absolute position data
CC-Link IE TSN compatible motion Positioning data, block start data, parameter, mark detection, synchronous control parameter, cam data, backup data,
module (simple motion mode) event history, label setting, global label assignment information, label default value setting
11 PROGRAM SIMULATION
11.3 System Simulation 545
Opening a simulation environment file
A simulation environment can be restored by opening a saved simulation environment file.
Window
Select [File] [Open Simulation Environment] in the GX Simulator3 screen.
Operating procedure
Select a simulation environment file to open, and click the [Open] button.
Precautions
If the contents of the restored simulation environment and the project connected do not match, an error may occur in GX
Simulator3.
After opening a simulation environment file, check if the data of GX Simulator3 and the project match by using the verification
function.
When the verification result is a mismatch, data in GX Simulator3 and the project data can be matched using 'Read from PLC.'
To disconnect with the virtual system without closing the GX Simulator3 screen, perform the following
operation.
• [Debug] [Simulation] [System Simulation] [Disconnect Simulation]
When restarting the system simulation, perform the following operation.
• [Debug] [Simulation] [System Simulation] [Connect Simulation]
11 PROGRAM SIMULATION
546 11.3 System Simulation
11.4 Simulation of External Device Operations
This section explains the method for debugging a program using the 'I/O System Setting' function.
Precautions
11
• When the simulator is in STOP, the 'I/O System Setting' function does not run. At the timing of STOP to RUN, it starts
performing from the beginning of the conditions described in the I/O system setting data.
• Since a label is acquired from a project being open at the first execution time of the I/O System Setting, the label that edited
and written to the simulator after startup is not applied. Close the "I/O System Setting" screen and start it again.
3. Display the "I/O System Setting" screen. (Page 548 Executing I/O System Setting function)
4. Output the template file of the setting data. (Page 549 Outputting the template of setting data)
6. Register devices/labels to monitor in a watch window. (Page 637 Checking Current Values by Registering Devices/
Labels)
7. Open the edited file. (Page 554 Opening setting data)
8. The following shows the procedure to run an I/O system. (Page 554 Executing the I/O system)
11 PROGRAM SIMULATION
11.4 Simulation of External Device Operations 547
Executing I/O System Setting function
Set the devices to be used in the I/O System Setting, then execute the simulation.
Window
Simulation of a CPU module
Select [Tool] [I/O System Setting] in the GX Simulator3 screen.
System simulation
1. Select [Tool] [Start I/O System Setting] in the GX Simulator3 screen.
The "GX Simulator3 I/O System Setting" screen appears.
2. Set each items in the "GX Simulator3 I/O System Setting" screen, and click the [OK] button.
11 PROGRAM SIMULATION
548 11.4 Simulation of External Device Operations
Outputting the template of setting data
The following shows the procedure to output a template for I/O system setting data.
Operating procedure
Select the [Export Template] on the "I/O System Setting" screen.
The template for I/O system setting data is output as a CSV format file (template file).
Template file
11
Window
(1)
(2)
(3)
Displayed items
Item Description
Output Edit*1
(1) Control record Record Type '1' (value indicating the control record) is output. Enter '1.' (Required)
Comment A comment is output. Enter a comment (Up to 50 characters).
GX Works3 The path of the GX Works3 project running a simulator is Enter the path of the GX Works3 project running a
Project Path output. simulator.
PLC No. A CPU number (1 to 8) is output. Enter a CPU number (1 to 8).
Reserve
(2) Data record Record Type '2' (value indicating the data record) is output. Enter '2.'
Setting No. A number (1 to 1023) set for a condition is output in Enter a number (1 to 1023) for a condition in ascending
ascending order. order. (Required)
When setting multiple pieces of output for one condition,
enter the same number to each of them.
Conditions Conditions delimited by a space are output. Enter a condition (up to 256 characters) delimited by a
space. (Required only for the first cell)
Up to six conditions can be combined in logical operation.
Timer (ms) The delay time (-1 to 1000) from when a condition is Enter the delay time (-1 to 1000) from when a condition is
satisfied to when an instruction is executed is output. satisfied to when an instruction is executed. (Required only
for the first row)
• When entering both 'CONTINUE' as a condition and '-1'
as an input timer, the output differs for every scan under
the same condition.*2
• When using a process response operation, enter '*'.
Output An output formula is output (up to 100 characters). Enter an output formula (up to 100 characters). (Required)
When setting multiple pieces of output for one condition,
enter the second or subsequent output formula to the next
line.
Up to 50 output formulas can be entered for each setting
number.
Reserve
11 PROGRAM SIMULATION
11.4 Simulation of External Device Operations 549
Item Description
Output Edit*1
(3) End record Record Type '3' (value indicating the end record) is output. Enter '3.' (Required)
Reserve
*1 When creating setting data by editing the template file, edit the file by following the descriptions in this column.
*2 The following shows the description example when combining 'CONTINUE' and '-1.'
2,1,Y0=TRUE, 1, X0:=TRUE (Only the first scan is performed.)
2,2,CONTINUE, -1, X1:=FALSE (Only the second scan is performed.)
2,3,CONTINUE, -1, X2:=FALSE (Only the third scan is performed.)
Operating procedure
Open the template file output in spreadsheet software or the like, and directly edit the items in the file. (Page 549
Template file)
For devices/labels available in editing a template file, refer to the following:
Page 555 Available devices/labels
Ex.
Example for editing a template file
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
11 PROGRAM SIMULATION
550 11.4 Simulation of External Device Operations
Set the conditions by using the following character strings and symbols.
: Available, : Not available
Category String/Symbol Description Availability Usage example
Conditi Output Device
on Bit Word
Instruction CONTINUE*1,*2 Keeps the previous condition 2,1,Y0=TRUE,1,X0:=TRUE
2,2,CONTINUE,1,X0:=FALSE
LOOP*1,*3 Repeats
2,3,CONTINUE,1,LOOP
(It is used with "CONTINUE")
INIT*1,*4 Executes after initialization only 2,1,INIT,1,X0:=TRUE
one time 11
LDP*5 LDP function LDP(TRUE,Y0)
LDF*5 LDF function LDF(TRUE,Y0)
DIRECT*6 Process response operation: direct D22:E := DIRECT(0, 100, 0, 100,
connection D20:E)
REVERSE*6 Process response operation: direct D22:E := REVERSE(0, 100, 0,
connection (output inversion) 100, D20:E)
LAG_DED*6 Process response operation: D22:E := LAG_DED(0, 100, 0,
primary delay + dead time 100, 60, 0, D20:E)
LAG_DED_REV*6 Process response operation: D22:E := LAG_DED_REV(0, 100,
primary delay + dead time (output 0, 100, 60, 0, D20:E)
inversion)
INT_TO_REAL*6 Converts 16-bit integer to single D0:E:=INT_TO_REAL(1)
precision D0:E:=INT_TO_REAL(W0)
D0:E:=INT_TO_REAL(wLabel1)
REAL_TO_INT*6,*7 Converts single precision to 16-bit D0:=REAL_TO_INT(1.5)
integer D0:=REAL_TO_INT(W0:E)
D0:=REAL_TO_INT(eLabel1)
DINT_TO_REAL*6 Converts 32-bit integer to single D0:E:=DINT_TO_REAL(1)
precision D0:E:=DINT_TO_REAL(W0:D)
D0:E:=DINT_TO_REAL(dLabel1)
REAL_TO_DINT*6,*7 Converts single precision to 32-bit D0:D:=REAL_TO_DINT(1.5)
integer D0:D:=REAL_TO_DINT(W0:E)
D0:D:=REAL_TO_DINT(eLabel1)
Operator :=*8,*9 Assigns Bit X0:=TRUE
Word D0:=1
Device D0:=D10
Label D0:=wLabel1
+*8 Adds D0:=D0+1
D0:=D0+D1
D0:=D1+wLabel1
D0:U:=1+D1:U
-*8 Subtracts D0:=D0-1
D0:=D0-D1
D0:=D1-wLabel1
D0:U:=1-D1:U
>*9,*10 Compares D0>0
<*9,*10 D0<0
>=*9,*10 D0>=0
*9,*10
<= D0<=0
=*9,*10,*11 D0=0
*9,*10,*11
<> D0<>0
AND Combines conditions using 'AND' Y0=TRUE AND Y1=FALSE
OR Combines conditions using 'OR' Y0=TRUE OR Y1=FALSE
11 PROGRAM SIMULATION
11.4 Simulation of External Device Operations 551
Category String/Symbol Description Availability Usage example
Conditi Output Device
on Bit Word
Device type :U Uses a device as a 16-bit non- Condition D0:U=0
specifier*12 negative integer
Output D0:U:=0
:D Uses a device as a 32-bit integer Condition D0:D=0
Output D0:D:=0
:UD Uses a device as a 32-bit non- Condition D0:UD=0
negative integer
Output D0:UD:=0
:E Uses a device as FLOAT [Single Condition D0:E=0
Precision]
Output D0:E:=0
:ED Uses a device as FLOAT [Double Condition D0:ED=0
Precision]
Output D0:ED:=0
Symbol ..*1,*13,*14 Specifies device range X10..20:=TRUE
Example: X10..20 X10..20:=X0
X10..20:=Label1
(*15 Open bracket Y0=TRUE AND (Y1=TRUE OR
Y2=FALSE)
)*15 Close bracket
Constant TRUE*16 Turns ON a bit device Condition Y0=TRUE
Output X0:=TRUE
FALSE Turns OFF a bit device Condition Y0=FALSE
Output X0:=FALSE
11 PROGRAM SIMULATION
552 11.4 Simulation of External Device Operations
When an invalid value is specified for an instruction argument
If an invalid value is specified for an instruction argument, the value of the argument will be changed as follows.
Instruction Argument Incorrect value Changed value
REAL_TO_INT Device/label -0 0
Denormalized number
NaN
Constant E32768 or more 32767
Device/label 32768 or more 11
Constant E-32769 or less -32768
Device/label -32769 or less
REAL_TO_DINT Device/label -0 0
Denormalized number
NaN
Constant E2147483648 or more 2147483647
Device/label 2147483648 or more
Constant E-2147483649 or less -2147483648
Device/label -2147483649 or less
Precautions
A row starting with '//' is regarded as a comment, and therefore it is skipped.
11 PROGRAM SIMULATION
11.4 Simulation of External Device Operations 553
Opening setting data
The following shows the procedure to open created setting data.
Operating procedure
1. Click the [...] button in the setting data column on the "I/O System Setting" screen.
Precautions
Language-specific characters of the operating system are included in the setting data.
If the language font to display is not installed on the personal computer, some characters may be garbled.
Operating procedure
Select [Execute] on the "I/O System Setting" screen.
If an error is included in the check result, correct the setting data and run the system again.
Precautions
If a function, device, or label which is not supported by the 'I/O System Setting' function in GX Works3 is included in the
setting data, an error will occur.
Operating procedure
Select [Stop] on the "I/O System Setting" screen.
11 PROGRAM SIMULATION
554 11.4 Simulation of External Device Operations
Available devices/labels
Device
The following devices are available.
Category Device name Symbol
User device Input X
Output Y
Internal relay M 11
Latch relay L
Link relay B
Annunciator F
Link special relay SB
Timer T TS
TN
T
Retentive timer ST STS
STN
ST
Long timer LT LTS
LTN
LT
Long Retentive Timer LST LSTS
LSTN
LST
Counter C CS
CN
C
Long counter LC LCS
LCN
LC
Data register D
Link register W
Link special register SW
System device Special relay SM
Special register SD
Link direct device Link input J\X
Link output J\Y
Link relay J\B
Link special relay J\SB
Link register J\W
Link special register J\SW
Module access device Module access device U\G
CPU buffer memory access device CPU buffer memory access device U3E\G
U3E\HG
File register File register R
ZR
Refresh data register Refresh data register RD
Constant Decimal constant K
Hexadecimal constant H
Real constant E
11 PROGRAM SIMULATION
11.4 Simulation of External Device Operations 555
Category Device name Symbol
Safety device Safety input SA\X
Safety output SA\Y
Safety internal relay SA\M
Safety link relay SA\B
Safety special relay SA\SM
Safety data register SA\D
Safety link register SA\W
Safety special register SA\SD
Safety timer SA\T TS
TN
T
Safety retentive timer SA\ST STS
STN
ST
Safety counter SA\C CS
CN
C
Precautions
The following devices are not available:
• Local device
• Digit-specified bit device
• Bit-specified word device
In addition, a constant device cannot be used as the destination for a device value in an assignment statement.
Label
The following labels are available.
• Global label
• Module label
• Labels of which class is "VAR_GLOBAL"/"VAR_GLOBAL_RETAIN"
• Labels except for string (32)/string [Unicode] (32)/pointer type
Precautions
• A label to which a device unavailable for outputs or conditions for data record is assigned cannot be used when creating
setting data. (Page 555 Device)
• For the labels of timer/retentive timer/counter type, a contact/coil/current value need to be specified as same as devices.
• A device and label cannot be used as an array index.
11 PROGRAM SIMULATION
556 11.4 Simulation of External Device Operations
12 SETTING ROUTE TO CPU MODULE
This chapter explains the setting method of connection destination for accessing a CPU module from a personal computer
with GX Works3.
CC-Link
PC side I/F CC-Link IE Field Network
• Double-click the items underlined on the screen to set the details of each item.
• The icons colored yellow indicate that the settings have been applied.
• For FX5CPU, the icons of the unsettable connection destination route are not displayed.
• When "Yes" is selected for the following option in a project for an FX5CPU, the "Connection Destination Simple Setting"
screen appears before the "Specify Connection Destination" screen.
[Tool] [Options] "Online" "Operational Setting" "Show the Connection Destination Simple Setting window"
Precautions
• Only connection destinations that can be set in the "Specify Connection Destination" screen are acceptable.
• For the considerations when using a MELSECNET/H network module, refer to the following:
MELSEC iQ-R Module Configuration Manual
Operating procedure
1. Right-click in the connection destination window and select [Create New Connection Destination] from the shortcut
menu.
2. Set each item and click the [OK] button.
Operating procedure
1. Select a connection destination under "All Connection Destination" in the connection destination window.
2. Right-click the connection destination and select [Set as Default Connection] from the shortcut menu.
Precautions
LHCPUs do not support this display.
USB connection
The following shows the setting example for accessing a CPU module on the own station with a USB from a personal
computer.
FX5UCPUs and FX5UCCPUs do not support this connection.
Ethernet connection
The following shows the setting example for accessing a built-in Ethernet CPU with Ethernet from a personal computer.
Remote head modules do not support this connection.
(1) (2)
Operating procedure
1. Click the [CPU Module Direct Coupled Setting] button in the "Specify Connection Destination" screen.
2. Select an adapter in the "CPU Module Direct Coupled Setting" screen, and click the [Yes] button.
The following screen is a screen example for RCPUs.
• For RCPUs and LHCPUs, the IP address assigned to a specified Ethernet adapter is saved in a project file.
Even after changing adapters, if the IP address set for the adapter after the change is the same, the adapter
name is applied to the settings.
• For FX5CPUs, the adapter setting is saved for each logon user of the personal computer (not saved in a
project file).
Precautions
When a warning message appears
A warning message may appear, which indicates that a function of GX Works3 is blocked by the Windows firewall.
Click the [Allow access] button, and continue the operation.
Operating procedure
1. Select [System and Security] [Allow an app through Windows Firewall] in the control panel of Windows.
2. Click the [Change settings] button, and click the [Allow another app] button.
3. Click the [Browse] button in the "Add an app" screen, and select "GXW3.exe" in the folder where GX Works3 is installed,
then click the [Add] button.
12
When an installation folder is not changed at the installation, the installation folder is as follows:
• 64-bit version operating system: C:\Program Files (x86)\MELSOFT\GPPW3
• 32-bit version operating system: C:\Program Files\MELSOFT\GPPW3
4. Select "Domain," "Private," and "Public" of GX Works3*1 added in the list.
*1 'gxw3' may be displayed when a CPU/Ethernet module is searched for on the network and access through the Windows firewall is set to
allow before Ethernet port direct connection.
Operating procedure
1. Select [Network and Internet] [Network and Sharing Center] [Change adapter settings] in the control panel of
Windows.
2. Select and right-click [Local Area Connection], then select [Properties] from the shortcut menu.
3. Select "Internet Protocol Version 4 (TCP/IPv4)" in the "Local Area Connection Properties" screen, and click the
[Property] button.
The "Internet Protocol Version 4 (TCP/IPv4) Properties" screen appears.
4. Set the same value for the network portion of the IP addresses for a personal computer on which GX Works3 is installed
and an FX5CPU.
COM port
12
No. Item Item to be selected Internal setting Input value
(1) PC side I/F Serial/USB RS-232C
COM port COM1
Transmission Speed 115.2 Kbps
(2) PLC side I/F PLC Module PLC Mode FX5CPU
Other Station Setting No Specification Check at Communication Time 30 seconds
Retry Times 0 time
Ethernet port
(192.168.3.1)
Network No.1
(192.167.0.2)
Station number: 2
RJ71EN71 (192.167.0.1)
Station number: 1 Ethernet port
RJ71EN71 (192.168.0.2)
Station number: 2
12
Precautions
• To communicate with multiple personal computers where GX Works3 is running by connecting them to a single CPU
module, use TCP/IP or UDP/IP communication.
• For a multiple network system, setting the network dynamic routing is required. (RCPUs only)
MELSEC iQ-R Ethernet User's Manual (Application)
Ethernet port
CC-Link
Ethernet
Network No.2
Network No.1 CC-Link IE Field Network
RJ71C24
12
COM port
RJ71C24 RJ71C24
Station number 0 Station number 1
COM port
RJ71C24 RJ71C24
Station number 0 Station number 1
USB port
Precautions
When performing online operations from a personal computer
During the online operation from a personal computer to a CPU module using the GOT transparent function, do not perform
online operations (such as downloading project data) on GOT from GT Designer2 or GT Designer3.
The connection availability and the specification method of connection destination differ depending on a GOT series and the
connection condition between a personal computer and a GOT.
For details, refer to the following:
GOT2000 Series Connection Manual (Mitsubishi Products) For GT Works3 Version1
GOT1000 Series Connection Manual (Mitsubishi Products) for GT Works3
The connection availability and the specification method of connection destination differ depending on a GOT series and the
connection condition between a personal computer and a GOT.
For details, refer to the following:
GOT2000 Series Connection Manual (Mitsubishi Products) For GT Works3 Version1
GOT1000 Series Connection Manual (Mitsubishi Products) for GT Works3
The following shows the setting example for accessing an RCPU via a QCPU (Q mode) from a personal computer.
(3)
(1) (2) CC-Link IE Field Network
Precautions
• An RCPU cannot be accessed via a MELSECNET/10 network module or a MELSEC-Q series MELSECNET/H network
module.
• A remote password that has been set for the Ethernet port of a QCPU (Q mode) cannot be unlocked in GX Works3. Delete
the remote password using GX Works2 in advance.
Network No.1
12
(192.167.0.2)
Station number: 2
RJ71EN71 (192.167.0.1)
Station number: 1 Ethernet port
RJ71EN71 (192.168.0.2)
Station number: 2
Precautions
• An RCPU cannot be accessed via a MELSECNET/10 network module or a MELSEC-Q series MELSECNET/H network
module.
• A remote password that has been set for the Ethernet port of QJ71E71-100 cannot be unlocked in GX Works3. Delete the
remote password using GX Works2 in advance.
• To communicate with multiple personal computers where GX Works3 is running by connecting them to a single CPU
module, use TCP/IP or UDP/IP communication.
• For a multiple network system, setting the network dynamic routing is required.
MELSEC iQ-R Ethernet User's Manual (Application)
MELSEC-Q/L Ethernet Interface Module User's Manual (Application)
Relay station
Set the parameters so that the module mounted on the relay station is controlled by the same CPU module. (In the figure
below, the CPU No.2 is the control CPU.)
System A System B
Standby System Control System
(1) (2)
(3)
Access target
When "Not specified" is selected in "Specify Redundant CPU," the access target is set as follows:
• Direct connection: connective system
• Connection via a module mounted on a main base unit: CPU module on the station on which the network module, with the
station number specified for the network communication route, is mounted
• Connection via a module mounted on an extension base unit: CPU module in the control system
For the considerations for accessing a CPU module via a module on a redundant extension base unit, refer to the following:
MELSEC iQ-R Module Configuration Manual
12
Access target
When "Not specified" is selected in "Specify Redundant CPU," the access target is set as follows:
• Direct connection: remote head module that is directly connected to a personal computer
• Connection via a module mounted on a main base unit: remote head module No.1 (mounted on a CPU slot) on the station
on which the network module, with the station number specified for the network communication route, is mounted
• Connection via a module mounted on an extension base unit: remote head module No.1 (mounted on a CPU slot)
Other considerations
High-speed communication using an RS-232 cable
Communication may fail depending on the performance of the personal computer when high-speed communication is
attempted by changing the transmission speed at the serial port of the personal computer (personal computer side interface).
Communication speed may also slow down due to communication retries.
Decrease the transmission speed if high-speed communication cannot be performed normally.
Resume function, suspend setting, power saving function, and standby mode of the personal
computer
A communication error may occur during communication with the CPU module when any of the settings shown above is
enabled.
Disable these settings for communication with the CPU module.
Ex.
The following screen is an example when writing data to an R01CPU.
Precautions
Safety project and safety operation mode of a CPU module
The safety data and device memory of a safety project can only be written when the safety operation mode of an RnPSFCPU
or an RnSFCPU is in the test mode. If the module is in the safety mode, switch the mode to the test mode.
Page 764 Safety operation mode switching
Operating procedure
1. Select the [Write] tab on the "Online Data Operation" screen.
3. Click the [Detail] button to set the details such as a range to be written.
When more than one program is written to the CPU module, the programs categorized as "No Execution
Type" will never be executed on the CPU module. For saving the memory capacity of the CPU module,
removing them from the target data at writing data is recommended.
Operating procedure
1. Click the [Execute] button in the "Online Data Operation" screen.
2. Check the message and select the checkbox of "Skip writing for the files that have not been changed.".
Precautions
The following table shows the data that is overwritten every writing.
• Device memory
• File register
If the following specific conditions are satisfied, the following data will be overwritten regardless of whether the checkbox of
"Skip writing for the files that have not been changed." is selected.
Data Condition
13
Program file The program restoration information is written to a CPU module where it is not
written yet.
FB file (including SlibFbFile)
FUN file
Global label assignment information Writing the global label setting is not skipped.
Initial global label value
Initial local label value Writing program files is not skipped.
In any the following cases, data is overwritten even if no changes are applied.
• The program restoration information of an RnPCPU (redundant mode) exists only in the control system or standby mode.
• An intelligent function module is selected as the writing destination.
Data allocations are changed by updating a firmware version from 30 or earlier to 31 or later for the R04CPU,
R08CPU, R16CPU, R32CPU, or R120CPU.
For details on the operation, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
This may cause a lack of free space in the program memory when data backed up is written to the CPU
module. In this case, perform any of the following operations and write the data again.
• Reduce the setting value of "Allocate Memory for Online Program Change." (Default: 500 steps)
• Reduce the number of program steps.
Relation between module parameters in the navigation window and module parameters in a
CPU module
Module parameters are written to a CPU module as the data which integrates the parameters displayed in the navigation
window into one file.
System parameter
CPU parameter
Memory card
13
parameter
Module parameter
Remote password
When a module parameter exists in a CPU module, the parameter file is overwritten.
Ex.
When writing four module parameters to a CPU module in which module parameters of five modules exist; the settings of five
modules are overwritten with the settings of four modules, and one setting that does not exist in the project will be deleted.
Consistency of parameters
When writing a part of the parameters additionally or writing modified parameters, the consistency of the parameters are
required. Consistency means matching the information such as the I/O assignment setting (start I/O number, slot number,
etc.) between the system parameters and each parameter.
There are two methods to keep the consistency.
• Read a system parameter and each parameter and change them. After that, write them to a CPU module. The CPU module
needs to be reset to change the system parameter.
• Read each parameter to be changed, and change them to be consistent with the system parameters in the project. After
that, write the changed parameters only to the CPU module. Basically, the CPU module is does not need to be reset,
however, some modules are required to reset the CPU module after changing parameters. For details, refer to the manual
of the module used.
Operating procedure
1. Select the checkbox in the "Parameter Automatic Setting" column for a device station and configure items in "<Detail
Setting>" in the "CC-Link IE TSN Configuration" window.
2. Select the checkbox of "Device Station Setting"/"Device Station Setting (Safety)" under "CC-Link IE TSN Configuration"
in the "Online Data Operation" screen.
3. Click the [Detail] button.
4. Select a device station to be written the parameters to in the "CC-Link IE TSN Configuration - Device Station Setting"
screen.
For details on "Parameter Automatic Setting," refer to the following:
MELSEC iQ-R CC-Link IE TSN User's Manual (Application)
MELSEC iQ-R CC-Link IE TSN Plus Master/Local Module User's Manual
MELSEC iQ-F FX5 User's Manual (CC-Link IE TSN)
MELSEC iQ-R Motion Module User's Manual (Network)
MELSEC iQ-F FX5 Motion Module User's Manual (CC-Link IE TSN)
Global label
When global labels are set, select "Global Label Setting" to write.
When an initial value is set in the "Initial Value" column in a global label editor, select "Global Label Initial Value" to write.
When an initial value is not set in the "Initial Value" column, the initial label value file is not displayed. In addition, the initial
label value file with the same name in a programmable controller is deleted.
When "Access from External Device" is selected in a global label editor, select "Global Label Assignment Information" to write.
FX5CPUs do not support the settings for initial label values and access from external devices.
Precautions
The sample comments are included in the write target. If the data size to be written exceeds the memory capacity of the CPU
module at writing data, prepare an SD memory card.
For FX5CPU, the writable capacity is the same as that of the CPU module even when data is written to an SD memory card.
Precautions
FX5CPUs do not support local devices.
The device memory is written to a global device regardless of the consistency or inconsistency with a program name.
Operating procedure
1. Write the CPU parameters to a programmable controller.
Range to be written
Values of the device memory (extension file registers (ER)) of a project are stored in extended file registers (ER) of an SD
memory card by selecting "Extend File Register" of the SD memory card and performing writing.
All the points (32768 points) of the device memory of a project are written to extended file registers (ER) of an SD memory
card regardless of the number of points of a user device set in file registers (R).
Precautions
When the sample comments are read to device comments, all the sample comments are written to the CPU module.
Therefore, the data size to be written may exceed the memory capacity of the CPU module. In this case, perform any of the
following operations.
• Delete the device comments of unused devices.
• Set the write target of device comments to SD memory card.
For FX5CPU, the writable capacity of SD memory card is the same as that of CPU module.
• Set the range to be written.
Tag FB setting
In projects for an RnPCPU (process mode/redundant mode) and an RnPSFCPU, when using a program with the process
control extension enabled or for which the tag FB setting is set, write the CPU parameter (only when it is set at the first time or
changed) and the global label setting.
File register data in the range assigned to FB properties in a tag FB is written only one time after converting all programs (re-
assigning labels).
Operating procedure
1. Select the [Read] tab on the "Online Data Operation" screen.
3. Click the [Detail] button to set the details such as a range to be read.
Read data from a CPU module while a project is not opened or the one written to the CPU module is opened.
Precautions
During the frequent access of an SD memory card with a data logging function or database function, the response to the
reading operation from a programmable controller (until the "Online Data Operation" screen is displayed) could be slow.
Program
When reading a program (local label, program body), read "Program."
When reading only a program in which global labels are used, the label definitions used in the program may
not exist in the project. This may cause the disappearance of the labels on the ladder editor.
In this case, read the global label and program together.
Device memory
13
The device memory, which have the same name as the program, will be read as a file for a local device.
The device memory, which have the different name as the program, will be read as a file for a global device.
Only one device memory for a global device can be selected.
To read only the values within the range specified in a device memory editor, refer to the following:
Page 439 Writing/Reading Data to/from CPU Module
FX5CPUs do not support local devices. The device memory is read as a file for global labels regardless of the consistency or
inconsistency with the program name.
To read device memory from the following memories, select the checkbox of each memory in the "Device
Data Detail Setting" screen.
• Link memory
• CPU buffer memory (U\G)
However, device memory cannot be read from the fixed scan communication area (U\HG).
Tag FB setting
In projects for an RnPCPU (process mode/redundant mode) and an RnPSFCPU, when using a program with the process
control extension enabled or for which the tag FB setting is set, read the global label setting.
Note that FB properties are not read.
To read the current value of an FB property, update the initial value of the FB property.
Page 666 FB Property Management (Online) screen
Operating procedure
1. Select the [Delete] tab on the "Online Data Operation" screen.
1 1
2 *1
2 1
2 *2 *1*2*3
*1 Data other than the following can be read regardless of the security version:
Program file
FB/FUN file setting
Global label setting file
Safety global label setting file
Module parameter
Device comment
*2 Data can be written/read when a project password matches.
Note that if a project currently opened differs from the one written to a CPU module, the data cannot be written/read even if a project
password matches:
*3 Password authentication is required.
Note that a security version of the data written to a CPU module cannot be checked from external parties.
Manage and operate the security version properly.
Window
Select [Online] [Verify with PLC].
13
Operating procedure
Select the data to be verified, and click the [Execute] button.
A verification result is displayed in the "Verify Result" window.
However, the verification of program blocks is skipped, and "Verification process was skipped" is displayed in the "Verification
Result" column.
To verify program blocks, double click the corresponding line or press the key.
The operation method for displaying the verification result is the same as that of project verification. For more details, refer to
the following:
Page 145 Checking a verification result
By selecting "No" for the following option, program blocks can be verified without being skipped.
Note that it may take time to display the verification result.
• [Tool] [Options] "Online" "Verify with PLC" "Verify the Program and FB/FUN Units Later"
Verification of the control system and the standby system in a CPU module in a redundant
system configuration
When verifying data in an RnPCPU (redundant mode) or an RnPSFCPU, the control system or standby system needs to be
specified as the verification destination.
When verifying data in the control system and data in the standby system, compare the verification result of the CPU modules
in the connective system and the standby system.
Parameters
Module extended parameters
Module extended parameters are not verified.
However, the module extended parameters of the following modules can be verified if both of the conditions listed below are
satisfied: CC-Link IE TSN compatible motion module (simple motion mode) and simple motion module.
• Parameters are written to an intelligent function module.
• The start I/O number and the module name in the project of a verification source match those in the project of a verification
destination.
Device memory
In special relays and special registers of FX5CPUs, there are devices for which the values vary when a programmable
controller is stopped.
Therefore, the verification result between a programmable controller and device memory may be mismatched.
Tag FB setting
In projects for an RnPCPU (process mode/redundant mode) and an RnPSFCPU, the tag FB setting is not verified.
Function/function block
In GX Works3 Version 1.036N to 1.044W, unconverted functions/function blocks in FB files/FUN files are excluded from
verification.
To verify unconverted functions/function blocks, install the latest GX Works3 or perform the 'project verification.' (Page
143 Verifying Projects)
*1 The following data in an SFC program can also be written using this function:
Single SFC block
Zoom
*2 This function can be used in the property screen in MELSAP-L (instruction format) display.
*3 Only standard data can be written.
*4 Data that can be written differs depending on the safety operation mode.
Safety mode: standard data only
Test mode: standard data and safety data
Writing data while a CPU module is running affects scan time due to the change of number of steps. Set the secured steps for
online program change on the "Program Detail Setting" screen displayed by clicking the [Detail] button of "Program."
RCPU/LHCPU/FX5CPU
• The program execution is suspended during the online program change. The length of down time depends on the number
of the changed steps.
• If the online program change is performed for programs which includes the rise instructions, fall instructions, SCJ
instructions, and STMR instructions, the system may not operate properly.
• Do not perform the online program change to the same program from multiple pieces of GX Works3 at the same time.
• If failed to perform the online program change, the project will be returned to the previous state before the conversion in
order to make it possible to perform the online program change again.
• Make sure that the parameters between in the CPU module and in the project match before performing the online program
change.
• Make sure that the writing target file has been written to the CPU module before performing the online program change.
• When "Check at Communication Time" has been set less than 90 seconds, the timeout will be checked in 90 seconds. If an
error occurred, extend the timeout time on the "Specify Connection Destination" screen.
• The online program change will be continued if a warning occurs at conversion.
• When the online program change is performed after changing the label names which can be accessed from external
devices, the data before the change is remained in the global label assignment information. To delete the remaining data,
write the global label assignment information from the "Online Data Operation" screen.
• When global labels are changed, programs using the global labels will be a target of the online program change.
• The online program change cannot be performed when a structure definition is edited (added/deleted/changed). Write a
program to a CPU module on the "Online Data Operation" screen. However, it can be performed when a new member is
added in the state that there is no member of a structure or when all members of the structure are edited.
• In a ladder with a large number of steps, the online program change may not be performed due to insufficient memory in
GX Works3.
In this case, close all open editors and perform the online program change again.
Or, convert a program and then perform the file batch online change.
• When the step No. in the writing range has been registered as a condition of a device test with execution conditions, the
registration will be canceled.
• When performing the online program change for data including a safety program, the safety program is not executed until
writing of the program is completed. Confirm that the system is safely operating before performing the online program
change.
• Do not perform the online program change for data including a safety program while switching the safety operation mode of
an RnSFCPU to the safety mode.
• If a recording setting exists in a CPU module, write the setting after performing the online program change. Otherwise, a
recording setting error may occur when starting recording.
Design instructions
WARNING
When data change, program change, or status control is performed from a personal computer to a running programmable controller, create an interlock circuit
outside the programmable controller to ensure that the whole system always operates safely.
Furthermore, for the online operations performed from a personal computer to a CPU module, the corrective actions against a communication error due to such
as a cable connection fault should be predetermined as a system.
CAUTION
The online operations performed from a personal computer to a running CPU module (program change while a CPU module is in RUN state, operating status
change such as RUN-STOP switching, and remote control operation) have to be executed after the manual has been carefully read and the safety has been
ensured.
When changing a program while the CPU module is in RUN, it may cause a program corruption in some operating conditions. Fully understand the precautions
described in this section.
13
Operating procedure
1. Check that programs are matched with ones in a programmable controller.
When some data to be written is mismatched with a program in a CPU module, the online program change cannot be
performed. Write each file by using the file batch online change. (Page 605 Writing data for each file while a CPU module
is running (file batch online change))
2. Modify a program.
Check the processing procedure and precautions for the online program change by clicking the [Precautions]
button.
1. Select and right-click an SFC block to be deleted in the navigation window, then select [Delete Data] from the shortcut
menu.
Precautions
13
• The online program change cannot be performed when multiple SFC blocks are edited or an SFC program is deleted. In
that case, write data to a CPU module in the "Online Data Operation" screen.
• The online program change cannot be performed when changing the display format (type) of a transition to device/label by
the following operations. In that case, write data to a CPU module in the "Online Data Operation" screen after converting all
programs.
2. Set each item in the "Change Type of Transition" screen as follows, and click the [OK] button.
• Target to change: All Blocks
• Target Contact: All
Note that the online program change cannot be performed even if only device comments were edited with the program or
labels unchanged.
To write only device comments while a CPU module is running, use the "Online Data Operation" screen.
Online program change for initial label values (version 1.000A only)
After adding/changing labels, the initial label value file needs to be written to a CPU module.
In addition, when clearing all initial values, the initial label value file needs to be deleted from a CPU module.
During the boot operation, an initial label value file needs to be written to the SD memory card in the CPU module. To clear all
initial values, the file needs to be deleted from the boot file setting of the memory card parameter. If the file is not written to the
CPU module or not deleted, an error occurs when resetting or turning the power of the CPU module OFF and ON, or
switching the operating status from STOP to RUN.
Online program change for initial label values (version 1.032J or later)
When an initial label values are not set, the initial label value file with the same name in a programmable controller will be
deleted.
During the boot operation, an initial label value file needs to be written to the SD memory card. By selecting the checkbox of
"Reflect Changes to Boot Source" when performing the online program change, an initial label value file is written even if an
initial label value is not set.
Ladder program
When a new ladder block is inserted, or a ladder block is deleted, the inserted program is written together with one instruction
after the inserted ladder block to the CPU module.
Therefore, the online program change may not be completed at a time depending on the number of program steps before and
after addition or deletion. In this case, reduce the number of steps written at a time and perform the online program change in
several times.
Precautions
Interruption of writing the program restoration information 13
When the power-OFF or reset of a CPU module, or cable disconnection is detected while writing the program restoration
information, the processing is canceled and a message appears.
For the interruption caused by the power-OFF or reset of a CPU module, write the program restoration information again.
For the interruption caused by the cable disconnection, connect the cable again, and click the [Retry] button on the message.
When the [Cancel] button is clicked, the following error occurs.
• The restoration information is not written. Therefore, an error occurs when reading the data from a programmable controller
and it is not read.
• The execution program and the restoration information may be mismatched. Therefore, an error occurs after resetting the
programmable controller and the program cannot be executed.
To clear the errors, set the CPU module in the STOP state and write the program again.
Precautions
• It may take time to write data when writing a program and program restoration information separately.
• A project is automatically saved with the data writing. Therefore, it is necessary to register the project history in advance.
(Page 160 Project Revision History)
• If a project is not saved automatically, the data will also not be written to an FX5CPU.
• When writing fails, reset or cycle the power of the FX5CPU. Then, write the data to the FX5CPU in the STOP state.
Operating procedure
Select [Online] [Write to PLC] while a CPU module is running.
Precautions
If there is not enough free capacity in the program memory of a CPU module to write the programs, the file batch online
change cannot be performed.
If labels and module parameters are not changed when using a module label, writing the module parameter is omitted and the
file batch online change of the program can be performed.
13
Execution condition
The following table shows the files to which the file batch online change can be performed and the conditions.
Before writing a file other than the one described in the following table, change the status of the CPU module to STOP/
PAUSE.
*1 Before performing the file batch online change, a file to be written must be set in advance by using special relays (SM) and special
registers (SD).
For details, refer to the following manual. (RCPUs only)
MELSEC iQ-R CPU Module User's Manual (Application)
*2 If "No" is selected for the following option, the file batch online change can be performed even when any or all programs are converted
(retained).
[Tool] [Options] "Online" "Write to PLC" "Operational Setting" "Turn PLC to STOP in writing to PLC after executing Rebuild
All and execute remote RUN"
Window
Select [Online] [User Data] [Write]/[Read]/[Delete].
The following screen is an example when writing data.
13
Operating procedure
1. Select [Write], [Read], or [Delete] tab on the "User Data Operation" screen.
Creating folders
Select a place in which the folder is to be created in the "Browse Folders" screen, right-click it and select [Create Folder] from
the shortcut menu.
Ex.
When writing a program to a CPU module after converting (reassigning) all programs, the values of labels can be restored by
writing the label memory that was read in advance to the CPU module.
Operating procedure
1. Select the [Write] tab/[Read] tab on the "Memory Card Operation" screen.
2. Set the drive path of the write target/read source, then click the [Execute] button.
Parameters have been written with program files when writing to a memory card
Read the parameters with the program files.
Parameters have not been written with program files when writing to a memory card
Before reading the program files, open the project opened when writing to the SD memory card.
Read parameters used when writing to the SD memory card from the CPU module.
• If "Execute END Processing between Programs" is selected for "Device/Label Access Service Processing
Setting" in "CPU Parameter," the current values are changed after a program is executed or when the END
processing is executed.
• When selecting a program with the specified program monitor function, the current values are changed after
executing the selected program. For details on the specified program monitor function, refer to the following:
Page 613 When monitoring devices/labels in a specified program
Precautions
When using the write-protect function for device data (from outside the CPU module), the current values of a device to which
writing data is prohibited cannot be changed.
For details on the write-protect function for device data (from outside the CPU module), refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
Window
Select [Debug] [Change History of Current Value].
Starting/stopping monitoring
Start/stop monitoring by selecting one of the following menus.
• [Online] [Monitor] [Start Monitoring]( )/[Stop Monitoring]( )
• [Online] [Monitor] [Start Monitoring (All Windows)]( )/[Stop Monitoring (All Windows)]( )
• [Online] [Watch] [Start Watching]/[Stop Watching]
• Select [Online] [Monitor] [Monitor Mode] on the active ladder editor
For a ladder editor, start monitoring by selecting a mode from the pull-down list for the ladder edit mode, which is in the upper
left of the editor.
By selecting "Yes" for the following option, monitoring for all the windows are stopped automatically when data
is converted or all programs are converted during monitoring.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Stop the Monitor in Executing 14
Convert/Rebuild All"
FB instance
To monitor the devices/labels in an FB instance, open the FB program and select the FB instance to be monitored from the
monitor status bar.
When selecting "Use File Register of Each Program" in "File Register Setting" in "CPU Parameter," file
registers in a specified program can be monitored by using the specified program monitor function.
For considerations when monitoring file registers, refer to the following:
Page 619 Considerations when monitoring file registers
Status monitoring
Status is displayed during monitoring on the monitor status bar.
Window
At the start of monitoring
The following screen is an example for an RnCPU project.
Displayed items
Item Description Icon Detail
Connection status The connection status with a CPU module is displayed. When connected to a
The "Specify Connection Destination" screen appears by clicking the icon. CPU module
For details, refer to the following:
Page 557 SETTING ROUTE TO CPU MODULE
CPU operation status The CPU module status which is operated by the key switch on a CPU RUN
module or remote operation of GX Works3 is displayed. STOP
The "Remote Operation" screen appears by clicking the icon.
For details, refer to the following: PAUSE
Page 759 Remote Operation
ERROR status The ERROR LED status of a CPU module is displayed. ERROR is OFF.
The "Module Diagnostics" screen appears by clicking the icon.
ERROR is ON.
For details, refer to the following:
Page 708 Module Diagnostics ERROR is flashing.
USER status The USER LED status of a CPU module is displayed. USER is OFF.
The "Module Diagnostics" screen appears by clicking the icon.
USER is ON.
For details, refer to the following:
Page 708 Module Diagnostics USER is flashing.
Registration status (Forced The registration status of forced input/output is displayed. Registered
input/output) The "Register/Cancel Forced Input/Output" screen appears by clicking the
Not registered
icon.
For details, refer to the following:
Page 644 Turning Input/Output Devices ON/OFF Forcibly
Registration status (Device The status of a device test with execution conditions is displayed. Registered
test with execution The "Check/Disable Register Device Test With Execution Condition" screen Not registered
conditions) appears by clicking the icon.
For details, refer to the following:
Page 646 Changing Device/Label Value by Setting Conditions
Control/standby system The status (control or standby system) of a CPU module in a redundant Control system
status system configuration or remote head module is displayed. Standby system
Not determined
System A/B status The status (system A or B) of a CPU module in a redundant system System A
configuration is displayed.
System B
Not determined
Redundant operation mode The operation mode of a CPU module in a redundant system configuration is Backup mode
displayed.
Separate mode
Safety operation mode The safety operation mode of an RnPSFCPU or an RnSFCPU is displayed. Safety mode
The "Switch Safety Operation Mode" screen appears by clicking the icon. Test mode
For details, refer to the following:
Page 764 Safety operation mode switching
Monitor mode
A ladder editor is switched to the monitor mode during a monitoring.
Page 264 Configuration of a ladder editor
The display format and detailed operation settings for each function can be set by setting the following option.
[Tool] [Options] "Monitor"
*1 Can be monitored in a Zoom or on an SFC diagram only. To monitor a step relay (S) in a program editor other than a Zoom, monitor a
step relay with block specification (BL\S).
*2 The same value as the current value (N) is displayed.
*3 Cannot be monitored on an SFC diagram.
Inapplicable labels
• When a value other than a fixed value is used for an array index, the monitor value of the array is displayed as an indefinite
value, or the monitor value is not displayed.
• An indefinite value is displayed as the monitor value of a local label in a function, or the monitor value is not displayed.
Ex.
14
• When a macro type function block is used in a subroutine type function block, the monitor values of the input/output labels
of the macro type function block may not be displayed properly.
In that case, edit the input and output circuit parts of the macro type function block to change the program status to the
unconverted state, then convert the program or perform the online program change. By doing so, the monitor values may
be displayed properly.
Ex.
Operating procedure
1. Delete the line in the input circuit of the macro type function block.
In the following cases, add a program that transfers monitoring target file registers to devices, then monitor the transferred
program. Note that the number of steps and scan time will increase for the added program.
• Any of the programs is set not to use file registers.
• File register size differs.
If the file register for which "Use File Register of Each Program" is selected is used as data with no latch (such that the data is
set to clear to '0' at the first time), replacing the file registers to local devices avoids increase of number of steps and scan time
due to the addition of programs.
Circuit monitor
Operating procedure
Open a ladder editor, and select [Online] [Monitor] [Start Monitoring] ( )/[Stop Monitoring] ( ).
(1)
(2)
(3)
*1 Only the following comparison operation instructions that are equivalent to contacts and the instructions that are equivalent to coils are
supported.
Comparison operation instructions equivalent to contacts: BIN16-bit data comparison, BIN32-bit data comparison, floating-point data
comparison, 64-bit float data comparison
Instructions equivalent to coils: SET, RST, PLS, PLF, SFT, SFTP, MC, FF, DELTA, DELTAP, OUTHS, STL
14
*2 During monitoring, a function block with EN is displayed according to the ON/OFF state of EN. On the other hand, a function block
without EN is always displayed as ON, and an undefined function block is always displayed as OFF.
Precautions
If two application instructions (such as OUT or INCP instruction) are connected to one output label (bit type) of a function or
subroutine type function block with EN/ENO, the value of the output label may not be applied to the device/label of the OUT
instruction.
However, it can be avoided by any of the following operations:
• Use a function or subroutine type function block without EN/ENO.
• Use a macro type function block with EN/ENO.
• Add ladders to transfer the value of the output label to another device/label and to transfer the value of the device/label to
the two instructions.
Monitor
Operating procedure
Open an ST editor, and select [Online] [Monitor] [Start Monitoring] ( )/[Stop Monitoring] ( ).
Monitored value of D0
By using the following menu, the right half of the split window can be displayed or hidden.
• [Monitor] [Switch ST Monitor Display (All)]/[Switch ST Monitor Display (Bit Type Only)]
The color of monitor values or others can be changed.
Page 81 Checking and Changing Colors and Fonts
When an array type label or bit-specified label is selected, the monitor value of its array element or bit number
is displayed on the tooltip.
Example: Even when 'iArray' of an array type label 'iArray[0]' is selected, the monitor value of 'iArray[0]' is
displayed on the tooltip.
Monitor
Operating procedure
Select [Online] [Monitor] [Start Monitoring] ( )/[Stop Monitoring] ( ).
(1)
14
When the current value cannot be monitored, "---" is displayed in the monitor value display area.
The background, text, and other colors of monitor values can be changed.
Page 81 Checking and Changing Colors and Fonts
Precautions
An inline structured text program cannot be monitored in the preview display area of inline structured text elements. Monitor it
on an ST editor.
Display format
Contact
The current continuity state can be checked by looking a contact.
By setting the following option, ON/OFF of a constant can be changed with the current value of a device/label.
• [Tool] [Options] "Monitor" "FBD/LD editor" "Display Setting" "Use Same Display Format for Contact as Device/
Label Current Value"
Word device
A word device is displayed in Word [Signed].
For a word device with a device type specifier, the word device is displayed in the data type indicated by the device type
specifier.
For details on a device type specifier, refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
Operating procedure
1. Select a variable element.
*1 If the height of a function block element or function element is of the compact type, the monitor value display area moves to above,
below, left, and right of the variable element as well as on the element.
The positions of the monitor value display areas of variable elements which are connected to a function block
element or function element can be changed at once by clicking the smart tag of the element. ( ).
Operating procedure
Click the monitor value display area of a variable element.
The monitor value display area is enlarged until the project is closed.
To restore it, click the monitor value display area again.
Precautions
For GX Works3 Version 1.047Z or later, a part of a monitor value may be omitted and displayed.
In that case, all digits of the monitor value can be checked by any of the following operations.
• Register devices and labels in a watch window. (Page 638 Registering to a watch window)
• Place the cursor on a device or label name. (The monitor value is displayed on the tooltip.)
• Enlarge the monitor value display area. (Page 625 Enlarging the display)
14
The background, text, and other colors of monitor values can be changed.
Page 81 Checking and Changing Colors and Fonts
Detailed expression
The status of an SFC element during monitoring is displayed as shown in the following figure.
Active:
Inactive:
HOLD:
The FBD/LD elements are displayed in the same manner as that on an FBD/LD editor.(Page 623 FBD/LD)
Monitor of Zoom
14
*1 An instruction other than a comparison operation instruction that is equivalent to a contact is monitored with a device type specifier
added according to the data type of an argument.
Devices used for a comparison operation instruction are monitored with a device type specifier added according to each instruction.
A label used for a comparison operation instruction is monitored in the data type defined in a label editor.
*2 When a value other than a fixed value is used for an array index, the monitor value is not displayed in the editor, or displayed as an
indefinite value.
*3 The current value (N) is displayed. When using it as a contact for a transition, the contact (S) is monitored, not the current value (N).
Ex.
The following screen is an example when selecting "MELSAP-L (Instruction Format)" in "Switch Ladder Display."
Precautions
When monitoring is performed in a scan where a transition is satisfied, a step that was being executed (transition source step)
is displayed in inactive state, and the next step connected to a transition (transition destination step) is displayed in active
state.
Note that when continuous transition is not set, the transition destination step is executed in the next scan. Therefore, when
monitoring the transition destination step and operation output at the same time, the step will be activated, however, the
monitor value of the operation output will not be changed.
Precautions
When the update rate of the active status of a step is higher than the monitoring cycle, the status may not be acquired
depending on the timing of monitoring.
In such a case, the step is not displayed by this function.
Precautions
When displaying and monitoring steps which were activated, the monitoring cycle will be longer.
If any of the following operations is performed, steps which were activated will return to the state before being activated.
• Turning the power of a CPU module OFF
• Resetting a CPU module
• Stopping an SFC program using SM321
• Stopping an SFC program using a POFF instruction
*1 A block/step can be activated by changing the current value of a label to which a step relay with block specification (BL\S) or SFC
bock device (BL).
Precautions 14
• Note that changing the active status of a block or step will affect the operation of a CPU module.
• If the current value of a block is changed during the online program change for an SFC block, the active status of the block
cannot be changed.
The SFC diagram of specified block can be displayed by double-clicking the block column during monitoring.
Precautions
This monitoring function may not work properly when there is a difference between the program written in a CPU module and
program in a project.
Window
Select [Online] [Monitor] [SFC All Blocks Batch Monitoring] ( ).
Operating procedure
Move the cursor on a block to be monitored in the "Block Batch Monitor" screen, then click the [Active Step Monitor] button.
Window
Select [Online] [Monitor] [Device/Buffer Memory Batch Monitor] ( ).
Toolbar
14
Up to 64 monitoring screens can be displayed at once. The numbers are displayed at the start of the screen title.
The display format in the "Device/Buffer Memory Batch Monitor" window can be set in the same manner as in a device
memory editor. Refer to the following:
Page 435 Setting the display format
Operating procedure
Monitoring devices in a batch
Enter the device (start number) to be monitored in "Device Name."
For the devices that can be entered, refer to the following:
Page 889 Applicable Devices in GX Works3
• When the target device is local device: Specify "Program Reference."
• When checking the TC setting values: Enter a device of timer, retentive timer, long timer, long retentive timer, counter, or
long counter (Example: T10, ST10, LT10, LST10, C10, LC10) and specify "Program Reference."
Precautions
• For a timer (T) and counter (C), the contacts and current values can be changed in an RCPU; however, only the contacts
can be changed in an FX5CPU.
• When "Bit and Word" is selected in "Display Unit Mode" of (Display Format Detailed Setting), the current value of the
following devices can be changed by changing the bit status in the 0 to F column:
14
Direct access input (DX)
Direct access output (DY)
Function input (FX)
Function output (FY)
Link input (J\X)
Link output (J\Y)
Link relay (J\B)
Link special relay (J\SB)
• When "Bit and Word" is selected in "Display Unit Mode" of (Display Format Detailed Setting), the current value of an
index register (Z) cannot be changed even if the bit status in the 0 to F column is changed.
• For a step relay (S), step relay with block specification (BL\S), and SFC block device (BL), the blocks/steps are activated/
deactivated by changing the current values. (Page 631 Changing the active status)
• When a program is selected with the specified program monitoring function, the function is disabled by selecting "No" for
the following option during monitoring:
[Tool] [Options] "Monitor" "Common Item" "Timing to Execute Monitor Function and Modify Value Function"
"After the execution of specified program"
In the following cases, use the watch function. Alternatively, add a program that transfers monitoring target file registers to
devices, then monitor the transferred program.
• Any of the programs is set not to use file registers.
• File register size differs.
Note that the number of steps and scan time will increase for the added program.
If the file register for which "Use File Register of Each Program" is selected is used as data with no latch (such that the data is
set to clear to '0' at the first time), replacing the file registers to local devices avoids increase of number of steps and scan time
due to the addition of programs.
Operating procedure
1. Click the [Detailed Conditions] button, then click the [...] button of "Program Reference" in the "Device/Buffer Memory
Batch Monitor" window.
2. Set each item in the "Program Reference" screen, and click the [OK] button.
Window
Select [View] [Docking Window] [Watch 1] to [Watch 4] ( ).
14
The display format can be selected per row from the pull-down list displayed when selecting the display format.
Operating procedure
1. Register devices/labels to be monitored. (Page 638 Registering to a watch window)
When selecting a program with the specified program monitor function, the value after the selected program
was executed is displayed as the current value. In this case, "[Watching (Running Specified Program
Monitor)]" is added to the title of a watch window.
For details on the specified program monitor function, refer to the following:
Page 613 When monitoring devices/labels in a specified program
Other operations
The following operations can be performed from the shortcut menu.
Operation Shortcut menu
Changing a title Change Title
Switching the display format for the current value of a bit device ON/OFF Display
(TRUE/FALSEON/OFF)
Editing a comment Comment Edit
Changing the display format for a device and label*1 Change the Display Format of the Selected Device/Label
Changing the data type of a device*2 Change the Data Type of the Selected Device
*1 The display format of a device or a label for which '--' is displayed in the "Display Format" column cannot be changed.
*2 Timer devices and counter devices are the only bit type devices whose data type can be changed.
Operating procedure
1. Select a row in a watch window, then right-click it.
Operating procedure
Registering devices/labels by entering them manually
1. Open a watch window.
2. Enter a device/label to be registered in the "Name" column, and press the key.
The input format of devices/labels are as follows:
• Global device: Device name
• Local device: Program name/#Device name ('#' is not necessary for index register (Z))
• Global label: Label name
• Local label: Program block name/label name
• Step relay: Step relay with block specification (BL\S)
For structures, function blocks, and arrays, enter the items by referring to the following table.
Type Target Input format
Structure Label (Structure) Label name
Structure member Label name.member name
Function block Label (Function block) Label name
Label in the function block Label name.Label name in the function block
Array Label (Array) Label name excluding array notation
Array index and the specific dimension part of Label name[three-dimensional index] [two-dimensional index]
array (more than two-dimensional array) [one-dimensional index]
Structure array Label (Structure array) Label name
Specific member Label name[three-dimensional index] [two-dimensional index]
[one-dimensional index].member name
*1 For RCPUs and LHCPUs, step relays (S) used in programs other than a Zoom cannot be registered.
Step relays (S) are registered as step relays with block specification (BL\S) automatically in a Zoom.
*2 For FX5CPUs, step relays (S) used in a Zoom are registered as step relays with block specification (BL\S) automatically.
*3 Devices/labels cannot be registered from the preview display area of inline structured text elements.
• When rectangular selection is made on an ST editor, only the devices/labels in the selected range can be
registered.
• When registering a label for which a value other than a fixed value is used as an array index, if a device/
label that can be monitored is used as an array index, the index can be extracted and registered as another
watch item. (Page 641 Registering an array index)
• When the following menu is selected while a program editor is active, all devices/labels used in the program
can be registered in a batch.
[Online] [Watch] [Batch Register to Watch Window] [(Watch Window 1 to 4 (Batch Register))]
2. Right-click it and select [Register to Watch Window] any of [Watch 1] to [Watch 4] from the shortcut menu.
The device/label is registered in the watch window.
Precautions
Inapplicable labels
• When a value other than fixed value is used for an array index, the monitor value is not displayed or displayed as an
indefinite value in a watch window.
• The monitor values of a local label used in a function are not displayed, or displayed as indefinite values in a watch window.
Ex.
When the double word [signed] type 'D0' is set in the "Register Device Test with Execution Condition" screen, the word
14
(signed) type 'D1' is also registered in a watch window.
Operating procedure
1. Set the following option.
Select one of [Watch 1] to [Watch 4] in [Tool] [Options] "Monitor" "Ladder Editor"/"ST Editor"/"FBD/LD Editor"/"SFC
Diagram Editor" "Setting for Automatic Registration to Watch Window" "Set Automatic Registration Destination."
2. During monitoring, select a range of devices/labels to be registered to a watch window in a program editor.
For a label for which a value other than a fixed value is used as an array index, the index is extracted and
registered as another watch item.
This applies only when a device/label that can be monitored is used as an index.
Precautions
• When "Use File Register of Each Program" is selected in "File Setting" of "CPU Parameter," a file register file that is
available at the END will be changed. Therefore, changing the current values by specifying a file register file for each
program is not available.
• For bit type array global labels that are specified in digit specification, the current values can be changed when devices
have been assigned to them.
the current values of global labels to which devices are assigned and local labels cannot be changed.
• When the label name of a label registered in a watch window is changed in a label editor, the label name before the change
is displayed as a character string. To check the current value, register the changed label name.
Operating procedure
Select a row in a watch window, then right-click it and select [Import File] or [Export to File].
Adding a label
To add a label to the "Binary Watch" screen, select a row of the label while the "Binary Watch" screen is opened, then right-
click and select [Add the Selected Label to Binary Watch Window] from the shortcut menu.
Operating procedure
1. Click the [Open Display Format] button.
2. Set each item in the "Display Format" screen and click the [OK] button.
Window
Select [Debug] [Register/Cancel Forced Input/Output]( / ).
(1)
Operating procedure
1. Enter the device name of an available input (X) or output (Y) in the "Device" column.
2. Click the [Register Forced ON] button or the [Register Forced OFF] button.
The registered device turns ON/OFF until the registration is canceled.
Registration cancellation
The registration of devices for forcibly turning ON/OFF can be canceled.
Operating procedure
1. Enter the device name of a registered input (X) or output (Y) in the "Device" column.
Operating procedure
Click the [Update Status] button.
Operating procedure
Click the [Cancel All Registrations] button.
Considerations
• This function is not controlled exclusively on a CPU module side. The registered contents may be changed by a peripheral
device connected via another station.
• Even when forcibly turning devices ON/OFF by using the 'Modify Value' function, a current value of the device for which
forced ON/OFF is registered is not changed.
*1 Only the registration status of the CPU module on the connected system is read.
Window
Select [Debug] [Device Test with Execution Condition] [Register].
Bit device and bit type label
Precautions
The registration of a device test with execution conditions is canceled by performing an operation such as resetting or cycling
the power of the programmable controller, or writing a program to the CPU built-in memory.
For details, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
Window
Select [Debug] [Device Test with Execution Condition] [Check/Disable Register]( / ).
(1)
Displayed items
Item Description
Status of Displayed Data The status of data in the registration content list is displayed.
: Indicates that a device test with execution conditions is not read yet.
Update Status: Indicates that a device test with execution conditions which was read from a CPU module is displayed.
Read File: Indicates that a device test with execution conditions which was read from a file is displayed.
Registration content list The read device test with execution conditions is displayed.
Operating procedure
Click the [Update Status] button.
Registration cancellation
The following shows the procedure for canceling the registration of a device test with execution conditions displayed in the
registration content list.
Operating procedure
1. Select the checkbox(s) of a device test with execution conditions to cancel the registration.
Batch registration
The following shows the procedure for registering a device test with execution conditions displayed in the registration content
list to a CPU module in a batch.
14
Operating procedure
Click the [Batch Register] button.
Operating procedure
Click the [Batch Disable] button.
In another way, the registration can be canceled in a batch by using the following menu.
• Select [Debug] [Device Test with Execution Condition] [Batch Disable]
Operating procedure
1. Click the [Write File] button.
Operating procedure
1. Click the [Read File] button.
FB1 FB2
Even if the current value of the input variable (IN) of the FB2 is changed using the change current value function, the value will
be overwritten with the current value of the output variable (OUT_) of the FB1 because the FB1 is in operation.
To change the current value of the input variable of the FB2, pause the operation of FB1 first, and then change the current
value of the output variable of the FB1.
Operating procedure
1. Pause the operation of the FB1. (Page 651 Pause)
2. Change the current value of the output variable (OUT_) of the FB1. (Page 612 Changing current values)
The changed current value is stored to the input variable (IN) of the FB2.
FB1 FB2
Operating procedure
1. Monitor an FBD/LD program for process control. (Page 623 Monitor)
By setting 'automatic registration to watch windows,' when the operation of a process control function block is
paused, devices and labels used for the paused process control function block are automatically registered to
a watch window and that makes it easy to change current values of input and output variables used for the
process control function block.
For details on 'automatic registration to watch windows,' refer to the following:
Page 641 Automatic registration to watch windows 14
Precautions
• After checking the operation of a program, restart the operation of all the paused process control function blocks.
(Page 652 Restart, Page 652 List display)
• When one FB instance is used for multiple programs in a project, if the operation of any one of the FB instance is paused,
all of the other operations of FB instances will be paused as well.
Display in pausing
The background color of a paused process control function block is displayed in gray.
Ex.
(1)
The background color of a paused process control function block can be changed in the "Color and Font"
screen. (Page 81 Checking and Changing Colors and Fonts)
Operating procedure
1. Select a paused process control function block in a program editor.
List display
The following shows the procedure to display paused process control function blocks in a list.
Operating procedure
Select [Debug] [Process Control Extension] [Paused FB List].
Paused process control function blocks are displayed in the "Output" window.
By selecting a row in the "Output" window and performing any of the following operations, the cursor jumps to
the position where an FB instance of the process control function block is used.
- Double-click the row.
- Right-click the row, and select [Jump] from the shortcut menu.
- Press the key.
Precautions
• After checking the operation of a program, check that all the process control function blocks are running.
• Function blocks in a program that is protected by a security key or block password are not displayed.
Window
Select [Debug] [Scan Time Measurement].
Ex.
Screen displayed when a ladder editor is active
14
Operating procedure
1. Set each item.
Item Description
Measurement Program Name The name of an open program is displayed.
Target
Start*1 Program Block Name A program block name is displayed.
Step No. Set a start step.
End*1 Program Block Name A program block name is displayed.
Step No. Set an end step.
Block Name*2 An SFC block name is displayed.
Step Name*2 Set a start step name.
Precautions
• A scan time cannot be measured in a safety program.
• A scan time cannot be measured depending on the specified start or end step.
For details, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
Window
Select [Online] [Monitor] [Program List Monitor].
14
Displayed items
Item Description
Execution Status of Programs Execution Time (ms) Displays the actual scan time (current value).
The display contents are differ depending on the program execution type.
At the program stop (standby) state: 0.000 ms
Execution Count Displays the number of executions, counted from '0' at the point of turning the CPU
module to the RUN state.
It is stored even after the program stops.
Entire Execution Time Monitoring Time (ms) Displays the program execution monitoring time set in "PLC RAS" of "CPU Parameter."
Total Execution Time (ms) Displays the total scan time of the programs executed in the CPU module.
Details of Execution Time for Program Processing Time (ms) Displays the total execution time of scan execution type program.
Scan Execution
END Processing Time (ms) Displays the END processing time.
Constant Waiting Time (ms) Displays the waiting time of the constant scan when the constant scan is set.
[Start Program] button Click this to start a desired program. (Page 656 Starting a program)
[Stop Program] button Click this to stop a desired program. (Page 656 Stopping a program)
Operating procedure
1. Click the [Start Program] button.
2. Set each item in the "Start Program" screen, and click the [Execute] button.
Stopping a program
The following shows the procedure for stopping a desired program.
A program of which the execution type is "Scan" can be stopped when a CPU module is in the RUN state.
Programs with the execution types other than "Standby" cannot be stopped.
Operating procedure
1. Click the [Stop Program] button.
2. Set each item in the "Stop Program" screen, and click the [Execute] button.
The operations when stopping a program differ as follows depending on the item selected in "Stop Mode" of
the "Stop Program" screen.
• Stop output after stop: The OUT instructions turn OFF at the next scan of the program. In the subsequent
scans, the program execution type is changed to "Standby." (Same operations as the POFF instruction)
• Hold output after stop: The program execution type is changed to "Standby," and the output of OUT
instructions is retained. (Same operations as the PSTOP instruction)
Precautions
If the system is switched when stopping a program of an RnPCPU (redundant mode), the execution type of the stopped
program is applied to the control system after switching.
Window
Select [Online] [Monitor] [Interrupt Program List Monitor].
Operating procedure
14
Input the interrupt pointer number of which execution counts are to be displayed in "Interrupt Pointer."
Displayed items
Item Description
Execution Count Starts counting when the CPU module turns to the RUN state and displays the execution counts.
When reaching 65536, it returns to 0.
Window
Select [View] [Docking Window] [Intelligent Function Module Monitor] [Intelligent Function Module Monitor 1] to
[Intelligent Function Module Monitor 10].
Operating procedure
1. Register an intelligent function module to be monitored. (Page 659 Registration of an intelligent function module)
Select and right-click the module information, and then select [Copy] from the shortcut menu to paste it to a
text file.
Precautions
The intelligent function module monitor updates current values only within the range displayed on the window for monitoring
acceleration.
When performing operation such as copy and paste on Excel, "--" or the previously monitored current value is displayed for
the data outside the range displayed on the window.
Operating procedure
Drag-and-drop (from the navigation window)
1. In the navigation window, select a module to be registered.
2. Drag and drop it onto the "Intelligent Function Module Monitor" window.
2. Right-click it and select [Register to Intelligent Function Module Monitor] from the shortcut menu.
2. Select a module to be registered in "Module List," and click the [OK] button. 14
When a positioning module is selected in "Module List," select the item displayed in "Monitor Item Category List."
Module information can be copied and pasted to a file such as a text file by right-clicking any module
information and selecting [Copy] from the shortcut menu in the "Intelligent Function Module Monitor" window.
Operating procedure
Drag-and-drop (from the navigation window)
1. In the navigation window, select a master station.
2. Drag and drop it onto the "Intelligent Function Module Monitor" window.
3. Select the master station in "Module List" and a device station in "Monitor Item Category List," then click the [OK] button.
2. Right-click it and select [Register to Intelligent Function Module Monitor] from the shortcut menu.
3. Select the master station in "Module List" and a device station in "Monitor Item Category List," then click the [OK] button.
3. Select the master station in "Module List" and a device station in "Monitor Item Category List," then click the [OK] button.
Precautions
Match the network configuration settings and parameters for refresh devices between the actual system and a project.
Otherwise, the refresh devices and buffer memory addresses are not set correctly in the intelligent function module monitor
and a device station cannot be monitored properly.
Operating procedure
1. Select a device/label in any of the following windows of GX Works3:
• Ladder editor
• ST editor
• FBD/LD editor 14
• Watch window
2. Perform either of the following operations in GX Works3:
• Select [Tool] [Realtime Monitor Function].
• Right-click the device/label and select [Wave Display (Realtime Monitor)] from the shortcut menu.
"Realtime Monitor Setting" screen of GX LogViewer appears.
3. Configure the monitoring settings in the "Realtime Monitor Setting" screen, and click the [Monitor Start] button.
For the operation methods of GX LogViewer, refer to the following:
GX LogViewer Version 1 Operating Manual
The following information is applied to GX LogViewer when the "Realtime Monitor Setting" screen of GX
LogViewer appears:
• Module type information of a project
• Current connection destination of a project
• Display language
• Data name and data type of a device/label
Precautions
• For an RCPU project and an LHCPU project, the data name and data type of a device/label are registered automatically
only when using GX Works3 Version 1.080J or later and GX LogViewer Version 1.124E or later.
• For an FX5CPU project, the data name and data type of a label are not registered automatically.
Window
1. Start monitoring an FBD/LD program for process control.
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(4)
(12)
(13)
A faceplate can be displayed only while monitoring the call source program. Therefore, a faceplate will be closed if the
monitoring is stopped due to an error such as a communication error.
Displayed items
Item Description
(1) I/O mode display area When the tag type is a loop tag or status tag, the current I/O mode is displayed.
The "Change I/O Mode" screen appears by clicking this button.
The I/O mode is classified into the following four types.
• NORMAL(NOR)
• SIMULATION(SIM)
• OVERRIDE(OVR)
• TAG STOP(TSTP)
The I/O mode can be changed only when the control mode is MANUAL mode.
(2) Tag name display area A tag name is displayed.
(3) Tag comment display area A comment defined on the tag FB setting editor is displayed.
(4) Alarm display area A tag alarm is displayed.
Tag alarm
• PVA, DVA, MVA, SVA display area
Classification Displayed character*1 Description
Loop tag PVA PV-related Positive/negative variation rate
Input high high/high/low/low low limit
DVA DV-related Large deviation
MVA MV-related Output variation rate limit
Output high/low limit
SVA SV-related SV variation rate limit
SV high/low limit
Status tag AL1 Time-out-related Time-out over
AL2 Trip-related Current and overload trip
Other tags (Nothing displayed)
*1 An alarm which is not including for the corresponding tag type is not displayed.
• SPA, SEA (or HBOA), OOA display area
Classification Displayed character Description
Loop tag SPA Stop alarm
• When SPA turns ON, the 'SPA' part changes to a button.
• Click the button to reset SPA.
SEA or HBO*1 Sensor error (SEA)
• SEA turns ON when a sensor error occurs.
Heater failure (HBOA)
• HBOA turns ON when a failure occurs in a heater.
OOA Output open alarm
• OOA turns ON when output disconnection is detected in a user program.
Other tags (Nothing displayed)
(1)
*1 When writing the global label setting to a CPU module, data of file registers in the range set in the following option is automatically
written.
[Tool] [Options] "Convert" "Process Control Extension Setting" "System Resource" "File Register: ZR"
Precautions
When using a faceplate in GX Works3, the latest PX Developer is required to be installed.
Only alphanumeric characters can be used to enter a tag name and a tag comment in the tag FB setting for using a faceplate.
Operating procedure
14
1. Open a GX Works3 project where an FBD/LD program for process control is used.
3. Click the [Save] button in the "Export Assignment Information Database File" screen.
4. Check the displayed message, and select whether or not to use the GOT screen generator of PX Developer Monitor
Tool.
The assignment information database file (*.FADB) is exported.
By selecting "Yes" for the following option, an "_" (underscore) at the end of a tag name is deleted when
exporting an assignment information database file.
• [Tool] [Options] "Convert" "Process Control Extension Setting" "Tag FB" "PX Developer Monitor
Tool Interaction" "Remove Underscore at the End of Tag Name"
Precautions
• When exporting an assignment information database file, only alphanumeric characters are available for a tag name and
tag comment in the tag FB setting.
• When using the GOT screen generator of PX Developer Monitor Tool, export an assignment information database file in GX
Works3 Version 1.045X or later.
• In PX Developer Monitor Tool Version 1.50C or earlier, an assignment information database file exported in GX Works3
Version 1.050C or later can be used, but set the value for the following option to '480' or lower before exporting. In that
case, click the [Apply] button in the tag FB setting editor.
[Tool] [Options] "Convert" "Process Control Extension Setting" "Tag FB" "Maximum Number of Tags"
Window
Updating the initial value of a selected FB property
1. Select a function block or tag FB in any of the following editors:
• Ladder editor
• ST editor
• FBD/LD editor
• Tag FB setting editor
2. Right-click it and select [FB Property] [FB Property Management (Online)] from the shortcut menu.
(1)
(6)
(2)
(3)
(4)
(7)
(5)
The "FB Property Management (Online)" screen can be displayed only in the following cases:
• Ladder editor: An FB instance is selected.
• ST editor: The cursor is placed on a token, or the whole token is selected.
(1)
(6)
(2)
(3)
(4)
(7)
(5)
14
Displayed items
Item Description
(1) Toolbar Previous difference Click this to jump the cursor to the row with a difference in values (the row where the current
value and initial value are different) before the current cursor position in the FB property list.
(Always available)
Next difference Click this to jump the cursor to the row with a difference in values after the current cursor
position in the FB property list.
(Always available)
Select All Click this to select all selectable FB property items in the FB property list.
(Always available)
Deselect All Click this to unselect all selected FB property items in the FB property list.
(Always available)
Number of digits Specify the number of digits after decimal point for the current value of which the data type is
after decimal point specification single precision or double precision. *1
• Without specification:
• With specification: 1 to 14
The number of digits can be specified only when a row with a difference in values is not
specified.
If filtering a row with a difference in values when the number of digits after the decimal point are
specified, the row is filtered by keeping the setting.
(Available only for the current value)
Click this to display only a row with a difference by filtering or to clear the filtering.
Filtering/clearing of a row with a Filtering will be cleared when the current value is reloaded while filtering.
difference
(2) FB instance name The FB instance name of a selected function block or tag FB is displayed.
"All" is displayed when reading the current values of all function blocks or tag FBs registered in a project.
*1 When the digits after the decimal point are more than seven digits, the value is applied only for the item of the double precision. For the
item of the single precision, six digits are applied.
*2 The current value and the initial value in the FB property list are compared in binary. (Example: 1.0 and 1.00 is considered as the same
value.)
*3 Appears by selecting the following menu:
[View] [Multiple Comments] [Display Setting]
Once the initial value is updated, a program related to a label of which the initial value was updated will be in
the unconverted state.
This part explains the maintenance and inspection methods such as a function to protect data (prevent from
falsification and data leakage) and display the system status of the CPU module.
15 PROTECTING DATA
16 MODULE DIAGNOSTICS
17 COLLECTING/REPRODUCING DATA
669
15 PROTECTING DATA
This chapter explains the method for protecting data in a project.
The following table shows the functions to protect data.
Purpose Target Function name Reference
To prevent a program from being illegally accessed (for each POU) Project Block password Page 671 Preventing Illegal Access to
(Using a password) Programs (Block Password)
To prevent a program from being illegally accessed (for each Project Security key Page 673 Preventing Illegal Access to
program file) authentication for a Programs (Security Key)
(Using a security key) project
To prevent a program from being illegally executed CPU module Security key Page 680 Preventing Illegal Program
(Using a security key) authentication for a Execution (Security Key)
CPU module
To prevent a project from being illegally accessed Safety project User authentication for Page 683 Preventing Illegal Access to
(Using a password) a project Project (User Authentication)
To prevent a CPU module from being illegally accessed CPU module User authentication for Page 686 Preventing Illegal Access to
(Using a password) (RnPSFCPU and a CPU module CPU Module (User Authentication)
RnSFCPU)
To prevent a file from being illegally read/written CPU module File password Page 692 Preventing Illegal Data
(Using a password) SD memory card Reading/Writing (File Password )
To restrict access from a communication route other than specific CPU module Remote password Page 699 Restricting Access from Other
one Than Specific Communication Route
(Using a password) (Remote Password)
To prevent data from being illegally accessed and falsified Project Security version Page 697 Preventing Illegal Access to/
(Using a password) Falsification of Data (Security Version)
To prevent data from being illegally accessed and falsified from a CPU module
file in a CPU module
(Using a password)
To block access from an illegal IP address by identifying the IP CPU module IP filter*1 MELSEC iQ-R Ethernet User's
address of an external device via Ethernet or CC-Link IE TSN Manual (Application)
(Setting in "Module Parameter") MELSEC iQ-F FX5 User's Manual
(Ethernet Communication)
*1 Even when using the IP filter, illegal access may not be prevented completely. Take additional security measures system-wide, such as
setting up a firewall for the network.
15 PROTECTING DATA
670
15.1 Preventing Illegal Access to Programs (Block
Password)
To prevent illegal access to a program (in a POU unit) by setting a password, use the Block password function.
Window
• Select [Project] [Security] [Block Password Setting].
• Select a POU in the navigation window, then right-click it and select [Block Password Setting] from the shortcut menu.
15 PROTECTING DATA
15.1 Preventing Illegal Access to Programs (Block Password) 671
Registering/changing a block password
The following shows the procedure for registering/changing a block password for a POU.
Operating procedure
1. Select a POU to set a block password and click the [Register]/[Change] button.
2. Enter each item in the "Register Password" screen/"Change Password" screen, and click the [OK] button.
When a block password is registered, the icons in the navigation window will be displayed as shown below.
Registered Authenticated
By selecting multiple POUs in "Data Name," a block password can be registered to the selected POUs in
batch.
Operating procedure
1. Select a POU to authenticate the block password, and click the [Authentication] button.
2. Enter the password in the "Password Authentication" screen, and click the [OK] button.
Operating procedure
1. Select a POU to delete the block password, and click the [Delete] button.
2. Enter the password in the "Delete Password" screen, and click the [OK] button.
Consideration
For a project whose security version is '2,' the data will be in the unconverted state by registering, changing or deleting a block
password.
15 PROTECTING DATA
672 15.1 Preventing Illegal Access to Programs (Block Password)
15.2 Preventing Illegal Access to Programs (Security
Key)
To prevent illegal access to a program (in a program file unit) with a key, use the security key authentication function.
Key A
15
Program
file Data access
Key A
No key, or key B
Unable to
access
Copy of security key: The security key registered to a personal computer can be copied by exporting/importing it from/to other
personal computer. In addition, the expiration date of the security key can be set.
Data access/unlock
Program file
Key A
Key A
File of
key A
Precautions
The security key registered to a personal computer is not deleted even if GX Works3 is uninstalled. Delete the security key on
the "Security Key Management" screen.
15 PROTECTING DATA
15.2 Preventing Illegal Access to Programs (Security Key) 673
Procedure for using the security key authentication function for a
project
2. Register the security key in a program file. (Page 678 Registering a security key in a program file)
2. Register the security key in a personal computer from which the program file is to be accessed. (Page 677 Importing
a security key)
3. Open the program file. (Page 105 Opening a project)
The program file can be accessed when the security key matches between the program file and the personal computer.
The operations shown above are not required for the personal computer with which a security key is registered in a program
file. However, the above operations are required when the security key is deleted.
15 PROTECTING DATA
674 15.2 Preventing Illegal Access to Programs (Security Key)
Creating/deleting a security key
A security key can be created or deleted in the "Security Key Management" screen.
Window
Select [Project] [Security] [Security Key Management].
Displayed items
Item Description
Creation Date The date and time when a security key was registered is displayed. 15
Expiration Date The expiration date that is set when exporting the security key is displayed.
Export Whether re-exporting the security key is enabled/disabled, which was set when exporting the security key, is displayed.
Protection Target Selection Whether selecting data to be protected is enabled/disabled, which was set when exporting the security key, is displayed.
Key Registration to CPU Whether writing data to CPU module is enabled/disabled, which was set when exporting the security key, is displayed.
Secure mode
The following shows the procedure for enabling or disabling the secure mode of a security key.
By enabling the secure mode, the risk for the vulnerability can be reduced.
Operating procedure
1. Confirm that a security key is not registered in a personal computer in advance.
If a security key is registered, delete the key. (Page 676 Deleting a security key)
2. Click the [Switch Secure Mode] button in the "Security Key Management" screen.
Operating procedure
1. Click the [New] button.
2. Enter a security key name in the "New Security Key" screen and click the [OK] button.
Precautions
All information can no longer be accessed if the security key that locks a CPU module and project is accidentally deleted or
lost.
Set a sufficient validity period for a security key file when exporting, and carefully manage the exported file.
15 PROTECTING DATA
15.2 Preventing Illegal Access to Programs (Security Key) 675
Deleting a security key
The following explains the procedure for deleting a security key that is registered in a personal computer.
If a security key that locks a project is deleted, the locked data in the project can no longer be accessed or edited.
Deactivating a security key is recommended before deleting it.
A security key can be deactivated by deleting it in the "Security Key Setting" screen.
For details, refer to the following:
• To deactivate a security key registered in a program file: Page 679 Deleting a security key
• To deactivate a security key written in a CPU module: Page 682 Deleting a security key
After deleting the security key, even when the security key with the same name as the deleted one is recreated, it will not be
the same security key as the deleted one. Take extra caution when deleting a security key.
Operating procedure
1. Select a security key to be deleted in the "Security Key Management" screen.
15 PROTECTING DATA
676 15.2 Preventing Illegal Access to Programs (Security Key)
Copying a security key
A security key can be copied (imported/exported) in the "Security Key Management" screen.
Operating procedure
1. Select a security key to be exported in the "Security Key Management" screen.
4. Set the password to be required when importing the security key, and click the [Export] button. 15
Precautions
• The exported security key files must be managed carefully.
• The security key files created with GX Works3 are not compatible with that of GX Works2.
The extension of a security key file to be exported differs as follows depending on whether the secure mode is
enabled or disabled.
• When the secure mode is enabled: *.ity2
• When the secure mode is disabled: *.ity
Operating procedure
1. Click the [Import] button in the "Security Key Management" screen.
2. Select a file (*.ity, *.ity2) in the "Import Security Key" screen, and click the [Open] button.
3. Enter the password set when exporting the security key in the "Password Authentication" screen, and click the [OK]
button.
Expiration date
• If the expiration date of the security key registered in a personal computer is expired, accessing programs, re-exporting
security keys, registering security keys in program files, and writing security keys to CPU module cannot be performed.
• To use the same security key after the expiration date, export the security key from the exported personal computer again,
and import it to the personal computer.
Precautions
A security key file with the '*.ity2' extension can be imported only while the secure mode is enabled.
15 PROTECTING DATA
15.2 Preventing Illegal Access to Programs (Security Key) 677
Registering a security key in a program file
A security key must be created in the "Security Key Management" screen in advance.
A security key can be registered for each program file, however, all program files in a project will be set the same security key.
Window
Select [Project] [Security] [Security Key Setting].
2. Select a program file to lock from the [Project] tab, and click the [Register] button.
The security key registered to program files will be enabled after saving the project.
When a security key is registered, the icons in the navigation window will be displayed as shown below.
When the security keys between in the personal When the security keys between in the personal
computer and the project does not match computer and the project matches
15 PROTECTING DATA
678 15.2 Preventing Illegal Access to Programs (Security Key)
Security key lock for a FB file
If the program, in which the function block of FB file locked with a security key is used, is opened on the personal computer
with no corresponding security key exists, the FB program cannot be opened.
However, the instances of the locked FB can be created in the program on the personal computer in which the security key is
not registered.
Consideration
For a project whose security version is '2,' the project will be in the unconverted state by clicking the [Register]/[Delete] button
in the [Project] tab.
15
15 PROTECTING DATA
15.2 Preventing Illegal Access to Programs (Security Key) 679
15.3 Preventing Illegal Program Execution (Security
Key)
To prevent an illegal execution for programs (STOP/PAUSE RUN) written in a CPU module, use the security key
authentication function.
Key A
No key, or key B
The programs are not executed if any of the programs of which security key is unmatched in the CPU module exists.
The security key written in the CPU module is retained after powering OFF.
2. Register the security key in the program file to be written to the CPU module. (Page 678 Registering a security key
in a program file)
3. Write the program files to the CPU module. (Page 580 Writing data to a programmable controller)
A CPU module which does not have the same security key as the one registered in the program file cannot execute the
programs.
2. Write the same security key as the protected program file to the CPU module. (Page 681 Writing/deleting security
key to/from CPU module)
The programs can be executed unless otherwise the security key set to the program file or CPU module is changed.
15 PROTECTING DATA
680 15.3 Preventing Illegal Program Execution (Security Key)
Writing/deleting security key to/from CPU module
By writing the same security key as a project to the CPU module, the execution of the programs can be permitted.
A security key can be written to any of the following.
• CPU module
• Cassette (extended SRAM cassette*1 or battery-less option cassette*2)
*1 An extended SRAM cassette cannot be attached to R00CPUs, R01CPUs, R02CPUs, LHCPUs, FX5CPUs, and remote head modules.
*2 A battery-less option cassette cannot be attached to R00CPUs, R01CPUs, R02CPUs, RnPCPUs, RnPSFCPUs, RnSFCPUs, LHCPUs,
FX5CPUs, and remote head modules.
Additionally, one security key can be written to multiple CPU modules.
When writing a security key, create a key on the "Security Key Management" screen and connect a personal computer and a
CPU module in advance. (Only when a CPU module is in STOP state, a security key can be written and deleted.)
For a safety project, the security key can be written/deleted when the safety operation mode of a CPU module is in the test
mode.
Window
Select [Project] [Security] [Security Key Setting].
15
15 PROTECTING DATA
15.3 Preventing Illegal Program Execution (Security Key) 681
Writing security key
Operating procedure
1. Select the security key to be written from "Name."
2. Select the target to be written in the [CPU] tab, and click the [Write] button.
Operating procedure
Select the security key to be deleted from the [CPU] tab, then click the [Delete] button.
15 PROTECTING DATA
682 15.3 Preventing Illegal Program Execution (Security Key)
15.4 Preventing Illegal Access to Project (User
Authentication)
To prevent an illegal access to a safety project from a user with no authority, use the user authentication function for a project.
RnPSFCPUs and RnSFCPUs support this function.
Logged-on user
Project
Data access
Unlogged-on user
Data access
User information 15
Access level
Access level is an operation privilege that is given to a user who logs on to a project and/or CPU module.
The operations allowed for each access level are as follows.
Access level Operation authority
Higher Administrators All operations including user management of projects and CPU modules
(Administrator level)
Developers Operations except for user management and security setting
(Developer level) Writing of data on a standard program and safety program to a CPU module
Assistant Operations except for user management, security setting, writing of safety programs and parameters
Developers Writing of data on a standard program to a CPU module
(Developer level)
Lower Users Referencing of a project and monitoring of CPU modules
(Operator level)
15 PROTECTING DATA
15.4 Preventing Illegal Access to Project (User Authentication) 683
Functions that require user authentication
Depending on an access level, some functions are restricted in a project.
The functions restricted by each access level are as follows.
: Available, : Not available
Function Access level
Administrators Developers Assistant Users
Developers
Overwriting
User management
Deleting the user information of a project
Project revision history
Changing the module type and operation mode
Online program change *1
Writing data to a programmable controller *1
*1 Only data on a standard program can be written to a CPU module. (Page 688 Operation)
Guest user
The 'guest user' has an authority to log on to a project and a CPU module without entering the user name and the password
in the "User Authentication" screen" screen. (Its access level is 'Assistant Developers' or 'Users.')
To log on as a guest user, add a guest user in the "Add New User" screen or enable a guest user in the "User Management"
screen.
For details, refer to the following:
Page 104 Adding a new user
Page 685 User management
After the logon, the user can read and edit only standard programs.
2. Add a user who is allowed to operate the project. (Page 685 User management)
Logging on to a project
For a project that user information is registered, logon is required to perform operations such as opening the project.
Enter a user name and password, that are registered in the project, to log on.
To log on as a guest user, click the [Log on as a GUEST] button on the "User Authentication" screen.
Operating procedure
Select [Project] [Security] [Change User Password].
15 PROTECTING DATA
684 15.4 Preventing Illegal Access to Project (User Authentication)
User management
The following shows the screen for managing the user registration status of a project to which a security is set.
A user of Administrators can change all user's passwords.
Window
Select [Project] [Security] [User Management].
2. Set each item in the "Add New User" screen/"Change User" screen, and click the [OK] button.
Operating procedure
Select a user name to be deleted, and click the [Delete] button.
*1 The access level cannot be changed except for 'Assistant Developers' and 'Users.'
15 PROTECTING DATA
15.4 Preventing Illegal Access to Project (User Authentication) 685
15.5 Preventing Illegal Access to CPU Module (User
Authentication)
To prevent an illegal access to the data such as a program or parameters written to a CPU module, use the user
authentication function for a CPU module.
RnPSFCPUs and RnSFCPUs support this function.
Logged-on user
programmable controller
Reading/writing
Unlogged-on user
Reading/writing
User information
• The user information registered in a CPU module needs to match with the user information of a project.
• The vulnerability measures are enhanced in RnSFCPUs (firmware version 27 or later), and the following
functions are changed partially:
Functions and operations that require user authentication
Writing user information to a CPU module
Logging on to a CPU module
In addition, the vulnerability measures are also enhanced in GX Works3 (version 1.087R or later).
By using RnSFCPUs (firmware version 27 or later) and GX Works3 (version 1.087R or later),
communication with enhanced vulnerability measures can be performed.
For RnPSFCPUs, whether the user authentication function can be executed for both systems (the connective system and the
other system) and the other system depends on each function.
: Executable, : Not executable
User authentication function Both systems Connective system
Logon to a programmable controller
Logoff from a programmable controller
Logoff of all users from a programmable controller
Password change of a programmable controller
User information reading from a programmable controller
User information writing to a programmable controller
User information copy to a programmable controller in the other system
Initializing all information of a programmable controller
15 PROTECTING DATA
686 15.5 Preventing Illegal Access to CPU Module (User Authentication)
Functions and operations that require user authentication
Function
Depending on the access level, some functions are restricted in a CPU module.
The functions restricted by each access level are as follows.
For CPU modules that support each function, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
: Available, : Not available
Function Access level
Administrators Developers Assistant Users
Developers
File operation Write to PLC *1 *1 *1
Read from PLC *1 *1 *1 *1
*1 *1 *1
Verify with PLC *1
*1 *1 *1
Delete data in a programmable controller
Redundant Memory copy *2
programmable controller
operation
CPU memory operation Data memory initialization
Device/label memory initialization
Zero clear of file registers (all files)
Zero clear of file registers (file specification)
15
Label memory read/write
Change program Online program change
File batch online change
Security Write/delete a security key
Register/change/delete file password
Authenticate file password
Add/delete/change new user
Read/write user data
Change user password
Diagnostics All clear event history
Test Register device test with execution conditions *3 *3 *3 *3
Safety Safety operation mode switching
*4 *4 *4
Identification check for safety data *4
*2 *2 *2
User authentication Logoff from a programmable controller *2
Logoff of all users from a programmable controller *2
User information copy to a programmable *2
controller in the other system
Operation FB property management (online)
*1 User authentication is not required to write/read a device memory (except for the file register).
*2 Only RnPSFCPUs support it.
*3 User authentication is required for changing values of the following devices and labels.
Local device
Local label
Index register
Index-modified device
*4 It is available only when using GX Works3 Version 1.087R or later and RnSFCPUs with the firmware version 27 or later in combination.
15 PROTECTING DATA
15.5 Preventing Illegal Access to CPU Module (User Authentication) 687
Operation
Depending on the access level, the operations (read, write, delete, verify) that can be performed for data in a CPU module
differ.
The operations restricted by each access level are as follows.
: Available, : Not available
Data Administrator Developers Assistant Developers Users
Read/Write/Delete/Verify Read/Verify Write/Delete Read/Verify Write/Delete
Sequence program
Safety sequence program
FB file
Safety FB file
CPU parameter
Safety CPU parameter
System parameter
Module parameter
Safety module parameter
*1 *1 *1
Module extended parameter
Memory card parameter
Device comment
Initial device value
Global label setting file
Safety global label setting file
Standard/safety shared label setting file
Initial global label value
Initial local label value
Global label assignment information file for an
access from an external device
File register
Remote password file
Device memory
Parameter of a device station
Parameter of a safety device station
Recording setting file
*1 For some modules, module extended parameters can be read or written only in their own configuration tools.
15 PROTECTING DATA
688 15.5 Preventing Illegal Access to CPU Module (User Authentication)
Procedure for using the user authentication function for a CPU
module
1. Register the user information in the project which is to be written to a CPU module. (Page 685 User management)
2. Write the user information to a CPU module. (Page 689 Writing user information to a CPU module)
3. For RnPSFCPUs, copy the user information to the other system. (Page 691 Copying user information to the other
system)
4. Write programmable controller data to a CPU module. (Page 580 Writing data to a programmable controller)
Once this procedure has done, logging on is required to access to the CPU module in advance.
15
Operating procedure
Select [Online] [User Authentication] [Write User Information to PLC].
Operating procedure
Select [Online] [User Authentication] [Read User Information from PLC].
Precautions
When reading user information from a CPU module to GX Works3 Version 1.044W or earlier, the access label "Assistant
Developers" is changed to "Users."
15 PROTECTING DATA
15.5 Preventing Illegal Access to CPU Module (User Authentication) 689
Logging on to CPU module
Logging on is required to access to a CPU module in which the user information is registered.
Enter a user name and password, that are registered in a CPU module, to log on.
For RnPSFCPUs, users can log on to both systems or the connective system.
After logging on, the user is automatically logged off if the CPU module has no access within the logoff judgment time or user
information are written.
Operating procedure
1. Select [Online] [User Authentication] [Log on to PLC]
2. Set each item in the "User Authentication" screen and click the [OK] button.
To log on as a guest user, click the [Log on as a GUEST] button on the "User Authentication" screen.
Precautions
• If password authentication fails for a certain number of times, it is rejected (locked out) for a fixed period of time. In
RnSFCPUs (firmware version 27 or later) in which the vulnerability measures are enhanced, it is locked out for 60 minutes
when input error exceeds five times.
• RnSFCPUs (firmware version 27 or later) with enhanced vulnerability measures may not be logged on from GX Works3
(Version 1.086Q or earlier) in which the vulnerability measures are not enhanced. In this case, check the error code and
take corrective actions.
For details on error codes, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
When a user name and a password used in the user authentication function are lost
Initialize the user information, the programmable controller data, and the security keys in the CPU module by performing the
following operation.
• Select [Online] [User Authentication] [Initialize all PLC Data]
Rewrite the user information, the programmable controller data, and security keys (optional) to the CPU module after
initialization.
If the power of the CPU is turned OFF and ON or the CPU module was reset, the allocation for the device/label memory is
back to the initial status. (Each area has the default capacity.)
15 PROTECTING DATA
690 15.5 Preventing Illegal Access to CPU Module (User Authentication)
Changing a password
The following shows the procedure for changing a password for a CPU module to the one set to a project.
Operating procedure
Select [Online] [User Authentication] [Change the Password of PLC]
Operating procedure
Select [Online] [User Authentication] [Authentication Destination] [Both Systems]/[Connective System].
15
Logging off
Log off from a logged on CPU module.
Operating procedure
Select [Online] [User Authentication] [Log off from PLC].
Operating procedure
Select [Online] [User Authentication] [Log off All Users from PLC].
Operating procedure
Select [Online] [User Authentication] [Copy User Information to Other System PLC].
15 PROTECTING DATA
15.5 Preventing Illegal Access to CPU Module (User Authentication) 691
15.6 Preventing Illegal Data Reading/Writing (File
Password )
To prevent files in a CPU module or SD memory card from being illegally reading and writing, use the file password function.
File
The following table shows the files for which the passwords can be registered.
: Available, : Not available
File name Availability
System parameter, CPU parameter, module parameter, module extended parameter, memory card parameter
Remote password
Global label setting
Global label assignment information
Initial global label value
Initial local label value
Program file
POU (FB file/FUN file)
File register
Initial device value
Common device comment
Each program device comment
Firmware update prohibited file *1
Faulty database check file
System file for backing up CPU module data
Backup data file for backing up CPU module data
Device/label data file for backing up CPU module data
System file for the iQ Sensor Solution data backup/restoration function
Backup data file for the iQ Sensor Solution data backup/restoration function
ODBC server setting file
Database path file
*1 A password cannot be registered for a file in an SD memory card inserted in a personal computer.
15 PROTECTING DATA
692 15.6 Preventing Illegal Data Reading/Writing (File Password )
Password authentication
By registering a password for a file, password authentication is required when performing an online operation.
The following table shows the online operations requiring password authentication.
: Required, : Not required
Online operation Applicability Password to be set
Reading data from a programmable controller Read-protected password
Writing data to a programmable controller Write-protected password
Performing online change Write-protected password
(Online program change, file batch online change)
Verifying data with a programmable controller Read-protected password
Setting a file password (registration/change/authentication/deletion) Read-protected password, write-protected password
Deleting data in a programmable controller Write-protected password
Operating CPU memory (initialization)
Precautions
If password authentication fails for a certain number of times, it is rejected (locked out) for a fixed period of time.
Considerations
• Keep passwords safe.
When the registered password is lost or the protection of a file to which "Permanent PLC Lock" is set is need to be
released, initialize the CPU module (Page 769 Checking Memory Usage) and write the project newly to the CPU
module.
15 PROTECTING DATA
15.6 Preventing Illegal Data Reading/Writing (File Password ) 693
Procedure for using the file password function
Operating procedure
1. Connect a personal computer and a CPU module. (Page 557 Specification of Connection Destination)
Operating procedure
Register a password for a file. (Page 695 Setting a file password)
Operating procedure
1. Connect a personal computer and a CPU module. (Page 557 Specification of Connection Destination)
2. Obtaining the authentication of the password registered for a file. (Page 695 Setting a file password)
Operating procedure
Obtaining the authentication of the password registered for a file. (Page 695 Setting a file password)
15 PROTECTING DATA
694 15.6 Preventing Illegal Data Reading/Writing (File Password )
Setting a file password
The following operations, password registration, change, authentication, and deletion, can be performed for a file.
Operation Description
Registration To register a password for a file to prohibit reading and/or writing.
A password registered for a file in the transfer source memory during the boot operation is registered for the file in the file transfer destination
memory.
A password registered for a file is applied after closing and reopening the project including the file.
Change To change the password registered for a file.
Authentication To obtain a password authentication for a file and release the protection of the file temporarily.
After password authentication, the file can be read or written until the project is closed.
A password can also be authenticated in the "File Password Setting" screen displayed when accessing a file with a password.
Deletion To delete the password registered for a file.
Window
CPU module/SD memory card inserted in a CPU module
Select [Project] [Security] [File Password Setting].
15
15 PROTECTING DATA
15.6 Preventing Illegal Data Reading/Writing (File Password ) 695
Operating procedure
1. Select a file and click the [Register]/[Change]/[Authentication]/[Delete] button.
2. Set each item in the displayed screen and click the [Completed] button.
Precautions
• When a project for an FX5CPU is opened, the password cannot be registered for a file in the SD memory card inserted in a
personal computer. In addition, changing or deleting a password and obtaining a password authentication cannot also be
performed.
• When registering a password for a file in a CPU module or the SD memory card inserted in a CPU module, connect a
personal computer and CPU module in advance.
• Operation that can be performed depends on the safety operation mode of a CPU module.
Test mode: All operations
Safety mode: Authentication only
• Both reading and writing can be prohibited for a file by selecting the checkbox of "Permanent PLC Lock" However, if the
prohibition has already been set for either one operation, the other one cannot be prohibited later.
15 PROTECTING DATA
696 15.6 Preventing Illegal Data Reading/Writing (File Password )
15.7 Preventing Illegal Access to/Falsification of Data
(Security Version)
To prevent an illegal access and falsification to/of the data in a project, use a security version.
Security version
There are two types of security versions: "1" or "2."
A project password can be registered by setting a security version to "2." By registering a project password, operations can be
restricted for a project and the data in a CPU module.
In addition, by setting the security mode to "2," whether the data is falsified can be checked automatically when operating the
data.
Project authentication
The project password authentication is required when performing an operation or function for the following:
• A project in which a security version is set to "2"
• Data written to a programmable controller from a project in which a security version is set to "2"
The following table shows the target functions and operations:
Function/operation Remarks
Opening a project
Project verification
15
Reading data from a programmable controller
Verifying data with a programmable controller
Reading data from an SD memory card
Utilizing system parameters
Utilizing module parameters (safety communication
setting)
Reading a recording file
Starting offline monitoring When monitoring a recording file, the authentication screen appears if a project whose security version
is '2' is opened.
Project version management When acquiring a project, the authentication screen appears.
The authentication screen also appears if the latest project password does not exist in a local project.
A project password can be registered when setting a security version of a project to "2." (Page 698 When changing a
security version from "1" to "2")
15 PROTECTING DATA
15.7 Preventing Illegal Access to/Falsification of Data (Security Version) 697
Procedure for using a security version
2. Select "2" for "Security Version" in "Security," and click the [OK] button.
4. Set an administrator password and project password in the "Register Password" screen, then click the [OK] button.
2. Select "1" for "Security Version" in "Security," and click the [OK] button.
4. Enter an administrator password in the "Administrator Authentication" screen, then click the [OK] button.
3. Enter a password in the "Change Administrator Password" screen/"Change Project Password" screen, then click the
[OK] button.
Considerations
Changing a security version and project password
If a security version and project password are changed, a project will be in the unconverted state.
15 PROTECTING DATA
698 15.7 Preventing Illegal Access to/Falsification of Data (Security Version)
15.8 Restricting Access from Other Than Specific
Communication Route (Remote Password)
To restrict the access from other than specific communication route, use the Remote password function.
15 PROTECTING DATA
15.8 Restricting Access from Other Than Specific Communication Route (Remote Password) 699
Setting remote password
The remote password can be set for up to 8 modules. (Up to 8 CPU modules for a multiple CPU configuration)
Window
Select "Parameter" "Remote Password" in the navigation window.
Operating procedure
1. Click the [Password] button.
2. Set each item in the "Register Password" screen and click the [OK] button.
Item Description
Product Name Select the module of which remote connection is to be enabled.
For CPU modules integrated network module (such as RnENCPU), select the following to use the CPU part and the network part as a
separate module.
• CPU part: CPU Module (Built-in Ethernet Function)
• Network part: CC-Link IE Built-in Ethernet I/F Module
Start I/O No.*1 Enter the start I/O number*1. (The specification using module labels is applicable.)
Module conditions Set the remote password to enable/disable for the user connection number or system connection.
15 PROTECTING DATA
700 15.8 Restricting Access from Other Than Specific Communication Route (Remote Password)
16 MODULE DIAGNOSTICS
This function displays the status of modules, networks, and entire system. At the time of error, it displays the error contents
and the corrective action.
The diagnostics functions of GX Works3 are as follows:
Function Reference
System monitor Page 702 Module Status Check of a System
Sensor/device monitor Page 705 Sensor/Device Status Check
Recording monitor Page 707 Recording Status Check
Module diagnostics Page 708 Module Diagnostics
Network diagnostics Page 714 Ethernet diagnostics
Page 715 CC-Link IE Controller Network diagnostics
Page 717 CC-Link IE TSN/CC-Link IE Field Network diagnostics
Page 719 CC-Link IE Field Network Basic diagnostics
Page 720 MELSECNET diagnostics
Page 721 CC-Link diagnostics
Page 722 Simple CPU communication diagnostics
16
16 MODULE DIAGNOSTICS
701
16.1 Module Status Check of a System
The system monitor function displays the module configuration of the system in operation and detailed information of each
module.
In addition, the error status can be checked and the module in which the error occurred can be diagnosed.
Window
Select [Diagnostics] [System Monitor].
Ex.
RCPU
Base Module
configuration configuration
Display setting
Click the [Display Setting] button for the following operations:
• Displaying the network information and IP address of port 2 of a module having two ports
• Switching the display format of an error code
16 MODULE DIAGNOSTICS
702 16.1 Module Status Check of a System
When '?' appears on the image of a module
'?' appears on the image of a module when the connected module is in the following statuses.
• A connected module is broken.
• The mounting status differs from the I/O assignment setting of the system parameter.
• The control CPU is not mounted.
• A profile is not registered.
For the following modules, '?' may appear on their images depending on their operating statuses:
• MELSEC-Q series module used in a MELSEC iQ-R series system
• MELSEC-L series module used in a MELSEC iQ-L series system
(1)
(2)
(3)
(4)
*1 Displayed only when a redundant extension base unit and main base unit are connected with extension cables.
When a redundant extension base unit is used, the connection routes of extension cables connected to the
base unit and their status can be displayed in the "Product Information List" screen by clicking the [Product
Information List] button.
Precautions
• If the number of extension base units is set incorrectly, the base unit configuration will not be displayed in the order of the
connection.
• For a CPU module in a redundant system configuration, the connected destination is switched at the time of selecting a
base unit, which is used for the other system, regardless of the contents in the connection destination setting. Therefore, if
the other system is selected in the system monitor, functions that are not supported by the other system cannot start.
• If a redundant extension base unit is not connected to a main base unit when the power of a CPU module is turned ON, the
base unit will not be displayed.
• If communication with a redundant extension base unit cannot be established when the power of a CPU module is turned
ON, the base unit will be displayed as unmounted module. In addition, (Unit/Base Access Error) will be displayed for an
unmounted module only when a personal computer is connected to a CPU module in the control system.
16 MODULE DIAGNOSTICS
16.1 Module Status Check of a System 703
Automatic diagnostics function
This function starts up the system monitor function automatically when connecting CPU module and a personal computer by
USB connection.
Set whether to start up automatically on the task tray.
FX5UCPUs and FX5UCCPUs do not support this function.
Check of the specification method for a network No., station No., and IP address
Whether the IP address change function is used for a network number, station number, and IP address can be checked on the
tooltip.
The tooltip appears by placing the mouse cursor on each item in the "Network Information" and "IP Address" columns.
For details on the IP address change function, refer to the following:
MELSEC iQ-R Ethernet User's Manual (Application)
16 MODULE DIAGNOSTICS
704 16.1 Module Status Check of a System
16.2 Sensor/Device Status Check
The status and the current value of a sensor/device connected to a network can be displayed.
Supported network: Ethernet (CPU module), AnyWireASLINK, CC-Link IE Field Network, CC-Link
Window
1. Select [Diagnostics] [Sensor/Device Monitor].
2. Select a master module or master station in the "Module Selection (Sensor/Device Monitor)" screen, and click the [OK]
button.
The following image is a screen example displayed when selecting a master station in CC-Link IE Field Network.
(1)
(2)
16
(3)
Operating procedure
Select a target device supporting iQSS to be monitored in the list of stations (1) or the device map area (2) of the sensor/
device monitor screen.
The status of a selected device supporting iQSS is displayed in the "Monitoring Information" window (3).
• Check the error status of a device supporting iQSS by using the network diagnostics function.
• The sensor/device monitor function reads a large volume of information from a CPU module at once.
Therefore, the processing speed of the sensor/device monitor function may decrease depending on the set
communication route.
Precautions
When a MELSEC-Q/L series network module is included in a communication route, the sensor/device monitor function cannot
be started for the following modules:
• Built-in Ethernet CPU
• CC-Link IE Field Network module
16 MODULE DIAGNOSTICS
16.2 Sensor/Device Status Check 705
Checking the status of a sensor/device connected to a bridge module
To check the status of a sensor/device connected to a CC-Link IE TSN-AnyWireASLINK bridge module, the sensor/device
monitor screen can be displayed by the following procedure:
FX5CPUs do not support this screen.
Operating procedure
1. Select [Diagnostics] [CC-Link IE TSN/CC-Link IE Field Diagnostics].
2. Select a CC-Link IE TSN-AnyWireASLINK bridge module in the "CC-Link IE TSN/CC-Link IE Field Diagnostics" screen.
3. Right-click it, and select [AnyWireASLINK Sensor/Device Monitor] from the shortcut menu.
For details, refer to the following:
iQ Sensor Solution Reference Manual
16 MODULE DIAGNOSTICS
706 16.2 Sensor/Device Status Check
16.3 Recording Status Check
The operating status of the recording function can be displayed.
In addition, data can be collected and saved as a recording file by using the recording function.
For details, refer to the following:
MELSEC iQ-R System Recorder User's Manual (Application)
RnCPUs (R04CPU, R08CPU, R16CPU, R32CPU, and R120CPU), RnENCPUs, and RnSFCPUs support this monitoring.
Window
Select [Diagnostics] [Recording Monitor].
16
16 MODULE DIAGNOSTICS
16.3 Recording Status Check 707
16.4 Module Diagnostics
This section explains the method for displaying the module status and the error information.
When using an FX5CPU, the FX5CPU and the following modules can be diagnosed.
• FX5-20PG-P, FX5-20PG-D, FX5-ENET, FX5-ENET/IP, FX5-CCLGN-MS, FX5-SF-MU4T5, FX5-SSC-G(S), FX5-OPC
When using an LHCPU, the following modules cannot be diagnosed.
• L6EXB, L6EXE, L6EC, L6EC-ET
Window
CPU module and remote head module diagnostics
Select [Diagnostics] [Module Diagnostics (CPU Diagnostics)].
In both a CPU module and a remote head module in a redundant system configuration, a module specified as the current
connection destination is diagnosed. When diagnosing the other system, change the connection destination or specify the
module to diagnose on the system monitor.
Precautions
Monitoring stops if a program in the project is converted. When the conversion completed, the monitoring resumes.
16 MODULE DIAGNOSTICS
708 16.4 Module Diagnostics
Error information
Information of errors registered in a diagnostics target module is displayed in the [Error Information] tab.
Window
(4)
(1) (5)
(6)
(3)
(2)
16
Displayed items
Item Description
(1) Error list Current error information is displayed in a list.
Displayed error information differs depending on the module.
• CPU module: Information of up to 16 current errors are displayed in the order of occurrence. The one of the 17th
and succeeding errors are not displayed.*1
• Other than CPU module: Information of up to 16 most recent current errors are displayed.
(2) Detailed information Detailed information of an error selected in the error list is displayed.
Displayed contents are switched according to the item selected in the "Switch Display."
(3) Switch Error Details Select this to display the detailed information, cause, and corrective action on the error in the detailed information
Display*2 field. (Page 710 Error detailed information)
FB Hierarchy Select this to display the FB hierarchy information of the function block with the error in the detailed information
Information field. (Page 711 FB hierarchy information)
(4) [Error Jump] button Click this to jump to the following locations (Page 713 Error jump):
• Location in which the error selected in the error list or the detailed information field (Error Details) has occurred
• Jump destination of the row selected in the detailed information field (FB Hierarchy Information)
(5) [Event History] button Click this to display the error information and operation history of the module, and the system information history.
(Page 723 Error History/Operation History Check)
(6) [Error Clear] button Click this to clear all the current errors in a batch.
In addition, the error information is deleted from the error list.*3
If all the errors are cleared, an LED indicating the error status, which is on the front of the module, turns OFF.
*1 For a MELSEC-Q/L series module, '-' is displayed in "Occurrence Date," "Status," and "Detailed Information."
*2 Displayed only when diagnosing an RnCPU, an RnENCPU, or an RnPCPU.
*3 For a MELSEC-L series module, error information cannot be deleted.
Precautions
• The occurrence date depends on the time zone selected in "Clock Related Setting" of "Operation Related Setting" of "CPU
parameter." Therefore, the time shown in the screen may be different from the one on the personal computer in use.
• If a same error with error code has occurred which has already been displayed, then display content will not be updated.
16 MODULE DIAGNOSTICS
16.4 Module Diagnostics 709
Error detailed information
When "Error Details" is selected for "Switch Display," the detailed information, the cause, and the corrective action on the
error are displayed in the detailed information field.
By clicking the [Error Jump] button after selecting any of the items, the cursor jumps to the location in which the error has
occurred.
Ex.
An display example of the detailed information field for the following error is as shown below:
• Error Code: H3401
• Overview: Operation Error
Displayed items
Item Description
Detailed Information Error location information*1 Information on the location in a program, such as a step No., is displayed.
Cause The error cause is displayed.
Corrective Action The corrective action for the error code is displayed.
16 MODULE DIAGNOSTICS
710 16.4 Module Diagnostics
FB hierarchy information
FB hierarchy information expresses the order of the data calling function blocks by hierarchies in a program in which a
function block is called from another function block.
FB hierarchy information of the function block with an error is displayed in the detailed information field by selecting "FB
Hierarchy Information" for "Switch Display."
By selecting a row and clicking the [Error Jump] button or double-clicking the row, the cursor can jump to the jump destination
of the selected row.
By selecting this item, the calling sources of a function block with an error can be displayed in a list. Therefore, the cursor can
jump to the sources, which makes it easier to specify the error cause.
FX5CPUs do not support this information.
The following figures show an display example of FB hierarchy information.
Ex.
When 'FbPou2' is called from 'ProgPou,' 'FbPou3' from 'FbPou2,' and any of the following function blocks from 'FbPou3':
• Function block: FbPou4
Displayed items
Item Description
Jump Destination First row The step No. of the location in which an error has occurred is displayed.
If the error has occurred in a standard function block, its FB instance name is displayed.
Second and later The FB instance name of either of the following function blocks is displayed.
rows • Function block in which a ladder of the step No. in the first row exists
• Function block calling the function block displayed in the one row above
Program/FB Hierarchy The FB hierarchy information of the function block with an error is displayed.
FB hierarchy information is displayed separately for each jump destination.
16 MODULE DIAGNOSTICS
16.4 Module Diagnostics 711
Precautions
• Whether or not FB hierarchy information can be displayed depends on the firmware of a CPU module. For information on
the firmware versions with which the FB hierarchy information can be displayed, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
• When diagnosing a module other than the host CPU module in a multiple CPU system, FB hierarchy information cannot be
displayed. ("FB Hierarchy Information" cannot be select for "Switch Display.")
• When clearing an error by either of the following operations, its FB hierarchy information display is also cleared:
Clicking the [Error Clear] button in the module diagnostics screen
Turning SM50 (error reset) ON
• FB hierarchy information can be displayed only when an error has occurred in the following data:
Function
Standard function block
Subroutine type function block
Macro type function block called from a subroutine type function block
• When an error has occurred in the function block called from an interrupt program or a subroutine program, the FB
hierarchy information from the program to the function block with the error is displayed.
• In the following cases, FB hierarchy information may not be displayed or the cursor may not jump to the location from which
a function block is called:
Contents of a project opened in GX Works3 are different from the ones written in a CPU module.
The block password or security key for a program written in a CPU module is not authenticated.
An error has occurred in the instruction using a bit device which automatically turns ON at the processing completion as an
argument, or in the one used by a system interrupt (PLSY instruction or PWM instruction, for example).
An error has occurred in the function called from an interrupt program or a subroutine program.
• FB hierarchy information can be displayed only in the module diagnostics screen of GX Works3.
Even when diagnosing a CPU module with the web server function (CPU diagnostic), the FB hierarchy information is not
displayed in the system web page.
16 MODULE DIAGNOSTICS
712 16.4 Module Diagnostics
Error jump
The cursor jumps to the following locations by clicking the [Error Jump] button.
• Location in which the error selected in the error list or the detailed information field (Error Details) has occurred
• Jump destination of the row selected in the detailed information field (FB Hierarchy Information)
The cursor can jump to programs, function blocks, and parameters only.
However, it cannot jump to some parameters. The parameters to which it can jump differ depending on the module.
For an inline structured text program in a ladder editor, the cursor will jump to the head line of the inline structured text
program regardless of the line that error occurs.
Precautions
Jump destination
In the following conditions, an error may not be found at the jump destination.
• When the open project does not match with the data on the CPU module.
• When diagnosing programmable controller other than the one set as a connection destination in the project.
When the cursor jumps to the output argument (2) connected to the macro type function block (1), an error may actually exist
not in the output argument (2) but in the macro type function block (1).
(2)
(1)
16 MODULE DIAGNOSTICS
16.4 Module Diagnostics 713
16.5 Network Diagnostics
This section explains the method to diagnose various networks.
Ethernet diagnostics
Check the status of each connection, status of each protocol, and connection status.
For details, refer to the following:
MELSEC iQ-R Ethernet User's Manual (Application)
MELSEC iQ-F FX5 User's Manual (Ethernet Communication)
MELSEC iQ-F FX5-ENET User's Manual
Window
Select [Diagnostics] [Ethernet Diagnostics].
Precautions
When an Ethernet interface module (LJ71E71-100) is used in a system of an LHCPU, do not perform a diagnosis in GX
Works3 Version 1.090U or earlier. Otherwise, GX Works3 may not operate properly.
16 MODULE DIAGNOSTICS
714 16.5 Network Diagnostics
CC-Link IE Controller Network diagnostics
A network status can be monitored, diagnosed, and tested.
For details, refer to the following:
MELSEC iQ-R CC-Link IE Controller Network User's Manual (Application)
LHCPUs, FX5CPUs, and remote head modules do not support this function.
Window
Optical cable
Select [Diagnostics] [CC-Link IE Control Diagnostics (Optical Cable)].
16
16 MODULE DIAGNOSTICS
16.5 Network Diagnostics 715
Twisted pair cable
Select [Diagnostics] [CC-Link IE Control Diagnostics (Twisted Pair Cable)].
16 MODULE DIAGNOSTICS
716 16.5 Network Diagnostics
CC-Link IE TSN/CC-Link IE Field Network diagnostics
A network status can be monitored, diagnosed, and tested.
For details, refer to the following:
MELSEC iQ-R CC-Link IE Field Network User's Manual (Application)
MELSEC iQ-F FX5 User's Manual (CC-Link IE)
MELSEC iQ-R CC-Link IE TSN User's Manual (Application)
MELSEC iQ-R CC-Link IE TSN Plus Master/Local Module User's Manual
MELSEC iQ-F FX5 User's Manual (CC-Link IE TSN)
MELSEC iQ-R Motion Module User's Manual (Network)
MELSEC iQ-F FX5 Motion Module User's Manual (CC-Link IE TSN)
CC-Link IE TSN―CC-Link IE Field Network Bridge Module User's Manual
Window
Select [Diagnostics] [CC-Link IE TSN/CC-Link IE Field Diagnostics].
Ex.
CC-Link IE Field Network
16
16 MODULE DIAGNOSTICS
16.5 Network Diagnostics 717
Displaying an error history
An error history in a device station can be checked by the following operation.
• CC-Link IE TSN diagnostics: Select and right-click a module, then select [Error/Event History] from the shortcut menu.
• CC-Link IE Field diagnostics: Select and right-click a module, then select [Error History] from the shortcut menu.
This function is available only when a remote device station or intelligent device station which can read an error history is
selected.
Considerations
When a CC-Link IE Field Network master/local module (LJ71GF11-T2) is used in a system of an LHCPU, do not perform a
diagnosis in GX Works3 Version 1.090U or earlier. Otherwise, GX Works3 may not operate properly.
16 MODULE DIAGNOSTICS
718 16.5 Network Diagnostics
CC-Link IE Field Network Basic diagnostics
Monitoring and diagnosing of network status can be performed.
For details, refer to the following:
CC-Link IE Field Network Basic Reference Manual
RnCPUs, RnENCPUs, LHCPUs, FX5CPUs, and FX5-ENET support this function.
Window
Select [Diagnostics] [CC-Link IEF Basic Diagnostics].
16
16 MODULE DIAGNOSTICS
16.5 Network Diagnostics 719
MELSECNET diagnostics
A network status of each station can be monitored, diagnosed, and tested.
Considerations for using MELSECNET/H network module when performing the MELSECNET diagnostics, refer to the
following manual.
MELSEC iQ-R Module Configuration Manual
For the operation methods, refer to the following:
MELSEC iQ-R MELSECNET/H Network Module User's Manual (Application)
RnPSFCPUs, LHCPUs, FX5CPUs, and remote head modules do not support this function.
Window
Select [Diagnostics] [MELSECNET Diagnostics].
16 MODULE DIAGNOSTICS
720 16.5 Network Diagnostics
CC-Link diagnostics
A network status of each station can be monitored, diagnosed, and tested.
For details, refer to the following:
MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Application)
MELSEC iQ-F FX5 User's Manual (CC-Link)
Window
Select [Diagnostics] [CC-Link Diagnostics].
16
16 MODULE DIAGNOSTICS
16.5 Network Diagnostics 721
Simple CPU communication diagnostics
A network status can be diagnosed.
For details, refer to the following:
MELSEC iQ-R Ethernet User's Manual (Application)
MELSEC iQ-F FX5 User's Manual (Ethernet Communication)
Window
Select [Diagnostics] [Simple CPU Communication Diagnostics].
16 MODULE DIAGNOSTICS
722 16.5 Network Diagnostics
16.6 Error History/Operation History Check
The module's error information, history of operation, and system information can be displayed using the event history function.
The detailed information of the error history can be displayed when a CPU module and an intelligent function module supports
the module error history collection function.
For the versions of modules that support this function, refer to the user's manual of each module.
Window
Select [Diagnostics] [Module Diagnostics (CPU Diagnostics)] or [System Monitor], and click the [Event History] button.
16
Operating procedure
Event history refinement
1. Select either "Match All the Conditions" or "Match Any One of the Conditions."
Ex.
Display an event of the major error that occurred between 9:00 am and 12:00 pm in April 4th
16 MODULE DIAGNOSTICS
16.6 Error History/Operation History Check 723
Jump to a location in which an error occurred
Click the [Jump] button.
Target items are a program, function block, and each parameter.
Precautions
• The occurrence date on the event history depends the time zone selected in "Clock Related Setting" of "Operation Related
Setting" of "CPU parameter." Therefore, the time shown in the screen may be different from the one on the personal
computer in use.
• The event, success to lock/unlock the remote password, is registered more than once when performing any of the following
operations for a CPU module for which a remote password has been set; writing/reading data to/from a programmable
controller or diagnosing the CPU module.
• If the entire information is not displayed in "Detailed Information," check it in the tooltip.
The tooltip can be displayed by mouse-overing each item in "Detailed Information."
• When changing a current value of a label, an event recorded in a module differs depending on the product (GX Works3 or
external device) used for changing the value.
The following table shows an event recorded in a module and contents displayed in the "Event History" screen for each
product used:
Product used for changing a Recorded event Content displayed in the "Event History" screen
current value
GX Works3 Version 1.065T or later Modify value event for a label Program name
Label name
Device/label memory assigned to a label
GX Works3 Version 1.063R or earlier Modify value event for a device Program name
External device Device/label memory assigned to a label
16 MODULE DIAGNOSTICS
724 16.6 Error History/Operation History Check
17 COLLECTING/REPRODUCING DATA 17
This chapter shows the methods for collecting and reproducing data by using the memory dump function, data logging
function, and recording function.
The functions to collect and reproduce data are shown in the following table.
Function name Overview Reference
Memory dump To save device values in a CPU module to a personal Page 726 Memory Dump Function
computer at any timing. MELSEC iQ-R CPU Module User's Manual (Application)
MELSEC iQ-F FX5 User's Manual (Application)
Data logging To collect data in a CPU module at a specified interval or Page 730 Data Logging Function
any timing. MELSEC iQ-R CPU Module User's Manual (Application)
MELSEC iQ-F FX5 User's Manual (Application)
Recording To collect data specified as a recording target from a Page 732 Recording Function
control CPU module and save the data by using a MELSEC iQ-R System Recorder User's Manual (Application)
recorder module or camera recorder module. MELSEC iQ-R System Recorder Co-recording Function Reference
Manual
Offline monitor To check data collected from a programmable controller Page 736 Checking Collected Data on Program Editor
in the monitor screen of GX Works3. GX LogViewer Version 1 Operating Manual
Moreover, to check the data by displaying it in a
waveform in GX LogViewer.
17 COLLECTING/REPRODUCING DATA
725
17.1 Memory Dump Function
Device values of a CPU module can be checked at any timing with the memory dump function of a CPU module.
By setting the trigger conditions, the data at a time when the conditions have been satisfied are collected and saved to the SD
memory card. The saved device values can be checked with GX Works3.
For details on the memory dump function of CPU modules, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
MELSEC iQ-F FX5 User's Manual (Application)
R00CPU and remote head modules do not support this function.
4. Check the read memory dump result file. (Page 729 Displaying memory dump results)
Setting the internal buffer capacity for the memory dump function
FX5CPU
Whether to use the memory dump function can be set in "Function to Use Internal Buffer" of "Memory/Device Setting" of "CPU
Parameter."
When using the memory dump function, the internal buffer capacity cannot be changed.
After the setting, write the CPU parameters to a CPU module.
Precautions
The data logging function and the memory dump function cannot be used at the same time.
17 COLLECTING/REPRODUCING DATA
726 17.1 Memory Dump Function
Writing memory dump settings
Once the memory dump setting file is written, the memory dump function is started and waits for a trigger. 17
If the memory dump setting file has already been stored, the memory dump function is started by powering ON the CPU
module.
Window
Select [Debug] [Memory Dump] [Setting].
The following screen is an example when opening a project for an RCPU.
Operating procedure
Set each item and click the [Write] button.
Item Description
Saved File Set a name of a file to be output when the memory dump function is performed.
A number, '00' to '99' is added to the end of the set name for the file name to be output actually.
Trigger Conditions Specify the trigger conditions to collect memory dump.
Trigger condition that can be set (RCPU and LHCPU)
• Device: Specify this to set the timing when the bit data of a specified device turns from OFF to ON as the trigger condition.
• Error Code: Specify this to set an error code of CPU module as the trigger condition.
• Device/Error Code: Specify this to set a device/error code as the trigger condition. The memory dump function is performed when
any of the conditions is satisfied.
Trigger condition that can be set (FX5CPU)
• Device: Specify this to set the timing when the bit data of a specified device turns from OFF to ON as the trigger condition.
• On Error: Specify this to set the timing when an error occurs on a CPU module as the trigger condition.
• Device/On Error: Specify this to set the timing either when the bit data of a specified device turns from OFF to ON or when an
error occurs on a CPU module as the trigger condition. The memory dump function is performed when any of the conditions is
satisfied.
Device Specify a device to be set as the trigger condition. Only global devices can be specified.
Device representation that can be specified (RCPU and LHCPU)
• Bit device: X, Y, M, L, F, SM, V, B, SB, T (enter 'TS'), ST (enter 'SS/STS'), C (enter 'CS'), LT (enter 'LTS'), LST (enter 'LSS/LSTS'),
LC (enter 'LCS'), FX, and FY
• Word device (bit specification): D, SD, W, SW, R, ZR, FD, RD
Device representation that can be specified (FX5CPU)
• Bit device: X, Y, M, L, F, SM, B, SB, T (enter 'TS'), ST (enter 'STS'), C (enter 'CS'), LC (enter 'LCS')
• Word device (bit specification): Not applicable
Error Code*1 Specify a 4-digit error code to be set as the trigger condition in hexadecimal.
The wild card, "*" can be specified for the 1st digit of an error code only.
17 COLLECTING/REPRODUCING DATA
17.1 Memory Dump Function 727
The number for annunciator cannot be specified as the error code to be set as the trigger condition. Use the
device name in order to specify the number of annunciator.
Window
Select [Debug] [Memory Dump] [Read Results].
The current execution status of the memory dump function can be checked by selecting [Display Status].
Operating procedure
1. After clicking , specify the memory dump result file to be read.
17 COLLECTING/REPRODUCING DATA
728 17.1 Memory Dump Function
Displaying memory dump results
A memory dump result file saved in a personal computer can be displayed. 17
Window
Select [Debug] [Memory Dump] [Display Result].
The following screen is an example when opening a project for an RCPU.
Operating procedure
Enter the path for the memory dump result file to be displayed in "Memory Dump File Name."
• To specify a local device for "Device Name," select the program file to be referred in "Program File."
• To specify 'R' or 'ZR' for "Device Name," select the file register to be referred in "File Register File Name." When 'R' is
specified, the device for the first block is displayed.
• To specify 'Z' or 'LZ' for "Device Name," select the program file to be referred in "Program File."
Precautions
For FX5CPUs, both "Program File" and "File Register File Name" are not available.
Operating procedure
1. Select [Online] [User Data] [Delete].
3. Select and right-click the folder in which a memory dump result file is saved (example: MEMDUMP), then select [Delete
Folder] from the shortcut menu.
17 COLLECTING/REPRODUCING DATA
17.1 Memory Dump Function 729
17.2 Data Logging Function
Data can be collected at a specified timing with the data logging function of a MELSEC-iQ-R series, MELSEC iQ-L series, or
MELSEC iQ-F series CPU module.
For details on the data logging function, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
MELSEC iQ-F FX5 User's Manual (Application)
For R00CPU, the data logging function is not available.
17 COLLECTING/REPRODUCING DATA
730 17.2 Data Logging Function
Setting internal buffer capacity for the data logging function
17
RCPU and LHCPU
The internal buffer capacity for the data logging function can be set in "Internal Buffer Capacity Setting" of "Memory/Device
Setting" of "CPU parameter." After the setting, write the CPU parameters to a CPU module.
However, when using the data logging function, the memory dump function, and the realtime monitor function of a CPU
module at the same time, set the capacity within the range that meets the following conditions.
The total of data logging buffer capacities + memory dump buffer capacity + realtime monitor buffer capacity 3072 KB
Each buffer capacity can be checked with the following:
• Data logging buffer capacity, memory dump buffer capacity: CPU parameter
• Realtime monitor buffer capacity: the realtime monitor setting of GX LogViewer
FX5CPU
Whether to use the data logging function can be set in "Function to Use Internal Buffer" of "Memory/Device Setting" of "CPU
Parameter."
The internal buffer capacity for the data logging function can be set in "Internal Buffer Capacity Setting" of "Memory/Device
Setting" in "CPU parameter."
After the setting, write the CPU parameters to a CPU module.
However, set the capacity in the range that satisfies the following condition.
The total of data logging buffer capacities 320 KB
For FX5SCPUs and FX5UJCPUs, the internal buffer capacity cannot be changed from the default.
Precautions
The data logging function and the memory dump function cannot be used at the same time.
17 COLLECTING/REPRODUCING DATA
17.2 Data Logging Function 731
17.3 Recording Function
Data specified as a recording target can be collected from a control CPU module and saved as a recording file in the
destination specified in a recording setting by using the recording function of a recorder module and camera recorder module.
For details on the recording function, refer to the following:
MELSEC iQ-R System Recorder User's Manual (Application)
MELSEC iQ-R System Recorder Co-recording Function Reference Manual
The recording function is available in projects for RnCPUs (R04CPU, R08CPU, R16CPU, R32CPU, and R120CPU),
RnENCPUs, and RnSFCPUs.
2. Open "Recording Setting" screen, and configure settings of the recording function. (Page 732 Settings of the
recording function)
3. Write the project to a CPU module. (Page 577 WRITING/READING DATA TO CPU MODULE)
4. Read a recording file and check the recording results with the offline monitor function. (Page 734 Reading/deleting a
recording file, Page 740 Checking a recording file)
Operating procedure
Creating a new setting
1. Select "Parameter" "Module Information" in the navigation window.
3. Select "Information Module" from the pull-down list of "Module Type" in the "Add New Module" screen, then select a
recorder module or camera recorder module from the pull-down list of "Module Name."
A new recording setting can also be created by the following operation after adding a recorder module or
camera recorder module to a project:
• Select "Parameter" "Recording Setting" in the navigation window, then right-click it and select [New] from
the shortcut menu.
17 COLLECTING/REPRODUCING DATA
732 17.3 Recording Function
Editing a setting
1. Select [Recording] [Recording Setting] [Edit].
2. Select a recording setting from the pull-down list of "Select Recording Setting" in the "Edit" screen.
17
3. Set each item and click the [OK] button.
Operating procedure
1. Select "Parameter" "Recording Setting" "(recording setting)" in the navigation window.
17 COLLECTING/REPRODUCING DATA
17.3 Recording Function 733
Reading/deleting a recording file
To check recording results in GX Works3, a recording file is required to be read from an SD memory card inserted in a
recorder module or camera recorder module.
A recording file can be read or deleted in the "Recording File Reading" screen.
Before opening the "Recording File Reading" screen, connect a personal computer to a CPU module and a recorder module
or camera recorder module.
This operation is not required when a recording file is saved in a file server.
(1) (2)
(3)
(4)
Operating procedure
1. Select [Recording] [Read Recording File].
3. Read a recording file to a personal computer in the "Recording File Reading" screen.
(1) (4)
(2)
(3) (5)
(6)
Displayed items
Item Description
(1) Display Target Select the checkbox of a recording setting to be displayed in "reading target."
(2) Reading target A recording file which is saved in a recording setting selected in "Display Target" is displayed.
(3) [Select All]/[Deselect All] buttons • [Select All] button: Click this to select the checkboxes of all recording files in "reading target."
• [Deselect All] button: Click this to unselect the checkboxes of all recording files in "reading target."
(4) [Refresh] button Click this to acquire a list of recording files from a connected module. (Up to 1000 files)
(5) [Size Calculation] button Click this to display the size of a recording file.*1
17 COLLECTING/REPRODUCING DATA
734 17.3 Recording Function
Item Description
(6) Read Project Data Select the checkbox to read project data used for recording at the same time as a recording file.*2
*1
Unselect the checkbox not to read project data.
The project data size is not included in the displayed size regardless of the selection status of "Read Project Data."
17
*2 Project data is read as a GX Works3 project (*.gx3).
2. Select the checkbox of a recording file to be read, and click the [Read to Personal Computer] button.
A video file generated by using a camera recorder module is included in a read recording file.
Precautions
User authentication is required for reading project data from an RnSFCPU. (Page 690 Logging on to CPU module)
Operating procedure
Select the checkbox of a recording file, and click the [Delete] button.
17 COLLECTING/REPRODUCING DATA
17.3 Recording Function 735
17.4 Checking Collected Data on Program Editor
Data collected from a programmable controller can be displayed in GX Works3 by using the offline monitor function.
It is possible to check control data of when a trouble occurred in the monitor screen even from a remote location and
investigate the cause.
For the method for collecting data, refer to the following:
Page 726 Memory Dump Function
Page 730 Data Logging Function
Page 732 Recording Function
R00CPU, RnPSFCPUs, and remote head modules do not support the offline monitor function.
Operating procedure
1. Open a program editor to be monitored.
2. Click the [Add] button on the "Offline Monitor (Memory Dump)" screen.
3. Select the memory dump result file in the "Open File" screen, then click the [Open] button. (Multiple selections allowed.)
17 COLLECTING/REPRODUCING DATA
736 17.4 Checking Collected Data on Program Editor
Starting offline monitoring
Operating procedure 17
1. Select a file to monitor from the list on the "Offline Monitor (Memory Dump)" screen, then select [Start Monitoring].
17 COLLECTING/REPRODUCING DATA
17.4 Checking Collected Data on Program Editor 737
Checking logging data
Data values collected with the data logging function can be monitored in GX Works3.
This function only supports a logging file (*.bin) acquired from a CPU module.
The screens where this function is available are only as follows:
• Program editors (ladder (including a Zoom), ST, and FBD/LD)
• Device/buffer memory batch monitor
• Watch window
Applicable devices
For devices that can be monitored offline, refer to the following:
Page 740 Applicable devices
Multiple error messages may appear if starting offline monitoring while either of the following windows is
displayed:
• Device/buffer memory batch monitor
• Intelligent function module monitor
• Program list monitor
• Interrupt program list monitor
However, the shown errors do not affect offline monitoring.
Click the [OK] button to close the error messages.
17 COLLECTING/REPRODUCING DATA
738 17.4 Checking Collected Data on Program Editor
Considerations
Data type and output type of a logging file 17
When setting the data logging function, match the type between a data type and output type.
If the data type and output type of a logging file (*.bin) to be monitored do not match, data may not be monitored properly.
For the setting method of the data logging function, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
Duplicate devices
When multiple same devices exist in a logging file (*.bin), the value of the device which has the earliest "No." in the "Data"
setting screen of CPU Module Logging Configuration Tool is displayed in the monitor screen of GX Works3.
17 COLLECTING/REPRODUCING DATA
17.4 Checking Collected Data on Program Editor 739
Checking a recording file
Data values collected with the recording function can be monitored in GX Works3.
RnCPUs (R04CPU, R08CPU, R16CPU, R32CPU, and R120CPU), RnENCPUs, and RnSFCPUs support this monitoring.
The screens where this function is available are only as follows:
• Program editor
• Device/buffer memory batch monitor
• Watch window
• SFC block list monitor*1
• SFC all blocks batch monitor*1
*1 RnCPUs (R04CPU, R08CPU, R16CPU, R32CPU, and R120CPU), RnENCPUs support it.
Applicable devices
The following shows devices that can be monitored offline.
Device
X, Y, M, L, B, F, SB, V, T, ST, LT, LST, C, LC, D, W, SW, SM, SD, J\X, J\Y, J\B, J\SB, J\W, J\SW, U\G, U3E\G, U3E\HG, Z, LZ, R, ZR, RD, BL*1,
BL\S, #M, #V, #T, #ST, #LT, #LST, #C, #LC, #D, SA\X, SA\Y, SA\M, SA\B, SA\T, SA\ST, SA\C, SA\D, SA\W, SA\SM, SA\SD
Precautions
Index-modified devices and indirectly specified devices cannot be monitored.
Multiple error messages may appear if starting offline monitoring while either of the following windows is
displayed:
• Device/buffer memory batch monitor
• Intelligent function module monitor
• Program list monitor
• Interrupt program list monitor
However, the shown errors do not affect offline monitoring.
Click the [OK] button to close the error messages.
17 COLLECTING/REPRODUCING DATA
740 17.4 Checking Collected Data on Program Editor
Precautions
• Using project data that is read at the same time as a recording file is recommended. 17
For the method to read project data and a recording file at the same time, refer to the following:
Page 734 Reading/deleting a recording file
• When monitoring a recording file including more than 5,232,645 records, the 5,232,646th and older records are not
displayed.
• A project saved in a recording file cannot be opened in GX Works3 started from MELSOFT Navigator. Start offline
monitoring with a project currently opened in GX Works3.
To use a project saved in a recording file, do not start offline monitoring in GX Works3 started from MELSOFT Navigator but
in the standalone GX Works3.
• When a recording file is saved in a file server by the following recorder module or camera recorder module, open the
project used when the recording setting was written to a CPU module, then start offline monitoring.
Recorder module with the firmware version '03' or '04'
Camera recorder module with the firmware version '01'
Considerations
The following shows the considerations for checking a recording file.
For considerations common to logging data, refer to the following:
Page 739 Considerations
Indefinite value
When monitoring an unrecorded device/label, an indefinite value may be displayed.
Whether a recorded device/label is actually being monitored can be checked in the "Recording Setting" screen.
For details on the "Recording Setting" screen, refer to the following:
MELSEC iQ-R System Recorder User's Manual (Application)
17 COLLECTING/REPRODUCING DATA
17.4 Checking Collected Data on Program Editor 741
Monitoring a recording file in an SFC diagram editor
The following shortcut menus are not available:
• Wave Display (Offline Monitor)
• Find Changed Point
The following monitors are not available:
• SFC auto-scroll
• SFC-activated step monitor
For considerations during monitoring, refer to the following:
Page 626 Monitoring an SFC diagram
17 COLLECTING/REPRODUCING DATA
742 17.4 Checking Collected Data on Program Editor
Operating the seek bar
The "Seek Bar" window appears when starting offline monitoring. 17
The seek bar is a function which specifies the index (sequential serial number recorded in a recording file in each scan) of
data to be monitored.
An index specified with the seek bar or a monitor value at the index can be displayed in a monitor screen, "Event History
(Offline Monitor)" window, and GX LogViewer which are linking with the seek bar.
Screen configuration
Window
Select [Recording] [Start Offline Monitor] [Recording File]/[Logging File].
(1) (2)
(3)
Displayed items
Item Description
(1) Monitor screen of a program editor Check data collected from a programmable controller.
(2) "Event History (Offline Monitor)" window Check event information stored in a recording file being monitored.
For details, refer to the following:
Page 749 Checking an event history (offline monitor)
(3) "Seek Bar" window Specify an index by moving the slider on the seek bar.
17 COLLECTING/REPRODUCING DATA
17.4 Checking Collected Data on Program Editor 743
Seek bar
(2) (3) (4)
(1)
(5) (6) (7) (8) (9) (14) (15) (10) (11) (12) (13)
Displayed items
Item Description
(1) Toolbar Read Select this to read a log marker information file (*.lms, *.lmcs, *.vms). (Page 748 To read a
Log Marker specified log marker information file)
Read from GX Select this to read log markers added to a video file. (Page 748 To read log markers in a video
VideoViewer file)
Edit Comment/Color Select this to perform either of the following operations to a log marker:
• Adding a comment (Page 747 Editing a comment/color)
• Changing a color (Page 747 Editing a comment/color)
Previous Trigger Click this to move the slider to the previous trigger position.
Next Trigger Click this to move the slider to the next trigger position.
Add/Delete Log Marker Click this to add or delete a log marker.
(For adding: Page 747 Adding a log marker, for deleting: Page 747 Deleting a log marker)
Delete All Log Markers Click this to delete all log markers on the seek bar.
(2) Current index A current index of data being monitored is displayed.
The "Specify Index to Display" screen appears by clicking this item.
(3) Total number of records The total number of records being monitored is displayed.
(4) File Saving Trigger The following information is displayed:
• Recording setting in which a file saving trigger is set
• Setting number of a file saving trigger setting
The above information is not displayed for a logging file or a recording file that satisfies any of the
following conditions:
• "Recording Startup Trigger + File Saving Trigger" is set for "Recording Method," and a file is
saved after specified time elapses from recording completion.
• A file is saved by a camera event.
• A file is saved by detecting a CPU stop error.
• A file is saved in the recording monitor screen.
(5) Previous Log Marker Click this to move the slider to the previous log marker.
(6) Previous Frame Click this to move the index to the previous frame for the setting value in "Number of Indexes for
Next Frame."
The slider moves according to the index.
(7) Play/Pause Click this to play (forward) or pause a recording file and logging file.
(Pause) is displayed while playing a file.
(Play) is displayed while pausing a file.
(8) Next Frame Click this to move the index to the next frame for the setting value in "Number of Indexes for Next
Frame."
The slider moves according to the index.
(9) Next Log Marker Click this to move the slider to the next log marker.
(10) Seek bar A range where the slider can move is indicated.
(11) Slider A current index of data being monitored is indicated.
This item is displayed in red on the seek bar.
By dragging the slider to the left or right, it can be moved to an index at which the monitor value is
to be checked.
(12) Log marker A position where a log marker is added is indicated.
This item is displayed in a specified color on the seek bar. (Default color: green)
(13) Trigger position marker A position where a trigger occurs is indicated.
This item is displayed in yellow on the seek bar.
17 COLLECTING/REPRODUCING DATA
744 17.4 Checking Collected Data on Program Editor
Item Description
(14) Number of Indexes for Next Frame Set the value to move the index in "Previous Frame"/"Next Frame."
The minimum value/maximum value that can be set are as follows:
• Minimum value: 1 17
• Maximum value: Maximum index value -1
(15) Error This icon is displayed when the setting value in "Number of Indexes for Next Frame" is invalid.
• The slider moves to the left or right by pressing the + / + keys.
• If a logging file (*.bin) does not contain time information, "-" is displayed for the time information in the "Seek
Bar" window.
Operating procedure
1. Click a current index in the "Seek Bar" window.
2. Enter an index in the "Specify Index to Display" screen, and click the [OK] button.
17 COLLECTING/REPRODUCING DATA
17.4 Checking Collected Data on Program Editor 745
Function linking with the seek bar
The move of slider on the seek bar links with each editor, "Event History (Offline Monitor)" window, and GX LogViewer.
17 COLLECTING/REPRODUCING DATA
746 17.4 Checking Collected Data on Program Editor
Adding a log marker
During offline monitoring, a log marker can be added to any index by using the log marker function. Up to 100 log markers can 17
be added to a unit of data (a recording file or logging file).
Editing a comment/color
Window
Select [Log Marker] [Edit Comment/Color] on the toolbar in the "Seek Bar" window.
Displayed items
Item Description
Comment Add a comment for a log marker.
The added comment is displayed by placing the mouse cursor on the log marker.
Color Change the color of a log marker.
Default color when a log marker is added Set the default color of a new log marker.
In adding a log marker, display editing dialog for the additional Select this checkbox to display the "Edit Comment/Color" screen every time adding a log
information. marker.
Operating procedure
1. Add a comment (up to 256 characters) in the "Comment" column for a log marker.
2. Select a color for the log marker from the pull-down list of "Color."
17 COLLECTING/REPRODUCING DATA
17.4 Checking Collected Data on Program Editor 747
Reading a log marker information file
Log markers added to data are saved as a log marker information file in a folder where a recording file or logging file is stored.
The extension of a log marker information file differs depending on the tool used to add log markers.
Extension Tool Version of the tool
*.lms GX Works3 Version 1.065T and 1.066U
GX LogViewer Version 1.106K
*.lmcs GX Works3 Version 1.070Y or later
GX LogViewer Version 1.112R or later
*.vms GX VideoViewer Version 1.006G or later
When selecting data that includes a log marker information file (*.lms, *.lmcs) and starting offline monitoring, log markers are
automatically read and displayed on the seek bar.
Alternatively, log markers can be read by following the procedure below.
Operating procedure
To read a specified log marker information file
1. Click [Log Marker] [Read] on the toolbar in the "Seek Bar" window.
2. Select a log marker information file (*.lms, *.lmcs, *.vms) and click the [Open] button.
Precautions
• Log marker information files (*.lmcs) created in GX Works3 Version 1.070Y or later and GX LogViewer Version 1.112R or
later cannot be opened in GX Works3 Version 1.065T and 1.066U.
• Even if a log marker information file is read, the comments and colors of log markers that are already added will not be
overwritten.
Consideration
The log marker function is not available if a logging file does not contain time information.
17 COLLECTING/REPRODUCING DATA
748 17.4 Checking Collected Data on Program Editor
Checking an event history (offline monitor)
The following event information that is stored in a recording file during monitoring can be checked: error information, operation 17
history, system information, and change history of a current value.
RnCPUs (R04CPU, R08CPU, R16CPU, R32CPU, and R120CPU), RnENCPUs, and RnSFCPUs support this function.
Window
Select [View] [Docking Window] [Event History (Offline Monitor)].
(1)
Operating procedure
1. Start offline monitoring. (Page 740 Starting offline monitoring)
2. Place the cursor on any event information in the "Event History (Offline Monitor)" window, and check the event details.
17 COLLECTING/REPRODUCING DATA
17.4 Checking Collected Data on Program Editor 749
Linking with the seek bar
Event information at a specified index can be checked by operating the slider on the seek bar.
In addition, by selecting event information with a pale green background, the slider on the seek bar is moved to the
corresponding index, and a monitor value at the index is displayed in the monitor screen.
Precautions
• If a recording file does not contain an event history, the "Event History (Offline Monitor)" window does not appear even
when offline monitoring is started.
• When linking with the seek bar, the following cases may occur:
An occurrence date of event information and a date displayed in the "Seek Bar" window are different in milliseconds.
Even if selecting event information with a pale green background, the slider on the seek bar is not moved to the
corresponding index.
• If the time setting in a programmable controller is changed while updating an event history or recording, the background
color of event information may not be displayed in pale green.
17 COLLECTING/REPRODUCING DATA
750 17.4 Checking Collected Data on Program Editor
Checking a device/label value
During offline monitoring, devices/labels that match specified conditions can be searched for. In addition, the date and time 17
and indexes when their values changed can be displayed.
Window
Select [View] [Docking Window] [Find Changed Point(Offline Monitor)]/[Changed Point List(Offline Monitor)].
Item Description
Jump to the Current Location Click this to move the slider on the seek bar to the index of a selected changed point.
Jump to the Previous Location Click this to move the slider on the seek bar to the index of the changed point that is one above a selected one.
Jump to the Next Location Click this to move the slider on the seek bar to the index of the changed point one below a selected one.
Clear All Click this to clear the search results.
The "Find Changed Point" window appears also by right-clicking in any of the following editors or in a watch
window and selecting [Find Changed Point] from the shortcut menu:
• Ladder editor
• Inline structured text box in a ladder editor
• FBD/LD editor
• ST editor
When selecting a device/label in an editor or in a watch window, the device/label is automatically entered in
the "Device/Label" column of the "Find Changed Point" window.
Operating procedure
1. Set conditions and the start point of search in the "Find Changed Point" window.
17 COLLECTING/REPRODUCING DATA
17.4 Checking Collected Data on Program Editor 751
Search type
The following table shows the details on the options that can be set for "Find Type" in the "Find Changed Point" window.
Item Description Target data type
Rising Indexes at which a device/label is turned from OFF to ON are searched for. Bit
Falling An index at which a device/label is turned from ON to OFF for the first time is searched Bit
for.
Rising/Falling Indexes at which a device/label is turned from OFF to ON or from ON to OFF are Bit
searched for.
Maximum value An index at which a device/label has the maximum value is searched for. • Word
• Double Word
• FLOAT [Single
Precision]
• FLOAT [Double
Precision]
Minimum value An index at which a device/label has the minimum value is searched for. • Word
• Double Word
• FLOAT [Single
Precision]
• FLOAT [Double
Precision]
Local maximum value Indexes at which a device/label has a local maximum value are searched for. • Word
A local maximum value refers to a value of a device/label at the point where the value that • Double Word
has been increasing starts to decrease. • FLOAT [Single
Precision]
• FLOAT [Double
Precision]
Local minimum value Indexes at which a device/label has a local minimum value are searched for. • Word
A local minimum value refers to a value of a device/label at the point where the value that • Double Word
has been decreasing starts to increase. • FLOAT [Single
Precision]
• FLOAT [Double
Precision]
Conditions Indexes at which a specified condition is satisfied are searched for. • Bit
• Word
• Double Word
• FLOAT [Single
Precision]
• FLOAT [Double
Precision]
17 COLLECTING/REPRODUCING DATA
752 17.4 Checking Collected Data on Program Editor
Item Description Target data type
Compare value between device and Indexes at which a condition specified for the value between a device/label and • Bit
label name comparison data is satisfied are searched for. •
•
Word
Double Word 17
• FLOAT [Single
Precision]
• FLOAT [Double
Precision]
17 COLLECTING/REPRODUCING DATA
17.4 Checking Collected Data on Program Editor 753
Displaying waveform data
A device/label selected in the monitor screen of the offline monitor function can be displayed in a graph format in GX
LogViewer.
To use this function, GX LogViewer Version 1.106K or later is required to be installed.
For the operation methods of GX LogViewer, refer to the following:
GX LogViewer Version 1 Operating Manual
Starting GX LogViewer
1. Start offline monitoring.
(Logging data: Page 738 Starting offline monitoring, recording file: Page 740 Starting offline monitoring)
2. Select a device/label in a program editor, watch window, or "Dataflow Analysis" window.
Precautions
• In GX LogViewer, up to 32 devices/labels can be displayed at once.
• Only devices that are supported by each logging function can be displayed in a waveform. For the unsupported devices,
refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
MELSEC iQ-F FX5 User's Manual (Application)
MELSEC iQ-R System Recorder User's Manual (Application)
• When performing step 3 again with another device/label selected after displaying a device/label in a
waveform, whether to add the waveform of the selected device/label in the graph that is already displayed
or to display it in a new graph can be selected.
• The seek bar in GX Works3 and the red cursor in GX LogViewer link with each other. The red cursor in GX
LogViewer moves when moving the slider on the seek bar in GX Works3, and vice versa.
17 COLLECTING/REPRODUCING DATA
754 17.4 Checking Collected Data on Program Editor
Displaying the GOT offline monitor
Logging data of a device/label selected in the monitor screen of GX Works3 can be displayed in the GOT offline monitor. 17
To use this function, GT Designer3 Version 1.236W or later is required to be installed.
This function does not support a logging file.
For the operation methods of GT Designer3, refer to the following:
GT Designer3 (GOT2000) Screen Design Manual
17 COLLECTING/REPRODUCING DATA
17.4 Checking Collected Data on Program Editor 755
Playing a video
A video file generated by using a camera recorder module or Camera Recording Package can be played in GX VideoViewer.
To use this function, GX VideoViewer is required to be installed.
For the operation methods of GX VideoViewer, refer to the following:
GX VideoViewer Version 1 Operating Manual
Starting GX VideoViewer
Operating procedure
1. Start offline monitoring.
(Logging data: Page 738 Starting offline monitoring, recording file: Page 740 Starting offline monitoring)
2. Select [Tool] [GX VideoViewer].
17 COLLECTING/REPRODUCING DATA
756 17.4 Checking Collected Data on Program Editor
18 CHECKING/CHANGING MODULE OPERATION
The operation of each module can be checked and changed in GX Works3.
CPU module 18
Purpose Function name Reference
To set the clock on a CPU module Clock setting Page 758 Clock Setting in a CPU Module
To switch the operation status of a CPU module Remote operation Page 759 Remote Operation
connected to GX Works3 to RUN/STOP/PAUSE/RESET
To perform the functions of CPU modules in a redundant System switching Page 761 Redundant Programmable
system configuration Operation mode change Controller Operations
Memory copy
Control system forced start while waiting for the other
system started
Redundant function module communication test
System A/B setting
To perform the functions of RnPSFCPUs and Safety operation mode switching Page 764 Safety Programmable Controller
RnSFCPUs Identification check for safety data Operations
Safety module operation
To check the usage of data memory CPU memory operation Page 769 Checking Memory Usage
To clear values in data memory Clear value Page 771 Initializing/Clearing a Memory
To read the label memory Label memory read/write Page 773 Reading/Writing the Label
To write the read label memory Memory
To update the firmware of a module Firmware update Page 776 Firmware Update
Other modules
Purpose Function name Reference
To update the firmware of a module Firmware update Page 776 Firmware Update
Window
Select [Online] [Set Clock].
Operating procedure
Set the following items and click the [Execute] button.
Execution target Description
Currently Specified Station Select this to set the clock only upon the station specified in the connection destination setting.
All Stations Specified*1 Select this to perform the clock setting on the station specified in the connection destination setting and all the stations on the
same network. Set a target network with "Specify Target Network No.".
Specify Group No.*1 Select this to perform the clock setting on the station specified in the connection destination setting and each station of the
specific group on the specified network.
Set a target network in "Specify Target Network No.", and set a group number in "Specify Group No.".
The clock setting cannot be performed for CC-Link IE Field Network because it does not have group number.
Precautions
• The clock in a CPU module can be set regardless of the ON/OFF state of the clock setting device 'SM210.'
Note that the ON/OFF state of 'SM210' does not change upon the clock setting.
• In the clock setting, a time-lag may occur due to the transfer time.
• The same time is set even if different time zones are specified between a connected station and another station.
Window
Select [Online] [Remote Operation].
Operating procedure
Set the following items and click the [Execute] button.
Execution target Description
Currently Specified CPU module
Station*1 Select this to perform the remote operation only on the station specified in the connection destination setting.
Remote head module in a redundant system configuration
• When starting from [Online] [Remote Operation]: the remote operation is performed on the system of the remote head
module specified as the connection destination.
• When starting from the "CC IE Field Diagnostics" screen: the remote operation is performed on the system of the remote head
module specified as the diagnostics target.
All Stations Specified*2 Select this to perform the remote operation on the station specified in the connection destination setting and all the stations on the
same network. Set a target network in "Specify Target Network No.".
Specify Group No.*2 Select this to perform the remote operation on the station specified in the connection destination setting and each station of the
specific group on the specified network.
Set a target network in "Specify Target Network No.", and set a group number in "Specify Group No.".
The remote operation cannot be performed for CC-Link IE Field Network because it does not have group number.
Specify Both Systems*2 Select this to perform the remote operation on the both systems (control/standby) on the route specified on the "Specify
Connection Destination" screen. This setting is applied for a CPU module in a redundant system configuration.
*1 When resetting a CPU module in a redundant system configuration and a remote head module, "Currently Specified Station/Specify
Both Systems" is displayed.
*2 FX5CPUs and remote head modules do not support it.
The operating status after RUN/STOP switching on the CPU module or remote RUN/STOP contact operation are as follows.
Remote operation CPU module switch Remote RUN/STOP contact is ON
RUN STOP (The CPU module is in STOP.)
Window
Select [Online] [Redundant PLC Operation] [Redundant Operation].
System switching
The system of the current connection destination can be switched (control system standby system).
This is allowed when the current connection destination is the control system, and the manual change permission flag
(SM1646) is turned ON.
For details on the operation, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
MELSEC iQ-R CC-Link IE Field Network Remote Head Module User's Manual (Application)
Operating procedure
Select "Switch System" in the "Redundant Operation" screen, and click the [Execute] button.
Operating procedure
1. Select "Change the Operation Mode" in the "Redundant Operation" screen.
2. Select a new operation mode ("Backup Mode" or "Separate Mode"), and click the [Execute] button.
Operating procedure
Select "Memory Copy" in the "Redundant Operation" screen, and click the [Execute] button.
Precautions
For the control system, the following operations and functions cannot be performed during memory copy; initialization of CPU
memory operation, data writing to a programmable controller (including an operation while a CPU module is in RUN), memory
copy, online program change, system switching, and operation mode change.
Control system forced start while waiting for the other system
started
The CPU module, which is waiting the other system to start, can start as the control system.
For details on the operation, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
Operating procedure
Select "Forced Start of Control System while Waiting for Other System to Start" in the "Redundant Operation" screen, and
click the [Execute] button.
Operating procedure
Click the [Execute Test] button in the "Redundant Operation" screen.
Operating procedure
Select the system, which is set for the connective system, in "Set the Host System," then click the [Execute] button.
Window
Select [Online] [Safety PLC Operation] [Switch Safety Operation Mode].
The safety operation mode of a running CPU module can be checked in the [Module Information List] tab on
the "Module Diagnostics" screen.
Precautions
Unmatched data
The safety operation mode cannot be switched to the safety mode if project data in GX Works3 and that in an RnSFCPU or
RnPSFCPU do not match. Whether data matches is checked by using their file identifiers; data is considered as a match if the
file identifiers match.
If data does not match, perform either of the following operations. The safety operation mode becomes switchable to the
safety mode.
• Writing data in GX Works3 to the CPU module
• Reading data from the CPU module
CAUTION
Test the programs fully on the system level for all safety loops before switching the mode to the safety mode.
Before switching to the safety mode, ensure that the programs and parameters of the intended safety project have been written properly by the following
operation.
18
Operating procedure
1. Save an edited safety project in the personal computer. (Hereinafter called 'Project A')
2. Start GX Works3, and write the programs and parameters of a safety project to CPU module. (Page 580 Writing data
to a programmable controller)
3. Start another GX Works3, and read the programs and the parameters from a CPU module. (Page 589 Reading data
from a programmable controller) (Hereinafter called 'Project B')
4. Visually check that there is no difference between Project A and Project B. (Page 765 Checking programs, Page 765
Checking module parameters (Safety Communication Setting), Page 766 Checking parameters of safety remote I/O
modules)
5. Test the programs fully in the application environment.
Checking programs
To check whether intended programs were written properly, select "Project A" as the verification destination in Project B.
Then, compare the verification source data the details of which are displayed in the "Verify Result" window with the project A
data in a program editor.
Edited safety project (Project A) Safety project in the CPU module (Project B)
Visual check
Edited safety project (Project A) Safety project in the CPU module (Project B)
Visual check
The figure above is a screen example in which Excel is used. CSV files can also be checked by using other text editors.
Edited safety project (Project A) Safety project in the CPU module (Project B)
Visual check
The figure above is a screen example in which Excel is used. CSV files can also be checked by using other text editors.
Checking whether the data in the project and in the CPU module are consistent
Check the result of compared data.
Checking whether the CPU module is running with the intended data
1. Save the information of Check Safety Data Identity in the CPU module as a CSV file using GX Works3 when the mode is
changed to the safety mode after writing programs/parameters to the CPU module.
2. At a later date, perform the Check Safety Data Identity function with GX Works3, and check whether the "File identifier"
in the saved CSV file and the one in the result are consistent.
If the data is not consistent, the data in the CPU module may not be the one written by the user. In this case, do not use the
data in the actual operation.
Window
1. Select [Online] [Safety PLC Operation] [Safety Module Operation].
2. Select a module to operate in the "Safety Module Operation - Select Module" screen, and click the [OK] button. (For an
RnPSFCPU only)
Ex.
System using an RnPSFCPU
Operating procedure
1. Select a module to check the position.
Operating procedure
1. Select a module to enable or disable the safety communication function.
3. Reset the remote head module, or turn the power OFF and ON.
Window
Select [Online] [CPU Memory Operation].
Window
Click the [Detail] button in the "CPU Memory Operation" screen.
Initializing data
Delete files in the data memory/device memory/label memory of the CPU module, or folders/files stored in the SD memory
card.
Note that the information for the user authentication will not be deleted. To delete the information, initialize all information.
(Page 690 When a user name and a password used in the user authentication function are lost)
After initializing, rewrite the programmable controller data to the CPU module.
If the power of the CPU is turned OFF and ON or the CPU module was reset, the allocation for the device/label memory is
back to the initial status. (Each area has the default capacity.)
Operating procedure
1. Select [Online] [CPU Memory Operation]. (Page 769 Checking Memory Usage)
2. Select "Data Memory" or "File Storage Area" in the "CPU Memory Operation" screen, and click the [Initialization] button.
When initializing an SD memory card, select "SD Memory Card" displayed on the left of the screen.
Precautions
Initialize an SD memory card to be inserted in a CPU module by using this function.
If an SD memory card is initialized by the function such as the Windows format function, it may be unavailable in a CPU
module.
Operating procedure
1. Select [Online] [CPU Memory Operation]. (Page 769 Checking Memory Usage)
2. Select "Device/Label Memory" in the "CPU Memory Operation" screen, and click the [Clear Value] button.
3. Set each item in the "Clear Value" screen and click the [Execute] button.
When the initial device value file or initial label value file is written to a CPU module, the initial values are
initialized by resetting the CPU module.
Operating procedure
1. Select [Online] [CPU Memory Operation].
2. Select "Device/Label Memory" in "CPU Built-in Memory" of the "CPU Memory Operation" screen.
4. Specify the storage destination for the label memory in "File Storage Destination" of the "Read/Write Label Memory"
screen.
5. Select "Read from Label Memory" and click the [Execute] button.
The "BackupData" folder is generated in the storage destination specified in step 4, and the label memory is stored as a file in
the folder.
Operating procedure
1. Select [Online] [CPU Memory Operation]. 18
2. Select "Device/Label Memory" in "CPU Built-in Memory" of the "CPU Memory Operation" screen.
4. Specify the folder in which "BackupData" folder was generated when reading the label memory in "File Storage
Destination" of the "Read/Write Label Memory" screen.
By selecting "Save" for the following CPU parameter, the operation of writing the label memory is displayed as
an event of 'Write Device...(n points)' or 'Write Label...(n points)' in the "Event History" screen.
• "CPU Parameter" "RAS Setting" "Event History Setting" "Save Device/Label Operations"
Precautions
• Do not turn the power of a CPU module OFF or reset the CPU module while writing the label memory. Doing so cancels
writing the label memory.
• Do not edit a file in the "BackupData" folder. Doing so may prevent the label memory from being written properly.
• Characters in a label name are case-sensitive.
• The label memory of a label to which a device is assigned is not written.
• If any of the following items of a label is edited from when reading the label memory until when writing it again, the label
memory of the label is not written.
Label name
Data type
Number of dimensions of the array
In addition, if a program name is edited, the label memory of local labels used in the program is not written.
• If the number of array elements is changed from when reading the label memory until when writing it again, it is required to
write data to a programmable controller before writing the label memory to a programmable controller.
In addition, when writing the label memory, the label memory is written only for the number of elements before the change.
• If writing the label memory while monitoring a program, monitoring pauses and it starts again after writing the label memory
is completed.
• When monitoring a program in an engineering tool other than GX Works3, the monitor value may be changed when writing
the label memory is completed.
• When writing the label memory to an RnPCPU (redundant mode), the memory is written to the connected system.
Window
Select [Tool] [Update Firmware].
Version 1.001B
Item Description Reference
Online program change • Online program change on an instruction basis in ladder programs is supported. Page 597 Writing Programs While
• Online program change for ST programs is supported. a CPU Module is in the RUN State
• Online program change after changing or deleting initial label values is supported.
Monitoring • When using a constant label for an input argument of a function block, a constant Page 616 Checking Execution
value is displayed in monitoring. Programs on a Program Editor
• When display language in GX Works3 is changed, the language in an intelligent
function module monitor window is also changed.
Version 1.005F
Item Description Reference
Display language switching • Display in Simplified Chinese is supported. Page 50 Display Language
Switching A
Printing • Printing the product information list is supported. Page 92 Printing Data
Module tool list The following settings are available. Page 218 Other Settings of
• "Offset/gain setting" under "Temperature Input" for "iQ-R Series" Intelligent Function Modules
• "Q61LD Two-Point Calibration Setting" under "Analog Module" for "Q Series"
• "Q61LD Default Setting" under "Analog Module" for "Q Series"
Interaction with iQ Works*1 • System labels are supported. Page 225 REGISTERING
• The parameter reflection function of MELSOFT Navigator and the parameter import LABELS
function are supported.
Program check • The program check function is supported. Page 416 Checking a Program
Diagnostics*4 • The CC-Link IE Controller Network diagnostics (twisted pair cable) is supported. Page 715 CC-Link IE Controller
Network diagnostics
Memory dump*3 • The memory dump function is supported. Page 726 Memory Dump
Function
Version 1.007H
Item Description Reference
Module tool list • "Analog input - Offset/gain setting" under "Analog Adapter" for "FX5 Series" is Page 218 Other Settings of
supported. Intelligent Function Modules
• "Analog output - Offset/gain setting" under "Analog Adapter" for "FX5 Series" is
supported.
Simple motion module setting • The advanced synchronous control setting can be set on one screen, and the Page 219 Simple motion module
function monitor function is supported. setting function
System label • A system label change notification can be received automatically. Page 256 Importing after
checking the changes
Creating a program • Function Block Diagram/Ladder Diagram language is supported. *3 Page 319 Creating an FBD/LD
Program
Reading sample comments • Sample comments are supported for a project in which an RD77MS is used. Page 409 Reading sample
comments
APPX
Appendix 1 Additions and Changes from Previous Version 777
Item Description Reference
Simulation Simulations in the following projects are supported. Page 518 PROGRAM
• Project for an RnCPU SIMULATION
• Project in which RD77MS is used (It can interact with the simulation function of a
project for an RnCPU.)
Others • Connected devices on the CC-Link IE Field Network can automatically be detected.
APPX
778 Appendix 1 Additions and Changes from Previous Version
Version 1.008J
Item Description Reference
Event history • In the event history of an R12CCPU-V, script position information is added to the Page 723 Error History/Operation
detailed information of the error code (3044h: program fault). History Check
Version 1.010L
Item Description Reference
Options The following option is added: Page 84 Option Settings for Each
• "Convert" "Online Program Change" "Operational Setting" "Write device Function
comment"
Opening a GX Works2 format • Projects for universal model process CPUs are supported. Page 107 Opening a GX Works2
project format project
Verification • Labels can be verified. Page 143 Verifying Projects
Project revision history • The project revision history function is supported. Page 160 Project Revision History
Temporary ladder change • An operation of a ladder block can temporarily changed in a ladder program. Page 293 Changing ladder blocks
temporarily
Search • As one of the search functions, a function to search a global device and a local Page 448 Searching for/
device individually is added. Replacing Devices and Labels
Library management • A user library is supported. Page 506 Enhancing Use of User
Library
Simulation • A project for an RnPCPU can be simulated. Page 518 PROGRAM
SIMULATION
Diagnostics • The MELSECNET diagnostics is supported for a project in which a MELSEC-Q Page 720 MELSECNET
series MELSECNET/H network module is used. diagnostics
Version 1.015R
Item Description Reference
A
Element selection window • Elements of RnCPUs and RnPCPUs are displayed in order by their capacity. Page 57 Element selection
window
Options The following option is added: Page 84 Option Settings for Each
• "Convert" "Basic Setting" "Operational Setting" "Optimize the Number of Function
Steps."
Opening a GX Works2 format The following items can be imported: Page 107 Opening a GX Works2
project • The boot file setting, SFC setting, and multiple CPU setting of PLC parameters format project
• A structured ladder program, FBD program, and device memory of an FXCPU
(FX3U/FX3UC)
• The settings of CC-Link IE Field and CC-Link IE Control of network parameters
• The setting of a QD75 type positioning module in intelligent function modules.
For considerations when reading a GX Works2 format SFC program in GX Works3,
refer to the technical bulletin FA-A-0192.
Verification • Differences of a ladder diagram can be checked in the detailed display of a ladder Page 145 Checking a verification
program (ladder diagram format). result
Reading a module configuration • Module configuration can be read from the actual module in a project for an Page 191 Reading the module
FX5CPU. configuration from an actual
system
Module tool list • Temperature control modules (R60TCTRT2TT2, R60TCTRT2TT2BW, R60TCRT4, Page 218 Other Settings of
R60RCRT4BW) are supported. Intelligent Function Modules
Creating an SFC program • Module labels of an RnCPU and sample comments are supported for an SFC Page 248 Registering Module
program. Labels
Page 409 Reading sample
comments
Execution order setting • The execution order of program blocks can be set. Page 260 Program Execution
Order and Execution Type
Settings
Creating a program • Sequential Function Chart language is supported in projects for an RnCPU and an Page 342 Creating an SFC
RnENCPU. *3 Program
Memory size calculation • A memory size can be calculated offline. Page 432 Calculating Memory
Size
I/O system setting • Operations of an input/output device can be simulated by using this function. Page 547 Simulation of External
Device Operations
APPX
Appendix 1 Additions and Changes from Previous Version 779
Item Description Reference
Writing data to an SD memory • Data can be written to/read from an SD memory card inserted into a personal Page 609 Writing/Reading Data
card computer. to/from Memory Card
Reading data from an SD
memory card
Diagnostics The following statuses are displayed in the CC-Link IE Field Network diagnostics. Page 717 CC-Link IE TSN/CC-
• Network connection status Link IE Field Network diagnostics
• Parameter setting status
• Station type match status
• Network number match status
• Station number duplication occurrence status
In addition, the error frame reception status is displayed in three stages according to
the frequency.
The following modules can be diagnosed:
• CC-Link IE Field Network safety remote I/O modules (NZ2GFSS2-32D, NZ2EXSS2-
8TE)
• CC-Link IE Field Network remote I/O modules (NZ2GF2B1N1-16D/T/TE,
NZ2GFCF1-32D/T/DT)
Offline monitor • Device data collected with the memory dump function can be monitored on a Page 736 Checking Collected
program editor. Data on Program Editor
Others • The high-speed remote net mode of CC-Link IE Field is supported.
• The receive buffer full detection signal is supported for a project in which an
RJ71EN71 using Ethernet communication is used.
Safety system • The safety communication function is available in an RnSFCPU project in which a
CC-Link IE Field Network module is used.
Version 1.020W
Item Description Reference
Navigation window • Scan programs can be sorted by execution order. Page 54 Navigation window
• A parameter editor opens and displays "Program Setting" in "CPU Parameter" by
selecting a program execution type in the navigation window and right-clicking
[Program Setting] in the shortcut menu.
Options The following option is added: Page 84 Option Settings for Each
• "Convert" "Basic Setting" "Conversion Operation" "Enable Rebuild All Function
(Reassignment)"/"Enable Rebuild All (Retain)"/"Enable Conversion"
Opening a project • When opening a project, the process to open the work windows that were opened in Page 105 Opening a project
the previous project can be cancelled by pressing the + [Pause Break] key.
Opening a GX Works2 format The following items can be imported: Page 107 Opening a GX Works2
project • Structured ladder program used for an FXCPU (FX3U/FX3UC) format project
• Setting for the CC-Link and Ethernet of network parameters
• Setting of an analog module and a high-speed counter module of intelligent function
modules
• The boot file setting, SFC setting, and multiple CPU setting of PLC parameters
Verification • An FBD/LD program and an SFC program can be verified with ones in a CPU Page 150 Detailed display
module. (program)
• The verification result of an SFC program and a Zoom can be checked in the Page 595 Verifying
detailed display. Programmable Controller Data
Ladder editor • When a contact is moved with a drag and drop operation while pressing the Page 269 Entering ladders
key, lines are automatically drawn and the program of the original ladder block is
completed.
• After selecting a range by pressing the + keys, when the mouse
cursor is moved back to the original position, the selected range is deselected.
Temporary ladder change • Only a ladder block changed temporarily can be displayed in the "Line Statement Page 294 Displaying ladder
List" screen. blocks changed temporarily in a
• When changing the operation of a specific ladder block temporarily, an unused list
pointer device can be entered.
• When a character string is entered, it can be registered as a pointer type label.
Creating a program • Sequential Function Chart language is supported in a project for an RnPCPU.*3 Page 342 Creating an SFC
Program
APPX
780 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
FBD/LD editor • When registering a label by entering a label name in an editor, a suitable data type Page 325 Adding elements
for the label in the location where the element is to be added is displayed in the
"Undefined Label Registration" screen.
• A blank row between FBD network blocks and a blank column in the FBD network
blocks can be deleted.
• Multiple undefined FBs/FUNs can be updated in a batch.
• Multiple rows can be inserted/deleted at the same time.
• An element can be edited by pressing the key or key on an editor.
• During monitoring, the background color of values of BOOL type labels and the
power flow of a connection line can be set.
Creating an SFC program The following are improved in an SFC program. Page 350 Inserting initial steps
• Multiple initial steps can be edited on an SFC editor. Page 355 Inserting/editing jumps
• A jump can be edited on an SFC editor. (connection lines)
• A Zoom can be copied on an SFC editor. Page 629 Monitoring with the
• SFC Auto-scroll monitor can be used. SFC auto-scroll
• Block information can be searched and replaced.
Import/export of device • Multiple device comments can be imported/exported in a batch. Page 407 Importing/exporting
comments device comments
Program check • The program check function is supported in a project for an FX5CPU. Page 417 Program check
Library management • A user library is supported for a project used for an FX5CPU. Page 507 Creating a library file
Library • A library POU to be exported can be selected individually. Page 507 Creating a library
• Multiple library POUs can be selected in the library list. Page 510 Enhanced use of
• A help file can be set and opened from the library list. libraries
Simulation Simulations in the following projects are supported. Page 524 System Simulation
• Project for multiple CPUs
• Project for an RnSFCPU
• Project for an RnENCPU
In addition, the following are supported by the simulation function.
• SFC program execution in a project for an RnCPU
• Simulation of a project in which multiple RD77MSs are used (SMM Simulator2)
• I/O system setting (process response operation)
Specifying a connection • Multiple connection destination settings can be created. Page 557 Specification of
destination Connection Destination
Online data operation • The selection status of data can be changed for each data in the [Write] tab of the Page 577 Configuration of the A
"Online Data Operation" screen. online data operation screen
Diagnostics The following modules can be diagnosed: Page 717 CC-Link IE TSN/CC-
• CC-Link IE Field Network remote I/O modules (NZ2GFCF1-32D, NZ2GFCF1-32T, Link IE Field Network diagnostics
NZ2GFCF1-32DT)
Monitor • When an FB program is opened while monitoring a program, the FB instance starts Page 613 Starting/stopping
monitoring. monitoring
Installation of a USB driver • A USB driver is installed simultaneously with the installation of GX Works3. Page 984 USB Driver Installation
Procedure
Others • The amplifier-less operation function of positioning modules (RD75D2, RD75D4,
RD75P2, and RD75P4) is supported.*4
• Sample comments and the intelligent function module monitor are supported for a
project in which an MES interface module (RD81MES96) is used.
Daylight saving time can be adjusted for the following modules.
• RnCPU (R04CPU, R08CPU, R16CPU, R32CPU, R120CPU)
• RnENCPU (R04ENCPU, R08ENCPU, R16ENCPU, R32ENCPU, R120ENCPU)
Version 1.022Y
Item Description Reference
Options The following option is added: Page 84 Option Settings for Each
• "Program Editor" "Ladder Editor" "Verify" "Verify Setting" "Detailed Result Function
Verification Selection"
Creating an FBD/LD program • A function to align an FBD network block on an FBD/LD editor to the left side is Page 335 Layout correction
supported.
Program check • The syntax check function is supported in a project for an RnCPU. Page 416 Syntax check
Writing data to a programmable • In projects for an RnCPU, an RnENCPU, and an RnSFCPU, whether to check the Page 580 Writing data to a
controller duplication of POU names can be selected.*3 programmable controller
Online program change Page 602 POU duplication check
Online program change • The program restoration information can be written in the background process.*3 Page 603 Program transfer during
the online program change
APPX
Appendix 1 Additions and Changes from Previous Version 781
Item Description Reference
Conversion • In a project for an RnCPU, the free space of the label memory area can be displayed
in the "Output" window when the following processes are completed: converting any
or all programs, or performing the online program change.
Others The following are supported for a project in which an RD77GF is used.
• Linear servo motor control mode/direct drive motor control mode/fully closed loop
control mode
• Synchronous encoder via a servo amplifier
APPX
782 Appendix 1 Additions and Changes from Previous Version
Version 1.025B
Item Description Reference
Operating environment • Windows 10 is supported.
(operating system)
Specifying a connection In a project used for an RCPU and remote head module, connection via a following Page 46 Connection through I/F
destination network interface board is supported. boards
• CC-Link IE Controller Network interface board
• CC-Link IE Field Network interface board
• CC-Link Ver.2 board
• The GOT transparent function performed via CC-Link IE Control Network is Page 569 Accessing via GOT
supported.*4 (GOT Transparent Function)
Printing • This function is improved to print a selected page. Page 92 Printing Data
Opening a GX Works2 format • A function to open a GX Works2 user library is supported in a project for an Page 107 Opening a GX Works2
project FX5CPU. format project
Project management • An iQ AppPortal information file can be output. Page 126 Saving a project
Exporting libraries
Changing the module type/ • The module type can be changed from an FX5CPU to an R04CPU. Page 139 Changing the Module
operation mode Type and Operation Mode of
Projects
Verification • Module parameters of a CPU module can be verified. Page 144 Parameters
XY assignment display • A function to display XY assignment information on the module configuration Page 198 XY assignment display
diagram and in the navigation window is supported.
Module tool list • A remote head module (RJ72GF15-T2) is supported (creation of wave output data). Page 218 Other Settings of
Intelligent Function Modules
Creating an ST program The following are supported. Page 132 Adding worksheets
Creating an FBD/LD program • Registering devices/labels in the watch window automatically Page 309 Creating an ST
• Displaying 'Warning' when type conversion is performed automatically Program
• Changing the display color of devices, labels and comments Page 319 Creating an FBD/LD
• Creating multiple worksheets Program
Execution order setting • The execution order of multiple worksheets can be set. Page 261 Worksheet execution
order setting
Creating a ladder program The following are supported. Page 264 Creating a Ladder A
• Switching showing or hiding grids, and setting the grid color Program
• Displaying a comment in the continuous pasting function
• Returning to an edited ladder program to the state before the edition.
• Replacing a ladder program in the read mode
• Adjusting the size of an editor to the width of a window
FBD/LD editor • An editor is zoomed in and out on the cursor position. Page 319 Creating an FBD/LD
SFC editor Program
Page 342 Creating an SFC
Program
Device comment • Device comments can be exported to a file for each device type. Page 408 Exporting
Program check • The syntax check function is supported in a project for an FX5CPU. Page 416 Syntax check
Search/replacement • In a ladder editor, a range for search or replacement can be specified. Page 446 Range specification in
editors
Device batch replacement • When a character string is pasted onto the cell in the "Replace Device" row, the Page 454 Batch Replacing of
value set for "Points" will be remained. Devices and Labels
Cross reference • The current window can be specified as a search target. Page 457 Displaying cross
reference information
Cross reference • A comment can be edited using a shortcut menu. Page 457 Displaying cross
Watch reference information
Page 637 Checking Current
Values by Registering Devices/
Labels
Unused label list • A function to display unused labels in the list format is supported. Page 463 Displaying a list of
unused labels
Library management • Libraries using a module label and/or structure can be exported. Page 507 Creating a library file
• A sample library is supported in a project for an FX5CPU. Page 512 Utilizing an element
Simulation • A project for an FX5CPU can be simulated. Page 518 PROGRAM
SIMULATION
APPX
Appendix 1 Additions and Changes from Previous Version 783
Item Description Reference
Writing data to a programmable • In a project used for an RnPCPU (process mode/redundant mode), whether or not to Page 580 Writing data to a
controller check the duplication of POU names can be selected.*3 programmable controller
Online program change Page 602 POU duplication check
Device/buffer memory batch • Bit visibility is improved. Page 633 Checking Device/Buffer
monitor Memory in a Batch
Watch • Visibility of bit devices and bit type labels are improved. Page 637 Checking Current
Values by Registering Devices/
Labels
Diagnostics The following modules can be diagnosed: Page 717 CC-Link IE TSN/CC-
• CC-Link IE Field Network remote I/O modules (NZ2GF2B1N1-16D, NZ2GF2B1N1- Link IE Field Network diagnostics
16T, NZ2GF2B1N1-16TE)
Project management • Labels, function blocks, and functions can be hidden in the navigation window.
Conversion • In a project for an FX5CPU, the free space of the label memory area is displayed on
the "Output" window when the following processes are completed: converting any or
all programs, or performing the online program change.
Parameter The following functions for RnCPUs and RnENCPUs are available:
• File transfer function (FTP client)
• CPU module data backup/restoration function
• iQ Sensor Solution data backup/restoration function
Module label • Module labels can easily be updated.
Others • An RnPCPU (redundant mode) is supported.
• The high-speed logging mode of an analog module (Q64ADH) is supported.
• A redundant power supply system is supported in projects for an RnCPU, an
RnENCPU, and an RnPCPU (process mode/redundant mode).
A redundant power supply system is supported for a project in which the following
modules are used.
• CC-Link system master/local module (RJ61BT11)
• CC-Link IE Field Network modules (RJ71GF11-T2(MR), RJ71GF11-T2(SR),
RJ71GF11-T2(LR))
• CC-Link IE Controller Network-equipped module (RJ71GP21-SX(R))
• Ethernet interface module (RJ71EN71)
• The initial label value application setting function for RnPCPUs is available.
Version 1.030G
Item Description Reference
Navigation window Even if labels, functions, and function blocks are hidden, the following data is Page 54 Navigation window
displayed.
• A statement for which "Display in Navigation Window" is selected in the "Input Line
Statement" window.
• Multiple worksheets
Options The following options are added: Page 84 Option Settings for Each
• "Program Editor" "Ladder Editor" "Ladder Diagram" "Edit Operation" Function
"Enable the ladder editing by mouse operation"
• "Convert" "Basic Setting" "Operational Setting" "Language Used by
Instruction Conversion of String Operation"
Opening a GX Works2 format Parameters of the following modules can be imported in a project for an RCPU. Page 107 Opening a GX Works2
project • Serial communication module format project
• Temperature input module
• Temperature control module
• Simple motion module
• Input module
• Output module
• I/O module
• Interrupt module
Opening a GX IEC Developer • An ASCII format file exported in GX IEC Developer can be opened. Page 115 Opening a GX IEC
format project Developer format project
Verification • A device comment and device memory can be verified in project verification. Page 143 Verifying Projects
• CPU module parameters can be verified in a project for an FX5CPU.
AnyWireASLINK configuration • In a project for an RnCPU, an AnyWireASLINK system can be configured using this Page 208 Setting network
window window. configuration and target devices
CC-Link IEF Basic configuration • In projects for an RnCPU, an RnENCPU, and an FX5CPU, a CC-Link IE Field
window Network Basic system can be configured using this window.
APPX
784 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
System parameter • When opening a system parameter, other screens, such as a parameter editor and Page 202 Setting system
module configuration diagram, are closed. parameters
Ladder editor • A statement can be set for an END instruction. Page 264 Creating a Ladder
Program
Importing/exporting ladder The following are supported. Page 297 Importing/exporting
programs • Import/export of a CSV file ladder programs
• Export to a HTML file
Creating an FBD/LD program The following are supported. Page 319 Configuration of an
• Displaying devices assigned to labels on an FBD/LD editor. FBD/LD editor
• Using devices assigned to global labels for label input. Page 325 Entering programs
• Wrapping a comment and a label name to display. Page 319 Configuration of an
• Displaying the "Undefined Label Registration" screen for labels with member FBD/LD editor
notation '.' and array notation '[ ]'.
• Searching or replacing a target by specifying a range
Creating an SFC program The following are supported. Page 347 Display format of
• MELSAP-L (instruction format) display action/transition
• Displaying devices assigned to labels of an FBD/LD element Page 343 Configuration of an
• Opening a new window in a block start step during monitoring with the SFC auto- SFC diagram editor
scroll Page 629 Monitoring with the
SFC auto-scroll
Memory size calculation • "Byte" or "Step" can be selected from "Display Unit" in the "Confirm Memory Size Page 432 Calculating Memory
(Offline)" screen. Size
Cross reference • In an FBD/LD program, the data type of an FB/FUN using devices/labels as Page 456 Displaying Device and
arguments can be displayed. Label Reference Information
• MELSAP-L (instruction format) is supported.
Unused label list • A function to delete a label from the unused label list is supported. Page 463 Displaying a list of
unused labels
Simulation The following are supported. Page 518 PROGRAM
• Simulation of a project used for an RnPCPU (redundant mode) SIMULATION
• Simulation of a project in which an RnMTCPU is used (MT Simulator2)
• Simulation of a project in which an RD77GF is used (SMM Simulator2)
• The I/O system setting of a project for an FX5CPU
• Label initialization control function of RnPCPUs
Specifying a connection • The GOT transparent function via CC-Link IE Field Network is supported in a project Page 569 Accessing via GOT
A
destination for an RCPU.*4 (GOT Transparent Function)
• The GOT transparent function via CC-Link IE Control Network is supported for a
project used for an RnPCPU (redundant mode) and remote head module.*4
Writing data to a programmable • A project with no labels can individually be written to a CPU module. Page 580 Writing data to a
controller programmable controller
Writing data to an SD memory • Data can be written to or read from an SD memory card in a project for an FX5CPU. Page 610 Writing to/Reading from
card a memory card
Reading data from an SD
memory card
Monitor • The visibility of a ladder editor with a low magnification is improved. Page 611 CHECKING
OPERATION OF PROGRAMS
Registering/canceling forced • When GX Works3 is connected to an RnCPU or an RnENCPU, input/output devices Page 644 Turning Input/Output
input/output*3 can forcibly be turned ON/OFF. Devices ON/OFF Forcibly
Intelligent function module • The intelligent function module monitor function is supported in a project for an Page 658 Checking Current
monitor FX5CPU. Values in an Intelligent Function
Module
Diagnostics The following modules can be diagnosed: Page 717 CC-Link IE TSN/CC-
• Multiple input module (NZ2GF2S-60MD4) Link IE Field Network diagnostics
• Analog input modules (NZ2GFCE-60ADI8, NZ2GFCE-60ADV8)
• Analog output modules (NZ2GFCE-60DAI8, NZ2GFCE-60DAV8)
• DC input modules (NZ2GF12A4-16D, NZ2GF12A4-16DE)
• Transistor output modules (NZ2GF12A2-16T, NZ2GF12A2-16TE)
• DC input transistor output combined module (NZ2GF12A42-16DT, NZ2GF12A42-
16DTE)
• Servo amplifier (MR-J4-GF)
• The CC-Link IE Field Network Basic diagnostic is supported in projects for an Page 719 CC-Link IE Field
RnCPU, an RnENCPU, and an FX5CPU. Network Basic diagnostics
Offline monitor • Values of logging data displayed in GX LogViewer can be monitored on a program Page 882 Checking logging data
editor during offline monitoring. in version 1.063R or earlier
Others • When installing GX Works3, GX LogViewer and CPU Module Logging Configuration GX Works3 Installation
Tool can be installed at the same time. Instructions
APPX
Appendix 1 Additions and Changes from Previous Version 785
Item Description Reference
FX5CPU The following functions are available:*3 Page 723 Error History/Operation
• Event history History Check
• Data logging Page 730 Data Logging Function
• File transfer function (FTP server)
• A device connected with GX Works3 on Ethernet can automatically be detected.
• Parameters for FX5CPU built-in functions can be verified.
• Assignment of global labels are retained in a project for an FX5CPU.
Parameters
Category Module Module Parameter*3*4 Description
type
CPU FX5CPU "Memory/Device Setting" "Device/Label The "Device/Label Memory Area Detailed
parameter Memory Area Setting" Setting" screen is added. Parameters can
easily be set and displayed in this screen.
Version 1.032J
Item Description Reference
Process control function • A process control system is supported for a project used for an RnPCPU (process Page 23 Process Control System
mode/redundant mode).
Element selection window Data selected in the [Library] tab in the element selection window can be added to a Page 57 Element selection
project using the following menu. window
• Right-click data and select [Add to Project] from the shortcut menu.
Options The following options are added: Page 84 Option Settings for Each
• "Convert" "Basic Setting" "Conversion Operation" "Enable Rebuild All Function
(Reassignment)"/"Enable Rebuild All (Retain)"/"Enable Conversion"
• "Monitor" "FBD/LD editor" "Display Setting" "Use Same Display Format for
Contact as Device/Label Current Value"
Opening a PX Developer format • A PX Developer format project created in PX Developer can be opened. Page 110 Opening a PX
project Developer format project
Verification • FB files and FUN files can be verified. Page 143 Verifying Projects
• A device comment, device memory, and file register written in a CPU module can be Page 595 Verifying
verified. Programmable Controller Data
• After verifying program files, the details of the result can be checked. Page 145 Checking a verification
• Consistent ladder blocks are not displayed in a verification result of a ladder result
program.
System configuration • An RnENCPU and a motion control CPU can be used together in a multiple CPU Page 195 Multiple CPU
system. configuration
Creating a ladder program • The setting values of a timer and a counter used in a ladder can be changed in a Page 289 Changing TC setting
batch. values
Creating an FBD/LD program • A link can be set between a comment element and an element. Page 338 Linking a comment
• FBD Network Blocks can be displayed in a list. Page 340 Displaying FBD
network blocks in a list
Creating an SFC program • A link can be set between a comment element and an element. Page 368 Linking a comment
Online data operation Data to display in the "Online Data Operation" screen can be selected by setting the Page 577 Configuration of the
following menu. online data operation screen
• [Setting] [Set Favorites]
Writing data to a programmable • When a module label is not used in "Refresh Setting" of "Module Parameter," the Page 580 Writing data to a
controller checkbox of "Module Parameter" is not selected even when "Global Label" is programmable controller
selected in the "Online Data Operation" screen.
Registering/canceling forced • The "Register/Cancel Forced Input/Output" screen can be displayed using the icon Page 614 Status monitoring
input/output in the monitor status bar.
Monitor • When "MELSAP-L (Instruction Format)" is used as the display format of an SFC Page 627 MELSAP-L (instruction
diagram editor, the monitor value where the cursor is placed is highlighted in format)
monitoring.
Diagnostics • The sensor/device monitor function is supported. Page 705 Sensor/Device Status
Check
The following modules can be diagnosed: Page 717 CC-Link IE TSN/CC-
• CC-Link IE Field Network remote I/O modules (NZ2GF2B1-32D, NZ2GF2B1-32DT, Link IE Field Network diagnostics
NZ2GF2B1-32DTE, NZ2GF2B1-32T, NZ2GF2B1-32TE)
Simulation • The latch function is available. Page 942 Supported CPU module
functions
APPX
786 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Others • When a constant or bit device (X, Y, M, L, SM, F, B, SB) is set for the second
argument of the dedicated function 'G(P).OFFGAN,' a conversion error occurs.
APPX
Appendix 1 Additions and Changes from Previous Version 787
Version 1.035M
Item Description Reference
Options The following options are added: Page 84 Option Settings for Each
• "Project" "Save" "Operational Setting" "Save project after conversion"/"Save Function
project after Write to PLC"/"Save project after Online Program Change"/"Save
project after changing TC Setting Value and writing to PLC"
• "Find/Replace" "Common Item" "Operational Setting" "Distinguish DX/DY
device from X/Y device when X/Y device is specified"
Printing An FBD/LD program can be printed according to the setting in the following option. Page 92 Printing Data
• "Program Editor" "FBD/LD Editor" "Element (Ladder Symbol)" "Display
Format" "Numbers of Wrapping Rows for Device/Label Name"
Opening a GX Works2 format • The parameters of a triac output module (QY22) can be imported. Page 107 Opening a GX Works2
project format project
Opening a GX IEC Developer • An IL/MELSEC IL program created in GX IEC Developer can be opened. Page 115 Opening a GX IEC
format project Developer format project
Help file • A help file can be linked to a function or function block. Page 133 Associating data with a
help file
Verification • Module extended parameters of a simple motion module can be verified. Page 143 Verifying Projects
• The module information of an intelligent function module can be verified. Page 595 Verifying
Programmable Controller Data
Module tool list • Multiple input modules (FX5-8AD) are supported. Page 218 Other Settings of
• Temperature control modules (FX5-4LC) are supported. Intelligent Function Modules
• Positioning modules (FX5-20PG-P) are supported.
Importing/exporting ladder • Ladder programs can be exported to a text file. Page 306 Exporting to a text file
programs
Creating a ladder program • Pasting to the input and output circuit parts of a function block and function is Page 403 Displaying a device
supported. comment editor from a program
• A device comment editor can be opened from a program editor with the menu or editor
shortcut key.
• The width of all the selected columns can be changed.
• Lines remain after deleting an instruction in "Insert mode."
• When an element is pasted to the position where a line cannot be pasted, only the
element is pasted.
• After pressing the key to edit a device name, the edit can be cancelled by
pressing the key.
The display magnification of all ladder editors can be set in a batch by setting the
following menu.
• [View] [Zoom] [Set Zoom Factor]
The following menu is available when editing a ladder program of a function or function
block:
• [Edit] [Documentation] [Statement/Note Batch Edit]
Creating an ST Program • Usable instructions in an ST program are added. Page 403 Displaying a device
• A device comment editor can be opened from a program editor with the menu or comment editor from a program
shortcut key. editor
Creating an FBD/LD program • Connecting elements automatically can be disabled. Page 327 Common operations of
• A device comment editor can be opened from a program editor with the menu or elements
shortcut key. Page 403 Displaying a device
• The display order of comment elements can be changed. comment editor from a program
editor
Creating an SFC program • A device comment editor can be opened from a program editor with the menu or Page 403 Displaying a device
shortcut key. comment editor from a program
• The display order of comment elements can be changed. editor
Creating a function block and • "Use MC/MCR to Control EN" can be set for a subroutine type function block in Page 485 Creating new data
function projects for an RnCPU and an RnENCPU.*3
Online program change • When only one program file that is set as "No Execution Type" exists in a project, the Page 597 Writing Programs While
data can be written to a CPU module by using the "Online Program Change" a CPU Module is in the RUN State
function.
The following data can be written to a CPU module using this function. Page 601 Online program change
• A single SFC block*3 of SFC programs
• SFC inactive block
• After writing a project to a running RnPCPU (process mode), program restoration
information can be written in the background process.*3
APPX
788 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Diagnostics In the following diagnostics, the diagnostics screen can be displayed when another Page 715 CC-Link IE Controller
station was specified as the connection destination. Network diagnostics
• CC-Link IE Controller Network diagnostics Page 717 CC-Link IE TSN/CC-
• CC-Link IE Field Network diagnostics Link IE Field Network diagnostics
Page 719 CC-Link IE Field
The following settings are available in the CC-Link IE Field Network Basic diagnostics.
Network Basic diagnostics
• Group setting of a remote station (No.1 to 4)
• Setting of the number of connected stations (up to 64 stations)
The following modules can be diagnosed:
• CC-Link IE Field Network remote I/O modules (NZ2GF2B2-16A, NZ2GF2B2-16R,
NZ2GF2B2-16S, NZ2GF2S2-16A, NZ2GF2S2-16R, NZ2GF2S2-16S)
• CC-Link IE Field Network Basic remote I/O modules (NZ2MFB1-32D, NZ2MFB1-
32T, NZ2MFB1-32TE1, NZ2MFB1-32DT, NZ2MFB1-32DTE1, NZ2MFB2-16A,
NZ2MFB2-16R)
Tool interaction The following tools can be started in GX Works3. Page 730 Data Logging Function
• CPU Module Logging Configuration Tool
• GX LogViewer
Simulation The following are supported by the simulation function. Page 933 Using the Simulation
• Project in which an RD77GF32 is used (SMM Simulator) Function
• I/O control function of RCPUs
• Project in which a MELSEC iQ-F series simple motion module is used (SMM
Simulator2)
• The capacity of signal flow memory (for FB), which is used for simulating a project
for an RnPCPU (R08PCPU, R16PCPU, R32PCPU, or R120PCPU), is expanded.
e-Manual Viewer interaction • Sample programs (ladder) on the manuals that can be browsed in e-Manual Viewer Page 982 Using Sample
can be copied on ladder programs in GX Works3. Programs
Search/replacement When "Move" is selected in the following option in the "Find and Replace" window, an
undisplayed device comment is also moved when replacing the device.
• "Find/Replace Options" "Replace" "Device Comment"
• When registering devices/labels within a selected range to a watch window or the
"Device Batch Replace" screen, overlapped devices/labels are not registered.
Writing data to a programmable • Unused function blocks and functions can be written to a CPU module.
controller
CC IE Field configuration
window
The parameters of a device station can be saved in a project by selecting the checkbox
of the following item in the "Options" screen.
A
• Save the parameter set by "Parameter Processing of Device Station" to project.
• Same parameters can be written to/read from device stations with the same model
name by using the "The Parameter Processing of Same Device Station" screen.
CC-Link IEF Basic configuration The following iQ Sensor Solution functions are available.*5
window • Automatic detection of connected devices
• Communication setting reflection of remote station
• Parameter processing of remote station
Others • The safety communication setting can be configured before writing parameters of a
safety remote I/O module to a CPU module.
• The CPU module built-in database can be accessed from an external device.
• The automatic restoration setting is supported in a project for an RnSFCPU. Page 767 Automatic restoration
setting
FX5CPU The following options are added: Page 84 Option Settings for Each
• "Convert" "Basic Setting" "Operational Setting" "Collectively Allocate Function
Temporary Area to Optimize the Number of Steps"
• A CPU module can be accessed via a CC-Link IE Field Network module using the Page 569 Accessing via GOT
GOT transparent function.*4 (GOT Transparent Function)
The following functions are available in a project for an FX5CPU:
• Memory dump
• Change of TC setting value
• Offline monitor
• Parallel link
• IP filter
• File transfer function (FTP server)
• Verification of extension adapters
• Simulation of a simple motion module
• Interaction with the FX5CPU simulation function
• Devices used by the function of a CPU module are displayed in the "Device List"
window.
APPX
Appendix 1 Additions and Changes from Previous Version 789
Parameters
Category Module Module Parameter*3*4 Description
type
Module RnCPU Positioning modules "Basic setting" "OPR basic parameter" "7: Limit switch combined method" can be
parameter RnENCPU (RD75D2, RD75D4, "OPR method" selected.
RnPCPU RD75P2, RD75P4)
Module "Axis n Positioning data" "Offline Simulation" Newly added
RnSFCPU
extended
"Axis n Positioning data" "Auto Calc Newly added
parameter Command Speed"
"Axis n Positioning data" "Auto Calc Newly added
Auxiliary Arc"
Version 1.036N
Item Description Reference
Online program change When writing data to a CPU module with either of the following functions, the behavior Page 597 Writing Programs While
of each falling instruction right after the writing process is the same. a CPU Module is in the RUN State
• Online program change
• File batch online change
Version 1.038Q
Item Description Reference
Creating a ladder program Reserved area capacities of the following items can be set in the "Properties" screen of Page 487 Setting reserved area
Creating an ST Program a function block. capacities
Creating an FBD/LD program • Label reserved area
• Latch label reserved area
• Signal flow reserved area
APPX
790 Appendix 1 Additions and Changes from Previous Version
Version 1.040S
Item Description Reference
Process control function • A process control system is supported in a project for an RnPSFCPU. Page 23 Process Control System
Navigation window • The background color and font color can be changed. Page 54 Navigation window
• The tree can be filtered.
• A message will appear when moving data.
• Module parameters and module POUs (shortcut) can be hidden.
• A module tool can be opened.
• The default display of modules that only one "Module Parameter" was displayed is
changed so as not to display "Module Parameter."
• The default display is changed so as not to display "Module POU (Shortcut)."
Ladder editor • When a program including a specific instruction (INV, MEP, MEF, EGP, EGF) does Page 54 Navigation window
not comply with the instruction specifications, a conversion error occurs. Page 105 Opening a project
• When a project is opened, a ladder program that was previously displayed is
displayed.
• When the position of the mouse cursor is in a nested master control instruction at the
start of monitoring ladder program, the ON/OFF status of the master control
instruction and the nesting number is displayed in the window title of the ladder
editor.
• A line statement name can be edited in the navigation window.
• The comment of a structure member is displayed in the "Input Device Comment"
screen.
• A device assigned to a label can be entered as a label. Page 270 Displaying a global
When the number of displayed contacts are changed with the following option and label entered by using an
assigned device
input and output circuits of an FB/FUN is not displayed, the circuit is displayed
highlighted.
• [Tool] [Options] "Program Editor" "Ladder Editor" "Ladder Diagram"
"Display Format" "Display Connection of Ladder Diagram"
Creating an FBD/LD program • The font color and the background color of comment elements can be changed in Page 81 Checking and Changing
the "Color and Font" screen. Colors and Fonts
• The font color and the background color of comment elements can be changed Page 319 Configuration of an
individually. FBD/LD editor
• A page break can be displayed in an FBD/LD editor. Page 319 Configuration of an
FBD/LD editor
A
• When a jump label element of an FBD/LD is selected and the key is pressed, a Page 325 Adding elements
pointer type label is displayed in an edit box as an option.
Creating an SFC program • The font color and the background color of comment elements can be changed in Page 81 Checking and Changing
the "Color and Font" screen. Colors and Fonts
• The font color and the background color of comment elements can be changed Page 343 Configuration of an
individually. SFC diagram editor
Options The following option is added: Page 84 Option Settings for Each
• "Program Editor" "SFC Diagram Editor" "Action/Transition" "Operational Function
Setting" "Include Device Comment in Copying"
Printing • Ladder programs can be printed by specifying the range (number of lines). Page 92 Printing Data
• Ladder programs can be printed by setting a page break for each ladder block.
• The page setting can be set for FBD/LD programs.
• Project data can be printed by changing the color and the font to the default setting.
• The contents of unset parameter items are no longer printed.
Q/L/FX series compatibility GX Works3 in the Q/L/FX series compatibility mode can be started in GX Works3. In Page 103 Creating a project
mode GX Works3 in the Q/L/FX series compatibility mode, projects for a QCPU (Q mode), an Page 104 Creating a new project
LCPU, and an FXCPU can be used. by reading data read from a
The following operations can mainly be performed. programmable controller
• Creating a new project Page 105 Opening a project
• Creating a new project with data read from a CPU module Page 126 Saving projects under
• Opening a project the specified name
• Performing the system monitor function automatically
• Saving a project as a GX Works3 project or GX Works2 project
Opening a GX Works2 format The following items can be imported in a project for an FX5CPU. Page 107 Opening a GX Works2
project • Project used for an FXCPU (FX3G/FX3GC) format project
• CC-Link settings of network parameters
• The names of instructions used in ST programs are replaced automatically. Page 907 Instructions in which
the names need to be replaced
APPX
Appendix 1 Additions and Changes from Previous Version 791
Item Description Reference
Opening a PX Developer format The following project parameters that are set in a PX Developer format project can be Page 110 Opening a PX
project imported. Developer format project
• Program execution setting Page 918 Correction of a PX
• I/O control Developer format project
• Event notification
• The initial values of FB properties that are set in a PX Developer format project can
be imported.
Opening a GX IEC Developer • Data in an ASCII format file or SUL format file exported in GX IEC Developer can be Page 115 Opening a GX IEC
format project imported into an open GX Works3 project. Developer format project
• Even when a GX Works3 project is not open, the module type of a GX IEC Page 509 Creating a GX Works3
Developer format project can be changed. format library from a GX IEC
• An SUL format file (user library) exported in GX IEC Developer can be opened. Developer format library
Module configuration diagram • Module parameters of a module with multiple ports can be opened in the "Input the Page 193 Setting parameters on
Configuration Detailed Information" window. the module configuration diagram
Parameter For a module in which the system parameter is set as follows, "Do not Synchronize" is Page 202 Setting system
automatically set to the "Setting" column in the "Select the Synchronous Target parameters
Module" screen.
• "I/O Assignment Setting" "Module Status Setting" column: Empty
• "Inter-module Synchronization Setting" "Use Inter-module Synchronization
Function in System": Use
iQ Sensor Solution function*5 In a project using AnyWireASLINK or CC-Link IE Field Network, the following functions Page 210 iQ Sensor Solution
are available. functions
• Data backup/restoration
Module tool list • Analog input modules (FX5-4AD) are supported. Page 218 Displaying the module
• Analog output modules (FX5-4DA) are supported. tool list
Importing/exporting ladder A program including the elements below can be exported to a CSV file. Page 297 Importing/exporting
programs Moreover, a program including the elements below can be imported from a CSV file. ladder programs
• Label
• Inline structured text box
• Function block and function
• When exporting a text file, whether or not to output step numbers can be set.
• A Zoom created in Ladder Diagram language can be exported in a CSV, HTML, or
text file.
• Listed instructions in a CSV file can be imported into a Zoom created in Ladder
Diagram language.
• Ladder programs in functions or function blocks can be exported in a CSV, HTML, or
text file.
• Listed instructions in a CSV file can be imported into ladder programs in functions or
function blocks.
Device comment editor • A screen can be split vertically. Page 402 Configuration of a
• When an unused device comment is deleted, the comments of bit-specified word device comment editor
devices are also deleted.
Memory size calculation By selecting the version of an RnCPU, an RnENCPU, or an RnPCPU in the "Confirm Page 432 Calculating Memory
Memory Size (Offline)" screen, the memory capacity can be calculated according to the Size
selected version.
• RnCPU and RnENCPU: '30 and earlier versions' or '31 and later versions'
• RnPCPU: '12 and earlier versions' or '13 and later versions'
Cross reference • A device assigned to an alias source is displayed as a 'device' of the alias. Page 457 Displaying cross
reference information
Library management • Elements of a library created in an ST program or an FBD/LD program can be Page 514 Updating library POUs
updated in a batch.
Simulation • Multiple systems that perform cyclic transmission can be simulated. Page 518 PROGRAM
• A simulation environment file can be saved. SIMULATION
• A simulation environment file can be opened.
• The label communication function from an external device can be set.
Specifying a connection • In a project for an RCPU, except for RnPSFCPU, the GOT transparent function is Page 569 Accessing via GOT
destination supported in the networks connecting a personal computer and a GOT or connecting (GOT Transparent Function)
a GOT and a connection station via Ethernet.*4
Writing data to a programmable • It is improved so that the status of edited function block or POU using a function will Page 487 Converting function
controller not be changed to unconverted when editing the program body of the subroutine blocks
Online program change type function block or function. Page 505 Converting functions
• Program files, FB files, and FUN files can be written without the program restoration Page 580 Program restoration
information.*3 information
Page 604 Program restoration
information
APPX
792 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Online program change • When "Online Program Change" is performed after converting a program, whether or Page 597 Writing Programs While
not to write the program can be selected in the "Online Data Operation" screen. a CPU Module is in the RUN State
• The file batch online change can be performed when editing a global label, function Page 605 Writing data for each
block, or function in projects for an RnCPU, an RnENCPU, and an RnPCPU.*3 file while a CPU module is running
(file batch online change)
Device/buffer memory batch • Multiple word devices can be registered in a watch window in a batch. Page 635 Changing current
monitor values
Watch • When data is changed by editing or converting a program, the change is not applied Page 638 Updating the display
to a watch window automatically. It will be updated when clicking the [Update]
button.
• In a watch window, the display of the current values of bit devices can be changed Page 638 Other operations
from 'TRUE/FALSE' to 'ON/OFF.'
• The current values of bit devices can be changed by clicking the [ON]/[OFF]/[Switch
ON/OFF] buttons on a watch window.
Monitoring • SQL statements that are buffered by the DB buffering function of a MES Interface Page 658 Checking Current
module (RD81MES96) and stored procedure call information can be displayed in an Values in an Intelligent Function
intelligent function module monitor window. Module
User authentication The following functions are supported in a project for an RnPSFCPU. Page 686 Preventing Illegal
• Authentication destination setting in the online function Access to CPU Module (User
• Logging off from a CPU module Authentication)
• Logging off all users from a CPU module
• Copying user information to the other system
Sensor/device monitor • This function is available in a project using AnyWireASLINK. Page 705 Sensor/Device Status
Check
Diagnostics The following modules can be diagnosed: Page 717 CC-Link IE TSN/CC-
• CC-Link IE Field Network remote I/O modules (NZ2GFCE3N-32D, NZ2GFCE3N- Link IE Field Network diagnostics
32T, NZ2GFCE3N-32DT)
The following can be displayed in the CC-Link IE Field Network Basic diagnostics.
• Detailed error information of a remote station
Safety programmable controller • The safety module operation function is supported in a project for an RnPSFCPU. Page 764 Safety Programmable
operation Controller Operations
Windows 10 • When a GX Works3 screen is not displayed properly, it can be fixed with high DPI
scaling by using a Windows 10 function.
Page 986 Troubleshooting
A
• GX Developer can be installed with GX Works3.
Conversion • When changing the type of a function block, all the programs are converted
(reassigned) in the next conversion.
Search/replacement • Data is searched for or replaced in the display order in the navigation window.
Search/replacement • In an ST editor, FBD/LD editor, and SFC diagram editor, data can be searched for/
Cross reference replaced with the checkbox of "Multiple words" selected in "Find/Replace Options."
Device list • When an instruction which uses multiple devices (example: BMOV (P)) exists in an
ST, FBD/LD, or SFC program, all devices in the range used for the instruction are
displayed in the device list.
• The number of times all devices for program indirection in programs have been used
is displayed in the device list.
Interaction with iQ Works*2 The following operations can be performed in MELSOFT Navigator:
• Applying label information in an electrical CAD file that is imported in MELSOFT
Navigator to global labels in GX Works3.
• Setting global labels in GX Works3 for label information in MELSOFT Navigator and
exporting the label information as an electrical CAD file.
FX5CPU The following functions and settings are available in a project for FX5CPUs.*3
• Extended file register (ER)
• Real-time monitor
• Web server setting
• MODBUS/TCP setting
• Time setting (SNTP client)
• Logging data displayed in GX LogViewer can be monitored on a program editor by Page 882 Checking logging data
using the 'Offline monitor' function. in version 1.063R or earlier
APPX
Appendix 1 Additions and Changes from Previous Version 793
Version 1.042U
Item Description Reference
Verification When "Hide System Generated Items" is selected from the pull-down list in a Verify Page 150 Detailed display
Result screen (detailed display), the following instruction codes are not displayed. (program)
• NOP
• LD TMP
• OUT TMP
Label editor • The selection status of "Access from External Device" can be pasted to other rows. Page 229 Editing a row
Ladder program • A label comment of a structure member can be edited in the "Input Device Page 284 Entering/editing
Comment" screen. comments
FBD/LD editor • A tool hint is displayed while options for labels are displayed. Page 319 Configuration of an
SFC editor FBD/LD editor
Page 343 Configuration of an
SFC diagram editor
Version 1.044W
Item Description Reference
Opening another format file In a ladder program, a program in which any of the following instructions is used and Page 107 Opening a GX Works2
the argument is omitted can be read. format project
• D(P).DDRD, D(P).DDWR, JP.READ, JP.SREAD, JP.WRITE, JP.SWRITE, GP.READ, Page 110 Opening a PX
GP.SREAD, GP.WRITE, GP.SWRITE, J.ZNRD, J.ZNWR, JP.ZNWR, JP.ZNRD Developer format project
APPX
794 Appendix 1 Additions and Changes from Previous Version
Version 1.045X
Item Description Reference
Operating environment • Windows 10 IoT Enterprise 2016 LTSB is supported.
(operating system)
Navigation window • Unused data in a program is displayed in light blue. Page 54 Navigation window
Search/replacement After the cursor jumped from a search result to a program editor, label editor, or SFC Page 61 Basic menus
block list, by using the following menu, the cursor jumps forward or backward from the Page 448 Searching for/
current position to the positions where search or replacement was applied. Replacing Devices and Labels
• [Find/Replace] [Previous]/[Next] Page 450 Searching for/
Replacing Instructions
Page 451 Searching for/
Replacing Character Strings
Page 453 Changing Contacts
between Open Contact and Close
Contact
Page 457 Displaying cross
reference information
• The ranges for search and replacement can be specified in a device comment editor. Page 446 Range specification in
editors
• An argument of a function block, argument of a function, and member of a structure Page 448 Searching for/
can be searched for/replaced. Replacing Devices and Labels
Options for labels can be displayed when entering a label name in the following Page 448 Searching for/
functions. Replacing Devices and Labels
• Device/label search Page 453 Changing Contacts
• Device/label replacement between Open Contact and Close
• Open/close contact change Contact
• Device batch replacement Page 454 Batch Replacing of
Devices and Labels
Library The following menu is available even when the element selection window is not Page 61 Basic menus
displayed:
• [Project] [Library Operation] [Register to Library List]
• A library which is associated with a simple motion module can be used. Page 502 Using a library
associated with a module
A
• Password authentication for a read-protected POU can be disabled. Page 507 Creating a library file
Page 512 Utilizing an element
• An option to automatically check whether or not all the user libraries are updated is Page 514 Checking for library
added. updates automatically
Options The following options are added: Page 84 Option Settings for Each
• "Project" "Navigation" "Display Setting" "Imported Library POU" "Display Function
Read-only POU"
• "Project" "Navigation" "Display Setting" "Imported Library POU" "Display
Read-protected POU" "Display Password Authentication Disabled POU"
• "Convert" "Basic Setting" "Operational Setting" "Check the ladders in which
certain instructions are used at inappropriate positions"
• "Other Editor" "Label Editor Common" "Fix the Number of Display Windows"
• "Program Editor" "ST Editor" "Editor Display Items" "Highlight Matching
Brackets"
• "Find/Replace" "Cross Reference" "Find Condition" "Include Assigned
Device in Finding Label Name"
Printing • In the "Print" screen, only the background color of a print result can be set to white. Page 92 Printing Data
• When printing a ladder program, the number of rows for device comments and the
number of rows for wrapping a device/label name can be set in the "Print" screen.
Opening a GX Works2 format • The device/label automatic-assign setting can be utilized to the CPU parameter of Page 107 Opening a GX Works2
project GX Works3. format project
Page 900 Correcting parameters
The parameters of the following modules can be imported: Page 107 Opening a GX Works2
• Input modules (QX70, QX71, QX72) format project
• CC-Link IE Controller Network-equipped module (QJ71GP21S-SX)
Verification • Unconverted functions and function blocks are displayed in the "Verify Result" Page 143 Verifying Projects
window. Page 595 Verifying
• The "Caution" column is added in the [Result List] tab of the "Verify Result" window. Programmable Controller Data
APPX
Appendix 1 Additions and Changes from Previous Version 795
Item Description Reference
Module configuration diagram • The station numbers of the modules controlled by a CPU module in another station Page 188 Editor configuration
are no longer displayed. when creating a module
• The parameter information of a cut or copied module object are utilized to the configuration diagram
parameter information of the paste destination. Page 194 Application of
parameter information
CC-Link configuration window The following iQ Sensor Solution functions are available in projects for an RnCPU and Page 210 iQ Sensor Solution
an RnENCPU:*5 functions
• Automatic detection of connected devices
• Data backup/restoration
• Sensor/device monitor
Ethernet configuration window The following iQ Sensor Solution functions are available in projects for an RnCPU and
an RnENCPU:*5
• Data backup/restoration
• Sensor/device monitor
iQ Sensor Solution function*5 • This function is available in a project using a CC-Link-AnyWireASLINK bridge
module.
Changing a module A module name, module type, and station type of the following modules can be Page 222 Change Module
changed from the shortcut menu.
• Another CPU module
• CC-Link IE built-in Ethernet module
• CPU extension module
Ladder editor • When entering an undefined label, a comment can be entered in the "Input Page 264 Creating a Ladder
Comment" screen. Program
• After pasting a ladder program including functions and function blocks to another Page 290 Pasting
project, if pasting the program again, the FB/FUN file is no longer pasted. Page 291 Pasting device
• Values in the "Increment Value" column of the "Continuous Paste" screen can be numbers or label names
copied and pasted. consecutively
The following uses are added to a simple search function. Page 295 Simple search
• Displaying instructions and labels by pressing the + keys.
• Cross-searching a standard program and a safety program for a device
• Searching for a statement or note.
By using the following menu, the cursor jumps forward or backward from the current
position to the positions where search was applied.
• [Find/Replace] [Previous]/[Next]
ST editor • Device type specifiers can be added to devices index-modified devices. Page 309 Creating an ST
FBD/LD editor Program
Page 319 Creating an FBD/LD
Program
FBD/LD editor • A function to correct the layout in an FBD network block is added. (The 'Delete the Page 335 Layout correction
Blank Column In FBD Network Block' function is integrated with this function.)
Memory size calculation • By selecting the version ('12 and earlier versions' or '13 and later versions') of an Page 432 Calculating Memory
RnSFCPU in the "Confirm Memory Size (Offline)" screen, the memory capacity can Size
be calculated according to the selected version.
Cross reference • When searching for a label that includes a label of "VAR_GLOBAL_CONSTANT" or Page 457 Displaying cross
"VAR_CONSTANT" class in the array element, a device which is assigned to the reference information
label to be searched is displayed.
Device list • Display format can be set in a batch. Page 465 Displaying Device
• When opening the device list without selecting a device, the mouse cursor is Usage
displayed in the text box of the toolbar in the list.
• When re-opening the device list, the mouse cursor is displayed at the same position
as before the list was closed.
Simulation Simulations in the following projects are supported. Page 518 PROGRAM
• Project for an R00CPU, an R01CPU, or an R02CPU SIMULATION
• Project for an RnPSFCPU
• When simulating a project for an RnSFCPU (R08SFCPU, R16SFCPU, R32SFCPU,
or R120SFCPU), the capacity of signal memory to be used (for FB) increases.
I/O system setting The following instructions can be used for a condition of setting data. Page 550 Creating setting data
• INT_TO_REAL
• REAL_TO_INT
• DINT_TO_REAL
• REAL_TO_DINT
Connection destination setting • A CPU module can be accessed via a QCPU (Q mode). Page 570 Accessing via QCPU
(Q mode)
Writing data to a programmable • For RnCPUs, RnENCPUs, and RnSFCPUs, a file with no changes from the previous Page 581 Skip overwriting data
controller writing is not written to a CPU module.*3
APPX
796 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Writing data to a programmable • For an RnSFCPU project, a standard program, standard FB, and standard FUN Page 580 Program restoration
controller excluding the program restoration information can be written to a CPU module. *3 information
Online program change Page 604 Program restoration
information
Online program change • For RnCPUs and RnENCPUs, the online program change can be performed for an Page 601 Online program change
SFC active block. of SFC programs
• For an RnPCPU (redundant mode) project, the online program change can be Page 603 Program transfer during
performed for program files, FB files, and FUN files without including the program the online program change
restoration information.*3
• For an RnPCPU (redundant mode) project, program restoration information can be Page 604 Program restoration
written in the background process.*3 information
Monitoring • When monitoring a program in an FBD/LD editor or SFC editor, word devices with Page 623 Word device
device type specifiers are displayed in the data types corresponding to the
specifiers.
Device/buffer memory batch When using the following menu in a ladder editor, FBD/LD editor, or SFC diagram Page 633 Checking Device/Buffer
monitor editor, the "Device/Buffer Memory Batch Monitor" window appears and a monitoring is Memory in a Batch
started.
• Right-click on the screen, and select [Online] from the shortcut menu [Device/
Buffer Memory Batch Monitor].
Watch • Label options can be displayed when entering a label name. Page 638 Registering to a watch
• Device type specifiers can be added to devices index-modified devices. window
Registering/canceling forced When connecting to a following CPU, input/output devices can forcibly be turned ON/ Page 644 Turning Input/Output
input/output*3 OFF. Devices ON/OFF Forcibly
• R00CPU, R01CPU, R02CPU
• RnPCPU (process mode/redundant mode)
Pause FB/restart FB • During a program execution, the execution of a process control function block can be Page 650 Pausing/Restarting the
paused or restarted. Operation of Function Blocks
• Process control function blocks whose operations are temporarily paused can be
displayed and checked in a list.
PX Developer Monitor Tool • Assignment information database files used for the GOT screen generator of PX Page 665 PX Developer Monitor
interaction Developer Monitor Tool can be exported. Tool interaction
User authentication • "Assistant Developers" is added to the access level of user.*3 Page 683 Preventing Illegal
Access to Project (User
Authentication)
A
Offline monitor • Label values displayed in GX LogViewer can be monitored on a program editor. Page 882 Checking logging data
in version 1.063R or earlier
Diagnostic The following information can be displayed in the CC-Link IE Field Network Page 717 CC-Link IE TSN/CC-
diagnostics. Link IE Field Network diagnostics
• Error history in a device station
The following modules can be diagnosed: Page 719 CC-Link IE Field
• CC-Link IE Field Network Basic remote I/O modules (NZ2MF2S1-32D, NZ2MF2S1- Network Basic diagnostics
32T, NZ2MF2S1-32TE1, NZ2MF2S1-32DT, NZ2MF2S1-32DTE1) Page 717 CC-Link IE TSN/CC-
• CC-Link IE Field Network remote I/O modules (NZ2GF12A-60IOLH8, NZ2GFSS2- Link IE Field Network diagnostics
16DTE, NZ2GFSS2-8D, NZ2GFSS2-8TE, FCU8-EX564, FR-A8NCE)
• MELIPC (MI5122-VW)
• The 'simple CPU communication diagnostics' function is available.*3 Page 722 Simple CPU
communication diagnostics
Safety operation mode • The file size of a safety project does not increase when switching the safety Page 764 Safety operation mode
switching operation mode of a CPU module without changing data in the project. switching
APPX
Appendix 1 Additions and Changes from Previous Version 797
Item Description Reference
CC IE Field configuration • MELSOFT FieldDeviceConfigurator can be started by double-clicking a CC-Link IE FieldDeviceConfigurator
window Field Network waterproof remote IO-Link module (NZ2GF12A-60IOLH8) that is Operating Manual
placed in this window.
When MELSOFT FieldDeviceConfigurator is started, the following items set in GX
Works3 are applied to the configurator: start I/O number and network number of the
master station, station numbers of device stations, and connection destination
setting information.
(To use this function, it is required that Version 1.02C or later of MELSOFT
FieldDeviceConfigurator has been installed.)
• When setting module parameters of a safety remote I/O module in the "Parameter
Processing of Device Station" screen, "Wiring selection of input" are set as follows:
If "1: Double wiring (NC/NC)" is set in a wiring selection of input Xn (n: even
number), the same setting is automatically applied to Xn+1 which makes a pair with
Xn.
• Strings copied in another application such as Excel can be pasted to the station list
in this window.
Interaction with iQ Works The following operations can be performed in MELSOFT Navigator:
(FX5CPU)*2 • Applying label information assigned in wirings (CHs) of analog inputs/outputs in an
electrical CAD file which is imported in MELSOFT Navigator to global labels in GX
Works3
• Setting global labels in GX Works3 for label information assigned in wirings (CHs) of
analog inputs/outputs in MELSOFT Navigator, and exporting the label information as
an electric CAD file
FX5CPU • A power supply capacity and I/O points can be checked. Page 198 Checking the power
supply capacity and I/O points
• A simulation environment file can be saved. Page 545 Saving a simulation
• A simulation environment file can be opened. environment file
Page 546 Opening a simulation
environment file
• The GOT transparent function, which connects a personal computer and a GOT, and Page 569 Accessing via GOT
the GOT and a CPU on Ethernet, is available.*4 (GOT Transparent Function)
Parameters
Category Module Module Parameter*3*4 Description
type
CPU RnCPU "Memory/Device Setting" "Device/Label Newly added
parameter RnENCPU Memory Area Setting" "Cassette Setting"
"Battery-less Option Cassette Setting"
RnSFCPU Memory/Device Setting" "Device/Label In a safety project, the configuration of the
Memory Area Setting" "Device/Label device/label memory area can be checked.
Memory Area Capacity Setting" "Device/
Label Memory Configuration Confirmation"
Module RnCPU "Application Settings" "Web Server Settings" Newly added
parameter RnENCPU "Application Settings" "Simple CPU Newly added
Communication Setting"
RnCPU High speed data logger "Basic Settings" "Various Operations "Online(Asynchronous Mode)" can be
RnENCPU module (RD81DL96) Settings" "Mode Settings" selected.
RnPCPU MES interface module
RnSFCPU (RD81MES96)
APPX
798 Appendix 1 Additions and Changes from Previous Version
Version 1.047Z
Item Description Reference
Cross reference • When searching for a label by entering the name of the device which was assigned Page 457 Displaying cross
to a label, only the label that the name of assigned device completely matches with reference information
the entered name is displayed in the search result.
Monitoring The following contents are improved in the monitor value display area of variable Page 624 Monitor value display
(FBD/LD editor, SFC diagram elements. area of variable elements
editor) • It is displayed at the front when overlapping.
• The font size is increased.
• The position can be changed.
• It can be enlarged.
Device test with execution While running a ladder program of a project for which any of the following CPU Page 646 Changing Device/Label
conditions modules, a device or label value can be changed according to the conditions which Value by Setting Conditions
were set in advance.*3
• RnCPU
• RnENCPU
Opening a GX Works2 format • Instructions that are automatically replaced in an ST or FBD/LD program are Page 901 Automatic replacement
project increased. of elements (GX Works3 Version
1.047Z or later)
PROFIBUS Configuration Tool In projects for an RnPCPU (redundant mode), an RnSFCPU, and an RnPSFCPU, the MELSEC iQ-R PROFIBUS-
following functions of PROFIBUS Configuration Tool are available. DP Module User's Manual
• Upload Configuration Image (Application)
• Download Configuration Image
(To use this function, it is required that Version 1.01B or later of PROFIBUS
Configuration Tool has been installed.)
Writing data to a programmable • Unused structures can be written to a CPU module.
controller • An error message is displayed when writing of device comments fails.
Reading data from a • Unused structures are read as unconverted ones.
programmable controller • When reading module parameters of a CC-Link IE Field Network module, a
message indicating to check whether the parameters of a device station needs to be
deleted is displayed.
Watch • By entering a value right after a device or label that is displayed in a program editor
and whose data type is not the bit type is registered in a watch window, the current A
value can be changed to the entered value.
FX5CPU • When using the online program change function, a program and program restoration Page 604 Separate writing of a
information can separately be written.*3 program and program restoration
information (FX5CPU only)
Parameters
Category Module Module Parameter*3*4 Description
type
CPU FX5CPU "Program Setting" "Program Capacity Newly added
parameter Setting"
Version 1.050C
Item Description Reference
Work window • Floating work windows can be combined as one window. Page 53 Combining work
windows in one window
Options The following option is added: Page 84 Option Settings for Each
• "Program Editor" "Ladder Editor" "Ladder Diagram" "Display Format" Function
"Autofit Text Size"
Opening a GX Works2 format • The MELSOFT connection extended setting of high-speed universal model QCPUs Page 107 Opening a GX Works2
project can be applied to the module parameter of GX Works3. format project
Opening a GX IEC Developer • When opening a GX IEC Developer format project in GX Works3, the comments of Page 115 Opening a GX IEC
format project an IL/MELSEC IL programs and FBD/LD programs can be imported with left-aligned. Developer format project
Property • When saving a project, data can be compressed. Page 137 Compressing a project
file
Verification The details of the verification results of the following programs are displayed in the Page 145 Checking a verification
detailed display (diagram/table format) screen. result
• Ladder program
• FBD/LD program
• SFC program
APPX
Appendix 1 Additions and Changes from Previous Version 799
Item Description Reference
Tag FB • Up to 1000 tag FBs can be registered into a project. Page 249 Registering Tag FBs
Page 665 Exporting an
assignment information database
file
Ladder editor When a ladder editor is split, the focus on the editor can be moved by using the Page 264 Configuration of a
following menu. ladder editor
• [Window] [Split Window Operation] [Focus on Next Window]/[Focus on
Previous Window]
By using the following menu, the character size is automatically adjusted according to
the display magnification of a ladder editor.
• [View] [Text Size] [Autofit]
By using the following menu, the display magnification of a ladder editor is
automatically adjusted according to the window width.
• [View] [Zoom] [Fit the editor width to the window width]
• Ladder editors displayed vertically can individually be scrolled. Page 267 Splitting a ladder editor
• Even when the definition of a function block or function is deleted, the FB instance or Page 276 Function block whose
function on the ladder program will not be deleted. definition is unclear
• Ladder blocks that contain FB instances or functions can be copied from a project Page 280 Function whose
including the definitions of the function blocks or functions to a project including no definition is unclear
definition.
ST editor When a ladder editor is split, the focus on the editor can be moved by using the Page 309 Configuration of an ST
Device comment editor following menu. editor
Device memory editor • [Window] [Split Window Operation] [Focus on Next Window]/[Focus on Page 402 Configuration of a
Previous Window] device comment editor
Page 435 Configuration of a
Device Memory Editor
FBD/LD editor By setting the following options, text layout of a newly added comment element can be Page 319 Creating an FBD/LD
SFC diagram editor set. Program
• "Program Editor" "FBD/LD Editor" "Enter Element" "Operational Setting" Page 342 Creating an SFC
"Comment element text layout" Program
• "Program Editor" "SFC Diagram Editor" "Enter Element" "Operational
Setting" "Comment element text layout"
• Text layout can be set for each comment element.
• Tab characters can be used for comment elements.
Creating a program • Sequential Function Chart language is supported in a project for an RnPCPU Page 342 Creating an SFC
(redundant mode).*3 Program
SFC diagram editor • When creating a block or deleting all SFC elements in an SFC program, 'S0' is
assigned to the initial step.
Reading sample comments Sample comments of the following intelligent function modules can be read. Page 409 Reading sample
• RD60P8-G comments
• RD60P8-G(Q)
• R60ADI8-HA
• RE81WH
Program check • Devices assigned to labels are included in the target of the duplicated coil check. Page 418 Target of duplicated coil
check
Memory size calculation For the following CPU modules, by selecting the version of a CPU module in use in the Page 432 Calculating Memory
"Confirm Memory Size (Offline)" screen, the memory capacity of global label Size
assignment information can be calculated.
• RnCPU and RnENCPU: '40 and later versions'
• RnSFCPU: '16 and later versions'
Search/replacement • The display status of "Find/Replace Options" in the "Find and Replace" window is Page 448 Searching for/
retained even after exiting GX Works3. Replacing Devices and Labels
Page 450 Searching for/
Replacing Instructions
Page 451 Searching for/
Replacing Character Strings
Page 453 Changing Contacts
between Open Contact and Close
Contact
Page 454 Batch Replacing of
Devices and Labels
APPX
800 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Cross reference • When selecting a device or label in an editor, the row of the device or label in the Page 460 Device or label selected
search result of a cross reference window is also selected. in an editor
• By displaying a cross reference window while a local label is selected in a program Page 459 Label type and range
editor, the names of both the program in which the label is used and the label are specification method
automatically entered in the input field in the window. Page 460 Local label selected in
• By entering a label name, to which a character string such as a program file name is an editor
appended, in the input field, the type and range of the labels to search for can be
specified.
Simulation • Functions that use an SD memory card can be simulated by creating a virtual SD Page 542 SD memory card
memory card file.
The following operations can be performed for GX Simulator3. Page 581 Skip overwriting data
• RnCPUs, RnENCPUs, and RnSFCPUs: omission of writing files that are not Page 603 Program transfer during
changed the online program change
• RnPCPUs (redundant mode): background processing of program transfer (writing
the program restoration information) during changing a program online
A project including the following module can be simulated: Page 933 Modules supported by
• CC-Link IE Controller Network module (RJ71GP21S-SX) GX Simulator3
The following CPU module functions are available: Page 942 Supported CPU module
• RnCPUs, RnENCPUs, RnPCPUs, RnPSFCPUs, and RnSFCPUs: writing to an SD functions
memory card/reading from an SD memory card
• RnCPUs and RnENCPUs: real-time monitor, memory dump, web server, online
change (SFC block), local device and label specification for target data/condition
specification of the data logging function
• RnPCPUs: external input/output forced on/off
• RnSFCPUs: selection writing of program restoration information, LED control setting
for program restoration information write status
A virtual SD memory card is available when using the following CPU module functions.
• RnCPUs, RnENCPUs, RnPCPUs, RnSFCPUs, and RnPSFCPUs: device/file usage
setting, label communication from GOT
• RnCPUs, RnENCPUs, RnPCPUs: event history
The following instructions are available: Page 952 Supported instructions
• Output instruction (DELTA(P))
• Reading/writing data instructions
"Memory Card" can be selected in the following CPU parameter items: Page 956 Supported parameters A
• "File Setting" "Initial Value Setting" "Target Memory"
• "RAS Setting" "Event History Setting" "Save Destination"
This makes it possible to write the following files to a virtual SD memory card file.
• Device initial value file
• Global label initial value file
• Local label initial value file
• Event history file
The following memory card parameter is available:
• Setting of File/Data Use or Not in Memory Card
The following module parameter is available:
• Web Server Settings
Specifying a connection • GX Works3 can access an RnPSFCPU by using the GOT transparent function*4. Page 569 Accessing via GOT
destination (GOT Transparent Function)
Writing data to a programmable • For an RnPCPU, a file with no changes from the previous writing is not written to a Page 580 Writing data to a
controller CPU module.*3 programmable controller
Page 581 Skip overwriting data
• When writing a program to a CPU module after converting all programs, all the
programs which are displayed in the "Online Data Operation" screen are
automatically selected their checkboxes.
File password • A password can be registered for files in the SD memory card inserted in a personal Page 610 File password function
computer. Page 692 Preventing Illegal Data
Reading/Writing (File Password )
Monitoring • Ladder editor: The monitor values of devices which are used as the arguments for Page 620 Ladder
input/output labels of a standard function or a standard function block are displayed Page 622 ST
in the data types of the input/output labels.
• ST editor: The monitor value of a device which is used as an argument of an
instruction is displayed in the data type corresponding to that of the instruction.
• While monitoring a program in an SFC diagram editor, activated steps can be Page 630 Monitoring SFC steps
displayed.*3 which were activated
Registering/canceling forced • When connecting to an RnSFCPU, input/output devices can forcibly be turned ON/ Page 644 Turning Input/Output
input/output OFF.*3 Devices ON/OFF Forcibly
APPX
Appendix 1 Additions and Changes from Previous Version 801
Item Description Reference
User authentication • Users can log on to a project and a CPU module as a guest user. (It is required that Page 684 Guest user
the CPU module supports 'Assistant Developers.'*3)
Diagnostics • When connecting a personal computer to a sub-master station which operates as Page 705 Sensor/Device Status
the master station in CC-Link IE Field network using a USB cable, the "Sensor/ Check
Device Monitor" screen appears.
• The name of a program block in an FB file or a FUN file where a CPU error occurs is Page 708 Module Diagnostics
displayed in the module diagnostics screen.
The following modules can be diagnosed: Page 717 CC-Link IE TSN/CC-
• CC-Link IE Field Network block type remote IO-Link module (NZ2GF2S-60IOLD8) Link IE Field Network diagnostics
• Ethernet modules can be diagnosed in the simple CPU communication
diagnostics.*4
AnyWireASLINK configuration • In a project using a CC-Link-AnyWireASLINK bridge module, up to 256 remote
window modules can be placed in this window.
AnyWireASLINK configuration Item names in this window are changed as follows:
window • "Transmission Points""Bit Data Points"
Sensor/device monitor • "Occupied I/O Pts""Occupied Bit Pts" and "Occupied Word Pts"
CC-Link configuration window Item names in this window are changed as follows:
• "Intelligent Buffer Select (Word)""Intelligent Buffer Selection (decimal-word unit)"
CC IE Field configuration • When opening this window, "Assignment Method" which was previously selected is
window displayed.
• When copying and pasting a device station in this window, its parameters are also
copied and pasted.
The "Device No. Reassignment" screen appears by selecting the following menu. In
this screen, device numbers can sequentially be assigned to the link devices on a
device station.
• [CC IE Field Configuration] [Device No. Reassignment]
The following function is available when connecting a personal computer and the sub-
master station that operates as a master station in CC-Link IE Field Network with a
USB cable:
• Automatic detection of connected devices
Initial values or read values can be applied to write values by clicking the following
buttons in the "Parameter Processing of Device Station" screen:
• Copy "Initial Value" to "Write Value"
• Copy "Read Value" to "Write Value"
• A safety module can be enabled when writing parameters to the module by selecting
the checkbox of "Enable safety module when succeed to write parameter" in the
"Parameter Processing of Device Station" screen.
• The "Parameter Processing of Device Station" screen can be closed with discarding
current changes by clicking the [Cancel] button in the screen.
FX5CPU • The system monitor function is available.*3 Page 702 Module Status Check of
a System
• The sensor/device monitor function can be performed in a project using Page 705 Sensor/Device Status
AnyWireASLINK. Check
The following modules can be diagnosed: Page 708 Module Diagnostics
• FX5-20PG-P, FX5-20PG-D, FX5-ENET
• The 'simple CPU communication diagnostics' function is available.*3
APPX
802 Appendix 1 Additions and Changes from Previous Version
Parameters
Category Module Module Parameter*3*4 Description
type
CPU RnPCPU (redundant mode) "Redundant System Settings" "Redundant Newly added
parameter Behavior Setting" "Setting to Wait Receiving
Cyclic Data after Switching System"
"Redundant System Settings" "Tracking Step relays (S) can be set.
Setting" "Tracking Device/Label Setting"
"Device/Label Detailed Setting" "<Detailed
Setting>"
Module RnCPU "Basic Settings" "Own Node Settings" Newly added
parameter RnENCPU "Communications by Network No./Station No."
"Application Settings" "Network/Station No. Newly added
<-> IP information setting"
RCPU Ethernet interface "Application Settings" "MODBUS/TCP Newly added
modules Settings"
(_RJ71EN71(E+IEC), "Application Settings" "Simple CPU Newly added
_RJ71EN71(E+IEF),
Communication Setting"
RJ71EN71(E+CCIEC),
RJ71EN71(E+CCIEF),
RJ71EN71(E+E))
Version 1.052E
Item Description Reference
Options (RCPU) The following option is added: Page 85 Optimization of the
• "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of number of steps
Steps" "Optimize Level"
The following option is changed.
• Before change (version 1.015R to 1.050C)
"Optimize the Number of Steps.": Yes
• After change (version 1.052E)
"Optimize the Number of Steps.": Yes
"Optimize Level": Level 1
A
FX5CPU When verifying the device memory with the default settings, special relays (SM) and Page 596 Device memory
(Verifying data with a special registers (SD) are not verified.
programmable controller)
APPX
Appendix 1 Additions and Changes from Previous Version 803
Version 1.055H
Item Description Reference
Process control function • Initial values of FB properties saved in a project can be exported to a CSV file. Page 23 List of functions
The initial values of FB properties can be imported from the CSV file into the project. supporting a process control
system
Page 397 FB property
management (offline)
• Execution intervals and phases of an FBD/LD program for process control can be Page 26 Process control
set in the "Program File Setting" screen. extension toolbar
Page 263 Execution interval and
phase
Menu The following menus are changed. Page 61 Basic menus
• Before change (version 1.032J to 1.054G) Page 666 FB Property
[Online] [FB Property] [Update the Initial Value of FB Property]/[FB Property Management (Online) screen
Management]
• After change (version 1.055H)
[Online] [FB Property Management (Online)]
Multiple comments • Comments of elements, which have been used in a project, such as common Page 83 Reading comments
instructions or module FBs can be read.
• Comments of the following elements are applied to the same read destination as
sample comments: common instructions, standard functions, standard function
blocks, module FBs, and module labels. Therefore, while displaying sample
comments in an editor, the comments of the other elements such as common
instructions or module FBs can be displayed.
Opening a GX Works2 format • The parameters of a channel isolated pulse input module (QD60P8-G) can be Page 108 Data to be changed
project imported.
• Elements that are automatically replaced in an ST or FBD/LD program are Page 901 Automatic replacement
increased. of elements (GX Works3 Version
1.047Z or later)
Copying and pasting • When copying and pasting a program block including a function or a function block to Page 130 Copying and pasting
another project, whether to copy the FB file or the FUN file of the elements can be data
selected.
• A program block including a module FB can be copied and pasted to another project.
Verification • A verification result of an ST program can be displayed in a list. Page 150 Detailed display
• Details of a verification result of an ST program are displayed in the detailed display (program)
(diagram/table format) screen. Page 154 Detailed display
• Only the mismatched data can be displayed in the detailed display (diagram/table (diagram/table format)
format) screen.
Reading sample comments • When adding an intelligent function module to a project, sample comments for the Page 207 Setting parameters
module can be read. Page 409 Reading sample
comments
CC-Link IE TSN configuration • In projects for an RnCPU and an RnENCPU, a CC-Link IE TSN system can be Page 208 Setting network
window configured using this window. configuration and target devices
MELSEC iQ-R CC-Link IE
The following items can be set for a device station:
TSN User's Manual (Application)
• Motion Control Station
• PDO Mapping Setting
• Communication Period Setting
The PDO mapping parameters of device stations can be set in a batch by using the
following menu:
• [CC-Link IE TSN Configuration] [Batch Setting of PDO Mapping]
The following functions are available for CC-Link IE TSN supported devices:
• Connected/disconnected module detection
• Parameter of device station
• Command execution of device station
Device assignment confirmation • Refresh devices which are assigned to a device station can be checked when using Page 211 Checking refresh
a CC-Link IE TSN module. devices assigned to a module
• Content in the "Explanation" column displayed in the link device list of the "Device Page 213 Applying explanations
Assignment Confirmation" screen can be applied to the device comment for each to device comments
refresh device when using a CC-Link IE TSN module.
Module tool list The following modules are supported. (Predefined Protocol Support Tool For Page 218 Displaying the module
Positioning) tool list
• RJ71C24
• RJ71C24-R2
• RJ71C24-R4
APPX
804 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Assigned device check • Devices assigned to the global label can be checked if there is a same device Page 241 Checking assigned
assigned to another label. devices
Structure definition • Reserved area capacities of structure members can be set in the "Properties" screen Page 242 Setting reserved area
of a structure definition. capacities
• The online program change can be used after editing a structure definition by setting
the reserved area capacities.
Label editor • Data including devices assigned to structure members can be exported to an XML Page 245 Exporting/importing a
file. label
Page 246 XML file
Creating a program If "Yes" is selected for the following option, devices and labels for which a device Page 269 Inserting contacts,
Search/replacement comment has been set can be displayed as options by entering a device comment coils, instructions, arguments
Watch when searching for/replacing a device, inputting it in a program, or registering it in a Page 312 Inserting instructions,
watch window. functions, and control syntax
• "Edit" "Instruction/Device/Label Candidacy Display" "Candidate Display Page 325 Using the edit box
Setting" "Display the Device to Which Device Comment Has Been Set" Page 405 Device comment
including @
Page 448 Searching for/
Replacing Devices and Labels
Page 453 Changing Contacts
between Open Contact and Close
Contact
Page 454 Batch Replacing of
Devices and Labels
Page 638 Registering to a watch
window
Importing/exporting ladder • When importing a program including a function block or function, the function block, Page 298 Importing from a CSV
programs function, and FB instance can be imported as undefined elements. file
(CSV file)
ST editor • Change tracking of a program is displayed. Page 309 Configuration of an ST
editor
FBD/LD editor • By pressing the +/// keys, the cursor can be moved on an editor Page 319 Configuration of an
without selecting elements. FBD/LD editor
• The display format for Input/output labels of a function element and a function block
element can be changed to their label comments. A
• The size of a comment element, function element, and function block element can Page 321 Elements
be changed. Page 332 Changing the element
size
SFC diagram editor • By pressing the +/// keys, the cursor can be moved on an editor Page 343 Configuration of an
without selecting elements. SFC diagram editor
• By selecting [View] [Open Zoom/Start Destination Block] on a step, the action
(Zoom) assigned to the step can be opened.
Device comment • By using '@' in device comments, options of devices can be refined when searching Page 405 Device comment
for/replacing a device, inputting it in a program, or registering it in a watch window. including @
Device memory editor • Only the values within the range specified in a device memory editor can be written Page 439 Writing/Reading Data
to/read from a CPU module. to/from CPU Module
Highlighting display • A row displayed in the following windows and screen can be highlighted: a cross Page 462 Highlighting display
reference window, the "Output" window, and the "Find Result" screen.
Library • A project including a module label or a module FB can be exported as a library file.
• If an element with the same name as one in a library file to be imported exists in a Page 512 Utilizing an element
project, the element can be overwritten in importing the file.
• Multiple elements can be utilized to a project in a batch.
• Elements created in Ladder Diagram language or Sequential Function Chart Page 514 Updating library POUs
language can be updated.
Connection destination setting • An Ethernet board to communicate with an RCPU module can be selected in GX Page 560 Specifying the Ethernet
Works3. adapter on the personal computer
side
• A CPU module can be accessed via QJ71E71-100. Page 571 Accessing via
QJ71E71-100
Parameter of a device station on • Parameters of a device station on CC-Link IE TSN can be written to, read from, or Page 583 Parameter
CC-Link IE TSN*3,*4 deleted from a CPU module or the SD memory card inserted in the CPU module. Page 590 Parameters
• When writing parameters of a device station on CC-Link IE TSN to a CPU module or Page 605 Writing data for each
an SD memory card inserted in the CPU module, the parameters are automatically file while a CPU module is running
set to the device station. (file batch online change)
APPX
Appendix 1 Additions and Changes from Previous Version 805
Item Description Reference
Writing data to a programmable • In a project for an RnPCPU, only the program restoration information of a program Page 580 Program restoration
controller*3 file, FB file, and FUN file can be written to a CPU module. information
• Writing of a memory card parameter which has not been changed can be skipped. Page 581 Skip overwriting data
• Even when selecting an SD memory card as the writing destination, writing of data
which has not been changed can be skipped.
Online program change*3 • In a project for an RnPCPU, only the program restoration information of a program Page 580 Program restoration
file, FB file, and FUN file can be written to a CPU module. information
• Safety data can be written to an RnSFCPU in the test mode. Page 597 Writing Programs While
a CPU Module is in the RUN State
• The online change (SFC block) can be performed for an RnPCPU. Page 601 Online program change
of SFC programs
Monitoring By using the following menu, the right half of the split window can be displayed or Page 622 ST
(ST editor) hidden.
• [Monitor] [Switch ST Monitor Display (All)]/[Switch ST Monitor Display (Bit Type
Only)]
Watch • The display format of a device or label can be changed. Page 638 Operating a watch
• The data type of a device can be changed. window
When comments have been set in the following device comments, those local devices Page 638 Registering to a watch
are displayed as options by entering '/' at the end of a program file name. window
• Common device comment
• Each program device comment with the same name as the program file name
Device test with execution • In a project for an RnPCPU, a device or label value can be changed according to the Page 646 Changing Device/Label
conditions*3 conditions set in advance. Value by Setting Conditions
PX Developer Monitor Tool • When exporting an assignment information database file, an "_" (underscore) at the Page 665 Exporting an
interaction end of a tag name can be deleted. assignment information database
file
Sensor/device monitor The following display items are added: Page 705 Sensor/Device Status
• Transmission cycle time for bit and word data Check
• Input status of a word remote module
Diagnostics The following modules can be diagnosed in projects for an RnCPU and an RnENCPU: Page 717 CC-Link IE TSN/CC-
• CC-Link IE TSN module (RJ71GN11-T2) Link IE Field Network diagnostics
• DC safety I/O module (NZ2GFS12A2-14DT, NZ2GFS12A2-16DTE)
• DC input/transistor output combined modules (NZ2GN2B1-32DT, NZ2GN2B1-
32DTE, NZ2GN2S1-32DT, NZ2GN2S1-32DTE)
• DC input modules (NZ2GN2B1-32D, NZ2GN2S1-32D)
• Transistor output modules (NZ2GN2B1-32T, NZ2GN2B1-32TE, NZ2GN2S1-32T,
TNZ2GN2S1-32TE)
• Analog input modules (NZ2GN2B-60AD4, NZ2GN2S-60AD4)
• Analog output modules (NZ2GN2B-60DA4, NZ2GN2S-60DA4)
• Inverters (FR-A800-GN, FR-F800-GN)
Options The default value for the following option is changed. Page 876 Using a project, which
• Before change (version 1.052E to 1.054G) was created in version 1.055H or
"Optimize Level": Level 2 later, in version 1.050C or earlier
• After change (version 1.055H)
"Optimize Level": Level 1
The following options are added:
• "Project" "Add New Module" "Operation Setting" "Read Sample Comment"
• "Program Editor" "Common Item" "Verify" "Verify Setting" "Minimize the
Detailed Display (List Format)"
• "Program Editor" "ST Editor" "Verify" "Verify Setting" "Minimize the
Detailed Display (List Format)"
• "Program Editor" "ST Editor" "Editor Display Items" "Track Changes"
• "Program Editor" "FBD/LD Editor" "Comment" "Display Item" "Switch FB/
FUN Argument to Comment"
• "Other Editor" "Label Editor Common" "Extended Display Setting" "Item
Name to Show in Hierarchy Display Area"
• "Edit" "Instruction/Device/Label Candidacy Display" "Candidate Display
Setting" "Display the Device to Which Device Comment Has Been Set"
• "Online" "Write to PLC" "Operational Setting" "Show a completion message
when the window is automatically closed in executing"/"Show a write completion
message in completing writing to Safety PLC"
• "Convert" "Basic Setting" "Operational Setting" "Structured Data Type"
"Enable to Set Reserved Area"
• "Convert" "Basic Setting" "Operational Setting" "Check the Consistency of
Global Label"
• "Convert" "Process Control Extension Setting" "Tag FB" "PX Developer
Monitor Tool Interaction" "Remove Underscore at the End of Tag Name"
APPX
806 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Simulation The following operation can be performed for GX Simulator3. Page 581 Skip overwriting data
• RnPCPU: omission of writing files that are not changed
A project including any of the following modules can be simulated: Page 933 Modules supported by
• Main base unit (R33B) GX Simulator3
• Channel isolated pulse input modules (RD60P8-G, RD60P8-G(Q))
• HART communication analog input module (R60ADI8-HA)
• Energy measuring module (RE81WH)
The following CPU module functions are available: Page 942 Supported CPU module
• RnCPUs, RnENCPUs, and RnPCPUs: SFC-activated step monitor functions
• RnCPUs, RnENCPUs, and RnSFCPUs: event history logging restriction
• RnCPUs and RnENCPUs: device test with execution conditions
• RnPCPU (redundant mode): Program execution (SFC support), SFC program
(diagram) monitor (SFC support)
• RnSFCPUs: external input/output forced on/off
The following instructions are available: Page 952 Supported instructions
• RnCPUs and RnENCPUs: file operation instructions, data processing instructions
(SORTTBL(_U), SORTTBL2(_U), DSORTTBL2(_U))
• R00CPU, R01CPU, and R02CPU: data shift instructions, clock instructions
(DATE2SEC(P)(_U), SEC2DATE(P)(_U))
• RnPCPU (redundant mode): SFC control instructions, SFC dedicated instruction
• RnSFCPU: safety system instruction
The following CPU parameter is available: Page 956 Supported parameters
• RnPCPU (redundant mode): SFC Setting
• A multiple CPU system in which an RnSFCPU is set as the CPU No.1 can be
simulated.
• A monitoring interval can be specified for monitoring data of an RnCPU or an
RnENCPU with the realtime monitor function.
Opening a PX Developer format If a specific condition is satisfied, the setting of the following option is changed to "Yes." Page 923 Tag names to which an
project • "Convert" "Process Control Extension Setting" "Tag FB" "PX Developer underscore is added
Monitor Tool Interaction" "Remove Underscore at the End of Tag Name"
• Elements that are automatically replaced in an FBD/LD program are increased. Page 921 Automatic replacement
of instructions
e-Manual Viewer interaction • Sample programs including a function block (ladder programs) can be used in GX
Works3.
Page 982 Using Sample
Programs
A
APPX
Appendix 1 Additions and Changes from Previous Version 807
Item Description Reference
Printing • When printing a ladder program or an FBD/LD program, label comments displayed
in the program editor can be printed by selecting the checkbox of "Device/Label
Comment" in the "Print" screen.
• When printing an FBD/LD program, by selecting the checkbox of "FB/FUN Argument
Comment" in the "Print" screen, the program can be printed with the display format
for the input/output labels of function and function block elements changed to their
label comments.
• The module information of AnyWireASLINK configuration can be printed.
AnyWireASLINK configuration • When "10: 0 points (0 input points/0 output points)" is set for "Transmission points
window setting" in the module parameter for RJ51AW12AL, "0 points (No Bit Data)" is
displayed for "Bit Data Points" in this window.
• The content displayed for "TX Cycle Time (Approx.)" in this window switches
depending on the value set for "To use or not to use word data setting" in the module
parameters for RJ51AW12AL.
The following iQ Sensor Solution functions are available for word remote modules:*5
• Automatic detection of connected devices
• Sensor parameter read/write
• Sensor/device monitor
• Data backup/restoration
CC IE Field configuration • Refresh devices are displayed.
window
Supplementary information of refresh devices can be displayed by selecting the
following menu:
• [View] [Docking Window] [Supplementary Information]
Object names can be displayed or hidden by selecting the following menu:
• [View] [Object Name Display]
The object name of a target module can be replaced with the module name selected as
a replacement candidate by selecting the checkbox of the following item in the
"Replace General CC IE Field Module" screen:
• Replace the object name of replacement target module to the module name selected
in replacement candidate
Ladder editor • By pressing + keys while directly entering a label comment or device
comment on an editor, the entire character string of the comment can be selected.
Continuous paste screen • The paste direction selected in this screen is applied to the next and subsequent
(Ladder editor) continuous paste.
Conversion • When a device with latch setting has been assigned to the 'VAR_GLOBAL' class or a
device without latch setting to the 'VAR_GLOBAL_RETAIN' class in the global
setting, a conversion error occurs.
Simple CPU communication Up to 512 rows of the communication destination network statuses can be displayed in
diagnostics the "Simple CPU Communication Diagnostics" screen while diagnosing the following
modules.
• _RJ71EN71 (E+IEC)
• _RJ71EN71 (E+IEF)
• RJ71EN71 (E+CCIEC)
• RJ71EN71 (E+CCIEF)
• RJ71EN71 (E+E)
Others • The S.PHPL2 instruction can be used in a project for an RnPCPU.
• The CPU module data backup/restoration function is available in a project for an
RnPCPU.*3
• Saving an event history log is restricted in projects for an RnCPU and an
RnENCPU.*3
Options The following option is added: Page 85 Optimization of the
(FX5CPU) • "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of number of steps
Steps" "Optimize Level"
Memory size calculation • Capacities of labels and latch labels can be displayed in a graph in the "Confirm Page 432 Calculating Memory
(FX5CPU) Memory Size (Offline)" screen. Size
Simulation By selecting "Yes" for the following option, parameters, programs, and optional data Page 522 Starting a simulation
(FX5CPU) are automatically written to GX Simulator3 when simulation is started:
• "Simulation" "Start Simulation" "Operational Setting" "Automatically write
programs and parameters when starting simulation."
APPX
808 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Result of power supply capacity The following items are added in the window:
and I/O points check window • Total Number of Points (Current/Maximum)
(FX5CPU) • Number of I/O Points (Current/Maximum)
• Number of Remote I/O Points (Current/Maximum)
• Actual Number of Input Points for Control
• Actual Number of Output Points for Control
24 VDC current consumption is divided into the following two kinds and displayed
separately:
• Internal consumption current
• External consumption current
• Display contents can be exported to a CSV file by clicking the [Output the CSV file]
button.
• Column titles can be copied by selecting all the items and copying them.
CC-Link IEF Basic configuration The default value of the following item in the "Link Scan Setting" screen is changed to
window "500 ms."
(FX5CPU) • "Remote Station Disconnect Detected Setting" "Time-out Period"
Parameters
Category Module Module Parameter*3*4 Description
type
System RnSFCPU "Multiple CPU Setting" "Communication Newly added
parameter Setting between CPU" "Fixed Scan
Communication Area Setting"
"Inter-module Synchronization Setting" "Synchronize" can be selected in the "Setting"
"Select Inter-module Synchronization Target column for an RnSFCPU in the "Select the
Module" "<Detailed Setting>" Synchronous Target Module" screen.
CPU RnCPU "Memory/Device Setting" "Link Direct Newly added
parameter RnENCPU Device Setting"
RnSFCPU "RAS Setting" "Error Detections Setting Newly added
"Synchronous Interrupt Program (I44,I45)
Executing Time Excessive"
"RAS Setting" "CPU Module Operation Newly added
Setting at Error Detection" "Synchronous A
Interrupt Execution Interval Error (CPU
Module)"
"Refresh Setting between Multiple CPUs" Newly added
"Refresh Setting (At I45 Exe.)"
"Program Setting" "<Detailed Setting>" 'I44' and 'I45' can be set in the "Event
Execution Type Detailed Setting" screen.
APPX
Appendix 1 Additions and Changes from Previous Version 809
Category Module Module Parameter*3*4 Description
type
Module RCPU Channel isolated digital- "Application setting" "Disconnection Newly added
parameter analog converter detection function"
modules (R60DA8-G,
R60DA8-G(Q),
R60DA16-G)
CC-Link IE Controller "Application Settings" "Link points extended Newly added
Network modules setting"
(RJ71GP21-SX(R),
RJ71GP21S-SX(R))
Ethernet interface "Application Settings" "Simple CPU • Up to 512 rows can be set for "Setting No.".
modules Communication Setting" "<Detailed • "On Request" can be set for
(_RJ71EN71(E+IEC), Setting>" "Communication Setting."
_RJ71EN71(E+IEF), • "MELSEC-A/AnS (Ethernet Module)" and
RJ71EN71(E+CCIEC), "MELSEC-FX3 (Block/Adaptor)" can be
RJ71EN71(E+CCIEF), selected for "Communication Destination."
RJ71EN71(E+E)) • The communication destinations can be
filtered.
RnCPU OPC UA server module "Basic Settings" "Various Operations "Online(Asynchronous Mode)" can be
RnENCPU (RD81OPC96) Settings" "Mode Settings" selected.
RnPCPU
Flexible high-speed I/O "Application setting" "ADCValue logging Newly added
RnSFCPU
control module function"
(RD40PD01)
Ethernet interface "Application Settings" "Link points extended Newly added
modules setting"
(_RJ71EN71(CCIEC),
_RJ71EN71(E+IEC),
RJ71EN71(CCIEC),
RJ71EN71(E+CCIEC))
AnyWireASLINK master "Basic setting" "Easy replacement enable/ Newly added
module (RJ51AW12AL) disable setting for one slave module"
RnCPU CC-Link IE TSN module "Basic Settings" "Refresh Setting" Link side devices can be set in a batch.
RnENCPU (RJ71GN11-T2) "<Detailed Setting>" (Page 216 Setting link side devices in a
batch (CC-Link IE TSN))
Memory card RnCPU "Setting of File/Data Use or Not in Memory Newly added
parameter RnENCPU Card" "Device Station Parameter"
Version 1.056J
Item Description Reference
Motion control setting function • The motion control setting function is available. Page 219 Motion control setting
function
Diagnostics The following module can be diagnosed in projects for an RnCPU and an RnENCPU: Page 717 CC-Link IE TSN/CC-
• CC-Link IE TSN compatible motion modules (RD78G4, RD78G8, RD78G16, Link IE Field Network diagnostics
RD78G32, RD78G64)
• Servo amplifiers (MR-J5-G, MR-J5W2-G, MR-J5W3-G)
APPX
810 Appendix 1 Additions and Changes from Previous Version
Version 1.057K
Item Description Reference
Multiple comments • Comments of libraries can be read. Page 83 Reading comments
Project version management • A project update revision history can be managed for each data. Page 61 Basic menus
Page 164 Project Version
Management
Verification By selecting "Yes" for the following option, the label memory can be verified. Page 143 Verification
• "Other Editor" "Label Editor Common" "Verify" "Include Label memory as
Verify Target"
• Details on the verification results of global labels, local labels, structures, and device Page 154 Detailed display
comments are displayed in the detailed display (diagram/table format) screen. (diagram/table format)
Global label editor • Devices assigned to structure members can be deleted in a batch. Page 238 When data type is
structure
The cursor can jump to the following option from the extension display area.
• "Other Editor" "Label Editor Common" "Extended Display Setting" "Item
Name to Show in Hierarchy Display Area"
Memory size calculation • The title of the "Size" column changes according to the unit selected for "Display Page 432 Calculating Memory
Unit" in the "Confirm Memory Size (Offline)" screen. (Example: If "Byte" is selected, Size
"Size (Byte)" is displayed as the title.)
Simulation The following functions and instruction can be simulated. Page 942 CPU module (RnCPU,
• Simple CPU communication setting function RnENCPU, RnPCPU, LHCPU)
• Database function Page 948 MELSEC iQ-R and
• Database access instruction MELSEC iQ-L series common
functions
Page 952 Application instruction
Page 981 Database
Monitor Monitoring for all the windows are stopped automatically when data is converted or all Page 613 Starting/stopping
programs are converted during monitoring. monitoring
APPX
Appendix 1 Additions and Changes from Previous Version 811
Item Description Reference
Options The following option name is changed. Page 269 Inserting contacts,
• Before change (version 1.055H to 1.056J) coils, instructions, arguments
Display the Device to Which Device Comment Has Been Set Page 312 Inserting instructions,
• After change (version 1.057K) functions, and control syntax
Display the Corresponding Device in Entering Device Comment Page 325 Using the edit box
Page 405 Device comment
including @
Page 448 Searching for/
Replacing Devices and Labels
Page 453 Changing Contacts
between Open Contact and Close
Contact
Page 454 Batch Replacing of
Devices and Labels
Page 638 Registering to a watch
window
The following options are added:
• "Program Editor" "FBD/LD Editor" "Element (Ladder Symbol)" "Display
Format" "Number of Cells for Device/Label Name"
• "Program Editor" "FBD/LD Editor" "FB/FUN" "Display Format" "Number of
Wrapping Rows for Instance Name"
• "Program Editor" "FBD/LD Editor" "FB/FUN" "Display Format" "Number of
Cells for Instance Name"
• "Program Editor" "SFC Diagram Editor" "FBD/LD Element" "Display Format"
"Number of Cells for Device/Label Name"
• "Other Editor" "Label Editor Common" "Verify" "Include Label memory as
Verify Target"
• "Convert" "Basic Setting" "Operational Setting" "Stop the Monitor in
Executing Convert/Rebuild All"
Printing An FBD/LD program can be printed according to the settings in the following options.
• "Program Editor" "FBD/LD Editor" "Element (Ladder Symbol)" "Display
Format" "Number of Cells for Device/Label Name"
• "Program Editor" "FBD/LD Editor" "FB/FUN" "Display Format" "Number of
Wrapping Rows for Instance Name"
• "Program Editor" "FBD/LD Editor" "FB/FUN" "Display Format" "Number of
Cells for Instance Name"
FBD/LD editor When a structure member the data type of which is any of the following is used as an
SFC editor LD element or FBD element, a comment set for the member can be displayed in a
program editor.
• Timer
• Long timer
• Retentive timer
• Long retentive timer
• Counter
• Long counter
APPX
812 Appendix 1 Additions and Changes from Previous Version
Version 1.060N
Item Description Reference
Navigation window • Program files, program blocks, and worksheets can be sorted by execution order in Page 55 Sorting data
a batch.
Opening a GX Works2 format • Projects for LCPUs are supported. Page 107 Opening a GX Works2
project format project
Opening a GX Developer format • A project for a QSCPU which is created in GX Developer can be opened. Page 61 Basic menus
project Page 124 Opening a GX
Developer format project
Verification Only the mismatched data can be displayed by using the following menu while the Page 77 Available menus when
"Verify Result" window is displayed. displaying the verify result window
• [View] [Show only Mismatches] Page 145 Checking a verification
result
An icon on the toolbar in the detailed display (diagram/table format) screen is changed. Page 155 Displaying mismatched
• Before change (version 1.050C to 1.058L): data only
• After change (version 1.060N):
• A verification result displayed in the detailed display (diagram/table format) screen Page 157 Exporting to a file
can be exported to a file.
Overwriting a project • When a project revision can be registered when overwriting the project. Page 127 Registering a revision
Project revision history Page 161 Registering a revision
when a project is overwritten
iQ Sensor Solution function*5 • This function is available in a project in which a CC-Link IE Field-AnyWireASLINK Page 210 iQ Sensor Solution
bridge module is used. functions
Motion control setting function • Public labels set with the motion control setting function can be registered as module Page 248 Registering public
labels in a global label editor of GX Works3. labels set with the motion control
setting function
Ladder editor • When using the continuous pasting function, an increment target can be selected. Page 291 Pasting device
numbers or label names
consecutively
• An FB instance name can be changed by double-clicking the name. Page 273 Changing an FB
instance name
• When a cell is cut in the "Insert mode," its lines are deleted from the editor. A
• An inline structured text box remains when deleting a line that does not include the
inline structured text box from a parallel circuit including the inline structured text
box.
• When displaying only a ladder block for which a line statement is set, another line
statement can be inserted in the ladder block.
Ladder editor The following functions are available: Page 376 Displaying an FB
ST editor • FB property property
• FB property management (offline) Page 397 FB Property
• FB property management (online) Management (Offline) screen
Page 666 FB Property
Management (Online) screen
FBD/LD editor • An FB instance name can be changed by double-clicking the name. Page 322 FBD element
FBD/LD editor The text layout of an comment element can be changed to the following three types: Page 323 Common element
SFC diagram editor • Align Top
• Align Middle
• Align Bottom
SFC diagram editor When a comment of transition No. overlaps with a jump symbol or connection line, the Page 354 Entering comments of
size of the transition can be changed by selecting the following menu. Transition No.
• [Edit] [Modify] [Toggle Transition Size]
Reading sample comments Sample comments of the following intelligent function modules can be read. Page 409 Reading sample
• RD81MES96N comments
• R60MH112
• R60MH112NA
APPX
Appendix 1 Additions and Changes from Previous Version 813
Item Description Reference
Memory size calculation • "Display Unit" displayed in the "Confirm Memory Size (Offline)" screen is changed to Page 432 Calculating Memory
"Size Display Unit." Size
The memory capacities of the following data can be displayed:
• Program
• Label
• Latch label
The memory capacities of the following data can be displayed in projects for an
RnCPU, an RnENCPU, and an RnPCPU:
• Label
• Latch label
The memory capacities of the following data can be displayed in projects for an
RnSFCPU and an RnPSFCPU:
• Label
• Latch label
• Safety label
• Standard/safety shared label
Device memory • Device memory data can be exported to a CSV file. Page 440 Exporting Device
Memory Data
• One point can be specified for "Word Multi-point Format" in the "Display Format" Page 435 Setting the display
screen. format
Cross reference window • The cursor can remain in a cross reference window when jumping to each editor Page 457 Displaying cross
from the window. reference information
• Device or label options can be displayed when entering a device or label name in the Page 459 Device/label options
input field.
Simulation A project including the following module can be simulated: Page 933 Supported modules
• CC-Link IE TSN module Page 968 Network
• The network functions and parameters of CC-Link IE TSN are available.
The following CPU module functions are available: Page 942 Supported CPU module
• RnCPUs and RnENCPUs: link direct device setting, extension of points for CC-Link functions
IE Controller Network
• RnPCPU: device test with execution conditions, online change (SFC block)
• RnPCPU (process mode): Writing of program restoration information
• RnSFCPU: online change (ladder block) (safety program), file batch online change
(safety program), multiple CPU synchronization interruption (I45), inter-module
synchronous interrupt (I44), file batch online change of FB files and the global label
setting file, file batch online change when the program memory does not have
enough free space
The following CPU parameter is available: Page 956 Supported parameters
• Link Direct Device Setting
Monitoring • If the current values of devices and labels are character strings, their monitor values Page 620 Ladder
(Ladder editor) are also displayed by the character strings.
• The number of characters for monitor values (strings) displayed in the monitor
screen can be changed.
Device test with execution • This function is available in a project for an RnSFCPU. Page 646 Changing Device/Label
conditions*3 Value by Setting Conditions
Page 687 Functions and
operations that require user
authentication
Process control function • Up to four faceplates can be displayed at the same time. Page 662 Checking tag data on
the gauge window (faceplate)
Module diagnostics • When diagnosing an RnCPU, an RnENCPU, or an RnPCPU, "Switch Display" is Page 709 Error information
displayed in the [Error Information] tab of the module diagnostics screen.*3
• When diagnosing an RnCPU, an RnENCPU, or an RnPCPU, the FB hierarchy Page 711 FB hierarchy
information of the function block with an error can be displayed in the module information
diagnostics screen.*3
APPX
814 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Network diagnostics The following modules can be diagnosed in projects for an RnCPU and an RnENCPU: Page 717 CC-Link IE TSN/CC-
• CC-Link IE TSN compatible motion modules (RD78GHV, RD78GHW) Link IE Field Network diagnostics
The following modules (CC-Link IE Field Network communication mode) can be
diagnosed:*4
• DC input/transistor output combined modules (NZ2GN2B1-32DT, NZ2GN2B1-
32DTE, NZ2GN2S1-32DT, NZ2GN2S1-32DTE)
• DC input modules (NZ2GN2B1-32D, NZ2GN2S1-32D)
• Transistor output modules (NZ2GN2B1-32T, NZ2GN2B1-32TE, NZ2GN2S1-32T,
TNZ2GN2S1-32TE)
• Analog input modules (NZ2GN2B-60AD4, NZ2GN2S-60AD4)
• Analog output modules (NZ2GN2B-60DA4, NZ2GN2S-60DA4)
The following modules can be diagnosed:
• MR-JET-G
• MR-J5-G-RJ
• FR-E800-E
• Partner products
• An icon indicating that the parameter automatic setting of a device station failed is
displayed in the CC-Link IE TSN/CC-Link IE Field Network diagnostics.
Firmware update • The firmware of modules can be updated using GX Works3. Page 61 Basic menus
Page 776 Firmware Update
Printing • When printing a ladder program, inline structured text programs are printed on
another sheet only if the checkbox of "Print Inline Structured Text Program on a
Separate Sheet" is selected in the "Print" screen.
AnyWireASLINK configuration • In a project in which a CC-Link IE Field-AnyWireASLINK bridge module is used, up
window to 256 remote modules can be placed in this window.
CC-Link IE TSN configuration A mode set in the following parameter of a CC-Link IE TSN module is displayed:
window • "Application Settings" "Module Operation Mode"
• "Application Settings" "Communication Mode" "Communication Mode"
A device station can be replaced with a general CC-Link IE TSN module and vice versa
by selecting the following menu:
• [CC-Link IE TSN Configuration] [Change Module] [Replace General CC-Link IE
TSN module]/[Change to General CC-Link IE TSN module]
The "Device No. Reassignment" screen appears by selecting the following menu. In
this screen, device numbers can sequentially be assigned to the link devices on a
A
device station.
• [CC-Link IE TSN Configuration] [Device No. Reassignment]
• The "PDO Mapping Setting" screen appears by double-clicking "Detail Setting" in the
"PDO Mapping Setting" column. In this screen, the PDO mapping parameters can be
set.
CC IE Field configuration The following iQ Sensor Solution function is available in a project for an RnSFCPU:*5
window • Data backup/restoration
APPX
Appendix 1 Additions and Changes from Previous Version 815
Item Description Reference
Label editor • Check results are displayed in the "Output" window by clicking the [Check] button.
ST editor • When registering a label as an argument of a function or function block, the data
type according to the argument is displayed in the "Undefined Label Registration"
screen.
Reading data from a • Program blocks are displayed in execution order when reading a program from a
programmable controller CPU module. (If a project is not opened when its program is read, the program files
are also displayed in execution order.)
• When reading a project to which user information is registered from a CPU module
while the project is not opened, the user can log on to the CPU module as a guest
user.
Verifying data with a By clicking any of the following buttons in the [Verify] tab of the "Online Data Operation"
programmable controller screen, checkboxes of data both on the project and the programmable controller sides
can be selected:
• [Parameter + Program] button
• [Select Favorites] button
• [Select All] button
• By clicking the [Open/Close All] button in the [Verify] tab of the "Online Data
Operation" screen, the trees both on the project and programmable controller sides
can be all expanded or collapsed.
• By clicking the [Deselect All] button in the [Verify] tab of the "Online Data Operation"
screen, the checkboxes of data both on the project and programmable controller
sides can be unselected.
Others • LHCPUs and MELSEC-L series modules are supported.*4
• Saving an event history log is restricted in a project for an RnPCPU.*3
The following functions are available in a project for an RnSFCPU:*3
• MELSEC-Q series MELSECNET/H network module
• CPU module data backup/restoration function
• Sequence scan synchronization sampling function
Options The following options are added:
• "Project" "Revision" "Operational Setting" "Register to the Revision When
Saving Project"
• "Project" "Revision" "Operational Setting" "Automatically Set Revision Titles"
• "Project" "Revision" "Operational Setting" "Display Confirmation Message
Showing Whether to Register Revision"
• "Project" "Revision" "Operational Setting" "Optimize Revision Information to
Reduce File Size"
• "Program Editor" "Ladder Editor" "Ladder Diagram" "Display Format"
"Number of Wrapping Rows for Device/Label Name"
• "Program Editor" "Ladder Editor" "Ladder Diagram" "Edit Operation"
"Target Device No./Label Name to Increment"
• "Program Editor" "FBD/LD Editor" "Enter Element" "Operational Setting"
"Horizontal alignment of text layout for comment element"
• "Program Editor" "FBD/LD Editor" "Enter Element" "Operational Setting"
"Vertical alignment of text layout for comment element"
• "Program Editor" "SFC Diagram Editor" "Enter Element" "Operational
Setting" "Horizontal alignment of text layout for comment element"
• "Program Editor" "SFC Diagram Editor" "Enter Element" "Operational
Setting" "Vertical alignment of text layout for comment element"
• "Find/Replace" "Cross Reference" "Operational Setting" "Jump with cursor in
jumping"
• "Find/Replace" "Cross Reference" "Operational Setting" "Auto-fill device/
label name to display based on input history"
• "Monitor" "Ladder Editor" "Character String Monitoring Setting" "Numbers of
Characters to Display"
APPX
816 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
FX5CPU • FX5UJCPUs are supported.
• Sample comments of a safety extension module (FX5-SF-MU4T5) can be read.
The following option name is changed. Page 557 Changing connection
• Before change (version 1.032J to 1.058L): "Online" "Connection Destination destination settings
Specification" "Operational Setting" "Show the Select Connection Destination
window before showing the Specify Connection Destination window."
• After change (version 1.060N): "Online" "Specify Connection Destination"
"Operational Setting" "Show the Connection Destination Simple Setting window"
The default value for the following option is changed. Page 85 Optimization of the
• Before change (version 1.055H to 1.058L) number of steps
"Optimize Level": Level 1 Page 877 Using a project, which
• After change (version 1.060N) was created in version 1.060N or
"Optimize Level": Level 2 later, in version 1.055H or earlier
Parameters
Category Module Module Parameter*3*4 Description
type
CPU RnPSFCPU "Redundant System Settings" "Redundant Newly added
parameter Behavior Setting" "Setting to Wait Receiving
Cyclic Data after Switching System"
FX5CPU "Memory/Device Setting" "Internal Buffer Related functions are displayed in the
Capacity Setting" "Function to Use Internal explanation column.
Buffer"
Module RCPU "Application Settings" "Simple CPU Unset items can be displayed or hidden.
parameter Communication Setting" "<Detailed
Setting>"
LHCPU "Application Settings" "Simple CPU Unset items can be displayed or hidden.
Communication Setting" "<Detailed
Setting>"
FX5CPU "High Speed I/O" "Input Function" "High The [Simple Batch Setting] button is added in
Speed Counter" "<Detailed Setting>" the "Setting Item" field. By clicking this button,
the parameters of "High Speed Counter" can
be set in the wizard format.
A
FX5UCPU "485 Serial Port" "Basic Settings" Related functions are displayed in the
FX5UCCPU "Communication Protocol Type" explanation column by selecting "Predefined
Protocol Support Function."
RCPU Ethernet interface "Application Settings" "Simple CPU The following options can be selected for
modules Communication Setting" "<Detailed "Communication Destination":
(_RJ71EN71(E+IEC), Setting>" • MELSEC iQ-L (built-in Ethernet)
_RJ71EN71(E+IEF), • SIEMENS S7 series
RJ71EN71(E+CCIEC), • Fuji Electric MICREX-SX series
RJ71EN71(E+CCIEF), • JTEKT TOYOPUC series
RJ71EN71(E+E))
When setting the following devices for
"Communication Destination," PLC No.5 to 8
can be selected for "Target PLC No":
• Fuji Electric MICREX-SX series
Unset items can be displayed or hidden.
RnCPU RJ71C24 "MODBUS slave setting" Newly added
RnENCPU
RnPCPU
RnSFCPU
RnCPU CC-Link IE TSN module "Application Settings" "Communication Newly added
RnENCPU (RJ71GN11-T2) Speed"
"Application Settings" "Communication Newly added
Mode"
RnPCPU Ethernet interface module "Application Settings" "Redundant System Newly added
(redundant (RJ71EN71(E+E)) Settings" "To Use or Not to Use Redundant
mode) System Settings" "System Switching
RnPSFCPU Request Issue at Communication Error"
"System Connection" "Simple CPU
Communication Port"
FX5CPU High speed pulse I/O "High Speed I/O" "Input Function" "High The [Simple Batch Setting] button is added in
modules (FX5-16ET/ES- Speed Counter" "<Detailed Setting>" the "Setting Item" field. By clicking this button,
H, FX5-16ET/ESS-H) the parameters of "High Speed Counter" can
be set in the wizard format.
APPX
Appendix 1 Additions and Changes from Previous Version 817
Category Module Module Parameter*3*4 Description
type
Remote FX5CPU "Remote Password Setting" "Module "MELSOFT Transmission Port (UDP/IP)" is
password Conditions" "Detail Setting" added in "System Connection Valid Setting" of
the "Remote Password Detail Setting" screen.
Version 1.061P
Item Description Reference
FX5CPU The following module tool is available in projects for an FX5UCPU and an
FX5UCCPU.*3
• Predefined Protocol Support Tool For Positioning
Version 1.063R
Item Description Reference
Opening a GX Works2 format • Settings for MELSECNET/H and MELSECNET/10 in network parameters can be Page 107 Opening a GX Works2
project imported. format project
Network diagnostics The following module can be diagnosed: Page 720 MELSECNET
• MELSECNET/H network modules (RJ71LP21-25, RJ71LP21-25(R)) diagnostics
Check program screen • When opening this screen, "Check Content" that was previously set is displayed.
APPX
818 Appendix 1 Additions and Changes from Previous Version
Version 1.065T
Item Description Reference
Printing The following items can be set in the "Print" screen when printing an FBD/LD program: Page 95 Printing FBD/LD
• Fit to One Page programs
• Magnification
The following items can be set in the "Print" screen when printing an SFC program: Page 96 Printing SFC programs
• Do not Print Direct Expressions of Transitions
• Do not Print Actions
• Fit to One Page
• Magnification
Opening another format project The following functions are supported in a project for a redundant CPU: Page 107 Opening a GX Works2
• Opening a GX Works2 format project format project
• Opening a PX Developer format project Page 110 Opening a PX
Developer format project
Opening a GX Developer format The following items can be imported: Page 124 Opening a GX
project • Options Developer format project
• Device memory
Project version management Data to be registered can be verified with the latest data in a master project by Page 174 Data
performing any of the following operations in the "Register Data" screen:
• Double-click data to be registered.
• Select and right-click data to be registered, then select [Verify with the Latest
Revision] from the shortcut menu.
• By selecting and right-clicking revision(s) in the revision list, then selecting [Verify Page 178 Verifying a project file or
with the Previous Revision]/[Verify Between Revisions] from the shortcut menu, data
project files or data associated with the selected revision(s) can be verified with each
other.
APPX
Appendix 1 Additions and Changes from Previous Version 819
Item Description Reference
CC-Link IE TSN configuration • In a project for an RnSFCPU, a CC-Link IE TSN system can be configured using this Page 208 Setting network
window window. configuration and target devices
• Parameters of a device station on CC-Link IE TSN can be written to, read from, or Page 579 Data to be written and
deleted from an RnSFCPU or an SD memory card inserted in the CPU module.*3,*4 writing destinations
• When writing parameters of a device station on CC-Link IE TSN to an RnSFCPU or Page 584 Parameters of a remote
an SD memory card inserted in the CPU module, the parameters are automatically I/O module (device station) on
set to the device station.*3,*4 CC-Link IE TSN
Page 590 Parameters of a remote
I/O module (device station) on
CC-Link IE TSN
The following functions are available for CC-Link IE TSN supported devices in a project
for an RnSFCPU:*3,*4
• Connected/disconnected module detection
• Parameter of device station
• Command execution of device station
A mode set in the following parameter of a CC-Link IE TSN compatible motion module
is displayed:
• "Application Settings" "Module Operation Mode"
For a CC-Link IE TSN module, the following display items are added:
• Cyclic Transmission Time (Min.)
• Communication Period Interval (Min.)
An IP address, subnet mask, and default gateway can be displayed in hexadecimal by
selecting the following menu:
• [Edit] [IP Address Input Format] [Hexadecimal]
Network topology can be changed to a ring topology by selecting the following menu:
• [CC-Link IE TSN Configuration] [Change Transmission Path Method] [Ring]
• A station which got disconnected after a data link is detected as a disconnected
device when performing 'connected/disconnected module detection.' "Reserved
station" is displayed in "Reserved/Error Invalid Station" for the disconnected station.
• Basic modules and extension modules can be placed in a batch by dragging and
dropping a multiple-axis servo amplifier, such as MR-J5W2-G or MR-J5W3-G, onto
the station list from the module list window.
• PDO mapping parameters can be copied, cut, and pasted in the "PDO Mapping
Setting" window.
• "Motion Control Station" is displayed in the station list which is in a simple display
mode when the own station is a CC-Link IE TSN compatible motion module.
• If the number of link device points is deleted in the station list which is in a simple
display mode, the start link device displayed in a detailed display mode is also
deleted.
• The [Error] and [Warning] buttons are added in the "Output" window; by clicking
these buttons, error/warning messages can be displayed or hidden. The number of
messages is displayed next to each button.
Object names can be displayed or hidden by selecting the following menu:
• [View] [Object Name Display]
Label editor • A multiple-dimensional array can be set by entering the number of elements for Page 236 Setting arrays for data
multiple dimensions in the "Data Type Selection" screen. type
• A row can be deleted while the list is filtered.
Ladder editor (excluding Zoom) The colors of the following items can be changed in the "Color and Font" screen:
• Line Statement (Shown in Navigation Window)
• Background of Line Statement (Shown in Navigation Window)
APPX
820 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Ladder editor (including a "Insert mode" and "Overwrite mode" can be switched by selecting the following menu: Page 68 Available menus when
Zoom) • [Edit] [Switch Overwrite/Insert mode] editing a ladder program
The ladder edit mode of all open ladder editors can be switched by selecting the Page 68 Available menus when
following menu: editing a ladder program
• [Edit] [Ladder Edit Mode] [Read Mode (All Windows)]/[Write Mode (All Page 268 Switching the ladder
Windows)] edit mode (read/write/monitor
read/monitor write)
The ladder edit mode of all ladder editors that exist in a project can be switched by
Page 1000 Edit
selecting the following menu:
• [Edit] [Ladder Edit Mode] [Read Mode (All Ladder Programs Elements)]/[Write
Mode (All Ladder Programs Elements)]
The following item is added in a screen which appears in switching to the monitor write Page 268 Monitor write mode
mode:
• Check the consistency between the editing target program file in GX Works3 and the
one in PLC.
By selecting this checkbox, whether a program in GX Works3 matches with one in a
programmable controller can be checked before switching the mode.
• 100 or more ladder blocks can be copied. (Up to 300 ladder blocks)
• The number of selected ladder blocks is displayed on the title bar.
Inline structured text • Up to 20,000 characters can be entered in an inline structured text box. Page 281 Inserting an inline
structured text box
The number of rows to display (height) of an inline structured text box can be changed Page 282 Changing the number
by using the following menu: of rows to display
• [View] [Height Setting of Inline Structured Text]
ST program "Insert mode" and "Overwrite mode" can be switched by selecting the following menu: Page 71 Available menus when
• [Edit] [Switch Insert/Overwrite mode] editing an ST program
By selecting "Yes" for the following option, a syntax template is displayed with the Page 315 Displaying syntax
arguments aligned vertically: templates
• "Program Editor" "ST Editor" "Edit Operation" "Vertically Align Arguments for
Displaying Template"
• A constant label can be specified as an integer value of a CASE sentence.
FBD/LD program (including a Shortcut keys can be set for the following menus:
Zoom) • [Edit] [Layout] [Batch Correction of Layout in FBD Network Block]
• [Edit] [Layout] [Delete the Blank Row Between FBD Network Blocks]
• [Edit] [Layout] [Batch Alignment of All FBD Network Blocks to the Left]
A
• Elements can be connected to each other by the following procedure: Page 327 Common operations of
Select a connection point or line, then move the cursor to a target connection point elements
by pressing the + /// keys.
• An element connected to another element can be connect to a different element by
the following procedure:
Select a connection point or line. Then, move the cursor to a target connection point
by pressing the + + /// keys.
SFC program By selecting the following menu, whether to automatically connect an SFC element Page 73 Available menus when
and FBD/LD element with a connection line can be selected: editing an SFC program (SFC
• [Edit] [Edit Mode] [Element Auto-connect] diagram)
Data flow analysis • The data flow analysis function is supported. Page 467 Displaying a Range
Affected by/Affecting a Device/
Label
APPX
Appendix 1 Additions and Changes from Previous Version 821
Item Description Reference
Simulation • A project for an LHCPU can be simulated. Page 933 Modules supported by
• The functions, instructions, and parameters of an LHCPU are available. GX Simulator3
Page 939 Firmware versions of
CPU modules
Page 942 CPU module (RnCPU,
RnENCPU, RnPCPU, LHCPU)
Page 952 RCPU and LHCPU
Page 959 LHCPU
Page 965 Module buffer memory
Page 967 Link devices of network
module
Page 975 LHCPU
Page 976 General module
RnCPU and RnENCPU projects including the following module can be simulated: Page 536 Simple motion module/
• CC-Link IE TSN compatible motion module motion module
Page 933 Modules supported by
GX Simulator3
Page 965 Module buffer memory
Page 967 Link devices of network
module
An RnSFCPU project including any of the following modules can be simulated: Page 933 Modules supported by
• MELSECNET/H network modules (QJ71BR11, QJ71LP21(-25 S-25 G GE), GX Simulator3
QJ71NT11B)
The following CPU module functions are available: Page 942 CPU module (RnCPU,
• RnCPUs and RnENCPUs: FB hierarchy information RnENCPU, RnPCPU, LHCPU)
• RnSFCPUs: device test with execution conditions, real-time monitor, CC-Link IE Page 945 CPU module
Controller Network function of the RJ71EN71 (RnPSFCPU, RnSFCPU)
MELSEC iQ-R CPU Module
User's Manual (Application)
The following instructions are available: Page 952 Supported instructions
• Module access instructions (RFS(P), COM(P), S(P).ZCOM)
• Process control instruction (S.PHPL2)
Projects for an RnCPU and an RnENCPU can be simulated while the following option Page 958 Module parameter
is selected in "Communication Destination" of "Simple CPU Communication Setting":
• MELSEC iQ-L (built-in Ethernet)
Recording monitor*3 • The recording status can be monitored. Page 707 Recording Status
Check
Module diagnostics • The display format of an error code can be switched between decimal and Page 702 Module Status Check of
hexadecimal in the system monitor and the module diagnostics screen. a System
Page 708 Module Diagnostics
CC-Link diagnostics • The font color of the [Previous] and [Next] buttons is displayed in red when multiple Page 721 CC-Link diagnostics
screens exist.
Firmware update • The firmware of RnPCPUs can be updated using GX Works3. Page 776 Firmware Update
Recording*3 • This function is available in projects for RnCPUs (R04CPU, R08CPU, R16CPU, Page 732 Recording Function
R32CPU, and R120CPU) and RnENCPUs.
APPX
822 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Memory dump*4 • This function is available in a project for an RnSFCPU. (Only standard device values
can be checked.)
Offline monitor*4 • Device data of an RnSFCPU which is collected with the memory dump function can
be monitored on a program editor.
The following menus are changed.
• Before change (version 1.030G to 1.063R)
[Debug] [Offline Monitor] [Offline Monitor (Memory Dump)]
[Debug] [Offline Monitor] [Offline Monitor (Logging)] [Connection Destination
Setting]
[Debug] [Offline Monitor] [Offline Monitor (Logging)] [Disconnect Offline
Monitor]
• After change (version 1.065T)
[Recording] [Start Offline Monitor] [Memory Dump]
[Recording] [Start Offline Monitor] [Logging File]
[Recording] [Stop Offline Monitor]
• Data collected with the recording function can be monitored. Page 736 Checking Collected
Data on Program Editor
The following functions are available: Page 743 Operating the seek bar
• Seek bar Page 747 Adding a log marker
• Log marker Page 749 Checking an event
• Event history (offline monitor) history (offline monitor)
The GOT offline monitor can be started in GX Works3. Page 755 Displaying the GOT
offline monitor
Safety system • The safety communication function is available in an RnSFCPU project in which a
CC-Link IE TSN module or CC-Link IE TSN compatible motion module is used.*4
Module configuration diagram • In the system configuration check, the check result type for a connector conversion
module is changed from 'Warning' to 'Information.'
Device comment editor • When zooming this screen in and out, the column width is automatically adjusted
according to the display magnification.
Search/replacement • In a ladder editor, even when some contacts of a function block are not displayed
due to changes in the number of the contacts, the undisplayed contacts can be
searched for.
APPX
Appendix 1 Additions and Changes from Previous Version 823
Item Description Reference
Cross reference • An LD element, FBD element, and ST editor for which a constant value is defined
are supported.
Writing data to a programmable When "Not use" is selected for the following system parameter, a multiple CPU system
controller is regarded as the same configuration as a single CPU system; therefore, a project can
be written to the CPU No.1 in the multiple CPU system.
• "Multiple CPU Setting" "Communication Setting between CPU" "Fixed Scan
Communication Function"
Rebuild all (reassignment) • When information on a structure member of a structure type label cannot be
acquired properly, a conversion error (0x12121061) is displayed in the "Output"
window and the conversion of all programs is canceled.
Monitoring • Visibility of the ON/OFF status of a close contact, rising pulse, and falling pulse is
(Ladder editor) enhanced.
Monitoring • While monitoring a program of a function, "---" is displayed as a monitor value of a
(Ladder editor, ST editor) local label with an indefinite value.
Event history • Modify value events that are output from RnCPUs (R04CPU, R08CPU, R16CPU,
R32CPU, and R120CPU) and RnENCPUs can be checked in the "Event History"
screen and the "Event History (Offline Monitor)" window.
CC-Link IE TSN/CC-Link IE The following modules can be diagnosed in a project for an RnSFCPU:*3
Field Network diagnostics*4 • CC-Link IE TSN module
• CC-Link IE TSN compatible motion modules
• Servo amplifiers (MR-J5-G, MR-J5W2-G, MR-J5W3-G, MR-J5-G-RJ)
The following modules can be diagnosed in projects for an RnCPU, an RnENCPU, and
an RnSFCPU:*3
• DC safety input/transistor safety output combined module (NZ2GNSS2-16DTE)
• DC Safety input module (NZ2GNSS2-8D)
• Transistor safety output module (NZ2GNSS2-8TE)
The following modules can be diagnosed:
• DC input/transistor output combined module (NZ2GNCE3-32DT)
• DC input modules (NZ2GNCE3-32D, NZ2GNCF1-32D)
• Transistor output module (NZ2GNCF1-32T)
• Inverter (FR-E800-SCE)
The following statuses are displayed when diagnosing a CC-Link IE TSN module:
• Network synchronous communication status
• Connection order undefined status
• When diagnosing a CC-Link IE TSN module, information such as the model name of
a device station, IP address, and firmware version can be checked in a list by
clicking the [Station Information List] button.
A CC-Link IE TSN module in which the following parameter is set can be diagnosed:
• "Basic Settings" "Network Topology" "Ring"
A mode set in the following parameter is displayed when diagnosing a CC-Link IE TSN
module or CC-Link IE TSN compatible motion module:
• "Application Settings" "Communication Mode" "Communication Mode"
• The error history of an extension module can be checked when diagnosing a CC-
Link IE TSN module.
Options The following options are added:
• "Program Editor" "ST Editor" "Edit Operation" "Vertically Align Arguments for
Displaying Template"
• "Program Editor" "SFC Diagram Editor" "FBD/LD Element" "Element
Connection" "Connect element automatically"
Operating environment • Windows XP and Windows Vista are no longer supported.
(operating system)
Others*4 • MELSOFT Update Manager is supported.
• If a data logging file is stored in the function memory, up to 10 settings of data
logging can be performed at the same time by using the data logging function of an
RnCPU and RnENCPU.
• The remote device test of a CC-Link IE TSN module is available.
The following functions of a laser displacement sensor control module are available:
• Logging
• Median filter
APPX
824 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
CC-Link IE TSN configuration • A CC-Link IE TSN system can be configured using this window. Page 208 Setting network
window configuration and target devices
(FX5UCPU, FX5UCCPU)
• Parameters of a device station on CC-Link IE TSN can be written to, read from, or Page 579 Data to be written and
deleted from a CPU module or the SD memory card inserted in the CPU module.*3,*4 writing destinations
• When writing parameters of a device station on CC-Link IE TSN to a CPU module or Page 584 Parameters of a remote
an SD memory card inserted in the CPU module, the parameters are automatically I/O module (device station) on
set to the device station.*3,*4 CC-Link IE TSN
Page 590 Parameters of a remote
I/O module (device station) on
CC-Link IE TSN
The following functions are available for CC-Link IE TSN supported devices:*3,*4
• Connected/disconnected module detection
• Parameter of device station
• Command execution of device station
A mode set in the following parameter of a CC-Link IE TSN module is displayed:
• "Application Settings" "Module Operation Mode"
• "Application Settings" "Communication Mode" "Communication Mode"
A device station can be replaced with a general CC-Link IE TSN module and vice versa
by selecting the following menu:
• [CC-Link IE TSN Configuration] [Change Module] [Replace General CC-Link IE
TSN module]/[Change to General CC-Link IE TSN module]
The "Device No. Reassignment" screen appears by selecting the following menu. In
this screen, device numbers can sequentially be assigned to the link devices on a
device station.
• [CC-Link IE TSN Configuration] [Device No. Reassignment]
Verification • Module parameters of a CC-Link IE TSN module can be verified. Page 144 Module extended
(FX5UCPU, FX5UCCPU) parameters
Opening a GX Works2 format • A project for an FXCPU (FX3U, FX3UC, FX3G, and FX3GC) can be replaced with a Page 107 Opening a GX Works2
project project for an FX5UJCPU. format project
(FX5UJCPU)
Simulation A project including either of the following modules can be simulated. (The system Page 933 Modules supported by
(FX5UCPU, FX5UCCPU) simulation is not available.) GX Simulator3
• Safety extension modules (FX5-SF-8DI4, FX5-SF-MU4T5) Page 950 CPU module (FX5CPU)
Simulation • A project for an FX5UJCPU can be simulated. Page 961 FX5CPU A
(FX5UJCPU)
CC-Link IE TSN/CC-Link IE • A CC-Link IE TSN module can be diagnosed. Page 717 CC-Link IE TSN/CC-
Field Network diagnostics*3,*4 Link IE Field Network diagnostics
(FX5UCPU, FX5UCCPU)
Parameters
Category Module Module Parameter*3*4 Description
type
System RnCPU CC-Link IE TSN module "Inter-module Synchronization Setting" Newly added
parameter RnENCPU (RJ71GN11-T2) "Select Inter-module Synchronization Target
Module"
"Inter-module Synchronization Setting" Newly added
"Inter-module Synchronization Master Setting"
CPU RnCPU "Memory/Device Setting" "Buffer Area Newly added
parameter RnENCPU Setting for Data Sampling"
RnSFCPU "RAS Setting" "LED Display Setting" "Memory Dump Function" can be selected.
"FUNCTION LED" "Function to use
FUNCTION LED"
"Memory/Device Setting" "Link Direct Newly added
Device Setting"
"Memory/Device Setting" "Internal Buffer Newly added
Capacity Setting" "Total Capacity"
"Memory Dump Function"
RnPSFCPU "Memory/Device Setting" "Device/Label "2MB" can be selected.
Memory Area Setting" "Cassette Setting"
"Extended SRAM Cassette Setting"
FX5UCPU "Memory/Device Setting" "Device/Label In the "Device/Label Memory Area Setting"
FX5UCCPU Memory Area Setting" "<Detailed Setting>" screen, up to 63 K words can be set for the
capacity of "Standard Area."
APPX
Appendix 1 Additions and Changes from Previous Version 825
Category Module Module Parameter*3*4 Description
type
Module RnCPU "Application Settings" "Simple CPU The following options can be selected for
parameter RnENCPU Communication Setting" "<Detailed "Communication Destination":
Setting>" • MELSEC-Q (Ethernet module)
• MELSEC-L (Ethernet module)
• MELSEC-A/AnS (Ethernet Module)
• MELSEC-FX3 (Ethernet Block/Adapter)
FX5UCPU "Application Settings" "FTP Client Settings" Newly added
FX5UCCPU
"Application Settings" "Simple CPU The following options can be selected for
Communication Setting" "<Detailed "Communication Destination":
Setting>" • MELSEC iQ-R (built-in Ethernet)
• MELSEC-Q (built-in Ethernet)
• MELSEC-L (built-in Ethernet)
• MELSEC iQ-L (built-in Ethernet)
• MELSEC-FX3 (Ethernet Block/Adapter)
• OMRON (CJ/CP series)
• KEYENCE (KV series)
• Panasonic (FP7 series)
• MODBUS/TCP-compatible device
• SIEMENS S7 series
• Panasonic (FP0H series)
All CPUs Temperature input The following menu is available:
modules (R60RD8-G, • [Edit] [Channel Copy]
Q64TDV-GH, L60RD8)
Temperature control
modules
(R60TCTRT2TT2,
R60TCTRT2TT2BW,
Q64TCTTBWN,
L60TCTT4, FX5-4LC)
RCPU Ethernet interface "Application Settings" "Simple CPU "Options (Hexadecimal)" is added in the
modules Communication Setting" "<Detailed "Communication Destination Setting" screen.
(_RJ71EN71(E+IEC), Setting>"
_RJ71EN71(E+IEF),
RJ71EN71(E+CCIEC),
RJ71EN71(E+CCIEF),
RJ71EN71(E+E))
RnCPU Serial communication "MODBUS slave setting" "MODBUS device Newly added
RnENCPU modules (RJ71C24, allocation parameter(common)" "CC-Link
RnPCPU RJ71C24-R2, RJ71C24- IEF Remote Head Module" "Access target"
RnSFCPU R4)
High speed data logger "Basic Settings" "Various Operations "Firmware update" and "Module Initialization
module (RD81DL96) Settings" "Mode Settings" Setting" can be selected.
OPC UA server module "Basic Settings" "Various Operations "Firmware update" and "Module Initialization
(RD81OPC96) Settings" "Mode Settings" Setting" can be selected.
RnCPU CC-Link IE TSN module "Basic Settings" "Network Topology" "Ring" can be selected.
RnENCPU (RJ71GN11-T2)
CC-Link IE TSN "Basic Settings" "Network Topology" "Ring" can be selected.
compatible motion
"Application Settings" "Communication Newly added
modules (RD78GHV,
Speed"
RD78GHW)
RnSFCPU CC-Link IE TSN "Basic Settings" "Safety Communication Newly added
compatible motion Setting" (for a safety project only)
modules (RD78G41,
RD78G8, RD78G16,
RD78G32, RD78G64,
RD78GHV, RD78GHW)
Ethernet interface "Application Settings" "Link points extended Newly added
modules setting"
(_RJ71EN71(CCIEC),
_RJ71EN71(E+IEC),
RJ71EN71(CCIEC),
RJ71EN71(E+CCIEC),
RJ71GP21-SX(R),
RJ71GP21S-SX(R))
FX5UCPU CC-Link system master/ "Required Settings" "Parameter Setting "Program" can be selected.
FX5UCCPU intelligent device module Method" "Setting Method of Basic/
(FX5-CCL-MS) Application Settings"
APPX
826 Appendix 1 Additions and Changes from Previous Version
Category Module Module Parameter*3*4 Description
type
Module RnCPU Serial communication "Simple CPU Communication Setting" Newly added
extended RnENCPU modules (RJ71C24,
parameter RnPCPU RJ71C24-R2, RJ71C24-
RnSFCPU R4)
Memory card RnSFCPU "Setting of File/Data Use or Not in Memory Newly added
parameter Card" "Device Station Parameter"
Version 1.070Y
All CPUs: RCPU, LHCPU, and FX5CPU
Item Module type Description Reference
Copying and pasting All CPUs • When copying and pasting a program block including a module FB to Page 131 Module FB
another project, the module FB is automatically added to the project.
Opening a GX Works2 RnCPU • Module parameters of an analog module (Q66AD-DG) can be imported
format project RnPCPU as that of a channel isolated analog-digital converter module (R60AD6-
DG(Q)).
RnPCPU (redundant • A redundant type extension base unit (Q65WRB) can be replaced with
mode) a redundant extension base unit (R68WRB).
RnCPU • A power supply module (Q64RPN) can be replaced with a power
RnENCPU supply module (R64RP).
RnPCPU
RnPSFCPU
FX5UCPU • An SFC program can be imported. Page 108 Data to be
FX5UCCPU changed
Verification All CPUs • When the verification results of a ladder program and ST program are Page 156 Merging
displayed, mismatched data can be merged into a verification source mismatched data into a
program. verification source
• Label comments for an array element and bit-specified label can be Page 159 Label comment
verified. for an array element or bit-
specified label
Redundant system
configuration*4
RnPCPU (redundant
mode)
• A redundant extension base unit (R68WRB) is available. Page 197 Display for a
redundant extension base
A
unit configuration
Page 584 Writing of module
extended parameters in a
redundant system
configuration
Adding a new module All CPUs • A module can be searched for in the "Add New Module" screen. Page 205 Adding a module
AnyWireASLINK All CPUs The following iQ Sensor Solution function is available: Page 210 iQ Sensor
configuration window • Verification of connected devices and configurations Solution functions
• Settings can be saved even if a remote module is not placed.
Label editor All CPUs The "Label Comment" window appears by either of the following Page 227 Configuration of a
operations: label editor
• Right-click a cell and select [Open Label Comment Setting] from the
shortcut menu.
• Press the + keys.
• If a label comment is set for an array element or bit-specified label, a
red square is displayed at the upper right of the cell.
• Label comments for array elements and bit-specified labels can be Page 245 Exporting/
exported to an XML file. importing a label
Structure definition All CPUs • Structure definitions can be exported to an XML file. Page 242 Exporting/
importing structure
definitions to/from a file
Label comment window All CPUs A label comment can be set for the following data in this window: Page 61 Basic menus
• Label Page 76 Available menus
• Array type label when displaying a label
• Bit-specified label editor
• Structure type label Page 243 Setting a label
• Structure member comment
Page 255 Registering labels
in system label database
APPX
Appendix 1 Additions and Changes from Previous Version 827
Item Module type Description Reference
Tag FB setting editor RnPCPU • The versions of tag data and a process control function block used in a Page 249 Registering Tag
RnPSFCPU project can be checked whether they are supported in GX Works3 FBs
where the project is open.
Creating a program*3 FX5UCPU • Sequential Function Chart language is supported. Page 258 Programming
Creating a library FX5UCCPU Function
Program check Page 342 Creating an SFC
Conversion Program
Search/replacement Page 894 FX5CPUs
Cross reference
Creating a program FX5UCPU • Step relays (S) can be index-modified. (Excluding the ones used for a
FX5UCCPU contact and coil)
Ladder editor All CPUs Label comments for a structure and its member can be displayed Page 264 Configuration of a
ST editor together by setting the following option to "In Order of Instance -> ladder editor
FBD/LD editor Member" or "In Order of Member -> Instance": Page 309 Configuration of
SFC diagram editor • "Other Editor" "Label Editor Common" "Display Setting" an ST editor
(transition/action) "Hierarchy Display Setting for Structures Comment" Page 322 FBD element
Label comments of the following data are displayed in each editor. (In an
ST editor, they are displayed on the tooltip when selecting a range of
each data.)
• Array element of an array type label
• Bit-specified label
• Structure member
APPX
828 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
Ladder editor All CPUs A column width can be changed in the "Column Width" screen that Page 264 Configuration of a
appears by the following operation: ladder editor
• Select and right-click a column, then select [Column Width] from the
shortcut menu.
By setting the following option to "Set to Optimized Width," a column
width can be adjusted to the optimal width according to the elements
within the range displayed in an editor when double-clicking the column
header border:
• "Program Editor" "Ladder Editor" "Ladder Diagram" "Edit
Operation" "Operation in adjusting column width by mouse"
• A function block can be inserted by entering its FB instance name in Page 272 Inserting a
the element entry dialog. function block
Page 279 Inserting a
• Options of FB instances are displayed by entering 'fb.' in the element
function
entry dialog.
By selecting "Yes" for the following option, a column width is automatically
adjusted so that the text of an input/output label (argument) does not get
cut when inserting a function block and function:
• "Program Editor" "Ladder Editor" "FB/FUN" "Operational
Setting" "Automatically adjust column width in creating"
A label can be registered in the last row of a label editor by selecting the Page 291 Pasting device
checkbox of the following item in the "Continuous Paste" screen: numbers or label names
• Register a label at the last row. consecutively
• The size of the "Line Statement List" screen can be changed. Page 286 Displaying a list
The range selected in a ladder editor can be copied to the clipboard as an Page 68 Available menus
image by using the following menu: when editing a ladder
• [Edit] [Image Clip] program
Page 296 Copying an image
to the clipboard
• When changing a column width by dragging the mouse cursor, the
width is displayed on the tooltip.
• Options of FB instances are displayed when entering an FB instance
name in the "FB Instance Name" screen or changing an FB instance
name.
An FB instance can be registered in the last row of a label editor by
A
selecting the checkbox of the following item in the "FB Instance Name"
screen:
• Register a FB instance at the last row.
• Label comments of the following data are displayed in the "Enter
Ladder" screen with description and in the "Continuous Paste" screen:
array element of an array type label, bit-specified label, and structure
member.
Label comments of the following data can be edited directly:
• Array element of an array type label
• Bit-specified label
• Structure member
• Visibility of vertical lines connected to an instruction (except for contact
and coil), inline structured text box, and note is improved.
• The cursor moves to the previous/next row by pressing the +/
keys from the edge of a grid toward the outside. In addition, the
range from a point where the key was first pressed to one where
the cursor moved to is selected.
• When a column is inserted or deleted in a ladder that is rectangularly
selected (excluding a wrapped ladder), a column is added or deleted in
each row.
• The background color set in "Normal Background" of the "Color and
Font" screen is applied to that of the outside of the grid; therefore, the
background color of the inside and outside of the grid is unified.
Registering an All CPUs A label can be registered in the last row of a label editor by selecting the
undefined label checkbox of the following item in the "Undefined Label Registration"
screen:
• Register a label at the last row.
APPX
Appendix 1 Additions and Changes from Previous Version 829
Item Module type Description Reference
FBD/LD editor All CPUs • A connection line can be adjusted manually. (In an SFC diagram editor, Page 327 Common
SFC diagram editor only the connection line of an FBD/LD element can be adjusted.) operations of elements
A device comment is displayed with the number of characters set in the
following option:
• "Other Editor" "Device Comment Editor" "Number of Editing/
Displaying Characters" "Number of Device Comment Editing/
Displaying Characters"
SFC diagram editor All CPUs Actions can be hidden by selecting the following menu: Page 73 Available menus
• [View] [Hide Actions] when editing an SFC
An SFC diagram editor becomes read-only when actions are hidden. program (SFC diagram)
Page 343 Configuration of
Actions can be hidden by selecting "Yes" for the following option:
an SFC diagram editor
• "Program Editor" "SFC Diagram Editor" "Action/Transition"
"Display Format" "Hide Actions"
An SFC diagram editor becomes read-only when actions are hidden.
• The file size of a project can be reduced by changing the display format Page 348 Changing the
of a transition (Zoom) created in Ladder Diagram language. display format (type) of a
transition
• "Enter Device/Label Comment Continuously" is added in the property Page 370 Creating Zooms
screen for an action/transition in MELSAP-L (instruction format). (MELSAP-L (instruction
format))
• Comments of a device and label used in an action/transition in Page 371 Editing a device
MELSAP-L (instruction format) can be edited in the "Edit Device/Label comment and label
Comment" screen. comment
Conversion All CPUs The following option name is changed. Page 430 Converting
• Before change (version 1.030G to 1.066U) character codes
Language Used by Instruction Conversion of String Operation
• After change (version 1.070Y)
Language for Instruction Conversion of Character String Operation and
Label Initial Value
Search/replacement All CPUs • Label comments for an array element and bit-specified label can be Page 451 Searching for/
searched for. Replacing Character Strings
FB property page RnPCPU • Settings for FB properties are categorized in this screen; entered Page 377 Displaying the FB
RnPSFCPU content can be checked, and settings for a function generator can be property page
checked with a graph.
Data flow analysis All CPUs • An index-modified device is analyzed with the device value to which Page 471 Analyzing an
the index value is applied. index-modified device
• The monitor value of an analyzed device/label can be displayed in the Page 475 Monitoring
"Dataflow Analysis" window. devices/labels
A comment specified in the following option is displayed in a device/label Page 472 Displaying
block or process block: comments
• "Other Editor" "Label Editor Common" "Display Setting"
"Hierarchy Display Setting for Structures Comment"
Bookmark All CPUs • Position information of a program can be registered as a bookmark Page 479 Registering a
from a program editor and the "Dataflow Analysis" window. Bookmark
Library All CPUs • A safety FB library is automatically registered in GX Works3 when Page 515 Enhanced Use of
installing GX Works3 for the first time. Application Library/
MELSOFT Library
APPX
830 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
Simulation All CPUs By selecting "Yes" for the following option, parameters, programs, and Page 522 Starting a
optional data are automatically written to GX Simulator3 when simulation simulation
is started:
• "Simulation" "Start Simulation" "Operational Setting"
"Automatically write programs and parameters when starting
simulation."
RnCPU (R04CPU, A project including any of the following modules can be simulated: Page 933 Modules
R08CPU, R16CPU, • Recorder module (RD81RC96) supported by GX Simulator3
R32CPU, R120CPU) • MELSECNET/H network modules (RJ71LP21-25, RJ71LP21-25(R)) Page 965 Module buffer
RnENCPU memory
RnSFCPU Page 967 Link devices of
network module
RnCPU The following function is available: MELSEC iQ-R CPU
RnENCPU • Saving of device/label data write operation histories of the event history Module User's Manual
function (Application)
RnPCPU The following function is available:
• FB hierarchy information
RnSFCPU The following functions are available:
• Memory dump
• Extension of points for CC-Link IE Controller Network
RnSFCPU The following CPU parameters are available:
• Link Direct Device Setting
• FUNCTION LED in LED Display Setting
RnCPU (R04CPU, • The function memory capacity that is used for simulating a project for
R08CPU, R16CPU, any of the following CPU modules is increased: RnCPUs (R04CPU,
R32CPU, R120CPU) R08CPU, R16CPU, R32CPU, and R120CPU) and RnENCPUs. (Total
RnENCPU capacity: 20480 KB, capacity for each file size: 8192 bytes)
RnSFCPU • An RnSFCPU project including a CC-Link IE TSN module or CC-Link
IE TSN compatible motion module can be simulated.
RnCPU • If a data logging file is stored in the function memory, up to 10 settings
RnENCPU of data logging can be performed at the same time by using the data
logging function of an RnCPU and RnENCPU.
FX5UCPU
FX5UCCPU
A project including either of the following modules can be simulated. (The
system simulation is not available.)
Page 933 Modules
supported by GX Simulator3
A
• CC-Link IE TSN module (FX5-CCLGN-MS)
• CC-Link system master/intelligent device module (FX5-CCL-MS)
A project can be simulated while the following option is selected in Page 950 CPU module
"Communication Destination" in "Simple CPU Communication Setting" of (FX5CPU)
the module parameters: Page 962 Module parameter
• MELSEC iQ-R (built-in Ethernet) (Ethernet port)
• MELSEC iQ-L (built-in Ethernet)
The following instructions are available: Page 954 Application
• Reading/writing data instructions (SP.FREAD, SP.FWRITE) instruction
• When using the data logging function, data can be saved as a CSV file. MELSEC iQ-F FX5
User's Manual (Application)
• In the "Device/Label Memory Area Setting" screen which appears by
clicking "Detailed Setting" in "Device/Label Memory Area Setting" of
CPU parameter, up to 63 K words can be set for the capacity of
"Standard Area."
Reading data from a All CPUs • When reading only device memories with a device memory editor
programmable controller opened, the device memory editor remains open during and after the
processing.
Writing data to a FX5UCPU The following data can be written, read, and deleted: Page 585 Operations after
programmable controller FX5UCCPU • SFC program writing SFC programs
Reading data from a • Content of "SFC Setting" in CPU parameters Page 586 Setting write
programmable controller target devices and their
Deleting data in a ranges
programmable controller
Device/buffer memory All CPUs • The "Display Format" screen appears by clicking the [Open Display Page 633 Checking Device/
batch monitor Format] button. Buffer Memory in a Batch
• When zooming this screen in and out, the column width is
automatically adjusted according to the text size.
APPX
Appendix 1 Additions and Changes from Previous Version 831
Item Module type Description Reference
Watch All CPUs • When registering a label for which a value other than a fixed value is Page 641 Registering an
used as an array index, the index can be extracted and automatically array index
registered as another watch item.
• When registering the arguments of an application instruction in a watch
window, the arguments are registered according to their data types.
Label comments of the following data are displayed in a watch window:
• Array element of an array type label
• Bit-specified label
• Structure member
FX5UCPU • The current value of a device/label used in an SFC program can be
FX5UCCPU checked.
Intelligent function All CPUs • A device station can be monitored in a project in which a CC-Link IE Page 659 Registration of a
module monitor TSN module (RJ71GN11-T2) is used. device station
System monitor RnPCPU (redundant • This function is available in a redundant system configuration in which Page 703 Redundant
mode) a redundant extension base unit (R68WRB) is used. system configuration
RnPCPU • A trucking cable is no longer displayed in the base configuration when
RnPSFCPU diagnosing an RnPCPU or RnPSFCPU.
Recording monitor*3 RnSFCPU • The recording status can be monitored in a project for an RnSFCPU. Page 707 Recording Status
Check
Recording*3 RnSFCPU • This function is available in a project for an RnSFCPU. Page 732 Recording
Function
All CPUs • A recording file can be saved in a file server.
• "Sampling Time(Approx.)" is displayed in the "Recording Setting"
screen.
Event history (Offline RnCPU (R04CPU, • Events in an event history can be refined. Page 749 Checking an
monitor) R08CPU, R16CPU, event history (offline
R32CPU, R120CPU) monitor)
RnENCPU
RnSFCPU
Offline monitor*3*4 RnSFCPU • Data collected from an RnSFCPU can be monitored by using the Page 740 Checking a
recording function of a recorder module. recording file
RnCPU (R04CPU, The following functions are available for a log marker: Page 747 Editing a
R08CPU, R16CPU, • Adding a comment comment/color
R32CPU, R120CPU) • Changing a marker color
RnENCPU • Log markers are automatically synchronized with GX LogViewer in Page 748 Linking with GX
RnSFCPU
which data is being displayed in a waveform. LogViewer
GX VideoViewer can be started by selecting the following menu: Page 756 Playing a video
• [Tool] [GX VideoViewer]
• Index registers (Z) and long index registers (LZ) can be monitored
regardless of the option setting in the "Recording File Reading" screen.
Changing the module FX5UCPU The following data can be utilized when changing the module type from Page 929 Data to be
type/operation mode FX5UCCPU an FX5CPU to an RCPU: changed when changing the
• SFC program module type
• Number of step relay (S) points that is set in "Memory/Device Setting"
of the CPU parameter
• Content of "SFC Setting" in CPU parameters
APPX
832 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
Options All CPUs The following options are added:
• "Program Editor" "Ladder Editor" "Ladder Diagram" "Edit
Operation" "Operation in adjusting column width by mouse"
• "Program Editor" "Ladder Editor" "FB/FUN" "Operational
Setting" "Automatically adjust column width in creating"
• "Program Editor" "SFC Diagram Editor" "Action/Transition"
"Display Format" "Hide Actions"
• "Program Editor" "SFC Diagram Editor" "Action/Transition"
"Operational Setting" "Enter label comment and device comment
continuously"
• "Other Editor" "Label Editor Common" "Display Setting"
"Hierarchy Display Setting for Structures Comment"
• "Online" "Write to PLC" "Operational Setting" "Intelligent
Function Module takes priority to be selected for module extension
parameter"
• "Online" "Write to PLC"/"Verify with PLC" "Operational Setting"
"Show only the device memory start with the specified name"
• "Online" "Write to PLC"/"Verify with PLC" "Operational Setting"
"Show only the file register start with the specified name"
• "Simulation" "Start Simulation" "Operational Setting"
"Automatically write programs and parameters when starting
simulation."
FX5UCPU The following options are added:
FX5UCCPU • "Program Editor" "SFC Diagram Editor"
• "Monitor" "SFC Diagram Editor"
Printing FX5UCPU The following data can be printed:
FX5UCCPU • SFC program
• Content of "SFC Setting" in CPU parameters
FBD/LD editor All CPUs • When the data type of a function block element is changed, the data
type of its FB instance is changed as well as the data type of a function
block element with the same FB instance.
• When the data name of a function or function block is changed in the
navigation window, the data type of a function element or function block
element used in this editor is also changed.
Device comment editor All CPUs • The cursor no longer moves to the "Device Name" column by pressing A
the key while editing a device comment.
Cross reference All CPUs • The "Label Comment" window appears by selecting and right-clicking a
row in the search result then selecting [Comment Edit] from the
shortcut menu.
Writing data to an SD All CPUs • Data written to an SD memory card can be transferred to a CPU
memory card module by using a boot operation function.
Monitoring FX5UCPU The following monitor functions are available:
FX5UCCPU • SFC diagram monitor
• SFC auto-scroll
• Zoom monitor
• SFC block list monitor
• SFC all blocks batch monitor
CC-Link IE Field All CPUs The following modules can be diagnosed:
Network Basic • AC input module (NZ2MF2S2-16A)
diagnostics • Contact output module (NZ2MF2S2-16R)
Sensor/device monitor RnPCPU (redundant The following module and the modules mounted on it can be diagnosed:
Ethernet diagnostics mode) • Redundant extension base unit (R68WRB)
CC-Link IE Controller
Network diagnostics
CC-Link IE TSN/CC-Link
IE Field Network
diagnostics
CC-Link diagnostics
Diagnostics FX5UCPU • The cursor can jump to the location in which an error has occurred in
FX5UCCPU an SFC program.
Event history*3 RnSFCPU • A modify value event that is output from an RnSFCPU can be checked
in the "Event History" screen and the "Event History (Offline Monitor)"
window.
APPX
Appendix 1 Additions and Changes from Previous Version 833
Parameters
Category Module Module Parameter*3*4 Description
type
CPU RnPCPU (redundant mode) "Redundant System Settings" "Redundant Newly added
parameter system with extension base unit"
FX5UCPU "SFC Setting" Newly added
FX5UCCPU
"Memory/Device Setting" "Device/Label A device range is displayed in the "Latch (1)"
Memory Area Setting" "Device/Label or "Latch (2)" column.
Memory Area Detailed Setting" "Device
(high speed) Setting" "<Detailed Setting>"
"Memory/Device Setting" "Device/Label
Memory Area Setting" "Device/Label
Memory Area Detailed Setting" "Device
(Standard) Setting" "<Detailed Setting>"
Module RnCPU "Application Settings" "Simple CPU The following item is added:
parameter RnENCPU Communication Setting" "<Detailed • "Initial Communication Setting" "Continue
Setting>" Communicating Until Receiving Response"
All CPUs Serial communication The following menu is available:
modules (RJ71C24, • [Edit] [Channel Copy]
RJ71C24-R2, RJ71C24-
R4, LJ71C24, LJ71C24-
R4)
Multiple input modules
(FX5-8AD, FX5-
8AD(FX2N), L60MD4-G)
Energy measuring
modules (QE82LG,
QE83WH4W, QE84WH)
Loop control module
(Q62HLC)
RnPCPU Ethernet interface "Application Settings" "Redundant System Newly added
(redundant modules Settings" "To Use or Not to Use Redundant
mode) (RJ71EN71(E+E), System Settings"
RJ71EN71(Q))
APPX
834 Appendix 1 Additions and Changes from Previous Version
Version 1.072A
All CPUs: RCPU, LHCPU, and FX5CPU
Item Module type Description Reference
Redundant system RnPCPU (redundant • A redundant extension base unit (R66WRB-HT) is available. Page 197 Display for a
configuration*4 mode) redundant extension base
unit configuration
Page 584 Writing of module
extended parameters in a
redundant system
configuration
System monitor RnPCPU (redundant • This function is available in a redundant system configuration in which Page 703 Redundant
mode) a redundant extension base unit (R66WRB-HT) is used. system configuration
Sensor/device monitor RnPCPU (redundant The following module and the modules mounted on it can be diagnosed:
Ethernet diagnostics mode) • Redundant extension base unit (R66WRB-HT)
CC-Link IE Controller
Network diagnostics
CC-Link IE TSN/CC-Link
IE Field Network
diagnostics
CC-Link diagnostics
Recording monitor*3 RnCPU (R04CPU, • The recording status can be monitored in a project in which a camera
R08CPU, R16CPU, recorder module is used.
R32CPU, R120CPU)
RnENCPU
RnSFCPU
Recording*3 RnCPU (R04CPU, • This function is available in a project in which a camera recorder Page 732 Recording
R08CPU, R16CPU, module is used. Function
R32CPU, R120CPU) • In a project in which a recorder module or camera recorder module is
RnENCPU used, any device/label can be specified in "Device/Label Sampling
RnSFCPU Target Setting" of the "Recording Setting" screen.
Offline monitor*3 RnCPU (R04CPU, • Data collected by the recording function of a camera recorder module Page 740 Checking a
R08CPU, R16CPU, can be monitored. recording file
R32CPU, R120CPU)
RnENCPU
A
RnSFCPU
All CPUs (excluding an • A recording file and logging file can be played by clicking (Play) in Page 744 Seek bar
R00CPU) the "Seek Bar" window.
• A recording file and logging file that are saved on a network drive can
be monitored.
Label editor All CPUs When a device assigned to a global label is deleted automatically due to Page 237 Assignment
specific operations (such as changing the data type of the label or adding/ (devices/labels)
deleting/editing a structure member), that can be reported in the "Output"
window by selecting "Yes" for the following option:
• "Other Editor" "Label Editor Common" "Operational Setting"
"Notify when assigned device is deleted"
Options All CPUs The following option is added:
• "Other Editor" "Label Editor Common" "Operational Setting"
"Notify when assigned device is deleted"
Parameter RCPU • The operability of C intelligent function modules (RD55UP06-V and
RD55UP12-V) and their parameter descriptions have been improved.
APPX
Appendix 1 Additions and Changes from Previous Version 835
Version 1.075D
All CPUs: RCPU, LHCPU, and FX5CPU
Item Module type Description Reference
Element selection All CPUs • By selecting a category from the pull-down list of "Display Target" in the Page 57 Element selection
window [Favorites], [Module], or [Library] tab, elements only in the category can window
be displayed.
• An element can be searched for in the [Library] tab. Page 58 Searching for
• Elements can be searched for in a batch in the [POU List] tab. elements
• The definition of a module FB can be added to the navigation window Page 503 Adding the
by dragging and dropping the module FB from the [Module] tab onto definition of a module FB
"FB/FUN" in the navigation window.
• Program files, FB files, and FUN files can be displayed in the [Library] Page 511 Displaying
tab. In addition, they can be utilized in a project by file. program files/FB files/FUN
files
Opening a GX Works2 RCPU • Device comments of local devices can be imported.
format project LHCPU
RnCPU • Special relays/special registers that can be replaced are added.
RnENCPU
RnPCPU
LHCPU
LHCPU The parameters of the following modules can be imported: Page 108 Data to be
• Serial communication modules (LJ71C24, LJ71C24-R2) changed
• Multiple input module (L60MD4-G)
• Analog input modules (L60AD4, L60ADVL8, L60ADIL8, L60AD4-2GH)
• Analog output modules (L60DA4, L60DAVL8, L60DAIL8)
• Analog I/O module (L60AD2DA2)
• Temperature input module (L60RD8)
• Temperature control modules (L60TCTT4, L60TCTT4BW, L60TCRT4,
L60TCRT4BW)
• Simple motion modules (LD77MS2, LD77MS4, LD77MS16)
• High-speed counter module (LD62, LD62D)
• LD75 type positioning modules (LD75P1, LD75P2, LD75P4, LD75D1,
LD75D2, LD75D4)
• Flexible high-speed I/O control module (LD40PD01)
• Blank cover module (QG60)
Opening a GX RnSFCPU The following items can be imported: Page 124 Opening a GX
Developer format project • User-defined FB Developer format project
• Structure
• Global variable
• Local label
Help file All CPUs • e-Manual that is created in e-Manual Create can be displayed. Page 133 Associating data
with an e-Manual
Page 134 Opening a help
file
iQ Sensor Solution RnCPU • This function is available in a project using a CC-Link IE TSN- Page 210 iQ Sensor
function RnENCPU AnyWireASLINK bridge module (NZ2AW1GNAL). Solution functions
RnSFCPU
Simple device RnCPU A simple device communication library can be registered in GX Works3 Page 217 Registering a
communication library RnENCPU by using the following menu: simple device
RnPCPU (process • [Tool] [Register Simple Device Communication Library] communication library
mode)
RnSFCPU
Assigned device check RCPU • A global label to which a device is assigned can be checked if the initial Page 241 Initial value check
LHCPU value is set for the label.
Ladder editor All CPUs • The ON/OFF state of a function/function block is displayed during Page 621 ON/OFF state
monitoring even if it is closed in an outline display. display
Ladder editor All CPUs • When jumping to an element in an editor, the element is displayed in
ST editor the center of the editor.
FBD/LD editor
SFC diagram editor
APPX
836 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
FBD/LD editor All CPUs • Multiple comment elements can be linked with a single element. Page 338 Linking a
SFC diagram editor comment element with a
single element
By selecting "Yes" for the following option, content in the "Remark"
column that is set for a global label is displayed on its tooltip.
• "Program Editor" "FBD/LD Editor" "Tool Hint" "Display Item in
Tool Hint" "Label Remark"
• "Program Editor" "SFC Diagram Editor" "Tool Hint" "Display
Item in Tool Hint" "Label Remark"
SFC diagram editor All CPUs • The display format of a transition (Zoom) that consists only of one close Page 348 Changing the
contact and TRAN can be changed. display format (type) of a
transition
• Devices and labels of the close contact type are available when Page 353 Creating a
creating a transition to be displayed in the device/label format. transition
A selection branch or simultaneous branch can be added by selecting the
following menu after selecting an element that links with a comment
element.
• [Edit] [Insert] [Selection Branch Leg]/[Simultaneous Branch Leg]
Quick search All CPUs • The functions of navigation window can be searched for and displayed. Page 138 Searching the
Navigation Window
Device/label search All CPUs • By selecting "Include the input/output label of FB instance" under "Find Page 448 Searching for/
Device/label Target," the input/output labels of FB instances in a ladder program and Replacing Devices and
replacement FBD/LD program are searched for or replaced. Labels
Instruction search Page 450 Searching for/
Instruction replacement Replacing Instructions
Cross reference*4 RnCPU • Devices used in "Simple Device Communication Setting" of the module
Device list*4 RnENCPU parameter can be searched for.
RnPCPU (process
mode)
RnSFCPU
FX5CPU Devices used in the following module parameter of Ethernet interface
modules (FX5-ENET and FX5-ENET/IP) can be searched for.
• Simple CPU Communication Setting
Cross Reference All CPUs • By adding a program file name, FB file name, or FUN file name to a Page 459 Label type and
A
label name, the range of the labels to search for can be specified. range specification method
Cross Reference All CPUs • By entering a label name as 'FB instance name.label name,' a local
Data flow analysis label of a function block can be searched for and analyzed.
Data flow analysis*4 RnCPU • "Simple Device Communication Setting" in the module parameters is Page 467 Target range of
RnENCPU added to the target range of data flow analysis. data flow analysis
RnPCPU (process
mode)
RnSFCPU
All CPUs • A device/label selected on a data flow diagram can be displayed in a Page 754 Starting GX
waveform in GX LogViewer during offline monitoring. LogViewer
• The monitor value of an FB instance is displayed. Page 476 Displaying the
monitor value of an FB
instance
• Multiple elements can be selected on a data flow diagram. Page 473 Operations in a
data flow diagram
Values in index registers of the following devices are considered.
• Link direct device
• Module access device
• CPU buffer memory access device
• Network number specified device
Specifying a connection FX5CPU • A CPU module can be accessed via Ethernet interface modules (FX5- Page 564 Accessing via
destination ENET and FX5-ENET/IP). Network (Single Network)
Reading/writing the label RCPU • The label memory can be read from/written to a CPU module in the Page 608 Reading/Writing
memory*3 "CPU Memory Operation" screen. the Label Memory
Page 773 Reading/Writing
the Label Memory
Firmware update*3*4 FX5UCPU • The firmware of modules can be updated using GX Works3. Page 776 Firmware Update
FX5UCCPU
APPX
Appendix 1 Additions and Changes from Previous Version 837
Item Module type Description Reference
Simulation RnPCPU (redundant A project including the following module can be simulated: Page 523 Simulation of an
mode) • Redundant extension base unit (R68WRB) RnPCPU (redundant mode)
Page 933 Modules
supported by GX Simulator3
RnCPU (R04CPU, • A data logging setting where "Condition specification" is selected for MELSEC iQ-R CPU
R08CPU, R16CPU, the file switching timing can be used. Module User's Manual
R32CPU, R120CPU) (Application)
• A device value can be added to a saved file name for data logging.
RnENCPU
• A data logging file can be saved in the CSV file format.
RnCPU A project can be simulated while the following item in "Simple CPU
RnENCPU Communication Setting" in the module parameters is set:
• "Initial Communication Setting" "Continue Communicating Until
Receiving Response"
RnSFCPU A project including the following module can be simulated:
• Recorder module (RD81RC96)
The following function is available: MELSEC iQ-R CPU
• Saving of device/label data write operation histories of the event history Module User's Manual
function (Application)
FX5UCPU • The SFC function is available. Page 950 CPU module
FX5UCCPU (FX5CPU)
MELSEC iQ-F FX5
User's Manual (Application)
FX5UCPU The following instructions are available: Page 954 Application
FX5UCCPU • SFC control instructions instruction
• SFC dedicated instructions
FX5UCPU • "SFC Setting" in CPU parameters is available. Page 961 CPU parameter
FX5UCCPU
Program list monitor*3 RnCPU • A desired program can be started and stopped. Page 655 Checking the
RnENCPU Processing Time of a
RnPCPU Program
Page 656 Starting a program
Page 656 Stopping a
program
Specified program RnCPU • Devices/labels after executing a specified program can be monitored. Page 613 When monitoring
monitor*3 RnENCPU devices/labels in a specified
program
Sensor/device monitor RnCPU This screen can be displayed by the following operation after selecting a Page 706 Checking the
RnENCPU CC-Link IE TSN-AnyWireASLINK bridge module (NZ2AW1GNAL) in the status of a sensor/device
RnSFCPU "CC-Link IE TSN/CC-Link IE Field Diagnostics" screen: connected to a bridge
• Right-click the module and select [AnyWireASLINK Sensor/Device module
Monitor] from the shortcut menu. Page 718 Displaying the
sensor/device monitor
screen
PROFIBUS RCPU The following function of PROFIBUS Configuration Tool is available. MELSEC iQ-R
Configuration Tool • Slave specific transfer PROFIBUS-DP Module
(To use this function, it is required that Version 1.04E or later of User's Manual (Application)
PROFIBUS Configuration Tool has been installed.)
APPX
838 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
Ethernet configuration FX5CPU • MELSOFT connection modules and SLMP connection modules can be
placed as ones connected to Ethernet interface modules (FX5-ENET
and FX5-ENET/IP).
CC-Link IE TSN RnCPU • The PDO mapping parameters can be set in a batch if there is any
configuration RnPCPU device station for which PDO mapping parameters are not set when
RnSFCPU checking the system configuration.
• If the own station is a CC-Link IE TSN compatible motion module, the
checkbox in the "Motion Control Station" column of the station list is
automatically selected by dragging and dropping a device station from
the module list window onto the station list or network configuration.
Tag FB setting editor RnPCPU Shortcut keys can be set for the following menus:
RnPSFCPU • [Edit] [New Declaration (Before)]
• [Edit] [Delete Row]
• [Edit] [Export Assignment Information Database File]
• [Edit] [FB Property Page]
Label editor All CPUs Shortcut keys can be set for the following menus:
• [Edit] [New Declaration (Before)]
• [Edit] [Delete Row]
Ladder editor FX5UCPU • "String [Unicode]" can be set as the data type of a device/label.
ST editor FX5UCCPU
SFC diagram editor
FBD/LD editor
Label editor
FBD/LD program All CPUs Shortcut keys can be set for the following menus:
(including a Zoom) • [Edit] [Layout] [Insert Row]
• [Edit] [Layout] [Delete Row]
• [Edit] [Layout] [Insert Column(in FBD Network Block)]
• [Edit] [Layout] [Delete Column(in FBD Network Block)]
• [Edit] [Layout] [Insert Multiple Rows]
• [Edit] [Layout] [Delete Multiple Rows]
Module start I/O No. All CPUs A device comment is displayed with the number of characters set in the
related area following option:
ST editor • "Other Editor" "Device Comment Editor" "Number of Editing/
Device memory editor
Cross reference
Displaying Characters" "Number of Device Comment Editing/
Displaying Characters"
A
Data flow analysis
Device/buffer memory
batch monitor
Watch
Device test with
execution conditions
Interrupt program list
monitor
Search/replacement All CPUs When using the following menu, the jump destination is displayed in the
center of a work window.
• [Find/Replace] [Previous]/[Next]
CC-Link IE TSN/CC-Link RCPU The following modules can be diagnosed:
IE Field Network FX5CPU • Transistor output modules (NZ2GN12A2-16T, NZ2GN12A2-16TE,
diagnostics*4 NZ2GN2B1-16T, NZ2GN2B1-16TE, NZ2GN2S1-16T, NZ2GN2S1-
16TE)
• DC input modules (NZ2GN12A4-16D, NZ2GN12A4-16DE,
NZ2GN2B1-16D, NZ2GN2S1-16D)
• DC input/transistor output combined modules (NZ2GN12A42-16DT,
NZ2GN12A42-16DTE)
• CC-Link IE TSN-AnyWireASLINK bridge module (NZ2AW1GNAL)
• Servo amplifiers (MR-J5D1-G, MR-J5D2-G, MR-J5D3-G)
Simple CPU FX5CPU • Ethernet interface modules (FX5-ENET and FX5-ENET/IP) can be
communication diagnosed.
diagnostics*3*4
• A diagnostics target module can be specified.
APPX
Appendix 1 Additions and Changes from Previous Version 839
Item Module type Description Reference
Options All CPUs The following option name is changed. Page 514 Checking for
• Before change (version 1.045X to 1.072A) library updates automatically
"Project" "User Library" "Library Update Check"
• After change (version 1.075D)
"Project" "Element Selection" "Update Check"
The following options are added:
• "Project" "Navigation" "Operational Setting" "Hide Docking
Window When ESC Key is Pressed"
• "Project" "Element Selection" "Update Check" "Automatically
check the version of module label, module FB, tag data structured data
type, and process control FB."
• "Program Editor" "FBD/LD Editor" "Tool Hint" "Display Item in
Tool Hint" "Label Remark"
• "Program Editor" "SFC Diagram Editor" "Tool Hint" "Display
Item in Tool Hint" "Label Remark"
• "Parameter" "Common Item" "Operational Setting" "Operation
on Double-clicking Pulldown List"
• "Parameter" "Network Configuration Settings" "CC-Link IE TSN"
"Operational Setting" "Check the station No. and IP address in
closing the window to reflect the setting."
RnCPU The following option is added:
RnENCPU • "Convert" "Basic Setting" "Operational Setting" "Use Phase
Processing Instructions"
Printing*4 RnCPU • Contents of "Simple Device Communication Setting" in the module
RnENCPU parameters can be printed.
RnPCPU (process
mode)
RnSFCPU
FX5CPU Contents of the following parameters of Ethernet interface modules (FX5-
ENET and FX5-ENET/IP) can be printed:
• BACnet Function Setting
• Simple CPU Communication Setting
Shortcut key All CPUs • When updating GX Works3, shortcut keys that were set before the
update are applied.
Reading/writing/deleting All CPUs • A file with the '.QST' extension can be written, read, and deleted.
user data
Offline monitor RnCPU (R04CPU, • A recording file including up to 5,232,645 records can be monitored.
R08CPU, R16CPU,
R32CPU, R120CPU)
RnENCPU
RnSFCPU
Others All CPUs • When installing GX Works3, GX VideoViewer can be installed at the GX Works3 Installation
same time. Instructions
FX5UJCPU The following modules can be used in a project:
• Safety extension modules (FX5-SF-8DI4, FX5-SF-MU4T5)
APPX
840 Appendix 1 Additions and Changes from Previous Version
Parameters
Category Module Module Parameter*3*4 Description
type
System RnCPU CC-Link IE TSN "Inter-module Synchronization Setting" Newly added
parameter RnENCPU compatible motion "Select Inter-module Synchronization Target
modules (RD78G41, Module"
RD78G8, RD78G16, "Inter-module Synchronization Setting" Newly added
RD78G32, RD78G64,
"Inter-module Synchronization Master Setting"
RD78GHV, RD78GHW)
CPU RnPCPU "Memory/Device Setting" "Link Direct Newly added
parameter Device Setting"
Module RnCPU Ethernet interface "Application Settings" "Simple Device Newly added
parameter RnENCPU modules Communication Setting"
RnPCPU (_RJ71EN71(E+IEC),
(process _RJ71EN71(E+IEF),
mode) RJ71EN71(E+CCIEC),
RnSFCPU RJ71EN71(E+CCIEF),
RJ71EN71(E+E))
EtherNet/IP module "Basic Setting" EtherNet/IP Configuration Tool for RJ71EIP91
(RJ71EIP91) can be started.
RnSFCPU CC-Link IE TSN module "Basic Settings" "Safety Communication "CR800-R" can be selected for
(RJ71GN11-T2) Setting" "<Detailed Setting>" "Communication Destination."
FX5CPU Ethernet interface "Basic Settings" "BACnet Function Setting" Newly added
modules (FX5-ENET and
"Application Settings" "Simple CPU Newly added
FX5-ENET/IP)
Communication Setting"
"Basic Settings" "Own Node Settings" Newly added
"Communication Data Code"
"Application Settings" "Security" "Disable Newly added
Direct Connection with MELSOFT"
"Application Settings" "Security" "Do Not Newly added
Respond to CPU Module Search"
Version 1.077F
A
All CPUs: RCPU, LHCPU, and FX5CPU
Item Module type Description Reference
Start of GX Works3 All CPUs • The display position and window size of GX Works3 at startup can be Page 48 Starting GX Works3
specified by specifying an option in a command line. by specifying the display
• Offline monitoring can be started when starting GX Works3 by position and window size
specifying an option in a command line.
Creating a function block All CPUs • A function block can be created from a ladder block selected in a Page 484 Creating a
ladder editor. Function Block
Reading a recording file RnCPU (R04CPU, • Project data saved in a recorder module can be read. Page 735 Reading a
R08CPU, R16CPU, recording file
R32CPU, R120CPU),
RnENCPU, RnSFCPU
Offline monitor RnCPU (R04CPU, • If project data is saved in a recorder module, camera recorder module, MELSEC iQ-R System
R08CPU, R16CPU, or file server, the following project data is automatically opened among Recorder User's Manual
R32CPU, R120CPU) the saved project data when starting offline monitoring: project data (Application)
RnENCPU with the time information closest to the time at which a recording file to
RnSFCPU be played was saved.
Options All CPUs The following options are added:
• "Monitor" "Common Item" "Change Current Value" "Show a
confirmation message when modifying value in Watch."
• "Convert" "Basic Setting" "Operational Setting" "Function
Block" "Check the Device Which is Connected to Argument"
APPX
Appendix 1 Additions and Changes from Previous Version 841
Version 1.080J
All CPUs: RCPU, LHCPU, and FX5CPU
Item Module type Description Reference
Printing RCPU • Inline structured text programs used in an FBD/LD program can be Page 95 Printing inline
LHCPU printed. structured text programs
used in FBD/LD programs
All CPUs • File names are displayed in the "Do Not Print" column of "Setting by
Item" in the "Print" screen in the same order as the navigation window.
Verification RCPU • Inline structured text programs used in an FBD/LD program can be Page 151 FBD/LD program
LHCPU verified. Page 156 Merging
mismatched data into a
verification source
Page 158 FBD/LD program
Quick search All CPUs • Menus can be searched for in the quick search. Page 78 Quick Search
Opening a GX Works2 FX5CPU • A project for an FXCPU (FX3S) can be replaced with a project for an Page 107 Opening a GX
format project FX5CPU. Works2 format project
Opening a PX Developer RCPU • Inline ST parts used in a PX Developer project can be imported as an Page 111 Data to be
format project inline structured text program. changed (PX Developer)
Page 920 Inline ST part
Opening a GX IEC FX5UCPU • POUs created in Sequential Function Chart language can be imported. Page 117 Data to be
Developer format project FX5UCCPU changed
AnyWireASLINK RCPU The following functions are available even when a specific error or alarm
configuration window*5 occurs in an AnyWireASLINK master module or CC-Link IE Field-
AnyWireASLINK bridge module:
• Automatic detection of connected devices
• Parameter processing of remote module
• Verification of connected devices and configurations
• Sensor/device monitor
The following function is available for a CC-Link-AnyWireASLINK bridge
module and CC-Link IE Field-AnyWireASLINK bridge module:
• Verification of connected devices and configurations
CC-Link IE TSN RCPU • The "CC-Link IE TSN Class" column is added.
configuration window
• The number of device stations that can be placed in this window is
changed from 254 to 120 in a project using a CC-Link IE TSN
compatible motion module.
Changing a module RCPU • The module names of CC-Link IE TSN compatible motion modules Page 222 Change Module
(RD78G4, RD78G8, RD78G16, RD78G32, RD78G64, RD78GHV, and
RD78GHW only) can be changed.
Navigation window All CPUs Program files, program blocks, and worksheets can be sorted by name or Page 55 Sorting data
update date and time in a batch by either of the following operations:
• Right-click "Project" and select [Sort] [Name] from the shortcut
menu.
• Right-click Project" and select [Sort] [Last Change] from the shortcut
menu.
Label comment window All CPUs A label can be pasted by dragging and dropping its label name to any of Page 59 Adding from the
the following screens: "Label Comment" window
• Ladder editor Page 283 Pasting from each
• ST editor screen
• FBD/LD editor Page 640 Registering
• SFC diagram editor devices/labels from the
• Watch window "Label Comment" window
• [Favorites] tab in the element selection window
Creating a program*3 RnSFCPU • Sequential Function Chart language is supported.
(Standard program)
APPX
842 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
Ladder editor All CPUs • A label comment or device comment can be directly edited by double- Page 284 Entering/editing
clicking it. comments
By selecting "Yes" for the following option, the "FB Instance Name"
screen appears when pasting a function block:
• "Program Editor" "Ladder Editor" "FB/FUN" "Operational
Setting" "Show FB Instance Name Window in Pasting Ladder"
• The "Input Inline Structured Text Title" screen appears by double-
clicking the title of an inline structured text.
• Visibility of the vertical lines of parallel circuits is improved in the output
circuits of function blocks and functions.
• In a ladder block in which an FB instance or function is used,
arguments which are not entered can be entered consecutively after
entering an input, output, or input/output argument.
FBD/LD editor All CPUs An argument (input/output label) of a function element/function block Page 71 Available menus
element can be hidden by using smart tags or the following menus: when editing an FBD/LD
• [Edit] [I/O Argument] [Mark as Hidden] program
• [Edit] [I/O Argument] [Hide Argument] Page 158 FBD/LD program
Page 331 Hiding arguments
The height of a function element/function block element can be changed Page 71 Available menus
by using the following menus: when editing an FBD/LD
• [Edit] [Toggle FB/FUN Height] [Adapt Width] program
• [Edit] [Toggle FB/FUN Height] [Keep Width] Page 334 Changing the
height of an element
RCPU • An inline structured text element is available in an FBD/LD program. Page 71 Available menus
LHCPU when editing an FBD/LD
program
Page 319 Configuration of
an FBD/LD editor
Page 328 Inserting an inline
structured text element
Page 332 Changing the
element size
The colors of inline structured text elements can be changed in the
following items in the "Color and Font" screen: A
• Data Name of Inline Structured Text Element
• Text of Inline Structured Text Element
• Background of Inline Structured Text Element
• Invalid Definition of FB/FUN/Inline Structured Text
SFC diagram editor All CPUs The color of the following item can be changed in the "Color and Font"
screen:
• Background of Jump Symbol
• A step with a jump symbol can be copied without selecting the jump
source.
FBD/LD editor All CPUs • Visibility of elements and connection lines is improved.
SFC diagram editor
Ladder editor All CPUs • If the definition name of the function block includes any of the following Page 272 Inserting a
ST editor symbols, the symbol is replaced with an underscore (_) in the "Label function block
FBD/LD editor Name" column of the "Undefined Label Registration" or "FB Instance Page 313 Inserting a
Name" screen: plus sign (+), minus sign (-), exclamation mark (!), left function block
round bracket ((), right round bracket()), or backquote (`). Page 325 Inserting a
function block
FB property page RnPCPU • This function is available for all loop tag FBs. Page 377 Displaying the FB
RnPSFCPU property page
Device search/ RCPU • Data in an inline structured text program used in an FBD/LD program Page 448 Searching for/
replacement LHCPU can be searched for/replaced. Replacing Devices and
Instruction search/ Labels
replacement Page 450 Searching for/
Character string search/ Replacing Instructions
replacement Page 451 Searching for/
Device batch Replacing Character Strings
replacement Page 454 Batch Replacing
of Devices and Labels
Character string search/ RCPU • The data name of an inline structured text box or inline structured text Page 451 Searching for/
replacement LHCPU element can be searched for/replaced by entering "@STB" or "@IST." Replacing Character Strings
APPX
Appendix 1 Additions and Changes from Previous Version 843
Item Module type Description Reference
Cross Reference RCPU • Devices/labels in inline structured text programs used in an FBD/LD
LHCPU program can be searched for.
Data flow analysis RCPU • Devices/labels in inline structured text programs used in an FBD/LD
LHCPU program can be analyzed.
Bookmark RCPU • Position information of an inline structured text program that is used in Page 479 Registering a
LHCPU an FBD/LD editor can be registered as a bookmark. Bookmark
Library All CPUs • A library using an each program device comment and/or a common Page 506 User library
device comment can be exported.
Simulation All CPUs A project including any of the following modules can be simulated: Page 933 Modules
• Temperature control modules (R60TCTRT2TT2-TS, R60TCRT4-TS) supported by GX Simulator3
• High speed data communication module (RD81DC96) Page 937 Modules
• Camera recorder module (RD81RC96-CA) supported by GX Simulator3
• GP-IB interface module (RJ71GB91(M), RJ71GB91(S)) (System simulation)
• CC-Link IE TSN compatible motion modules (RD78G4(S), RD78G8(S), Page 965 Module buffer
RD78G16(S)) memory
• CC-Link IE TSN compatible motion modules (FX5-40SSC-G(S), FX5- Page 967 Link devices of
80SSC-G(S)) network module
Page 536 Simple motion
All CPUs A system including the following modules can be simulated:
module/motion module
• CC-Link IE TSN compatible motion modules (RD78G4(S), RD78G8(S),
Page 538 Network modules
RD78G16(S), FX5-40SSC-G(S), FX5-80SSC-G(S))
• CC-Link IE TSN module (FX5-CCLGN-MS)
All CPUs • Multiple systems that perform transient transmission can be simulated. Page 538 Network modules
Page 968 Network functions
Page 979 Simulation of
network modules
All CPUs The following items are available when simulating network modules. Page 970 Network
• Application settings in network parameters parameters
• Dedicated instructions for network modules Page 973 Dedicated
instructions for network
modules
All CPUs • The current value of a timer, clock function, and system clock operate Page 977 Timer, clock
with the actual time. function, and system clock
All CPUs When writing a project to a simulator, the project is automatically saved
by selecting "Yes" for the following option:
• "Project" "Save" "Auto-save Operational Setting" "Automatically
save in writing to Simulator as well"
Note that this option can be set only when selecting "Yes" for any of the
following options:
• "Project" "Save" "Auto-save Execution Setting" "Save project
after Write to PLC"
• "Project" "Save" "Auto-save Execution Setting" "Save project
after Online Program Change"
• "Project" "Save" "Auto-save Execution Setting" "Save project
after changing TC Setting Value and writing to PLC"
RnCPU The following functions are available: MELSEC iQ-R CPU
RnENCPU • System monitoring information (SD2000 to SD2036) Module User's Manual
• Specified program monitor (Application)
• CC-Link IE TSN motion module inter-module synchronization function
The following instructions are available: Page 952 RCPU and
• Phase processing instructions LHCPU
RnCPU The following function is available: MELSEC iQ-R CPU
RnENCPU • Program start/stop Module User's Manual
RnPCPU • Label memory read/write (Application)
RnPCPU The following functions are available:
• Extension of points for CC-Link IE Controller Network
• Laser displacement sensor control module supporting the redundant
system with redundant extension base unit
• Device/label access service processing constant wait function
FX5UCPU The following instructions are available: Page 954 FX5CPU
FX5UCCPU • File operation instructions (SP.FREAD, SP.FWRITE, SP.FDELETE,
SP.FCOPY, SP.FMOVE, SP.FRENAME, SP.FSTATUS)
• String processing instructions ($MOV(P)_WS, SJIS2WS(P),
SJIS2WSB(P), WS2SJIS(P))
APPX
844 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
Specifying a connection RCPU • A CPU module can be accessed from a personal computer via a GOT Page 569 Accessing via a
destination*3*4 and CC-Link IE TSN module. GOT and a module
FX5CPU • An FX5CPU to be accessed can be changed in the "Network
Communication Route Detailed Setting of Ethernet" screen when
connecting a personal computer to multiple FX5CPUs via a GOT and
Ethernet.
Monitor*3 RnCPU • The maximum and minimum values of scan time can be cleared from Page 614 Status monitoring
RnENCPU the monitor status bar during monitoring.
RnSFCPU
RCPU • An inline structured text program used in an FBD/LD program can be Page 623 FBD/LD
LHCPU monitored (only in an ST editor).
RnCPU • Whether the IP address change function is used for a network number, Page 704 Check of the
RnENCPU station number, and IP address can be checked on the tooltip. specification method for a
RnSFCPU network No., station No.,
and IP address
Device/buffer memory All CPUs • When changing the current value of a device that is not the bit type
batch monitor device, the device is registered in a watch window according to the
displayed data type.
Watch RCPU • Devices/labels in inline structured text programs used in an FBD/LD Page 640 Registering
LHCPU program can be registered (only from an ST editor). devices/labels from program
editor/label editor
Page 641 Automatic
registration to watch
windows
Realtime monitor RCPU A device/label selected in any of the following screens is automatically Page 661 Procedure for
LHCPU registered to the "Realtime Monitor Setting" screen of GX LogViewer: using the realtime monitor
• Ladder editor
• ST editor
• FBD/LD editor
• Watch window
Intelligent function RCPU • A CC-Link IE TSN compatible motion module can be registered in the Page 659 Registration of an
module monitor intelligent function module monitor from the navigation window by intelligent function module
using a shortcut menu.
Offline monitor All CPUs • While monitoring a recording file or logging file, the values of devices/ Page 751 Checking a
A
labels that match specified conditions and their indexes can be device/label value
checked.
All CPUs The following shortcut menu name is changed. Page 754 Starting GX
• Before change (version 1.035M to 1.077F): Wave Display LogViewer
• After change (version 1.080J): Wave Display (Offline Monitor)
Event history All CPUs • When an event code cannot be acquired, the cause is displayed.
User authentication*3 RnPSFCPU • "Assistant Developers" is added to the access level of user. Page 687 Functions and
operations that require user
authentication
Diagnostics RCPU • The cursor can jump to an error location in an inline structured text
LHCPU program used in an FBD/LD program.
Firmware update FX5SCPU • The firmware of modules can be updated using GX Works3. Page 776 Firmware Update
APPX
Appendix 1 Additions and Changes from Previous Version 845
Item Module type Description Reference
Options All CPUs The following option name is changed. Page 127 Overwriting
• Before change (version 1.035M to version 1.077F) projects
"Project" "Save" "Operational Setting"
• After change (version 1.080J)
"Project" "Save" "Auto-save Execution Setting"
All CPUs The following options are added:
• "Project" "Save" "Auto-save Operational Setting" "Automatically
save in writing to Simulator as well"
• "Program Editor" "Ladder Editor" "FB/FUN" "Operational
Setting" "Show FB Instance Name Window in Pasting Ladder"
• "Program Editor" "FBD/LD Editor" "Enter Element" "Operational
Setting" "FB/FUN height"
• "Program Editor" "SFC Diagram Editor" "Enter Element"
"Operational Setting" "FB/FUN height"
• "Online" "Write to PLC" "Operational Setting" "Show a
confirmation message in executing"
• "Convert" "Basic Setting" "Operational Setting" "SFC Diagram"
"Delete Unused Zoom"
RCPU The following option is added:
LHCPU • "Intelligent Function Module" "Simple Motion" "Operational
FX5UCPU Setting" "Select Simple Motion Module Setting as write target"
FX5UCCPU
FX5UJCPU
FX5CPU The following options are added:
• "Parameter" "Device Setting" "Display Setting" "Display Device/
Label Memory Area Setting as Simple Setting" "Free Space for
Label/Latch Label Memory Area to Allocate"
• "Parameter" "Device Setting" "Display Setting" "Display Device/
Label Memory Area Setting as Simple Setting" "Firmware Version of
Target CPU"
• "Convert" "Basic Setting" "Operational Setting" "Check by the
Threshold of Free Space for Label/Latch Label in Executing Convert/
Rebuild All"
• "Convert" "Basic Setting" "Operational Setting" "Check by the
Threshold of Free Space for Label/Latch Label in Executing Convert/
Rebuild All" "Threshold of Free Space for Label/Latch Label"
APPX
846 Appendix 1 Additions and Changes from Previous Version
Parameters
Category Module Module Parameter*3*4 Description
type
System RCPU CC-Link IE TSN "Inter-module Synchronization Setting" Newly added
parameter compatible motion "Select Inter-module Synchronization Target
modules (RD78G4(S), Module"
RD78G8(S), or "Inter-module Synchronization Setting" Newly added
RD78G16(S) only)
"Inter-module Synchronization Master Setting"
CPU FX5SCPU "Memory/Device Setting" "Device/Label The device/label memory area is optimized
parameter FX5UCPU Memory Area Setting" "<Detailed Setting>" according to the settings in "Batch Setting" by
clicking the [Batch Setting] button in "Device/
Label Memory Area Batch Setting" of the
"Device/Label Memory Area Setting" screen.
FX5SCPU "Memory/Device Setting" "Device/Label The "Usage Status of Device/Label Memory
FX5UCPU Memory Area Setting" "<Detailed Setting>" Area" screen appears by clicking the [Usage
FX5UJCPU Status] button in "Setting Area" of the "Device/
Label Memory Area Setting" screen.
Module RCPU "Application Settings" "Simple Device The following operations can be performed for
parameter*3* Communication Setting" "<Communication "Communication Destination Setting":
4 Destination Setting>" "<Detailed Setting>" • Selecting "User Selection" for "Setting
Method"
• Importing/exporting the communication
destination settings
FX5UJCPU "Application Settings" "Web Server Settings" "User Web Page Only" and "Permit Both
"Account Settings" "<Detailed Setting>" Displays" can be selected in the "Authority for
Window Display" column of the "Web Server
Account Settings" screen.
All CPUs CC-Link IE Field Network "Required Settings" "Parameter Setting "Program" can be selected.
modules (RJ71GF11- Method" "Setting Method of Basic/
T2(MR), RJ71GF11- Application Settings"
T2(LR))
RCPU CC-Link IE TSN module "Basic Settings" "Connection Device Newly added
(RJ71GN11-T2) Information" "TSN HUB Setting"
CC-Link IE TSN
"Basic Settings" "Communication Period "x32," "x64," and "x128" can be selected. A
compatible motion
Setting" "Multiple Period Setting" "Low-
module
Speed"
CC-Link IE TSN "Refresh Setting" Newly added
compatible motion
modules (RD78G4,
RD78G8, RD78G16,
RD78G32, RD78G64,
RD78GHV, and
RD78GHW only)
APPX
Appendix 1 Additions and Changes from Previous Version 847
Version 1.082L
Item Module type Description Reference
Opening a GX Works2 LHCPU The parameters of the following module can be imported: Page 108 Data to be
format project • AnyWireASLINK interface module (LJ51AW12AL) changed
Device assignment RnCPU • Refresh devices which are assigned to a device station can be Page 211 Checking refresh
confirmation RnENCPU checked when using a CC-Link IE TSN Plus master/local module. devices assigned to a
module
• Content in the "Explanation" column displayed in the link device list of
the "Device Assignment Confirmation" screen can be applied to the
device comment for each refresh device when using a CC-Link IE TSN
Plus master/local module.
Module parameter RnCPU • Link side devices of a CC-Link IE TSN Plus master/local module can Page 216 Setting link side
RnENCPU be set in a batch. devices in a batch (CC-Link
IE TSN)
Reading sample RnCPU • Sample comments of a CC-Link IE TSN Plus master/local module can
comments RnENCPU be read.
Scan time RnCPU • A scan time can be measured for any sections in a program. Page 653 Measuring the
measurement*3 RnENCPU Scan Time of a Program
Remote password*3*4 RnCPU • This function is available when accessing a CPU module via a CC-Link Page 699 Remote password
RnENCPU IE TSN Plus master/local module. function
CC-Link IE TSN/CC-Link RnCPU • A CC-Link IE TSN Plus master/local module can be diagnosed. Page 717 CC-Link IE TSN/
IE Field Network RnENCPU CC-Link IE Field Network
diagnostics*3*4 diagnostics
Intelligent function RnCPU • A device station on CC-Link IE TSN can be monitored in a project in
module monitor*3*4 RnENCPU which a CC-Link IE TSN Plus master/local module is used.
Reading/writing the label RCPU • This function is available even when a CPU module is in the RUN state.
memory
Parameters
Category Module Module Parameter*3*4 Description
type
System RnCPU CC-Link IE TSN Plus "Inter-module Synchronization Setting" Newly added
parameter RnENCPU master/local module "Select Inter-module Synchronization Target
(RJ71GN11-EIP(T+E)) Module"
"Inter-module Synchronization Setting" Newly added
"Inter-module Synchronization Master Setting"
Version 1.085P
All CPUs: RCPU, LHCPU, and FX5CPU
Item Module type Description Reference
Operating environment All CPUs • Windows 11 is supported.
(operating system)
Navigation window RCPU Module information can be sorted by module name or start I/O No. order in Page 55 Sorting data
LHCPU a batch by the following operations:
• Right-click and select [Sort] [Module Name] from the shortcut menu.
• Right-click and select [Sort] [Start I/O No.] from the shortcut menu.
Element selection All CPUs The following information of a program file of a user library is displayed in
window the [Library] tab:
• Right-side of an element: title
• Explanation column of an element: update date and time, comment
• When utilizing a program file of a user library, the title and comment of
the program file also can be utilized.
Copying and pasting All CPUs • Data can be copied and pasted even if the module types of the copy Page 131 CPU module type
source and copy destination are different. combinations
Page 131 When CPU
module types are different
Verification All CPUs • Memory card parameters can be verified.
Guidance flow FX5CPU • The setting procedure of parameters can be checked in a flow. Page 200 Guidance flow
function
APPX
848 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
AnyWireASLINK RCPU The following functions are available even if an ID (address) of a remote
configuration window module connected to an AnyWireASLINK master module is duplicated:
Sensor/device monitor • Automatic detection of connected devices
• Parameter processing of remote module
• Verification of connected devices and configurations
• Sensor/device monitor
CC-Link IE TSN RnCPU If the own station is a CC-Link IE TSN module, the following function is
configuration window*4 RnENCPU available even if data of the master station is not linked:
RnSFCPU • Connected/disconnected module detection
When "Multicast" is set for the following module parameter for CC-Link IE
TSN compatible motion modules, "Online (Multicast Mode)" is displayed
for "Mode Settings" in this window.
• "Application Settings" "Communication Mode" "Communication
Mode"
• If the own station is a CC-Link IE TSN compatible motion module, the
values in "LB Setting" and "LW Setting" of the own station can be set.
• If the own station is a CC-Link IE TSN compatible motion module, the
values in "RX setting," "RY setting," "RWw setting," and "RWr setting"
can be set even when the checkbox in the "Motion Control Station"
column of the station list is selected:
"Synchronize" can be set for "Network Synchronous Communication" in
this window even when the following module parameter of CC-Link IE TSN
motion modules (only RD78GHV and RD78GHW) is set to "Ring":
• "Basic Settings" "Network Topology" "Ring"
FX5UCPU When setting either of the following modules as the master station,
FX5UCCPU "Authentication Class" can be set for a device station.
• CC-Link IE TSN module (FX5-CCLGN-MS)
• CC-Link IE TSN compatible motion modules (FX5-40SSC-G(S), FX5-
80SSCG(S))
CC IE Field All CPUs Parameters can be written to or read from multiple device stations in a
configuration window batch by selecting the following menu:
• [CC IE Field Configuration] [Online] [The Parameter Processing of
Multiple Device Stations]
Ladder editor FX5UJCPU • "String [Unicode]" can be set as the data type of a device/label. A
ST editor
FBD/LD editor
Label editor
Label editor All CPUs • When zooming this screen in and out, the column width is automatically
adjusted according to the display magnification.
Ladder editor All CPUs • The initial value set in the extension display area of a label editor in
which an FB instance is registered is displayed preferentially as the
initial value of label of 'VAR_PUBLIC' class or 'VAR_PUBLIC_RETAIN'
class in the FB instance.
• When editing a device/label comment directly, the comment can be fixed
by clicking outside the editing range.
ST editor All CPUs • The split can be restored by dragging the splitter bar to the bottom of an Page 71 Available menus
ST editor. when editing an ST program
• A row of the cursor position can be moved upward or downward by Page 309 Configuration of
pressing the ++/ keys. an ST editor
• A screen can be scrolled horizontally by scrolling the mouse wheel while Page 312 Entering
pressing the key. programs
• Multiple rows can be selected and edited by pressing the Page 316 Editing multiple
++/ keys or dragging the mouse while pressing the rows simultaneously
key. Page 317 Incremental
• A searched keyword can be highlighted with the incremental search search
function.
FBD/LD editor FX5CPU • An inline structured text element is available in an FBD/LD program. Page 328 Inserting an inline
structured text element
FB property page RnPCPU This function is available for all the following tag FBs: Page 377 Displaying the FB
RnPSFCPU • Status tag property page
• Alarm tag
• Message tag
APPX
Appendix 1 Additions and Changes from Previous Version 849
Item Module type Description Reference
Simulation RnCPU The following function is available: MELSEC iQ-R CPU
RnENCPU • Scan time clear Module User's Manual
(Application)
RnSFCPU The following functions are available: MELSEC iQ-R CPU
• Program execution (SFC) Module User's Manual
• Scan time clear (Application)
• SFC program (diagram) monitor
• SFC-activated step monitor
• Online change (SFC block)
• Label memory read/write
• SFC control instructions are available. Page 952 Application
instruction
• "SFC Setting" in CPU parameters is available. Page 956 CPU parameter
RCPU The following modules can be simulated together: Page 937 Modules
FX5CPU • Simple motion module supported by GX Simulator3
• Motion CPU (System simulation)
• CC-Link IE TSN compatible motion module
FX5UCPU The following has been improved: MELSEC iQ-F FX5
FX5UCCPU • Processing time of the SP.FMOVE instruction (a file operation User's Manual (Application)
instruction) when 0 (File) is specified for the target type setting
FX5UJCPU The following function is available:
• User web page
FX5SCPU • A project for an FX5SCPU can be simulated. Page 933 Modules
supported by GX Simulator3
Program configuration All CPUs • The relation between program blocks, function blocks, and functions in a Page 410 Checking/Editing
diagram project can be displayed with a diagram by using this function. the Relation between
Programs
Library RnPCPU • A project including a user-defined tag FB can be exported as a library
RnPSFCPU file.
Monitor*3 FX5UCPU • The maximum and minimum values of scan time can be cleared from the Page 614 Status monitoring
FX5UJCPU monitor status bar during monitoring.
Watch All CPUs • Devices/labels used in a program can be registered in a batch from each Page 640 Registering
editor. devices/labels from program
editor/label editor
• The "Binary Watch" screen appears by selecting a row of a label in a Page 643 Monitoring in a
watch window, then right-clicking and selecting [Add the Selected Label binary format
to Binary Watch Window] from the shortcut menu. The current value of
the label can be displayed in a binary format in this screen.
CC-Link IE TSN All CPUs The following modules can be diagnosed:
diagnostics*3*4 • DC safety input/transistor safety output combined module
(NZ2GNS12A2-16DTE and NZ2GNS12A2-14DT)
Firmware update*3 FX5UJCPU • The firmware of modules can be updated using GX Works3. Page 776 Firmware Update
APPX
850 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
Option All CPUs The following options are added:
• "Other Editor" "Program Configuration Diagram" "Auto-generation
Target"
• "Convert" "Basic Setting" "Operational Setting" "Check the
Generic Data Type of Label"
The location of the following option is changed:
• Before change (version 1.070Y to 1.082L): "Online" "Write to PLC"
"Operational Setting" "Intelligent Function Module takes priority to be
selected for module extension parameter"
• After change (version 1.085P): "Online" "Common Item"
"Operational Setting" "Intelligent Function Module takes priority to be
selected for module extended parameter"
By selecting "Yes" for this option, the module extended parameters for an
intelligent function module are selected preferentially in the [Read] tab and
[Verify] tab of the "Online Data Operation" screen.
Selection items of the following option are changed:
• "Program Editor" "SFC Diagram Editor" "Action/Transition"
"Display Format" "Window Display Method"
Before change (version 1.020W to 1.082L)
• Open in One Window
• Open a New Window
After change (version 1.085P)
• Open Single in Project
• Open Single in Block
• Open Single for Each Action/Transition
RCPU The following option name is changed.
LHCPU • Before change (version 1.080J to 1.082L): "Intelligent Function Module"
FX5UCPU "Simple Motion" "Operational Setting" "Select Simple Motion
FX5UCCPU Module Setting as write target"
FX5UJCPU • After change (version 1.085P): "Intelligent Function Module" "Simple
Motion" "Operational Setting" "Select Simple Motion Module
Setting as target"
By selecting "Yes" for this option, the simple motion module setting is
selected in the [Read] tab of the "Online Data Operation" screen.
Others*3 FX5UJCPU The following modules can be used in a project:
• High speed pulse I/O modules (FX5-16ET/ES-H, FX5-16ET/ESS-H)
A
APPX
Appendix 1 Additions and Changes from Previous Version 851
Parameters
Category Module Module Parameter*3*4 Description
type
CPU RnCPU "Memory/Device Setting" "Device/Label "Write Protection Setting" is added.
parameter RnENCPU Memory Area Setting" "Device/Label
Memory Area Detailed Setting" "Device
Setting" "<Detailed Setting>"
APPX
852 Appendix 1 Additions and Changes from Previous Version
Category Module Module Parameter*3*4 Description
type
Module FX5CPU "Application Settings" "Simple CPU The communication destinations can be
parameter Communication Setting" "<Detailed filtered.
Setting>"
FX5UCPU "Application Settings" "Simple CPU • "On Request" can be set for
FX5UCCPU Communication Setting" "<Detailed "Communication Setting."
Setting>" • "MELSEC iQ-F(Ethernet module)" can be
selected for "Communication Destination."
• "Options(Hexadecimal)" is added for
"Communication Destination Setting."
FX5UJCPU "Application Settings" "Simple CPU The following options can be selected for
Communication Setting" "<Detailed "Communication Destination":
Setting>" • MELSEC iQ-R (built-in Ethernet)
• MELSEC-Q (built-in Ethernet)
• MELSEC-L (built-in Ethernet)
• MELSEC iQ-L (built-in Ethernet)
• MELSEC-FX3 (Ethernet Block/Adapter)
• OMRON (CJ/CP series)
• KEYENCE (KV series)
• Panasonic (FP7 series)
• MODBUS/TCP-compatible device
• SIEMENS S7 series
• Panasonic (FP0H series)
"Application Settings" "FTP Client Settings" Newly added
RCPU CC-Link IE TSN "Application Settings" "Communication Newly added
compatible motion Mode" "Communication Mode"
modules (RD78G4,
RD78G8, RD78G16,
RD78G32, RD78G64,
RD78GHV, RD78GHW,
RD78G4(S), RD78G8(S),
RD78G16(S))
RnCPU Ethernet interface "Application Settings" "Simple CPU "SIEMENS S7 series(Extended)" can be
RnENCPU modules Communication Setting" "<Detailed selected for "Communication Destination."
(_RJ71EN71(E+IEC), Setting>"
When setting any of the following devices for
A
_RJ71EN71(E+IEF), "Communication Destination," a bit device (F,
RJ71EN71(E+CCIEC), TS, TC, STS, STC, CS, CC) and word device
RJ71EN71(E+CCIEF),
(TN, STN, CN) can be set:
RJ71EN71(E+E)) • Own station
• MELSEC iQ-R (built-in Ethernet)
• MELSEC iQ-L (built-in Ethernet)
• MELSEC iQ-F (built-in Ethernet)
• MELSEC-Q (built-in Ethernet)
• MELSEC-L (built-in Ethernet)
• MELSEC iQ-R (Ethernet module)
• MELSEC-Q (Ethernet module)
• MELSEC-L (Ethernet module)
• SLMP supported device (QnA compatible 3E
frame)
When setting the following device for
"Communication Destination," a bit device (F,
TS, TC, CS, CC) and a word device (TN, CN)
can be set:
• MELSEC-A/AnS (Ethernet Module)
When setting the following device, a bit device
(S, TS, CS) and a word device (TN, CN) can
be set.
• MELSEC-FX3 (Ethernet Block/Adapter)
FX5CPU Ethernet interface module "Required Settings" EtherNet/IP Configuration Tool can be started.
(FX5-ENET/IP)
FX5UCPU CC-Link IE TSN module "Basic Settings" "Connection Device Newly added
FX5UCCPU (FX5-CCLGN-MS) Information" "TSN HUB Setting"
"Basic Settings" "Communication Period "x32," "x64," and "x128" can be selected.
Setting" "Multiple Period Setting" "Low-
Speed"
"Basic Settings" "Communication Period "200.00us" can be selected.
Setting" "Basic Period Setting" "System
Reservation Time"
APPX
Appendix 1 Additions and Changes from Previous Version 853
Version 1.087R
All CPUs: RCPU, LHCPU, and FX5CPU
Item Module type Description Reference
User authentication*3 RnSFCPU • RnSFCPUs in which vulnerability measures are enhanced can be Page 686 Preventing Illegal
set to communicate with only GX Works3 with enhanced vulnerability Access to CPU Module
measures. (User Authentication)
Others All CPUs • GX Developer and PX Developer cannot be installed together with GX Works3 Installation
GX Works3. Instructions
Version 1.090U
All CPUs: RCPU, LHCPU, and FX5CPU
Item Module type Description Reference
Operating environment All CPUs • Windows 10 IoT Enterprise 2019 LTSC is supported.
(operating system)
Print FX5UJCPU The following contents of a CC-Link IE TSN module (FX5-CCLGN-MS)
can be printed:
• Network Configuration Settings (CC-Link IE TSN configuration)
• Refresh Settings
• IP Filter Settings
PROFIBUS RCPU Parameters set in PROFIBUS Configuration Tool can be read. MELSEC iQ-R
Configuration Tool (To use this function, it is required that Version 1.06G or later of PROFIBUS-DP Module
PROFIBUS Configuration Tool has been installed.) User's Manual (Application)
Guidance flow FX5CPU • An icon indicating that a flow of guidance is being displayed is Page 200 Guidance flow
added. function
Guidance of the following functions is added:
• Latch function
• File transfer function
• Web server function
• Simple CPU communication function
Verification FX5UJCPU • Module parameters of a CC-Link IE TSN module (FX5-CCLGN-MS)
can be verified.
AnyWireASLINK RCPU The following functions are available even if an ID (address) of a
configuration window remote module connected to a CC-Link IE Field-AnyWireASLINK
Sensor/device monitor bridge module is duplicated:
• Automatic detection of connected devices
• Parameter processing of remote module
• Verification of connected devices and configurations
• Sensor/device monitor
CC-Link IE TSN LHCPU • A CC-Link IE TSN system can be configured using this window.
configuration window*4
CC-Link IE TSN/CC-Link LHCPU • CC-Link IE TSN compatible motion modules (LD78G4(S) and
IE Field Network LD78G16(S)) can be diagnosed.
diagnostics
FX5UJCPU • A CC-Link IE TSN module (FX5-CCLGN-MS) can be diagnosed.
Changing a module LHCPU • MELSEC-L series simple motion modules (LD77MS2, LD77MS4, Page 222 Simple motion
and LD77MS16) can be changed to MELSEC iQ-L series CC-Link IE module/motion module
TSN compatible motion modules (LD78G4(S) and LD78G16(S)). (simple motion mode)
Ladder editor All CPUs • When the position of the mouse cursor is in a nested master control
instruction, a device/label used in the master control instruction and
its comment are displayed on the title bar.
SFC diagram editor All CPUs • The display format of a transition (Zoom) without contacts can be Page 348 Changing the
changed. display format (type) of a
transition
FB property page RnPCPU • This function is available for user-defined tag FBs. Page 379 User-defined tag
RnPSFCPU FB
Specifying a connection LHCPU • A CPU module can be accessed via CC-Link IE TSN compatible
destination motion modules (LD78G4(S) and LD78G16(S)).
APPX
854 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
Simulation RCPU A project including the following modules can be simulated: Page 933 Modules
• CC-Link IE TSN Plus master/local module (RJ71GN11-EIP(T+E)) supported by GX Simulator3
• MELSECWinCPU (R102WCPU-W)
The following devices can be written to a CPU module during a Page 586 Setting write
simulation: target devices and their
• Input (X) ranges
• Output (Y) Page 889 RCPUs
• Safety input (SA\X)
• Safety output (SA\Y)
RnCPU The following functions are available: MELSEC iQ-R CPU
RnENCPU • Write-protect for device data (from outside the CPU module) Module User's Manual
• Scan Time Measurement (Application)
The following CPU parameter is available: Page 956 CPU parameter
• Write Protection Setting
FX5UCPU The following function is available: MELSEC iQ-F FX5
FX5UCCPU • Scan time clear User's Manual (Application)
FX5UJCPU
FX5UCPU • A project can be simulated while "On Request" is set for
FX5UCCPU "Communication Setting" of "Simple CPU Communication Setting."
FX5UJCPU The following options can be selected in "Communication Destination"
of "Simple CPU Communication Setting."
• MELSEC iQ-R (built-in Ethernet)
• MELSEC iQ-L (built-in Ethernet)
The following instructions are available: Page 954 Application
• File operation instructions (SP.FREAD, SP.FWRITE, SP.FDELETE, instruction
SP.FCOPY, SP.FMOVE, SP.FRENAME, SP.FSTATUS)
• String processing instructions ($MOV(P)_WS, SJIS2WS(P),
SJIS2WSB(P), WS2SJIS(P))
Intelligent function RnCPU • Diagnostic information of EtherNet/IP for a CC-Link IE TSN Plus
module monitor RnENCPU master/local module (RJ71GN11-EIP) can be monitored.
Simple CPU RnPCPU • RnPCPUs can be monitored.
communication
diagnostics*3
Recording*3*4 RnCPU For RnCPUs and RnENCPUs, the co-recording function is available by MELSEC iQ-R System
A
RnENCPU combining with the following modules: Recorder Co-recording
• Recorder module Function Reference Manual
• Camera recorder module
• CC-Link IE TSN compatible motion module
• CC-Link IE TSN compatible motion module (simple motion mode)
• Motion CPU
• CC-Link IE TSN module
Offline monitor*3*4 RnCPU Data collected by using the recording function can be monitored in the Page 740 Checking a
RnENCPU following screens: recording file
• SFC diagram editor (including a Zoom)
• SFC block list monitor
• SFC all blocks batch monitor
Firmware update FX5CPU • The check function before the update is enhanced.
Option All CPUs The following options are added:
• "Program Editor" "Common Item" "Window" "Message"
"Show a Message for Read-protected Data"
• "Other Editor" "Label Editor Common" "Display Setting"
"Detailed Display Setting"
• "Other Editor" "Label Editor Common" "Extended Display
Setting" "Extended Display Area"
• "Other Editor" "Label Editor Common" "Extended Display
Setting" "System Label Setting Display Area"
RnPCPU The following option is added:
RnPSFCPU • "Project" "Process Control Extension Setting" "FB Property
Page" "Setting File Save Destination"
FX5CPU The following options are added:
• "Program Editor" "Ladder Editor" "Comment" "Display Items"
"Device/Label Comment"
• "Program Editor" "Ladder Editor" "Comment" "Display Items"
"Statement"
• "Program Editor" "Ladder Editor" "Comment" "Display Items"
"Note"
APPX
Appendix 1 Additions and Changes from Previous Version 855
Parameters
Category Module Module Parameter*3*4 Description
type
CPU RnCPU "Operation Related Setting" "Co-recording Newly added
parameter RnENCPU Setting"
FX5UCPU "PID Control Setting" is added. Newly added
FX5UCCPU
Module RnPCPU "Application Settings" "Simple CPU Newly added
parameter Communication Setting" MELSEC iQ-R Ethernet User's Manual
(Application)
FX5UJCPU "Application Settings" "Simple CPU • "On Request" can be set for
Communication Setting" "<Detailed "Communication Setting."
Setting>" • "MELSEC iQ-F(Ethernet module)" can be
selected for "Communication Destination."
• "Options(Hexadecimal)" is added for
"Communication Destination Setting."
RCPU CC-Link IE TSN module "Application Settings" "Co-recording Setting" Newly added
(RJ71GN11-T2)
RnCPU CC-Link IE TSN Plus Before change: "Basic Settings" "External The parameter name is changed.
RnENCPU master/local module Device Configuration"
(RJ71GN11-EIP(T+E)) After change: "Basic Settings" "Ethernet
Communication Setting"
Before change: "Basic Settings" "Own Node The location of the parameter is changed.
Settings" "Opening Method"
After change: "Basic Settings" "Ethernet
Communication Setting" "Opening Method"
Memory card FX5UJCPU "Setting of File/Data Use or Not in Memory Newly added
parameter Card" "Device Station Parameter"
Version 1.095Z
All CPUs: RCPU, LHCPU, and FX5CPU
Item Module type Description Reference
Operating environment All CPUs • Windows 7, Windows 8, Windows 8.1, and Windows 10 (version GX Works3 Installation
(operating system) 1511 or earlier) are no longer supported. Instructions
Printing*3 FX5CPU The following data can be printed:
• Attribute of a step: Operation hold step (SE or ST)
FX5UJCPU The following data can be printed:
FX5SCPU • SFC program
• Content of "SFC Setting" in CPU parameters
Opening a GX Works2 All CPUs • A ladder program can be imported even if a label of 'VAR' class of an
format project*3*4 FB instance is included in the ladder program.
RnCPU • An MELSECNET/H network module (QJ71BR11) can be replaced
RnENCPU with an MELSECNET/H network module (RJ71BR11).
RnSFCPU
LHCPU The parameters of the following modules can be imported:
• Ethernet interface module (LJ71E71-100)
• CC-Link IE Field Network master/local module (LJ71GF11-T2)
FX5UJCPU • An SFC program can be imported.
FX5SCPU
Changing the module FX5CPU The following CPU parameter can be utilized when changing the
type/operation mode*3 module type from an FX5CPU to an RCPU:
• "SFC Setting" "Output Mode Setting at Block Stop"
FX5CPU The following data can be utilized when changing the module type from
an FX5UJCPU/FX5SCPU to an FX5UCPU/FX5UCCPU:
• SFC program
• Number of step relay (S) points that is set in "Memory/Device
Setting" of the CPU parameter
• Content of "SFC Setting" in CPU parameters
Module tool list FX5UCPU • An information module (FX5-ENET) is supported. (Certificate Page 218 Other Settings of
FX5UCCPU Configuration Tool for FX5-ENET) Intelligent Function Modules
FX5UJCPU (To use this function, it is required that Certificate Configuration Tool for MELSEC iQ-F FX5-
FX5-ENET has been installed.) ENET User's Manual
APPX
856 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
AnyWireASLINK LHCPU • In a project using a CC-Link IE Field Network master/local module
configuration window*3 (LJ71GF11-T2), an AnyWireASLINK system in which a CC-Link IE
Field-AnyWireASLINK bridge module (NZ2AW1GFAL) is included
can be configured using this window.
CC-Link IE TSN RCPU • In a project using a CC-Link IE TSN module (RJ71GN11-SX), a CC-
configuration window*3 RnENCPU Link IE TSN system can be configured using this window.
RnSFCPU
When the following parameter of a CC-Link IE TSN module
(RJ71GN11-SX) is set to "Extend," "Communication Period Setting
(LB/LW)" of a master station can be selected.
• "Application Setting" "LB/LW Points Extended Setting"
CC IE Field RCPU A character string edited in Excel can be pasted to the station list in this
configuration window*3 window by the following operation:
• Right-click and select [Paste from Clipboard (Module Information) to
Station List] from the shortcut menu.
The setting item in the station list in this window can be pasted to Excel
by the following operation:
• Right-click and select [Copy to Clipboard of Station List (Header and
Module Information)]
LHCPU • In a project using a CC-Link IE Field Network master/local module
(LJ71GF11-T2), a CC-Link IE Field Network system can be
configured using this window.
Ethernet configuration LHCPU • In a project using an Ethernet interface module (LJ71E71-100), an
window*3 Ethernet system can be configured using this window.
iQ Sensor Solution LHCPU This function is available in a project using the following modules:
function*5 • CC-Link IE Field Network master/local module (LJ71GF11-T2)
• CC-Link IE Field-AnyWireASLINK bridge module (NZ2AW1GFAL)
Creating a program FX5UJCPU • Sequential Function Chart language is supported. Page 258 Programming
Creating a library FX5SCPU Function
Program check Page 342 Creating an SFC
Conversion Program
Search/replacement Page 894 FX5CPUs
Cross Reference
Ladder editor All CPUs • A label comment of an FB instance is displayed under the FB
instance name.
Page 273 Display of an FB
instance
A
• Listed instructions can be imported even if a label of 'VAR' class of Page 298 Importing from a
an FB instance is included in a CSV file. CSV file
• By setting an option, the height of an inline structured text box can be Page 282 Changing the
adjusted automatically. number of rows to display
SFC program RCPU • A transition of TRUE or SM400 can be created automatically when Page 370 Creating Zooms
LHCPU the transition is created in MELSAP-L (instruction format). (MELSAP-L (instruction
format))
FX5CPU • The ladder edit mode of a ladder editor (Zoom) can be switched to
the monitor write mode.
FX5CPU • An attribute of a step can be changed to an operation hold step (SE
or ST).
Program configuration All CPUs • A program configuration diagram can be edited. Page 67 Available menus
diagram when displaying a program
configuration diagram
Page 414 Edit mode
Device comment editor All CPUs • Linefeed comments can be displayed or hidden in a batch. Page 402 Configuration of a
device comment editor
Device list All CPUs • A device comment can be edited directly. Page 465 Displaying Device
Usage
Specifying a connection RnCPU When using CC-Link IE TSN modules (RJ71GN11-T2, RJ71GN11-EIP,
destination*3 RnENCPU RJ71GN11-SX), "Module" displayed in the "Specify Connection
RnSFCPU Destination" screen is changed as follow:
• Before change: RJ71GN11(-T2/-EIP)
• After change: RJ71GN11
Writing data to a RnCPU • Data of CC-Link IE TSN compatible motion modules (RD78G4, Page 584 Data in a motion
programmable RnENCPU RD78G8, RD78G16, RD78G32, RD78G64, RD78GHV, RD78GHW) module
controller*4 RnSFCPU can be written to or read from the modules in the "Online Data Page 590 Data in a motion
Reading data from a Operation" screen. module
programmable
controller*4
APPX
Appendix 1 Additions and Changes from Previous Version 857
Item Module type Description Reference
Writing data to a FX5UJCPU The following data can be written, read, and deleted:
programmable FX5SCPU • SFC program
controller*3 • Content of "SFC Setting" in CPU parameters
Reading data from a
programmable
controller*3
Deleting data in a
programmable
controller*3
Online program FX5CPU The following data can be written to a CPU module using this function: Page 601 Online program
change*3 • Single SFC block*3 change of SFC programs
• SFC active block
• SFC inactive block
• Zoom
Monitor*3 FX5UCPU The following monitor function is available: Page 630 Monitoring SFC
FX5UCCPU • SFC-activated step monitor steps which were activated
FX5UJCPU The following monitor functions are available:
FX5SCPU • SFC diagram monitor
• SFC auto-scroll
• Zoom monitor
• SFC block list monitor
• SFC-activated step monitor
• SFC all blocks batch monitor
FX5SCPU • The maximum and minimum values of scan time can be cleared from Page 614 Status monitoring
the monitor status bar during monitoring.
Scan time RnSFCPU • In a project for an RnSFCPU, a scan time can be measured for any Page 653 Measuring the
measurement*3 sections in a standard program. Scan Time of a Program
Sensor/device monitor*3 LHCPU This function is available in a project using the following module:
• CC-Link IE Field Network master/local module (LJ71GF11-T2)
Specified program RnSFCPU • Devices/labels after executing a specified program can be Page 613 When monitoring
monitor*3 monitored. devices/labels in a specified
program
Watch All CPUs • The [Start Watching] and [Stop Watching] buttons are added in a Page 637 Checking Current
Intelligent function watch window and the "Intelligent Function Module Monitor" window. Values by Registering
module monitor Devices/Labels
Page 658 Checking Current
Values in an Intelligent
Function Module
Watch*3 FX5UJCPU • The current value of a device/label used in an SFC program can be
FX5SCPU checked.
Offline monitor All CPUs • The value to move the index in "Previous Frame"/"Next Frame" can Page 744 Seek bar
be set.
Security key All CPUs • The secure mode can be set for a security key. Page 675 Secure mode
Diagnostics*3 FX5UJCPU • The cursor can jump to the location in which an error has occurred in
FX5SCPU an SFC program.
Ethernet diagnostics LHCPU The following module can be diagnosed:
• Ethernet interface module (LJ71E71-100)
CC-Link IE TSN All CPUs The following modules can be diagnosed:
diagnostics • FPGA modules (NZ2GN2S-D41D01, NZ2GN2S-D41P01,
NZ2GN2S-D41PD02)
• Inverter (FR-A800-F/G)
The following shortcut menu name is changed: Page 718 Displaying an
• Before change: [Error History] error history
• After change: [Error/Event History]
RnCPU The following module can be diagnosed:
RnENCPU • CC-Link IE TSN module (RJ71GN11-SX)
CC-Link IE Field All CPUs The following modules can be diagnosed:
Network diagnostics*3 • DC safety I/O modules (NZ2GFSS2-16DTE-S1, NZ2GFSS2-8D-S1,
NZ2GFSS2-8TE-S1, NZ2GFSS2-32D-S1)
LHCPU The following module can be diagnosed:
• CC-Link IE Field Network master/local module (LJ71GF11-T2)
MELSECNET RnCPU The following module can be diagnosed: Page 720 MELSECNET
diagnostics*3*4 RnENCPU • MELSECNET/H network modules (RJ71BR11) diagnostics
RnSFCPU
APPX
858 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
Simple CPU RnSFCPU • RnSFCPUs can be diagnosed.
communication
diagnostics*3
Option All CPUs The following options are added:
• "Program Editor" "Ladder Editor" "Ladder Diagram" "Display
Format" "Display Setting of Label Name"
• "Program Editor" "Ladder Editor" "Inline Structured Text"
"Operational Setting" Automatically Adjust Inline Structured Text
Height"
• "Other Editor" "Program Configuration Diagram" "Update
Configuration Diagram" "Keep Element Arrangement"
• "Other Editor" "Program Configuration Diagram" "Message"
RCPU The following option is added:
LHCPU • "Program Editor" "SFC Diagram Editor" "Action/Transition"
"Operational Setting" "Automatically Set Transition to TRUE/
SM400"
RnSFCPU The following option is added:
• "Monitor" "Common Item" "Timing to Execute Monitor Function
and Modify Value Function" "After the execution of specified
program"
FX5UJCPU The following options are added:
FX5SCPU • "Program Editor" "SFC Diagram Editor"
• "Monitor" "SFC Diagram Editor"
Others*3 RnSFCPU The following modules are available:
• MELSECNET/H network modules (RJ71LP21-25, RJ71LP21-25(R),
RJ71BR11))
All CPUs Terms are changed as follows: Change of Network-
Before change related Terminology(FA-A-
• Slave station, slave device, slave module 0394)
After change
• CC-Link, CC-Link IE Field, CC-Link IE TSN: Device station
• CC-Link IE Field Basic: Remote station
• AnyWireASLINK: Remote module
APPX
Appendix 1 Additions and Changes from Previous Version 859
Parameters
Category Module Module Parameter*3*4 Description
type
CPU LHCPU "Routing Setting" Newly added
parameter
FX5UCPU "SFC Setting" "Output Mode Setting Block Newly added
FX5UCCPU Stop"
FX5UJCPU "SFC Setting" Newly added
FX5SCPU
Module RnPCPU "Application Settings" "Web Server Settings" Newly added
parameter RnSFCPU "Simple CPU Communication Setting" Newly added
FX5SCPU "Application Settings" "Simple CPU • "On Request" can be set for
Communication Setting" "Communication Setting."
• "MELSEC iQ-F(Ethernet module)" can be
selected for "Communication Destination."
• "Options(Hexadecimal)" is added for
"Communication Destination Setting."
RnCPU CC-Link IE TSN module "Basic Settings" "Refresh Settings" Link side devices can be set in a batch.
RnENCPU (RJ71GN11-SX)
RnSFCPU
RnSFCPU CC-Link IE Field Network "Application Settings" "Safety Newly added
module (RJ71GF11-T2) Communication Setting" "Safety Protocol
Version"
FX5UCPU Information module (FX5- "Application Settings" "DNS Settings" Newly added
FX5UCCPU ENET)
"Application Settings" "Security" Newly added
FX5UJCPU
"Certificate Configuration Tool Connection
Setting
"Application Settings" "Mail Function Newly added
Setting"
"Application Settings" "MQTT Newly added
Communication Setting"
Version 1.096A
All CPUs: RCPU, LHCPU, and FX5CPU
Item Module type Description Reference
Project All CPUs A security version can be set in a project. By setting the security Page 697 Preventing Illegal
version to "2," the risk for the vulnerability can be reduced. Access to/Falsification of
Data (Security Version)
APPX
860 Appendix 1 Additions and Changes from Previous Version
Version 1.100E
All CPUs: RCPU, LHCPU, and FX5CPU
Item Module type Description Reference
Print All CPUs • A data flow diagram can be printed. Page 96 Printing a data flow
diagram
Opening a GX Works2 RCPU • An AnyWireASLINK master module (QJ51AW12AL) can be replaced
format project*3*4 with an AnyWireASLINK master module (RJ51AW12AL).
RnCPU The following MELSECNET/H network modules (remote master
station) can be replaced with a MELSECNET/H network module
(RJ71GF11-T2):
• QJ71LP21-25
• QJ71LP21S-25
• QJ71LP21G
• QJ71BR11
Adding a new module All CPUs • A module can be searched for by entering a module type in the text Page 206 Searching for a
box in the "Add New Module" screen. module
Ethernet configuration All CPUs An IP address, port number, subnet mask, and default gateway can be
Sensor/device monitor displayed in hexadecimal by selecting the following menu:
• [Edit] [IP Address/Port No. Input Format] [Hexadecimal]
CC-Link IE TSN All CPUs • The display status of the station list (simple display/detailed display)
configuration window*3*4 can be retained even after closing this window.
All CPUs By using the following menu, the specified number of selected device
stations can be copied, and can be pasted to the station list.
• Right-click and select [Module Continuous Arrangement] from the
shortcut menu
RnCPU The CC-Link IE Field Configuration window can be displayed by
RnENCPU selecting the following menu after selecting a CC-Link IE TSN-CC-Link
RnSFCPU IE Field Network bridge module (NZ2GN-GFB) of which "Master
Station" is set for "Station-specific mode setting" in the module
parameter:
• [CC-Link IE TSN Configuration] [Open System Configuration]
[Open CC IE Field Configuration]
RCPU • When displaying this window from the module parameter for a CC- A
Link IE TSN module (RJ71GN11-SX), the "CC-Link IE TSN
Configuration Information" window can be displayed.
RCPU If the following parameter for a CC-Link IE TSN module (RJ71GN11-
SX) is set to "Enable," "RX Setting," "RY Setting," "RWw Setting," and
"RWr Setting" are blank when adding a device station in this window.
• "Application Settings" "Master Station Shift Setting"
RCPU When the modules shown below are used, the following operations can
be performed in the "IP Address Setting" screen: real machine
information detection, setting an IP address, and starting/stopping the
indicator display.
• CC-Link IE TSN module (RJ71GN11-T2)
• CC-Link IE TSN Plus master/local module (RJ71GN11-EIP(T+E))
• CC-Link IE TSN compatible motion module (RD78G4, RD78G8,
RD78G16, RD78G32, RD78G64, RD78GHV, RD78GHW)
LHCPU When using CC-Link IE TSN compatible motion modules (LD78G4(S)
and LD78G16(S)), the following items can be displayed.
• Cyclic Transmission Time(Minimum value)
• Communication Period Interval(Minimum value)
CC IE Field RnCPU • In a project using a CC-Link IE TSN-CC-Link IE Field Network bridge
configuration window*3 RnENCPU module (NZ2GN-GFB), a CC-Link IE Field Network system in which
RnSFCPU the network bridge module is included can be configured using this
window.
iQ Sensor Solution RnCPU • This function is available in a project using a CC-Link IE TSN-CC- Page 210 iQ Sensor
function*5 RnENCPU Link IE Field Network bridge module (NZ2GN-GFB). Solution functions
RnSFCPU
Importing data All CPUs The following data can be imported from an XML file output with Page 132 Importing data
Simulink PLC Coder:
• POUs (program block, function block, function)
• Global label
• Structure
APPX
Appendix 1 Additions and Changes from Previous Version 861
Item Module type Description Reference
Global label editor All CPUs • A structure type global label can be duplicated including the setting Page 76 Available menus
of a device assigned to a global label. when displaying a label
editor
Page 234 Duplicating a
structure type global label
FB property RnPCPU • The "FB Property Management (Online)" screen and the "FB Page 397 FB Property
management RnPSFCPU Property Management (Offline)" screen can be displayed from an Management (Offline)
icon on the tool bar and the tag FB setting editor. screen
Page 666 FB Property
Management (Online)
screen
Specifying a connection RCPU • Connection via a CC-Link IE TSN interface board is supported. Page 46 Connection through
destination I/F boards
LHCPU • GX Works3 can access an LHCPU by using the GOT transparent Page 569 Accessing via
function*4. GOT (GOT Transparent
Function)
Registering/canceling FX5CPU • Input/output devices can forcibly be turned ON/OFF. Page 644 Turning Input/
forced input/output*3 Output Devices ON/OFF
Forcibly
Verification FX5CPU • Module parameters of a high-speed counter module (FX5-2HC/ES)
can be verified.
CC-Link IE TSN RCPU • In a project using a CC-Link IE TSN module (RJ71GN11-SX), the Page 717 CC-Link IE TSN/
diagnostics master station transition function is supported. CC-Link IE Field Network
diagnostics
All CPUs The following modules can be diagnosed:
• FCU8-EX569
All CPUs • Contents displayed in the "Error/Event History" screen can be
exported to a CSV file by clicking the [Save to CSV File] button in the
"Error/Event History" screen.
RnCPU The following modules can be diagnosed:
RnENCPU • CC-Link IE TSN-CC-Link IE Field Network bridge module (NZ2GN-
RnSFCPU GFB)
RnCPU The CC-Link IE Field Diagnostics screen can be displayed by the Page 718 Displaying the
RnENCPU following operation after selecting a CC-Link IE TSN-CC-Link IE Field CC-Link IE Field Diagnostics
RnSFCPU Network bridge module (NZ2GN-GFB). screen
• Right-click data and select [CC-Link IE Field Diagnostics] from the
shortcut menu.
CC-Link IE Field RnCPU The following modules can be diagnosed:
Network diagnostics*3 RnENCPU • CC-Link IE TSN-CC-Link IE Field Network bridge module (NZ2GN-
RnSFCPU GFB)
Offline monitor All CPUs • Search results displayed in the "Changed Point List" window can be Page 751 Search result
sorted. sorting
Safety module RnSFCPU • This function is available for a module used in a system using an Page 768 Safety module
operation*3*4 RnSFCPU. operation
Option All CPUs The following option is added:
• "Find/Replace" "Cross Reference" "Find Condition" "Analyze
and Find Constant in Find When Constant Label is Specified in Array
Element"
RnCPU The following option is added:
RnENCPU • "Parameter" "User-defined Setting"
RnSFCPU
LHCPU
Others All CPUs Terms are changed as follows: Change of the Term
Before change Used in Software and
• Authentication Class Manuals Related to CC-Link
After change IE TSN
• CC-Link IE TSN Class
Parameters
Category Module Module Parameter*3*4 Description
type
CPU RnSFCPU "Memory/Device Setting" "Device/Label "Write Protection Setting" is added.
parameter Memory Area Setting" "Device/Label
Memory Area Detailed Setting" "Device
Setting" "<Detailed Setting>"
APPX
862 Appendix 1 Additions and Changes from Previous Version
Category Module Module Parameter*3*4 Description
type
Module RCPU CC-Link IE TSN module "Application Settings" "Master Station Shift Newly added
parameter (RJ71GN11-SX) Setting"
Module RCPU CC-Link IE TSN Plus "Basic Settings" "Refresh Settings" The setting values of module extended
parameter master/local module parameters can be applied.
(EtherNet/IP) (RJ71GN11-EIP(T+E)) To use this function, EtherNet/IP Configuration
tool Version 1.04E or later is required to be
installed. For details on EtherNet/IP
Configuration tool, refer to the following:
MELSEC iQ-R CC-Link IE TSN Plus
Master/Local Module User's Manual
*1 To use this function, it is required that MELSOFT Navigator supports the function. For information on the versions of supporting
MELSOFT Navigator, refer to MELSOFT Navigator Help.
*2 To use this function, it is required that MELSOFT Navigator supports the function. For information on the versions of supporting
MELSOFT Navigator, refer to following:
Let's start iQ Works Version 2
*3 To use this function, it is required that the firmware of a CPU module supports the function. For information on the firmware versions,
refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
MELSEC iQ-R Ethernet User's Manual (Application)
MELSEC iQ-F FX5 User's Manual (Application)
*4 To use this function, it is required that the firmware of a module supports the function. For information on the firmware versions, refer to
the manual of the module.
*5 To use this function, it is required that the firmware of a module supports the function. For information on the firmware versions, refer to
the following:
iQ Sensor Solution Reference Manual
APPX
Appendix 1 Additions and Changes from Previous Version 863
Modules
Supported Series Module name Model name
version
Version 1.005F MELSEC iQ-R Ethernet interface module RJ71EN71 (E+CCIEC), RJ71EN71 (CCIEC)
Version 1.007H MELSEC iQ-R RCPU R08PCPU, R16PCPU, R32PCPU, R120PCPU
Power supply module R62P, R64P
C Controller R12CCPU-V
Channel isolated RTD input module R60RD8-G
Channel isolated thermocouple input module R60TD8-G
Channel isolated analog input module R60AD8-G, R60AD16-G
Channel isolated digital-analog converter modules R60DA8-G, R60DA16-G
MELSEC iQ-F FX5CPU FX5UCPU, FX5UCCPU
Version 1.010L MELSEC-Q MELSECNET/H network module QJ71LP21 (-25 S-25 G GE), QJ71BR11, QJ71NT11B
Version 1.015R MELSEC iQ-R RCPU R04ENCPU, R08ENCPU, R16ENCPU, R32ENCPU,
R120ENCPU
R08SFCPU, R16SFCPU, R32SFCPU, R120SFCPU
Safety function module R6SFM
CC-Link IE Field Network module RJ71GF11-T2
MES interface module RD81MES96
Temperature control module R60TCTRT2TT2, R60TCTRT2TT2BW, R60TCRT4,
R60RCRT4BW
Version 1.019V MELSEC iQ-F FX5CPU FX5UC-64MT/D, FX5UC-64MT/DSS, FX5UC-96MT/D,
FX5UC-96MT/DSS
Input module FX5-C16EX/D, FX5-C16EX/DS
Output module FX5-C16EYT/D, FX5-C16EYT/DSS
Extension power supply module FX5-C1PS-5V
Version 1.020W MELSEC iQ-R Main base unit R310B-HT
Extension base unit R610B-HT
High speed data logger module RD81DL96
Transistor high-speed output module RY41NT2H, RY41PT2H
High-Speed analog input module R60ADH4
Simple motion module RD77GF4, RD77GF8, RD77GF16
Motion CPU R64MTCPU
C intelligent function module RD55UP06-V
Version 1.025B MELSEC iQ-R Redundant function module R6RFM
Main base unit R310RB, R38RB-HT
Extension base unit R610RB, R68RB-HT
Power supply module R64RP
CC-Link IE Controller Network module RJ71GP21-SX (R)
CC-Link IE Field Network module RJ71GF11-T2 (MR), RJ71GF11-T2 (SR), RJ71GF11-T2
(LR)
CC-Link IE Field Network remote head module RJ72GF15-T2, RJ72GF15-T2 (SR), RJ72GF15-T2 (LR)
DC high-speed input module RX41C6HS, RX61C6HS
Input module with diagnostic functions RX40NC6B
Output module with diagnostic functions RY40PT5B
AnyWireASLINK master module RJ51AW12AL
NCCPU R16NCCPU
Dual signal module R173SXY
MELSEC iQ-F FX5CPU FX5U-32MR/DS, FX5U-32MT/DS, FX5U-32MT/DSS
CC-Link IE Field Network module FX5-CCLIEF
I/O module FX5-32ER/DS, FX5-32ET/DS, FX5-32ET/DSS
High speed pulse I/O module FX5-16ET/ES-H, FX5-16ET/ESS-H
APPX
864 Appendix 1 Additions and Changes from Previous Version
Supported Series Module name Model name
version
Version 1.030G MELSEC iQ-R Power supply module R63RP
Triac output module RY20S6
Flexible high-speed I/O control module RD40PD01
Simple motion module RD77GF32
MELSEC iQ-F FX5CPU FX5U-64MR/DS, FX5U-64MT/DS, FX5U-64MT/DSS,
FX5U-80MR/DS, FX5U-80MT/DS, FX5U-80MT/DSS
I/O module FX5-16ER/ES, FX5-16ET/ES, FX5-16ET/ESS
RTD input adapter FX5-4AD-PT-ADP
Thermocouple input adapter FX5-4AD-TC-ADP
Simple motion module FX5-80SSC-S
Version 1.032J MELSEC iQ-R AC input module RX28
Contact output module RY18R2A
High-speed analog output module R60DAH4
Extension cable RC100B
Version 1.035M MELSEC iQ-R Robot CPU R16RTCPU
OPC UA server module RD81OPC96
BACnet interface module RJ71BAC96
MELSEC iQ-F FX5CPU FX5UC-32MT/DS-TS, FX5UC-32MT/DSS-TS
Input module FX5-C32EX/DS-TS
Output module FX5-C32EYT/D-TS, FX5-C32EYT/DSS-TS
I/O module FX5-C32ET/DS-TS, FX5-C32ET/DSS-TS
Multiple input module FX5-8AD
Temperature control module FX5-4LC
Positioning module FX5-20PG-P
CC-Link system master/intelligent device module FX5-CCL-MS
AnyWireASLINK master module FX5-ASL-M
Version 1.038Q MELSEC iQ-R CANopen module RJ71CN91 A
Version 1.040S MELSEC iQ-R RCPU R00CPU, R01CPU, R02CPU, R08PSFCPU,
R16PSFCPU, R32PSFCPU, R120PSFCPU
SIL2 function module R6PSFM
Input module with diagnostic functions RX40NC6B (S2M), RX40NC6B (S2S)
Output module with diagnostic functions RY40PT5B (S2M), RY40PT5B (S2S)
MELSEC-Q MES interface module QJ71MES96N
MELSEC iQ-F Analog input module FX5-4AD
Analog output module FX5-4DA
Version 1.045X MELSEC iQ-R PROFIBUS interface module RJ71PB91V (S)
Input module RX70C4, RX71C4, RX72C4, RX10-TS, RX40C7-TS,
RX41C4-TS
Output module RY40PT5B-AS, RY10R2-TS, RY40NT5P-TS,
RY40PT5P-TS, RY41NT2P-TS, RY41PT1P-TS
CC-Link IE Controller Network module RJ71GP21S-SX, RJ71GP21S-SX (R)
Channel isolated analog input module R60AD8-G (S2M), R60AD8-G (S2S)
Channel isolated digital-analog converter modules R60DA8-G (S2M)
MELSEC iQ-R DeviceNet master/slave module RJ71DN91, QJ71DN91
MELSEC-Q
APPX
Appendix 1 Additions and Changes from Previous Version 865
Supported Series Module name Model name
version
Version 1.050C MELSEC iQ-R Main base unit R33B
Channel isolated pulse input module RD60P8-G, RD60P8-G (Q)
HART communication analog input module R60ADI8-HA
Energy measuring module RE81WH
MELSEC iQ-F FX5CPU FX5UC-32MR/DS-TS
Output module FX5-C16EYR/D-TS
Positioning module FX5-20PG-D
Ethernet interface module FX5-ENET, FX5-ENET/IP
PROFIBUS interface module FX5-DP-M
Version 1.055H MELSEC iQ-R CC-Link IE TSN module RJ71GN11-T2
Version 1.056J MELSEC iQ-R CC-Link IE TSN compatible motion module RD78G4, RD78G8, RD78G16, RD78G32, RD78G64
Version 1.060N MELSEC iQ-L LHCPU L04HCPU, L08HCPU, L16HCPU
MELSEC-L CC-Link module LJ61BT11
Input module LX10, LX28, LX40C6, LX41C4, LX42C4
Output module LY10R2, LY18R2A, LY20S6, LY28S1A, LY40NT5P,
LY41NT1P, LY42NT1P, LY40PT5P, LY41PT1P,
LY42PT1P
I/O module LH42C4NT1P, LH42C4PT1P
Analog input module L60AD4, L60ADVL8, L60ADIL8, L60AD4-2GH
Analog output module L60DA4, L60DAVL8, L60DAIL8
Analog I/O module L60AD2DA2
Temperature input module L60RD8
Temperature control module L60TCTT4, L60TCTT4BW, L60TCRT4, L60TCRT4BW
Multiple input module L60MD4-G
High-speed counter module LD62, LD62D
LD75 type positioning module LD75P1, LD75P2, LD75P4, LD75D1, LD75D2, LD75D4
Flexible high-speed I/O control module LD40PD01
Serial communication module LJ71C24, LJ71C24-R2
Simple motion module LD77MS2, LD77MS4, LD77MS16
MELSEC iQ-R MES interface module RD81MES96N
Laser displacement sensor control module R60MH112, R60MH112NA
CC-Link IE TSN compatible motion module RD78GHV, RD78GHW
MELSEC iQ-F FX5CPU FX5UJ-24MR/ES, FX5UJ-40MR/ES, FX5UJ-60MR/ES,
FX5UJ-24MT/ES, FX5UJ-40MT/ES, FX5UJ-60MT/ES,
FX5UJ-24MT/ESS, FX5UJ-40MT/ESS, FX5UJ-60MT/
ESS
Safety extension module FX5-SF-8DI4, FX5-SF-MU4T5
Version 1.063R MELSEC iQ-R MELSECNET/H network module RJ71LP21-25, RJ71LP21-25(R)
Version 1.065T MELSEC iQ-R Recorder module RD81RC96
Channel isolated analog-digital converter module R60AD6-DG, R60AD6-DG(Q)
EtherNet/IP module RJ71EIP91
C intelligent function module RD55UP12-V
MELSEC iQ-F CC-Link IE TSN module FX5-CCLGN-MS
Version 1.070Y MELSEC iQ-R Redundant extension base unit R68WRB
Version 1.072A MELSEC iQ-R Camera recorder module RD81RC96-CA
GP-IB interface module RJ71GB91(M), RJ71GB91(S)
Redundant extension base unit R66WRB-HT
MELSEC iQ-F CC-Link IE TSN compatible motion module (simple FX5-40SSC-G(S), FX5-80SSC-G(S)
motion mode)
Version 1.075D MELSEC iQ-R High speed data communication module RD81DC96
Temperature control module R60TCTRT2TT2-TS, R60TCRT4-TS
CC-Link IE TSN compatible motion module (simple RD78G4(S), RD78G8(S), RD78G16(S)
motion mode)
MELSEC iQ-F Analog Input/output adaptor FX5-4A-ADP
APPX
866 Appendix 1 Additions and Changes from Previous Version
Supported Series Module name Model name
version
Version 1.077F MELSEC iQ-F OPC UA module FX5-OPC
Version 1.080J MELSEC iQ-F FX5CPU FX5S-30MR/ES, FX5S-30MT/ES, FX5S-30MT/ESS,
FX5S-40MR/ES, FX5S-40MT/ES, FX5S-40MT/ESS,
FX5S-60MR/ES, FX5S-60MT/ES, FX5S-60MT/ESS,
FX5S-80MR/ES, FX5S-80MT/ES, FX5S-80MT/ESS
Version 1.082L MELSEC iQ-R MELSECWinCPU R102WCPU-W
CC-Link IE TSN Plus master/local module RJ71GN11-EIP(T+E)
MELSEC-L AnyWireASLINK master module LJ51AW12AL
Version 1.090U MELSEC iQ-L LHCPU L32HCPU
CC-Link IE TSN compatible motion module (simple LD78G4(S), LD78G16(S)
motion mode)
Version 1.095Z MELSEC iQ-R MELSECNET/H network module RJ71BR11
CC-Link IE TSN module RJ71GN11-SX
Power supply module R69P, R69RP
MELSEC-L CC-Link IE Field Network master/local module LJ71GF11-T2
Ethernet interface module LJ71E71-100
MELSEC iQ-F FX5CPU FX5UJ-24MR/DS, FX5UJ-24MT/DS, FX5UJ-24MT/DSS,
FX5UJ-40MR/DS, FX5UJ-40MT/DS, FX5UJ-40MT/DSS,
FX5UJ-60MR/DS, FX5UJ-60MT/DS, FX5UJ-60MT/DSS
Version 1.100E MELSEC iQ-R Input module with safety functions RX40NC6S-TS
Output module with safety functions RY48PT20S-TS
MELSEC iQ-F High-speed counter module FX5-2HC/ES
Precautions
If a module profile is not registered in GX Works3, a project including the module cannot be opened, verified with another
project, or read from a CPU module.
APPX
Appendix 1 Additions and Changes from Previous Version 867
Appendix 2 Using a Project in a Different Version
This section explains the considerations for using a project in a different version of GX Works3 from the one with which the
project was created.
Note the following contents to use a project.
Parameters
Function Consideration Reference
Opening a project When a project which was created in a later version is opened in an earlier version or is read from a
Reading data from a CPU module, the parameters which cannot be used in the earlier version will be deleted or return to the
programmable controller default.
Project verification When a project for which parameter items added in the later version are set is verified with another
project created in an earlier version, the parameters will not be verified.
When projects created in different versions are verified with each other, module parameters may not Page 144
match. Unmatched module
parameters
Verifying data with a When data is verified with that created in a different version, module parameters may not match. Page 596
programmable controller Unmatched module
parameters
Instructions
Function Consideration
Reading data from a When an instruction, which is not supported in an earlier version, is used in a project in a later version, the project may not be
programmable controller verified or read from a CPU module in the earlier version.
Project verification
Verifying data with a
programmable controller
Conversion An error may occur when a program including an instruction supported by an earlier version is converted in a later version.
APPX
868 Appendix 2 Using a Project in a Different Version
Using a project in a later version
Using a project, which was created in version 1.010L, in version 1.015R or later
Function Consideration
Library operation Even if libraries that contain global labels created in version 1.010L are registered in the library list in version 1.015R or later,
the global labels are not displayed in the [Library] tab in the element selection window.
A global label called by a utilized element will be changed to an undefined label without being utilized.
Using a project, which was created in version 1.011M or earlier, in version 1.015R or later
Function Consideration
Option setting The following option will be set to "No" when a project, which was created in version 1.011M or earlier, is opened/read in
version 1.015R or later.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimize the Number of Steps." (In version
1.015R to 1.050C)
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of Steps" "Optimize
the Number of Steps." (In version 1.052E or later)
Therefore, the verification result is inconsistent due to the difference of the option setting.
Verifying data with a A verification result may mismatch when verifying a project, which was created in version 1.011M or earlier, against the global
programmable controller label setting in a CPU module. In this case, re-read/re-write the data from/to the CPU module, and then verify them again.
Using a project, which was created in version 1.027D or earlier, in version 1.030G or later
Function Consideration
Option setting The following option will be set to "No" when a project, which was created in version 1.027D or earlier, is opened/read in
version 1.030G or later.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Check the data type of instruction argument"
Using a project, which was created in version 1.027D or earlier, in version 1.050C or later
Function Consideration
Option setting The following option will be set to "Do Not Check Only BMOV(P)/FMOV(P)" when a project, which was created in version
1.027D or earlier, is opened/read in version 1.050C or later.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Check the data type of instruction argument"
A
Using a project, which was created in version 1.033K or earlier, in version 1.035M or later
Function Consideration
Option setting The following option will be set to "No" when a project, which was created in version 1.033K or earlier, is opened/read in
version 1.035M or later.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Function Block" "Enable to Use MC/MCR to
Control EN"
Option setting (FX5CPU) The following option will be set to "No" when a project, which was created in version 1.033K or earlier, is opened/read in
version 1.035M or later.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Collectively Allocate Temporary Area to
Optimize the Number of Steps" (version 1.035M to 1.050C)
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of Steps"
"Collectively Allocate Temporary Area to Optimize the Number of Steps" (version 1.052E or later)
Using a project, which was created in version 1.036N or earlier, in version 1.038Q or later
Function Consideration
Option setting The following option will be set to "No" when a project, which was created in version 1.036N or earlier, is opened/read in
version 1.038Q or later.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Function Block" "Enable to Set Reserved
Area"
Using a project, which was created in version 1.054G or earlier, in version 1.055H or later
Function Consideration
Option setting The following option will be set to "No" when a project, which was created in version 1.054G or earlier, is opened/read in
version 1.055H or later.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Structured Data Type" "Enable to Set
Reserved Area"
Shortcut key A shortcut key assigned to the following menu will be assigned to [Online] [FB Property Management (Online)] when the
shortcut key settings, which was exported in version 1.054G or earlier, is imported in version 1.055H or later.
• [Online] [FB Property] [FB Property Management]
A shortcut key assigned to the following menu is discarded.
• [Online] [FB Property] [Update the Initial Value of FB Property]
APPX
Appendix 2 Using a Project in a Different Version 869
Using a project, which was created in version 1.072A or earlier, in version 1.075D or later
Function Consideration
Opening a project An error may occur when changing the module type/operation mode or when checking parameters if a project satisfying all the
following conditions, which was created in version 1.072A or earlier, is opened in version 1.075D or later.
• A serial communication module (LJ71C24 or LJ71C24-R2) is placed.
• "Interrupt Settings" in the module parameters for a serial communication module (LJ71C24 or LJ71C24-R2) are configured.
In this case, delete the serial communication module (LJ71C24 or LJ71C24-R2) after opening the project, then add the same
module again.
In addition, set the module parameters to be the same as the ones before deletion of the module.
Project verification "Interrupt Settings" in the module parameters may not match when a project satisfying all the following conditions, which was
Verifying data with a created in version 1.072A or earlier, is verified with a project created in version 1.075D or later.
programmable controller • A serial communication module (LJ71C24 or LJ71C24-R2) is placed.
• "Interrupt Settings" in the module parameters for a serial communication module (LJ71C24 or LJ71C24-R2) are configured.
In this case, delete the serial communication module (LJ71C24 or LJ71C24-R2) after opening the project, then add the same
module again.
In addition, set the module parameters to be the same as the ones before deletion of the module.
Then, verify the projects again.
Using a project, which was created in version 1.082L or earlier, in version 1.085P or later
Function Consideration
Writing data to a An error occurs when editing or checking parameters if a project satisfying all the following conditions, which was created in
programmable controller version 1.082L or earlier, is opened in version 1.085P or later.
• A CC-Link IE TSN compatible motion module is placed.
• A value less than 14 us is set for "Transient Transmission Time" in the module parameters for a CC-Link IE TSN compatible
motion module.
Using a project, which was created in version 1.090U or earlier, in version 1.095Z or later
Function Consideration
Opening a project The following parameter will be set to "1" when a project for an RnSFCPU, which was created in version 1.090U or earlier, is
Reading data from a opened or read from a CPU module in version 1.095Z or later:
programmable controller • In "Safety Communication Setting" for a CC-Link IE Field Network module (RJ71GF11-T2), "Safety Protocol Version" of a
row that has been set in version 1.090U or earlier.
An error occurs when any of the following projects, which were created in version 1.090U or earlier, is opened and the [Check]
button or [Apply] button is clicked in the "Module Parameter" screen.
• A project in which "Maximum No. of Transient Transmissions" of the module parameter for a MELSECNET/H network
module (QJLP21(-25 S-25 G GE), QJBR11, QJ71NT11B, RJ71LP21-25, or RJ71LP21-25(R)) is blank.
• A project in which "Maximum No. of Transients in One Station" of the module parameter for a MELSECNET/H network
modules (QJLP21(-25 S-25 G GE), QJBR11, QJ71NT11B, RJ71LP21-25, or RJ71LP21-25(R)) is not blank.
• A project in which a value that exceeds "Maximum No. of Transient Transmissions" is set for "Maximum No. of Transients in
One Station" of the module parameter for a MELSECNET/H network modules (QJLP21(-25 S-25 G GE), QJBR11,
QJ71NT11B, RJ71LP21-25, or RJ71LP21-25(R)).
Using a project, which was created in version 1.007H or later, in version 1.006G or earlier
Function Consideration
Opening a project A project that contains an FBD/LD program cannot be opened/read in version 1.006G or earlier.
Reading data from a
programmable controller
Using a project, which was created in version 1.010L or later, in version 1.008J or earlier
Function Consideration
Library operation An edit-protected FBD/LD element is editable by opening it in version 1.008J. (Worksheet only)
An element is not editable when an edit-protected ST program is opened and copied in version 1.008J or earlier. To make the
element editable, open the project that contains the copied data in version 1.010L or later, and copy it again.
When an edit-protected element is opened and copied in version 1.008J or earlier, then it is reopened in version 1.010L or
later, the icon of the copied data (element) may indicate that the element is still edit-protected.
APPX
870 Appendix 2 Using a Project in a Different Version
Using a project, which was created in version 1.015R or later, in version 1.010L or earlier
Function Consideration
Library operation A read-protected element, which was utilized from a library, is identified as an element with a block password when it is opened
in version 1.010L or earlier. Therefore, the element cannot be detected and the name cannot be changed.
Using a project, which was created in version 1.015R or later, in version 1.011M or earlier
Function Consideration
Opening a project A project that contains an SFC program cannot be opened/read in version 1.011M or earlier.
Reading data from a
programmable controller
Option setting A project that "Yes" has been selected for the following option cannot be opened/read in version 1.011M or earlier.
In addition, a project that "Yes" has been selected for the following option cannot be verified with one created in version 1.011M
or earlier.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimize the Number of Steps." (In version
1.015R to 1.050C)
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of Steps" "Optimize
the Number of Steps." (In version 1.052E or later)
Program file setting When a project that the execution order has been set is opened and converted in version 1.011M or earlier, the order is
changed to the program block name order.
Library operation Even if libraries that contain global labels are registered in the library list in version 1.010L, the global labels are not displayed
in the [Library] tab in the element selection window.
In addition, global labels called by utilized elements will be changed to undefined labels without being utilized.
Libraries that contain a read-protected element can be registered in the library list in version 1.011M or earlier, but they cannot
be used.
APPX
Appendix 2 Using a Project in a Different Version 871
Using a project, which was created in version 1.020W or later, in version 1.019V or earlier
Function Consideration
Opening a project When a project, for which multiple connection destinations have been set, is opened in version 1.019V or earlier, the
Reading data from a destinations except for one which was set first are deleted.
programmable controller
A project, in which an extended temperature range base unit (R310B-HT, R610B-HT) has been placed, cannot be opened/read
in version 1.019V or earlier.
A project that contains an SFC program including multiple steps cannot be opened/read in version 1.019V or earlier.
A project that contains an SFC program including a jump may not be opened/read in version 1.019V or earlier.
Project verification CPU parameters of a project for an RnCPU or an RnENCPU cannot be verified with data in another project in version 1.019V
Verifying data with a or earlier.
programmable controller
CPU parameters of a project, for which the daylight saving time setting is enabled, cannot be verified against data in a
programmable controller in version 1.019V or earlier.
A project, in which an extended temperature range base unit (R310B-HT, R610B-HT) has been placed, cannot be verified in
version 1.019V or earlier.
A project that contains an SFC program including multiple steps cannot be verified in version 1.019V or earlier.
A project that contains an SFC program including a jump may not be verified in version 1.019V or earlier.
Library operation A project that contains an SFC program including multiple steps cannot be read in version 1.019V or earlier.
A project that contains an SFC program including a jump may not be read in version 1.019V or earlier.
Libraries that contain an element, for which the edit password has individually been set, can be registered in the library list in
version 1.019V or earlier, but they cannot be used.
A help file, for which "Import" has been selected at exporting, retains as the unused data in a project or a library when it is
opened by version 1.019V or earlier. When it is reopened in version 1.020W or later after being saved in version 1.019V or
earlier, the help file of the unused data is deleted.
Reading from an SD memory A project that contains an SFC program including multiple steps cannot be read in version 1.019V or earlier.
card
A project that contains an SFC program including a jump may not be read in version 1.019V or earlier.
Editing an SFC program An SFC program, which was created in GX Works3 version 1.020W or later, may run unstably if it is used in version 1.019V or
earlier.
When editing an SFC program, use version 1.020W or later.
Using a project, which was created in version 1.025B or later, in version 1.022Y or earlier
Function Consideration
Opening a project When a project, which was created in version 1.025B or later and set an RnPCPU (redundant mode) as the CPU module type,
Reading data from a is opened in version 1.022Y or earlier, the CPU module type is changed to an RnPCPU (process mode).
programmable controller A project used for a remote head module cannot be opened/read in version 1.022Y or earlier.
A project, in which some worksheets are created in a POU, cannot be opened in version 1.025B or earlier.
A project, in which an AnyWireASLINK master module (RJ51AW12AL) has been placed, cannot be opened/read in version
1.022Y or earlier.
Project verification A project used for an RnPCPU (redundant mode) cannot be verified in version 1.022Y or earlier.
Verifying data with a
A project used for a remote head module cannot be verified in version 1.022Y or earlier.
programmable controller
Parameters of a project, in which a redundant power supply base unit (R310RB, R38RB-HT, R610RB, R68RB-HT) has been
placed and for which a power supply 2 has been set, cannot be verified in version 1.022Y or earlier.
A project, in which an AnyWireASLINK master module (RJ51AW12AL) has been placed, cannot be verified in version 1.022Y
or earlier.
Connection destination Connection destination settings return to the default when the "Specify Connection Destination" screen is opened if the settings
specification meet any of the following conditions:
• "GOT" is selected for "PLC side I/F" and "CC IE Cont" is set in the "PLC side I/F Detailed Setting of GOT" screen.
• "CC IE Control NET/10(H) Board" is set for "PC side I/F."
• "CC-Link Board" is set for "PC side I/F."
• "CC IE Field board" is set for "PC side I/F."
Library operation Libraries that contain a module label/ structure cannot be used in version 1.022Y or earlier.
APPX
872 Appendix 2 Using a Project in a Different Version
Using a project, which was created in version 1.030G or later, in version 1.027D or earlier
Function Consideration
Opening a project A project, in which a flexible high-speed I/O control module (RD40PD01) or triac output module (RY20S6) has been placed,
Reading data from a cannot be opened/read in version 1.027D or earlier to which profiles have not been registered.
programmable controller
A project, for which an AnyWireASLINK configuration has been set, cannot be opened/read in version 1.027D or earlier.
When a data type other than Word [Unsigned]/Bit String [16-bit]/Word [Signed] is used for an argument of BMOV(P) instruction,
an error occurs at the conversion in version 1.027D or earlier.
An SFC program in MELSAP-L (instruction format) is displayed in the detailed expression of a ladder when it is opened in
version 1.027D or earlier.
A project, in which a redundant power supply module (R63RP) has been placed, cannot be opened in version 1.026C or
earlier.
When a project, in which a redundant power supply module (R63RP) has been placed, is opened in version 1.026C or earlier,
the name of the power supply module is blank.
When writing a project, in which safety global labels or safety/standard shared global labels are created in version 1.030G or
later, to a programmable controller, the project cannot be read in version 1.027D or earlier.
Project verification A project, in which a flexible high-speed I/O control module (RD40PD01) or triac output module (RY20S6) has been placed,
Verifying data with a cannot be verified in version 1.027D or earlier in which a profile to which profiles have not been registered.
programmable controller A project, for which an AnyWireASLINK configuration has been set, cannot be verified in version 1.027D or earlier.
A project, in which a redundant power supply module (R63RP) has been placed, cannot be verified in version 1.027D or earlier.
A project that parameters for CC-Link IE Field Network Basic have been set cannot be verified in version 1.027D or earlier.
Connection destination Connection destination settings return to the default if the settings meet either of the following conditions:
specification • "GOT" is selected for "PLC side I/F" and "CC IE Field" is set in the "PLC side I/F Detailed Setting of GOT" screen.
• For a project which is used for an RnPCPU (redundant mode) and a remote head module, "GOT" is selected for "PLC side I/
F" and "CC IE Cont" is set in the "PLC side I/F Detailed Setting of GOT" screen.
Register/cancel forced input/ The current value of devices in a CPU module, in which forced input/output has been registered in version 1.030G or later,
output cannot be changed in version 1.027D or earlier.
Using a project, which was created in version 1.032J or later, in version 1.019V or earlier
Function Consideration
Reading data from a A project, in which a following module has been placed, cannot be read/verified in version 1.019V or earlier.
programmable controller
Verifying data with a
• Analog output module (R60DA4, R60DA4(Q), R60DAI8, R60DAI8(Q), R60DAV8, R60DAV8(Q))
• Channel isolated digital-analog converter module (R60DA8-G, R60DA8-G(Q), R60DA16-G)
A
programmable controller • High-Speed analog input module (Q64ADH)
Using a project, which was created in version 1.032J or later, in version 1.031H or earlier
Function Consideration
Opening a project A project containing any of the following data cannot be used in version 1.031H or earlier.
Reading data from a • Program file in which "Yes" is selected for "Use the process control extension"
programmable controller • Function block in which "Yes" is selected for "Use as Tag FB"
• Process control function block
• Data registered in a tag FB setting
A project, in which an extension cable (RC100B) has been placed, cannot be opened/read in version 1.031H or earlier.
A project, in which an analog output module (R60DAH4), an input module (RX28), and an output module (RY18R2A) have
been placed, cannot be opened/read in version 1.031H or earlier to which profiles have not been registered.
Project verification A project, in which an extension cable (RC100B) has been placed, cannot be verified in version 1.031H or earlier.
Verifying data with a
A project, in which an analog output module (R60DAH4), an input module (RX28), and an output module (RY18R2A) has been
programmable controller
placed, cannot be verified in version 1.031H or earlier to which profiles have not been registered.
Using a project, which was created in version 1.035M or later, in version 1.019V or earlier
Function Consideration
Reading data from a Module parameters of a project, in which a flexible high-speed I/O control module (RD40PD01) has been placed, cannot be
programmable controller read in version 1.019V or earlier.
Project verification Module parameters of a project, in which a flexible high-speed I/O control module (RD40PD01) has been placed, cannot be
Verifying data with a verified in version 1.019V or earlier.
programmable controller
APPX
Appendix 2 Using a Project in a Different Version 873
Using a project, which was created in version 1.035M or later, in version 1.033K or earlier
Function Consideration
Opening a project A project, in which an OPC UA server module (RD81OPC96), BACnet module (RJ71BAC96), and a robot controller CPU
Reading data from a (R16RTCPU) have been placed, cannot be opened/read in version 1.033K or earlier to which profiles have not been
programmable controller registered.
When a project that saves the parameters of a device station is opened in version 1.033K or earlier, the parameters seem to be
deleted even though the parameters are not deleted.
By reopening the project in version 1.035M or later, the parameters of the device station can be used.
Even if a project including unused function blocks and/or functions is read in version 1.033K or earlier, the function blocks and
functions are not read.
Option setting A project that "Yes" has been selected for the following option cannot be opened/read in version 1.033K or earlier.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Function Block" "Enable to Use MC/MCR to
Control EN"
Project verification A project, in which an OPC UA server module (RD81OPC96), BACnet module (RJ71BAC96), and a robot controller CPU
Verifying data with a (R16RTCPU) have been placed, cannot be verified in version 1.033K or earlier to which profiles have not been registered.
programmable controller
Configuration setting When a project that saves the parameters of a device station is opened in version 1.033K or earlier and the following
operations are performed in the screen of CC-Link IE Field configuration setting, the saved parameter information will not be
updated/deleted.
• Editing the CC IE Field configuration
• Parameter processing of a device station
• Deleting the parameter information of a device station
When the screen of the CC IE Field configuration setting is opened in version 1.035M or later after changing the station
number of a device station in version 1.033K or earlier, the parameter information of the device station to which the station
number was changed will be skipped and not read.
By clicking the [Close with Reflecting the Setting] button in the state where the parameter information was skipped and not
read, the information will be deleted.
Conversion When a different data type is specified for the argument of an instruction by selecting "No" in the following option, an error
occurs at the conversion in version 1.033K or earlier.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Check the data type of instruction argument"
Using a project, which was created in version 1.038Q or later, in version 1.036N or earlier
Function Consideration
Opening a project A project that "Yes" has been set for the following option cannot be opened/read from a CPU module in version 1.036N or
Reading data from a earlier.
programmable controller • [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Function Block" "Enable to Set Reserved
Area"
A project including an element with the security key registered cannot be opened in version 1.036N or earlier.
By deleting the security key registered to the element, the project can be opened in version 1.036N or earlier.
A project, in which a CANopen module (RJ71CN91) has been placed, cannot be opened/read in version 1.036N or earlier to
which profiles have not been registered.
Project verification A project, in which a CANopen module (RJ71CN91) has been placed, cannot be verified in version 1.036N or earlier to which
Verifying data with a profiles have not been registered.
programmable controller
Library operation Libraries of a project that "Yes" has been selected for the following option can be registered in the library list in version 1.036N
or earlier, but they cannot be used.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Function Block" "Enable to Set Reserved
Area"
Using a project, which was created in version 1.040S or later, in version 1.019V or earlier
Function Consideration
Reading data from a Module parameters of a project, in which a high-speed analog input module (R60ADH4) has been placed, cannot be read in
programmable controller version 1.019V or earlier.
Project verification Module parameters of a project, in which a high-speed analog input module (R60ADH4) has been placed, cannot be verified in
Verifying data with a version 1.019V or earlier.
programmable controller
APPX
874 Appendix 2 Using a Project in a Different Version
Using a project, which was created in version 1.040S or later, in version 1.038Q or earlier
Function Consideration
Opening a project The setting of extended file registers (ER) in a project for an FX5CPU will be cleared when the project is opened in version
Reading data from a 1.038Q or earlier.
programmable controller A message appears when opening the Device Memory editor. The Device Memory editor will not open by clicking the [OK]
button on the message. Therefore, retry opening the device memory editor.
A project, in which a SIL2 function module (R6PSFM) has been placed, cannot be opened/read in version 1.038Q or earlier.
A project, in which an MES interface module (QJ71MES96N), an input module with diagnostic functions (RX40NC6B(S2M),
RX40NC6B(S2S)), and an output module with diagnostic functions (RY40PT5B(S2M), RY40PT5B(S2S)) has been placed,
cannot be opened/read in version 1.038Q or earlier to which profiles have not been registered.
When printing FBD/LD programs, the paper size and the paper feed direction depend on the page setting.
When a project for which the following items have been changed in the FBD/LD or SFC editor in opened in version 1.038Q or
earlier, the changes will not be applied.
• Background color of an editor
• Background color of a comment element
• Font color of a comment element
Note that the font colors set for each comment element will remain in version 1.038Q or earlier.
Project verification A project for an RnPCPU cannot be verified with another project in version 1.038Q or earlier.
Verifying data with a
Module parameters of an RnPCPU to which a project that the FTP client has been set is written cannot be verified in version
programmable controller
1.038Q or earlier.
A project, in which a SIL2 function module (R6PSFM) has been placed, cannot be verified in version 1.038Q or earlier.
A project, in which an MES interface module (QJ71MES96N), an input module with diagnostic functions (RX40NC6B(S2M),
RX40NC6B(S2S)), and an output module with diagnostic functions (RY40PT5B(S2M), RY40PT5B(S2S)) has been placed,
cannot be verified in version 1.038Q or earlier to which profiles have not been registered.
Connection destination Connection destination settings return to the default when the "Specify Connection Destination" screen is opened if the settings
specification meet the following condition:
• "Ethernet board" is set for "PC side I/F," and "via GOT (Ethernet) transparent mode" is set in the "PLC side I/F Detailed
Setting of GOT" screen.
Using a project, which was created in version 1.045X or later, in version 1.044W or earlier
Function Consideration
Opening a project The following projects that are created in version 1.045X or later cannot be opened and read from a CPU module in version
Reading data from a 1.044W or earlier. A
programmable controller • A project using a read-protected POU whose password authentication is disabled.
• A project to which a user with the access level of "Assistant Developers" is registered.
Project verification The following projects that are created in version 1.045X or later cannot be verified with another project in version 1.044W or
Verifying data with a earlier.
programmable controller • A project using a read-protected POU whose password authentication is disabled.
• A project to which a user with the access level of "Assistant Developers" is registered.
When a project for an RnCPU or an RnENCPU, which was created in version 1.045X or later and in which any one of the
following parameters has been set, is verified with another project in version 1.044W or earlier, the parameters of the CPU
module will not be verified.
• Web Server Settings
• Battery-less Option Cassette Setting
• Simple CPU Communication Setting
Opening a simulation A simulation environment file saved in version 1.045X or later cannot be opened in version 1.044W or earlier.
environment file
Connection destination When a project, in which a connection destination routing a QCPU (Q mode) is specified, is opened in version 1.044W or
specification earlier, only the setting of this connection destination returns to the default.
Library operation When a password authentication for a read-protected POU is disabled in version 1.045X or later, a library including the POU
cannot be used in version 1.044W or earlier.
User authentication When reading user information whose access level is set as "Assistant Developers" in version 1.045X or later from a CPU
module using version 1.044W or earlier, the access level is changed to "Users." (Page 689 Reading user information from
a CPU module)
Using a project, which was created in version 1.047Z or later, in version 1.045X or earlier
Function Consideration
Reading data from a When reading a project including unused structures in version 1.045X or earlier, the structures cannot be read.
programmable controller
Verifying data with a A project including unused structures cannot be verified against data in a programmable controller in version 1.045X or earlier.
programmable controller
Conversion When a program including an instruction to which "_M2" is added, an error occurs at the conversion in version 1.045X or
earlier.
APPX
Appendix 2 Using a Project in a Different Version 875
Using a project, which was created in version 1.050C or later, in version 1.047Z or earlier
Function Consideration
Opening a project A project, for which "Compression" is selected for "File Size" in the "Properties" screen cannot be opened in version 1.047Z or
Reading data from a earlier.
programmable controller
Regardless of the setting of the following option, a project in which data exists after 481th or later rows on the tag FB setting
editor cannot be opened or read from a CPU module in version 1.047Z or earlier.
• [Tool] [Options] "Convert" "Process Control Extension Setting" "Tag FB" "Maximum Number of Tags"
A project in which the value of the following option is set to 481 or higher cannot be opened or read from a CPU module in
version 1.047Z or earlier.
• [Tool] [Options] "Convert" "Process Control Extension Setting" "Tag FB" "Maximum Number of Tags"
Reading data from a When a project, in which a main base unit (R33B) has been placed, is read from a CPU module in version 1.047Z or earlier, the
programmable controller model name of this base unit is displayed blank in the "System Parameter" screen.
Project verification A project, for which "Compression" is selected for "File Size" in the "Properties" screen cannot be verified in version 1.047Z or
earlier.
Verifying data with a When a project used for an RnPCPU (redundant mode) for which the following parameter is set is verified with another project
programmable controller which was created in version 1.047Z or earlier, the CPU parameters will not be verified.
• Setting to Wait Receiving Cyclic Data after Switching System
When a project for an RnCPU or an RnENCPU for which the following parameters are set is verified with another project which
was created in version 1.047Z or earlier, the module parameters will not be verified.
• Communications by Network No./Station No.
• Network/Station No. <-> IP information setting
When a project for an RnPCPU (redundant mode) for which a step relay (S) is set in the following parameter is verified with
another project which was created in version 1.047Z or earlier, the module parameters will not be verified.
• Tracking Setting
Conversion When a ladder program including a function block or function whose definition is unclear is opened in version 1.047Z or earlier,
the background color of the ladder block including the function block or function is displayed in yellow. In addition, an error
occurs when this program is converted.
When converting a project in version 1.047Z or earlier, an error will occur if "Do Not Check Only BMOV(P)/FMOV(P)" is
selected for the following option and a data type different from the one defined to the argument of BMOV, BMOVP, FMOV, or
FMOVP is specified.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Check the data type of instruction argument"
Reading from an SD memory An error occurs when a password is registered for a file in an SD memory card in version 1.050C or later and the file is read in
card version 1.047Z or earlier.
Using a project, which was created in version 1.052E or later, in version 1.050C or earlier
Function Consideration
Option setting A project in which its options are set as follows cannot be opened, verified, or read from the CPU module in version 1.050C or
earlier.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of Steps" "Optimize
the Number of Steps": Yes
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of Steps" "Optimize
Level": Level 2
Moreover, a project in the following conditions cannot be opened, verified, or read from a CPU module in version 1.011M or
earlier: "Yes" is selected for "Optimize the Number of Steps." and also "Level 1" is selected for "Optimize Level" in the option
shown below.
Using a project, which was created in version 1.055H or later, in version 1.050C or earlier
Function Consideration
Option setting A project where "Level 2" has been set for the following option may not be opened, verified, or read from a CPU module in
version 1.050C or earlier. (Page 876 Using a project, which was created in version 1.052E or later, in version 1.050C or
earlier)
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of Steps" "Optimize
Level"
If both of the following conditions are satisfied, the default value for this option will be set to "Level 2" when creating a new
project in version 1.055H or later.
• GX Works3 Version 1.052E to 1.054G which had been used or activated before has been updated to Version 1.055H or
later.
• The default value of "Optimization of Number of Steps" had never been changed in GX Works3 before its update.
APPX
876 Appendix 2 Using a Project in a Different Version
Using a project, which was created in version 1.055H or later, in version 1.054G or earlier
Function Consideration
Opening a project A project that "Yes" has been selected for the following option cannot be opened/read from a CPU module in version 1.054G or
Reading data from a earlier.
programmable controller • [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Structured Data Type" "Enable to Set
Reserved Area"
A conversion error may occur when a project, where an element replaced automatically in opening another format project
exists, is opened or read from a CPU module in version 1.054G or earlier.
Input/output labels are displayed by their label names when a project that "Yes" has been selected for the following option is
opened or read from a CPU module in version 1.054G or earlier.
• "Program Editor" "FBD/LD Editor" "Comment" "Display Item" "Switch FB/FUN Argument to Comment"
When a project where the width of an element in an FBD/LD program is set narrower than the default is opened in version
1.054G or earlier, its input/output label names may protrude from the element frame depending on the length. This can be fixed
by re-pasting (cutting and pasting) the element.
Reading data from a Parameters of a device station on CC-Link IE TSN which are written to a CPU module in version 1.055H or later cannot be
programmable controller read from the CPU module in version 1.054G or earlier.
Shortcut key A shortcut key assigned to the following menu will be assigned to [Online] [FB Property] [FB Property Management] when
the shortcut key settings, which was exported in version 1.055H or later, is imported in version 1.054G or earlier.
• [Online] [FB Property Management (Online)]
Project verification When a project for which the size of an element has been changed in version 1.055H or later is verified with a project created
Verifying data with a in version 1.050C to 1.054G, the element is displayed as mismatched data in the "Verify Result" window; however, it is
programmable controller displayed as matched in the detailed display (diagram/table format) screen.
Verifying data with a When a program in which "Extended Mode (iQ-R Series Mode)" is selected for "Link Direct Device Setting" in the CPU
programmable controller parameters for an RnCPU or an RnENCPU, is verified with another project created in version 1.054G or earlier, the link direct
device names of the verification destination will not be displayed properly in the detailed display tab. Therefore, "Mismatch" will
be displayed in the verification result.
Connection destination When a project, in which a connection destination routing a QJ71E71-100 is specified, is opened in version 1.054G or earlier,
specification only the setting of this connection destination returns to the default.
Connection destination settings return to the default if a project, in which the settings meet either of the following conditions, is
opened in version 1.054G or earlier:
• "Ethernet board" is selected for "PC side I/F," and an Ethernet adapter is set in the "PC side I/F Detailed Setting of Ethernet
Board" screen.
• An Ethernet adapter is set in the "CPU Module Direct Coupled Setting" screen.
Remote password Even if the settings of the following items in the remote password file of a CC-Link IE TSN module are changed in version A
1.054G or earlier, the changed contents are discarded when the file is opened in version 1.055H or later.
• SLMP Transmission Port (TCP/IP)
• SLMP Transmission Port (UDP/IP)
Library operation Libraries of a project that "Yes" has been selected for the following option can be registered in the library list in version 1.054G
or earlier, but they cannot be used.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Structured Data Type" "Enable to Set
Reserved Area"
Libraries that contain a module FB cannot be used in version 1.054G or earlier.
Using a project, which was created in version 1.060N or later, in version 1.055H or earlier
Function Consideration
Option setting A project for an FX5CPU cannot be opened, verified, or read from the CPU module in version 1.055H or earlier if its options are
set as follows.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of Steps" "Optimize
the Number of Steps": Yes
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of Steps"
"Collectively Allocate Temporary Area to Optimize the Number of Steps": Yes
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Optimization of Number of Steps" "Optimize
Level": Level 2
If both of the following conditions are satisfied, the default value of "Optimize Level" will be set to "Level 1" when creating a new
project for an FX5CPU in version 1.060N or later.
• GX Works3 Version 1.055H to 1.058L which had been used or activated before is updated to Version 1.060N or later.
• The default value of "Optimization of Number of Steps" had never been changed in the GX Works3 before its update.
Using a project, which was created in version 1.060N or later, in version 1.058L or earlier
Function Consideration
Opening a project When a project in which the display format (Word Multi-point Format) of device values in a device memory editor is set to "1
Reading data from a Point" is opened in version 1.058L or earlier, the display format will be changed as follows.
programmable controller • Bit and Word Format of Bit Device: 10 Points
• Word Multi-point Format: 8 Points
APPX
Appendix 2 Using a Project in a Different Version 877
Function Consideration
Project revision history A project cannot be restored based on the revision registered with the following option set to "Yes" in version 1.058L or earlier.
• "Project" "Revision" "Operational Setting" "Optimize Revision Information to Reduce File Size"
Using a project, which was created in version 1.065T or later, in version 1.063R or earlier
Function Consideration
Opening a project When a project, in which a number other than 10 is set for the number of rows to be displayed in an inline structured text box in
version 1.065T or later, is opened in version 1.063R or earlier, the number of the rows is changed to 10.
When a project including an inline structured text program with 2049 characters or more, which is created in version 1.065T or
later, is opened in version 1.063R or earlier, the program cannot be edited. (However, the program can be deleted and
changed to the one with 2048 characters or less.)
When copying and pasting an inline structured text box, an empty box will be pasted.
Opening a project When a project, in which a CC-Link IE TSN module is set to "Synchronize" in the "Select the Synchronous Target Module"
Writing data to a screen, is opened in version 1.063R or earlier, the setting is displayed as "Do Not Synchronize." However, the CC-Link IE TSN
programmable controller module is actually set as a synchronous target.
If this project is written to a CPU module, the CC-Link IE TSN module is written as a synchronous target.
Project version management A ladder program including an inline structured text program with 2049 characters or more, which is created in version 1.065T
(data acquisition) or later, cannot be acquired from a version management system in version 1.063R or earlier.
Reading data from a Parameters of a device station on CC-Link IE TSN which are written to an FX5UCPU or an FX5UCCPU in version 1.065T or
programmable controller later cannot be read from the CPU module in version 1.063R or earlier.
Reading from an SD memory In projects for an FX5UCPU and an FX5UCCPU, if parameters of a device station on CC-Link IE TSN are written to an SD
card memory card in version 1.065T or later, an error occurs when the parameters are read in version 1.063R or earlier.
Opening a simulation A simulation environment file saved in version 1.065T or later cannot be opened in version 1.063R or earlier.
environment file
Event history If an event history is collected with the following parameter set to "Save," the history cannot be displayed in version 1.063R or
earlier.
• "CPU Parameter" "RAS Setting" "Event History Setting" "Save Device/Label Operations"
Using a project, which was created in version 1.070Y or later, in version 1.066U or earlier
Function Consideration
Overwriting a project If a project in which a label comment is set for an array element or bit-specified label is overwritten in version 1.066U or earlier,
the label comment cannot be used.
Opening a project When an RnSFCPU project in which a recorder module has been placed is opened in version 1.066U or earlier, a recording
setting is displayed in the navigation window; however, safety devices are excluded from the collection targets of the recording
function.
If the recorder module is registered in the project again, the recording setting disappears from the navigation window.
Opening a project An error occurs at the program conversion when an FX5CPU project that contains a program with an index-modified step relay
Reading data from a (S) is opened or read from a CPU module in version 1.066U or earlier.
programmable controller
Opening a project Projects for an FX5UCPU and an FX5UCCPU that include an SFC program cannot be opened, read from the CPU module, or
Reading data from a verified with another project in version 1.066U or earlier.
programmable controller
Verification
Library operation Libraries that contain an SFC program used in projects for an FX5UCPU and an FX5UCCPU cannot be used in version 1.066U
or earlier.
Intelligent function module When a project saved with all the following conditions satisfied is opened in version 1.066U or earlier, a registered device
monitor station is not displayed in an intelligent function module monitor:
• A device station on CC-Link IE TSN is registered in the intelligent function module monitor.
• The intelligent function module monitor is open.
Log marker A log marker information file (*.lmcs) created in version 1.070Y or later cannot be read in version 1.066U or earlier.
Using a project, which was created in version 1.072A or later, in version 1.070Y or earlier
Function Consideration
Reading data from a When a project, in which a redundant extension base unit (R66WRB-HT) has been placed, is read from a CPU module in
programmable controller version 1.070Y or earlier, the model name of this base unit (R66WRB-HT) is displayed blank in the "System Parameter"
screen.
Reading data from a If the following option is selected in a project in which a recorder module has been placed, a device/label specified as a
programmable controller collection target is deleted when reading the project from a CPU module or opening the "Recording Setting" screen in version
Opening a recording setting 1.070Y or earlier.
• The "Recording Setting" screen "Device/Label Sampling Setting" "Device/Label Sampling Target Setting" "Specify
from the device/label used" "Manual"
APPX
878 Appendix 2 Using a Project in a Different Version
Using a project, which was created in version 1.075D or later, in version 1.072A or earlier
Function Consideration
Opening a project When a project, in which a CC-Link IE TSN compatible motion module is set to "Synchronize" in the "Select the Synchronous
Writing data to a Target Module" screen, is opened in version 1.072A or earlier, the setting is displayed as "Do Not Synchronize." However, the
programmable controller CC-Link IE TSN compatible motion module is actually set as a synchronous target.
If this project is written to a CPU module, the CC-Link IE TSN compatible motion module is written as a synchronous target.
Opening a project An error occurs when converting a program if a project, where the display format of a transition (Zoom) including a close
Reading data from a contact is changed, is opened or read from a CPU module in version 1.072A or earlier.
programmable controller
Verifying data with a When a program, in which "Extended Mode (iQ-R Series Mode)" is selected for "Link Direct Device Setting" in the CPU
programmable controller parameters for an RnPCPU, is verified with another project created in version 1.072A or earlier, the link direct device names of
the verification destination will not be displayed properly in the detailed display tab. Therefore, "Mismatch" will be displayed in
the verification result.
Simple CPU communication If a project satisfies all the following conditions, the values in the simple CPU communication setting may become incorrect
setting when opening the setting in version 1.072A or earlier.
• A serial communication module was placed in a project in version 1.072A or earlier.
• The above project was opened in version 1.075D or later, and the simple CPU communication setting was configured.
In this case, upgrade the version to 1.075D or later, then open the simple CPU communication setting.
Using a project, which was created in version 1.080J or later, in version 1.077F or earlier
Function Consideration
Opening a project Connection destination settings return to the default when the "Specify Connection Destination" screen is opened if a project, in
which the settings meet the following condition, is opened in version 1.077F or earlier:
• "GOT" is selected for "PLC side I/F," and "CC IE TSN" is set in the "PLC side I/F Detailed Setting of GOT" screen.
Connection destination settings return to the default when the "Specify Connection Destination" screen is opened if a project
for an FX5CPU, in which the settings meet the following condition, is opened in version 1.077F or earlier:
• "Ethernet Board" is selected for "PC side I/F," and "GOT" for "PLC side I/F," and "Ethernet Built-in CPU" is set for "via GOT
(Ethernet) transparent mode" in the "PLC side I/F Detailed Setting of GOT" screen.
In addition, the settings in "Network Communication Route Detailed Setting of Ethernet" are discarded if a project, in which the
connection destination settings meet the following condition, is opened in version 1.077F or earlier:
• "Ethernet Board" is selected for "PC side I/F," and "GOT" for "PLC side I/F," and "FX5-ENET(/IP)" is set for "via GOT
(Ethernet) transparent mode" in the "PLC side I/F Detailed Setting of GOT" screen.
Opening a project When a project, in which a CC-Link IE TSN compatible motion module (RD78G4(S), RD78G8(S), or RD78G16(S) only) is set
Writing data to a to "Synchronize" in the "Select the Synchronous Target Module" screen, is opened in version 1.077F or earlier, the setting is A
programmable controller displayed as "Do Not Synchronize." However, the CC-Link IE TSN compatible motion module is actually set as a synchronous
target.
If this project is written to a CPU module, the CC-Link IE TSN compatible motion module is written as a synchronous target.
Opening a project A project, in which any arguments of function elements/function block elements are hidden, cannot be opened or read from a
Reading data from a CPU module in version 1.077F or earlier.
programmable controller In this case, show the hidden arguments again, then open the project or read it from a CPU module in version 1.077F or earlier.
Reading data from a The following parameters return to the default when a project, in which "Use TSN HUB" is selected for "TSN HUB Setting" in
programmable controller the module parameters for a CC-Link IE TSN module (RJ71GN11-T2), is read from a CPU module in version 1.077F or earlier:
• Network Topology
• Setting in units of 1us
• Communication Period Interval Setting (Do not Set it in Units of 1us)
• Communication Period Interval Setting (Set it in Units of 1us)
• System Reservation Time
• Cyclic Transmission Time
• Transient Transmission Time
• Authentication Class Setting
• Disconnection Detection Setting
• Station-based Block Data Assurance
An error occurs when changing the module parameters of a project after reading the project, in which "Refresh Setting" in the
module parameters is set for a CC-Link IE TSN compatible motion module (RD78G4, RD78G8, RD78G16, RD78G32,
RD78G64, RD78GHV, or RD78GHW only), from a CPU module in version 1.077F or earlier.
Opening a project A project using any of the following standard process FBs cannot be opened, verified, or read from a CPU module in version
Reading data from a 1.077F or earlier: M+TP_HIGH, M+TP_LOW, M+TON_HIGH, M+TON_LOW, M+TOF_HIGH, and M+TOF_LOW.
programmable controller A project that contains an FBD/LD program using an inline structured text program cannot be opened, verified, or read from a
Project verification
CPU module in version 1.077F or earlier.
Verifying data with a
programmable controller
Library operation Libraries that contain an inline structured text program used in an FBD/LD program can be registered in the library list in
version 1.077F or earlier, but they cannot be used.
APPX
Appendix 2 Using a Project in a Different Version 879
Using a project, which was created in version 1.082L or later, in version 1.080J or earlier
Function Consideration
Remote password When a project, in which "CC-Link IE TSN Plus Master/Local Module" is set for "Product Name" in the "Remote Password
Setting" screen, is opened in version 1.080J or earlier, "CC-Link IE TSN Plus Master/Local Module" is changed to
"Unsupported Module."
Using a project, which was created in version 1.085P or later, in version 1.082L or earlier
Function Consideration
Library operation Libraries that contain the following elements cannot be used in version 1.082L or earlier.
• System header POU (M+PHEADER)
• System footer POU (M+PFOOTER)
• Global label setting 'M+PTAG'
• Process control function block
• Tag data structure
Reading data from a The following parameters return to the default when a project, in which "Use TSN HUB" is selected for "TSN HUB Setting" in
programmable controller the module parameters for a CC-Link IE TSN module (FX5-CCLGN-MS), is read from a CPU module in version 1.082L or
earlier:
• Setting in units of 1us
• Communication Period Interval Setting (Do not Set it in Units of 1us)
• Communication Period Interval Setting (Set it in Units of 1us)
• System Reservation Time
• Cyclic Transmission Time
• Transient Transmission Time
• Authentication Class Setting
• Disconnection Detection Setting
• Station-based Block Data Assurance
Using a project, which was created in version 1.090U or later, in version 1.087R or earlier
Function Consideration
Opening a project When opening either of the following projects for an LHCPU in version 1.087R or earlier, device comments/device memories/
Reading data from a device initial values of Un\G65536 and later cannot be displayed or edited.
programmable controller • A project in which device comments/device memories/device initial values of Un\G65536 and later are set.
• A project that contains a program in which module access devices of Un\G65536 and later are not changed from the initial
values.
Verifying data with a When opening either of the following projects for an LHCPU in version 1.087R or earlier, device comments/device memories of
programmable controller Un\G65536 and later cannot be verified.
• A project in which device comments/device memories/device initial values of Un\G65536 and later are set.
• A project that contains a program in which module access devices of Un\G65536 and later are not changed from the initial
values.
Conversion In a project for an LHCPU that contains a program in which module access devices of Un\G65536 and later are used, an error
occurs at the conversion in version 1.087R or earlier.
Remote password When a project for an FX5UJCPU, in which "CC-Link IE TSN Module" is set for "Product Name" in the "Remote Password
Setting" screen, is opened in version 1.087R or earlier, "CC-Link IE TSN Module" is changed to "Unsupported Module."
APPX
880 Appendix 2 Using a Project in a Different Version
Using a project, which was created in version 1.095Z or later, in version 1.090U or earlier
Function Consideration
Reading data from a When a project, in which a power supply module (R69P, R69RP) has been placed, is read from a CPU module in version
programmable controller 1.090U or earlier, the model name of this power supply module (R69P, R69RP) is displayed blank in the "System Parameter"
screen.
Opening a project Projects for an FX5UJCPU and an FX5SCPU that include an SFC program cannot be opened, read from the CPU module, or
Reading data from a verified with another project in version 1.090U or earlier.
programmable controller
Verification
Library operation Libraries that contain an SFC program used in projects for an FX5UJCPU and an FX5SCPU cannot be used in version 1.090U
or earlier.
Connection destination Connection destination settings return to the default when a communication route is set to access a CPU module via either of
specification the following modules:
• CC-Link IE Field Network master/local module (LJ71GF11-T2)
• Ethernet interface module (LJ71E71-100)
Using a project, which was created in version 1.096A or later, in version 1.095Z or earlier
Function Consideration
Project verification If a security version of a project, which was created in version 1.096A or later, is '2,' the project cannot be verified with a project
created in version 1.095Z or earlier.
Offline monitor When a project that satisfies both of the following conditions is written to a programmable controller, and then a recording file is
read from the programmable controller in version 1.095Z or earlier, the recording file cannot be monitored.
• A security version is set to "2."
• A recorder module is placed.
Using a project, which was created in version 1.100E or later, in version 1.097B or earlier
Function Consideration
Opening a project Connection destination settings return to the default when the "Specify Connection Destination" screen is opened if a project
for an LHCPU, in which the settings meet the following condition, is opened in version 1.097B or earlier:
• "Ethernet Board" is selected for "PC side I/F," and "GOT" for "PLC side I/F," and "Ethernet Built-in CPU" is set for "via GOT
(Ethernet) transparent mode" in the "PLC side I/F Detailed Setting of GOT" screen.
Connection destination settings return to the default when the "Specify Connection Destination" screen is opened if a
communication route is set to access a CPU module via a CC-Link IE TSN interface board. A
APPX
Appendix 2 Using a Project in a Different Version 881
Appendix 3 Using a Previous Version of Function
Checking logging data in version 1.063R or earlier
A value of logging data displayed in GX LogViewer can be displayed on the monitor screen of GX Works3.
When moving the red cursor of GX LogViewer, a monitor value in GX Works3 is also changed accordingly.
To use this function, GX LogViewer Version 1.64S or later is required to be installed.
Device: C0
Monitor Value: 6
Device: C0
Device Value: 6
Operating procedure
The following shows the operating procedure to check logging data.
Operating procedure
1. Open a logging file in GX LogViewer.
2. Set a logging file to be monitored in GX Works3. (Page 883 Selecting a target monitor)
APPX
882 Appendix 3 Using a Previous Version of Function
Selecting a target monitor
Set a logging file to be monitored in the "Offline Monitor (Logging) Connection Destination Setting" screen.
Only a logging file (*.bin) output from an RCPU or an FX5CPU can be set.
Window
Select [Debug] [Offline Monitor] [Offline Monitor (Logging)] [Connection Destination Setting].
Operating procedure
Select a logging file, and click the [OK] button.
"Offline Monitor" is displayed on the status bar.
Precautions
• A logging file is not displayed in the list when opening the "Offline Monitor (Logging) Connection Destination Setting" screen
in GX Works3 before opening the logging file in GX LogViewer. Open a logging file in GX LogViewer, then click the [Update] A
button in the "Offline Monitor (Logging) Connection Destination Setting" screen.
• A logging file is not displayed in the list when performing any of the following functions in GX LogViewer.
[Graph View] [Change the Data to Draw Graphs]
[Graph Operation] [Show Previous Graph] or [Show Next Graph]
APPX
Appendix 3 Using a Previous Version of Function 883
Starting offline monitoring
Operating procedure
1. Start monitoring in GX Works3. (Page 613 Starting/stopping monitoring)
Considerations
Duplicate devices
When multiple same devices exist in a logging file, the value of the device that is displayed at the lowermost row in the graph
legend area of GX LogViewer is displayed in the monitor screen of GX Works3.
APPX
884 Appendix 3 Using a Previous Version of Function
Appendix 4 Unusable Character Strings (Reserved
Words)
Character strings used for application instruction names, common instruction names, special instruction names, instructions
and so on are referred to as the reserved words.
Reserved words may not be used for names.
When the character strings defined as reserved words is used for names, an error occurs at the registration or conversion.
Precautions
Characters are not case-sensitive.
APPX
Appendix 4 Unusable Character Strings (Reserved Words) 885
Category Character string
IEC reserved word*1 ABS, ACOS, ACTION, ADD, AND, ANDN, ANY, ANY_BIT, ANY_INT, ANY_NUM, ANY_REAL, ARRAY, ASIN, AT,
ATAN, BOOL, BY, BYTE, CAL, CALC, CASE, CONCAT, CONFIGURATION, CONSTANT, CONTINUE, COS, CTD,
CTU, CTUD, D, DATE, DATE_AND_TIME, DELETE, DINT, DIV, DO, DT, DWORD, ELSE, ELSIF, END_ACTION,
END_CASE, END_CONFIGURATION, END_FOR, END_FUNCTION, END_FUNCTION_BLOCK , END_IF,
END_PROGRAM, END_REPEAT, END_RESOURCE, END_STEP, END_STRUCT, END_TRANSITION,
END_TYPE, END_VAR, END_WHILE, EN, ENO, EQ, EXIT, EXP, EXPT, FALSE, F_EDGE, F_TRIG, FIND, FOR,
FROM, FUNCTION, FUNCTION_BLOCK, GE, GT, IF, INITIAL_STEP, INSERT, INT, INTERVAL, JMP, JMPC,
JMPCN, L, LD, LDN, LE, LEFT, LEN, LIMIT, LINT, LN, LOG, LREAL, LT, LWORD, MAX, MID, MIN, MOD, MOVE,
MUL, MUX, N, NE, NEG, NOT, OF, ON, OR, ORN, P, PROGRAM, R, R1, R_TRIG, READ_ONLY, READ_WRITE,
REAL, REPEAT, REPLACE, RESOURCE, RET, RETAIN, RETC, RETURN, RIGHT, ROL, ROR, RS, R_EDGE, S, S1,
SD, SEL, SHL, SHR, SIN, SINGLE, SINT, SQRT, SR, ST, STEP, STN, STRING, STRUCT, SUB, TAN, TASK, THEN,
TIME, TIME_OF_DAY, TO, TOD, TOF, TON, TP, TRANSITION, TRUE, TYPE, UDINT, UINT, ULINT, UNTIL, USINT,
VAR, VAR_ACCESS, VAR_EXTERNAL, VAR_GLOBAL, VAR_INPUT, VAR_IN_OUT, VAR_OUTPUT, WHILE, WITH,
WORD, XOR, XORN
Code Device A, B, BL, C, CC, CN, CS, D, DX, DY, E, F, FD, FX, FY, G*2, GLP, H, HG*2, I, J, K, L, LC, LCC, LCN, LCS, LLP, LSC,
conversion*1 LSN, LSS, LST, LSTC, LSTN, LSTS, LT, LTC, LTN, LTS, LZ, M, N, P, PH, R, RD, S, SB, SC, SD, SM, SN, SS, ST,
STC, STN, STS, SW, SZ, T, TC, TN, TR, TS, U, V, VD, W, X, Y, Z, ZR, ZZ, RX*2, RY*2, RWr*2, RWw*2
Others Manufacturer-provided functions/function blocks, MELSEC instructions supported by a CPU module*3
APPX
886 Appendix 4 Unusable Character Strings (Reserved Words)
Unusable character strings for a label name
Category Character string
Invalid Symbol Space, !, ", #, $, %, &, ', (, ), *, +, /, ,, -, ., :, ;, <, =, >, ?, @, [, \, ], ^, `, {, |, }, ~, environment dependent characters
character
Surrogate pair 0xD800 to 0xDBFF, 0xDC00 to 0xDFFF
Control code U+0000 to U+001F, U+007F, U+0080 to U+009F, U+00A0 to U+00BF, U+FFFE, U+FFFF
Windows reserved word CLOCK$
Data type Class VAR, VAR_RETAIN, VAR_ACCESS, VAR_CONSTANT, VAR_INPUT, VAR_INPUT_RETAIN, VAR_OUTPUT,
reserved words VAR_OUTPUT_RETAIN, VAR_IN_OUT, VAR_IN_EXT, VAR_EXTERNAL, VAR_EXTERNAL_CONSTANT,
VAR_EXTERNAL_RETAIN, VAR_GLOBAL, VAR_GLOBAL_CONSTANT, VAR_GLOBAL_RETAIN, VAR_PUBLIC,
VAR_PUBLIC_RETAIN
Data type BOOL, BYTE, INT, SINT, DINT, LINT, UINT, USINT, UDINT, ULINT, WORD, DWORD, LWORD, ARRAY, REAL,
LREAL, TIME, STRING, WSTRING, TIMER, LTIMER, RETENTIVETIMER, LRETENTIVETIMER, COUNTER,
LCOUNTER, POINTER
ANY, ANY_NUM, ANY_BIT, ANY_REAL, ANY_INT, ANY_DATE, ANY_SIMPLE, ANY16, ANY32, DATE,
DATE_AND_TIME, DT, TIME, TIME_OF_DAY, TOD, BODY_CCE, BODY_FBD, BODY_IL, BODY_LD, BODY_SFC,
BODY_ST, END_BODY, END_PARAMETER_SECTION, PARAM_FILE_PATH, PARAMETER_SECTION, POW,
LONGCOUNTER, LONGRETENTIVETIMER, LONGTIMER, UNKNOWN, ANY_BITADDR, ANY_WORDADDR,
ANY_STRING, ANYSTRING_SINGLE, ANYSTRING_DOUBLE, ANY_ELEMENTARY, ANY_ELEMENTARY_IEC,
ANY_MAGNITUDE, ANY_BOOL, ANY_SIGNED, ANY_UNSIGNED, ANYREAL_64, ANYREAL_32, ANY_DERIVED,
ANY16_S, ANY16_U, ANY32_S, ANY32_U, ANY64, ANY64_S, ANY64_U, ANY_STRUCT, ANYWORD_ARRAY,
ANY16_ARRAY, ANY16_S_ARRAY, ANY16_U_ARRAY, ANY32_ARRAY, ANY32_S_ARRAY, ANY32_U_ARRAY,
ANY64_ARRAY, ANY64_S_ARRAY, ANY64_U_ARRAY, ANY_REAL_ARRAY, ANY_REAL_32_ARRAY,
ANY_REAL_64_ARRAY, ANY_STRING_ARRAY, ANYSTRING_SINGLE_ARRAY, ANYSTRING_DOUBLE_ARRAY,
ANYBIT_ARRAY, UINT_WORD, UDINT_DWORD, ULINT_LWORD, TIME2, KBIT64, KBIT32, KBIT16, WDEVICE,
BDEVICE, DUMMYDEVICE, FB, FUN, STRUCT_MEMBER, BIT_ARRAY, STRUCT_ARRAY, STRING_ARRAY,
WSTRING_ARRAY, LINT_ARRAY, ULINT_LWORD_ARRAY, DINT_ARRAY, UDINT_DWORD_ARRAY, INT_ARRAY,
UINT_WORD_ARRAY, REAL_ARRAY, LREAL_ARRAY, TIME_ARRAY, NONE, ANY16_OR_STRING_SINGLE,
ANY_DT, ANY_TM, ANY_BOOL_OR_POINTER
IEC reserved word ABS, ACOS, ACTION, ADD, AND, ANDN, ANY, ANY_BIT, ANY_INT, ANY_NUM, ANY_REAL, ARRAY, ASIN, AT,
ATAN, BOOL, BY, BYTE, CAL, CALC, CASE, CONCAT, CONFIGURATION, CONSTANT, CONTINUE, COS, CTD,
CTU, CTUD, D, DATE, DATE_AND_TIME, DELETE, DINT, DIV, DO, DT, DWORD, ELSE, ELSIF, END_ACTION,
END_CASE, END_CONFIGURATION, END_FOR, END_FUNCTION, END_FUNCTION_BLOCK , END_IF,
END_PROGRAM, END_REPEAT, END_RESOURCE, END_STEP, END_STRUCT, END_TRANSITION,
END_TYPE, END_VAR, END_WHILE, EN, ENO, EQ, EXIT, EXP, EXPT, FALSE, F_EDGE, F_TRIG, FIND, FOR, A
FROM, FUNCTION, FUNCTION_BLOCK, GE, GT, IF, INITIAL_STEP, INSERT, INT, INTERVAL, JMP, JMPC,
JMPCN, L, LD, LDN, LE, LEFT, LEN, LIMIT, LINT, LN, LOG, LREAL, LT, LWORD, MAX, MID, MIN, MOD, MOVE,
MUL, MUX, N, NE, NEG, NOT, OF, ON, OR, ORN, P, PROGRAM, R, R1, R_TRIG, READ_ONLY, READ_WRITE,
REAL, REPEAT, REPLACE, RESOURCE, RET, RETAIN, RETC, RETURN, RIGHT, ROL, ROR, RS, R_EDGE, S, S1,
SD, SEL, SHL, SHR, SIN, SINGLE, SINT, SQRT, SR, ST, STEP, STN, STRING, STRUCT, SUB, TAN, TASK, THEN,
TIME, TIME_OF_DAY, TO, TOD, TOF, TON, TP, TRANSITION, TRUE, TYPE, UDINT, UINT, ULINT, UNTIL, USINT,
VAR, VAR_ACCESS, VAR_EXTERNAL, VAR_GLOBAL, VAR_INPUT, VAR_IN_OUT, VAR_OUTPUT, WHILE, WITH,
WORD, XOR, XORN
Code Device A, B, BL, C, CC, CN, CS, D, DX, DY, E, F, FD, FX, FY, G*1, GLP*1, H, HG*1, I, J, K, L, LC, LCC, LCN, LCS, LLP*1,
conversion LSC*1, LSN*1, LSS*1, LST, LSTC, LSTN, LSTS, LT, LTC, LTN, LTS, LZ, M, N, P, PH, R, RD, S, SB, SC*1, SD, SM,
SN*1, SS*1, ST, STC*1, STN*1, STS*1, SW, SZ*1, T, TC, TN, TR, TS, U, V, VD, W, X, Y, Z, ZR, ZZ, RX*1, RY*1, RWr*1,
RWw*1
Others Manufacturer-provided functions/function blocks, MELSEC instructions supported by a CPU module*2
*1 Regarded as a reserved word when the character string is used with a number.
*2 Some instructions that are not supported by a CPU module may not be used. (Example: NOP and PHASERST)
APPX
Appendix 4 Unusable Character Strings (Reserved Words) 887
Unusable character strings for a path name
Category Character string
Invalid Symbol ", *, /, ,, ;, <, >, ?, |, environment dependent characters*1
character
Surrogate pair 0xD800 to 0xDBFF, 0xDC00 to 0xDFFF
Control code U+0000 to U+001F, U+007F, U+0080 to U+009F, U+00A0 to U+00BF, U+FFFE, U+FFFF
Windows reserved word COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7,
LPT8, LPT9, AUX, CON, PRN, NUL, CLOCK$, END_MARK
*1 When an environment dependent character is included in a path name, a project can be opened by using the following menu:
[Project] [Open]
APPX
888 Appendix 4 Unusable Character Strings (Reserved Words)
Appendix 5 Applicable Devices in GX Works3
RCPUs
: Applicable, : Display only, : Not applicable : Not available
Category Device name Symbol Digit Bit-specified Device Device Initial
specification word device comment memory device
value
User device Input X
Output Y
Internal relay M
#M
Latch relay L
Link relay B
Annunciator F
Link special relay SB
Edge relay V
#V
Step relay S*1
Timer T
#T
Retentive timer ST
#ST
Long timer LT
#LT
Long retentive timer LST
#LST
Counter C
A
#C
Long counter LC
#LC
Data register D
#D
Link register W
Link special register SW
Direct access input DX
Direct access output DY
System device Function input FX
Function output FY
Function register FD
Special relay SM
Special register SD
Link direct device Link input J\X *2
Link output J\Y *2
*2
Link relay J\B
Link special relay J\SB *2
Link register J\W *2
Link special register J\SW *2
Module access device Module access device U\G *2
CPU buffer memory access CPU buffer memory access U3E\G *2
device device
U3E\H *2
G
APPX
Appendix 5 Applicable Devices in GX Works3 889
Category Device name Symbol Digit Bit-specified Device Device Initial
specification word device comment memory device
value
Index register Index register Z
#Z
Long index register LZ
#LZ
File register File register R
ZR
Refresh data register Refresh data register RD
Nesting Nesting N
Pointer Pointer P
#P
Interrupt pointer I
Other devices SFC block device BL
SFC transition device TR
Step relay (with block BL\S
specification)
SFC transition device (with BL\TR
block specification)
Network number specified J
device
I/O number specified device U
Constant Decimal constant K
Hexadecimal constant H
Real constant E
String constant
*1 When editing it in other places except in a Zoom, specify a step relay with block specification (BL\S).
*2 Cannot be written to/read from the module in a device memory editor.
APPX
890 Appendix 5 Applicable Devices in GX Works3
Applicable devices in a safety project (safety devices)
: Applicable, : Display only, : Not applicable : Not available
Category Device name Symbol Digit Bit-specified Device Device Initial
specification word device comment memory device
value
Safety user device Safety input SA\X
Safety output SA\Y
Safety internal relay SA\M
SA\#M
Safety link relay SA\B
Safety timer SA\T
SA\#T
Safety retentive timer SA\ST
SA\#ST
Safety counter SA\C
SA\#C
Safety data register SA\D
SA\#D
Safety link register SA\W
Safety system device Safety special relay SA\SM
Safety special register SA\SD
APPX
Appendix 5 Applicable Devices in GX Works3 891
LHCPUs
: Applicable, : Display only, : Not applicable : Not available
Category Device name Symbol Digit Bit-specified Device Device Initial
specification word device comment memory device
value
User device Input X
Output Y
Internal relay M
#M
Latch relay L
Link relay B
Annunciator F
Link special relay SB
Edge relay V
#V
Step relay S*1
Timer T
#T
Retentive Timer ST
#ST
Long Timer LT
#LT
Long Retentive Timer LST
#LST
Counter C
#C
Long Counter LC
#LC
Data register D
#D
Link register W
Link special register SW
Direct access input DX
Direct access output DY
System device Function input FX
Function output FY
Function register FD
Special relay SM
Special register SD
Link direct device Link input J\X *2
Link output J\Y *2
Link relay J\B *2
Link special relay J\SB *2
Link register J\W *2
*2
Link special register J\SW
Module access device Module access device U\G *2
CPU buffer memory access CPU buffer memory access U3E\G *2
device device
U3E\H
G
Index register Index register Z
#Z
Long index register LZ
#LZ
APPX
892 Appendix 5 Applicable Devices in GX Works3
Category Device name Symbol Digit Bit-specified Device Device Initial
specification word device comment memory device
value
File register File register R
ZR
Refresh data register Refresh data register RD
Nesting Nesting N
Pointer Pointer P
#P
Interrupt pointer I
Other devices SFC block device BL
SFC transition device TR
Step relay (with block BL\S
specification)
SFC transition device (with BL\TR
block specification)
Network number specified J
device
I/O number specified device U
Constant Decimal constant K
Hexadecimal constant H
Real constant E
String constant
*1 When editing it in other places except in a Zoom, specify a step relay with block specification (BL\S).
*2 Cannot be written to/read from the module in a device memory editor.
APPX
Appendix 5 Applicable Devices in GX Works3 893
FX5CPUs
: Applicable, : Display only, : Not applicable : Not available
Category Device name Symbol Digit Bit-specified Device Device Initial Memory
specificat word device comment memory device dump
ion value
User device Input X
Output Y
Internal relay M
#M
Latch relay L
Link relay B
Annunciator F
Link special relay SB
Edge relay V
#V
Step relay S*1 *2
Timer T
#T
Retentive timer ST
#ST
Long Timer LT
#LT
Long Retentive Timer LST
#LST
Counter C
#C
Long counter LC
#LC
Data register D
#D
Link register W
Link special register SW
Direct access input DX
Direct access output DY
System device Function input FX
Function output FY
Function register FD
Special relay SM
Special register SD
Link direct device Link input J\X
Link output J\Y
Link relay J\B
Link special relay J\SB
Link register J\W
Link special register J\SW
Module access device Module access device U\G*3 *4
CPU buffer memory access CPU buffer memory access U3E\G
device device
U3E\H
G
Index register Index register Z
#Z
Long index register LZ
#LZ
APPX
894 Appendix 5 Applicable Devices in GX Works3
Category Device name Symbol Digit Bit-specified Device Device Initial Memory
specificat word device comment memory device dump
ion value
File register File register R
ZR
Extended file register ER
Refresh data register Refresh data register RD
Nesting Nesting N
Pointer Pointer P
#P
Interrupt pointer I
Others SFC block device BL
SFC transition device TR
Step relay (with block BL\S
specification)
SFC transition device (with BL\TR
block specification)
Network number specified J
device
I/O number specified device U
Constant Decimal constant K
Hexadecimal constant H
Real constant E
String constant
*1 Specify a step relay with block specification (BL\S) to edit the S device in other than a Zoom if "Use" is set in "To Use or Not to Use
SFC" of the CPU parameter.
*2 A step relay (S) is used as a step relay with block specification (BL\S) to control an SFC program if "Use" is set in "To Use or Not to
Use SFC" of the CPU parameter.
Therefore, the step relay (S) is treated as a read-only device.
*3
*4
FX5SCPUs do not support it.
Cannot be written to/read from the module in a device memory editor.
A
Creating comments for module access devices
Device comments can be created within the range of U01 (\G0) to U10 (\G262143).
APPX
Appendix 5 Applicable Devices in GX Works3 895
Remote head modules
: Applicable, : Display only, : Not applicable : Not available
Category Device name Symbol Digit Bit-specified Device Device
specificatio word device comment memory
n
User device Input X
Output Y
Internal relay M
#M
Latch relay L
Link relay B
Annunciator F
Link special relay SB
Edge relay V
#V
Step relay S
Timer T
#T
Retentive timer ST
#ST
Long timer LT
#LT
Long retentive timer LST
#LST
Counter C
#C
Long counter LC
#LC
Data register D
#D
Link register W
Link special register SW
Direct access input DX
Direct access output DY
System device Function input FX
Function output FY
Function register FD
Special relay SM
Special register SD
Link direct device Link input J\X
Link output J\Y
Link relay J\B
Link special relay J\SB
Link register J\W
Link special register J\SW
Module access device Module access device U\G *1
CPU buffer memory access CPU buffer memory access U3E\G
device device
U3E\HG
Index register Index register Z
#Z
Long index register LZ
#LZ
APPX
896 Appendix 5 Applicable Devices in GX Works3
Category Device name Symbol Digit Bit-specified Device Device
specificatio word device comment memory
n
File register File register R
ZR
Refresh data register Refresh data register RD
Nesting Nesting N
Pointer Pointer P
#P
Interrupt pointer I
Other devices SFC block device BL
SFC transition device TR
Step relay (with block BL\S
specification)
SFC transition device (with block BL\TR
specification)
Network number specified device J
I/O number specified device U
Constant Decimal constant K
Hexadecimal constant H
Real constant E
String constant
APPX
Appendix 5 Applicable Devices in GX Works3 897
Appendix 6 Label Memory Types
The label memory are used by a system for label assignment.
The following table shows the label memory types that are displayed in GX Works3.
Symbol Description
GV: The label memory assigned to a global label other than the pointer type.
UV: The label memory assigned to a module label.
LV: The label memory assigned to a local label other than the pointer type.
LLV: The label memory assigned to a local latch label, which is a latch attribute local label of a function block.
LLP The label memory assigned to a pointer type local label.
GLP The label memory assigned to a pointer type global label.
Precautions
In GX Works3, the address of label memory assigned to a label may be displayed; however, this address cannot be directly
used by a user.
APPX
898 Appendix 6 Label Memory Types
MEMO
APPX
Appendix 6 Label Memory Types 899
Appendix 7 Replacement of Another Format Project
When using another format project in the GX Works3 format, some instructions, devices, and programs are required to be
replaced. Check the contents in this section, and correct the project.
Correcting parameters
The device/label automatic-assign settings in a GX Works2 format project are applied to "Label Area Capacity," "Latch Label
Area Capacity," and "Latch Type Setting of Latch Type Label" of "CPU Parameter" in a GX Works3 format project.
However, depending on a GX Works2 format project, the settings may not be applied.
In that case, check the changes in the "Output" window, and set "CPU Parameter" depending on the label capacity of the
project.
The setting items for a GX Works3 format project corresponding to that for a GX Works2 format project are as follows.
GX Works2 GX Works3
Project Device/label CPU parameter Setting content
automatic-assign
setting
• Simple project with labels Total points (VAR) Label area capacity The settings are applied.
• Structured project Total points (VAR_RETAIN) Latch label area
capacity
Latch selection column Latch type setting of • When all the latch types of each data type*1 are
(latch type) latch type label the same, the settings are applied.
• When a latch type is different between these data
types*1, "Latch(1)" is set.
• Simple project with no labels Total points (VAR) Label area capacity "0 K word" is set.
• A project in which the value of "Use Volume" Total points (VAR_RETAIN) Latch label area
exceeds that of "Total Capacity" in the capacity
"Device/Label Memory Configuration" screen
in GX Works3.*2,*3 Latch selection column Latch type setting of "Latch(1)" is set.
• A project created in GX Works2 Version (latch type) latch type label
1.570U or earlier
APPX
900 Appendix 7 Replacement of Another Format Project
Automatic replacement of elements (GX Works3 Version 1.047Z or later)
Many of the elements (instructions, standard functions, and standard function blocks) used in a GX Works2 format project are
automatically replaced with ones available in GX Works3.
For some of these elements, however, the data type and the order of arguments are different between GX Works2 and GX
Works3. Therefore, correcting the data type and the order of arguments is required to avoid an error at the program
conversion. (Page 913 Replacement of instructions (GX Works3 Version 1.040S or later))
In addition, elements not supported by MELSEC iQ-R series or MELSEC iQ-L series modules cannot be replaced with ones
available in GX Works3. (Page 906 Elements that are not supported by MELSEC iQ-R series or MELSEC iQ-L series
modules)
APPX
Appendix 7 Replacement of Another Format Project 901
Name before replacement Name after replacement
BKCMP> BKCMP_GT_M2 BKCMP>P BKCMP_GTP_M2 BKCMP>= BKCMP_GE_M2
BKCMP>=P BKCMP_GEP_M2 BKMINUS_M BKMINUS_M2 BKMINUSP_M BKMINUSP_M2
BKPLUS_M BKPLUS_M2 BKPLUSP_M BKPLUSP_M2 BKRST BKRST_M2
BKRST_M BKRST_M2 BKRSTP BKRSTP_M2 BKRSTP_M BKRSTP_M2
BOOL_TO_DINT_E BOOL_TO_DINT_E_M2 BOOL_TO_DWORD_E BOOL_TO_INT_E BOOL_TO_INT_E_M2
BOOL_TO_DWORD_E_M2
BOOL_TO_STR_E BOOL_TO_STR_E_M2 BOOL_TO_TIME_E BOOL_TO_TIME_E_M2 BOOL_TO_WORD_E
BOOL_TO_WORD_E_M2
BSQR BSQR_M2 BSQRP BSQRP_M2 BUFRCV_M ZP_BUFRCV_M2
BUFSND_M ZP_BUFSND_M2 CLOSE_M ZP_CLOSE_M2 COS COS_M2
COS_E COS_E_M2 CONCAT_E CONCAT_E_M2 COS_E_MD COS_M2
COS_MD COS_M2 COSD COSD_M2 COSD_E_MD COSD_M2
COSD_MD COSD_M2 CPY_BIT_OF_INT_E CPY_BIT_OF_INT_E_M2 CPY_BITARR_E CPY_BITARR_E_M2
CSET_M ZP_CSET_M2 CSET_P_M ZP_CSET_M2 CTD CTD_M2*1
CTD_E CTD_E_M2*1 CTU CTU_M2*1 CTU_E CTU_E_M2*1
CTUD CTUD_M2*1 CTUD_E CTUD_E_M2*1 D-P DMINUSP_M2
DABIN_P_MD DABINP_M2 DABIN_P_S_MD DABINP_M2 D/ DDIVISION_M2
D/P DDIVISIONP_M2 DABIN DABIN_M2 D+ DPLUS_M2
D* DMULTI_M2 D*P DMULTIP_M2 DABIN_MD DABIN_M2
D+P DPLUSP_M2 D- DMINUS_M2 DABIN_S_MD DABIN_M2
DABINP DABINP_M2 DB* DBMULTI_M2 DB*P DBMULTIP_M2
DBAND DBAND_M2 DBAND_MD DBAND_M2 DBAND_P_MD DBANDP_M2
DBANDP DBANDP_M2 DBINDA DBINDA_M2 DBINDA_K_MD DBINDA_M2
DBINDA_K_P_MD DBINDAP_M2 DBINDA_MD DBINDA_M2 DBINDA_P_MD DBINDAP_M2
DBINDA_P_S_MD DBINDAP_M2 DBINDA_S_MD DBINDA_M2 DBINDAP DBINDAP_M2
DBK-P DBKMINUSP_M2 DBKCMP_EQ_M DBKCMP_EQ_M2 DBK- DBKMINUS_M2
DBKCMP_GE_M DBKCMP_GE_M2 DBKCMP_GEP_M DBKCMP_GEP_M2 DBKCMP_EQP_M DBKCMP_EQP_M2
DBK+ DBKPLUS_M2 DBK+P DBKPLUSP_M2 DBKCMP_GT_M DBKCMP_GT_M2
DBKCMP_GTP_M DBKCMP_GTP_M2 DBKCMP_LE_M DBKCMP_LE_M2 DBKCMP_LEP_M DBKCMP_LEP_M2
DBKCMP_LT_M DBKCMP_LT_M2 DBKCMP_LTP_M DBKCMP_LTP_M2 DBKCMP_NE_M DBKCMP_NE_M2
DBKCMP_NEP_M DBKCMP_NEP_M2 DBKCMP< DBKCMP_LT_M2 DBKCMP<> DBKCMP_NE_M2
DBKCMP<>P DBKCMP_NEP_M2 DBKCMP= DBKCMP_EQ_M2 DBKCMP<P DBKCMP_LTP_M2
DBKCMP<= DBKCMP_LE_M2 DBKCMP<=P DBKCMP_LEP_M2 DBKCMP=P DBKCMP_EQP_M2
DBKCMP> DBKCMP_GT_M2 DBKCMP>P DBKCMP_GTP_M2 DBKCMP>= DBKCMP_GE_M2
DBKCMP>=P DBKCMP_GEP_M2 DBKMINUS_M DBKMINUS_M2 DBKMINUSP_M DBKMINUSP_M2
DBKPLUS_M DBKPLUS_M2 DBKPLUSP_M DBKPLUSP_M2 DBMULTI_M DBMULTI_M2
DBMULTIP_M DBMULTIP_M2 DDABIN DDABIN_M2 DDABIN_MD DDABIN_M2
DDABIN_P_MD DDABINP_M2 DDABIN_P_S_MD DDABINP_M2 DDABIN_S_MD DDABIN_M2
DDABINP DDABINP_M2 DDEC DDEC_M2 DDEC_M DDEC_M2
DDECP DDECP_M2 DDECP_M DDECP_M2 DDIVID_3_M DDIVISION_M2
DDIVIDP_3_M DDIVISIONP_M2 DEC DEC_M2 DEC_M DEC_M2
DECP DECP_M2 DECP_M DECP_M2 DELETE_E DELETE_E_M2
DGBIN DGBIN_M2 DGBIN_M DGBIN_M2 DGBINP DGBINP_M2
DGBINP_M DGBINP_M2 DGRY DGRY_M2 DGRY_M DGRY_M2
DGRYP DGRYP_M2 DGRYP_M DGRYP_M2 DINC DINC_M2
DINC_M DINC_M2 DINCP DINCP_M2 DINCP_M DINCP_M2
DINT_TO_BITARR_E DIV_TIME_E DIV_TIME_E_M2 DINT_TO_INT_E DINT_TO_INT_E_M2
DINT_TO_BITARR_E_M2
DINT_TO_LREAL_E DINT_TO_LREAL_E_M2 DINT_TO_REAL_E DINT_TO_REAL_E_M2 DINT_TO_STR_E DINT_TO_STR_E_M2
DINT_TO_TIME_E DINT_TO_TIME_E_M2 DINT_TO_WORD_E DINT_TO_WORD_E_M2 DIV_E DIV_E_M2
DINT_TO_BCD_E DINT_TO_BCD_E_M2 DINT_TO_BOOL_E DINT_TO_BOOL_E_M2 DINT_TO_DWORD_E
DINT_TO_DWORD_E_M2
DIVID_3_M DIVISION_M2 DIVIDP_3_M DIVISIONP_M2 DLIMIT DLIMIT_M2
DLIMIT_MD DLIMIT_M2 DLIMIT_P_MD DLIMITP_M2 DLIMITP DLIMITP_M2
APPX
902 Appendix 7 Replacement of Another Format Project
Name before replacement Name after replacement
DMAX DMAX_M2 DMAX_M DMAX_M2 DMAXP DMAXP_M2
DMAXP_M DMAXP_M2 DMEAN DMEAN_M2 DMEAN_M DMEAN_M2
DMEANP DMEANP_M2 DMEANP_M DMEANP_M2 DMIN DMIN_M2
DMIN_M DMIN_M2 DMINP DMINP_M2 DMINP_M DMINP_M2
DMINUS_3_M DMINUS_M2 DMINUS_M DMINUS_2_M2 DMINUSP_3_M DMINUSP_M2
DMINUSP_M DMINUSP_2_M2 DMULTI_3_M DMULTI_M2 DMULTIP_3_M DMULTIP_M2
DPLUS_3_M DPLUS_M2 DPLUS_M DPLUS_2_M2 DPLUSP_3_M DPLUSP_M2
DPLUSP_M DPLUSP_2_M2 DROL DROL_M2 DROL_M DROL_M2
DROR DROR_M2 DROR_M DROR_M2 DSCL DSCL_M2
DSCL2 DSCL2_M2 DSCL2P DSCL2P_M2 DSCLP DSCLP_M2
DSORT DSORT_M2 DSORT_M DSORT_M2 DSTR DSTR_M2
DSTR_K_MD DSTR_M2 DSTR_K_P_MD DSTRP_M2 DSTR_MD DSTR_M2
DSTR_P_MD DSTRP_M2 DSTR_P_S_MD DSTRP_M2 DSTR_S_MD DSTR_M2
DSTRP DSTRP_M2 DTO DTO_M2 DTO_M DTO_M2
DTOP DTOP_M2 DTOP_M DTOP_M2 DVAL DVAL_M2
DVAL_MD DVAL_M2 DVAL_P_MD DVALP_M2 DVAL_P_S_MD DVALP_M2
DVAL_S_MD DVAL_M2 DVALP DVALP_M2 DWORD_TO_BOOL_E
DWORD_TO_BOOL_E_M2
DWORD_TO_DINT_E DWORD_TO_INT_E DWORD_TO_INT_E_M2 DWORD_TO_STR_E
DWORD_TO_DINT_E_M2 DWORD_TO_STR_E_M2
DWORD_TO_TIME_E DWORD_TO_WORD_E DWSUM DWSUM_M2
DWORD_TO_TIME_E_M2 DWORD_TO_WORD_E_M2
DWSUM_M DWSUM_M2 DWSUMP DWSUMP_M2 DWSUMP_M DWSUMP_M2
DZONE DZONE_M2 DZONE_MD DZONE_M2 DZONE_P_MD DZONEP_M2
DZONEP DZONEP_M2 EQ_E EQ_E_M2 EREXP EREXP_M2
EREXP_M EREXP_M2 EREXPP EREXPP_M2 EREXPP_M EREXPP_M2
ERRCLR_M ZP_ERRCLR_M2 ERRRD_M ZP_ERRRD_M2 EXP EXP_M2
EXP_E EXP_E_M2 EXP_E_MD EXP_M2 EXP_MD EXP_M2 A
EXPD EXPD_M2 EXPD_E_MD EXPD_M2 EXPD_MD EXPD_M2
EXPT_E EXPT_E_M2 F_TRIG F_TRIG_M2*1 F_TRIG_E F_TRIG_E_M2*1
FIND_E FIND_E_M2 G_BIDIN G_BIDIN_M2 G_BIDOUT G_BIDOUT_M2
G_CCPASET G_CCPASET_M2 G_CPRTCL G_CPRTCL_M2 G_GETE G_GETE_M2
G_INPUT G_INPUT_M2 G_OGLOAD G_OGLOAD_M2 G_OGSTOR G_OGSTOR_M2
G_ONDEMAND G_ONDEMAND_M2 G_OUTPUT G_OUTPUT_M2 G_PRR G_PRR_M2
G_PUTE G_PUTE_M2 G_RDMSG G_RDMSG_M2 G_REQ G_REQ_M2
G_RIRCV G_RIRCV_M2 G_RIRD G_RIRD_M2 G_RISEND G_RISEND_M2
G_RITO G_RITO_M2 G_RIWT G_RIWT_M2 G_RLPASET G_RLPASET_M2
G_SPBUSY G_SPBUSY_M2 GBIN GBIN_M2 GBIN_M GBIN_M2
GBINP GBINP_M2 GBINP_M GBINP_M2 GE_E GE_E_M2
GET_BIT_OF_INT_E GET_BIT_OF_INT_E_M2 GETE_M G_GETE_M2 GETEP_M GP_GETE_M2
GP_BIDIN GP_BIDIN_M2 GP_BIDOUT GP_BIDOUT_M2 GP_CCPASET GP_CCPASET_M2
GP_CPRTCL GP_CPRTCL_M2 GP_ECPRTCL GP_ECPRTCL_M2 GP_GETE GP_GETE_M2
GP_OGLOAD GP_OGLOAD_M2 GP_OGSTOR GP_OGSTOR_M2 GP_ONDEMAND GP_ONDEMAND_M2
GP_OUTPUT GP_OUTPUT_M2 GP_PRR GP_PRR_M2 GP_PUTE GP_PUTE_M2
GP_RDMSG GP_RDMSG_M2 GP_RECV GP_RECV_M2 GP_REQ GP_REQ_M2
GP_RIRCV GP_RIRCV_M2 GP_RIRD GP_RIRD_M2 GP_RISEND GP_RISEND_M2
GP_RITO GP_RITO_M2 GP_RIWT GP_RIWT_M2 GP_RLPASET GP_RLPASET_M2
GP_SEND GP_SEND_M2 GP_SPBUSY GP_SPBUSY_M2 GRY GRY_M2
GRY_M GRY_M2 GRYP GRYP_M2 GRYP_M GRYP_M2
GT_E GT_E_M2 INC INC_M2 INC_M INC_M2
INCP INCP_M2 INCP_M INCP_M2 INPUT_M G_INPUT_M2
INSERT_E INSERT_E_M2 INT_TO_BCD_E INT_TO_BCD_E_M2 INT_TO_BITARR_E INT_TO_BITARR_E_M2
INT_TO_BOOL_E INT_TO_BOOL_E_M2 INT_TO_DINT_E INT_TO_DINT_E_M2 INT_TO_DWORD_E INT_TO_DWORD_E_M2
INT_TO_LREAL_E INT_TO_LREAL_E_M2 INT_TO_REAL_E INT_TO_REAL_E_M2 INT_TO_STR_E INT_TO_STR_E_M2
APPX
Appendix 7 Replacement of Another Format Project 903
Name before replacement Name after replacement
INT_TO_TIME_E INT_TO_TIME_E_M2 INT_TO_WORD_E INT_TO_WORD_E_M2 LD_EQ_M LD_EQ_M2
LD_GE_M LD_GE_M2 LD_GT_M LD_GT_M2 LD_LE_M LD_LE_M2
LD_LT_M LD_LT_M2 LD_NE_M LD_NE_M2 LD< LD_LT_M2
LD<= LD_LE_M2 LD<> LD_NE_M2 LD= LD_EQ_M2
LD> LD_GT_M2 LD>= LD_GE_M2 LDD_EQ_M LDD_EQ_M2
LDD_GE_M LDD_GE_M2 LDD_GT_M LDD_GT_M2 LDD_LE_M LDD_LE_M2
LDD_LT_M LDD_LT_M2 LDD_NE_M LDD_NE_M2 LDD< LDD_LT_M2
LDD<= LDD_LE_M2 LDD<> LDD_NE_M2 LDD= LDD_EQ_M2
LDD> LDD_GT_M2 LDD>= LDD_GE_M2 LE_E LE_E_M2
LEFT LEFT_M2 LEFT_E LEFT_E_M2 LEFT_M LEFT_M2
LEN LEN_M2 LEN_E LEN_E_M2 LEN_MD LEN_M2
LEN_S LEN_M2 LEN_S_MD LEN_M2 LIMIT LIMIT_M2
LIMIT_MD LIMIT_M2 LIMIT_E LIMITATION_E_M2 LIMIT_P_MD LIMITP_M2
LIMITATION_E LIMITATION_E_M2 LIMITP LIMITP_M2 LN_E LN_E_M2
LOG LOG_M2 LOG_E LOG_E_M2 LOG_E_MD LOG_M2
LOG_MD LOG_M2 LOGD LOGD_M2 LOGD_E_MD LOGD_M2
LOGD_MD LOGD_M2 LREAL_TO_DINT_E LREAL_TO_DINT_E_M2 LREAL_TO_INT_E LREAL_TO_INT_E_M2
LREAL_TO_REAL_E LREAL_TO_REAL_E_M2 LT_E LT_E_M2 MAX_E MAXIMUM_E_M2
MAX_M MAX_M2 M_REAL_TO_REAL_E MAX MAX_M2
M_REAL_TO_REAL_E_M2
MAXP_M MAXP_M2 MAXIMUM_E MAXIMUM_E_M2 MAXP MAXP_M2
MEANP MEANP_M2 MEAN MEAN_M2 MEAN_M MEAN_M2
MIN MIN_M2 MEANP_M MEANP_M2 MID_E MID_E_M2
MINP MINP_M2 MIN_M MIN_M2 MINIMUM_E MINIMUM_E_M2
MINUS_M MINUS_2_M2 MINP_M MINP_M2 MINUS_3_M MINUS_M2
MOD_E MOD_E_M2 MINUSP_3_M MINUSP_M2 MINUSP_M MINUSP_2_M2
MUL_TIME_E MUL_TIME_E_M2 MOVE_E MOVE_E_M2 MUL_E MUL_E_M2
MUX_E MUX_E_M2 MULTI_3_M MULTI_M2 MULTIP_3_M MULTIP_M2
OGLOAD_U_M G_OGLOAD_M2 NE_E NE_E_M2 NOT_E NOT_E_M2
OGSTOR_UP_M GP_OGSTOR_M2 OGLOAD_UP_M GP_OGLOAD_M2 OGSTOR_U_M G_OGSTOR_M2
OPEN_M ZP_OPEN_M2 ONDEMAND_M G_ONDEMAND_M2 ONDEMANDP_M GP_ONDEMAND_M2
OR_E OR_E_M2 OR_EQ_M OR_EQ_M2 OR_GE_M OR_GE_M2
OR_GT_M OR_GT_M2 OR_LE_M OR_LE_M2 OR_LT_M OR_LT_M2
OR_NE_M OR_NE_M2 OR< OR_LT_M2 OR<> OR_NE_M2
OR<= OR_LE_M2 OR= OR_EQ_M2 OR> OR_GT_M2
OR>= OR_GE_M2 ORD_EQ_M ORD_EQ_M2 ORD_GE_M ORD_GE_M2
ORD_GT_M ORD_GT_M2 ORD_GE ORD_GE_M2 ORD_LE_M ORD_LE_M2
ORD_LT_M ORD_LT_M2 ORD_NE_M ORD_NE_M2 ORD< ORD_LT_M2
ORD<= ORD_LE_M2 ORD<> ORD_NE_M2 ORD= ORD_EQ_M2
ORD> ORD_GT_M2 ORD>= ORD_GE_M2 OUTPUT_M G_OUTPUT_M2
OUTPUTP_M GP_OUTPUT_M2 PFWRT_P_M ZP_PFWRT_M2 PINIT_M ZP_PINIT_M2
PINIT_P_M ZP_PINIT_M2 PLUS_3_M PLUS_M2 PLUS_M PLUS_2_M2
PLUSP_3_M PLUSP_M2 PLUSP_M PLUSP_2_M2 PRR_M G_PRR_M2
PRRP_M GP_PRR_M2 PSTRT1_P_M ZP_PSTRT1_M2 PSTRT2_P_M ZP_PSTRT2_M2
PSTRT3_P_M ZP_PSTRT3_M2 PSTRT4_P_M ZP_PSTRT4_M2 PUTE_M G_PUTE_M2
PUTEP_M GP_PUTE_M2 R_TRIG R_TRIG_M2*1 R_TRIG_E R_TRIG_E_M2*1
RDMSG_MD G_RDMSG_M2 RDMSG_P_MD GP_RDMSG_M2 REAL_TO_DINT_E REAL_TO_DINT_E_M2
REAL_TO_INT_E REAL_TO_INT_E_M2 REAL_TO_LREAL_E REAL_TO_LREAL_E_M2 REAL_TO_M_REAL_E
REAL_TO_M_REAL_E_M2
REAL_TO_STR_E REAL_TO_STR_E_M2 RECV_UP_M GP_RECV_M2 RECVP_M GP_RECV_M2
RECVS_U_M Z_RECVS_M2 REMTO_P_MD ZP_REMTO_M2 REPLACE_E REPLACE_E_M2
REQ_M G_REQ_M2 REQ_U_M G_REQ_M2 REQ_UP_M GP_REQ_M2
REQP_M GP_REQ_M2 RIGHT RIGHT_M2 RIGHT_E RIGHT_E_M2
APPX
904 Appendix 7 Replacement of Another Format Project
Name before replacement Name after replacement
RIGHT_M RIGHT_M2 RIRCV_MD G_RIRCV_M2 RIRCV_P_MD GP_RIRCV_M2
RIRD_MD G_RIRD_M2 RIRD_P_MD GP_RIRD_M2 RISEND_MD G_RISEND_M2
RISEND_P_MD GP_RISEND_M2 RITO_MD G_RITO_M2 RITO_P_MD GP_RITO_M2
RIWT_MD G_RIWT_M2 RIWT_P_MD GP_RIWT_M2 RLPASET_MD G_RLPASET_M2
RLPASET_P_MD GP_RLPASET_M2 ROL ROL_M2 ROL_E ROL_E_M2
ROL_M ROL_M2 ROR ROR_M2 ROR_E ROR_E_M2
ROR_M ROR_M2 RS RS_M2*1 RS_E RS_E_M2*1
SCL SCL_M2 SCL2 SCL2_M2 SCL2P SCL2P_M2
SCLP SCLP_M2 SEL_E SEL_E_M2 SEND_4_P_M GP_SEND_M2
SEND_UP_M GP_SEND_M2 SET_BIT_OF_INT_E SET_BIT_OF_INT_E_M2 SHL_E SHL_E_M2
SHR_E SHR_E_M2 SIN SIN_M2 SIN_E SIN_E_M2
SIN_E_MD SIN_M2 SIN_MD SIN_M2 SIND SIND_M2
SIND_E_MD SIND_M2 SIND_MD SIND_M2 SORT SORT_M2
SORT_M SORT_M2 SPBUSY_MD G_SPBUSY_M2 SPBUSY_P_MD GP_SPBUSY_M2
SQRT_E SQRT_E_M2 SR SR_M2*1 SR_E SR_E_M2*1
STR STR_M2 STR_K_MD STR_M2 STR_K_P_MD STRP_M2
STR_MD STR_M2 STR_P_MD STRP_M2 STR_P_S_MD STRP_M2
STR_S_MD STR_M2 STR_TO_BCD_E STR_TO_BCD_E_M2 STR_TO_BOOL_E STR_TO_BOOL_E_M2
STR_TO_DINT_E STR_TO_DINT_E_M2 STR_TO_DWORD_E STR_TO_INT_E STR_TO_INT_E_M2
STR_TO_DWORD_E_M2
STR_TO_REAL_E STR_TO_REAL_E_M2 STR_TO_TIME_E STR_TO_TIME_E_M2 STR_TO_WORD_E STR_TO_WORD_E_M2
STRP STRP_M2 SUB_E SUB_E_M2 SUB_TIME_E SUB_TIME_E_M2
SWAP SWAP_M2 SWAP_MD SWAP_M2 SWAP_P_MD SWAPP_M2
SWAPP SWAPP_M2 TAN TAN_M2 TAN_E TAN_E_M2
TAN_E_MD TAN_M2 TAN_MD TAN_M2 TAND TAND_M2
TAND_E_MD TAND_M2 TAND_MD TAND_M2 TEACH1_P_M ZP_TEACH1_M2
TEACH2_P_M ZP_TEACH2_M2 TEACH3_P_M ZP_TEACH3_M2 TEACH4_P_M ZP_TEACH4_M2
TIME_TO_BOOL_E TIME_TO_BOOL_E_M2 TIME_TO_DINT_E TIME_TO_DINT_E_M2 TIME_TO_DWORD_E
A
TIME_TO_DWORD_E_M2
TIME_TO_INT_E TIME_TO_INT_E_M2 TIME_TO_STR_E TIME_TO_STR_E_M2 TIME_TO_WORD_E TIME_TO_WORD_E_M2
TO TO_M2 TO_M TO_M2 TOF_HIGH TOF_HIGH_M2*1
TOF_HIGH_E TOF_HIGH_E_M2*1 TON_HIGH TON_HIGH_M2*1 TON_HIGH_E TON_HIGH_E_M2*1
TOP TOP_M2 TOP_M TOP_M2 TP_HIGH TP_HIGH_M2*1
TP_HIGH_E TP_HIGH_E_M2 *1 UINI_M ZP_UINI_M2 UINI_U_M Z_UINI_M2
UINI_UP_M ZP_UINI_M2 VAL VAL_M2 VAL_MD VAL_M2
VAL_P_MD VALP_M2 VAL_P_S_MD VALP_M2 VAL_S_MD VAL_M2
VALP VALP_M2 WORD_TO_BOOL_E WORD_TO_DINT_E WORD_TO_DINT_E_M2
WORD_TO_BOOL_E_M2
WORD_TO_DWORD_E WORD_TO_INT_E WORD_TO_INT_E_M2 WORD_TO_STR_E WORD_TO_STR_E_M2
WORD_TO_DWORD_E_M2
WORD_TO_TIME_E WORD_TO_TIME_E_M2 WSUM WSUM_M2 WSUM_M WSUM_M2
WSUMP WSUMP_M2 WSUMP_M WSUMP_M2 XOR_E XOR_E_M2
Z_ABRST1 Z_ABRST1_M2 Z_ABRST2 Z_ABRST2_M2 Z_ABRST3 Z_ABRST3_M2
Z_ABRST4 Z_ABRST4_M2 Z_RECVS Z_RECVS_M2 Z_UINI Z_UINI_M2
ZONE ZONE_M2 ZONE_MD ZONE_M2 ZONE_P_MD ZONEP_M2
ZONEP ZONEP_M2 ZP_BUFRCV ZP_BUFRCV_M2 ZP_BUFSND ZP_BUFSND_M2
ZP_CLOSE ZP_CLOSE_M2 ZP_CSET ZP_CSET_M2 ZP_ERRCLR ZP_ERRCLR_M2
ZP_ERRRD ZP_ERRRD_M2 ZP_OPEN ZP_OPEN_M2 ZP_PFWRT ZP_PFWRT_M2
ZP_PINIT ZP_PINIT_M2 ZP_PSTRT1 ZP_PSTRT1_M2 ZP_PSTRT2 ZP_PSTRT2_M2
ZP_PSTRT3 ZP_PSTRT3_M2 ZP_PSTRT4 ZP_PSTRT4_M2 ZP_REMTO ZP_REMTO_M2
ZP_TEACH1 ZP_TEACH1_M2 ZP_TEACH2 ZP_TEACH2_M2 ZP_TEACH3 ZP_TEACH3_M2
ZP_TEACH4 ZP_TEACH4_M2 ZP_UINI ZP_UINI_M2
*1 Automatically replaced only when opening a GX Works2 format project in GX Works3 Version 1.055H or later.
APPX
Appendix 7 Replacement of Another Format Project 905
Elements that are not supported by MELSEC iQ-R series or MELSEC iQ-L series modules
If an instruction which is not supported by MELSEC iQ-R series or MELSEC iQ-L series modules is included in a program of a
GX Works2 format project, the instruction will be replaced with one using SM4095/SD4095.
In addition, functions and function blocks that are unavailable in an ST program and an FBD/LD program of GX Works3 will be
replaced with undefined ones.
Correct the program in GX Works3 by changing these elements to ones which are supported by these modules and have the
equivalent functions. (MELSEC iQ-R series only)
MELSEC iQ-R Programming Manual (CPU Module Instructions, Standard Functions/Function Blocks)
APPX
906 Appendix 7 Replacement of Another Format Project
Correcting element names and arguments (GX Works3 Version 1.046Y or earlier)
For some elements (instructions, functions, and function blocks), the data type of arguments differs between a GX Works2
format project and a GX Works3 format project.
If these elements are used in a GX Works2 format project, a conversion error may occur in GX Works3 Version 1.046Y or
earlier. In that case, replace their element names and arguments.
When opening a GX Works2 format project in GX Works3 Version 1.047Z or later, the replacements shown in this section is
not required.
For details, refer to the following:
Page 901 Automatic replacement of elements (GX Works3 Version 1.047Z or later)
In addition, instructions which are not supported by MELSEC iQ-R series or MELSEC iQ-L series modules cannot be replaced
with ones available in GX Works3. Refer to the following and correct the instructions.
Page 906 Elements that are not supported by MELSEC iQ-R series or MELSEC iQ-L series modules
The following table, that indicates the replacement method, is not applied to a ladder program.
APPX
Appendix 7 Replacement of Another Format Project 907
Standard functions/function blocks of which names and arguments need to be replaced
Names that need to be replaced names after replacement
BCD_TO_STR BCD_TO_STRING BCD_TO_STR_E BCD_TO_STRING_E*1 BOOL_TO_STR BOOL_TO_STRING
BOOL_TO_STR_E BOOL_TO_STRING_E*1 DINT_TO_STR DINT_TO_STRING DINT_TO_STR_E DINT_TO_STRING_E*1
DWORD_TO_STR DWORD_TO_STRING DWORD_TO_STR_E INT_TO_STR INT_TO_STRING
DWORD_TO_STRING_E*1
INT_TO_STR_E INT_TO_STRING_E*1 LIMITATION LIMIT LIMITATION_E LIMIT_E*3
*2
MAXIMUM MAX MAXIMUM_E MAX_E MINIMUM MIN
MINIMUM_E MIN_E*2 REAL_TO_STR REAL_TO_STRING REAL_TO_STR_E REAL_TO_STRING_E*1
*1
STR_TO_BCD STRING_TO_BCD STR_TO_BCD_E STRING_TO_BCD_E STR_TO_BOOL STRING_TO_BOOL
STR_TO_BOOL_E STRING_TO_BOOL_E*1 STR_TO_DINT STRING_TO_DINT STR_TO_DINT_E STRING_TO_DINT_E*1
STR_TO_DWORD STRING_TO_DWORD STR_TO_DWORD_E STR_TO_INT STRING_TO_INT
STRING_TO_DWORD_E*1
STR_TO_INT_E STRING_TO_INT_E*1 STR_TO_REAL STRING_TO_REAL STR_TO_REAL_E STRING_TO_REAL_E*1
STR_TO_TIME STRING_TO_TIME STR_TO_TIME_E STRING_TO_TIME_E*1 STR_TO_WORD STRING_TO_WORD
STR_TO_WORD_E STRING_TO_WORD_E*1 TIME_TO_STR TIME_TO_STRING TIME_TO_STR_E TIME_TO_STRING_E*1
WORD_TO_STR WORD_TO_STRING WORD_TO_STR_E WORD_TO_STRING_E*1 -
APPX
908 Appendix 7 Replacement of Another Format Project
Names that need to be replaced names after replacement
CHGT_D_M D_CHGT*3 CHGT_DP_M DP_CHGT*3 CJ_M CJ*6
CMP_M CMP*9 CMPP_M CMPP*9 COSD_E_MD COSD
*1
COSD_MD COSD DATEMINUS_M DATEMINUS DATEMINUS_S_M S_DATEMINUS
DATEMINUS_SP_M SP_DATEMINUS DATEMINUSP_M DATEMINUSP DATEPLUS_M DATEPLUS
DATEPLUS_S_M S_DATEPLUS DATEPLUS_SP_M SP_DATEPLUS DATEPLUSP_M DATEPLUSP
DBKCMP_EQ_M DBKCMP_EQ*11 DBKCMP_EQP_M DBKCMP_EQP*11 DBKCMP_GE_M DBKCMP_GE*11
DBKCMP_GEP_M DBKCMP_GEP*11 DBKCMP_GT_M DBKCMP_GT*11 DBKCMP_GTP_M DBKCMP_GTP*11
DBKCMP_LE_M DBKCMP_LE*11 DBKCMP_LEP_M DBKCMP_LEP*11 DBKCMP_LT_M DBKCMP_LT*11
*11 *11
DBKCMP_LTP_M DBKCMP_LTP DBKCMP_NE_M DBKCMP_NE DBKCMP_NEP_M DBKCMP_NEP*11
DBKMINUS_M DBKMINUS*12 DBKMINUSP_M DBKMINUSP*12 DBKPLUS_M DBKPLUS*12
*12
DBKPLUSP_M DBKPLUSP DBMINUS_3_M DBMINUS DBMINUSP_3_M DBMINUSP
DBPLUS_3_M DBPLUS DBPLUSP_3_M DBPLUSP DCMP_M DCMP*11
DCMPP_M DCMPP*11 DDIVID_3_M DDIVISION DDIVIDP_3_M DDIVISIONP
DIV_MD EDIVISION*5 DIV_P_MD EDIVISIONP*5 DIVID_3_M DIVISION
DIVIDP_3_M DIVISIONP DLIMIT_MD DLIMIT DMAX_M DMAX*10
DMIN_M DMIN*10 DMINUS_3_M DMINUS DMINUSP_3_M DMINUSP
DMULTI_3_M DMULTI DMULTIP_3_M DMULTIP DPLUS_3_M DPLUS
DPLUSP_3_M DPLUSP DROL_2_M DROL DROL_M DROL
DROR_2_M DROR DROR_M DROR DZCP_M DZCP*13
*13
DZCPP_M DZCPP EDDIV_M EDDIVISION EDDIVP_M EDDIVISIONP
EDIV_M EDIVISION EDIVP_M EDIVISIONP EDMINUS_3_M EDMINUS_3
EDMINUSP_3_M EDMINUSP_3 EDPLUS_3_M EDPLUS_3 EDPLUSP_3_M EDPLUSP_3
EMINUS_3_M EMINUS_3 EMINUSP_3_M EMINUSP_3 EPLUS_3_M EPLUS_3
EPLUSP_3_M EPLUSP_3 EXPD_MD EXPD*1 IRET_M IRET
JMP_M JMP*6 LD_DT_EQ_M LDDT_EQ*7 LD_DT_GE_M LDDT_GE*7
LD_DT_GT_M LDDT_GT*7 LD_DT_LE_M LDDT_LE*7 LD_DT_LT_M LDDT_LT*7
LD_DT_NE_M LDDT_NE*7
LD_EDGT_M LDED_GT
LD_EDEQ_M LDED_EQ
LD_EDLE_M LDED_LE
LD_EDGE_M LDED_GE
LD_EDLT_M LDED_LT
A
LD_EDNE_M LDED_NE LD_EEQ_M LDE_EQ LD_EGE_M LDE_GE
LD_EGT_M LDE_GT LD_ELE_M LDE_LE LD_ELT_M LDE_LT
LD_ENE_M LDE_NE LD_EQ_M LD_EQ LD_GE_M LD_GE
LD_GT_M LD_GT LD_LE_M LD_LE LD_LT_M LD_LT
LD_NE_M LD_NE LD_STRING_EQ_M LDSTRING_EQ LD_STRING_GE_M LDSTRING_GE
LD_STRING_GT_M LDSTRING_GT LD_STRING_LE_M LDSTRING_LE LD_STRING_LT_M LDSTRING_LT
LD_STRING_NE_M LDSTRING_NE LD_TM_EQ_M LDTM_EQ*8 LD_TM_GE_M LDTM_GE*8
*8 *8
LD_TM_LE_M LDTM_GT LD_TM_LE_M LDTM_LE LD_TM_LT_M LDTM_LT*8
LD_TM_NE_M LDTM_NE*8 LDD_EQ_M LDD_EQ LDD_GE_M LDD_GE
LDD_GT_M LDD_GT LDD_LE_M LDD_LE LDD_LT_M LDD_LT
LDD_NE_M LDD_NE LOGD_MD LOGD*1 MINUS_3_M MINUS
MINUSP_3_M MINUSP MULTI_3_M MULTI MULTIP_3_M MULTIP
NEXT_M NEXT OR_DT_EQ_M ORDT_EQ*7 OR_DT_GE_M ORDT_GE*7
OR_DT_GT_M ORDT_GT*7 OR_DT_LE_M ORDT_LE*7 OR_DT_LT_M ORDT_LT*7
*7
OR_DT_NE_M ORDT_NE OR_EDEQ_M ORED_EQ OR_EDGE_M ORED_GE
OR_EDGT_M ORED_GT OR_EDLE_M ORED_LE OR_EDLT_M ORED_LT
OR_EDNE_M ORED_NE OR_EEQ_M ORE_EQ OR_EGE_M ORE_GE
OR_EGT_M ORE_GT OR_ELE_M ORE_LE OR_ELT_M ORE_LT
OR_ENE_M ORE_NE OR_EQ_M OR_EQ OR_GE_M OR_GE
OR_GT_M OR_GT OR_LE_M OR_LE OR_LT_M OR_LT
OR_NE_M OR_NE OR_STRING_EQ_M ORSTRING_EQ OR_STRING_GE_M ORSTRING_GE
OR_STRING_GT_M ORSTRING_GT OR_STRING_LE_M ORSTRING_LE OR_STRING_LT_M ORSTRING_LT
OR_STRING_NE_M ORSTRING_NE OR_TM_EQ_M ORTM_EQ*8 OR_TM_GE_M ORTM_GE*8
OR_TM_GT_M ORTM_GT*8 OR_TM_LE_M ORTM_LE*8 OR_TM_LT_M ORTM_LT*8
OR_TM_NE_M ORTM_NE*8 ORD_EQ_M ORD_EQ ORD_GE_M ORD_GE
APPX
Appendix 7 Replacement of Another Format Project 909
Names that need to be replaced names after replacement
ORD_GT_M ORD_GT ORD_LE_M ORD_LE ORD_LT_M ORD_LT
ORD_NE_M ORD_NE PLUS_3_M PLUS PLUSP_3_M PLUSP
SCJ_M SCJ*6 SIND_E_MD SIND SIND_MD SIND*1
SMOV_M SMOV*4 SMOV_MD MOV SMOV_P_MD MOVP
SMOV_P_S_MD STRINGMOVP SMOV_S_MD STRINGMOV STRING_MOV_M STRINGMOV
STRING_MOVP_M STRINGMOVP STRING_PLUS_3_M STRINGPLUS STRING_PLUSP_3_M STRINGPLUSP
TAND_E_MD TAND TAND_MD TAND*1 ZCP_M ZCP*2
ZCPP_M ZCPP*2 - -
APPX
910 Appendix 7 Replacement of Another Format Project
Standard functions of which arguments need to be replaced
Name
ABS_E*1 ACOS*3 ACOS_E*1 ADD_E*2 ADD_TIME_E*2 AND_E*2
ASIN*3 ASIN_E*1 ATAN*3 ATAN_E*1 BCD_TO_DINT_E*1 BCD_TO_INT_E*1
BITARR_TO_DINT_E*2 BITARR_TO_INT_E*1 BOOL_TO_DINT_E*1 BOOL_TO_DWORD_E BOOL_TO_INT_E*1 BOOL_TO_TIME_E*1
*1
*2
Example: M0 := ABS_E( SM400, l_num_in, l_num_d ); l_num_d := ABS_E( SM400, M0, l_num_in );
The following replacement is required.
A
The second argument the third argument, the third argument the fourth argument, the fourth argument the left side of the
assignment statement, the left side of the assignment statement the second argument
Example: M0 := ADD_E( SM400, l_num1, l_num2, l_num_d ); l_num_d := ADD_E( SM400, M0, l_num1, l_num2 );
*3 The following replacement is required.
The third argument the left side of the assignment statement. Delete the first argument.
Example: ACOS( SM400, l_real_s, l_real_d ); l_real_d := ACOS( l_real_s );
*4 The following replacement is required.
The second argument the third argument, the third argument the fourth argument, the fourth argument the fifth argument, the
fifth argument the left side of the assignment statement, the left side of the assignment statement the second argument
Example: M0 := INSERT_E( SM400, l_string1, l_string2, l_num_in, l_string_d ); l_string_d := INSERT_E( SM400, M0, l_string1,
l_string2, l_num_in );
*5 The following replacement is required.
Delete the first argument. The third argument the left side of the assignment statement. Add the input value (WORD type) to the
second argument.
Example: ROL( SM400, l_any16_in, l_any16_d ); l_any16_d := ROL( l_any16_in, l_any16_n );
*6 The following replacement is required.
The fourth argument the left side of the assignment statement. Delete the first argument.
Example: LEFT( SM400, l_string1, l_num_in, l_string_d ); l_string_d := LEFT( l_string1, l_num_in );
*7 The following replacement is required.
The second argument the third argument, the third argument the fourth argument, the fourth argument the fifth argument, the
fifth argument the sixth argument, the sixth argument the left side of the assignment statement, the left side of the assignment
statement the second argument
Example: M0 := REPLACE_E( SM400, l_string1, l_string2, l_num1, l_num2, l_string_d ); l_string_d := REPLACE_E( SM400, M0,
l_string1, l_string2, l_num1, l_num2 );
APPX
Appendix 7 Replacement of Another Format Project 911
Standard function blocks of which arguments need to be replaced
Name
CTD*1 CTD_E*1 CTU*2 CTU_E*2 CTUD*1,*2 CTUD_E*1,*2
F_TRIG*3 F_TRIG_E*3,*4 R_TRIG*3 R_TRIG_E*3,*4 RS*7 RS_E*7,*4
SR*2 SR_E*7,*5 TOF_E*5 TON_E*6 TP_E*6 -
LIMIT instruction
Names that need to be replaced names after replacement
LIMIT*1 DLIMIT LIMIT*2
APPX
912 Appendix 7 Replacement of Another Format Project
Replacement of instructions (GX Works3 Version 1.040S or later)
The following table shows the instructions in which the data types of arguments differ between a GX Works2 format project
and a GX Works3 format project.
When a label is specified to an argument, it can be used in GX Works3 without replacing its data type by selecting "No" or "Do
Not Check Only BMOV(P)/FMOV(P)" in the following option.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Check the data type of instruction argument"
Name
BDSQR BDSQRP BMOV BMOVP BMOV_E BSQR
BSQRP D_DDRD DP_DDRD D_DDWR DP_DDWR DB*
DB*P DHOURM DSORT DVAL DVALP DWSUM
DWSUMP FMOV FMOVP G_BIDIN GP_BIDIN G_BIDOUT
GP_BIDOUT G_CCPASET GP_CCPASET G_CCREQ GP_CCREQ G_CPRTCL
GP_CPRTCL G_GETE GP_GETE G_INPUT G_OGLOAD GP_OGLOAD
G_OGSTOR GP_OGSTOR G_ONDEMAND GP_ONDEMAND G_OUTPUT GP_OUTPUT
G_PRR GP_PRR G_PUTE GP_PUTE G_RDMSG GP_RDMSG
G_READ GP_READ G_REQ GP_REQ G_RIRCV GP_RIRCV
G_RIRD GP_RIRD G_RISEND GP_RISEND G_RIWT GP_RIWT
G_RLPASET GP_RLPASET G_SPBUSY GP_SPBUSY G_WRITE GP_WRITE
GP_ECPRTCL J_CCREQ JP_CCREQ J_REQ JP_REQ J_RIRD
JP_RIRD J_RIWT JP_RIWT J_ZNRD JP_ZNRD J_ZNWR
JP_ZNWR S_2PID S_ABS S_ADD S_AMR S_AT1
S_AVE S_BC S_BPI S_BUMP S_D S_DBND
S_DED S_DIV S_DUTY S_ENG S_EQ S_FG
S_FLT S_GE S_GT S_HS S_I S_IENG
S_IFG S_IN S_IPD S_LE S_LIMT S_LLAG
S_LS S_LT S_MID S_MOUT S_MUL S_ONF2
S_ONF3 S_OUT1 S_OUT2 S_PGS S_PHPL S_PID A
S_PIDP S_PSUM S_R S_SEL S_SPI S_SQR
S_SUB S_SUM S_TPC S_VLMT1 S_VLMT2 SECOND
SECONDP SORT SP_ECPRTCL STR STRP VAL
VALP Z_ABRST1 Z_ABRST2 Z_ABRST3 Z_ABRST4 Z_MBREQ
ZP_MBREQ Z_MBRW ZP_MBRW Z_RECVS Z_UINI ZP_UINI
ZP_BUFRCV ZP_BUFSND ZP_CLOSE ZP_CSET ZP_ERRRD ZP_OPEN
ZP_PFWRT ZP_PINIT ZP_PSTRT1 ZP_PSTRT2 ZP_PSTRT3 ZP_PSTRT4
ZP_TEACH1 ZP_TEACH2 ZP_TEACH3 ZP_TEACH4 - -
Precautions
If "No" or "Do Not Check Only BMOV(P)/FMOV(P)" is selected for the following option when the data type of an argument of
an instruction is changed, it is not checked whether the data type is appropriate for the instruction.
• [Tool] [Options] "Convert" "Basic Setting" "Operational Setting" "Check the data type of instruction argument"
In this case, the area in the memory which is actually used may not match the one which is used for the label specified as an
argument.
Refer to the following manual and check that the data type of the label is appropriate.
MELSEC iQ-R Programming Manual (CPU Module Instructions, Standard Functions/Function Blocks)
MELSEC iQ-R Programming Manual (Process Control Function Blocks/Instructions)
MELSEC iQ-R Programming Manual (Module Dedicated Instructions)
APPX
Appendix 7 Replacement of Another Format Project 913
Correcting devices
Devices that are not supported by MELSEC iQ-R series or MELSEC iQ-L series modules
• When a device which is not supported by MELSEC iQ-R series or MELSEC iQ-L series modules is included in a program of
a GX Works2 format project, it is replaced with SM4095/SD4095. In addition, if the program is a ladder program, the device
used as an argument of an instruction may be replaced with a character string (SM4095 or SD4095). To search for this
character string, refer to the following:
Page 451 Searching for/Replacing Character Strings
• Step relays (S) and file registers (R) will be deleted when they are set as the device memory data or the initial device value
data in a GX Works2 format project.
Increase in the number of device points due to differences in local device setting units
The number of device points assigned to each local device differs depending on the module series. When the module type is
changed, CPU parameters are automatically modified, which results in increase in the number of device points.
The following table shows the setting units for each series.
Series Setting units
MELSEC-Q Bit device: 1-point units
MELSEC-L Word device: 1-point units
APPX
914 Appendix 7 Replacement of Another Format Project
Correcting programs
Structured Ladder/FBD program
• The execution order is handled differently between Structured Ladder/Function Block Diagram language in GX Works2 and
Function Block Diagram/Ladder Diagram language in GX Works3. Display the execution order and check it.
• A way of counting FBD network blocks differ between a program written in Structured Ladder/Function Block Diagram
language in GX Works2 and a program written in Function Block Diagram/Ladder Diagram language in GX Works3. For a
program written in Structured Ladder/Function Block Diagram language in GX Works2, a single function block is counted as
a single FBD network block. For a program written in Function Block Diagram/Ladder Diagram language in GX Works3, all
connected elements are counted as a single FBD network block. Therefore, a GX Works2 program may exceed the
maximum number of creatable FBD network blocks (4096) when it is opened in GX Works3. In this case, divide the
program and reduce the number of FBD network blocks.
• A performance of an return element differ between a program written in Structured Ladder/Function Block Diagram
language in GX Works2 and a program written in Function Block Diagram/Ladder Diagram language in GX Works3. For
details on return elements in GX Works3, refer to the following:
(Page 323 Common element)
• The number and the order of input/output arguments in some function elements and function block elements differ between
a program written in Structured Ladder/Function Block Diagram language in GX Works2 and a program written in Function
Block Diagram/Ladder Diagram language in GX Works3. Those elements are displayed as undefined FUNs and FBs.
Select [Edit] [Update FB/FUN] to update the definition information, and correct the program.
• When a program in which members of standard FB are referenced is created in Structured Ladder/Function Block Diagram
of GX Works2, a conversion error may occur after opening the program with GX Works3. In this case, check the member
name and class of the standard FB, and correct the program.
• Inverting the contact is available for input/output arguments of function elements/function block elements in Function Block
Diagram/Ladder Diagram language of GX Works3. (Page 326 Switching methods for contacts/instructions)
Connection lines of those elements are deleted when the elements other than above are inverted in a Structured Ladder/
FBD program of GX Works2. Correct the program to provide equivalent operations to the Structured Ladder/FBD program
in GX Works2.
A
• Function Block Diagram/Ladder Diagram language in GX Works3 does not support wired OR of FBD elements. Correct the
program to provide the equivalent operation to the Structured Ladder/FBD program of GX Works2 since a conversion error
is caused.
• When a pointer branch instruction (CJ, SCJ, JMP), a jump, or a subroutine program is used, a conversion error may
occur.*1
• The program layout may be changed due to the differences between a Structured Ladder/FBD editor of GX Works2 and an
FBD/LD editor of GX Works3. In that case, correct the layout properly.
Additionally, the layout can be corrected by the layout correction function. For details on the layout correction function, refer
to the following:
(Page 335 Layout correction)
• Ladder block label used in the Structured Ladder/FBD of GX Works2 is defined as the pointer type in a local label.
*1 For details, refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
APPX
Appendix 7 Replacement of Another Format Project 915
SFC program
• Program restoration information included in an SFC program in GX Works3 is replaced with the source information in GX
Works2. Note the data size of the program because it increases after replacement. The size can be checked in the "Size
(Byte)" column on the [Write] tab on the "Online Data Operation" screen.
• A POU which is not included in the program setting of a structured project in GX Works2 cannot be read. Move the POU to
the program setting before reading.
• When a label name such as "Step0" is included on an SFC diagram in GX Works2, the label name may duplicate with a
step name and a label name in an SFC block after reading the SFC program. Change the step name/label name to avoid
duplication.
• When an SFC program in the MELSAP-L (start condition format) format is read, it is converted into a program equivalent to
one in MELSAP3 format.
• The settings to show an output only and not show a contact in a Zoom, cannot be set in GX Works3. Therefore, 'LD SM400'
is added to a ladder block in which there is no contact when the ladder block is displayed in MELSAP3 format.
• A program is read in the detailed expression when some display formats (MELSAP3 and MELSAP-L) are used to display
an SFC program in GX Works2.
• An SFC program such as shown below cannot be read with version 1.019V or earlier. It is because the connection point is
not connected to the same line on which the starting point is connected on the branch. Adjust the positions for the starting
point and the connection point of the branch so that they are connected to the same line before reading the program.
• An SFC program, such as shown below, cannot be read. It is because the connection point is not connected to the same
line on which the starting point is connected on the branch. Switch the position of the jump or end step, and adjust the
positions for the starting point and the connection point of the branch so that they are connected to the same line before
reading the program.
APPX
916 Appendix 7 Replacement of Another Format Project
• When an independent SFC diagram exists between the SFC diagrams in which multiple initial steps are connected each
other as shown below, the program is read by moving the independent program to the rightmost.
APPX
Appendix 7 Replacement of Another Format Project 917
Replacement of a PX Developer format project
Some units of PX Developer format project data are not supported by GX Works3.
A project needs to be corrected according to a GX Works3 format project after opening it.
Check the contents in this section, then correct a PX Developer project and a GX Works2 project.
For details on the conversion processing for each data, refer to the following:
Page 110 Opening a PX Developer format project
After opening a project, search for a character string in the "Label Name" column (label name used
in a GX Works2 project) of "GXW2LabelAssignment_PX" in a GX Works3 format project. (Page
445 SEARCHING FOR DATA)
After checking that replacement is available, then replace the character string in the "Label Name"
column with a character string (label name used in a PX Developer project) in the "Remark" column*2.
Delete the replaced label setting from "GXW2LabelAssignment_PX."
When same names are shown in the "Label Name" column and the "Remark" column, delete the label
setting from GXW2LabelAssignment_PX." (The procedure and is not required.)
A label name can easily be changed using the 'Automatic synchronization' function. (Page 233
Automatic synchronization)
Select "Yes" in the following option.
• [Tool] [Options] "Other Editor" "Label Editor Common" "Track label name automatically in
program editor"
Convert all the programs. (Page 420 Converting any or all programs)
A conversion error may occur; however, go on to step .
Open the global label "GXW2LabelAssignment_PX" in a label editor.
Copy a cell of the "Remarks" column *2, and paste it to the "Label Name" column.
The label name in the program is replaced.
Check that the label name is replaced, delete the global label "GXW2LabelAssignment_PX."
APPX
918 Appendix 7 Replacement of Another Format Project
Setting item in PX Operation in Correction method
Developer opening
Interrupt pointer execution Changing to "No Set the following for the target program.
Execution Type" Select "CPU Parameter" "Program Setting," then set a program name of a program to execute
the interrupt pointer in the "Program Name" column.
Select "Event" in the "Type" column of "Execution Type."
Click the [...] button in the "Detailed Setting Information" column, and select "Interruption
Occurrence" for "Trigger Type" on the "Event Execution Type Detailed Setting" screen.
Set an interrupt pointer for "Interruption Occurrence."
Execution condition settings Converting as a Create a program to control the execution by combining a contact with jump/return on an FBD/LD
of a program and an FBD comment element editor in GX Works3 according to the execution condition settings of a program and an FBD sheet
sheet which have been set for a PX Developer project.
The following shows the examples of processing to control the execution of a program.
Example 1) Execute a program when 'M0' or 'M1' is true. (It is not executed when 'M0' and 'M1' are
false.)
I/O simulation setting Deleting the data Register the contents of the I/O simulation setting which is set for a PX Developer project to the I/O
system setting of the simulation function in GX Works3.
For details on the I/O system setting, refer to the following:
Page 547 Simulation of External Device Operations
APPX
Appendix 7 Replacement of Another Format Project 919
*1 Converted as a global label "GXW2LabelAssignment_PX" of GX Works3.
Each data is converted as follows: (Page 227 Configuration of a label editor)
Global label of GX Works2: "Label Name" column
Global variable name in PX Developer: "Remark" column
Comment: "Comment" column
*2 The "Remarks" column is displayed by clicking the [Detail Display] button in a label editor.
Program layout
The program layout may be changed due to the differences between an FBD editor of PX Developer and an FBD/LD editor of
GX Works3. In that case, correct the layout properly.
Additionally, the layout can be corrected by the layout correction function. For details on the layout correction function, refer to
the following:
Page 335 Layout correction
Inline ST part
When opening a PX Developer format project created in PX Developer Version 1.55H or later in GX Works3 Version 1.080J or
later, input/output variables of an inline ST part in the PX Developer format project are converted into local labels.
Check if a label name is duplicated or a data type of the PX Developer format project is different from the one before the
project is opened in GX Works3.
In addition, the execution order of the program may be different between before and after opening the PX Developer format
project because the input/output variables are replaced with local labels. Check the execution order.
Ex.
PX Developer
GX Works3
Others
For details on the replacement of other data, refer to the following:
Page 900 Replacement of a GX Works2 format project
APPX
920 Appendix 7 Replacement of Another Format Project
Automatic replacement of instructions
When using GX Works3 and PX Developer with either of the following version combinations, elements used in a PX
Developer format project are automatically replaced with ones available in GX Works3 (for compatibility use).
• GX Works3: Version 1.055H or later, PX Developer: Version 1.52E or later
• GX Works3: Version 1.080J or later, PX Developer: Version 1.55H or later
This section explains the replacement of elements being used in a PX Developer project.
For details on the replacement of elements being used in a GX Works2 format project, refer to the following:
Page 901 Automatic replacement of elements (GX Works3 Version 1.047Z or later)
When using GX Works3 and PX Developer with either of the following version combinations, elements are
replaced with ones that are not supported by that version of GX Works3; therefore, an error occurs when
converting a project.
Upgrade GX Works3 and PX Developer to their latest versions.
• GX Works3: Version 1.054G or earlier, PX Developer: Version 1.52E or later
• GX Works3: Version 1.077F or earlier, PX Developer: Version 1.55H or later
APPX
Appendix 7 Replacement of Another Format Project 921
Considerations
The following shows the considerations when opening a PX Developer format project in GX Works3.
(A) LC001: A reserved word (device) for GX Works3 and number are used
together.
(B) SINGLE: A reserved word (IEC reserved word) for GX Works3 is used. (A)
When opening a project, the status will be changed as follows because tag (B)
names that cannot be used in GX Works3 have been used.
The following two warning messages appear in the "Output" window. (A) LC_001: Add any text between the reserved word (device) for GX Works3
and the number.
(B) SINGLE_01: Add any text to the reserved word (IEC reserved word) for
GX Works3.
• Category: Tag FB Setting When opening a project, the tag FB settings are applied and the initial FB
Content: An unsettable character or an unsupported tag FB by GX Works3 property values are utilized.
has been used in tag name. Please check it through Tag FB Setting.
• Category: FB Property
Content: Default value was set as the initial value for FB property because
Tag FB Setting has not been applied or the setting that does not reflect the
initial value of FB property has been selected.
When [Apply] button is clicked in the tag FB setting editor, an error occurs.
*1 The variable name of a tag FB used in a program can be changed by editing the assignment information on a local variable sheet. For
details, refer to the following:
PX Developer Version 1 Operating Manual (Programming Tool)
APPX
922 Appendix 7 Replacement of Another Format Project
Tag names to which an underscore is added
When opening a PX Developer format project, some tag names which cannot be set in GX Works3 are suffixed with an "_"
(underscore).
To monitor or control data using these changed tag names in PX Developer Monitor Tool, change the settings of the tag
names in PX Developer Monitor Tool.
By selecting "Yes" for the following option in GX Works3 before exporting an assignment information database file, however,
changing the settings of the tag names in PX Developer is not necessary.
• [Tool] [Options] "Convert" "Process Control Extension Setting" "Tag FB" "PX Developer Monitor Tool
Interaction" "Remove Underscore at the End of Tag Name"
This option is automatically set to "Yes" if there is a tag name that is suffixed with an "_" (underscore) when opening a PX
Developer format project.
Ò
Ò Ó When opening the project, both data names and are suffixed with
When opening the project, a invalid character (space) in the data name is "_PX."
changed to an "_". Moreover, both data names and are suffixed with : sheet 01 sheet01_PX
"_PX." : sheet_01 sheet_01_PX
: Sheet 01 Sheet_01_PX The data change continues since the data names and are not
: Sheet_01 Sheet_01_PX duplicated.
Since the data names and are duplicated, the data change is canceled.
APPX
Appendix 7 Replacement of Another Format Project 923
Replacement of a GX Developer format project
The following explains the methods for replacing data to use a GX Developer format project in the GX Works3 format.
Only the projects for QSCPUs can be used in the GX Works3 format.
For details on the conversion processing for each data, refer to the following:
Page 124 Opening a GX Developer format project
For details on a MELSEC iQ-R series safety project, refer to the following:
• Page 30 Safety system
• MELSEC iQ-R Safety Application Guide
Programs
Programs in a GX Developer format project are replaced with standard programs.
The following shows the procedure to correct a standard program to a safety program.
1. Create safety program data in GX Works3. (Page 129 Creating data)
2. Cut a ladder to be used in a safety program and paste it to the safety program according to the execution order.
Example: a ladder including a safety device
3. Change any devices to safety ones which can be edited in a GX Works3 format project. (Page 925 Devices)
4. Change the standard devices/labels used in both standard and safety programs to standard/safety shared labels.
(Page 926 Standard/safety shared labels)
5. Change the labels to be used in a safety program to the safety labels. (Page 927 Safety labels)
6. Redefine the function blocks. (Page 927 Safety FBs, Page 928 User-defined FBs)
Ladders to be used in a safety program can be checked in GX Developer. For details, refer to the following:
GX Developer Version 8 Operating Manual (Safety Programmable Controller)
APPX
924 Appendix 7 Replacement of Another Format Project
Devices
The following devices need to be changed to safety devices which can be edited in a GX Works3 format project. (Page
891 Applicable devices in a safety project (safety devices))
• Safety device used in a GX Developer format project
• Standard device used only in a safety program of a GX Works3 format project
Check the corresponding devices in GX Developer, then change them to safety devices by following the procedure below.
Operating procedure
Prefix the corresponding device names with "SA\." (Page 448 Searching for/Replacing Devices and Labels)
Ex.
M1 is the device used for passing data between a standard program and a safety program. This device needs to be changed
to a standard/safety shared label. (Page 926 Standard/safety shared labels)
APPX
Appendix 7 Replacement of Another Format Project 925
Standard/safety shared labels
If a standard device/label is used to pass data between standard and safety programs, the device/label needs to be changed
to a standard/safety shared label. Correct the standard device/label and the program by following the procedure below.
Operating procedure
Standard devices
1. Create a new standard/safety shared label.*1 (Page 129 Creating data)
2. Register a label in the global editor for standard/safety shared labels. (Page 227 Registering Labels)
3. Change the standard device used in a safety program to the registered label.
4. Add a ladder to pass data between the standard and safety programs in the standard program.
For the method to pass data between standard and safety programs, refer to the following:
MELSEC iQ-R Safety Application Guide
*1 Select "Standard/Safety Shared" for "Category" in the "New Data" screen.
Labels
1. Create a new standard/safety shared label.*1 (Page 129 Creating data)
2. Cut the label in the label editor and paste it to the global label editor for standard/safety shared labels. *2
3. Define the global label that became undefined on the program editor.*3
4. Add a ladder to pass data between the standard and safety programs in the standard program.
For the method to pass data between standard and safety programs, refer to the following:
MELSEC iQ-R Safety Application Guide
*1 Select "Standard/Safety Shared" for "Category" in the "New Data" screen.
*2 To change a local label to a standard/safety shared label, its class needs to be corrected. For details on the classes that can be set for
standard/safety shared labels, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
*3 Labels are automatically defined if the following option is set to "Synchronize":
[Tool] [Options] "Program Editor" "Ladder Editor" "Label Synchronization" "Operational Setting" "Operation on Editing
Label Editor"
Ex.
When changing a standard device (M1) used in a standard program (1) and a safety program (2) to a standard/safety shared
label (_M1)
(1) (1)
(2) (2)
APPX
926 Appendix 7 Replacement of Another Format Project
Safety labels
Labels to be used in a safety program needs to be changed to safety labels.
Change global labels and local labels to safety labels by the following procedure.
Operating procedure
Global labels
1. Create a new safety global label.*1 (Page 129 Creating data)
2. Cut the label in the global label editor and paste it to the label editor for safety global labels. (Page 227 Registering
Labels)
3. Change the device assigned to the label to a safety device.
4. Define the global label that became undefined on the program editor.*2
*1 Select "Safety" for "Category" in the "New Data" screen.
*2 Labels are automatically defined if the following option is set to "Synchronize":
[Tool] [Options] "Program Editor" "Ladder Editor" "Label Synchronization" "Operational Setting" "Operation on Editing
Label Editor"
Local labels
Cut a label in the local label editor of a standard program, and paste it to the local label editor of a safety program.
Safety FBs
Safety FBs are changed to undefined function blocks. In addition, their function block names are changed to function block
names in a safety FB library of the MELSEC iQ-R series.
Redefine undefined function blocks by following the procedure below.
Operating procedure
1. Register a safety FB library for MELSEC iQ-R series in GX Works3. (Page 515 Enhanced Use of Application Library/
MELSOFT Library)
A
2. Drag and drop the registered safety FB library onto "FB/FUN" in the navigation window.
3. Select and right-click the undefined function block in a program editor, and then select [Edit] [Update FB/FUN] from
the shortcut menu.
4. Read the displayed message, and click the [OK] button.
5. Select and right-click its FB instance name. Select [Edit] [Edit FB Instance] from the shortcut menu, then change the
name. (Page 273 Changing an FB instance name)
The function block is defined.
• To obtain the safety FB library, please contact your local Mitsubishi Electric sales office or representative.
APPX
Appendix 7 Replacement of Another Format Project 927
User-defined FBs
To use user-defined FBs that are used in a standard program in a safety program, replace data by following the procedure
below.
Operating procedure
1. Cut a user-defined FB to be used in a safety program, and paste it to the safety program according to the execution
order.
2. Cut the FB instance of the user-defined FB in the local label editor of the standard program, and paste it to the local label
editor of the safety program.
4. Cut the program and all local labels of the user-defined FB and past them to the safety FB respectively.
5. Change the devices used in the program of the user-defined FB to safety devices. (Page 925 Devices)
6. Set the safety FB created in step 3 for the data type of the FB instance label in the local label editor of the safety
program.
*1 Select "Safety" for "Category" in the "New Data" screen.
Precautions
To change a part of a program in a user-defined FB to a safety FB, create a safety FB, then divide the processing to the user-
defined FB (standard FB) and to the safety FB.
APPX
928 Appendix 7 Replacement of Another Format Project
Appendix 8 Considerations for Changing from
FX5CPUs to RCPUs
This section explains the considerations when changing the module type from an FX5CPU to an RCPU.
Checking the representation recognized as an input (X) or output (Y) after changing the
module type.
An element such as 'X08' or 'Y0F,' which is not recognized as a device in an FX5CPU, is not converted when changing the
module type.
These elements are recognized as devices in an RCPU after the change. Correct them before changing the module type.
2. Change the project for an FX5CPU to one used for an RCPU by changing the module type and operation mode.
3. Set the module configuration for the project after changing the module type and operation mode.
A
4. Set the parameter.
5. Correct the program. (Page 931 Correction after changing the module type)
Replace inputs (X), outputs (Y), module specification numbers, and instructions.
Review the program according to the system configuration after changing the module type and operation mode.
6. Check the operation on the programmable controller.
APPX
Appendix 8 Considerations for Changing from FX5CPUs to RCPUs 929
Project data for an FX5CPU Description
CPU Parameter Name Setting Applied.
When it cannot be applied as it is, it will be changed according to the settings
Operation Related Setting
of the new module type.
Interrupt Settings
Service Processing Setting
File Setting
RAS Setting
Program Setting
SFC Setting
Memory/Device Setting When "Use" is set in the following CPU parameter, the number of step relay
(S) points is applied.
If "Not to Use" is set, the number of step relay (S) points will be changed to '0.'
• "To Use or Not to Use SFC"
Module Parameter Ethernet Port Applied.
If a module that cannot be set in a project for an RCPU is specified as a
communication destination, the module type cannot be changed.
For numbers set for "Port No." in "Web Server Settings," the ones which
cannot be set in a project for an RCPU will be returned to the default.
485 Serial Port Deleted.
High Speed I/O
Input Response Time
Analog Input
Analog Output
Expansion Board
Memory Card Parameter Boot Setting Applied.
When it cannot be applied as it is, it will be changed according to the settings
Setting of File/Data Use or Not in
of the new module type.
Memory Card
Module Information Deleted.
Remote Password Returns to the default.
Structured Data Types The definitions of the module labels are deleted.
Label Global Label Inputs (X) and outputs (Y) are converted to hexadecimal from octal.
File registers (R) are replaced with file registers (ZR).
M+Global and all the data in M+Global are deleted.
Local Label Applied.
Device Memory Step relays (S) are deleted.
Device Comment Inputs (X) and outputs (Y) are converted to hexadecimal from octal.
File registers (R) are replaced with file registers (ZR).
Extended file registers (ER) are deleted.
The data of SM4096 or later are deleted.
The data of SD4096 or later are deleted.
Device Initial Value A device which cannot be used for a module after changing the module type is
deleted.
File registers (R) are replaced with file registers (ZR).
The data of SD4096 or later are deleted.
Connection Destination Setting Returns to the default.
Options The setting value for file registers (R) is replaced with that for file registers
(ZR) in [Tool] [Options] "Project" "Device Comment Reference/
Reflection Target."
Print Setting Returns to the default.
Properties for a project If "Compression" is selected for "File Size, " it is changed to "Standard."
*1 An instruction of which the argument specification is different exists in the module types before and after the change. When correcting a
program, note that a device used for such an instruction is not converted at the module type change.
APPX
930 Appendix 8 Considerations for Changing from FX5CPUs to RCPUs
Correction after changing the module type
Replacing devices
Inputs (X) and outputs (Y) are used sequentially from the start in FX5CPUs.
In RCPUs, inputs (X) and outputs (Y) are used in order from the number set to the start XY, and the numbers never duplicate
between inputs (X) and outputs (Y).
Therefore, devices need to be replaced so that the device numbers of inputs (X) and outputs (Y) will not duplicate.
Ex.
When the system configuration before and after changing the module type is the following:
• System configuration for FX5CPUs
Model name Module type Input Output
FX5U-32MR/ES CPU 16 points 16 points
FX5-16EX/ES Input 16 points
FX5-16EYR/ES Output 16 points
FX5-40SSC-S Simple motion
APPX
Appendix 8 Considerations for Changing from FX5CPUs to RCPUs 931
Correct a device number as shown below:
FX5CPU RCPU
X17 XF XF
X20 Converted from Octal to X10 X10
X21 Hexadecimal X11 X11
X22 X12 X12
RX10 RX10
(FX5-16EX/ES) (IO: 0010)
FX5CPU RCPU
Y17 YF Y2F
Y20 Y10 Y30
Converted from Octal to
Y21 Hexadecimal Y11 Y31
Y22 Y12 Y32
RX10 RY10R2
(FX5-16EYR/ES) (IO: 0030)
Replacing instructions
An instruction which cannot be used for RCPUs is replaced with the one that can be used.
An instruction which cannot be used can be checked by an error occurring at conversion.
APPX
932 Appendix 8 Considerations for Changing from FX5CPUs to RCPUs
Appendix 9 Using the Simulation Function
Supported modules
The following shows the modules supported by the simulation function.
APPX
Appendix 9 Using the Simulation Function 933
Series Module type Module name
MELSEC iQ-R Information module C intelligent function module RD55UP06-V
High speed data RD81DC96
communication module
High speed data logger RD81DL96
module
MES interface module RD81MES96, RD81MES96N
OPC UA server module RD81OPC96
Recorder module RD81RC96
Camera recorder module RD81RC96-CA
Serial communication module RJ71C24, RJ71C24-R2, RJ71C24-R4
Ethernet interface module RJ71EN71(CCIEC), RJ71EN71(CCIEF), RJ71EN71(E+E),
RJ71EN71(E+CCIEC), RJ71EN71(E+CCIEF), RJ71EN71(Q)
GP-IB interface module RJ71GB91(M), RJ71GB91(S)
Network module AnyWireASLINK master RJ51AW12AL
module
CC-Link system master/local RJ61BT11
module
BACnet interface module RJ71BAC96
CANopen module RJ71CN91
DeviceNet master/slave RJ71DN91
module
EtherNet/IP module RJ71EIP91
CC-Link IE Field Network RJ71GF11-T2, RJ71GF11-T2(MR), RJ71GF11-T2(SR), RJ71GF11-T2(LR)
module
CC-Link IE TSN module RJ71GN11-T2
CC-Link IE TSN Plus master/ RJ71GN11-EIP(T+E)
local module
CC-Link IE Controller RJ71GP21-SX, RJ71GP21-SX(R), RJ71GP21S-SX, RJ71GP21S-SX(R)
Network module
MELSECNET/H network RJ71LP21-25, RJ71LP21-25(R)
module
PROFIBUS interface module RJ71PB91V(S)
Blank cover module RG60
MELSEC iQ-L PLC PCU L04HCPU, L08HCPU, L16HCPU
CPU extension _IO
APPX
934 Appendix 9 Using the Simulation Function
Series Module type Module name
MELSEC iQ-F PLC CPU FX5U-32MR/DS, FX5U-32MR/ES, FX5U-32MT/DS, FX5U-32MT/DSS,
FX5U-32MT/ES, FX5U-32MT/ESS, FX5U-64MR/DS, FX5U-64MR/ES,
FX5U-64MT/DS, FX5U-64MT/DSS, FX5U-64MT/ES, FX5U-64MT/ESS,
FX5U-80MR/DS, FX5U-80MR/ES, FX5U-80MT/DS, FX5U-80MT/DSS,
FX5U-80MT/ES, FX5U-80MT/ESS, FX5UC-32MR/DS-TS, FX5UC-32MT/
D, FX5UC-32MT/DS-TS, FX5UC-32MT/DSS, FX5UC-32MT/DSS-TS,
FX5UC-64MT/D, FX5UC-64MT/DSS, FX5UC-96MT/D, FX5UC-96MT/
DSS, FX5UJ-24MR/ES, FX5UJ-24MT/ES, FX5UJ-24MT/ESS, FX5UJ-
40MR/ES, FX5UJ-40MT/ES, FX5UJ-40MT/ESS, FX5UJ-60MR/ES,
FX5UJ-60MT/ES, FX5UJ-60MT/ESS, FX5SCPU FX5S-30MR/ES, FX5S-
30MT/ES, FX5S-30MT/ESS, FX5S-40MR/ES, FX5S-40MT/ES, FX5S-
40MT/ESS, FX5S-60MR/ES, FX5S-60MT/ES, FX5S-60MT/ESS, FX5S-
80MR/ES, FX5S-80MT/ES, FX5S-80MT/ESS
Input Terminal type FX5-8EX/ES, FX5-16EX/ES
Connector type FX5-C16EX/D, FX5-C16EX/DS, FX5-C32EX/D, FX5-C32EX/DS
Spring clamp terminal type FX5-C32EX/DS-TS
Output Terminal type FX5-8EYR/ES, FX5-8EYT/ES, FX5-8EYT/ESS, FX5-16EYR/ES, FX5-
16EYT/ES, FX5-16EYT/ESS
Connector type FX5-C16EYT/D, FX5-C16EYT/DSS, FX5-C32EYT/D, FX5-C32EYT/DSS
Spring clamp terminal type FX5-C16EYR/D-TS, FX5-C32EYT/D-TS, FX5-C32EYT/DSS-TS
I/O Terminal type FX5-16ER/ES, FX5-16ET/ES, FX5-16ET/ESS, FX5-32ER/ES, FX5-32ET/
ES, FX5-32ET/ESS, FX5-32ER/DS, FX5-32ET/DS, FX5-32ET/DSS, FX5-
16ET/ES-H, FX5-16ET/ESS-H
Connector type FX5-C32ET/D, FX5-C32ET/DSS
Spring clamp terminal type FX5-C32ET/DS-TS, FX5-C32ET/DSS-TS
Analog input FX5-4AD
Analog output FX5-4DA
Multiple input FX5-8AD
Temperature control module FX5-4LC
Pulse I/O, Positioning FX5-20PG-D, FX5-20PG-P
CC-Link IE TSN compatible motion module FX5-40SSC-G(S), FX5-80SSC-G(S)
A
Simple motion FX5-40SSC-S, FX5-80SSC-S
Information module FX5-ENET, FX5-ENET/IP
Network module FX5-CCLGN-MS, FX5-CCLIEF, FX5-CCL-MS, FX5-ASL-M, FX5-DP-M
Safety extension module FX5-SF-MU4T5, FX5-SF-8DI4
Extension power supply Terminal type FX5-1PSU-5V
module Connector type FX5-C1PS-5V
Connector conversion module FX5-CNV-IF
FX5/FX bus conversion module FX5-CNV-BUS, FX5-CNV-BUSC
APPX
Appendix 9 Using the Simulation Function 935
Series Module type Module name
MELSEC-Q Input QX28, QX10(-TS), QX40(-TS), QX80(-TS), QX70, QX50, QX41(-S2),
QX81(-S2), QX71, QX42, QX72, QX82, QX40-S1, QX40H(NoiseF_OFF),
QX40H(NoiseF_ON), QX70H(NoiseF_OFF), QX70H(NoiseF_ON),
QX80H(NoiseF_OFF), QX80H(NoiseF_ON), QX90H(NoiseF_OFF),
QX90H(NoiseF_ON), QX41-S1, QX11L(QX21L), QX42-S1, QX82-S1
Output QY10(-TS), QY40P(-TS), QY50, QY80(-TS), QY18A, QY22, QY68A,
QY70, QY11AL, QY41P, QY81P, QY71, QY13L, QY23L, QY51PL, QY41H,
QY42P, QY82P
I/O QX48Y57, QH42P, QX41Y41P
Interrupt input QI60
Analog input Q64AD, Q68ADV, Q68ADI, Q64AD-GH, Q62AD-DGH, Q68AD-G, Q66AD-
DG, Q64ADH, Q61LD, Q68CT
Analog output Q62DA, Q62DAN, Q64DA, Q64DAN, Q68DAV, Q68DAVN, Q68DAI,
Q68DAIN, Q62DA-FG, Q66DA-G, Q64DAH
Analog I/O Q64AD2DA
Temperature input Q64RD, Q64RD-G, Q68RD3-G, Q64TD, Q64TDV-GH, Q68TD-G-H01,
Q68TD-G-H02
Temperature control module Q64TCTT, Q64TCTTN, Q64TCTTBW, Q64TCTTBWN, Q64TCRT,
Q64TCRTN, Q64TCRTBW, Q64TCRTBWN
Loop control Q62HLC
Pulse I/O, Positioning QD70D4, QD70D8, QD72P3C3, QD73A1, QD63P6, QD64D2, QD65PD2,
QD60P8-G
Energy measuring module QE81WH, QE81WH4W, QE82LG, QE83WH4W, QE84WH
Information module Intelligent communications QD51, QD51-R24
module
MES interface module QJ71MES96, QJ71MES96N
Web server module QJ71WS96
Network module AnyWireASLINK master QJ51AW12AL
module
CC-Link/LT master module QJ61CL12
AS-i master module QJ71AS92
MELSECNET/H network QJ71BR11, QJ71LP21(-25 S-25 G GE), QJ71NT11B
module
DeviceNet master/slave QJ71DN91
module
FL-net (OPCN-2) interface QJ71FL71(-T -B5)(-F01), QJ71FL71-B2(-F01)
module
MODBUS(R) interface QJ71MT91, QJ71MB91
module
Blank cover module QG60
Partner products
MELSEC-L Input LX28, LX10, LX40C6, LX41C4, LX42C4
Output LY18R2A, LY28S1A, LY10R2, LY20S6, LY40NT5P, LY40PT5P, LY41NT1P,
LY41PT1P, LY42NT1P, LY42PT1P
I/O LH42C4NT1P, LH42C4PT1P
Analog input L60AD4, L60AD4-2GH, L60ADVL8, L60ADIL8
Analog output L60DA4, L60DAVL8, L60DAIL8
Analog I/O L60AD2DA2
Temperature input L60RD8
Temperature control module L60TCTT4, L60TCTT4BW, L60TCRT4, L60TCRT4BW
Multiple input L60MD4-G
Pulse I/O, Positioning LD75D1, LD75D2, LD75D4, LD75P1, LD75P2, LD75P4, LD62, LD62D,
LD40PD01
Information module Serial communication module LJ71C24, LJ71C24-R2
Network module AnyWireASLINK master LJ51AW12AL
module
CC-Link system master/local LJ61BT11
module
APPX
936 Appendix 9 Using the Simulation Function
Modules supported by GX Simulator3 (System simulation)
The following table shows modules that can be simulated interacting with other modules and the maximum number of the
modules.
Series Module type Module name Maximum number of
modules (in all
systems)
MELSEC iQ-R PLC CPU R00CPU, R01CPU, R02CPU, R04CPU, R08CPU, 4*1
R16CPU, R32CPU, R120CPU, R04ENCPU,
R08ENCPU, R16ENCPU, R32ENCPU, R120ENCPU
Process CPU R08PCPU, R16PCPU, R32PCPU, R120PCPU
SIL2 process CPU R08PSFCPU, R16PSFCPU, R32PSFCPU,
R120PSFCPU
Safety CPU R08SFCPU, R16SFCPU, R32SFCPU, R120SFCPU
Simple motion RD77MS2, RD77MS4, RD77MS8, RD77MS16 6*2
RD77GF4, RD77GF8, RD77GF16, RD77GF32 2*3
Motion CPU R16MTCPU, R32MTCPU, R64MTCPU
CC-Link IE TSN compatible motion module RD78G4, RD78G8, RD78G16, RD78G32, RD78G64,
RD78GHV, RD78GHW
RD78G4(S), RD78G8(S), RD78G16(S)
CPU Ethernet interface module _RJ71EN71(CCIEC), _RJ71EN71(CCIEF), 4*4
extension _RJ71EN71(E+IEC), _RJ71EN71(E+IEF)
Information Ethernet interface module RJ71EN71(CCIEC), RJ71EN71(CCIEF), 4*4
module RJ71EN71(E+CCIEC), RJ71EN71(E+CCIEF) (2 per system)
Network CC-Link IE Field Network module RJ71GF11-T2, RJ71GF11-T2(MR), RJ71GF11-T2(SR),
module RJ71GF11-T2(LR)
CC-Link IE TSN module RJ71GN11-T2
CC-Link IE Controller Network RJ71GP21-SX, RJ71GP21-SX(R), RJ71GP21S-SX,
module RJ71GP21S-SX(R)
MELSEC iQ-L PLC CPU L04HCPU, L08HCPU, L16HCPU 4*1
MELSEC iQ-F PLC CPU FX5U-32MR/DS, FX5U-32MR/ES, FX5U-32MT/DS,
A
FX5U-32MT/DSS, FX5U-32MT/ES, FX5U-32MT/ESS,
FX5U-64MR/DS, FX5U-64MR/ES, FX5U-64MT/DS,
FX5U-64MT/DSS, FX5U-64MT/ES, FX5U-64MT/ESS,
FX5U-80MR/DS, FX5U-80MR/ES, FX5U-80MT/DS,
FX5U-80MT/DSS, FX5U-80MT/ES, FX5U-80MT/ESS,
FX5UC-32MR/DS-TS, FX5UC-32MT/D, FX5UC-32MT/
DS-TS, FX5UC-32MT/DSS, FX5UC-32MT/DSS-TS,
FX5UC-64MT/D, FX5UC-64MT/DSS, FX5UC-96MT/D,
FX5UC-96MT/DSS, FX5UJ-24MR/ES, FX5UJ-24MT/ES,
FX5UJ-24MT/ESS, FX5UJ-40MR/ES, FX5UJ-40MT/ES,
FX5UJ-40MT/ESS, FX5UJ-60MR/ES, FX5UJ-60MT/ES,
FX5UJ-60MT/ESS
Simple motion FX5-40SSC-S, FX5-80SSC-S 6*2
CC-Link IE TSN compatible motion module FX5-40SSC-G(S), FX5-80SSC-G(S) 2*3
Network module FX5-CCLGN-MS, FX5-CCLIEF 4*4
(2 per system)
APPX
Appendix 9 Using the Simulation Function 937
Modules supported by SMM Simulator
Series Module type Model name
MELSEC iQ-R Simple motion RD77MS2
RD77MS4
RD77MS8
RD77MS16
RD77GF4
RD77GF8
RD77GF16
RD77GF32
MELSEC iQ-F Simple motion FX5-40SSC-S
FX5-80SSC-S
APPX
938 Appendix 9 Using the Simulation Function
Firmware versions of CPU modules
GX Simulator3 runs based on the following firmware versions. When the firmware version of a CPU module is not matched
with the following one, operation of the actual module and GX Simulator3 may differ.
Module type Supported version of GX Works3 Firmware version
RnCPU Version 1.045X or later 01
(R00CPU, R01CPU, R02CPU)
Version 1.050C or later 05
Version 1.055H or later 08
Version 1.060N or later 12
Version 1.065T or later 15
Version 1.070Y or later 18
Version 1.075D or later 21
Version 1.080J or later 24
Version 1.085P or later 26
Version 1.090U or later 30
RnCPU Version 1.007H or later 03
(R04CPU, R08CPU, R16CPU, R32CPU, R120CPU)
Version 1.020W or later 13
Version 1.025B or later 17
Version 1.030G or later 22
Version 1.035M or later 26
Version 1.040S or later 28
Version 1.045X or later 31
Version 1.050C or later 35
Version 1.055H or later 40
Version 1.060N or later 44
Version 1.065T or later 47
Version 1.070Y or later 50
Version 1.075D or later 53
A
Version 1.080J or later 57
Version 1.085P or later 59
Version 1.090U or later 63
RnENCPU Version 1.020W or later 13
Version 1.025B or later 17
Version 1.030G or later 22
Version 1.035M or later 26
Version 1.040S or later 28
Version 1.045X or later 31
Version 1.050C or later 35
Version 1.055H or later 40
Version 1.060N or later 44
Version 1.065T or later 47
Version 1.070Y or later 50
Version 1.075D or later 53
Version 1.080J or later 57
Version 1.085P or later 59
Version 1.090U or later 63
APPX
Appendix 9 Using the Simulation Function 939
Module type Supported version of GX Works3 Firmware version
RnPCPU Version 1.010L or later 01
Version 1.020W or later 02
Version 1.025B or later 03
Version 1.030G or later 05
Version 1.035M or later 08
Version 1.040S or later 10
Version 1.045X or later 13
Version 1.050C or later 16
Version 1.055H or later 18
Version 1.060N or later 20
Version 1.065T or later 22
Version 1.070Y or later 24
Version 1.075D or later 25
Version 1.080J or later 27
Version 1.085P or later 29
Version 1.090U or later 33
RnSFCPU Version 1.020W or later 03
Version 1.030G or later 06
Version 1.035M or later 07
Version 1.040S or later 08
Version 1.045X or later 10
Version 1.050C or later 13
Version 1.055H or later 16
Version 1.060N or later 17
Version 1.065T or later 19
Version 1.070Y or later 21
Version 1.075D or later 23
Version 1.080J or later 24
Version 1.085P or later 26
RnPSFCPU Version 1.045X or later 01
Version 1.060N or later 03
Version 1.065T or later 04
Version 1.085P or later 08
Version 1.090U or later 09
LHCPU Version 1.065T or later 01
Version 1.080J or later 02
Version 1.085P or later 04
FX5UCPU, FX5UCCPU Version 1.025B or later 1.015
Version 1.030G or later 1.031
Version 1.035M or later 1.040
Version 1.040S or later 1.050
Version 1.045X or later 1.060
Version 1.050C or later 1.065
Version 1.055H or later 1.110
Version 1.065T or later 1.201
Version 1.070Y or later 1.210
Version 1.075D or later 1.220
Version 1.080J or later 1.240
Version 1.085P or later 1.260
Version 1.090U or later 1.270
APPX
940 Appendix 9 Using the Simulation Function
Module type Supported version of GX Works3 Firmware version
FX5UJCPU Version 1.065T or later 1.000
Version 1.080J or later 1.010
Version 1.085P or later 1.020
Version 1.090U or later 1.030
FX5SCPU Version 1.085P or later 1.000
APPX
Appendix 9 Using the Simulation Function 941
Supported CPU module functions
The simulation function of GX Works3 does not support some functions of a CPU module.
The following shows the functions which are supported by the simulation function.
For details on each function, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
MELSEC iQ-F FX5 User's Manual (Application)
APPX
942 Appendix 9 Using the Simulation Function
Function name Remarks
Operation Program Program execution setting Program execution type setting
Device/file usage setting A virtual SD memory card file can
be used.
Interrupt Fixed scan interval setting Page 974 Program execution time
File register block number saving/
recovering setting
Interrupt priority setting from module*4
Interrupt enable setting in executing
instruction*4
PID control
Process control*5
Constant scan Page 974 Program execution time
Database*1*3 Page 981 Database
Operation Remote operation Operation change
Latch clear
RUN-PAUSE contact setting
Device/data Device/label memory area Device/label memory area setting
setting
Local device setting
Link direct device setting
Refresh memory setting*1
Internal buffer capacity setting*6
Index register setting
Initial device/label value setting
Label initial value reflection setting*5
Label initialization function after converting all programs and writing to
a programmable controller*5
Device comment
File register setting
Timer device limit setting
A
STOPRUN operation setting of output (Y)
Label access setting from external devices*3
Write-protect for device data (from outside the CPU module)*7
System clock (SM400 to SM403) every end update setting*7
*6
SD memory card Writing to an SD memory card/reading from an SD memory card
SD memory card forcibly disabled
Latch This function is not available while
GX Simulator3 is stopped.
Communication setting Device/label access service processing setting
Device/label access service processing constant wait*5
RAS Diagnostics Error clear
FB hierarchy information*4
System monitoring information (SD2000 to SD2036)*7 The MAC address and firmware
hash value cannot be used.
History Event history (Error This function is available only for
history/module error the host station.
Event history logging restriction*4
history collecting) A virtual SD memory card file can
be used.*6
APPX
Appendix 9 Using the Simulation Function 943
Function name Remarks
Maintenance Monitor (Interrupt) program list Program start/stop*4 Page 974 Program execution time
monitor
Scan time monitor
Scan time measurement*7
Scan time clear*7
SFC program (diagram) SFC-activated step monitor*1
monitor
(Local) device/label batch/registration monitor
Buffer memory monitor
Real-time monitor*1 Page 974 Program execution time
Specified program monitor*7
Test Device test with execution conditions
External input/output forced on/off
Clearing device, label and file register
Clearing a latch device and label
Debug Change of TC setting value*4
Online change (SFC Inactive block
block)
Active block
Memory dump*1,*6
Web server*7 Detailed module information
Device batch monitor
Device test
Watch
CPU diagnostics
Event history
Access log
User web page*6
Display refreshing cycle
Language switching
Multiple CPU Operation setting Other PLC control module Control CPU setting
system*2*4 setting
Importing I/O from outside group These functions are available only
for CPUs that are simulated in the
Operation mode setting Clock data synchronization
system simulation.
Operation setting at stop error
Multiple CPU synchronous startup setting
CPU data Communication Fixed scan communication setting
communication
CPU number-based data assurance
Communication by refresh
Communication by direct access
Interrupt Multiple CPU synchronization interruption (I45)
Redundant Page 523 Simulation of an RnPCPU (redundant mode)
system*8
APPX
944 Appendix 9 Using the Simulation Function
CPU module (RnPSFCPU, RnSFCPU)
Function name Remarks
Basic Program Program execution (ladder, ST, and FBD/LD) Standard program Page 974 Program execution time
Safety program
Program execution (SFC)*1 Standard program
Scan time monitoring time (WDT) setting Standard program Page 976 Watchdog timer
Page 974 Program execution time
Safety program
Clock Clock Clock The clock data is written to the
internal time of a simulator.
It differs from the time of a
personal computer.
Time zone The clock of a personal computer
is copied to the internal time and
used.
System clock System clock
Safety special relay/safety special
register
Writing to PLC/reading Writing to a programmable controller (including Standard program
from PLC data writing while a CPU module is in RUN)
Safety program
Reading from a programmable controller Standard program
(including data reading while a CPU module is in
Safety program
RUN)
Diagnostics Self-diagnostics Error detection
Module diagnostics This function is available only for
the host station.
Monitor and test Monitoring a program (circuit monitor) Standard program
Safety program
Testing device and label Testing device and Standard device/
data (changing values) label data standard label
(changing values)
Safety device/ A
safety label
Standard/safety
shared label
Testing local Standard device/
device and local standard label
label data
Safety device/
safety label
Standard/safety
shared label
Debug Online program change Online change Standard program
(ladder block) Safety program*1
Program restoration information write selection*1
System operation LED control setting for program restoration information write status
setting*1
File batch online change operation setting
APPX
Appendix 9 Using the Simulation Function 945
Function name Remarks
Operation Program Program execution setting Program execution Standard program
type setting
Safety program
Device/file usage Standard program
setting
Safety program
Interrupt Fixed scan interval Standard program Page 974 Program execution time
setting
File register block Standard program
number saving/
recovering setting
Interrupt priority Standard program
setting from
module
Interrupt enable Standard program
setting in executing
instruction
PID control Standard program
Process control*2 Standard program
Constant scan Page 974 Program execution time
Operation Remote operation Operation change
Latch clear Standard device/
standard label
RUN-PAUSE contact setting
Device/data Device/label memory area Device/label Standard device/
setting memory area standard label
setting Safety device/
safety label
Standard/safety
shared label
Local device Standard program
setting (Standard device/
standard label)
Safety program
(Safety device/
safety label)
Link direct device setting*1
Refresh memory setting
Internal buffer capacity setting
Index register setting Standard program
Initial device/label value setting Standard device/
standard label
Label initial value reflection setting*2 Standard label
Label initialization after converting all programs Standard label
(reassignment)*2
Device comment Standard device
Safety device
File register setting Standard program
Timer device limit setting Standard program
Safety program
STOPRUN operation setting of output (Y)
Label access setting from external devices Standard label
Latch Latch Standard device/ This function is not available while
standard label GX Simulator3 is stopped.
SD memory card Writing to an SD memory card/reading from an SD memory card
SD memory card forcibly disabled
Communication setting Device/label access service processing setting
Diagnostics and Diagnostics Error clear
history
History Event history (error This function is available only for
history/module error the host station.
Event history logging restriction*1
history collecting) A virtual SD memory card file can
be used.
APPX
946 Appendix 9 Using the Simulation Function
Function name Remarks
Maintenance Monitor (Interrupt) program list monitor Page 974 Program execution time
Scan time monitor
Scan time clear*1
SFC program (diagram) SFC-activated step monitor
monitor*1
(Local) device batch/registration monitor
Buffer memory monitor
Test Device test with execution condition*1 Standard device/
standard label
External input/output forced on/off*1
Clearing device, label and file register Standard device/
standard label
Safety device/
safety label
Standard/safety
shared label
Clearing a latch device and label
Debug Change TC setting*1
Online change (SFC block)*1 Inactive block
Active block
Memory dump*1 Standard device
Multiple CPU Operation setting Other PLC control module Control CPU setting
system*1 setting Importing I/O from outside group These functions are available only
for CPUs that are simulated in the
Operation mode setting Clock data synchronization
system simulation.
Operation setting at stop error
Multiple CPU synchronous startup setting
CPU data Communication Fixed scan communication setting
communication
CPU number-based data assurance
Communication by refresh A
Communication by direct access
Interrupt Multiple CPU synchronization interruption (I45)
Safety (RnSFCPU + Safety communication CC-Link IE Field Network Safety refresh monitoring time
R6SFM) (safety communication
Safety data transfer device setting
(RnPSFCPU + function)
R6PSFM)
CC-Link IE TSN (safety Safety refresh monitoring time
communication function)*1
Safety data transfer device setting
Safety condition control Safety/test mode Only the test mode can be used.
Redundant Page 523 Simulation of an RnPSFCPU
system*2
APPX
Appendix 9 Using the Simulation Function 947
MELSEC iQ-R and MELSEC iQ-L series common functions
Function name Remarks
System System configuration I/O assignment setting
configuration setting
MELSEC iQ-R series 2-slots module
Program Operation setting MELSEC iQ-R series Network parameter
module setting (all (CC-Link, CC-Link IE Control, CC-Link IE
modules) Field, CC-Link IE TSN, Ethernet)
Data communication Refresh (I/O, network, buffer memory (intelligent function module))
Direct access (U\G, J\X, J\Y, J\B, J\SB, J\W, J\SW) Access with module FB
(dedicated instruction) and
module label is available.
This function is not available in a
safety program.
Program Interrupt from module*1 This function is available only for
MELSEC iQ-R series simple
motion modules.
Module dedicated instruction Page 954 Module dedicated
instruction
Page 973 Dedicated instructions
for network modules
Program creation Module label and module FB (device comment) auto-creation
support
Sample program display (template display)*1
Parameter auto-creation (initial setting and refresh setting)
Label Access from an external Label communication from GOT*2 A virtual SD memory card file can
communication device be used.
Inter-module Inter-module Fixed cycle synchronous control*3
synchronization synchronization
Interrupt Inter-module synchronous interrupt (I44)
Security File reading/writing File password*4 When a virtual SD memory card
restriction file to which a file with a password
is copied is set in GX Simulator3,
the copied file can be read from
the virtual SD memory card file.
(Password authentication is
required.)
RAS History Event history A virtual SD memory card file can
be used.*4
Among events that occur on a
network, only the events for
modules that are simulated in the
system simulation can be
checked.
Diagnostics Module diagnostics This function is available only for
the host station.
CC-Link IE Controller Network diagnostics These functions are available only
for modules that are simulated in
CC-Link IE Field Network diagnostics
the system simulation.
CC-Link IE TSN diagnostics*5 The operation test cannot be
used.
Ethernet Simple CPU communication*6 This function is available only
when any of the following options
is selected for "Communication
Destination" in "Simple CPU
Communication Setting" of the
module parameter:
• MELSEC iQ-R (built-in
Ethernet)
• MELSEC iQ-L (built-in
Ethernet)
• MELSEC iQ-F (built-in
Ethernet)
APPX
948 Appendix 9 Using the Simulation Function
*1 LHCPUs do not support it.
*2 An R00CPU, R01CPU, and R02CPU do not support it.
*3 Not available for a CC-Link IE TSN module.
*4 An R00CPU does not support it.
*5 RnPSFCPUs do not support it.
*6 RnCPUs and RnENCPUs support it.
APPX
Appendix 9 Using the Simulation Function 949
CPU module (FX5CPU)
Function name Remarks
Scan time monitoring time (WDT) setting Page 976 Watchdog timer
Page 974 Program execution time
Clock The clock data is written to the internal time of a
simulator.
It differs from the time of a personal computer.
Online program change Online change (ladder block)
Interrupt Multiple interrupt
PID control
Constant scan
Remote operation Remote RUN/STOP
Remote PAUSE
Remote RESET
Device/label memory area setting
Program capacity setting
Internal buffer capacity setting
Initial device value setting
Latch This function is not available while GX Simulator3
is stopped.
SD memory card SD memory card forced stop
Device/label access service processing setting
Memory dump
Real-time monitor
RAS Self-diagnostics
Error clear
Event history This function is available only for the host station.
SFC
Scan time clear
MELSOFT connection
Web server Detailed module information
Device batch monitor
Device test
Watch
CPU diagnostics
Event history
Access log
User web page
Display refreshing cycle
Language switching
Simple CPU communication Diagnostics functions are not available.
For FX5UCPUs, FX5UCCPUs, and FX5UJCPUs,
this function is available only when any of the
following options is selected for "Communication
Destination" in "Simple CPU Communication
Setting" of the module parameter:
• MELSEC iQ-R (built-in Ethernet)
• MELSEC iQ-L (built-in Ethernet)
• MELSEC iQ-F (built-in Ethernet)*1
For FX5SCPUs, this function is available only
when "MELSEC iQ-F (built-in Ethernet)"*1 is
selected for "Communication Destination" in
"Simple CPU Communication Setting" of the
module parameter.
APPX
950 Appendix 9 Using the Simulation Function
Supported devices
The simulation function supports devices of CPU modules.
In addition, special relays and special registers that functions supported by the simulation function use are also supported.
For details on the devices, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
MELSEC iQ-F FX5 User's Manual (Application)
APPX
Appendix 9 Using the Simulation Function 951
Supported instructions
The instructions supported by the Simulation function are shown below:
For details on each instruction, refer to the following:
MELSEC iQ-R Programming Manual (CPU Module Instructions, Standard Functions/Function Blocks)
MELSEC iQ-R Programming Manual (Process Control Function Blocks/Instructions)
MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks)
Note that no processing is performed for unsupported instructions (NOP processing).
Basic instruction
Classification Symbol*1
Comparison operation instruction AND(_U), ANDD(_U), BKCMP(P)(_U), CMP(P)(_U)*2, DBKCMP(P)(_U), DCMP(P)(_U)*2, DZCP(P)(_U)*2,
LD(_U), LDD(_U), OR(_U), ORD(_U), ZCP(P)(_U)*2
Arithmetic operation instruction *(P)(_U), +(P)(_U), -(P)(_U), /(P)(_U), B*(P), B+(P), B-(P), B/(P), BK+(P)(_U), BK-(P)(_U), D*(P)(_U), D+(P)(_U), D-
(P)(_U), D/(P)(_U), DB*(P), DB+(P), DB-(P), DB/(P), DBK+(P)(_U), DBK-(P)(_U), DDEC(P)(_U), DEC(P)(_U),
DINC(P)(_U), INC(P)(_U)
Logical operation instruction BKAND(P), BKOR(P), BKXNR(P), BKXOR(P), DAND(P), DOR(P), DXNR(P), DXOR(P), WAND(P), WOR(P), WXNR(P),
WXOR(P)
Bit processing instruction BKRST(P), BRST(P), BSET(P), DTEST(P), TEST(P)
Data conversion instruction ASC2INT(P), BCD(P), BIN(P), BKBCD(P), BKBIN(P), BTOW(P), DABCD(P), DABIN(P)(_U), DBCD(P), DBIN(P),
DBL2DINT(P), DBL2INT(P), DBL2UDINT(P), DBL2UINT(P), DDABCD(P), DDABIN(P)(_U), DECO(P), DGBIN(P)(_U),
DGRY(P)(_U), DHABIN(P), DINT2INT(P), DINT2UDINT(P), DINT2UINT(P), DIS(P), DNEG(P), DVAL(P)(_U), EMOD(P),
ENCO(P), FLT2DINT(P), FLT2INT(P), FLT2UDINT(P), FLT2UINT(P), GBIN(P)(_U), GRY(P)(_U), HABIN(P),
INT2DINT(P), INT2UDINT(P), INT2UINT(P), NDIS(P), NEG(P), NUNI(P), SEG(P), UDINT2DINT(P), UDINT2INT(P),
UDINT2UINT(P), UINT2DINT(P), UINT2INT(P), UINT2UDINT(P), UNI(P), VAL(P)(_U), WTOB(P)
Data shift instruction BSFL(P), BSFR(P), EDSFTL(P)*2, EDSFTR(P)*2, ESFTL(P)*2, ESFTR(P)*2, DDSFR(P)*2, DDSFL(P)*2, DSFL(P),
DSFR(P), DWSFTL(P)*2, DWSFTR(P)*2, ESFR(P)*2, ESFL(P)*2, EDSFR(P)*2, EDSFL(P)*2, SFL(P), SFR(P),
SFTER(P)*2, SFTDWL(P)*2, SFTBL(P), SFTBR(P), SFTEDL(P)*2, SFTEDR(P)*2, SFTEL(P)*2, SFTDWR(P)*2, SFTL(P)*2,
SFTR(P)*2, SFTWL(P), SFTWR(P), WSFL(P)*2, WSFR(P)*2
Data transfer instruction BLKMOVB(P), BMOV(P), BMOVL(P), BXCH(P), CML(P), CMLB(P), DCML(P), DFMOV(P), DFMOVL(P), DMOV(P),
DSWAP(P)*2, DXCH(P), FMOV(P), FMOVL(P), MOV(P), MOVB(P), SMOV(P)*2, SWAP(P), XCH(P)
*1 indicates an operator.
*2 RnCPUs, RnENCPUs, and LHCPUs support it.
Application instruction
Classification Symbol*1
Program branch instruction CJ, GOEND, JMP, SCJ
Program execution control DI, EI, IMASK, IRET, SIMASK, WDT(P)
instruction
Structure creation instruction BREAK(P), CALL(P), ECALL(P), EFCALL(P), FCALL(P), FOR, NEXT, RET, XCALL
Program control instruction POFF(P), PSCAN(P), PSTOP(P)
Rotation instruction DRCL(P), DRCR(P), DROL(P), DROR(P), RCL(P), RCR(P), ROL(P), ROR(P)
Data table operation instruction FDEL(P), FIFR(P), FIFW(P), FINS(P), FPOP(P)
APPX
952 Appendix 9 Using the Simulation Function
Classification Symbol*1
Reading/writing data instruction S(P).DEVLD, SP.DEVST, SP.FREAD, SP.FWRITE
File operation instruction*2 SP.FDELETE, SP.FCOPY, SP.FMOVE, SP.FRENAME, SP.FSTATUS
Data control instruction BAND(P)(_U), DBAND(P)(_U), DLIMIT(P)(_U), DSCL(P)(_U), DSCL2(P)(_U), DZONE(P)(_U), LIMIT(P)(_U),
SCL(P)(_U), SCL2(P)(_U), ZONE(P)(_U)
Data processing instruction BON(P)*2, CRC(P)*2, DBON(P)*2, DMAX(P)(_U), DMEAN(P)(_U), DMIN(P)(_U), DSERDATA(P), DSERMM(P)*2,
DSORTD(_U), DSORTTBL2(_U)*2, DSQRT(P)*2, DSUM(P), DWSUM(P)(_U), MAX(P)(_U), MEAN(P)(_U), MIN(P)(_U),
SERDATA(P), SERMM(P)*2, SORTD(_U), SORTTBL(_U)*2, SORTTBL2(_U)*2, SQRT(P)*2, SUM(P), WSUM(P)(_U)
Check code instruction CCD(P)
Debugging and failure diagnostic LEDR, PALERT(P)*3, PABORT*3
instruction
String processing instruction $+(P), $MOV(P), $MOV(P)_WS, AND$, BCDDA(P), BINDA(P)(_U), BINHA(P), DBCDDA(P), DBINDA(P)(_U),
DBINHA(P), DSTR(P)(_U), ESTR(P), INSTR(P), INT2ASC(P), LD$, LEFT(P), LEN(P), MIDR(P), MIDW(P), OR$,
RIGHT(P), SJIS2WS(P), SJIS2WSB(P), STR(P)(_U), STRDEL(P), STRINS(P), WS2SJIS(P)
Real number instruction ACOS(P), ACOSD(P), ANDE, ANDED, ASIN(P), ASIND(P), ATAN(P), ATAND(P), BACOS(P), BASIN(P), BATAN(P),
BCOS(P), BDSQRT(P), BSIN(P), BSQRT(P), BTAN(P), COS(P), COSD(P), DBL2FLT(P), DEG(P), DEGD(P),
DINT2DBL(P), DINT2FLT(P), E*(P), E+(P), E-(P), E/(P), ECMP(P)*2, ED*(P), ED+(P), ED-(P), ED/(P), EDCMP(P)*2,
EDMAX(P), EDMIN(P), EDMOV(P), EDNEG(P), EDSQRT(P), EDZCP(P)*2, EMAX(P), EMIN(P), EMOV(P), ENEG(P),
EREXP(P), ESQRT(P), EVAL(P), EXP(P), EXPD(P), EZCP(P)*2, FLT2DBL(P), INT2DBL(P), INT2FLT(P), LDE, LDED,
LOG(P), LOG10(P), LOG10D(P), LOGD(P), ORE, ORED, POW(P), POWD(P), RAD(P), RADD(P), SIN(P), SIND(P),
TAN(P), TAND(P), UDINT2DBL(P), UDINT2FLT(P), UINT2DBL(P), UINT2FLT(P)
Random number instruction RND(P), SRND(P)
Index register instruction ZPOP(P), ZPUSH(P)
File register operation instruction QDRSET(P), RSET(P)
Read/write instruction for each 1 ZRRDB(P), ZRWRB(P)
byte of a file register.
Indirect address read instruction ADRSET(P)
Special counter instruction UDCNT1, UDCNT2
Special timer instruction STMR, TTMR
Pulse related instruction PLSY, PWM, SPD
Shortcut control instruction ROTC
Ramp signal instruction RAMPQ A
Matrix input instruction MTR
Database access instruction DBOPEN(P)*2, DBCLOSE(P)*2, DBINSERT(P)*2,*4, DBUPDATE(P)*2,*4, DBSELECT(P)*2,*4, DBDELETE(P)*2,*4,
DBIMPORT(P)*2,*4, DBEXPORT(P)*2, DBTRANS(P)*2, DBCOMMIT(P)*2, DBROLBAK(P)*2
Clock instruction ANDDT, ANDTM, DATE+(P), DATE-(P), DATERD(P), DATEWR(P), DATE2SEC(P)(_U), LDDT, LDTM, ORDT,
ORTM, SEC2DATE(P)(_U), S(P).DATE+, S(P).DATE-, S(P).DATERD, SEC2TIME(P), TCMP(P)*2, TIME2SEC(P),
TZCP(P)*2
Timing check instruction DHOURM*2, DUTY, HOURM*2, TIMCHK
Module access instruction DFROM(P), DFROMD(P), DTO(P), DTOD(P), FROM(P), FROMD(P), TO(P), TOD(P), RFS(P), COM(P), S(P).ZCOM
Logging instruction LOGTRG(R)
PID operation PID*2
PID control instruction PIDCONT(P), PIDINIT(P), PIDPRMW(P), PIDRUN(P), PIDSTOP(P), S(P).PIDCONT, S(P).PIDINIT, S(P).PIDPRMW,
S(P).PIDRUN, S(P).PIDSTOP
Process control instruction*3 S.2PID, S., S.ABS, S.ADD, S.AMR, S.AT1, S.AVE, S.BC, S.BPI, S.BUMP, S.D, S.DBND, S.DED, S.DIV, S.DUTY,
S.ENG, S.FG, S.FLT, S.HS, S.I, S.IENG, S.IFG, S.IN, S.IPD, S.LIMIT, S.LLAG, S.LS, S.MID, S.MOUT, S.MUL, S.ONF2,
S.ONF3, S.OUT1, S.OUT2, S.PGS, S.PHPL, S.PHPL2, S.PID, S.PIDP, S.PSUM, S.R, S.SEL, S.SPI, S.SQR, S.SUB,
S.SUM, S.TPC, S.VLMT1, S.VLMT2
Multiple CPU dedicated D(P).DDRD, D(P).DDWR, M(P).DDRD, M(P).DDWR
instruction*5,*6
SFC control instruction AND, ANI, BMOV(P), BRSET, DMOV(P), LD, LDI, MOV(P), OR, ORI, PAUSE, RST, RSTART, SET
SFC dedicated instruction TRAN
Safety system instruction*7 SP.SIDRD
*1 indicates an operator.
*2 RnCPUs, RnENCPUs, and LHCPUs support it.
*3 Only RnPCPUs support it.
*4 The field name and index are not case-sensitive.
*5 Executes during interaction with the system simulation.
*6 LHCPUs do not support it.
*7 Only RnSFCPUs support it.
APPX
Appendix 9 Using the Simulation Function 953
Module dedicated instruction
When simulating a system including any of the following modules, the dedicated instructions for the module are available.
For details on the module dedicated instructions, refer to the manual for each module.
Module type Module name
CPU extension Ethernet interface module _RJ71EN71(CCIEC), _RJ71EN71(CCIEF), _RJ71EN71(E+IEC),
_RJ71EN71(E+IEF)
CC-Link IE TSN compatible motion module RD78G4, RD78G8, RD78G16, RD78G32, RD78G64, RD78GHV, RD78GHW,
RD78G4(S), RD78G8(S), RD78G16(S)
Network module CC-Link IE Field Network module RJ71GF11-T2, RJ71GF11-T2(MR), RJ71GF11-T2(SR), RJ71GF11-T2(LR)
CC-Link IE TSN module RJ71GN11-T2
CC-Link IE Controller Network module RJ71GP21-SX, RJ71GP21-SX(R), RJ71GP21S-SX, RJ71GP21S-SX(R)
FX5CPU
Sequence instruction
Classification Symbol
Contact instruction AND, ANDF, ANDFI, ANDP, ANDPI, ANI, LD, LDF, LDFI, LDI, LDP, LDPI, OR, ORF, ORFI, ORI, ORP, ORPI
Output instruction FF, ALT, ALTP, ANR, ANRP, ANS, OUT, OUT C, OUT F, OUT LC, OUT T/ST, OUTH T/ST, OUTHS T/ST, PLF, PLS, RST,
RST F, SET, SET F
Master control instruction MC, MCR
Shift instruction SFT(P)
Association instruction ANB, INV, MEF, MEP, MPP, MPS, MRD, ORB
Termination instruction END, FEND
Stop instruction STOP
Basic instruction
Classification Symbol*1
Comparison operation instruction AND(_U), ANDD(_U), BKCMP(P)(_U), CMP(P)(_U), DBKCMP(P)(_U), DCMP(P)(_U), DZCP(P)(_U), LD(_U),
LDD(_U), OR(_U), ORD(_U), ZCP(P)(_U)
Arithmetic operation instruction *(P)(_U), +(P)(_U), -(P)(_U), /(P)(_U), ADD(P)(_U), B*(P), B+(P), B-(P), B/(P), BK+(P)(_U), BK-(P)(_U), D*(P)(_U),
D+(P)(_U), D-(P)(_U), D/(P)(_U), DADD(P)(_U), DB*(P), DB+(P), DB-(P), DB/(P), DBK+(P)(_U), DBK-(P)(_U),
DDEC(P)(_U), DDIV(P)(_U), DEC(P)(_U), DINC(P)(_U), DIV(P)(_U), DMUL(P)(_U), DSUB(P)(_U), INC(P)(_U),
MUL(P)(_U), SUB(P)(_U)
Logical operation instruction BKAND(P), BKOR(P), BKXNR(P), BKXOR(P), DAND(P), DOR(P), DXNR(P), DXOR(P), WAND(P), WOR(P), WXNR(P),
WXOR(P)
Bit processing instruction BKRST(P), BRST(P), BSET(P), DTEST(P), TEST(P)
Data conversion instruction BCD(P), BIN(P), BTOW(P), DABIN(P)(_U), DBCD(P), DBIN(P), DDABIN(P)(_U), DECO(P), DGBIN(P)(_U),
DGRY(P)(_U), DINT2INT(P), DINT2UDINT(P), DINT2UINT(P), DIS(P), DNEG(P), DVAL(P)(_U), ENCO(P), FLT2DINT(P),
FLT2INT(P), FLT2UDINT(P), FLT2UINT(P), GBIN(P)(_U), GRY(P)(_U), HEXA(P), INT2DINT(P), INT2UDINT(P),
INT2UINT(P), NDIS(P), NEG(P), NUNI(P), UDINT2DINT(P), UDINT2INT(P), UDINT2UINT(P), UINT2DINT(P),
UINT2INT(P), UINT2UDINT(P), UNI(P), VAL(P)(_U), WTOB(P)
Data shift instruction BSFL(P), BSFR(P), DSFL(P), DSFR(P), SFL(P), SFR(P), SFTL(P), SFTR(P), WSFL(P), WSFR(P)
External device I/O instruction DSW, SEGD, SEGDP, SEGL
Data transfer instruction BLKMOVB(P), BMOV(P), CML(P), CMLB(P), DCML(P), DFMOV(P), DMOV(P), DPRUN(P), DSWAP(P), DXCH(P),
FMOV(P), MOV(P), MOVB(P), PRUN(P), SMOV(P), SWAP(P), XCH(P)
*1 indicates an operator.
Application instruction
Classification Symbol*1
Rotation instruction DRCL(P), DRCR(P), DROL(P), DROR(P), RCL(P), RCR(P), ROL(P), ROR(P)
Program branch instruction CJ, GOEND
Program execution control DI, EI, IMASK, IRET, SIMASK, WDT(P)
instruction
Structure creation instruction BREAK(P), CALL(P), FOR, NEXT, RET, SRET, XCALL
Data table operation instruction FDEL(P), FINS(P), POP(P), SFRD(P), SFWR(P)
File operation instruction SP.FREAD, SP.FWRITE, SP.FDELETE, SP.FCOPY, SP.FMOVE, SP.FRENAME, SP.FSTATUS
APPX
954 Appendix 9 Using the Simulation Function
Classification Symbol*1
Extended file register operation ERREAD, ERWRITE, ERINIT
instruction
String processing instruction $+(P), $MOV(P), $MOV(P)_WS, AND$, ASCI(P), BINDA(P)(_U), DBINDA(P)(_U), DESTR(P), DSTR(P)(_U), ESTR(P),
INSTR(P), LD$, LEFT(P), LEN(P), MIDR(P), MIDW(P), OR$, RIGHT(P), SJIS2WS(P), SJIS2WSB(P), STR(P)(_U),
STRDEL(P), STRINS(P), WS2SJIS(P)
Random number instruction RND(P)
Index register instruction ZPOP(P), ZPUSH(P)
Data control instruction BAND(P)(_U), DBAND(P)(_U), DLIMIT(P)(_U), DSCL(P)(_U), DSCL2(P)(_U), DZONE(P)(_U), LIMIT(P)(_U),
SCL(P)(_U), SCL2(P)(_U), ZONE(P)(_U)
Special timer instruction STMR, TTMR
Shortcut control instruction ROTC
Ramp signal instruction RAMPF
Matrix input instruction MTR
Handy instruction ABSD, DABSD, INCD, IST
Check code CCD(P)
Data processing instruction BON(P), CRC(P), DBON(P), DMAX(P)(_U), DMEAN(P)(_U), DMIN(P)(_U), DSERDATA(P), DSERMM(P),
DSORTTBL2(_U), DSQRT(P), DSUM(P), DWSUM(P)(_U), MAX(P)(_U), MEAN(P)(_U), MIN(P)(_U), SERMM(P),
SORTTBL(_U), SORTTBL2(_U), SQRT(P), SUM(P), WSUM(P)(_U)
Indirect address read instruction ADRSET(P)
Clock instruction ANDDT, ANDTM, DHTOS(P), DSTOH(P), HTOS(P), LDDT, LDTM, ORDT, ORTM, STOH(P), TADD(P),
TCMP(P), TRD(P), TSUB(P), TWR(P), TZCP(P)
Timing check instruction DHOURM, DUTY, HOURM
Module access instruction DFROM(P), DFROMD(P), DTO(P), DTOD(P), FROM(P), FROMD(P), TO(P), TOD(P)
Real-time Monitor Function RTM
Instruction
Step ladder instruction STL, RETSTL
PID operation PID
Real number instruction ACOS(P), ANDE, ASIN(P), ATAN(P), COS(P), DACOS(P), DASIN(P), DATAN(P), DCOS(P), DDEG(P), DEADD(P),
DEBCD(P), DEBIN(P), DEDIV(P), DEG(P), DEMOV(P), DEMUL(P), DENEG(P), DESQR(P), DESUB(P), DEVAL(P),
DEXP(P), DEZCP(P), DINT2FLT(P), DLOGE(P), DLOG10(P), DRAD(P), DSIN(P), DTAN(P), E*(P), E+(P), E-(P), E/(P), A
ECMP(P), EMAX(P), EMIN(P), EMOV(P), ENEG(P), ESQRT(P), EVAL(P), EXP(P), INT2FLT(P), LDE, LOG(P),
LOG10(P), ORE, POW(P), RAD(P), SIN(P), TAN(P), UDINT2FLT(P), UINT2FLT(P)
SFC control instruction AND, ANI, BMOV(P), DMOV(P), LD, LDI, MOV(P), OR, ORI, OUT, RST, SET, ZRST(P)
SFC dedicated instruction TRAN
*1 indicates an operator.
APPX
Appendix 9 Using the Simulation Function 955
Supported parameters
The simulation function does not support some parameter setting items.
The following shows the parameter setting items which are supported by the simulation function.
RCPU
System parameter
Item
I/O Assignment Setting Base/Power/Extension Cable Setting Slots
Base/Power Supply Module/Extension Cable
I/O Assignment Setting Module Name
Module Status Setting
Module/Points/Start XY
Control PLC Setting
CPU Module Operation Setting at Error Detection
Setting of Points Occupied by Empty Slot
Multiple CPU Setting Setting for number of CPU modules
Communication Setting between CPU Refresh setting
CPU Buffer Memory Setting
PLC Unit Data
Fixed Scan Communication Function
Fixed Scan Communication Area Setting
Fixed Scan Communication Setting Fixed Scan Interval Setting of Fixed Scan
Communication
Fixed Scan Communication Function and Inter-module
Synchronization Function
Operation Mode Setting Stop Setting
Synchronous Startup Setting
Other PLC Control Module Setting I/O Setting Outside Group
Inter-module Synchronization Setting Use Inter-module Synchronization Function in System
Select Inter-module Synchronization Target Module
Fixed Scan Interval Setting of Inter-module Synchronization
Inter-module Synchronization Master Setting
CPU parameter
Item
Operation Related Timer Limit Setting
Setting
RUN-PAUSE Contact Setting
Remote Reset Setting (same operation as for "Enable")
Output Mode Setting at STOP to RUN
Module Synchronous Setting
Clock Related Setting
Interrupt Settings Fixed Scan Interval Setting
Fixed Scan Execution Mode Setting
Interrupt Enable Setting in Executing Instruction
Block No. Save/Recovery Setting
Interrupt Priority Setting from Module
Service Processing Device/Label Access Service Processing Setting
Setting
File Setting File Register Setting
Initial Value Setting*1
Label Initial Value Reflection Setting*2
File Setting for Device Data Storage
APPX
956 Appendix 9 Using the Simulation Function
Item
Memory/Device Setting Device/Label Memory Area Setting Extended SRAM Cassette Setting
Device/Label Memory Area Capacity Setting
Device/Label Memory Area Detailed Points
Setting
Safety device points*3
Local Device
Safety local device*3
Latch Range Setting
Write Protection Setting *4
Latch Type Setting of Latch Type Label
Index Register Setting
Refresh Memory Setting
Device Latch Interval Setting
Pointer Setting
Internal Buffer Capacity Setting
Link Direct Device Setting
RAS Setting Scan Time Monitoring Time (WDT) Setting
Constant Scan Setting
Error Detections Setting Battery Error
Module Verification Error
Fuse Blown
Redundant Power Supply System Error (same operation as for "Not Detected")
CPU Module Operation Setting at Error Detected
LED Display Setting
Event History Setting*5
Save Device/Label Operations
Program Setting Program Setting Program Setting Execute Order
Program Name
Execution Type
A
Detailed Setting Information (Fixed Scan)
Detailed Setting Information (Event)
Device/File Use or not
Both Systems Program Executions Setting
(same operation as for "Control System
Execution")*6
FB/FUN File Setting
SFC Setting SFC Program Start Mode Setting
Start Conditions Setting
Output Mode Setting at Block Stop
Refresh Setting between Refresh Setting (At the END)
Multiple CPUs
Refresh Setting (At I45 Exe.)
Redundant System Redundant Behavior Setting Watching Standby System Setting (same operation as for "Disable")
Settings*8
Safety Function Setting Safety Function Setting Safety Cycle Time*3
Safety I/O Hold Time*7
APPX
Appendix 9 Using the Simulation Function 957
Module parameter
Item
Required Settings*1 Station Type
Basic Settings*1 Own Node Settings IP Address*2,*3
Refresh Settings
Application Settings Web Server Settings*2,*4
Simple CPU Communication Setting*5
Refresh Setting*6
APPX
958 Appendix 9 Using the Simulation Function
LHCPU
System parameter
Item
I/O Assignment Setting I/O Assignment Setting Module Name
Module Status Setting
Module/Points/Start XY
CPU parameter
Item
Operation Related Timer Limit Setting
Setting
RUN-PAUSE Contact Setting
Remote Reset Setting (same operation as for "Enable")
Output Mode Setting at STOP to RUN
Clock Related Setting
Interrupt Settings Fixed Scan Interval Setting
Fixed Scan Execution Mode Setting
Block No. Save/Recovery Setting
Service Processing Device/Label Access Service Processing Setting
Setting
File Setting File Register Setting
Initial Value Setting*1
Label Initial Value Reflection Setting
File Setting for Device Data Storage
Memory/Device Setting Device/Label Memory Area Setting Device/Label Memory Area Capacity Setting
Device/Label Memory Area Detailed Points
Setting
Local Device
APPX
Appendix 9 Using the Simulation Function 959
Module parameter
Item
Application Settings Simple CPU Communication Setting*1
APPX
960 Appendix 9 Using the Simulation Function
FX5CPU
System parameter
Item
I/O Assignment Setting Model Name
Intelligent Module No.
Serial Communication ch
Number of Input Points
Number of Output Points
CPU Module Operation Setting at Error Detected
CPU parameter
Item
Name Setting Title Setting
Comment Setting
Operation Related RUN Contact Setting
Setting
Remote Reset Setting
Clock Related Setting Time Zone
Interrupt Settings Fixed Scan Interval Setting
Fixed Scan Execution Mode Setting
Interrupt Priority Setting from Module
Service Processing Device/Label Access Service Processing Setting
Setting
File Setting Initial Value Setting
Memory/Device Setting Device/Label Memory Area Setting Option Battery Setting
Device/Label Memory Area Capacity Setting
Device/Label Memory Area Detailed Setting
Index Register Setting
Pointer Setting
A
Internal Buffer Capacity Setting
RAS Setting Scan Time Monitoring Time (WDT) Setting
Constant Scan Setting
Error Detections Setting
CPU Module Operation Setting at Error Detected
LED Display Setting
Event History Setting
Program Setting Program Setting
FB/FUN File Setting
Program Capacity Setting
SFC Setting SFC Program Setting
SFC Program Start Mode Setting
Start Conditions Setting
FX3 Compatible Transition Operation Mode Setting
APPX
Appendix 9 Using the Simulation Function 961
Module parameter (Ethernet port)
Item
Basic Settings Own Node Settings IP Address
Application Settings Web Server Settings*1
Simple CPU Communication Setting *2
*1 The value in the account setting cannot be changed. (Page 981 Account)
*2 Any of the following options can be selected for "Communication Destination":
MELSEC iQ-R (built-in Ethernet)
MELSEC iQ-L (built-in Ethernet)
MELSEC iQ-F (built-in Ethernet)
APPX
962 Appendix 9 Using the Simulation Function
Process response operation
The following shows the specifications when using a process response operation in the 'I/O System Setting' function.
For details on the conversion processing, refer to the following:
MELSEC iQ-R Programming Manual (Process Control Function Blocks/Instructions)
DIRECT
Convert an input value to an output value by using a specified upper and lower limit.
from to
IENG ENG
Instruction format
to := DIRECT(to_min, to_max, from_min, from_max, from)
Argument
Argument name Data type Description Range
to_min REAL (Constant) Lower limit of an output value -999999.0<=to_min<to_max
to_max REAL (Constant) Upper limit of an output value to_min<to_max<=999999.0
from_min REAL (Constant) Lower limit of an input value -999999.0<=from_min<from_max
from_max REAL (Constant) Upper limit of an input value from_min<from_max<=999999.0
from REAL Input value
Return value
Output value: REAL
A
REVERSE
Convert an input value to an output value by using a specified upper and lower limit.
from to
IENG REV ENG
Instruction format
to := REVERSE(to_min, to_max, from_min, from_max, from)
Argument
Argument name Data type Description Range
to_min REAL (Constant) Lower limit of an output value -999999.0<=to_min<to_max
to_max REAL (Constant) Upper limit of an output value to_min<to_max<=999999.0
from_min REAL (Constant) Lower limit of an input value -999999.0<=from_min<from_max
from_max REAL (Constant) Upper limit of an input value from_min<from_max<=999999.0
from REAL Input value
Return value
Output value: REAL
APPX
Appendix 9 Using the Simulation Function 963
LAG_DED
Convert an input value to an output value by using a specified upper and lower limit.
from to
IENG LAG DED ENG
Instruction format
to := LAG_DED(to_min, to_max, from_min, from_max, lag, ded, from)
Argument
Argument name Data type Description Range
to_min REAL (Constant) Lower limit of an output value -999999.0<=to_min<to_max
to_max REAL (Constant) Upper limit of an output value to_min<to_max<=999999.0
from_min REAL (Constant) Lower limit of an input value -999999.0<=from_min<from_max
from_max REAL (Constant) Upper limit of an input value from_min<from_max<=999999.0
lag REAL (Constant) Lag time constant (second) 0.0<=lag<=999999.0
ded INT (Constant) Dead time (second) 0<=ded<=999
from REAL Input value
Return value
Output value: REAL
LAG_DED_REV
Convert an input value to an output value by using a specified upper and lower limit.
from to
IENG LAG DED REV ENG
Instruction format
to := LAG_DED_REV(to_min, to_max, from_min, from_max, lag, ded, from)
Argument
Argument name Data type Description Range
to_min REAL (Constant) Lower limit of an output value -999999.0<=to_min<to_max
to_max REAL (Constant) Upper limit of an output value to_min<to_max<=999999.0
from_min REAL (Constant) Lower limit of an input value -999999.0<=from_min<from_max
from_max REAL (Constant) Upper limit of an input value from_min<from_max<=999999.0
lag REAL (Constant) Lag time constant (second) 0.0<=lag<=999999.0
ded INT (Constant) Dead time (second) 0<=ded<=999
from REAL Input value
Return value
Output value: REAL
APPX
964 Appendix 9 Using the Simulation Function
Module buffer memory
The following shows the number of points of buffer memory (U\G) for a module supported by the simulation function.
When simulating the following systems, the number of points supported by MT Simulator2 or SMM Simulator can be used.
The number may differ from the one shown in this section.
• Page 529 Multiple CPU system
• Page 532 Programmable controller CPU and motion CPU
• Page 536 Simple motion module/motion module
• Page 538 Network modules
Series Module type Points
MELSEC iQ-R PLC CPU 8388608
MELSECWinCPU
Motion CPU
Redundant module 2097152
Safety CPU 2048
SIL2 function module
Input 131072
Output
I/O
NC dedicated module
Analog input
Analog output
Temperature input
Temperature control module
Simple motion RD77MS
RD77GF 12582912
CC-Link IE TSN compatible motion module 16777216
Pulse I/O, Positioning*1 131072 A
Energy measuring module
Information module Serial communication module
Ethernet interface module 12582912
High speed data logger module 131072
MES interface module
OPC UA Server module
Recorder module 8388608
C intelligent function module
High speed data communication module 131072
Camera recorder module 8388608
GP-IB interface module 131072
Network Module CC-Link system master/local module 131072
CC-Link IE Field Network module 12582912
CC-Link IE Controller Network module
AnyWireASLINK master module 131072
BACnet interface module
CANopen module
EtherNet/IP module 8388608
DeviceNet master/slave module 131072
PROFIBUS interface module
CC-Link IE TSN module 16777216
CC-Link IE TSN Plus master/local module
MELSECNET/H network module 12582912
APPX
Appendix 9 Using the Simulation Function 965
Series Module type Points
MELSEC iQ-L PLC CPU 2048
Network module CC-Link module 32768
Intelligent function module 61440
MELSEC iQ-F Simple motion 98304
MELSEC-Q Analog input 131072
Analog output
Analog I/O
Temperature input
Temperature control module
Loop control
Pulse I/O, Positioning
Energy measuring module
Information module Intelligent communications module
MES interface module
Web server module
Network Module AnyWireASLINK master module
CC-Link/LT master module
AS-i master module
MELSECNET/H network module
FL-net (OPCN-2) interface module
MODBUS(R) interface module
DeviceNet master/slave module
Partner products
*1 For a counter module, the actual number of buffer memory points that can be used is up to 1024.
APPX
966 Appendix 9 Using the Simulation Function
Link devices of network module
The following shows the link devices and the number of points for network module supported by the simulation function.
Series Module type Device type Points
MELSEC iQ-R Network module Ethernet J\SB 512
(When using CC-Link IE Controller Network)
J\SW
J\X 8192
J\Y
J\B 65538
J\W 262144
Ethernet J\SB 512
(When using CC-Link IE Field Network)
J\SW
J\X 16384
J\Y
J\W
CC-Link IE Controller Network J\SB 512
J\SW
J\X 8192
J\Y
J\B 65538
J\W 262144
CC-Link IE Field Network J\SB 512
J\SW
J\X 16384
J\Y
J\W
CC-Link IE TSN J\SB 4096
J\SW A
J\X 16384
J\Y
J\B 32768
J\W
MELSECNET/H network module J\SB 512
J\SW
J\X 8192
J\Y
J\B 16384
J\W
Simple motion module RD77GF J\SB 512
J\SW
J\X 16384
J\Y
J\W
CC-Link IE TSN RD78G(H) J\SB 4096
compatible motion RD78G(S) J\SW
module
MELSEC-Q Network module MELSECNET/H network J\SB 512
J\SW
J\X 8192
J\Y
J\B 16384
J\W
APPX
Appendix 9 Using the Simulation Function 967
Network
The following shows the network types, network modules, network functions, network parameters, and network module
dedicated instructions that are supported by the simulation function (simulation of network modules).
For details on each item, refer to the manual for each network module.
Network types
Series Network type
MELSEC iQ-R CC-Link IE Controller Network
CC-Link IE Field Network
CC-Link IE TSN
MELSEC iQ-F CC-Link IE Field Network
CC-Link IE TSN
Network modules
Series Network module
MELSEC iQ-R RnENCPU (network part)
RJ71EN71
RJ71GP21-SX
RJ71GF11-T2
RJ71GN11-T2
MELSEC iQ-F FX5-CCLIEF
FX5-CCLGN-MS
Network functions
CC-Link IE Controller Network
Function Remarks
Cyclic transmission Communication with another station
Link refresh
Direct access for link devices
Cyclic data integrity assurance Data is sent for each station regardless of the parameter
setting contents.
Interlink transmission
Cyclic transmission punctuality assurance
Group cyclic transmission
Cyclic transmission stop and restart
Transient transmission Dedicated instruction
Group transient transmission
RAS External power supply Same operation as for OFF.
Others Interrupt request to CPU module
APPX
968 Appendix 9 Using the Simulation Function
CC-Link IE Field Network
Function Remarks
Cyclic transmission Communications using RX, RY, RWr, and RWw
Link refresh
Direct access for link devices
Cyclic data integrity assurance Data is sent for each station regardless of
the parameter setting contents.
Interlink transmission
Sequence scan synchronization specification
Cyclic transmission punctuality assurance
I/O maintenance settings Output hold/clear setting during
CPU STOP
Data link faulty station setting
Cyclic transmission stop and restart
Transient transmission Communications within the same network
RAS Self-diagnostics function Page 979 Duplicate station number
Others CC-Link IE Field Network synchronous communication This function is available only for network
modules (local stations or intelligent device
stations) that are simulated in the system
simulation.
Reserved station
Error invalid station
Interrupt request to CPU module
Safety communication
CC-Link IE TSN
Function Remarks
Cyclic transmission Communications using RX, RY, RWr, and RWw
Communications using LB and LW
Link refresh A
Direct access to link devices
Cyclic data assurance Data is sent for each station regardless of
the parameter setting contents.
Communication cycle coexistence
Interlink transmission
I/O maintenance settings Output hold/clear setting during
CPU STOP
Data link faulty station setting
Transient transmission Communications using a dedicated instruction
Security IP filter This function is not available for
communicating with an external device.
RAS Master station duplication detection Page 979 Duplicate station number
IP address duplication detection
Time synchronization
Synchronization CC-Link IE TSN network synchronous communication This function is available only for network
modules (local stations or intelligent device
stations) that are simulated in the system
simulation.
Safety communications
Troubleshooting CC-Link IE TSN diagnostics
Others Reserved station
Error invalid station setting
APPX
Appendix 9 Using the Simulation Function 969
Network parameters
CC-Link IE Controller Network
Parameter Remarks
Required Settings Station Type Station Type
Network No. Network No.
Station No. Setting Method
Station No.
Network Range Total No. of Stations
Assignment
LB/LW Setting (1)
LB/LW Setting (2)
LX/LY Setting (1)
LX/LY Setting (2)
I/O Master Station
Reserved Station
Pairing Since system switching is not
supported by simulator, cyclic
transmission is performed only from a
control system.
Shared Group Setting
Basic Settings Refresh Settings
Application Settings Supplementary Cyclic Data Link Monitoring Time
Settings
Constant Link Scan Time
Transient Setting Punctuality Assurance
Maximum No. of Transients
in One Station
Link points extended setting
Interrupt Settings
Transient Transmission Group No.
Parameter Name
Event Reception from Other Stations
Module Operation Mode
Interlink Transmission Settings
APPX
970 Appendix 9 Using the Simulation Function
CC-Link IE Field Network
Parameter Remarks
Required Settings Station Type Station Type A submaster station always operates as a
local station.
Network No. Network No.
Station No. Station No.
Setting Method
Parameter Setting Method Setting Method of Basic/Application Settings
Basic Settings Network Configuration Total Linked Stations
Settings
Station No.
Model Name
Station Type
RX/RY
RWr/RWw
Reserved/Error Invalid Station/System Switching Only "Reserved Station" and "Error
Monitoring Target Station Invalid Station" can be set.
Pairing Since system switching is not supported
by simulator, cyclic transmission is
performed only from a control system.
Network Synchronous Communication This parameter is available only for
network modules (local stations) that are
simulated in the system simulation
support this parameter.
Alias
Comment
Refresh Setting Refresh Setting (SB/SW)
Application Settings Supplementary Cyclic Link Scan Mode
Settings I/O Maintenance Settings Output Hold/Clear Setting
during CPU STOP
Data Link Error Station A
Setting
Output Mode upon CPU
Error
Interrupt Settings
Communication Mode
Parameter Name
Event Reception from Other Stations
Module Operation Mode
Interlink Transmission Settings
Safety Communication To Use or Not to Use the Safety Communication Setting
Setting
Safety Communication Setting
APPX
Appendix 9 Using the Simulation Function 971
CC-Link IE TSN
Parameter Remarks
Required Station Type Station Type
Settings
Network No. Network No.
Station No./IP Address Station No./IP Address Setting Method
Setting
Station No.
IP Address IP Address These parameters are not
available for communicating
Subnet Mask
with an external device.
Default Gateway
Parameter Setting Setting Method of Basic/Application Settings
Method
Basic Settings Network Configuration Station Type
Settings RX/RY
RWr/RWw
LB/LW
IP Address These parameters are not
available for communicating
Subnet Mask
with an external device.
Default Gateway
Reserved/Error Invalid Station
Network Synchronous Communication
Communication Period Multiple Period Setting (Normal-Speed/Low- This parameter is available
Setting Speed) only for local stations.
Station Information Alias
Comment
Refresh Settings
Communication Period Basic Period Setting Transient Transmission Time
Setting
Multiple Period Setting Normal-Speed These parameters are
Low-Speed available only for local
stations.
Safety Communication To Use or Not to Use the Safety Communication Setting
Setting
Safety Communication Setting
Application Communication Speed
Settings
Supplementary Cyclic Station-based Block Data Assurance
Settings
I/O Maintenance Output Hold/Clear Setting during CPU STOP
Settings
Data Link Error Station Setting
Output Mode upon CPU Error
Transient Transmission Group No.
Communication Mode
Parameter Name
Event Reception from Other Stations
Module Operation Mode
Security IP Filter Settings IP Filter These parameters are not
IP Filter Settings Access from IP address available for communicating
with an external device.
below (Deny/Allow)
Range Setting
IP Address
IP Address Excluded from
Range
Interlink Transmission Settings
APPX
972 Appendix 9 Using the Simulation Function
Dedicated instructions for network modules
CC-Link IE Controller Network
Classification Symbol
Link dedicated instruction READ, SREAD, WRITE, SWRITE, SEND, RECV, RECVS, REQ, RRUN, RSTOP, RTMRD, RTMWR
Others UINI
CC-Link IE TSN
Classification Symbol
Link dedicated instruction READ, SREAD, WRITE, SWRITE, SEND, RECV, REQ
Others CCPASET, CCPASETX, UINI
Precautions
Note that no processing is performed for unsupported instructions (NOP processing).
APPX
Appendix 9 Using the Simulation Function 973
Considerations
The following describes the considerations on debugging programs using the simulation function.
RnSFCPU
Safety operation mode
The simulation function can be used in the test mode only.
APPX
974 Appendix 9 Using the Simulation Function
LHCPU
The following explains the display content in the GX Simulator3 (system simulation) screen when simulating a project for an
LHCPU.
• A system is always displayed with all the blocks in the table below configured.
The following table shows the maximum number of modules which can be attached in each block.
Block Number of modules (maximum) Remarks
Main block 9*1 Power supply modules, branch modules, extension modules, and
END covers are not displayed in the GX Simulator3 (system
Extension block 1 10
simulation) screen.
Extension block 2 10
Extension block 3 11
APPX
Appendix 9 Using the Simulation Function 975
General module
When a general module is set in the I/O assignment setting of the system parameter, the inputs (X), outputs (Y), and buffer
memory of the general module can be accessed.
The following table shows the range of accessible inputs (X), outputs (Y), and buffer memory.
Series Module name Type Input (X)/output (Y) Buffer memory
MELSEC iQ-R General CPU module Equivalent to a CPU module of a
simulator
General I/O module Input Follows the number of occupied Equivalent to an input module.
points of a slot set in the I/O
Output Equivalent to an output module.
assignment setting of the system
High-speed input parameter. Equivalent to an input module.
Interrupt Equivalent to an analog input
module.
I/O mixed (Mixed) Equivalent to an I/O module.
I/O mixed (Both sides) Equivalent to an I/O module.
General intelligent module Equivalent to an analog input
module.
MELSEC iQ-L General I/O module Input Equivalent to an input module.
Output Equivalent to an output module.
I/O mixed (Both sides) Equivalent to an I/O module.
General intelligent module Equivalent to an analog input
module.
MELSEC-Q General I/O module Input Equivalent to an input module.
Output Equivalent to an output module.
High-speed input Equivalent to an input module.
Interrupt Equivalent to an analog input
module.
I/O mixed (Mixed) Equivalent to an I/O module.
I/O mixed (Both sides) Equivalent to an I/O module.
General intelligent module Equivalent to an analog input
module.
MELSEC iQ-F General I/O module Follows the I/O points of the system
parameter.
General intelligent module Equivalent to an intelligent module.
Other modules
I/O module
Simulation of the operation does not support I/O module.
Watchdog timer
If the watchdog timer has been set in a project, the processing time for one instruction will be the fastest one among the ones
described in the following:
• Project for an RCPU: MELSEC iQ-R Programming Manual (CPU Module Instructions, Standard Functions/Function
Blocks)
• Project for an FX5CPU: MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks)
APPX
976 Appendix 9 Using the Simulation Function
Attachment of extended SRAM cassette
The simulator operates as if an extended SRAM cassette (8 MB or 16 MB*1) was attached.
A parameter error will occur when specifying the capacity more than 8 MB or 16 MB in "Extended SRAM Cassette Setting" of
"CPU Parameter."
*1 The capacity of an extended SRAM cassette differs depending on the types.
8MB: RnPCPUs, RnSFCPUs, and RnPSFCPUs
16MB: RnCPUs and RnENCPUs
SD memory card
When GX Simulator3 (system simulation) is in RUN, the setting of a virtual SD memory card file cannot be changed.
For details of a virtual SD memory card file, refer to the following:
Page 542 SD memory card
Drive usage
The data in the ROM drive of a CPU module (program memory/data memory) is stored in a temporary folder in the hard disk
of a personal computer.
The ROM drive usage per data depends on the hard disk of a personal computer.
APPX
Appendix 9 Using the Simulation Function 977
When the base setting is not set
The following table shows the operations of GX Simulator3 when the model name of a base unit and the number of slots are
not set.
Base setting Operation of GX Simulator3
Base Module Name Slots
Not set Not set When the number of slots is not set, the system on the simulation operates as
if the eight base units in MELSEC iQ-R series, which have eight slots for each,
were being set.
(R38B 1 unit, R68B 7 units)
Not set Set The system on the simulation operates as if a base unit in MELSEC iQ-R
series (R312B or R612B), which has more slots than the set number, were
being set for the base unit for which the number of slots is set.*1
*1 The slots which exceeds the set number of slots are treated as empty ones.
To use a MELSEC-Q series base unit, set the model name of a base unit and the number of slots.
APPX
978 Appendix 9 Using the Simulation Function
Simulation of network modules
Connection among network modules using cables
The network modules on the network with the same network number operates as all network modules are connected.
APPX
Appendix 9 Using the Simulation Function 979
Web server
The following shows the considerations when using the web server function during a simulation.
For details on this function, refer to the following:
MELSEC iQ-R/MELSEC iQ-F Web Server Function Guide Book
Ex.
When '20111' is displayed in the GX Simulator3 (system simulation) screen, enter 'http://localhost:20111/.'
Web browser
The following web browsers can be used.
Browser Browser version
MELSEC iQ-R series MELSEC iQ-F series
Internet Explorer 11 11
Microsoft Edge 41 41
Google Chrome 62.0 55.0
Precautions
When the LAN setting of Google Chrome is set to use a proxy server, the web server cannot be accessed.
Check the LAN setting and change it so as not to use a proxy server.
APPX
980 Appendix 9 Using the Simulation Function
Account
The following table shows the values in the account setting during a simulation.
Item Value
RCPU FX5CPU
User name User User
Write Device Enable Enable
Authority for Window Display Permit Both Displays Permit Both Displays
Update System Web Page Disable Not supported
Initial Display Window System Web Page System Web Page
Precautions
GX Simulator3 (system simulation) always runs in the state where a user is logging on to the web server.
Therefore, a user cannot log off from the server during a simulation.
Database
A
A database created in an actual SD memory card and one created in a virtual SD memory card are not compatible with each
other. (Even if they are created based on same data, the size of each created database differs.)
To use a database during a simulation, create the database in a virtual SD memory card with GX Simulator3.
For the method for creating a database, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
Operations when an error occurs while these databases are used may differ between a CPU module and GX Simulator3.
APPX
Appendix 9 Using the Simulation Function 981
Appendix 10 Using Sample Programs
This section shows the method for using sample programs (ladder programs), described in e-Manual, in GX Works3.
For the operation method of e-Manual Viewer, refer to e-Manual Viewer Help.
Supported version
To use this function, GX Works3 and e-Manual Viewer of the following versions are required to be installed according to a
sample program to be used in GX Works3.
Operating procedure
The following shows the operating procedure to use a sample program (ladder program) in GX Works3.
Operating procedure
Ladder program without a function block
1. Create module labels in a GX Works3 project and set parameters by following the descriptions in e-Manual.
2. Click "Copy a label (for GX Works3)" in e-Manual to copy the global labels or local labels.
5. Click "Copy Ladder Program (for GX Works3)" in e-Manual to copy the ladder program.
2. Click "Copy a label (for GX Works3)" in e-Manual to copy the global labels or local labels.
5. Click "Copy Ladder Program (for GX Works3)" in e-Manual to copy the ladder program.
8. Set each item in the "FB Instance Name" screen and click the [OK] button.
APPX
982 Appendix 10 Using Sample Programs
Considerations
When a label name is duplicated
An error occurs at the program conversion when a label name in a sample program and one in a project where the program is
pasted are duplicated.
Copy and paste the sample program again by the following operations.
Operating procedure
1. Delete the ladder program pasted into an editor.
4. Change the label name used in the ladder program to the one set in the step 2.
Operating procedure
1. Delete the following data from a project.
• Ladder program pasted into an editor
• Redefined function block (including its FB instance)
A
2. Paste a sample program into a ladder editor in GX Works3.
3. Drag and drop the same function block as the one in the sample program from the element selection window onto the
ladder editor.
APPX
Appendix 10 Using Sample Programs 983
Appendix 11 USB Driver Installation Procedure
To communicate with a CPU module via USB, installing a USB driver is required.
Operating procedure
1. Connect a personal computer and a CPU module with a USB cable, and turn the power of the programmable controller
ON.
2. Right-click "Unknown Device" and click "Update driver" in Windows Device Manager.
3. Select "Browse my computer for drivers" on the "Update Drivers" screen, and specify 'Easysocket\USBDrivers' in the
folder where GX Works3 is installed on the next screen.
When an installation folder is not changed at the installation, the installation folder is as follows:
• 64-bit version operating system: C:\Program Files (x86)\MELSOFT\Easysocket\USBDrivers
• 32-bit version operating system: C:\Program Files\MELSOFT\Easysocket\USBDrivers
If multiple MELSOFT products are already installed, specify 'Easysocket\USBDrivers' which is in the folder of the first product
installed.
If 'Easysocket\USBDrivers' does not exist, search for 'USBDrivers' in the Windows explorer.
APPX
984 Appendix 11 USB Driver Installation Procedure
MEMO
APPX
Appendix 11 USB Driver Installation Procedure 985
Appendix 12 Troubleshooting
This section shows the errors which may occur when using GX Works3 and their corrective actions.
Symptom Check point Corrective action
Contents in the screen are not Is the size of the text and other items • Set the value to 100% (96 DPI, 9 pt etc.).
displayed properly. in the screen set to a value other than • For Windows 10 (version 1703 or later) or later*1, the display of GX Works3
(For example, overlapping of icons, 100% (96 DPI, 9 pt etc.) in Windows can be displayed with high DPI scaling by using a function of the operating
text overflowing from the frame of a settings? system.*2
button, etc.) Select and right-click 'GXW3.exe'*3, then select [Properties] from the
shortcut menu.
Click the [Change high DPI settings] button in the [Compatibility] tab.
Select the checkbox of "Override high DPI scaling behavior. Scaling
performed by:", then select "System" from the pull-down list.
Click the [OK] button.
Timeout occurs while GX Works3 is Is communication with GX Works3 For details, refer to the following:
accessing to a built-in Ethernet CPU allowed when Windows Firewall is Page 561 When communication with GX Works3 is not allowed by the
in Ethernet. enabled? Windows firewall
APPX
986 Appendix 12 Troubleshooting
MEMO
APPX
Appendix 12 Troubleshooting 987
Appendix 13 Differences from Existing MELSOFT
Applications
This section shows the differences between GX Works3 version 1.100E and GX Works2 version 1.621X.
For details on the functions and option settings of GX Works2, refer to the following:
GX Works2 Version 1 Operating Manual (Common)
GX Works2 Version 1 Operating Manual (Simple Project)
GX Works2 Version 1 Operating Manual (Structured Project)
For the differences with PX Developer, refer to the following:
Differences of PX Developer and GX Works3 process control functions(FA-A-0236)
For details on the functions and option settings of PX Developer, refer to the following:
PX Developer Version 1 Operating Manual (Programming Tool)
PX Developer Version 1 Operating Manual (Monitor Tool)
Differences of functions
This section explains the differences of functions from ones of GX Works2.
APPX
988 Appendix 13 Differences from Existing MELSOFT Applications
Common function
These functions can always be used regardless of the editing or setting target.
Project
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
New Page 103 Creating a project
Open Page 105 Opening a project
Close • [Project] [Close]
Save Page 127 Overwriting projects
Save As Page 126 Saving projects under the specified name
Compress/Unpack Compress Page 137 Compressing a project file
Unpack
Delete Page 127 Deleting a project
Verify Page 143 Verifying Projects
Project Revision Revision Entry Page 160 Registering a revision
Revision List Page 162 Revision list screen
Change PLC Type Page 139 Changing the Module Type and Operation
Mode of Projects
Change Project Type
Object New Page 129 Creating data
Rename Page 130 Changing a data name
Delete Page 132 Deleting data
Copy Page 130 Copying and pasting data
Paste
Set as Default Connection Page 558 Switching connection destinations A
Property Page 135 Properties
Intelligent Function Module New Module Page 205 Setting parameters of modules
Delete Module Page 132 Deleting data
Property Page 135 Properties
Save the Positioning Module Data
Read from the Positioning Module Data
Save GX Configurator-QP Data
Import GX Configurator-QP Data
Intelligent Function Module Parameter List Page 214 Checking/changing the number of intelligent
function module parameters
Save/Read FX Read new FX
Special Module Special Module
Data Data
Save FX Special
Module Data
Read from FX
Special Module
Data
Open Other Data Open Other Project Page 107 Opening a GX Works2 format project
Page 110 Opening a PX Developer format project
Page 124 Opening a GX Developer format project
Open Other Data Read ASC Format File Page 115 Opening a GX IEC Developer format project
Export to GX Developer Format File
APPX
Appendix 13 Differences from Existing MELSOFT Applications 989
GX Works2 GX Works3
Supported or Reference/similar function
not
Library Create Page 507 Creating a library file
Install Page 511 Registering user libraries in the library list
Export FB to Library (Project) *1
Deinstall Page 511 Deleting libraries/updating display
information
Reload
Rename *2
Open Page 507 Creating a library file
Close
Change Password
Save As
Save
Help Page 511 Displaying Help
Security Change Password Page 684 Changing a password of the logon user
It is available only in projects for an RnSFCPU and an
RnPSFCPU.
User Management Page 685 User management
It is available only in projects for an RnSFCPU and an
RnPSFCPU.
Data Security Setting
Soft Security Key Management Page 675 Creating/deleting a security key
Print Page 92 Printing Data
Print Preview Page 92 Printing Data
Print Window
Print Window Preview
Printer Setup Page 92 Printing Data
(Recently used files 1 to 4) • [Project] [Recent Projects] [(project path used
recently 1 to 10)]
Start GX Developer • [Project] [Start GX Works2]
Exit Page 49 End
Edit
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Similar function
not
Undo • [Edit] [Undo]
Redo • [Edit] [Redo]
Cut • [Edit] [Cut]
Copy • [Edit] [Copy]
Paste • [Edit] [Paste]
APPX
990 Appendix 13 Differences from Existing MELSOFT Applications
Find/Replace
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Cross Reference Page 457 Displaying cross reference information
Device List Page 465 Displaying Device Usage
Find Device Page 448 Searching for/Replacing Devices and
Labels
Find Instruction Page 450 Searching for/Replacing Instructions
Find Contact or Coil
Find String Page 451 Searching for/Replacing Character Strings
Replace Device Page 448 Searching for/Replacing Devices and
Labels
Replace Instruction Page 450 Searching for/Replacing Instructions
Replace String Page 451 Searching for/Replacing Character Strings
Change Open/Close Contact Page 453 Changing Contacts between Open Contact
and Close Contact
Device Batch Replace Page 454 Batch Replacing of Devices and Labels
Register to Device Batch Replace • [Find/Replace] [Register to Device Batch
Replace]
Convert/Compile
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Build Page 420 Converting any or all programs
Online Program Change Page 600 Writing data after changing programs
partially while a CPU module is running (Online A
program change)
Rebuild All Page 420 Converting any or all programs
APPX
Appendix 13 Differences from Existing MELSOFT Applications 991
View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Toolbar Toolbar name Page 51 Main frame
Display All
Statusbar Page 51 Main frame
Color and Font Page 81 Checking and Changing Colors and Fonts
Docking Window Navigation Page 54 Navigation window
Element Selection Page 57 Element selection window
Output • [View] [Docking Window] [Output]
Cross Reference Page 457 Displaying cross reference information
Device List Page 465 Displaying Device Usage
Device Reference (CC-Link) Page 211 Checking refresh devices assigned to a
module
Device Reference (AnyWireASLINK)
Watch 1 to 4 Page 637 Checking Current Values by Registering
Devices/Labels
Intelligent Function Module 1 to 10 Page 658 Checking Current Values in an Intelligent
Module Monitor Function Module
Intelligent Function Module Guidance
Find/Replace • [View] [Docking Window] [Find/Replace]
Debug Break Point
Break Device
Skip Range
Reset the Window Position to its Default Page 51 Displaying docked windows
Online
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Read from PLC Page 577 Writing/Reading Programmable Controller
Data
Write to PLC
Verify with PLC Page 595 Verifying Programmable Controller Data
Remote Operation Page 759 Remote Operation
Redundant Operation Page 761 Redundant Programmable Controller
Operations
Password/Keyword New Page 695 Setting a file password
Delete
Disable
Soft Security Key Management Page 678 Registering a security key in a program file
PLC Memory Operation Format PLC Memory Page 769 Checking Memory Usage
Clear PLC Memory
Arrange PLC Memory
Delete PLC Data Page 577 Writing/Reading Programmable Controller
Data
PLC User Data Read Page 607 Reading/Writing/Deleting User Data
Write
Delete
Export to ROM Format
Program Memory Batch Download
Latch Data Backup Backup *1
Delete Backup Data *1
APPX
992 Appendix 13 Differences from Existing MELSOFT Applications
GX Works2 GX Works3
Supported or Reference/similar function
not
PLC Module Change Create Backup Data *2
Restore *2
Set Clock Page 758 Clock Setting in a CPU Module
Register/Cancel Display Module Menu
Monitor Monitor Mode Page 268 Switching the ladder edit mode (read/write/
monitor read/monitor write)
Monitor (Write Mode)
Start Monitoring (All Windows) Page 613 Starting/stopping monitoring
Stop Monitoring (All Windows)
Start Monitoring
Stop Monitoring
Change Value Format (Decimal) Page 613 Changing display format of word devices
Change Value Format (Hexadecimal)
Device/Buffer Memory Batch Page 633 Checking Device/Buffer Memory in a Batch
Program List Page 655 Checking the Processing Time of a Program
Interrupt Program List Page 657 Checking Execution Counts of Interrupt
Programs
Change Instance (Function Block)
SFC All Block Batch Monitoring Page 632 Monitoring all SFC blocks in batch/active
steps
SFC Auto Scroll Page 629 Monitoring with the SFC auto-scroll
Watch Start Watching Page 637 Checking Current Values by Registering
Devices/Labels
Stop Watching
Insert Next Object
Display Format of Number Display
Bit Device
ON/OFF Display
Symbol Display A
Register to Watch Page 637 Checking Current Values by Registering
Devices/Labels
Local Device Batch Read + Save CSV
*1 A function of RnCPUs.
For details, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
*2 A function of RnPCPUs.
For details, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
APPX
Appendix 13 Differences from Existing MELSOFT Applications 993
Debug
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Start/Stop Simulation Page 522 Simulation
Instructions Unsupported by Simulation
Modify Value Page 612 Changing current values
Forced Input Output Registration/Cancellation Page 644 Turning Input/Output Devices ON/OFF
Forcibly
Device Test with Execution Condition Register Page 646 Changing Device/Label Value by Setting
Conditions
Registration Check/Disable
Batch Disable
Sampling trace Open Sampling Trace *1
Scan Time Measurement Page 653 Measuring the Scan Time of a Program
Step Execution Stop
Cancel
Break Execution
Step Execution
Execution Option
Break Setting Set/Cancel Break Point
Enable/Disable Break Point
Cancel All Break Points
Break Point Window
Cancel All Break Devices
Break Device Window
Skip Setting Set/Cancel Skip Range
Enable/Disable Skip Range
Cancel All Skip Ranges
Skip Range Window
*1 GX Works3 does not have a similar function. Use the following functions instead.
Data logging function (CPU Module Logging Configuration Tool)
Realtime monitor function (GX LogViewer)
Diagnostics
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
PLC Diagnostics Page 708 Module Diagnostics
Ethernet Diagnostics Page 714 Ethernet diagnostics
CC IE Control Diagnostics Page 715 CC-Link IE Controller Network diagnostics
CC IE Field Diagnostics Page 717 CC-Link IE TSN/CC-Link IE Field Network
diagnostics
CC-Link IEF Basic Diagnostics Page 719 CC-Link IE Field Network Basic diagnostics
MELSECNET Diagnostics Page 720 MELSECNET diagnostics
CC-Link Diagnostics Page 721 CC-Link diagnostics
Sensor/Device Monitor Page 705 Sensor/Device Status Check
System Monitor Page 702 Module Status Check of a System
Online Module Change
APPX
994 Appendix 13 Differences from Existing MELSOFT Applications
Tool
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
IC Memory Card Read IC Memory Card Page 610 Writing to/Reading from a memory card
Write IC Memory Card
Read from IC Memory Card
(Edit and Data Copy)
Write to IC Memory Card
(Edit and Data Copy)
Check Program Page 417 Program check
Check Parameter Page 201 Checking parameters
Clear All Parameters
Check Device Duplication of Global Label Page 241 Checking assigned devices
Device/Label Automatic-Assign Setting
Block Password Page 671 Setting block password
Confirm Memory Size Page 432 Calculating Memory Size
Delete Unused Device Comment Page 406 Deleting unused device comments
Merge Data
Set TEL Data/Connect via Modem Line Connection
Line Disconnection
AT Command Registration
Phone Book
Options
Logging Configuration Tool Page 730 Data Logging Function
Real-time Monitor Function Page 661 Checking Current Logging Data
Ethernet Adapter Module Configuration Tool
Built-in I/O Module Tool Positioning Monitor
A
High-Speed Counter Monitor
I/O Monitor
Check Intelligent Function Module Check Auto Refresh Duplication Page 201 Checking parameters
Parameter
Intelligent Function Module Tool Page 218 Displaying the module tool list
Predefined Protocol Support Function Page 220 Predefined Protocol Support Function
Language Selection *1
Profile Management Register Page 186 Managing Profiles
Delete
Key Customize Page 80 Checking and Changing Shortcut Keys
Options Page 84 Option Settings for Each Function
*1 GX Works3 supports multiple languages, and therefore the display language such as one on the menu can be switched on a personal
computer.
For details, refer to the section.
Page 50 Display Language Switching
APPX
Appendix 13 Differences from Existing MELSOFT Applications 995
Window
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Cascade • [Window] [Cascade]
Tile Vertically • [Window] [Tile Vertically]
Tile Horizontally • [Window] [Tile Horizontally]
Arrange Icons • [Window] [Arrange Icons]
Close All • [Window] [Close All Windows]
(Switch to other window) • [Window] [(Window information being displayed)]
Other Window Page 52 Arranging work windows
Help
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
GX Works2 Help Page 42 Displaying Help
Connection to MITSUBISHI ELECTRIC FA Global Website Page 43 Connecting to MITSUBISHI ELECTRIC FA
Global Website
About Page 43 Checking the version of GX Works3
Label
The following table shows the functions available for setting and editing labels.
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Delete
Select All
New Declaration (Before) Page 229 Editing a row
New Declaration (After)
Delete Row
Read from CSV File Page 245 Exporting/importing a label
Write to CSV File
System Label Reservation to Register System Label Page 255 Registering labels in system label database
Reservation to Release System Label Page 255 Releasing system labels
Import System Label Page 255 Importing system labels in system label
database to GX Works3
Reflect to System Label Database Page 255 Registering labels in system label database
Check the changes of the System Page 256 Importing the changes of system label
Label Database database
Execute Verification Synchronous Page 256 Verifying system label information
with System Label
Sort Page 229 Sorting labels
Unused label list Page 463 Displaying a list of unused labels
APPX
996 Appendix 13 Differences from Existing MELSOFT Applications
Device comment
The following table shows the functions available for editing device comments.
Edit
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Delete
Select All
Import from Sample Comment Page 409 Reading sample comments
Clear All (All Devices) Page 406 Clearing all device comments
Clear All (All Displayed Devices)
Read from CSV File Page 407 Importing/exporting device comments
Write to CSV File
Hide Bit Specification Information • [Edit] [Hide All Bit Specification Information]
Show Bit Specification Information • [Edit] [Show All Bit Specification Information]
Cut The Range including Hidden Bit Specification Information Page 404 Creating device comments
Copy The Range including Hidden Bit Specification Information
Paste The Range including Hidden Bit Specification Information
View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Text Size Bigger • [View] [Zoom] [Zoom In]
Smaller • [View] [Zoom] [Zoom Out]
A
APPX
Appendix 13 Differences from Existing MELSOFT Applications 997
Device memory
The following table shows the functions available for setting the device memory.
Edit
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Delete
Insert Row
Input Device
Paste Text Page 438 Setting character strings
FILL Page 437 Setting values in batch
Find/Replace
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or not
Find Device Cell
View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Display Mode • [View] [Display Format Detailed Setting]
Register • [View] [Display Format Detailed Setting]
Setup
Tool
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Read Device Memory from PLC Page 439 Writing/Reading Data to/from CPU Module
Write Device Memory to PLC
Read from Excel File
Write to Excel File Page 440 Exporting Device Memory Data
APPX
998 Appendix 13 Differences from Existing MELSOFT Applications
Verification result
The following table shows the functions available while a verification result is displayed.
Edit
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Write to CSV File Page 145 Checking a verification result
Find/Replace
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Next Unmatch Page 145 Checking a verification result
Previous Unmatch
View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Return to Result List • [View] [Return to Result List]
Close Detail Result • [View] [Close Detailed Result]
Close All Detail Result • [View] [Close All Detailed Result]
Sampling trace A
GX Works3 does not have a similar function. Use the following functions instead.
Function Reference
Data logging MELSEC iQ-R CPU Module User's Manual (Application)
Realtime monitor GX LogViewer Version 1 Operating Manual
APPX
Appendix 13 Differences from Existing MELSOFT Applications 999
Ladder editor
The following table shows the functions available for editing data in a ladder editor.
Edit
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Continuous Paste Page 291 Pasting device numbers or label names
consecutively
Delete
Restore After Ladder Conversion Page 292 Returning ladder diagrams to the condition
before editing
Insert Row • [Edit] [Insert Row]/[Delete Row]/[Insert Column]/
[Delete Column]
Delete Row
Insert Column
Delete Column
NOP Batch Insert Page 289 Inserting/deleting NOP instruction
NOP Batch Delete
Edit Line *1
Delete Line *1
Change TC Setting Page 289 Changing TC setting values
Ladder Edit Mode Read Mode Page 268 Switching the ladder edit mode (read/write/
monitor read/monitor write)
Write Mode
Read Mode (All Windows)
Write Mode (All Windows)
Ladder Symbol Open Contact Page 269 Entering ladders
Close Contact
Open Branch
Close Branch
Coil
Application Instruction
Vertical Line
Horizontal Line
Delete Vertical Line
Delete Horizontal Line
Pulse Contact Rising Pulse
Symbol
Falling Pulse
Rising Pulse Branch
Falling Pulse
Branch
Rising Pulse Close
Falling Pulse Close
Rising Pulse Close
Branch
Falling Pulse Close
Branch
Invert Operation Results • [Edit] [Ladder Symbol] [Invert Operation
Results]/[Operation Result Rising Pulse]/[Operation
Operation Result Rising Pulse
Result Falling Pulse]
Operation Result Falling Pulse
Inline Structured Text Insert Inline Structured Text Box Page 281 Inserting an inline structured text box
Display Template Page 315 Displaying syntax templates
Mark Template (Left)
Mark Template (Right)
Edit FB Instance Page 273 Changing an FB instance name
APPX
1000 Appendix 13 Differences from Existing MELSOFT Applications
GX Works2 GX Works3
Supported or Reference/similar function
not
Documentation Device Comment Page 284 Entering/editing comments
Statement Page 285 Entering/editing statements
Note Page 288 Entering/editing notes
Statement/Note Batch Edit Page 285 Entering/editing statements
Page 288 Entering/editing notes
Easy Edit Connect Line to Right-Side Symbol • [Edit] [Easy Edit] [Connect Horizontal Line to
Right-Side Ladder Symbol]
Connect Line to Left-Side Symbol • [Edit] [Easy Edit] [Connect Horizontal Line to
Left-Side Ladder Symbol]
Enter/Delete HLine Rightward • [Edit] [Easy Edit] [Enter/Delete Horizontal Line
to Rightward]
Enter/Delete HLine Leftward • [Edit] [Easy Edit] [Enter/Delete Horizontal Line
to Leftward]
Enter/Delete VLine Downward • [Edit] [Easy Edit] [Enter/Delete Vertical Line to
Downward]
Enter/Delete VLine Upward • [Edit] [Easy Edit] [Enter/Delete Vertical Line to
Upward]
Switch Open/Close Contact Page 270 Switching methods for contacts/instructions
Switch Statement/Note Type • [Edit] [Easy Edit] [Switch Statement/Note Type]
Instruction Partial Edit • [Edit] [Easy Edit] [Instruction Partial Edit]
Edit List for Ladder Block
Read from CSV File Page 298 Importing from a CSV file
Write to CSV File Page 301 Exporting to a CSV file
*1 In GX Works3, a line can be drawn with the shortcut keys (+///) (Page 271 Drawing a line)
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1001
Find/Replace
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Change Module I/O No.
Switch Statement/Note Type
Line Statement List Page 286 Displaying a list
Jump Page 296 Jump
Jump to Next Ladder Block Start • [Find/Replace] [Jump to Next Ladder Block Start]
Jump to Previous Ladder Block Start • [Find/Replace] [Jump to Previous Ladder Block
Start]
Next Device
Next Contact
Next Coil
Back • [Find/Replace] [Previous]/[Next]
APPX
1002 Appendix 13 Differences from Existing MELSOFT Applications
View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Comment Page 284 Entering/editing comments
Statement Page 285 Entering/editing statements
Note Page 288 Entering/editing notes
Display Lines of Monitored Current Value • [View] [Display Lines of Monitored Current Value]
Display Format for Device Comment • [View] [Display Format for Device Comment]
Display Ladder Block Hide Ladder Block *1
Display Ladder Block *1
Hide All Ladder Block *1
Display All Ladder Block *1
Device Display Device Display
Batch Device Display Page 264 Configuration of a ladder editor
Cancel All Device Display
Display Compile Result
Zoom • [View] [Zoom] [Set Zoom Factor]/[Zoom In]/
[Zoom Out]/[Fit the editor width to the window width]
Text Size Bigger Page 81 Checking and Changing Colors and Fonts
The character size can be changed for each editor by
Smaller
using the following menu.
• [View] [Text Size] [Bigger]/[Smaller]
Open Other Window Open Reference Window *2
Update Reference Window *2
Open Reference Source Window *2
Tile FB Horizontally • [View] [Open Program Body of Selected Element]
*1 The display status of ladder blocks in a ladder editor can be changed by using the following menu.
[View] [Outline] [Expand/Collapse of Outlines]/[Expand/Collapse of All Outlines]/[Show/Hide of Outlines]
*2 By splitting a ladder editor vertically, ladder blocks which are described in different parts can be edited and monitored at once.
For details, refer to the following:
Page 267 Splitting a ladder editor
Online
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or not
Monitor Monitor Condition Setting
Monitor Stop Condition Setting
Entry Ladder Monitor
Delete All Entry Ladder
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1003
SFC diagram
The following table shows the functions available for editing SFC diagrams.
By comparing with GX Works2, the functions are enhanced and their operability have been improved.
For the editing method, refer to the following:
Page 342 Creating an SFC Program
Edit
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Delete
Arrange SFC
Change TC Setting Page 289 Changing TC setting values
Ladder Edit Mode Read Mode
Write Mode
Read Mode (All Windows)
Write Mode (All Windows)
SFC Step Attribute No Attribute Page 351 Changing a step name/step No./step
attribute/step attribute target
Stored Coil
Stored Operation (without Transition
Check)
Stored Operation (with Transition
Check)
Reset
Sort SFC Step No.
Documentation SFC Step/Transition Comment
Find/Replace
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or not
Jump
Find Jump Step
Change SFC Step No.
Convert/Compile
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Convert Block Page 368 Converting a block
View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Program Display
SFC Step/Transition Comment Page 343 Configuration of an SFC diagram editor
Zoom • [View] [Zoom] [Set Zoom Factor]/[Zoom In]/
[Zoom Out]
Text Size Bigger
Smaller
SFC Column Setting
APPX
1004 Appendix 13 Differences from Existing MELSOFT Applications
GX Works2 GX Works3
Supported or Reference/similar function
not
Open SFC Blocklist Page 372 Displaying an SFC block list
MELSAP3 Display Page 347 Display format of action/transition
MELSAP-L (Instruction Format) Display
MELSAP-L (Start Conditions Format) Display
Open Zoom/Start Destination Block Page 343 Configuration of an SFC diagram editor
Back to Start SFC Block Page 352 Creating a step that makes another block
activated
Open Header Page 373 Displaying local label editor
Reset the Window Position to its Default
Online
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or not
Monitor Monitor Condition Setting
Monitor Stop Condition Setting
Find/Replace
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Jump Page 373 Jump A
Find Block No.
Block Information Find Device Page 373 Searching for block information
View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
SFC Block List Comment Page 372 Displaying an SFC block list
Device Display
Open SFC Body Page 372 Displaying SFC diagrams
Open Header Page 373 Displaying local label editor
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1005
ST editor
The following table shows the functions available for editing data in an ST editor.
Edit
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Delete
List Operands
Display Template Page 315 Displaying syntax templates
Mark Template (Left)
Mark Template (Right)
Find/Replace
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Jump Page 317 Jump
Bookmark Toggle Bookmark Page 479 Registering a Bookmark
Bookmark List
Next Bookmark
Previous Bookmark
Delete All Bookmarks
View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Display Compile Result
Zoom Set Zoom Factor • [View] [Zoom] [Set Zoom Factor]
Increase Zoom • [View] [Zoom] [Zoom In]
Decrease Zoom • [View] [Zoom] [Zoom Out]
Zoom Header/Body Header • [View] [Open Label Setting of Selected Element]
[Open in Front]
Body • [View] [Open Program of Selected Element]
[Open in Front]
Open Header • [View] [Open Label Setting] [Open in Front]
ST Monochrome Display
Online
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Monitor Start Monitoring Page 622 Monitor
Start Monitor (bit type only)
APPX
1006 Appendix 13 Differences from Existing MELSOFT Applications
Structured Ladder/FBD editor
The following table shows the functions available for editing data in a Structured Ladder/FBD editor.
Edit
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Delete
Select Mode Contacts/coils can always be placed when the editor is
in the 'Write' mode.
Interconnect Mode Lines can always be drawn when the editor is in the
'Write' mode.
Guided Mode Guided Editing
Overwrite Mode
Insert Mode
Line Mode
Auto Comment
Auto Connect • [Edit] [Edit Mode] [Element Auto-connect]
Recalculate Line Lines are always be arranged automatically when the
editor is in the 'Write' mode.
Page 335 Correcting layout in an FBD network block
Page 335 Correcting layout in an FBD network block
in a batch
Insert Row Page 335 Layout correction
Insert Column
New Ladder Block List Top
Before
After
A
Bottom
Input Instruction In GX Works2, enter an instruction in "Input
Instruction" screen.
In GX Works3, instructions can be entered directly in
the editor.
Ladder Symbol Open Contact Page 325 Inserting from the menu or on the toolbar
Close Contact
Coil
Jump
Return
Open Branch
Close Branch
Input Label
Output Label
Horizontal Line Segment
Vertical Line Segment
Rising Pulse Page 325 Inserting from the menu or on the toolbar
Falling Pulse
Rising Pulse Close
Falling Pulse Close
Comment
Ladder Block Label
Left Power Rail
List Operands • [Edit] [Change Name]
Number of Pins Increment Page 330 Adding/deleting arguments
Delete
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1007
GX Works2 GX Works3
Supported or Reference/similar function
not
Ladder Block List Page 340 Displaying FBD network blocks in a list
Signal Configuration Configure Page 326 Switching methods for contacts/instructions
Toggle
Find/Replace
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Jump Page 340 Displaying FBD network blocks in a list
View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
View Mode Label Labels used in programs are always displayed with
their label names.
Device
Address
Comment
Change Label-Device-Address Mode
Change Label-Comment Mode
Change I/O Label-Comment Mode Page 319 Configuration of an FBD/LD editor
Add Label Display Items Device
Address
Label Comment Page 319 Configuration of an FBD/LD editor
Device Comment
All Device Display
Cancel All Device Display
Grid Page 319 Configuration of an FBD/LD editor
Print Wrap Position • [View] [Display Page Break]
Display Compile Result
Zoom Set Zoom Factor • [View] [Zoom] [Set Zoom Factor]
Increase Zoom • [View] [Zoom] [Zoom In]
Decrease Zoom • [View] [Zoom] [Zoom Out]
Zoom Header/Body Header • [View] [Open Label Setting of Selected Element]
Body • [View] [Open Program Body of Selected Element]
Open Header • [View] [Open Label Setting] [Open in Front]
APPX
1008 Appendix 13 Differences from Existing MELSOFT Applications
CC IE Field configuration window
The following table shows the functions available while the "CC IE Field Configuration" window is displayed.
Edit
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Copy
Paste
Select All
Delete
View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Docking Window Module List
Output
Supplementary Information
Object Name Display
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1009
CC-Link configuration window
The following table shows the functions available while the "CC-Link Configuration" window is displayed.
CC-Link Configuration
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Change Module Replace General CC-Link Module Page 208 Setting network configuration and target
devices
Change to General CC-Link Module
Open System Configuration Open AnyWireASLINK Configuration
Check System Configuration
Online Detect Now
Verification of the Configuration with
the Connected Module
Parameter Processing of Device Page 208 Setting network configuration and target
Station devices
Command Execution of Device
Station
Backup Device Station
Restore Device Station
Close with Discarding the Setting
Close with Reflecting the Setting
Edit
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Copy
Paste
Select All
Delete
View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Docking Window Module List
Output
Verify Result
APPX
1010 Appendix 13 Differences from Existing MELSOFT Applications
AnyWireASLINK configuration window
The following table shows the functions available while the "AnyWireASLINK Configuration" window is displayed.
AnyWireASLINK Configuration
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Change Module Replace General AnyWireASLINK Page 208 Setting network configuration and target
Module devices
Change to General AnyWireASLINK
Module
Address Auto-Input
Check System Configuration
Online Detect Now
Verification of the Configuration with
the Connected Module
Parameter Processing of Remote
Module
Backup Remote Module
Restore Remote Module
Close with Discarding the Setting
Close with Saving the Setting
Edit
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
A
Copy
Paste
Select All
Delete
View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Docking Window Module List
Output
Verify Result
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1011
Ethernet configuration window
The following table shows the functions available while the "Ethernet Configuration" window is displayed.
The settings of a network configuration and a target device in GX Works3 is set in the configuration setting screen. (Page
208 Setting network configuration and target devices)
For details on the settings, refer to each user's manual.
Ethernet Configuration
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Change Module Replace General SLMP Module Page 208 Setting network configuration and target
devices
Change to General SLMP Module
Check System Configuration
Online Detect Now
Communication Setting Reflection of
Ethernet Device
Parameter Processing of Ethernet
Device
Backup Ethernet Device
Restore Ethernet Device
Close with Discarding the Setting
Close with Reflecting the Setting
Edit
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Copy
Paste
Select All
Delete
View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Docking Window Module List
Output
APPX
1012 Appendix 13 Differences from Existing MELSOFT Applications
CC-Link IEF Basic configuration window
The following table shows the functions available while the "CC-Link IEF Basic Configuration" window is displayed.
Edit
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Copy
Paste
A
Select All
Delete
View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Docking Window Module List
Output
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1013
Sensor/device monitor screen
The following table shows the functions available while the sensor/device monitor screen is displayed.
Sensor/Device Monitor
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Open System Configuration Open AnyWireASLINK Configuration Page 705 Sensor/Device Status Check
View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Docking Window Monitoring Information Page 705 Sensor/Device Status Check
Online (CC-Link)
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/Similar function
not
Parameter Processing of Device Station Page 705 Sensor/Device Status Check
Command Execution of Device Station
Backup Device Station
Restore Device Station
Start Monitoring
Stop Monitoring
Online (AnyWireASLINK)
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Parameter Processing of Remote Module Page 705 Sensor/Device Status Check
Backup Remote Module
Restore Remote Module
Start Monitoring
Stop Monitoring
APPX
1014 Appendix 13 Differences from Existing MELSOFT Applications
Online (Ethernet)
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/Similar function
not
Parameter Processing of Ethernet Device Page 705 Sensor/Device Status Check
Backup Ethernet Device
Restore Ethernet Device
Start Monitoring
Stop Monitoring
GX Simulator2 screen
The following table shows the functions available while "GX Simulator2" screen is displayed.
Tool
: Similar function supported, : Similar function not supported
GX Simulator2 GX Simulator3
Supported or Reference/similar function
not
Backup Device Memory in Simulation Save The device memory of GX Simulator3 can be read and
written by using the following menu in GX Works3.
Read
• [Online] [Read from PLC]
• [Online] [Write to PLC]
I/O System Setting Page 547 Simulation of External Device Operations
Options
: Similar function supported, : Similar function not supported
GX Simulator2 GX Simulator3
Supported or not A
Start in minimized status
Save device memory at stop
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1015
Predefined protocol support
The following tables show the functions available while the predefined protocol support function is used.
File
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
New Page 220 Predefined Protocol Support Function
Open
Close
Save
Save As
Open Other Data Serial Communication Module Format
Ethernet Module Format
Built-in/Adapter Serial Format
Built-in Ethernet Format
Print
Exit
Edit
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Add Protocol Page 220 Predefined Protocol Support Function
Change to Editable Protocol
Protocol Detailed Setting
Add Receive Packet
Delete
Copy
Paste
Delete Multiple Protocols
Copy Multiple Protocols
Paste Multiple Protocols
Device Batch Setting
Save User Protocol Library
Module Read/Write
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Read from Module
Write to Module
Module Verification
APPX
1016 Appendix 13 Differences from Existing MELSOFT Applications
Tool
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Setting Device List
Register Predefined Protocol Library
Debug
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Module Selection
Protocol Execution Log
State Monitor
Window
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Cascade
Tile Horizontally
(Switch to other window)
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1017
Differences of option settings
This section explains the differences of option settings from ones of GX Works2.
Note that the option settings of GX Works3 can be set in the "Options" screen ([Tool] ] [Options]).
For details, refer to the following:
Page 84 Option Settings for Each Function
APPX
1018 Appendix 13 Differences from Existing MELSOFT Applications
Project
Common Setting
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Automatically change language according to system • "Edit" "Language" "Automatically change
language according to system"
Use Dedicated Instruction for GX Developer, GX IEC Developer
Connect directly to PLC on creating a new project
Enable the security check for the project
Automatic Save
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Save project after compiling • "Project" "Save" "Save project after
conversion"
Save project after writing to PLC • "Project" "Save" "Save project after Write to
PLC"
Save project after online change • "Project" "Save" "Save project after Online
Program Change"
Save project after changes in TC setting values are written to PLC • "Project" "Save" "Save project after changing
TC Setting Value and writing to PLC"
Change history
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3 A
Supported or Similar setting
not
Revision is not Registered when Save Project • "Project" "Revision" "Operational Setting"
Revision is Registered when Save Project "Register to the Revision When Saving Project"
Display confirmation message showing whether to register history • "Project" "Revision" "Operational Setting"
"Display Confirmation Message Showing Whether to
Register Revision"
Automatically set revision titles • "Project" "Revision" "Operational Setting"
"Automatically Set Revision Titles"
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1019
Program Editor
All Editors
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Device Comment Program/Program File Name • "Project" "Device Comment Reference/Reflection
Target" "(program/program file name)"
Specify the Reference/Reflection • "Project" "Device Comment Reference/Reflection
Target Target"
Reference/Reflect the other, when • "Project" "Device Comment Reference/Reflection
device comment is not set Target" "Reference/Reflection Target for Device
Comment" "Reference/Reflect the Other Device
Comment When Setting Device Comment"
[Apply to all programs] button
[Global] button • "Project" "Device Comment Reference/Reflection
Target" "(program/program file name)"
Select 'Common' for the application and reference
destinations of device comments for each device.
[Local] button • "Project" "Device Comment Reference/Reflection
Target" "(program/program file name)"
Select 'Each Program' or the application and reference
destinations of device comments for each device.
[PLC Parameter Setting] button
Structured Ladder/FBD/ST
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Tool Hint Monitored Value • "Program Editor" "FBD/LD Editor" "Tool Hint"
Class "Display Item in Tool Hint"
Device
Address
Device Comment
Data Type
Constant Value
Label Comment
Remark
Tool Hint Display Format
APPX
1020 Appendix 13 Differences from Existing MELSOFT Applications
Structured Ladder/FBD
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Label Display label name/comment of contact or coil in • Comment: "Program Editor" "FBD/LD Editor"
multiline "Comment" "Display Format" "Number of
Rows"
• Label name: "Program Editor" "FBD/LD Editor"
"Element (Ladder Symbol)" "Display Format"
"Numbers of Wrapping Rows for Device/Label
Name"
• Label name: "Program Editor" "FBD/LD Editor"
"Element (Ladder Symbol)" "Display Format"
"Number of Cells for Device/Label Name"
Device • "Program Editor" "FBD/LD Editor" "Element
(Ladder Symbol)" "Display Format" "Display
Labels and Devices"
Address
Label Comment • "Program Editor" "FBD/LD Editor" "Comment"
"Display Item" "Display Label/Device
Device Comment
Comment"
Declare new label name • "Program Editor" "FBD/LD Editor" "Enter
Element" "Operational Setting" "Open
undefined label registration window at element
entry"
FB/FUN Wrap instance name for function block • "Program Editor" "FBD/LD Editor" "FB/FUN"
"Display Format" "Number of Wrapping Rows for
Instance Name"
Specify the number of enable characters for label
name/comment
Automatic input/output labels
Automatic ENO labels A
Automatically Add Output Variable to
VAR_IN_OUT
Pin overwrites
Double clicking opens header • "Program Editor" "FBD/LD Editor" "FB/FUN"
Double clicking opens body "Operational Setting" "Operation on Double-
clicking"
Guided Ladder Wrapping
Return Contacts
Open Structured Ladder/FBD Editor in guided
mode
Allow hotkey repeater
Enter label names after contacts and coils
Auto Comment Block Width
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1021
ST
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Auto Indention • "Program Editor" "ST Editor" "Edit Operation"
"Automatic Indention"
Instruction/label name prediction • "Edit" "Instruction/Device/Label Candidacy
Display" "Operational Setting" "Instruction/
Device/Label name Prediction"
The setting is applied to all program editors.
Tabulator Length • "Program Editor" "ST Editor" "Edit Operation"
"Tabulator Length"
APPX
1022 Appendix 13 Differences from Existing MELSOFT Applications
Ladder/SFC
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Enter ladder Check duplicated coil • "Program Editor" "Ladder Editor" "Enter
ladder" "Operational Setting" "Check
Duplicated Coil"
Enter label comment and device comment • "Program Editor" "Ladder Editor" "Enter
ladder" "Operational Setting" "Enter label
comment and device comment"
Do not leave the Device/Label Comment field editing
status
Do not display note in ladder input window when edit • "Program Editor" "Ladder Editor" "Enter
coil instructions ladder" "Operational Setting" "Display Note in
Ladder Input Window When Editing Coil
Instructions"
Check special relay/special register compatible with
A-PLC
Display available instruction tool hints in entering • "Program Editor" "Ladder Editor" "Enter
instruction ladder" "Display Setting" "Display tool hint of
instruction when entering instruction"
Display available instructions in entering instruction • "Edit" "Instruction/Device/Label Candidacy
Display" "Operational Setting" "Instruction/
Device/Label name Prediction"
Display available labels in entering instruction • "Edit" "Instruction/Device/Label Candidacy
Display" "Operational Setting" "Instruction/
Device/Label name Prediction"
• "Edit" "Instruction/Device/Label Candidacy
Display" "Candidate Display Setting" "Display
Local Labels"
• "Edit" "Instruction/Device/Label Candidacy
Display" "Candidate Display Setting" "Display
Global Labels"
A
Tool Hint Monitored Value • "Program Editor" "Ladder Editor" "Tool Hint"
"Display Item in Tool Hint"
Class
Device
Device Comment
Data Type
Constant Value
Label Comment
Remark
Tool Hint Display Format • "Program Editor" "Ladder Editor" "Tool Hint"
"Display in Multiline"
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1023
Ladder
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Comment Device Comment • "Program Editor" "Ladder Editor" "Comment"
"Display Items"
Statement
Note
Device Comment Display Format • "Program Editor" "Ladder Editor" "Comment"
"Display Format"
Copy device comment in copying ladder • "Program Editor" "Ladder Editor" "Comment"
"Operational Setting" "Copy Device Comment
in Copying Ladder"
Ladder Diagram Display Connection of Ladder Diagram • "Program Editor" "Ladder Editor" "Ladder
Diagram" "Display Format" "Display
Connection of Ladder Diagram"
Use the Switching Ladder Edit Mode (Read, Write, • "Program Editor" "Ladder Editor" "Ladder
Monitor, Monitor (Write)) Diagram" "Edit Operation" "Use the Switching
Ladder Edit Mode (Read, Write, Monitor, Monitor
(Write))"
Display labels and devices • "Program Editor" "Ladder Editor" "Ladder
Diagram" "Display Format" "Display labels and
devices"
Display STL instruction in contact format.
Display Instruction Help at symbol error occurrence • "Program Editor" "Ladder Editor" "Enter
Ladder" "Operational Setting" "Display Help
ladder input window when symbol errors occur"
Open Undefined Label Registration dialog at ladder • "Program Editor" "Ladder Editor" "Enter
entry Ladder" "Operational Setting" "Open
Undefined Label Registration Window at Ladder
Entry"
Set initial value to '1' for Enter HLine/Delete HLine • "Program Editor" "Ladder Editor" "Ladder
dialog Diagram" "Edit Operation" "Set initial value to
'1' for Enter HLine/Delete HLine dialog"
Stop at the connection points (Instruction/Vertical • "Program Editor" "Ladder Editor" "Ladder
Line) when enter or delete horizontal line Diagram" "Edit Operation" "Stop at the
connection points (Instruction/Vertical Line) when
enter or delete horizontal line"
APPX
1024 Appendix 13 Differences from Existing MELSOFT Applications
SFC
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Comment Block List • "Program Editor" "SFC Diagram Editor"
"Blocklist" "Comment Display Items" "Display
Label/Device Comment"
Step/Transition • "Program Editor" "SFC Diagram Editor"
"Comment" "Display Item" "Display Label/
Device Comment"
SFC 1 SFC Edit Area
Tile SFC and Zoom vertically Arrange
SFC Display Window
Ratio
MELSAP-L Label/Device Display Format
Jump to start destination block
SFC 2 Leave comment or step No. selected
Zoom Open Zoom with New Window • "Program Editor" "SFC Diagram Editor"
"Action/Transition" "Display Format" "Window
Display Method"
Number of Action/Transition Contacts • "Program Editor" "Ladder Editor" "Ladder
Diagram" "Display Format" "Display
Connection of Ladder Diagram"
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1025
Device Comment Editor
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Number of Device Comment Edit/Display Characters • "Other Editor" "Device Comment Editor"
"Number of Editing/Displaying Characters"
"Number of Device Comment Editing/Displaying
Characters"
Extended setting
Execute the operation including the hidden bit specification information
APPX
1026 Appendix 13 Differences from Existing MELSOFT Applications
Parameter
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or not
Use user defined parameter
Display number of columns for CC-Link list setting
Display number of rows for CC-Link station information
Monitor
Common
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or not
Disable Current Value Changing by Pressing the + keys
Start monitoring if converted or compiled program is opened during monitoring
Structured Ladder/FBD/ST
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Display Format of Monitoring Value • "Monitor" "ST Editor" "Display Setting"
"Display Format of Monitoring Value"
• "Monitor" "FBD/LD Editor" "Display Setting"
"Display Format of Monitoring Value"
Monitor buffer memory and link direct device • "Monitor" "ST Editor" "Operational Setting"
"Monitor Buffer Memory and Link Memory"
• "Monitor" "FBD/LD Editor" "Operational
A
Setting" "Monitor Buffer Memory and Link
Memory"
Significant Characters • "Monitor" "ST Editor" "Character String
Monitoring Setting" "Numbers of Characters to
Display"
• "Monitor" "FBD/LD Editor" "Character String
Monitoring Setting" "Numbers of Characters to
Display"
• "Monitor" "SFC Diagram Editor" "Character
String Monitoring Setting" "Numbers of
Characters to Display"
Verify with PLC setting before starting monitoring
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1027
Ladder/SFC
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Set automatic registration destination • "Monitor" "Ladder Editor" "Setting for
Automatic Registration to Watch Window" "Set
Automatic Registration Destination"
• "Monitor" "SFC Diagram Editor" "Setting for
Automatic Registration to Watch Window" "Set
Automatic Registration Destination"
Ladder
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Display Format of Monitoring Value • "Monitor" "Ladder Editor" "Display Setting"
"Display Format of Monitoring Value"
Monitor buffer memory and link direct device • "Monitor" "Ladder Editor" "Operational Setting"
"Monitor Buffer Memory and Link Memory"
FXGP format Ladder monitor
Display monitored value by device/label name of contact/coil instruction • "Monitor" "Ladder Editor" "Operational Setting"
"Display Monitored Value by Device/Label Name
of Contact/Coil Instruction"
Display Lines for Monitoring Current Value • "Monitor" "Ladder Editor" "Display Setting"
"Display Lines for Monitoring Current Value"
SFC
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Watch Step Not Transferring within Watching Time
Program/Program File Name
Target All Blocks
Specify the Block Detail Setting
Stop Transition Watch Monitor when Detected
Monitor block start with new window • "Monitor" "SFC Diagram Editor" "Auto-scroll
Monitor Setting" "Monitor the Block Start in a New
Window"
APPX
1028 Appendix 13 Differences from Existing MELSOFT Applications
PLC Read/Write
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Keep last file selection for PLC read/write dialog • "Online" "Write to PLC" "Operational Setting"
"Store file selection status in writing to PLC."
Turn PLC to STOP at time of PLC write after executing Rebuild All and do not
execute remote RUN
Clear the device ranges set in the Device/Label Automatic-Assign setting to 0
at time of PLC write after a Rebuild All operation
Check the password in reading/writing/verifying/deleting PLC
Check program cache memory when writing to PLC
Merge device comment with the project data at time of PLC read
Show a completion message if the PLC read/write window is automatically • "Online" "Write to PLC" "Operational Setting"
closed "Show a completion message when the window
is automatically closed in executing"
Show the confirmation message in executing Write to PLC • "Online" "Write to PLC" "Operational Setting"
"Show a confirmation message in executing"
Online Change
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Execute fall instruction
Transfer program cache memory to program memory
Execute online change based on relative step No. A
Execute online change by Compile • "Convert" "Online Program Change"
"Operational Setting" "Execute Online Program
Change in Converting"
Under booting, reflect changes to boot source during online program change • When performing the online program change during
the boot operation, select the checkbox of "Reflect
Changes to Boot Source."
Symbolic Information
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Setting for Writing Symbolic Information to PLC
Write symbolic information when Online Program Change is executed
In the Write to PLC window, keep the symbolic information selected status as • "Online" "Program Restore Information"
a write target "Operational Setting" "Enable the setting to write/
not to write program restore information"
Setting for Save Destination of Symbolic Information to PLC
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1029
Save Destination of Device Comment
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or not
Set save destination of device comment to the target memory of PLC data
Save Destination of Device Comment
Compile
Basic Setting
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Enable calling function block and using inline ST
Do not execute duplicated coil check, ladder check and consistency (pair) • "Convert" "Basic Setting" "Program Check"
check after Build or Online Program Change "Execute Program Check after Build or Online
Program Change"
Do not target the SET instruction for duplicated coil check • "Convert" "Basic Setting" "Program Check"
"Target the SET instruction for duplicated coil check"
Use the same label name in global label and local label • "Convert" "Basic Setting" "Operational Setting"
"Use the Same Label Name in Global Label and
Local Label"
Create cross reference information after completion compile.
Output Result
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or Similar setting
not
Stop Build by • "Convert" "Output Result" "Cancel Conversion"
"Number of Conversions to Cancel"
Disable Warning and Notification Display the Use Status Notification of
Message Automatic-Assign Device in Output
Result
Ladder/SFC
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or not
Compile Condition Make sure that the instruction is not
used beyond the device range
assigned by the label
APPX
1030 Appendix 13 Differences from Existing MELSOFT Applications
Structured Ladder/FBD/ST
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or not
Compile Condition 1 Use lower-case device names as labels
Function Output Setting
Allow VAR_OUTPUT at FB call (ST)
Add temporary variables as arguments to use
macrocode
Compile Condition 2 (D)INT_TO_BOOL_E,(D)WORD_TO_BOOL_E,
TIME_TO_BOOL_E(I)
NOT_E
LIMITATION_E,MAXIMUM_E,MINIMUM_E
EQ_E,NE_E,GT_E,GE_E,LT_E,LE_E
AND_E,OR_E, XOR_E
User Defined Function with EN/ENO
User Defined Function Block with EN/ENO
Compile Condition 3 Automatically assign each system device to output
of functions that use EN/ENO
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1031
Intelligent Function Module
QD75/LD75 Type Positioning
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or not
Display Specification of Positioning Data
Confirm PLC operation status when writing a Data
Display a confirmation message when writing to flash ROM
Guidance
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or not
Display intelligent function module guidance
iQ Works Interaction
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or not
Enable an editing of parameters set in MELSOFT Navigator
Sampling trace
: Similar setting supported, : Similar setting not supported
GX Works2 GX Works3
Supported or not
Display a message to confirm operation contents at the start of trace
Display a message to confirm discard of the trace result at the start of trace
Display a caution message in saving data as GX LogViewer format CSV file
APPX
1032 Appendix 13 Differences from Existing MELSOFT Applications
MEMO
APPX
Appendix 13 Differences from Existing MELSOFT Applications 1033
INDEX
B Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .288
G U
Global device . . . . . . . . . . . . . . . . . . . . . . . . . 259 USB driver . . . . . . . . . . . . . . . . . . . . . . . . . . . .984
User authentication . . . . . . . . . . . . . . . . . . . . . .683
I User data . . . . . . . . . . . . . . . . . . . . . . . . . . . . .607
L Z
Latch clear . . . . . . . . . . . . . . . . . . . . . . . . . . . 772 Zero clear . . . . . . . . . . . . . . . . . . . . . . . . . . . .771
Local device . . . . . . . . . . . . . . . . . . . . . . . . . . 259
M
MC . . . . . . . . . . . . .................... 283
Memory dump . . . . .................... 726
Module FB . . . . . . . .................... 500
Module label . . . . . . .................... 248
Monitoring . . . . . . . .................... 613
Multiple CPU setting .................... 202
N
Network configuration . . . . . . . . . . . . . . . . . . . 208
NOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
1034
MEMO
1035
REVISIONS
*The manual number is given on the bottom left of the back cover.
Revision date *Manual number Description
June 2014 SH(NA)-081215ENG-A First edition
July 2014 SH(NA)-081215ENG-B Partial correction
October 2014 SH(NA)-081215ENG-C Added or modified parts
Section 1.2, Section 2.4, Section 2.8, Section 2.9, Section 3.1, Section 3.2, Section 4.2, Section 4.3,
Section 4.4, Section 5.1, Section 5.2, Section 5.4, Section 6.1, Section 6.5, Section 12.3, Chapter 13,
Section 13.2, Section 13.4, Section 13.8, Section 15.2, Section 15.3, Section 15.4, Section 16.1,
Section 17.3, Appendix 1
January 2015 SH(NA)-081215ENG-D Added or modified parts
TERMS, Chapter 1, Section 1.1, Section 1.2, Section 1.3, Section 1.4, Section 2.3, Section 2.4,
Section 2.9, Section 3.1, Section 3.2, Section 3.3, Section 3.4, Section 3.5, Chapter 4, Section 4.1,
Section 4.2, Section 4.3, Section 4.4, Section 5.1, Section 5.2, Section 5.3, Section 5.4, Section 6.1,
Section 6.2, Section 6.3, Section 6.4, Section 6.5, Section 6.6, Section 7.1, Section 8.1, Chapter 9,
Section 9.1, Section 9.2, Section 9.3, Section 9.4, Section 9.5, Section 9.6, Section 9.7, Chapter 10,
Section 10.1, Section 10.2, Chapter 11, Section 11.1, Section 11.2, Section 12.1, Section 12.2,
Section 12.3, Section 12.4, Section 12.5, Section 12.6, Section 12.7, Section 13.1, Section 13.3,
Section 13.4, Chapter 14, Section 14.1, Section 14.2, Section 14.5, Section 14.6, Section 14.7,
Section 14.8, Section 15.3, Section 15.4, Section 15.5, Chapter 16, Section 16.1, Section 16.2,
Section 16.3, Section 16.4, Section 18.1, Section 18.2, Section 18.4, Appendix 1, Appendix 3,
Appendix 4
April 2015 SH(NA)-081215ENG-E Added or modified parts
TERMS, Section 2.3, Section 2.4, Section 2.9, Section 3.2, Section 3.3, Section 3.4, Section 3.5,
Section 3.6, Section 4.2, Section 4.3, Section 4.4, Section 6.1, Section 6.2, Section 6.3, Section 6.7,
Chapter 10, Section 10.1, Section 10.3, Section 10.4, Section 13.2, Section 15.4, Chapter 16,
Section 16.2, Section 16.3, Appendix 1, Appendix 4
July 2015 SH(NA)-081215ENG-F Added or modified parts
TERMS, Section 1.2, Section 1.3, Section 1.4, Section 2.1, Section 2.3, Section 2.4, Section 2.7,
Section 2.9, Section 3.1, Section 3.2, Section 3.3, Section 3.4, Section 3.5, Section 3.6, Section 3.7,
Section 4.1, Section 4.2, Section 4.3, Section 5.1, Section 5.2, Section 5.4, Section 6.1, Section 6.2,
Section 6.3, Section 6.5, Section 6.6, Section 6.8, Section 6.9, Section 6.10, Chapter 9, Section 9.1,
Section 9.2, Section 9.3, Section 9.4, Section 9.5, Section 9.6, Section 9.7, Chapter 10, Section 10.1,
Section 10.3, Section 10.4, Chapter 11, Section 11.3, Section 12.3, Section 13.1, Section 13.3,
Section 13.6, Chapter 14, Section 14.1, Section 14.2, Section 14.3, Section 14.4, Section 14.9,
Chapter 15, Section 15.3, Section 15.4, Section 15.5, Section 15.6, Section 15.7, Section 16.2,
Section 16.4, Chapter 18, Section 18.3, Section 18.5, Appendix 1, Appendix 2, Appendix 3,
Appendix 4, Appendix 5
January 2016 SH(NA)-081215ENG-G Added or modified parts
TERMS, Section 2.2, Section 2.3, Section 2.4, Section 2.9, Section 3.2, Section 3.3, Section 3.5,
Section 4.1, Section 4.2, Section 4.3, Section 4.5, Section 5.2, Section 6.1, Section 6.3, Section 6.4,
Section 6.5, Section 6.6, Section 6.7, Section 6.8, Section 6.9, Section 6.10, Chapter 9, Section 9.5,
Section 10.1, Section 10.2, Section 10.3, Section 10.4, Section 11.1, Section 11.2, Section 11.3,
Section 11.4, Section 12.1, Section 12.2, Section 13.1, Section 13.3, Section 13.6, Section 14.2,
Section 14.3, Section 14.9, Section 18.1, Appendix 1, Appendix 2, Appendix 4, Appendix 5,
Appendix 6, Appendix 7
February 2016 SH(NA)-081215ENG-H Added or modified parts
Section 2.3, Section 2.4, Section 3.2, Section 3.5, Section 6.5, Section 6.8, Section 6.9, Section
13.1, Section 13.3, Section 15.5, Appendix 1, Appendix 7
May 2016 SH(NA)-081215ENG-I Added or modified parts
TERMS, Section 1.2, Section 1.3, Section 1.4, Section 1.5, Section 1.6, Section 1.8, Section 2.1,
Section 2.2, Section 2.3, Section 2.4, Section 2.6, Section 3.1, Section 3.2, Section 3.3, Section 3.4,
Section 3.5, Section 3.6, Section 4.1, Section 4.2, Section 4.4, Section 5.1, Section 5.2, Section 5.3,
Chapter 6, Section 6.2, Section 6.3, Section 6.7, Section 6.8, Section 6.9, Section 6.10, Section 7.3,
Section 8.1, Chapter 9, Section 9.1, Section 9.5, Section 9.6, Section 9.7, Chapter 10, Section 10.1,
Section 10.3, Section 10.4, Section 11.3, Section 11.4, Section 12.1, Section 12.2, Section 12.3,
Section 12.6, Section 12.7, Section 12.8, Section 13.1, Section 13.2, Section 13.3, Section 13.4,
Section 13.6, Section 14.1, Section 14.2, Section 14.3, Section 14.4, Section 14.5, Section 14.6,
Section 14.8, Section 14.9, Chapter 15, Section 15.3, Section 15.5, Section 16.1, Section 16.2,
Section 16.3, Chapter 18, Section 18.1, Section 18.2, Section 18.3, Section 18.4, Section 18.6,
Appendix 1, Appendix 3, Appendix 4, Appendix 5, Appendix 7, Appendix 8
1036
Revision date *Manual number Description
October 2016 SH(NA)-081215ENG-J Added or modified parts
TERMS, Section 2.4, Section 2.5, Section 2.8, Section 2.9, Section 3.1, Section 3.2, Section 3.5,
Section 4.1, Section 4.2, Section 5.2, Section 6.3, Section 6.5, Section 6.6, Section 6.7, Section 6.9,
Section 6.10, Section 7.2, Section 7.3, Chapter 9, Section 9.1, Section 9.3, Section 9.6, Section 11.1,
Section 11.2, Section 11.3, Section 11.4, Section 12.1, Section 12.2, Section 12.6, Section 13.1,
Section 13.2, Section 13.3, Section 13.6, Section 14.1, Section 14.2, Section 14.4, Section 14.5,
Section 14.8, Section 14.10, Section 15.6, Section 16.1, Section 16.3, Section 16.4, Chapter 17,
Section 17.1, Appendix 1, Appendix 2, Appendix 4, Appendix 5, Appendix 7, Appendix 8
January 2017 SH(NA)-081215ENG-K Added or modified parts
TERMS, Section 1.2, Section 1.7, Section 1.8, Section 2.4, Section 2.8, Section 2.9, Section 3.1,
Section 3.2, Section 3.4, Section 3.5, Section 5.4, Section 6.1, Section 6.2, Section 6.3, Section 6.5,
Section 6.6, Section 6.7, Section 6.8, Section 6.9, Section 7.1, Chapter 10, Section 10.1, Section
13.1, Section 13.3, Chapter 14, Section 14.1, Section 14.2, Section 14.11, Section 16.2, Section
16.4, Section 18.4, Appendix 1, Appendix 4, Appendix 5, Appendix 7
February 2017 SH(NA)-081215ENG-L Added or modified parts
Section 3.6, Section 5.4
April 2017 SH(NA)-081215ENG-M Added or modified parts
Section 1.2, Section 2.4, Section 2.7, Section 2.8, Section 2.9, Section 3.2, Section 3.4, Section 3.5,
Section 4.1, Section 4.2, Section 5.2, Section 6.3, Section 6.5, Section 6.7, Section 6.9, Section 9.1,
Section 10.1, Section 11.3, Section 12.1, Section 12.2, Section 12.9, Section 13.1, Section 13.2,
Section 13.3, Section 13.6, Chapter 14, Section 14.2, Section 14.9, Section 14.10, Section 16.4,
Chapter 17, Section 17.1, Section 17.2, Section 17.3, Section 18.4, Appendix 1, Appendix 4,
Appendix 5, Appendix 7, Appendix 9
July 2017 SH(NA)-081215ENG-N Added or modified parts
Section 1.2, Section 3.3, Section 3.5, Section 6.9, Section 10.1, Section 13.2, Appendix 1, Appendix
4
October 2017 SH(NA)-081215ENG-O Added or modified parts
TERMS, Section 1.2, Section 1.3, Section 1.4, Section 1.7, Section 1.8, Section 2.3, Section 2.4,
Section 2.7, Section 2.8, Section 2.9, Section 3.1, Section 3.2, Section 3.4, Section 3.5, Section 3.6,
Chapter 4, Section 4.1, Section 4.2, Section 4.3, Section 4.4, Section 5.1, Section 5.2, Section 5.3,
Section 5.4, Section 5.5, Section 6.2, Section 6.3, Section 6.4, Section 6.5, Section 6.6, Section 6.7,
Section 6.8, Section 6.9, Section 6.10, Section 7.2, Section 7.3, Section 8.2, Section 8.3, Chapter 9,
Section 9.1, Section 9.6, Section 9.7, Chapter 10, Section 10.1, Section 10.2, Section 10.3, Section
10.4, Section 11.1, Section 11.3, Section 12.1, Section 12.8, Section 13.1, Section 13.2, Section
13.3, Section 13.4, Section 13.6, Chapter 14, Section 14.1, Section 14.2, Section 14.3, Section 14.4,
Section 14.5, Section 14.6, Section 14.8, Section 14.10, Chapter 15, Section 15.1, Section 15.2,
Section 15.3, Section 15.4, Section 15.5, Section 15.6, Section 15.7, Section 16.1, Section 16.2,
Section 16.3, Section 16.4, Section 16.5, Section 17.1, Section 17.2, Section 17.3, Chapter 18,
Section 18.1, Section 18.2, Section 18.3, Section 18.4, Section 18.6, Appendix 1, Appendix 2,
Appendix 3, Appendix 4, Appendix 5, Appendix 7, Appendix 10, Appendix 11
April 2018 SH(NA)-081215ENG-P Added or modified parts
Section 1.2, Section 1.7, Section 2.3, Section 2.4, Section 2.8, Section 3.2, Section 3.5, Section 3.7,
Chapter 4, Section 4.1, Section 4.2, Section 4.6, Section 5.1, Section 5.2, Section 6.3, Section 6.4,
Section 6.5, Section 6.9, Section 6.10, Section 7.2, Chapter 9, Section 9.1, Section 9.3, Section 9.4,
Section 9.5, Section 9.6, Section 9.7, Section 10.1, Section 10.3, Section 11.2, Section 11.3, Section
11.4, Section 12.1, Section 12.7, Section 12.10, Section 13.1, Section 13.2, Section 13.3, Chapter
14, Section 14.2, Section 14.3, Section 14.4, Section 14.5, Section 14.6, Section 14.9, Section
14.11, Section 15.3, Section 15.4, Section 15.5, Chapter 16, Section 16.1, Section 16.2, Section
16.4, Section 17.3, Appendix 1, Appendix 2, Appendix 4, Appendix 5, Appendix 7, Appendix 11
July 2018 SH(NA)-081215ENG-Q Added or modified parts
Section 2.4, Section 5.2, Section 6.3, Section 6.7, Section 6.9, Section 7.2, Section 9.1, Section 9.2,
Section 9.3, Section 9.4, Section 9.6, Section 10.1, Section 11.1, Section 11.3, Section 13.3, Chapter
14, Section 14.1, Section 14.2, Section 14.4, Section 14.6, Appendix 1, Appendix 4, Appendix 5,
Appendix 7, Appendix 11
October 2018 SH(NA)-081215ENG-R Added or modified parts
Section 1.3, Section 2.3, Section 2.4, Section 2.8, Section 2.9, Section 3.2, Section 3.3, Section 3.5,
Section 4.2, Section 4.6, Section 5.4, Section 6.3, Section 6.4, Section 6.5, Section 6.6, Section 6.7,
Section 6.10, Section 9.6, Section 10.3, Section 11.3, Section 12.6, Section 13.1, Section 13.6,
Section 14.2, Section 14.5, Section 14.12, Chapter 15, Section 15.4, Section 15.5, Section 15.6,
Section 16.4, Appendix 1, Appendix 4, Appendix 5, Appendix 11
December 2018 SH(NA)-081215ENG-S Added or modified parts
Section 1.2, Section 2.8, Section 3.5, Section 13.2, Section 16.4, Appendix 1, Appendix 4
1037
Revision date *Manual number Description
April 2019 SH(NA)-081215ENG-T Added or modified parts
Section 1.2, Section 1.7, Section 2.2, Section 2.4, Section 2.7, Section 2.8, Section 3.2, Section 3.3,
Section 3.4, Section 3.5, Section 4.2, Section 4.3, Section 4.6, Section 5.2, Section 6.2, Section 6.3,
Section 6.4, Section 6.5, Section 6.6, Section 6.7, Section 6.9, Section 6.10, Section 7.4, Chapter 9,
Section 9.1, Section 9.4, Section 9.5, Section 9.6, Section 10.3, Section 12.1, Section 12.2, Section
12.3, Section 12.4, Section 12.7, Section 12.8, Section 13.1, Section 13.2, Section 13.3, Section 14,
Section 14.2, Section 14.4, Section 14.6, Section 14.12, Section 15.7, Section 16.2, Section 16.4,
Appendix 1, Appendix 3, Appendix 4, Appendix 5, Appendix 7, Appendix 8, Appendix 9, Appendix 11
June 2019 SH(NA)-081215ENG-U Added or modified parts
Section 2.4, Section 4.3, Appendix 1
July 2019 SH(NA)-081215ENG-V Added or modified parts
Section 2.4, Section 2.7, Section 3.5, Section 3.7, Section 5.2, Section 6.3, Section 6.4, Section 6.5,
Section 6.6, Section 6.7, Section 6.8, Section 6.9, Section 6.10, Section 9.1, Section 9.4, Section
9.5, Section 10.3, Section 14.1, Section 14.4, Section 16.3, Section 17.3, Appendix 1, Appendix 5,
Appendix 11
October 2019 SH(NA)-081215ENG-W Added or modified parts
TERMS, Chapter 1, Section 1.2, Section 1.9, Section 2.3, Section 2.4, Section 2.9, Section 3.1,
Section 3.2, Section 3.3, Section 3.4, Section 3.5, Section 3.6, Chapter 4, Section 4.1, Section 4.2,
Section 4.3, Section 5.3, Section 5.5, Section 6.3, Section 6.4, Section 6.5, Section 6.6, Section 6.7,
Section 6.10, Section 6.11, Section 7.5, Section 9.6, Section 11.1, Section 11.3, Section 12.1,
Section 12.2, Section 12.3, Section 12.4, Section 12.5, Section 12.6, Section 12.7, Section 12.8,
Section 12.9, Section 12.10, Section 13.1, Section 13.3, Section 13.4, Section 13.6, Chapter 14,
Section 14.2, Section 14.4, Section 14.5, Section 14.6, Section 14.12, Section 14.13, Section 15.3,
Section 15.5, Section 16.1, Section 16.3, Section 16.4, Section 16.5, Section 17.1, Section 17.2,
Chapter 18, Section 18.7, Appendix 1, Appendix 3, Appendix 4, Appendix 5, Appendix 7, Appendix
11
November 2019 SH(NA)-081215ENG-X Partial correction
December 2019 SH(NA)-081215ENG-Y Added or modified part
Appendix 1
February 2020 SH(NA)-081215ENG-Z Added or modified parts
Section 3.2, Section 12.1, Section 12.7, Section 12.8, Section 14.1, Section 16.4, Appendix 1
June 2020 SH(NA)-081215ENG-AA Added or modified parts
SAFETY PRECAUTIONS, TERMS, Section 1.2, Section 2.1, Section 2.4, Section 2.9, Section 3.1,
Section 3.2, Section 3.3, Section 3.5, Section 3.7, Section 4.2, Section 4.6, Section 5.2, Section 6.3,
Section 6.4, Section 6.5, Chapter 9, Section 9.5, Section 9.6, Section 9.8, Section 11.1, Section 11.3,
Section 11.4, Section 12.2, Section 13.1, Section 14.2, Section 14.4, Section 16.1, Section 16.3,
Section 16.4, Section 16.5, Section 16.6, Chapter 17, Section 17.3, Section 17.4, Section 18.4,
Appendix 1, Appendix 2, Appendix 3, Appendix 4, Appendix 5, Appendix 6, Appendix 8, Appendix 9,
Appendix 10, Appendix 11, Appendix 12, Appendix 13
October 2020 SH(NA)-081215ENG-AB Added or modified parts
SAFETY PRECAUTIONS, CONDITIONS OF USE FOR THE PRODUCT, Section 1.2, Section 2.1,
Section 2.4, Section 3.3, Section 3.5, Section 3.7, Section 4.1, Section 4.2, Section 5.2, Section 5.4,
Section 5.5, Section 6.3, Section 6.4, Section 6.5, Section 6.6, Section 6.7, Chapter 9, Section 9.3,
Section 9.8, Section 9.9, Section 10.4, Section 11.2, Section 12.10, Section 13.1, Section 14.2,
Section 14.4, Section 14.10, Section 16.1, Section 16.3, Section 17.3, Section 17.4, Section 18.7,
Appendix 1, Appendix 2, Appendix 5, Appendix 8, Appendix 9, Appendix 13
January 2021 SH(NA)-081215ENG-AC Added or modified parts
TERMS, GENERIC TERMS AND ABBREVIATIONS, Section 2.5, Section 2.8, Section 3.5, Section
3.7, Section 4.2, Section 4.3, Section 4.6, Section 5.2, Section 13.1, Section 13.2, Section 16.4,
Section 16.5, Chapter 17, Section 17.3, Section 17.4, Section 18.4, Appendix 1, Appendix 2
April 2021 SH(NA)-081215ENG-AD Added or modified parts
GENERIC TERMS AND ABBREVIATIONS, Section 1.8, Section 2.3, Section 2.4, Section 3.2,
Section 3.3, Section 3.4, Section 3.6, Section 4.2, Section 4.3, Section 4.6, Section 5.2, Section 6.3,
Section 6.4, Section 6.5, Section 6.6, Section 9.1, Section 9.2, Section 9.6, Section 9.8, Section
10.1, Section 10.3, Section 11.2, Section 11.4, Section 12.2, Section 12.3, Section 13.2, Section
13.3, Section 13.6, Chapter 14, Section 14.1, Section 14.2, Section 14.3, Section 14.4, Section 14.8,
Section 16.2, Section 16.5, Section 17.4, Chapter 18, Section 18.4, Section 18.7, Section 18.8,
Appendix 1, Appendix 2, Appendix 7, Appendix 9, Appendix 13
July 2021 SH(NA)-081215ENG-AE Added or modified parts
Section 2.1, Section 10.1, Appendix 1
1038
Revision date *Manual number Description
October 2021 SH(NA)-081215ENG-AF Added or modified parts
GENERIC TERMS AND ABBREVIATIONS, Section 2.3, Section 2.4, Section 2.5, Section 2.10,
Section 3.2, Section 3.4, Section 3.6, Section 4.6, Section 5.2, Section 6.1, Section 6.3, Section 6.4,
Section 6.5, Section 6.6, Section 6.7, Section 9.1, Section 9.3, Section 9.4, Section 9.5, Section 9.6,
Section 9.7, Section 9.8, Section 9.9, Section 10.1, Section 10.3, Section 11.1, Section 11.3, Section
12.6, Section 13.4, Section 14.1, Section 14.2, Section 14.4, Section 14.11, Section 15.2, Section
16.1, Section 16.4, Section 17.4, Appendix 1, Appendix 2, Appendix 4, Appendix 5, Appendix 7,
Appendix 9, Appendix 13
January 2022 SH(NA)-081215ENG-AG Added or modified parts
Section 2.4, Section 3.2, Section 4.2, Section 13.1, Chapter 14, Section 14.1, Section 14.8, Section
15.5, Section 15.7, Section 16.5, Appendix 1, Appendix 2, Appendix 13
April 2022 SH(NA)-081215ENG-AH Added or modified parts
GENERIC TERMS AND ABBREVIATIONS, Section 2.3, Section 2.4, Section 3.3, Section 4.2,
Section 6.3, Section 6.4, Section 6.7, Section 6.9, Section 10.1, Section 14.1, Section 14.4,
Appendix 1, Appendix 2, Appendix 9, Appendix 13
July 2022 SH(NA)-081215ENG-AI Added or modified parts
Section 15.5, Appendix 1
October 2022 SH(NA)-081215ENG-AJ Added or modified parts
GENERIC TERMS AND ABBREVIATIONS, Section 2.4, Section 3.2, Section 3.3, Section 4.2,
Section 4.6, Section 5.2, Section 6.3, Section 6.5, Section 6.6, Section 6.7, Section 6.10, Section
11.4, Section 13.1, Section 14.2, Section 14.3, Section 14.4, Section 16.5, Section 16.6, Section
17.4, Section 18.7, Appendix 1, Appendix 2, Appendix 5, Appendix 9, Appendix 13
April 2023 SH(NA)-081215ENG-AK Added or modified parts
GENERIC TERMS AND ABBREVIATIONS, Section 2.4, Section 3.2, Section 3.3, Section 3.5,
Section 3.7, Section 3.8, Section 4.2, Section 5.2, Section 6.1, Section 6.3, Section 6.6, Section 6.8,
Section 6.9, Section 6.10, Section 6.11, Section 9.3, Section 9.7, Section 10.3, Section 11.3, Section
12.2, Section 12.3, Section 13.1, Section 13.3, Section 13.4, Chapter 14, Section 14.1, Section 14.2,
Section 14.3, Section 14.4, Section 14.8, Section 14.11, Chapter 15, Section 15.2, Section 15.5,
Section 15.8, Section 16.1, Section 16.2, Section 16.5, Section 17.4, Section 18.4, Appendix 1,
Appendix 2, Appendix 4, Appendix 5, Appendix 8, Appendix 9, Appendix 13
June 2023 SH(NA)-081215ENG-AL Added or modified parts
Section 3.3, Section 3.5, Section 3.7, Section 3.8, Section 6.11, Section 10.3, Section 13.1, Chapter
15, Section 15.1, Section 15.2, Section 15.8, Appendix 1, Appendix 2, Appendix 8
October 2023 SH(NA)-081215ENG-AM Added or modified parts
Section 1.9, Section 2.4, Section 2.10, Section 3.3, Section 4.2, Section 5.2, Section 6.7, Section
6.10, Section 8.3, Section 9.6, Section 9.7, Section 12.6, Section 13.1, Section 13.7, Section 14.4,
Section 14.5, Section 14.13, Section 14.14, Chapter 15, Section 16.5, Section 16.6, Section 17.4,
Section 18.4, Appendix 1, Appendix 2, Appendix 4, Appendix 13
1039
INFORMATION AND SERVICES
For further information and services, please contact your local Mitsubishi Electric sales office or representative.
Visit our website to find our locations worldwide.
TRADEMARKS
Microsoft, Excel, Internet Explorer, Microsoft Edge, Windows, Windows XP, and Windows Vista are trademarks of the
Microsoft group of companies.
Android and Google Chrome are either registered trademarks or trademarks of Google LLC.
Safari is a trademark of Apple Inc.
IOS (iOS) is either a registered trademark or a trademark of Cisco Systems, Inc. and/or its affiliates in the United States and
certain other countries, and iOS is used under license by Apple Inc.
Subversion is either a registered trademark or a trademark of the Apache Software Foundation in the United States and/or
other countries.
TOYOPUC is either a registered trademark or a trademark of JTEKT Corporation.
Simulink is a registered trademark of The MathWorks, Inc.
The company names, system names and product names mentioned in this manual are either registered trademarks or
trademarks of their respective companies.
In some cases, trademark symbols such as '' or '' are not specified in this manual.
COPYRIGHTS
The screens (screenshots) are used in accordance with the Microsoft Corporation guideline.
FlexGrid for Windows Forms
Copyright 2002-2010 ComponentOne LLC.
SharpSvn 1.8
Copyright 2007-2012 The SharpSvn Project
For details, refer to "MELSOFT\GPPW3\Licenses\SharpSvn-License.txt" in the folder in which this product has been installed.
FluentFTP
Copyright 2015 Robin Rodricks and FluentFTP Contributors
RapidJSON v1.1.0
Copyright 2015 THL A29 Limited, a Tencent company, and Milo Yip.
For details, refer to "MELSOFT\GPPW3\Licenses\RapidJSON-License.txt" in the folder in which this product has been
installed.
1040
SH(NA)-081215ENG-AM(2310)
MODEL:GXW3-O-E
HEAD OFFICE: TOKYO BLDG., 2-7-3, MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
NAGOYA WORKS: 1-14, YADA-MINAMI 5-CHOME, HIGASHI-KU, NAGOYA 461-8670, JAPAN
When exported from Japan, this manual does not require application to the
Ministry of Economy, Trade and Industry for service transaction permission.