GXwork3 Operating Manual
GXwork3 Operating Manual
GXwork3 Operating Manual
-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.
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.
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 94
3.1 Project File and Data Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
File format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Safety project backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Data configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
3.2 Creating a Project File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Creating a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Opening a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Opening another format project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Opening a GX Works2 format project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Opening a PX Developer format project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Opening a GX IEC Developer format project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Opening a GX Developer format project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Saving a project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Deleting a project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
3.3 Creating Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Creating data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Editing data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Associating data with a help file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
3.4 Searching the navigation window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
3.5 Changing the Module Type and Operation Mode of Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
3.6 Verifying Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Verification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Checking a verification result. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
3.7 Project Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Registering a revision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Revision list screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
3.8 Project Version Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Registering/acquiring/editing/deleting a project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Update Revision screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
3.9 Managing Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
6
Common operations for parameter settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Setting system parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Setting parameters of control CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Setting parameters of modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
Parameter interaction with MELSOFT Navigator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
4.3 Other Settings of Intelligent Function Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Setting with a module tool/drive tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Simple motion module setting function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Motion control setting function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
CONTENTS
4.4 Predefined Protocol Support Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Start and End. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
4.5 Circuit Trace Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
4.6 Change Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
PART 3 PROGRAMMING
7
Changing TC setting values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
Copying and pasting a ladder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
Returning ladder diagrams to the condition before editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
Changing ladder blocks temporarily . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Searching/replacing data in a program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Displaying instruction help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
Copying to the clipboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
Importing/exporting ladder programs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
6.4 Creating an ST Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Configuration of an ST editor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Entering programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
Searching/replacing data in a program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
Displaying instruction help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
6.5 Creating an FBD/LD Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
Configuration of an FBD/LD editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
Entering programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
Linking a comment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
Displaying FBD network blocks in a list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
Searching/replacing data in a program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
Displaying Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
6.6 Creating an SFC Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
Configuration of an SFC diagram editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
Creating SFC diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
Creating/displaying Zooms (action/transition) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
Displaying an SFC block list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
Searching/replacing data in a program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
Displaying Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
6.7 Setting Initial Values of FB Properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
Display/setting an FB property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
FB property page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
FB property management (offline). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
6.8 Registering Device Comments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
Device comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
Configuration of a device comment editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
Creating device comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
Deleting unused device comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
Clearing all device comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
Importing/exporting device comments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
Searching device comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
Reading sample comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
6.9 Checking a program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
Syntax check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
Program check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
6.10 Converting Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Converting any or all programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Performing the online program change simultaneously at conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
Checking for errors and warnings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
6.11 Calculating Memory Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
8
7.1 Device Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
7.2 Configuration of a Device Memory Editor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
Setting the display format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
7.3 Setting Device Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
Setting a value for each point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
Setting values in batch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
Setting character strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
Clearing whole memory of device memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
Linkage with initial device values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
CONTENTS
7.4 Writing/Reading Data to/from CPU Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
7.5 Exporting Device Memory Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
9
CHAPTER 11 PROGRAM SIMULATION 472
11.1 Simulation Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
Safety and handling consideration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
11.2 Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
Simulation of a CPU module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
11.3 System Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
Multiple CPU system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480
Programmable controller CPU and motion CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
Simple motion module/motion module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 488
Cyclic transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 490
SD memory card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494
Saving a simulation environment file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
Opening a simulation environment file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498
Ending a system simulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498
11.4 Simulation of External Device Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
I/O System Setting function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
Execution procedure of I/O System Setting function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
Executing I/O System Setting function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
Available devices/labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
10
Writing data after changing programs partially while a CPU module is running (Online program change). . . . 549
Writing data for each file while a CPU module is running (file batch online change) . . . . . . . . . . . . . . . . . . . . 554
13.4 Reading/Writing/Deleting User Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556
13.5 Deleting All Files (Initialization) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557
13.6 Reading/Writing the Label Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557
13.7 Writing/Reading Data to/from Memory Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558
Configuration of the memory card operation screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558
Writing to/Reading from a memory card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559
CONTENTS
14.1 Monitor Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562
14.2 Checking Execution Programs on a Program Editor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565
Ladder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569
ST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 571
FBD/LD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572
SFC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575
14.3 Checking Device/Buffer Memory in a Batch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 582
14.4 Checking Current Values by Registering Devices/Labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585
14.5 Turning Input/Output Device ON/OFF Forcibly. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
14.6 Changing Device/Label Value by Setting Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 593
Registration of a device test with execution conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 593
Displaying a registered device test with execution conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595
14.7 Pausing/Restarting the Operation of Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597
Pause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598
Restart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599
List display. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599
14.8 Checking Processing Time of Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 600
14.9 Checking Execution Counts of Interrupt Programs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 602
14.10 Checking Current Values in an Intelligent Function Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603
14.11 Checking Current Logging Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 607
Procedure for using the realtime monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 607
14.12 Checking Tag Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 608
Checking tag data on the gauge window (faceplate). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 608
PX Developer Monitor Tool interaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611
14.13 Setting Current Values of FB Properties as their Initial Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 612
FB Property Management (Online) screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 612
11
15.3 Preventing Illegal Program Execution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 624
Procedure for using the security key authentication function (execution prevention) . . . . . . . . . . . . . . . . . . . . 624
Writing/deleting security key to/from CPU module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 625
15.4 Preventing Illegal Access to Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627
User authentication function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627
Procedure for using the user authentication function (access prevention) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 628
Logging on to a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 628
Changing password of logon user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 628
User management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 629
15.5 Preventing Illegal Access to CPU Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 630
Procedure for using the user authentication function (access prevention) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 632
Writing/reading user information to/from CPU module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 632
Logging on to CPU module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 632
Changing password. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 633
Authentication destination setting in the online function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 633
Logging off from a CPU module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 633
Copying user information to the other system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 633
15.6 Preventing Illegal Data Reading/Writing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 634
File password function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 634
Procedure for using the file password function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 636
Setting a file password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 637
15.7 Restricting Access from Other Than Specific Communication Route . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639
Remote password function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639
Procedure for using the remote password function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639
Setting remote password. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640
12
Deleting memory dump results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 669
17.2 Data Logging Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 670
Procedure for using the data logging function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 670
Setting internal buffer capacity for the data logging function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 671
17.3 Recording Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 672
Procedure for using the recording function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 672
Settings of the recording function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 672
Reading/deleting a recording file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 674
17.4 Checking Collected Data on Program Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 676
CONTENTS
Checking memory dump results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 676
Checking logging data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678
Checking a recording file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 680
Operating the seek bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 682
Adding a log marker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 685
Checking an event history (offline monitor) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 688
Displaying waveform data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690
Displaying the GOT offline monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691
Playing a video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692
APPENDIX 713
Appendix 1 Additions and Changes from Previous Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713
Functions, operability, and performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713
Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 776
Appendix 2 Using a Project in a Different Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 780
Appendix 3 Using a Previous Version of Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 792
Checking logging data in version 1.063R or earlier. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 792
Appendix 4 Unusable Character Strings (Reserved Words) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 795
Appendix 5 Applicable Devices in GX Works3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 798
RCPUs and LHCPUs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 798
FX5CPUs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 800
13
Remote head modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 801
Appendix 6 Label Memory Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 803
Appendix 7 Replacement of Another Format Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 805
Replacement of a GX Works2 format project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 805
Replacement of a PX Developer format project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 823
Replacement of a GX Developer format project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 830
Appendix 8 Considerations for Changing from FX5CPUs to RCPUs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 835
Appendix 9 Using the Simulation Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 839
Supported modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 839
Supported CPU module functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 846
Supported devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 854
Supported instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 855
Supported parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 859
Process response operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 866
Module buffer memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868
Link devices of network module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 870
Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 871
Considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 874
Appendix 10Using Sample Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 882
Appendix 11 USB Driver Installation Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 884
Appendix 12Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 886
Appendix 13Differences from Existing MELSOFT Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 888
Differences of functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 888
Differences of option settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 918
INDEX 933
REVISIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 935
TRADEMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 938
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
For a process control system
Term Description
Assignment information data Assignment information on the tag data assigned to a file register. Device information of a CPU module is stored.
Faceplate Gauge window on which an indicator such as a controller is displayed in image format. Monitoring the tag data and
changing the current value can be performed.
FB property A label of VAR_PUBLIC' class or 'VAR_PUBLIC_RETAIN' class in a local label defined in an FB. For a tag FB, the
member of tag data is included in the member of tag FB.
Operation of a function block can be changed by setting the initial value of an FB property, or changing the current value
of an FB property while running a program.
FBD/LD program for process An FBD/LD program with the extended function for the process control.
control
Process control extension Extending the functions of GX Works3 for the instrumentation engineering.
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 FX5UJCPU, FX5UCPU, FX5UCCPU
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
FX5-SSC-G(S) FX5-40SSC-G(S), FX5-80SSC-G(S)
LCPU L02S, L02S-P, L02, L02-P, L06, L06-P, L26, L26-P, L26-BT, L26-PBT
LHCPU L04HCPU, L08HCPU, L16HCPU
QSCPU QS001CPU
RCPU RnCPU, RnENCPU, RnPCPU, RnPSFCPU, RnSFCPU
RD78G(S) RD78G4(S), RD78G8(S), RD78G16(S)
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 8 or later Windows 8, Windows 8.1, Windows 10
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).
*1 The "Latch Range Setting" screen appears by selecting in "Device Setting" [...] button of "Detailed Setting" [...] button on the "Latch
(2)" column
*2 Can also be set by clicking the [Yes] button in the screen that appears when setting "Use Common File Register in All Programs" for the
following parameter item:
"File Setting" "File Register Setting" "Use Or Not Setting"
*3 Required only when a CPU module operation mode is "Redundant."
*4 "Detailed setting" is automatically set for this item if a program with the process control extension enabled is converted.
*5 Ranges of devices and devices set for the following parameter item can be applied to the global device settings in a batch by clicking the
[Device Setting Reflection] button in the "Global Device Setting" screen.
"Memory/Device Setting" "Device/Label Memory Area Setting" "Device/Label Memory Area Detailed Setting" "Device Setting"
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 manual.
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 600 Checking Processing Time of Programs)
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 798 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 131
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 46 Start
Page 99 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 46 Start
Page 99 Creating 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.
1. Create a project.
Start GX Works3.
Page 46 Start
Page 99 Creating a project
Page 629 User management
Page 123 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.
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 46 Start
Page 99 Creating a project
Page 629 User management
Page 123 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. Create a project.
Start GX Works3.
Page 46 Start
Page 99 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 129 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 884 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 528 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
1
GX Works3
+ Driver
GX Works3
FX5-232ADP
(1)
FX5CPU
GX Works3
(1)
FX5UCPU/FX5UJCPU
(FX5-232-BD)
Start
Operating procedure
Select [MELSOFT] [GX Works3]*2 [GX Works3] from Windows Start*1.
*1 Select [All apps] in the Start screen or [Start] [All Programs]/[All apps].
*2 Does not appear in Windows 8 or later.
*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"
Window 2
[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, supplemental fonts of the target language are required. The fonts can
be added by the following operation.
Select [Settings] [Apps] [Apps & features] [Manage optional features] [Add a feature] from Windows Start.
Main frame
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 each function 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 2
[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].
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 54 Status icons
Operating procedure
Select and right-click a program file, then select [Sort] [(sort type)] from the shortcut menu.
• 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 by the execution order in a batch by selecting
and right-clicking "Project", then selecting [Sort All] [Execution Order] from the shortcut menu.
Creating folders
A folder for grouping and managing the created data can be created.
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 the
mismatched system parameters and the property of a module.
Unconfirmed Module parameter This icon is displayed when the [Apply] button has never been clicked in
required settings the module parameter (network) setting screen that includes a required
setting.
Window
[View] [Docking Window] [Connection Destination] ( ) 2
Window
[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.
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.
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 237 Registering Module Labels, Page 455 Importing module FBs in a project
Library
POUs, which are registered in a library file, are displayed by selecting the [Library] tab.
For details on the registration methods, refer to the following:
Page 466 Registering user libraries in the library list
Basic menus
[Project]
[New] Page 99 Creating a project
[Open] Page 101 Opening a project
[Close]
[Save] Page 124 Overwriting projects
[Save As] Page 123 Saving projects under the specified name
[Delete] Page 124 Deleting a project
[Project Verify] Page 138 Verifying Projects
[Project Revision] [Register Revision] Page 154 Registering a revision
[Project Revision] [Revision List] Page 156 Revision list screen
[Change Module Type/Operation Mode] Page 135 Changing the Module Type and Operation
Mode of Projects
[Data Operation] [New Data] Page 126 Creating data
[Data Operation] [Add New Worksheet] Page 128 Adding worksheets
[Data Operation] [New Folder] Page 54 Creating folders
[Data Operation] [Rename] Page 127 Changing a data name
[Data Operation] [Delete Data] Page 128 Deleting data
[Data Operation] [Copy Data] Page 127 Copying and pasting data
[Data Operation] [Paste Data]
[Data Operation] [Add New Module] Page 197 Setting parameters of modules
Page 210 Simple motion module setting function
Page 210 Motion control setting function
[Data Operation] [Properties] Page 131 Properties
[Data Operation] [Help] Page 129 Associating data with a help file
[Intelligent Function Module] [Module Parameter List] Page 205 Checking/changing the number of intelligent
function module parameters
[Open Other Format File] [GX IEC Developer Format] [Open ASC Format File] Page 112 Opening a GX IEC Developer format project
[Open Other Format File] [GX IEC Developer Format] [Open SUL Format User Library] Page 464 Creating a GX Works3 format library from a GX
IEC Developer format library
[Open Other Format File] [GX Works2 Format] [Open Project] Page 103 Opening a GX Works2 format project
[Open Other Format File] [GX Works2 Format] [Open User Library] Page 463 Creating a GX Works3 format library from a GX
Works2 format library
[Open Other Format File] [GX Works3 Format] [Open User Library] Page 465 Editing libraries
[Open Other Format File] [PX Developer Format] [Open Project] Page 107 Opening a PX Developer format project
[Open Other Format File] [GX Developer Format] [Open QSCPU Series Project] Page 121 Opening a GX Developer format project
[Library Operation] [Export Library] Page 462 Creating a library file
[Library Operation] [Register to Library List] [User Library] Page 466 Registering user libraries in the library list
[Library Operation] [Register to Library List] [Library] Page 469 Registering libraries of which file extensions
are 'mslm'
[Library Operation] [Delete from Library List] Page 466 Deleting libraries/updating display information
[Library Operation] [Update the Display Information of Library]
[Library Operation] [Show Program/FB/FUN File] Page 466 Displaying program files/FB files/FUN files
[Library Operation] [Update Library POU] Page 468 Updating library POUs
[Library Operation] [Help] Page 466 Displaying Help
[Security] [User Management] Page 629 User management
[Security] [Change User Password] Page 628 Changing password of logon user
[Security] [Security Key Setting] Page 623 Registering a security key in a program file
Page 625 Writing/deleting security key to/from CPU
module
[Security] [Security Key Management] Page 621 Creating/deleting security key
[Security] [Block Password Setting] Page 617 Setting block password
[Edit]
[Undo]
[Redo]
[Cut]
[Copy]
[Paste]
[Find/Replace]
[Cross Reference] Page 412 Displaying cross reference information
[Device List] Page 420 Displaying Device Usage
[Dataflow Analysis] Page 422 Displaying a Range Affected by/Affecting a
Device/Label
[Unused Label List] Page 418 Displaying a list of unused labels
[Bookmark] Page 434 Registering a Bookmark
[Find Device/Label] Page 403 Searching for/Replacing Devices or Labels
[Find Instruction] Page 405 Searching/Replacing Instructions
[Find Contact or Coil]
[Find String] Page 406 Searching/Replacing Character Strings
[Replace Device/Label] Page 403 Searching for/Replacing Devices or Labels
[Replace Instruction] Page 405 Searching/Replacing Instructions
[Replace Character String] Page 406 Searching/Replacing Character Strings
[Change Open/Close Contact] Page 408 Changing Contacts between Open Contact
and Close Contact
[Device Batch Replace] Page 409 Batch Replacing of Devices and Labels
[Register to Device Batch Replace]
[Quick Find] Page 133 Searching the navigation window
[Previous]
[Next]
[Convert]
[Convert] Page 376 Converting any or all programs
[Online Program Change] Page 549 Writing data after changing programs partially
while a CPU module is running (Online program change)
[Rebuild All] Page 376 Converting any or all programs
[Check Syntax] [Current POU] Page 373 Syntax check
[Check Syntax] [ALL POUs]
[Program File Setting] Page 250 Program execution order setting
[Worksheet Execution Order Setting] Page 251 Worksheet execution order setting
[Setting]
[View]
[Toolbar] [Standard] Page 50 Main frame
[Toolbar] [Program Common]
[Toolbar] [Docking Window]
[Toolbar] [Monitor Status]
[Toolbar] [Process Control Extension]
[Statusbar]
[Online]
[Current Connection Destination] Page 509 Specification of Connection Destination
[Read from PLC] Page 529 Writing/Reading Programmable Controller
[Write to PLC] Data
[Debug]
[Simulation] [Start Simulation] Page 476 Simulation
[Simulation] [Stop Simulation]
[Simulation] [System Simulation] [Start System Simulation] Page 478 System Simulation
[Simulation] [System Simulation] [Connect Simulation]
[Simulation] [System Simulation] [Disconnect Simulation] Page 498 Ending a system simulation
[Modify Value] Page 561 Changing current values
[Change History of Current Value]
[Register/Cancel Forced Input/Output] Page 591 Turning Input/Output Device ON/OFF Forcibly
[Device Test with Execution Condition] [Register] Page 593 Changing Device/Label Value by Setting
[Device Test with Execution Condition] [Check/Disable Register] Conditions
[Recording]
[Recording Setting] [New] Page 672 Recording Function
[Recording Setting] [Edit]
[Read Recording File]
[Start Offline Monitor] [Recording File] Page 676 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 642 Module Status Check of a System
[Sensor/Device Monitor] Page 645 Sensor/Device Status Check
[Recording Monitor] Page 647 Recording Status Check
[Module Diagnostics (CPU Diagnostics)] Page 648 Module Diagnostic
[Ethernet Diagnostics] Page 654 Ethernet diagnostic
[CC-Link IE Control Diagnostics (Optical Cable)] Page 655 CC-Link IE Controller Network diagnostic
[CC-Link IE Control Diagnostics (Twisted Pair Cable)]
[CC-Link IE TSN/CC-Link IE Field Diagnostics] Page 657 CC-Link IE TSN/CC-Link IE Field Network
diagnostic
[CC-Link IEF Basic Diagnostics] Page 659 CC-Link IE Field Network Basic diagnostic
[MELSECNET Diagnostics] Page 660 MELSECNET diagnostic
[CC-Link Diagnostics] Page 661 CC-Link diagnostic
[Simple CPU Communication Diagnostics] Page 662 Simple CPU communication diagnostic
[Tool]
[Memory Card] [Read from Memory Card] Page 559 Writing to/Reading from a memory card
[Memory Card] [Write to Memory Card]
[Check Program] Page 374 Program check
[Check Parameter] Page 194 Checking parameters
[Check the Assigned Device of Global Label] Page 231 Checking assigned devices
[Confirm Memory Size (Offline)] Page 387 Calculating Memory Size
[Logging Configuration Tool] Page 670 Data Logging Function
[Realtime Monitor Function] Page 607 Checking Current Logging Data
[GX VideoViewer] Page 692 Playing a video
[Module Tool List] Page 209 Displaying the module tool list
[Drive Tool List] Page 209 Displaying the drive tool list
[Predefined Protocol Support Function] Page 211 Predefined Protocol Support Function
[Circuit Trace] Page 212 Circuit Trace Function
[Update Firmware] Page 712 Firmware Update
[Profile Management] [Register] Page 180 Registration
[Profile Management] [Delete] Page 180 Deletion
[Register Simple Device Communication Library] Page 208 Registering a simple device communication
library
[Configuration Management] [Acquire Project] Page 163 Acquiring a project
[Configuration Management] [Register Project] Page 162 Registering a project
[Configuration Management] [Update Revision] Page 164 Update Revision screen
[Register Sample Library] Page 469 Registering libraries of which file extensions
are 'gx3s'
[FB Property Management (Offline)] Page 360 FB property management (offline)
[Window]
[Cascade]
[Tile Vertically] 2
[Tile Horizontally]
[Arrange Icons]
[Close All Windows]
[Return Window Layout to Initial Status] Page 50 Displaying docked windows
[Split] Page 297 Configuration of an ST editor
Page 257 Splitting a ladder editor
Page 365 Configuration of a device comment editor
Page 390 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 257 Splitting a ladder editor
[Floating] Page 51 Docking/floating work windows
[Docking]
[(Window information being displayed)]
[Window] Page 51 Arranging work windows
[Help]
[GX Works3 Help] Page 41 Displaying Help
[Connection to MITSUBISHI ELECTRIC FA Global Website] Page 42 Connecting to MITSUBISHI ELECTRIC FA
Global Website
[Version Information] Page 42 Checking the version of GX Works3
[View]
[Toolbar] [Module Configuration Diagram]
[Online]
[Read Module Configuration from PLC] Page 185 Reading the module configuration from an
actual system
[Find/Replace]
[Line Statement List] Page 274 Displaying a list
[Jump] Page 284 Jump
[Jump to Next Ladder Block Start]
[Jump to Previous Ladder Block Start]
[View]
[Toolbar] [Ladder]
[Comment Display] Page 272 Entering/editing comments
[Statement Display] Page 273 Entering/editing statements
[Note Display] Page 276 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 254 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 254 Configuration of a ladder editor
[Display Device]
[Text Size] [Bigger]
[Text Size] [Smaller]
[Text Size] [Autofit] Page 254 Configuration of a ladder editor
[Height Setting of Inline Structured Text] Page 270 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 366 Displaying a device comment editor from a
program editor
[Open Device Comment Setting] [Tile Horizontally]
[Open Zoom Source Block] Page 350 Creating/displaying Zooms (action/transition)
[Instruction Help] Page 284 Displaying instruction help
[Find/Replace]
[Jump] Page 303 Jump
[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 366 Displaying a device comment editor from a
[Open Device Comment Setting] [Tile Horizontally] program editor
[Find/Replace]
[FBD Network Block List] Page 320 Displaying FBD network blocks in a list
[View]
[Toolbar] [FBD/LD]
[Comment Display] [Device/Label Comment] Page 304 Configuration of an FBD/LD editor
[Comment Display] [Switch FB/FUN Argument]
[Device Display]
[FBD Network Block No. Display]
[Display Execution Order]
[Grid Display]
[Display Page Break]
[Online]
[Monitor] [Faceplate] Page 608 Checking tag data on the gauge window
(faceplate)
[Convert]
[Convert Block] Page 349 Converting a block
[View]
[Toolbar] [SFC]
[Comment Display] Page 323 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 352 Displaying an SFC block list
[Open Zoom List] Page 351 Displaying a Zoom list
[Debug]
[Control SFC Steps] [Activate the Selected Steps] Page 580 Changing the active status
[Control SFC Steps] [Deactivate the Selected Steps]
[Control SFC Steps] [Activate the Selected Steps Only]
[Find/Replace]
[Jump] Page 353 Jump
[Block Information Find Device] Page 353 Searching for block information
[View]
[SFC Block List Comment] Page 352 Displaying an SFC block list
[Display Device]
[Open SFC Body] Page 352 Displaying SFC diagrams
[Open Label Setting] Page 353 Displaying local label editor
[View]
[Toolbar] [Label]
[Show/Hide of Label Item]
[Display Program Editor]
[Open Label Comment setting] Page 218 Configuration of a label editor
[View]
[Display Format Detailed Setting]
[Online]
[Device Memory] [Read Selected Range] Page 394 Writing/Reading Data to/from CPU Module
[Device Memory] [Write Selected Range]
[Find/Replace]
[Next Mismatch] Page 140 Checking a verification result
[Previous Mismatch]
[View]
[Return to Result List]
[Close Detailed Result]
[Close All Detailed Result]
[Show only Mismatches] Page 140 Checking a verification result
Available menus when displaying the device/buffer memory batch monitor window
[View]
[Display Format Detailed Setting]
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
[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
[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
[View] [Multiple Comments] [Read Comment]
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 77 Display setting for multiple comments
Precautions
• For the considerations for reading sample comments, refer to the following:
Page 372 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.
Operating procedure
Set each item and click the [OK] button.
By importing an exported file (*.gos), the setting 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.
■RCPU
• [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" "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
Multiple elements are connected to one output connection point.
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)
Interrupt program
• Change the interrupt program (1) to the function block (2).
(Example) Program before modification
(1)
Instruction
I129
… (1)
IRET
(2)
(1)
Instruction
P1192
… (1)
RET
(2)
Interrupt program
• Change the interrupt program (1) to the inline structured text (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.
2
• 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
[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
2
[Project] [Print] ( )
When no data exist or only read-protected data exist in "Print" and "Do Not Print" lists, is shown on the checkbox of print
items.
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
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. 2
(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"
This part explains the system design such as project management and parameter/label settings.
3 PROJECT MANAGEMENT
5 REGISTERING LABELS
93
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
94 3.1 Project File and Data Configuration
■Workspace/project configuration
Folder configuration
(2)
(1)
Workspace
(3) (4)
3
(5)
3 PROJECT MANAGEMENT
3.1 Project File and Data Configuration 95
Data configuration
■Program data
Creation method: Page 125 Creating Data
Figure 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 251 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 250 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 251 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 381 System header and system footer
3 PROJECT MANAGEMENT
96 3.1 Project File and Data Configuration
Figure Item Description
(14) FB file A file that manages function blocks.
FB files are written to a CPU module individually.
(14)
Page 439 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 251 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 459 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 97
■Label data
Creation method: Page 125 Creating Data
Figure Item Description
(1) Global label A label that can be accessed from all program blocks and function blocks
in a project.
Page 218 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 237 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 registered as "M+PTAG" at the time of
process control extension registration of tag FBs.
A tag FB instance and tag data are created.
Page 238 Registration of 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 125 Creating Data
Figure 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 363 Registering Device Comments
(2) Common device comment Data of device comments that can be used in multiple programs.
(1)
(2) Page 363 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 389 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 396 INITIAL DEVICE VALUE SETTING
■Parameter data
The structure of the tree and the creation methods: Page 193 Setting Parameters
3 PROJECT MANAGEMENT
98 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 100 Adding a new user)
Window
3
[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 99
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 628 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.
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
100 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 632 Logging on to CPU module)
Window
[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 101
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 103 Opening a GX Works2 format project Page 805 Replacement of a GX Works2 format project
PX Developer Page 107 Opening a PX Developer format project Page 823 Replacement of a PX Developer format project
GX IEC Developer Page 112 Opening a GX IEC Developer format project
GX Developer Page 121 Opening a GX Developer format project Page 830 Replacement of a GX Developer format project
3 PROJECT MANAGEMENT
102 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 (FX3U, FX3UC, FX3G, and 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 L16HCPU
FXCPU (FX3U, FX3UC, FX3G, and FX3GC) FX5UCPU, FX5UCCPU*2, 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 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 99 Specifying the specific model name of FX5CPU)
The supported versions of GX Works3 differs depending on the CPU module type which is set in a GX Works2 format project.
For details, refer to the following:
Page 713 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 805 Replacement of a GX Works2 format project
To use this function, the latest GX Works2 is required to be installed in a personal computer.
3 PROJECT MANAGEMENT
3.2 Creating a Project File 103
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
104 3.2 Creating a Project File
Data to be changed
Some data is changed depending on the CPU module type set in 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 Check the settings in GX Works3.
target module type
PLC system *2,*3
3
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
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
Serial communication
• FB/FUN*7
• Ladder program*8
• ST programs
• Structured ladder/FBD programs*9
• SFC programs*3,*5
• Device comments of other than SM/SD*10
• Device memory (only when the module type is changed to an FX5UCPU or an
FX5UCCPU)
• Device/label automatic-assign
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 of SM/SD
• Remote password
Changing to the state in which a Connection destination
project was newly created
3 PROJECT MANAGEMENT
3.2 Creating a Project File 105
Operation in opening Setting item in GX Works2 Remarks
Deleting • PLC parameter Communication head Not supported by GX Works3.
Built-in I/O function
Serial communication
Built-in serial
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 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 FX5UCPU or an FX5UCCPU, 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
106 3.2 Creating a Project File
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 3
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 823 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
3.2 Creating a Project File 107
Data to be changed (PX Developer)
Some data is changed depending on the CPU module type set in 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 823 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
*1
Changing in accordance with the target module Tag FB Check and set them in GX Works3.
type
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*10
Function element/FB element*11
Project parameter*12
Initial value of an FB property*13
Deleting Module FB declaration *14 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 Converted into an undefined FB element and comment element.
A comment element is displayed in the installed PX Developer language.
*11 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
*12 The items which are not supported by GX Works3 are deleted.
*13 When the initial values of FB properties are not read, the initial values of the FB properties will be returned to default.
*14 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
108 3.2 Creating a Project File
■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/
normal speed/low-speed)
Scan Yes MAIN_PX
3
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 131 Title)
Ex.
The following figure shows a registration example.
PX Developer GX Works3
3 PROJECT MANAGEMENT
3.2 Creating a Project File 109
■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.
(A)
Ex.
The following figure shows a conversion example.
(B)
When both (1) and (2) are set, (B) is displayed under (A).
(A)
(B)
■Inline ST part
An inline ST part is converted into an FB element or a comment element.
Ex.
The following figure shows a conversion example.
3 PROJECT MANAGEMENT
110 3.2 Creating a Project File
■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.
3
*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 829 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 828 Tag names that cannot be set in GX Works3
3 PROJECT MANAGEMENT
3.2 Creating a Project File 111
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-ROM (Disk1\GXW3\Others) of GX Works3 without starting GX Works3.
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].
4. Set each items in the "New" screen, and click the [OK] button.
The GX IEC Developer format project data is imported to the newly created GX Works3 format project.
• 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
112 3.2 Creating a Project File
Precautions
• If POUs created in Sequential Function Chart language exists in a GX IEC Developer format project for a CPU module in
FX series, the POUs 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)
3
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.
• When the CPU module type which is set for a GX Works3 format project does not support functions or function blocks used
in a GX IEC Developer format project, the elements will be converted into ones whose definition is 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
3.2 Creating a Project File 113
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 *1
Function POU
Function Block POU*1
POU (FBD)
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 464 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 When the same data name exists in an import target 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 when a project for a CPU module in FX series is opened.
*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
114 3.2 Creating a Project File
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
3.2 Creating a Project File 115
■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
(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
116 3.2 Creating a Project File
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
3
(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
3.2 Creating a Project File 117
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".
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.
3. Change the name of the global label setting added in step 2. (Example: GlobalGlobal_1)
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
118 3.2 Creating a Project File
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
3 PROJECT MANAGEMENT
3.2 Creating a Project File 119
• Functions of MELSEC iQ-F series
GX IEC Developer GX Works3
3 PROJECT MANAGEMENT
120 3.2 Creating a Project File
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:
3
Page 830 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 100 Adding a new user)
3 PROJECT MANAGEMENT
3.2 Creating a Project File 121
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
I/O assignment*1,*2
Safety setting*3
Network parameter*1 Ethernet*3
CC IE Control(Normal station)
CC IE Field (Local station)
*4
• Ladder program
• Device comments for devices other than SM/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 of SM/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
122 3.2 Creating a Project File
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 132 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 795 Unusable Character Strings (Reserved Words)
3 PROJECT MANAGEMENT
3.2 Creating a Project File 123
Overwriting projects
Operating procedure
Select [Project] [Save] ( ).
■Registering a revision
A project revision can be registered when the project is overwritten.
For details, refer to the following:
Page 155 Registering a revision when a project is overwritten
Deleting a project
Delete a project saved on the personal computer or another data storage device.
Window
[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
124 3.2 Creating a Project File
3.3 Creating Data
This section explains the creation method of each data.
Data
■Unusable character strings
Refer to the following:
Page 795 Unusable Character Strings (Reserved Words)
3
■Maximum number of pieces of data that can be created in one project
The following table shows the maximum number of pieces of data that can be created for each data type.
Data type RCPU LHCPU FX5CPU
R00CPU R02CPU R04CPU Others L04HCPU L08HCPU
R01CPU L16HCPU
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
Device initial 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
3.3 Creating Data 125
Creating data
Create new data in a project.
Window
Select data in the navigation window, then select [Project] [Data Operation] [New Data] ( ), or right-click it and select
[New Data] ( ) from the shortcut menu.
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 440 Creating a new function block
For the setting items when "Function" is selected for "Data Type", refer to the following:
Page 459 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
126 3.3 Creating Data
Editing data
2. Select [Project] [Data Operation] [Rename], or right-click in the navigation window and select [Rename] from the
shortcut menu. 3
3. Change the data name and press the key.
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 the module type is different between the copy source and the copy destination, 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
3.3 Creating Data 127
■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 an undefined function block.
• 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
onto the navigation window. (Page 455 Importing module FBs in a project, Page 458 Adding the definition of a module
FB)
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.
3 PROJECT MANAGEMENT
128 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 129
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
130 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
Select data in the navigation window, then select [Project] [Data Operation] [Properties] ( ), or right-click it and select
[Properties] ( ) from the shortcut menu.
3
Operating procedure
Set each item and click the [OK] button.
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
3.3 Creating Data 131
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.
By selecting "Compression" for "File Size", the project file size decreases.
Precautions
Note the following points when "Compression" is selected.
• That project cannot be opened in GX Works3 Version 1.047Z or earlier.
• That project may not be used in other MELSOFT products.
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 April 2021).
Product name Version Date
MELSOFT Navigator 2.54G
MT Works2 1.150G
CW Configurator (Not supported) TBD
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
132 3.3 Creating Data
3.4 Searching the navigation window
This section shows the methods for searching for and display data in the navigation window.
Window
[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.
By pressing the + keys or double-clicking with held down, jumping is possible while the
cursor remains in the "Quick Find Result" window.
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.
3 PROJECT MANAGEMENT
3.4 Searching the navigation window 133
Sorting display
The columns can be sorted in ascending/descending order by clicking the column header.
3 PROJECT MANAGEMENT
134 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 RnPCPUs, the operation mode only can be changed.
For remote head modules, both module type and operation mode cannot be changed.
3
Window
[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.
To utilize data to a different module type of CPU module, open each editor and copy the data.
3 PROJECT MANAGEMENT
3.5 Changing the Module Type and Operation Mode of Projects 135
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)
• 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 135 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
136 3.5 Changing the Module Type and Operation Mode of Projects
■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 3
• Global label setting 'M+PTAG'
3 PROJECT MANAGEMENT
3.5 Changing the Module Type and Operation Mode of Projects 137
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 628 Logging on to a project)
Verification
Window
[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
138 3.6 Verifying Projects
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
3
FX5-CCLGN-MS FX5-ASL-M FX5-4AD FX5-4AD(FX3) FX5-4DA FX5-4DA(FX3)
FX5-SF-MU4T5
■Verification levels
A parameter verification level can be selected from the [Options] tab of the "Project Verify" screen.
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
3.6 Verifying Projects 139
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.
(2) Detailed display A tab in which the details of mismatched data are displayed. Page 142 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 145 Detailed display
(program)
Page 147 Detailed display (other
data)
(3) Detailed display (diagram/table format) A screen in which verification results of programs, labels, structures, Page 149 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
140 3.6 Verifying Projects
Font and the font and background color in the "Verify Result" window can be changed. (Page 76
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] ( ).
3
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.
3 PROJECT MANAGEMENT
3.6 Verifying Projects 141
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
■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
142 3.6 Verifying Projects
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 803 Label Memory Types
3
• 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
3.6 Verifying Projects 143
■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 620 Procedure for making locked program files accessible)
3 PROJECT MANAGEMENT
144 3.6 Verifying Projects
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.
3
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
3.6 Verifying Projects 145
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 the program that contains the inline structured text is verified, "STB" is displayed on the row of the inline structured
text.
The cursor jumps to the corresponding row of the inline structured text 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"
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.
*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
146 3.6 Verifying Projects
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)
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
■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
148 3.6 Verifying Projects
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.
3
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
3.6 Verifying Projects 149
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
• 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
150 3.6 Verifying Projects
■Merging mismatched data into a verification source
When the verification result of a ladder program or ST program is displayed, mismatched data can be merge into a program of
the verification destination. (Excluding a Zoom)
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)
3
Merge data in the selected range into a program of the + keys (Merge the Selected
verification destination. Range)
All mismatched data Switch to the merge mode. + keys (Merge Mode)
Apply all data to a program of the verification + keys (Reflect All)
destination.
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
3.6 Verifying Projects 151
■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
*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.
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
152 3.6 Verifying Projects
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 3
checked in the detailed display (diagram/table format) screen. Check it in the detailed display tab, instead. (Page 145
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.
■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
3.6 Verifying Projects 153
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
[Project] [Project Revision] [Register Revision]
Operating procedure
Set each item and click the [OK] button.
3 PROJECT MANAGEMENT
154 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 155
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
[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.
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.
3 PROJECT MANAGEMENT
156 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 140 Checking a verification result
3 PROJECT MANAGEMENT
3.7 Project Revision History 157
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
158 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 159
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
160 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 162 Registering a
system. project
(2) B To create a local project Acquire a project from the version management Page 163 Acquiring a
system. project
(3) A To edit 'ProgPou_A' Edit their respective local projects. Page 163 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 164 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 172 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 167 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 164 Update
into the own local project has been updated project. Revision screen
(9) A project To check changes in Check the detailed information of the update Page 174 Checking
updated 'ProgPou_B' revision. detailed information
(10) A To merge 'ProgPou_B' Acquire only 'ProgPou_B' from the version Page 170 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 163 Acquiring a
system. project
(Debug the programs in the acquired project.)
3 PROJECT MANAGEMENT
3.8 Project Version Management 161
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.
Precautions
A project cannot be registered in the following cases:
• A project is saved as a work space format.
• A project file name has more than 80 characters.
• A project is logged on to as a user whose access level is 'Users'.
3 PROJECT MANAGEMENT
162 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.
Editing a project
A local project can be edited in the same manner as a normal project.
Precautions
Once the module type or operation mode set in a project is changed, the project data cannot be registered in or acquired from
a version management system.
3 PROJECT MANAGEMENT
3.8 Project Version Management 163
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 167 Registering a project file and data
• Page 170 Acquiring a project file and data
• Page 172 Verifying a project file or data
• Page 174 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 165 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
164 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 165
■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 167
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 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
166 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 167
■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
168 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 175 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.
3 PROJECT MANAGEMENT
3.8 Project Version Management 169
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
170 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 250 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
3 PROJECT MANAGEMENT
3.8 Project Version Management 171
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
172 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.
■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 140 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 173
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
174 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 175
■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
176 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 162
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 163
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 177
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 163
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 163
even after performing step , delete the Deleting a
master project and then register the project master
again.*2 project
Page 162
A master project is deleted. Register the project again, then check the
Registering a
update revision history.
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 164
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
178 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 170
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 179
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
180 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 187 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 193 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] ( ).
(2) Parameter
adapters which are attached to a CPU module
Parameters to set the self operation function of a CPU Page 196 Setting
4
(3) of a control module. parameters of
CPU This includes the file setting, memory/device setting, and control CPU
program setting.
(3) Module Parameters for an I/O module and an intelligent function Page 197 Setting
information (I/ module. parameters of
(4)
O module and This includes initial values and refresh settings of each modules
intelligent module.
function There are two kinds of parameters, module parameter and
(5) module) module extended parameter.
• Module parameter: Parameter for an I/O module and an
(6) intelligent function module. The initial setting values and
refresh settings of each module are included.
• Module extended parameter: Parameter for a specific
intelligent function module. This is read and written
separately with module parameters.
(4) Module Parameters for a network module. Page 197 Setting
information • Module Parameter: Parameter for a network module. parameters of
(network The initial setting values and refresh settings of each modules
module) module are included. Page 200 Setting
• AnyWireASLINK Configuration: The network network
configuration window appears by double-clicking this configuration and
item. target devices
(5) Remote By setting a password for each communication route to a Page 639
password CPU module, the communication route is protected; thus, Restricting Access
access to the CPU module from an external device without from Other Than
password authentication is prohibited. Specific
Communication
Route
(6) Recording Setting data for the recording function. Page 672 Settings
setting of the recording
function
No errors
Default setting: Blue/White
Other than default: Black/White
With errors: White/Red
No settings required: Black/Gray
Status icons
Checking parameters
There are two methods for checking parameters as follows:
• Check if there is an input error in the parameter editor
Click the [Check] button in the parameter editor.
• Check if there is an error related to parameter setting in the project
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.
4
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)
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 372 Reading sample comments)
• [Tool] [Options] "Project" "Add New Module" "Operation Setting" "Read Sample Comment"
Operating procedure
1. Enter a name or characteristics of a module in the text box in the "Add New Module" screen, and click the [FIND] button.
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)" 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, and FX5UCCPUs support it.
*3 FX5CPUs do not support it.
*4 RnCPUs, RnENCPUs, and FX5CPUs support it.
Ex.
The following screen is an example for the CC-Link IE TSN configuration setting.
■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 180 Managing Profiles)
Window
[View] [Docking Window] [Device Assignment Confirmation] ( )
Ex.
When selecting the start I/O number of the CC-Link system master/local module
■Slave 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.
Slave Station List Displays the information of the slave 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.
• The "Device/Buffer Memory Batch Monitor" window appears by selecting and right-clicking a refresh device
or buffer memory in the link device list, then selecting [Device/Buffer Memory Batch Monitor] from the
shortcut menu.
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
4
• [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
Select "Parameter" "Module Information" "(module name)" in the navigation window, then select [Project] [Data
Operation] [Properties] ( ), or right-click it and select [Properties] ( ) from the shortcut menu.
Operating procedure
Set each item and click the [OK] button.
Window
1. Double-click "Basic Settings" "Refresh Setting" "<Detailed Setting>" in the parameter editor of a CC-Link IE TSN
module.
2. Right-click on "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 slave 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. 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.
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.
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.
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
[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:
Operating procedure
1. Select "Parameter" "Module Information" "(module name)" in the navigation window.
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.
Data to be changed
The following tables show the data that is changed by changing a module.
For the changes on simple motion modules, refer to Help for the simple motion module setting function.
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
216 5.1 About Labels
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
5 REGISTERING LABELS
5.1 About Labels 217
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"
Window
■Global label
"Label" "Global Label" "(global label)" in the navigation window
■Local label
"Program" "(execution type)" "(program file)" "(program block)" "Local Label" in the navigation window
■Toolbar
(1)
(2)
(3)
5 REGISTERING LABELS
218 5.2 Registering Labels
• 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.
• 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 233 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. 5
• Font color, background color, and font can be changed.
Page 76 Checking and Changing Colors and Fonts
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 Row]( ).
Operating procedure
Select [Edit] [Delete Blank Rows]. ( )
5 REGISTERING LABELS
5.2 Registering Labels 219
■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
220 5.2 Registering Labels
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 796 Unusable character strings for 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. 5
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
5.2 Registering Labels 221
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':
(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
222 5.2 Registering Labels
■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
5.2 Registering Labels 223
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
■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 249 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
224 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 225
■Structure
When specifying a structure data as a data type, creating a definition of the structure is required in advance. (Page 232
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 439 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
226 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 803 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 231 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"
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 labels operate differently depending on the location of use.
For details on the step relay (S), refer to the following:
MELSEC iQ-R Programming Manual (Program Design)
• In projects for an FX5UCPU and FX5UCCPU 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 labels operate differently depending on the location of use.
For details on the step relay (S), refer to the following:
MELSEC iQ-F FX5 Programming Manual (Program Design)
5 REGISTERING LABELS
5.2 Registering Labels 227
■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.
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.
5 REGISTERING LABELS
228 5.2 Registering Labels
■Initial values of label of which data type is array
Different initial values for the respective array elements cannot be set. When setting the different values for each array, set the
initial value by program.
Precautions
• 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 231 Initial value check)
5 REGISTERING LABELS
5.2 Registering Labels 229
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 77 Display setting for multiple comments)
To set a label comment for an array element or bit-specified label, use the "Label Comment" window. (Page 233 Setting a
label comment)
Operating procedure
Select [Edit] [Copy Device Comment] ( ).
5 REGISTERING LABELS
230 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 231
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 126 Creating data)
Window
"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"
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
232 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 230 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
[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.
• 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 77 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 233
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
234 5.2 Registering Labels
Exporting/importing data to/from a file
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
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 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 device comment 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 235
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 235 Exporting)
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
236 5.2 Registering Labels
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. 5
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
5.3 Registering Module Labels 237
5.4 Registration of 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.
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 is any error.
■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
238 5.4 Registration of tag FBs
• 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 360 FB property management (offline))
Editing a row 5
■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
5.4 Registration of tag FBs 239
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 796 Unusable character strings for 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:
Page 452 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
240 5.4 Registration of tag FBs
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
5
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
"Label" "Global Label" "M+PTAG" in the navigation window
Precautions
Do not delete "M+PTAG" from a project.
5 REGISTERING LABELS
5.4 Registration of tag FBs 241
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 356 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
242 5.4 Registration of tag FBs
5.5 Registering System Label
This section explains the method to register global labels as system labels.
Only standard global labels support system labels.
System label
Using the system labels controlled by MELSOFT Navigator enables programming with the same label names among the iQ
Works supported products (GX Works3, MT Developer2, GT Designer3).
Once a workspace is saved with MELSOFT Navigator, a database to manage system labels is created in the workspace.
System labels cannot be used in a workspace without the system label database.
For details on MELSOFT Navigator, refer to MELSOFT Navigator Help.
Precautions
Since module labels are read only, they cannot be registered as system label. 5
System label version
There are two types of system labels for MELSOFT Navigator: system label ver.1 and system label ver.2.
FX5CPUs only support system label ver.1.
LHCPUs do not support either of the system labels.
For more details on the differences between system label ver.1 and system label ver.2, and creation methods of each system
label database, refer to MELSOFT Navigator Help.
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
5.5 Registering System Label 243
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.
4. Check the list of labels to be registered, and click the [Register] button.
Precautions
• 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. Check the list of labels to be released, and click the [Register] button.
5 REGISTERING LABELS
244 5.5 Registering System Label
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
5.5 Registering System Label 245
MEMO
5 REGISTERING LABELS
246 5.5 Registering System Label
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
247
6 CREATING PROGRAMS
This chapter explains the creation method of a program.
Remote head modules do not support creating a program.
6 CREATING PROGRAMS
248 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 126 Creating data)
2. Set the execution order and the execution type. (Page 250 Program Execution Order and Execution Type Settings)
3. Create a program. (Page 254 Creating a Ladder Program, Page 297 Creating an ST Program, Page 304 Creating
an FBD/LD Program, Page 322 Creating an SFC Program)
6 CREATING PROGRAMS
6.1 Programming Function 249
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
• [Convert] [Program File Setting]
• Select and right-click a program file in the navigation window, then 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
250 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
• [Convert] [Worksheet Execution Order Setting]
• Select and right-click a POU in the navigation window, then 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 251
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 253 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
252 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 131 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 and right-click a program file in the navigation window, then 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 253
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
(7) Note
Splitter bar
(horizontal)
(8) Device assigned
to label
(9) Tool hint
(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
254 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 258 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 272 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 218 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 255
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]
(17) Wrap display A long device/label name is wrapped to be fit in one cell. [1 Cell Display]/[Wrapping Ladder Display]
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 262 Inserting function blocks
(20) Function An entity of a function used in a ladder program. ■Insertion
Page 267 Inserting functions
(21) Inline structured text box An area where an ST program can be edited on a ladder ■Insertion
editor. Page 269 Inserting inline structured text
6 CREATING PROGRAMS
256 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 257
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 in One Window," 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
258 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 259
■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 displayed 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
260 6.3 Creating a Ladder Program
Drawing a line
Draw a line in the program.
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 261
Inserting function blocks
Paste a function block as a part, and then name (FB instance name) and insert it into a sequence program.
For the creation method of a program in a function block, refer to the following:
Page 439 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.
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"
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.
6 CREATING PROGRAMS
262 6.3 Creating a Ladder Program
■Displaying FB instance
On the pasted FB instance, label names of I/O variables and their corresponding data types are displayed.
FB instance name
Label name
Initial value
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.
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.
■Replacing FB instances
Operating procedure
1. Select an FB instance.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 263
■Creating input and output circuit parts of an FB instance
Create 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
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.
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
264 6.3 Creating a Ladder Program
■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
6.3 Creating a Ladder Program 265
■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.
■Displaying/setting FB properties
FB properties can be displayed and set in the "FB Property" window.
For details, refer to the following:
Page 356 Display/setting an FB property
6 CREATING PROGRAMS
266 6.3 Creating a Ladder Program
Inserting functions
Insert a function in a ladder program.
For the creation method of a function, refer to the following:
Page 459 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 267
■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
268 6.3 Creating a Ladder Program
Inserting inline structured text
Inline structured text is a function to edit/monitor a program by creating an inline structured text box that 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.
Up to 20,000 characters can be entered in an inline structured text box. (A line feed is counted as two characters.)
Note that this function cannot be used in a safety program and a safety FB/FUN.
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 Structured Text. (Page 299 Entering
programs)
• Enter 'STB' on the element entry dialog to insert an inline structured text box.
• When inserting an inline structured text as a parallel circuit, draw lines for the parallel circuit first, and then
insert an inline structured text box.
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.
• When a row including an inline structured text box is deleted, the whole ladder block is deleted.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 269
■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.)
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
270 6.3 Creating a Ladder Program
Pasting from each screen
Paste a label name/device name by dragging and dropping in an editor such as label editor and device comment editor.
By dragging and dropping a bit type label/device in a blank cell, a contact is inserted automatically and its label name/device
name is displayed.
Additionally, when dragging and dropping a bit type label/device to the right end of the cell, a coil is inserted automatically and
its label name/device is displayed.
A word type device/label can be pasted by dragging and dropping on the argument of an instruction.
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 271
Entering comments/statements/notes
This section explains the basic operations for editing comments, statements, and notes.
Entering/editing comments
Enter or edit a device/label comment.
To check the entered comments on a ladder editor, change the setting to display comments.
• [View] [Comment 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
272 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.
To check the entered statements on a ladder editor, change the setting to display the statements.
• [View] [Statement 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 273
■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 442 Converting function blocks
Page 460 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 281 Changing ladder blocks temporarily
Window
[Find/Replace] [Line Statement List] ( )
6 CREATING PROGRAMS
274 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 275
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.
To check the entered notes on a ladder editor, change the setting to display the notes.
• [View] [Note 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 442 Converting function blocks
Page 460 Converting functions
6 CREATING PROGRAMS
276 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
[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".
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 277
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, Jn\W, Jn\SW, Un\G, U3En\G, U3En\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
278 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 279
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
280 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 281
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
282 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 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)
/D Multiple Word The entered device and the double-word format word devices that include the entered device are
(Example: D0/D) searched.
; Statements or notes are searched.
(Example:
;statement)
For the device search examples using a search option, refer to the following:
Page 404 Examples of device search
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 283
Jump
Specify a Step No., and move the cursor on a ladder editor.
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 129 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
284 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 285
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.
6 CREATING PROGRAMS
286 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 287
• 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
288 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 texts exist in a program, an error will occur.
■File format
A saved CSV file opened in Excel is displayed as follows:
(1)
(2) 6
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 289
■Format for inline structured text
A saved CSV file which includes an inline structured text is displayed in Excel 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
290 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 Excel, the data is displayed as follows.
(1)
(2)
(3)
(4)
(5)
(6)
(7)
6 CREATING PROGRAMS
6.3 Creating a Ladder Program 291
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
• "*" 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 10
Microsoft Windows 8.1
Microsoft Windows 8
Microsoft Windows 7 SP1 or higher
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
292 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, 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 293
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
■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
294 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 295
*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 texts.
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
296 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
"Program" "(execution type)" "(program file)" "(program block)" "ProgramBody" in the navigation window
■Toolbar
■ST editor
(4)
Splitter bar
(6)
(3)
(7)
(1) (5)
(2)
Displayed items
Item Description Related operation
(1) Icon display area The area to display icons. ■Icon type
Page 298 Icon type
(2) Line number The line numbers of a program. ■Changing display contents
(3) Highlighted The line on which the cursor is placed is highlighted. [Tool] [Options] "Program Editor" "ST Editor" "Editor Display
Items"
display
(4) Error display A syntax error of the program is displayed.
(5) Outline display Symbols to display/hide the text blocks are displayed. ■Show/Hide
• [Tool] [Options] "Program Editor" "ST Editor" "Editor
Display Items"
• [View] [Outline] [Show/Hide of Outlines]
6 CREATING PROGRAMS
6.4 Creating an ST Program 297
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) Change tracking The head of a line where the program has been changed is ■Show/Hide
highlighted. • [Tool] [Options] "Program Editor" "ST Editor" "Editor
Display Items"
An ST editor can horizontally be split into two screens by performing any of the following operations.
• Select [Window] [Split].
• Drag the splitter bar downward or double-click it.
■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
298 6.4 Creating an ST Program
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
6.4 Creating an ST Program 299
Inserting function blocks
Insert a function block to an ST program.
For the creation method of a program in a function block, refer to the following:
Page 439 Creating a Function Block
Operating procedure
1. Drag a function block in the navigation window or element selection window and drop it onto any position in an ST editor.
2. Enter the information of a label (FB instance) in the "Undefined Label Registration" screen.
3. Enter the values for the input variables and output variables.
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
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 356 Display/setting an FB property
6 CREATING PROGRAMS
300 6.4 Creating an ST Program
Inserting functions
Insert a function in an ST program.
For the creation method of a FUN program, refer to the following:
Page 459 Creating a Function
Operating procedure
1. Drag a function in the navigation window or element selection window and drop it onto any position in an ST editor.
Inserting 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. 6
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
6.4 Creating an ST Program 301
Registering undefined labels
Register an undefined label on a label editor.
Operating procedure
1. Enter the label name to be registered on an ST 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.
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 ++/
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
302 6.4 Creating an ST Program
Searching/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 303 Jump
Cross reference To check a declaration location and a reference location of a device*1 and a label Page 400 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
1. Select [Find/Replace] [Jump]. 6
2. Enter a line number of the program in the "Jump" screen, and click the [OK] button.
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 129 Associating
data with a help file)
6 CREATING PROGRAMS
6.4 Creating an ST Program 303
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
"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)
(12)
6 CREATING PROGRAMS
304 6.5 Creating an FBD/LD Program
Displayed items
Item Description Editing operation
(1) LD element An element that constitutes a ladder program. ■Editing method: Page 310 Entering programs
Page 306 LD element
(2) FBD element An element that constitutes an FBD program.
Page 307 FBD element
(3) Common A common element that can be used regardless of the programming
element language
Page 308 Common element
(4) Connection line A line that connects the connection points between elements. ■Editing method: Page 311 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 315 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
connector
It is automatically displayed when a connection line cannot be
displayed due to the positions of elements.
6
Elements with same number indicates that they are connected.
(9) Connection point A terminal point when connecting elements using a connection line. ■Inverting: Page 310 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.
*2
(11) Smart tag 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 90 Printing
FBD/LD programs)
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 305
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
306 6.5 Creating an FBD/LD Program
■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 437 SEGMENTING PROGRAMS
(5) Data type The width of an element can be changed. (Page 313 Changing the
(6) Input/output label (VAR_IN_OUT)*4 element size)
(7) Input/output label (other than
VAR_IN_OUT)*4
6
(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 437 SEGMENTING PROGRAMS
(5) Return value The width of an element can be changed. (Page 313 Changing the
(4)
element size)
(5)
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 307
■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
308 6.5 Creating an FBD/LD 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 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
6.5 Creating an FBD/LD Program 309
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 311 Displaying a global label entered by using an assigned device)
• Constant
• FB/FUN
• Instruction
*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,
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"
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
310 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"
*1 Multiple FBD network blocks can be selected by selecting an FBD network block after selecting multiple elements. For an element which
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 311
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]( ).
Displaying/setting FB properties
FB properties can be displayed and set in the "FB Property" window.
For details, refer to the following:
Page 356 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
312 6.5 Creating an FBD/LD Program
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
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. (Length and width: one cell minimum, no limitation
on the maximum size)
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 313
■Function element and 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
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
314 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 315
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
316 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 238 Registration of 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 317
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
318 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.
1. The link is set to the closest element that is found by searching in the red frame (range with a width of one comment
element and five cells to the right and the depth of the comment element and five cells downward). It is searched from
the upper left of the range to lower right.
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 319
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 318 Linking a comment
Window
[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
320 6.5 Creating an FBD/LD Program
Searching/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 400 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 129 Associating
data with a help file)
6 CREATING PROGRAMS
6.5 Creating an FBD/LD Program 321
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)
FX5UJCPUs do not support this program.
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.)
4. Open an SFC diagram editor, then create an SFC diagram. (Page 330 Creating SFC diagrams)
6 CREATING PROGRAMS
322 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 323
Displayed items
Item Description Editing operation
SFC (1) Step Indicates one processing of a program. ■Entering: Page 330 Inserting initial steps, Page 331
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 333 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 327 Display format of action/transition
(3) Action*1,*2 Indicates an assigned operation output to a step. ■Entering: Page 335 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 327 Display format of action/transition
(4) FBD/LD element An FBD/LD element that can be used only for a transition. ■Editing method: Page 310 Entering programs
Page 306 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 349 Editing
'S' (step relay) 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 331 Entering comments of Step No.,
displayed. Page 335 Entering comments of Transition No.
The device 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
324 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 325
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
326 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 308 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 327
■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. Select a target to change and a target contact 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
328 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 329
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
1. Select the transition in the SFC diagram (B), and select [Edit] [Modify] [Switch between Jump Symbol and
Connection Line].
3. Select a jump, then select [Edit] [Modify] [Switch between Jump Symbol and Connection Line].
(B)
6 CREATING PROGRAMS
330 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 331
■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
332 6.6 Creating an SFC Program
Inserting/editing transitions
■Inserting a transition
Select a step/transition/jump, then select [Edit] [Insert] [Transition] ( ).
6 CREATING PROGRAMS
6.6 Creating an SFC Program 333
■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 350 Creating Zooms (detailed expression)
FBD/LD).
Describe a program in a Zoom.
Create a condition with a program (instruction Detailed expression Page 350 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.
*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.
6 CREATING PROGRAMS
334 6.6 Creating an SFC Program
■Entering comments of Transition No.
Enter a comment in the "Transition Properties" screen or in a device comment editor.
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. 6
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 350 Creating Zooms (detailed expression)
LD).
Describe a program in a Zoom.
Create an action with a program (instruction format Detailed expression Page 350 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
6.6 Creating an SFC Program 335
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
336 6.6 Creating an SFC Program
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
6.6 Creating an SFC Program 337
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
338 6.6 Creating an SFC Program
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.
By setting the following option, when copying steps/transitions, the device comment of BL\S and BL\TR
can also be copied.
• [Tool] [Options] "Program Editor" "SFC Diagram Editor" "Action/Transition" "Operational
Setting" "Include Device Comment in Copying"
6 CREATING PROGRAMS
6.6 Creating an SFC Program 339
■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 CREATING PROGRAMS
340 6.6 Creating an SFC Program
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
6.6 Creating an SFC Program 341
■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 351 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 CREATING PROGRAMS
342 6.6 Creating an SFC Program
■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 351 Displaying a Zoom list)
6 CREATING PROGRAMS
6.6 Creating an SFC Program 343
■Jump
• Deleting a jump only is not applicable. Switch the jump to a connection line first. (Page 348 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
344 6.6 Creating an SFC Program
■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
6 CREATING PROGRAMS
6.6 Creating an SFC Program 345
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
346 6.6 Creating an SFC Program
■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
■Changing a jump to an end step
Ex.
Select a step which places before a jump, then select the [Edit] [Modify] [End Step/Jump].
6 CREATING PROGRAMS
6.6 Creating an SFC Program 347
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
348 6.6 Creating an SFC Program
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 318 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
[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
6.6 Creating an SFC Program 349
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.
Ex.
Action properties screen
6 CREATING PROGRAMS
350 6.6 Creating an SFC Program
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.
■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.
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 351
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
352 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]
6
button is clicked during the processing even if data pasting has been already completed.
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].
■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.
6 CREATING PROGRAMS
6.6 Creating an SFC Program 353
Searching/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 400 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 351 Displaying a Zoom
list)
6 CREATING PROGRAMS
354 6.6 Creating an SFC Program
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
6.6 Creating an SFC Program 355
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
[View] [Docking Window] [FB Property] ( )
(1)
(2)
(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 358 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 77
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
356 6.7 Setting Initial Values of FB Properties
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
6.7 Setting Initial Values of FB Properties 357
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 356 Display/setting an FB property
The following function blocks are supported in the FB property page:
Category Function block
Tag FB M+M_2PIDH_
M+M_2PIDH_T_
M+M_PGS
M+M_PGS2_
Standard process FB M+P_FG
M+P_IFG
Window
1. Select a function block or tag FB in an FBD/LD editor or tag FB setting editor.
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.
• 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.
6 CREATING PROGRAMS
358 6.7 Setting Initial Values of FB Properties
■Checking a line graph
Settings for a function generator of FB properties can be checked with a graph.
The following uses the tag FB type "M+M_2PIDH_" as an example.
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
6.7 Setting Initial Values of FB Properties 359
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 356 Display/setting an FB property
Window
■Updating the initial value of a selected FB property
1. Select a function block or tag FB in the ladder, ST, or FBD/LD 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
360 6.7 Setting Initial Values of FB Properties
■Managing the initial values of all FB properties
[Tool] [FB Property Management (Offline)]
(1) (6)
(7)
(2)
(3)
(4)
(8)
(5)
6
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 612 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 612 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
6.7 Setting Initial Values of FB Properties 361
Format
The following shows the CSV file formats.
(1)
(2)
(1): Header
(2): Data segment
6 CREATING PROGRAMS
362 6.7 Setting Initial Values of FB Properties
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 77 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. 6
Common device comment
'Common device comment' refers to a device comment that can be used in multiple program files. (It can also be used in only
one program file.)
When creating a new project, "Common Device Comment" is automatically created in the navigation window.
Only the device comments set in this data can be used as common device comments.
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
6.8 Registering Device Comments 363
■Setting device comment for each program
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 798 Applicable Devices in GX Works3
6 CREATING PROGRAMS
364 6.8 Registering Device Comments
Configuration of a device comment editor
Window
• Common device comment: "Device" "Device Comment" "Common Device Comment" in the navigation window
• Each program device comment: "Device" "Device Comment" "Each Program Device Comment" "(data name)" in
the navigation window
(1)
6
(1): Splitter bar
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]
• Fonts can be changed. (Page 76 Checking and Changing Colors and Fonts)
6 CREATING PROGRAMS
6.8 Registering Device Comments 365
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 CREATING PROGRAMS
366 6.8 Registering Device Comments
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 device comments for each program, create data for the device comments in advance. (Page 126 Creating data)
The comments can be entered on a ladder editor. For details, refer to the following:
Page 272 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
6.8 Registering Device Comments 367
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
slave 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 slave
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 204
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)
• Explanation of the link device (Example: Fault record (output
current))
6 CREATING PROGRAMS
368 6.8 Registering Device Comments
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 6
■Deleting all device data in the device comment data
Select [Edit] [Clear All (All Devices)].
6 CREATING PROGRAMS
6.8 Registering Device Comments 369
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.
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
370 6.8 Registering Device Comments
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/or "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
6
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
6.8 Registering Device Comments 371
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
372 6.8 Registering Device Comments
6.9 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.
6
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
6.9 Checking a program 373
Program check
This is for checking improper input and program inconsistency.
Remote head modules do not support this check.
Window
[Tool] [Check Program]
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
■Using a macro type function block
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 400 SEARCHING FOR DATA)
2 Back up the project.
Change the type of the function block to the subroutine type. (Page 441 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
374 6.9 Checking a program
Target of duplicated coil check
■Instruction
The following instructions are checked as the target.
• RCPU: EGP, EGF, OUT, OUTH, SET, PLS, PLF, FF, DELTA, DELTAP, SFT, SFTP, MC, pointer, BLKMOVB*1, MOVB*1,
CMLB*1
• FX5CPU: OUT, OUTH, SET, PLS, PLF, FF, SFT, SFTP, MC, pointer, BLKMOVB*1, MOVB*1, CMLB*1, OUTHS, UDCNTF
*1 When the device is T, C, ST, LT, LC, or LST, it is excluded from the check.
■Device
The following devices are checked as the target.
• RCPU
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/L), P, I, BL
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), 6
SA\C(CS), SA\C(CN), SA\ST(STC/SC), SA\ST(STS/SS), SA\ST(STN/SN)
Step No./ BL\S
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
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
■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 ST program
• Function
• Function block
6 CREATING PROGRAMS
6.9 Checking a program 375
6.10 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
376 6.10 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 FX5UCPU or an FX5UCCPU
• 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 441 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 442 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 232 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
*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.10 Converting Programs 377
■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
378 6.10 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.10 Converting Programs 379
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.
6 CREATING PROGRAMS
380 6.10 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.10 Converting Programs 381
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
382 6.10 Converting Programs
Memory assignment of labels
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.10 Converting Programs 383
■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
384 6.10 Converting Programs
■Assignment of timer/retentive timer/counter
● Timer, retentive timer, counter
Timer type, retentive timer type, and counter type are the maker-defined structures that have the same data type as MELSEC
16-bit timer device (T), bit retentive timer device (ST), and bit counter device (C). The member configurations of each data
type are as follows:
Type Member Data type Description
Timer S Bit type The same operation as the contact (TS) of the timer device.
C Bit type The same operation as the coil (TC) of the timer device.
N Word [Unsigned]/Bit String [16-bit] The same operation as the current value (TN) of the timer device.
Retentive timer S Bit type The same operation as the contact (STS) of the retentive timer device.
C Bit type The same operation as the coil (STC) of the retentive timer device.
N Word [Unsigned]/Bit String [16-bit] The same operation as the current value (STN) of the retentive timer
device.
Counter S Bit type The same operation as the contact (CS) of the counter device.
C Bit type The same operation as the coil (CC) of the counter device.
N Word [Unsigned]/Bit String [16-bit] The same operation as the current value (CN) of the counter device.
6
Lower address
Upper address
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.10 Converting Programs 385
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)
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.
Precautions
■Using a macro type function block
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 400 SEARCHING FOR DATA)
2 Back up the project.
Change the type of the function block to the subroutine type. (Page 441 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
386 6.10 Converting Programs
6.11 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
[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".
6 CREATING PROGRAMS
6.11 Calculating Memory Size 387
• 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 644 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
388 6.11 Calculating Memory Size
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 798 Applicable Devices in GX Works3
Window
"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 76 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 390 Setting the display
format)
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 390 Setting the display
format)
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 390 Setting the display
format)
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.
Window
1. Select the writing/reading range in a device memory editor.
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: 7
Page 390 Setting the display format
Applicable devices
For the devices which can be set in an initial device value editor, refer to the following:
Page 798 Applicable Devices in GX Works3
Window
"Device" "Device Initial Value" "(data name)" in the navigation window
8
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.
■Device range
Initial values can be set only for the devices in the range set in "File Setting" of "CPU Parameter".
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.
• The "Find and Replace" window can also be opened by selecting [View] [Docking Window] [Find/Replace] ( ).
• 'Find' and 'Replace' can be switched from the pull-down list of the "Find and Replace" window.
• To replace a label, a device which can be replaced is for one point.
• The search starts from the top of the program in the inline structured text box regardless of the cursor position.
• 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.
Window
Click the [All Find] button/[Replace All] button in "Find and Replace" window.
(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 417 Highlighting display
Window
[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/replaced, counted from the device entered in the "Find Device/
Options 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 of "Find Device/Label" to "Replace Device/Label"
(excluding S/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
[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
[Find/Replace] [Find String]/[Replace Character String]
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] ( )
A note, P statement, and I statement in a ladder editor can be searched or replaced if a coil, instruction,
pointer, or interrupt pointer, to which the note or statement is added, is selected.
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
[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
[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
[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 .
■Device/label options
Device or label options can be displayed in the input field by setting the following options as shown below.
Option Value
[Tool] [Options] "Find/Replace" "Cross Reference" "Operational Setting" "Auto-fill device/label name to display based on No
input history"
[Tool] [Options] "Edit" "Instruction/Device/Label Candidacy Display" "Operational Setting" "Instruction/Device/Label name Yes
Prediction"
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.
■Automatic synchronization
This function automatically creates the cross reference information of a device or label selected on an editor.
The cross reference window used for displaying the automatic synchronization result can be specified by selecting "Options"
in the window and setting the items in "Operational Setting" on the "Option" screen.
In addition, when performing an automatic synchronization, the timing of cross reference information update can be specified.
Note that this function cannot be used in a parameter editor.
Filtering display
Cross reference information being displayed can be filtered.
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.
9
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
[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.
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
[Find/Replace] [Device List].
(1)
The display format of the device list can be set in the screen displayed by selecting [Setting] [Batch Setting] in the tool bar
(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. (Multiple
selections allowed.)
(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 425 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.
• 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 562 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
[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 delete 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
• 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.
Operating procedure
Select a bookmark, then perform either of the following operations:
• Right-click the bookmark, and select [Change the Bookmark Name] 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 439 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 452 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 55 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 55 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 455 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 block which is created by a user. Page 459 Creating a
Function
Standard function A function which can be used in general. It is prepared in GX Works3 in advance. Page 55 Element
selection window
10 SEGMENTING PROGRAMS
437
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:
Page 461 Enhancing Use of User Library
10 SEGMENTING PROGRAMS
438
10.1 Creating a Function Block
This section explains the method to create a sequence program using function blocks.
Function block
10
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 440 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 441 Setting labels)
10 SEGMENTING PROGRAMS
10.1 Creating a Function Block 439
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 125 Maximum number of pieces of data that can be created in one project
However, the maximum number of data that can be created may not be reached depending on the configuration of FB files
and FUN files.
*1 For the conditions under which "Yes" can be selected, refer to the following:
Page 440 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
440 10.1 Creating a Function Block
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 218 Registering Labels
Operating procedure 10
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 221 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
10.1 Creating a Function Block 441
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)
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"
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
442 10.1 Creating a Function Block
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 10
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
10.1 Creating a Function Block 443
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 125 Maximum number of pieces of data that can be created in one project
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
444 10.1 Creating a Function Block
■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)
10
(3)
(2)
■After creating an FB
(4)
10 SEGMENTING PROGRAMS
10.1 Creating a Function Block 445
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.
3. Set each item in "Basic Setting" and "Detail Setting" of the "Create FB" screen, and click the [OK] button.
For details on the setting items, refer to the following:
Page 440 Creating new data
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 448 Local label definition setting for a function block
10 SEGMENTING PROGRAMS
446 10.1 Creating a Function Block
A function block is created and inserted above the ladder block selected in step 1.
10
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
10.1 Creating a Function Block 447
■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.
10 SEGMENTING PROGRAMS
448 10.1 Creating a Function Block
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. 10
• 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
10.1 Creating a Function Block 449
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
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
450 10.1 Creating a Function Block
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.
10
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
10.1 Creating a Function Block 451
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/
redundant mode) and an RnPSFCPU.
Procedure to use
1. Create new function block data. (Page 452 Creating data)
2. Create a program body of a user-defined tag FB. (Page 452 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 238
Registration of 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 532 Writing data to a programmable controller)
7. Monitor and debug the program by displaying a faceplate.(Page 608 Checking Tag Data)
8. Apply the initial value of the FB property. (Page 612 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 utilized in other project by registering to the user library.
10 SEGMENTING PROGRAMS
452 10.1 Creating a Function Block
■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: 10
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
10.1 Creating a Function Block 453
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)
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.
10 SEGMENTING PROGRAMS
454 10.1 Creating a Function Block
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. 10
Importing module FBs in a project
Module FBs are displayed in the [Module] tab in the element selection window when one of the following operations is
performed.
• Place a module on the module configuration diagram and fix parameters.
• Add a new module in the navigation window.
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 221 Alias)
10 SEGMENTING PROGRAMS
10.1 Creating a Function Block 455
• 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:
• 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
456 10.1 Creating a Function Block
■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". 10
2. Read the message, and click the [Yes] button.*1
A message with "Environment Setup Procedure" described in is displayed.
4. Register the library to the library list. (Page 466 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.
6. Utilize an element from the library to a project. (Page 466 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 466 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
10.1 Creating a Function Block 457
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).
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
458 10.1 Creating a Function Block
10.2 Creating a Function
This section explains the method to create a sequence program using functions.
Functions
10
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 459 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 459 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 125 Maximum number of pieces of data that can be created in one project
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 218 Registering Labels
Operating procedure
Select "FB/FUN" "(file name)" "(Function)" "Local Label" in the navigation window.
10 SEGMENTING PROGRAMS
10.2 Creating a Function 459
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
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
460 10.2 Creating a Function
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 10
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
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 462 Creating a library)
2. Register a library in GX Works3. (Page 466 Registering user libraries in the library list)
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
10.3 Enhancing Use of User Library 461
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 463 A POU whose password authentication is disabled)
Help Setting Set whether to import the help file to the library or refer it externally.
10 SEGMENTING PROGRAMS
462 10.3 Enhancing Use of User Library
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 132 Compressing a project file)
• For read-only or read-protected elements utilized from other libraries, the reading applicability of the elements cannot be
10
changed when exporting them.
• For the characters that cannot be used for a library name, refer to the following:
(Page 795 Unusable character strings for the 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 on 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.
10 SEGMENTING PROGRAMS
10.3 Enhancing Use of User Library 463
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
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.
3. Set each items in the "New" screen, and click the [OK] button.
4. Check the contents of the project after changing the module type, and edit the project as necessary.
2. Open a GX IEC Developer format project in a GX Works3 project by changing the module type. (Page 112 Opening
a GX IEC Developer format project)
3. Register the user library exported in step 1 in the library list. (Page 466 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
464 10.3 Enhancing Use of User Library
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 629 User management)
For details on the number of creatable pieces of data, refer to the following:
10
Page 125 Maximum number of pieces of data that can be created in one project
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 780 Using a Project in a Different Version
10 SEGMENTING PROGRAMS
10.3 Enhancing Use of User Library 465
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.
Operating procedure
■Registering libraries to be referenced
1. Select [Project] [Library Operation] [Register to Library List] [User Library].
2. Select a file on 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.
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
10 SEGMENTING PROGRAMS
466 10.3 Enhancing Use of User Library
■Pasting elements into a program editor (function block/function only)
1. Drag an element from the [Library] tab in the element selection window and drop it onto a sequence program.
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.
2. Enter the password on the "Password Authentication" screen, and click the [OK] button.
The element will be editable until the project is closed.
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)
• Elements from different libraries
• An element created in SFC language and one in another programming 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 462 Creating a library file)
2. Register the library file created in step 1 to the library list of the project to be utilized. (Page 466 Registering user
libraries in the library list)
3. Utilize the POU to a project from the registered library. (Page 466 Utilizing an element)
10 SEGMENTING PROGRAMS
10.3 Enhancing Use of User Library 467
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.
2. Select [Project] [Library Operation] [Update Library POU], or right-click a library element, and select [Update Library
POU] from the shortcut menu.
By updating library POUs, set contents such as the execution order of program blocks, initial label values, or assigned
devices may be changed; check these setting contents after the update.
Operating procedure
Set each item and click the [Update] button.
10 SEGMENTING PROGRAMS
468 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 on 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 on 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 468 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 469
MEMO
10 SEGMENTING PROGRAMS
470 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
471
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 839 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
472 11.1 Simulation Function
Purpose Reference
Simulation of a multiple CPU system including a programmable controller CPU and a motion Page 483 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 488 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 473
Purpose Reference
Simulation of a system including a CC-Link IE TSN compatible motion module Page 488 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 which perform cyclic transmission Page 490 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 874 Considerations
11 PROGRAM SIMULATION
474 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 475
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
[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
476 11.2 Simulation
■Simulation of an RnPCPU (redundant mode)
This function performs in 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
This function performs in 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 530 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 477
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 494 SD memory card)
Window
[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 480 Multiple CPU system
Programmable controller CPU and motion CPU: Page 483 Programmable controller CPU and motion CPU
CPU module and simple motion module: Page 488 Simple motion module/motion module
Cyclic transmission: Page 490 Cyclic transmission
11 PROGRAM SIMULATION
478 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 479
Multiple CPU system
This section shows the operation to simulate a multiple CPU system by using the example of the following system
configuration.
R16CPU
R16CPU
Operating procedure
■Starting GX Simulator3
1. Start GX Simulator3. (Page 478 System Simulation)
11 PROGRAM SIMULATION
480 11.3 System Simulation
■Connecting to the CPU No.1 and writing data
1. Select [Debug] [Simulation] [System Simulation]
[Connect Simulation].
11 PROGRAM SIMULATION
11.3 System Simulation 481
4. Select [Online] [Write to PLC] to write parameters and
programs in GX Simulator3.
■Simulating
1. In the GX Simulator3 screen, click the [RESET] button
in the row of the CPU No.1.
11 PROGRAM SIMULATION
482 11.3 System Simulation
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.
11
R16MTCPU
R16CPU
Operating procedure
■Starting GX Simulator3 and MT Simulator2
1. Start GX Simulator3. (Page 478 System Simulation)
11 PROGRAM SIMULATION
11.3 System Simulation 483
MT Simulator2 starts.
11 PROGRAM SIMULATION
484 11.3 System Simulation
■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.
11 PROGRAM SIMULATION
11.3 System Simulation 485
4. Select [Online] [Monitor] [Start Monitoring] on GX
Works3.
The system simulation starts.
11 PROGRAM SIMULATION
486 11.3 System Simulation
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
11
(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 487
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 478 System Simulation)
11 PROGRAM SIMULATION
488 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.
11 PROGRAM SIMULATION
11.3 System Simulation 489
Cyclic transmission
The section shows the operation to simulate cyclic transmission which sends data among multiple systems by using the
example of the following system configuration.
Ex.
Module configuration diagram
RJ71GF11-T2 RJ71GF11-T2
R08CPU R16CPU
To simulate a cyclic transmission, set the module parameters of 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
490 11.3 System Simulation
5. Start another GX Works3, and open the project of a
local station.
11
7. In the "GX Simulator3 Add System" screen, set a project
name and a system number.
11 PROGRAM SIMULATION
11.3 System Simulation 491
3. Select [Online] [Write to PLC] to write parameters and
programs in GX Simulator3.
11 PROGRAM SIMULATION
492 11.3 System Simulation
■Simulating
1. In the GX Simulator3 screen, click the [RESET] button
in the row of the CPU module of a local station.
Precautions
For the considerations for a simulation of a cyclic transmission, refer to the following:
Page 879 Simulation of a cyclic transmission
11 PROGRAM SIMULATION
11.3 System Simulation 493
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 478 System Simulation)
11 PROGRAM SIMULATION
494 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 478 System Simulation)
11 PROGRAM SIMULATION
11.3 System Simulation 495
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
496 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 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
11 PROGRAM SIMULATION
11.3 System Simulation 497
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
498 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 500 Executing I/O System Setting function)
4. Output the template file of the setting data. (Page 501 Outputting the template of setting data)
6. Register devices/labels to monitor in a watch window. (Page 585 Checking Current Values by Registering Devices/
Labels)
8. The following shows the procedure to run an I/O system. (Page 506 Executing the I/O system)
11 PROGRAM SIMULATION
11.4 Simulation of External Device Operations 499
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
500 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. (Required)
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 501
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 Excel or the like, and directly edit the items in the file. (Page 501 Template file)
For devices/labels available in editing a template file, refer to the following:
Page 507 Available devices/labels
Ex.
Example for editing a template file
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
11 PROGRAM SIMULATION
502 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
(It is used with "CONTINUE") 2,3,CONTINUE,1,LOOP
11 PROGRAM SIMULATION
11.4 Simulation of External Device Operations 503
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
)*15 Close bracket Y2=FALSE)
11 PROGRAM SIMULATION
504 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 505
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
506 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 (J\) Link input X
Link output Y
Link relay B
Link special relay SB
Link register W
Link special register SW
Module access device (U\G) Module access device G
CPU buffer memory access device CPU buffer memory access device G/HG
(U3E\G/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 507
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 507 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
508 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 is displayed 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.
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 adopters, 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 [Control Panel] [System and Security] [Windows Firewall] [Allow a program*1 or feature through Windows
Firewall] from Windows Start.
2. Click the [Change settings] button, and click the [Allow another program *1] button.
3. Select "GX Works3" in the "Add a Program*1" screen, and click the [Add] button.
12
4. Select "Domain", "Home/Work (Private)", and "Public" of GX Works3*2 added in the list, and click the [OK] button.
*1 For Windows 8 or later, "Apps" is displayed.
*2 '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. 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.
Default value of the high speed data logger module Personal computer
2. Set the network setting for the personal computer on the "Internet Protocol Version 4 (TCP/IPv4) Properties" screen.
(Example) Microsoft Windows 7 Ultimate
Select [Control Panel] [Network and Internet] [Network and Sharing Center] [Change adapter settings].
Select and right-click [Local Area Connection], then select [Properties] from the shortcut menu.
Select "Internet Protocol Version 4 (TCP/IPv4)" on the "Local Area Connection Properties" screen, and click the [Property]
button.
The "Internet Protocol Version 4 (TCP/IPv4) Properties" screen appears.
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
12
RJ71EN71 (192.168.0.2)
Station number: 2
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 700 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.
CPU (SD memory card, module)
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. Set "Parameter Automatic Setting" of a slave module in the "CC-Link IE TSN Configuration" screen.
2. Select the checkbox of "Slave Device Setting" under "CC-Link IE TSN Configuration" in the "Online Data Operation"
screen.
4. Select a slave device to be written the parameters to in the "CC-Link IE TSN Configuration - Slave Device 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-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.
File register
When setting values in the device memory and writing the values as file registers, select "File Register" to write.
FX5CPUs do not support this setting.
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).
Device comment
When a device comment is set, select "Common Device Comment" or "Each Program Device Comment" to write.
For FX5CPU, 'each program device comment' cannot be written to the CPU module.
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 13
When reading a program (local label, program body), read "Program".
Global label
■Initial value, accessing from external device
The operation differs between writing to and reading from the programmable controller.
• Writing: Global labels are written by selecting "Label Initial Value by Program" and "Global Label Assignment Information".
• Reading: The initial global label values and the information on access from external devices are also read when a program
is read.
FX5CPUs do not support the settings for initial label values and access from external devices.
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.
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).
Device comment
■Setting read range
Set the range of Common device comments/Each program device comments to be read from a programmable controller on
the "Device Comment Detail Setting" screen displayed by clicking the [Detail] button.
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 612 FB Property Management (Online) screen
Operating procedure
1. Select the [Delete] tab on the "Online Data Operation" screen.
Window
[Online] [Verify with PLC]
13
Operating procedure
Select the data to be verified, and click the [Execute] button.
The operation method for displaying the verification result is the same as that of project verification. For more details, refer to
the following:
Page 140 Checking a verification result
■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.
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
138 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 An SFC program cannot be written.
*4 Only standard data can be written.
*5 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".
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.
Startup/Maintenance Instructions
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.
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 554 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.
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
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 154 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.
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, setting a file to be written is required by using SM/SD devices.
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
[Online] [User Data] [Write]/[Read]/[Delete]
The following screen is an example when writing data.
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 13
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 14
executing the selected program. For details on the specified program monitor function, refer to the following:
Page 562 When monitoring devices/labels in a specified program
Window
[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
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 568 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
14
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 509 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 695 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 648 Module Diagnostic 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 648 Module Diagnostic 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 591 Turning Input/Output Device 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 593 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 700 Safety operation mode switching
Monitor mode
A ladder editor is switched to the monitor mode during a monitoring.
Page 254 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 an S device in a program editor other than a Zoom, monitor BL\S.
*2 The same value as 'N' (current value) is displayed.
*3 Cannot be monitored on an SFC diagram.
*4 FX5UJCPUs do not support it.
■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.
• 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)
14
*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
*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
14
Data in the collapsed line
is not monitored.
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 76 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)
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 76 Checking and Changing Colors and Fonts
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.
14
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 586 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 574 Enlarging the display)
The background, text, and other colors of monitor values can be changed.
Page 76 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 572 FBD/LD)
Monitor of Zoom
*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 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.
14
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 Blocks/steps can be activated by changing the current values of labels which were assigned BL\S or BL.
Precautions
• 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] ( ).
14
Operating procedure
Move the cursor on a block to be monitored on the "Block Batch Monitor" screen, then click the [Active Step Monitor] button.
Window
[Online] [Monitor] [Device/Buffer Memory Batch Monitor] ( )
■Toolbar
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 390 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 798 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 T, and C device, a contact and the current value can be changed in RCPU, and a contact only can be changed in
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.
DX, DY, FX, FY, J\X, J\Y, J\B, J\SB
• When "Bit and Word" is selected in "Display Unit Mode" of (Display Format Detailed Setting), the current value of a Z
device cannot be changed even if the bit status in the 0 to F column is changed.
• For S, BL\S, BL, blocks/steps are activated/deactivated by changing the current values. (Page 580 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 on the "Program Reference" screen, and click the [OK] button.
Window
[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 586 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 562 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
*1
Changing the display format for a device and label 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.
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 device: Label name
• Local device: Program block name/label name
• Step relay: 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
Nested function block Label (Nested function block) Label name
Labels in the nested function block Label name. label name in the function block. label name in the
nested function block
When nesting labels for one or more level deeper, the lower
part of the label name which are delimited by a dot '.' is
regarded as a label name. (Example: MAIN_PRG_LD/
FB0_1.FB1_1.FB2_1.INOUT)
When a function block includes array labels or Follow the specification method of the array or structure.
structured labels
14
*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 a block specification (BL\S) automatically in a Zoom.
*2 For FX5UCPUs and FX5UCCPUs, step relays (S) used in a Zoom are registered as step relays with a block specification (BL\S)
automatically.
• Rectangular selection can be made by dragging the devices/labels while pressing the key on an ST
editor. The devices/labels only 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, the index can
be extracted and registered as another watch item. (Page 588 Registering an array index)
This applies only when a device/label that can be monitored is used as an index.
2. Right-click it and select any of [Register to Watch 1] to [Register to Watch 4] from the shortcut menu.
The device/label is registered in the watch window.
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
(signed) type 'D1' is also registered in a watch window.
Operating procedure
14
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.
When registering a label for which a value other than a fixed value is used as an array index, the index is
extracted and automatically 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].
Window
[Debug] [Register/Cancel Forced Input/Output]( / )
(1)
14
Operating procedure
1. Enter a usable X/Y device name 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 a registered X/Y device name 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
[Debug] [Device Test with Execution Condition] [Register]
■Bit device and bit type label
By registering a device test with execution conditions into a CPU module, the instruction in the step specified
as an execution condition is framed.
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
[Debug] [Device Test with Execution Condition] [Check/Disable Register]( / )
14
(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.
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 598 Pause)
2. Change the current value of the output variable (OUT_) of the FB1. (Page 561 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 572 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 589 Automatic registration to watch windows
Precautions
• After checking the operation of a program, restart the operation of all the paused process control function blocks.
(Page 599 Restart, Page 599 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 76 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.
14
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
[Online] [Monitor] [Program List Monitor]
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 601 Starting a program)
[Stop Program] button Click this to stop a desired program. (Page 601 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.
14
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
[Online] [Monitor] [Interrupt Program List Monitor]
Operating procedure
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
[View] [Docking Window] [Intelligent Function Module Monitor] [Intelligent Function Module Monitor 1] to [Intelligent
Function Module Monitor 10]
14
Operating procedure
1. Register an intelligent function module to be monitored. (Page 604 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.
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 slave 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 slave 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 slave station in "Monitor Item Category List," then click the [OK] button.
2. Select the master station in "Module List" and a slave station in "Monitor Item Category List," then click the [OK] button.
The following information is applied to GX LogViewer when the "Realtime Monitor Setting" screen of GX
LogViewer is opened by selecting [Tool] [Realtime Monitor Function] from the menu of GX Works3.
14
• Module type information of a project
• Current connection destination of a project
• Display language
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.
Create a GOT screen project in PX Developer Monitor Tool. PX Developer Version 1 Operating Manual (GOT
Screen Generator)
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.
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 the ladder, ST, or FBD/LD 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 The "Multiple Comments Display Setting" screen will appear 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 DIAGNOSTIC
17 COLLECTING/REPRODUCING DATA
615
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 617 Preventing Illegal Access to
(Using a password) programs (Protected by a Password)
To prevent a program from being illegally accessed (for each Project Security key Page 619 Preventing Illegal Access to
program file) authentication Programs (Protected by a Key)
(Using a security key)
To prevent a program from being illegally executed CPU module Page 624 Preventing Illegal Program
(Using a security key) Execution
To prevent a project from being illegally accessed Safety project User authentication Page 627 Preventing Illegal Access to
(Using a password) Project
To prevent a CPU module from being illegally accessed CPU module Page 630 Preventing Illegal Access to
(Using a password) (RnPSFCPU and CPU Module
RnSFCPU)
To prevent a file from being illegally read/written CPU module File password Page 634 Preventing Illegal Data
(Using a password) SD memory card Reading/Writing
To restrict access from a communication route other than specific CPU module Remote password Page 639 Restricting Access from
one Other Than Specific Communication
(Using a password) Route
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 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
616
15.1 Preventing Illegal Access to programs (Protected
by a Password)
To prevent illegal access to a program (in a POU unit) by setting a password, use the Block password function.
Window
• [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 (Protected by a Password) 617
Registering/changing a block password
Register/change a block password to POUs.
Operating procedure
1. Select a POU to set a block password and click the [Register]/[Change] button.
2. Enter each item on 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 the POU to authenticate the block password, and click the [Authentication] button.
2. Enter the password on the "Password Authentication" screen, and click the [OK] button.
Operating procedure
1. Select the POU to delete the block password, and click the [Delete] button.
2. Enter the password on the "Delete Password" screen, and click the [OK] button.
15 PROTECTING DATA
618 15.1 Preventing Illegal Access to programs (Protected by a Password)
15.2 Preventing Illegal Access to Programs (Protected
by a Key)
To prevent illegal access to a program (in a program file unit) with a key, use the security key authentication function.
Key A
No key, or key B
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.
Page 620 Procedure for using the security key authentication function Page 624 Procedure for using the security key authentication function
(access prevention) (execution prevention)
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
15 PROTECTING DATA
15.2 Preventing Illegal Access to Programs (Protected by a Key) 619
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.
2. Register the security key in a program file. (Page 623 Registering a security key in a program file)
2. Register the security key in a personal computer from which a program file is to be accessed. (Page 622 Import)
15 PROTECTING DATA
620 15.2 Preventing Illegal Access to Programs (Protected by a Key)
Creating/deleting security key
Create/delete security keys on the "Security Key Management" screen.
Window
[Project] [Security] [Security Key Management]
Displayed items
Item Description
Creation Date Displays the registered date of the security key. 15
Expiration Date Displays the expiration date set when the security key was exported.
Export Displays "Enable/Disable" that indicates whether re-exporting the security key is enabled/disabled set when the security key
was exported.
Protection Target Selection Displays "Enable/Disable" that indicates whether selecting data to be protected is enabled/disabled set when the security key
was exported.
Key Registration to CPU Displays "Enable/Disable" that indicates whether writing data to CPU module is enabled/disabled set when the security key
was exported.
Operating procedure
1. Click the [New] button.
2. Enter the security key name on the "New Security Key" screen and click the [OK] button.
Operating procedure
1. Select the security key to be deleted on the "Security Key Management" screen.
15 PROTECTING DATA
15.2 Preventing Illegal Access to Programs (Protected by a Key) 621
Copying security key
Copy (import/export) security keys on the "Security Key Management" screen.
Operating procedure
1. Select the security key to be exported on the "Security Key Management" screen.
4. Set the password to be required when importing the security key, and click the [Export] button.
Precautions
• The exported security key files should be tightly controlled.
• The security key files created with GX Works3 are not compatible with that of GX Works2.
Import
Import the exported security key file in a personal computer, and register the security key.
Operating procedure
1. Click the [Import] button on the "Security Key Management" screen.
2. Select a file (*.ity) on the "Import Security Key" screen, and click the [Open] button.
3. Enter the password set when the security key was exported on 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.
15 PROTECTING DATA
622 15.2 Preventing Illegal Access to Programs (Protected by a Key)
Registering a security key in a program file
Create a security key on 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
[Project] [Security] [Security Key Setting]
15
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
15.2 Preventing Illegal Access to Programs (Protected by a Key) 623
15.3 Preventing Illegal Program Execution
To prevent an illegal execution for programs (STOP/PAUSE RUN) written in a CPU module, use the security key
authentication function.
For details on the security key authentication function, refer to the following:
Page 619 Security key authentication function
2. Register the security key in the program file to be written to the CPU module. (Page 623 Registering a security key
in a program file)
3. Write the program files to the CPU module. (Page 532 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 625 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
624 15.3 Preventing Illegal Program Execution
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
[Project] [Security] [Security Key Setting]
15
15 PROTECTING DATA
15.3 Preventing Illegal Program Execution 625
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
626 15.3 Preventing Illegal Program Execution
15.4 Preventing Illegal Access to Project
To prevent an illegal access to a safety project from a user with no authority, use the user authentication function.
RnPSFCPUs and RnSFCPUs support this function.
15
User information User information
Page 628 Procedure for using the user authentication function (access Page 632 Procedure for using the user authentication function (access
prevention) prevention)
The user information registered in a CPU module needs to match with the user information of a project.
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 627
Functions that require user authentication
Depending on the 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 631 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 100 Adding a new user
Page 629 User management
After the logon, the user can read and edit only standard programs.
2. Add the users who are allowed to operate the project. (Page 629 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 the user name and the 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
628 15.4 Preventing Illegal Access to Project
User management
Manage the user registration status of a project to which the security is set.
A User of the Administrators can change all user's passwords.
Window
[Project] [Security] [User Management]
Adding/changing users
Add/change a user information (user name/password) to/from a project. 15
Operating procedure
1. Click the [Add]/[Change] button.
2. Set each item on the "Add New User" screen/"Change User" screen, and click the [OK] button.
Operating procedure
Select the 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 629
15.5 Preventing Illegal Access to CPU Module
To prevent an illegal access to the project written to a CPU module, use the user authentication function.
RnPSFCPUs and RnSFCPUs support this function.
For details on the user authentication function, refer to the following:
Page 627 User authentication function
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
630 15.5 Preventing Illegal Access to CPU Module
Function Access level
Administrators Developers Assistant Users
Developers
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
■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
15
Safety CPU parameter
System parameter
Module parameter
Safety module parameter
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
15 PROTECTING DATA
15.5 Preventing Illegal Access to CPU Module 631
Procedure for using the user authentication function (access
prevention)
1. Register the user information in the project which is to be written to a CPU module. (Page 629 User management)
2. Write the user information to a CPU module. (Page 632 Writing/reading user information to/from CPU module)
3. For RnPSFCPUs, copy the user information to the other system. (Page 633 Copying user information to the other
system)
4. Write programmable controller data to a CPU module. (Page 532 Writing data to a programmable controller)
Once this procedure has done, logging on is required to access to the CPU module in advance.
Operating procedure
Select [Online] [User Authentication] [Write User Information to PLC]/[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".
Operating procedure
1. Select [Online] [User Authentication] [Log on to PLC]
2. Set each item on 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.
■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
632 15.5 Preventing Illegal Access to CPU Module
Changing password
Change the password for the CPU module to the same password 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 633
15.6 Preventing Illegal Data Reading/Writing
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
634 15.6 Preventing Illegal Data Reading/Writing
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)
15 PROTECTING DATA
15.6 Preventing Illegal Data Reading/Writing 635
Procedure for using the file password function
Operating procedure
1. Connect a personal computer and a CPU module. (Page 509 Specification of Connection Destination)
Operating procedure
Register a password for a file. (Page 637 Setting a file password)
Operating procedure
1. Connect a personal computer and a CPU module. (Page 509 Specification of Connection Destination)
2. Obtaining the authentication of the password registered for a file. (Page 637 Setting a file password)
Operating procedure
Obtaining the authentication of the password registered for a file. (Page 637 Setting a file password)
15 PROTECTING DATA
636 15.6 Preventing Illegal Data Reading/Writing
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
[Project] [Security] [File Password Setting]
15
15 PROTECTING DATA
15.6 Preventing Illegal Data Reading/Writing 637
Operating procedure
1. Select a file and click the [Register]/[Change]/[Authentication]/[Delete] button.
2. Set each item on 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
638 15.6 Preventing Illegal Data Reading/Writing
15.7 Restricting Access from Other Than Specific
Communication Route
To restrict the access from other than specific communication route, use the Remote password function.
1. Access to the CPU module (writing or reading operation). (Page 532 Writing data to a programmable controller,
Page 540 Reading data from a programmable controller)
2. Unlock the remote password by following the message. (Page 640 Setting remote password)
When the entered password is correct, the access to the CPU module will be permitted.
15 PROTECTING DATA
15.7 Restricting Access from Other Than Specific Communication Route 639
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
"Parameter" "Remote Password" in the navigation window
Operating procedure
1. Click the [Password] button.
2. Set each item on 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
640 15.7 Restricting Access from Other Than Specific Communication Route
16 MODULE DIAGNOSTIC
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 diagnostic functions of GX Works3 are as follows:
Function Reference
System monitor Page 642 Module Status Check of a System
Sensor/device monitor Page 645 Sensor/Device Status Check
Recording monitor Page 647 Recording Status Check
Module diagnostic Page 648 Module Diagnostic
Network diagnostic Page 654 Ethernet diagnostic
Page 655 CC-Link IE Controller Network diagnostic
Page 657 CC-Link IE TSN/CC-Link IE Field Network diagnostic
Page 659 CC-Link IE Field Network Basic diagnostic
Page 660 MELSECNET diagnostic
Page 661 CC-Link diagnostic
Page 662 Simple CPU communication diagnostic
16
16 MODULE DIAGNOSTIC
641
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
[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 DIAGNOSTIC
642 16.1 Module Status Check of a System
■Redundant system configuration
When a CPU module in a redundant system configuration is used, the following items are displayed in the base unit
configuration.
(1)
(2)
(3)
(4)
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 DIAGNOSTIC
16.1 Module Status Check of a System 643
Automatic diagnostic 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.
16 MODULE DIAGNOSTIC
644 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 diagnostic 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.
16 MODULE DIAGNOSTIC
16.2 Sensor/Device Status Check 645
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 TSNAnyWireASLINK 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 TSNAnyWireASLINK 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 DIAGNOSTIC
646 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
[Diagnostics] [Recording Monitor]
16
16 MODULE DIAGNOSTIC
16.3 Recording Status Check 647
16.4 Module Diagnostic
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 diagnostic
[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 DIAGNOSTIC
648 16.4 Module Diagnostic
Error information
Information of errors registered to a diagnostic 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 650 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 651 FB hierarchy information)
(4) [Error Jump] button Click this to jump to the following locations (Page 653 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 663 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 DIAGNOSTIC
16.4 Module Diagnostic 649
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 DIAGNOSTIC
650 16.4 Module Diagnostic
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 DIAGNOSTIC
16.4 Module Diagnostic 651
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 DIAGNOSTIC
652 16.4 Module Diagnostic
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 on ladder editor, the cursor will jump to the head line of the inline structured text 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 DIAGNOSTIC
16.4 Module Diagnostic 653
16.5 Network Diagnostic
This section explains the method to diagnose various networks.
Ethernet diagnostic
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
[Diagnostics] [Ethernet Diagnostics]
16 MODULE DIAGNOSTIC
654 16.5 Network Diagnostic
CC-Link IE Controller Network diagnostic
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
[Diagnostics] [CC-Link IE Control Diagnostics (Optical Cable)]
16
16 MODULE DIAGNOSTIC
16.5 Network Diagnostic 655
■Twisted pair cable
[Diagnostics] [CC-Link IE Control Diagnostics (Twisted Pair Cable)]
16 MODULE DIAGNOSTIC
656 16.5 Network Diagnostic
CC-Link IE TSN/CC-Link IE Field Network diagnostic
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-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)
LHCPUs do not support this function.
Window
[Diagnostics] [CC-Link IE TSN/CC-Link IE Field Diagnostics]
Ex.
CC-Link IE Field Network
16
16 MODULE DIAGNOSTIC
16.5 Network Diagnostic 657
■Displaying the sensor/device monitor screen
The sensor/device monitor screen can be displayed by the following operation. (For a CC-Link IE TSNAnyWireASLINK
bridge module only)
FX5CPUs do not support this screen.
• Select and right-click a CC-Link IE TSNAnyWireASLINK bridge module, then select [AnyWireASLINK Sensor/Device
Monitor] from the shortcut menu.
For details, refer to the following:
iQ Sensor Solution Reference Manual
16 MODULE DIAGNOSTIC
658 16.5 Network Diagnostic
CC-Link IE Field Network Basic diagnostic
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
[Diagnostics] [CC-Link IEF Basic Diagnostics]
16
16 MODULE DIAGNOSTIC
16.5 Network Diagnostic 659
MELSECNET diagnostic
A network status of each station can be monitored, diagnosed, and tested.
Considerations for using MELSECNET/H network module when performing the MELSECNET Diagnostic, 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, RnSFCPUs, LHCPUs, FX5CPUs, and remote head modules do not support this function.
Window
[Diagnostics] [MELSECNET Diagnostics]
16 MODULE DIAGNOSTIC
660 16.5 Network Diagnostic
CC-Link diagnostic
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
[Diagnostics] [CC-Link Diagnostics]
16
16 MODULE DIAGNOSTIC
16.5 Network Diagnostic 661
Simple CPU communication diagnostic
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
[Diagnostics] [Simple CPU Communication Diagnostics]
16 MODULE DIAGNOSTIC
662 16.5 Network Diagnostic
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
[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 DIAGNOSTIC
16.6 Error History/Operation History Check 663
■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.
• When writing/reading data to/from the CPU module for which a remote password has been set, the event, success to lock/
unlock the remote password, is registered more than once.
• 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 DIAGNOSTIC
664 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 666 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 670 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 672 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.
Offline monitor To check data collected from a programmable controller Page 676 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
665
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.
2. Write the memory dump setting file. (Page 667 Writing memory dump settings)
Once it is written, the memory dump result file is saved to an SD memory card when the set trigger conditions are
satisfied.
3. Read the memory dump result file to the personal computer. (Page 668 Reading memory dump results)
4. Check the read memory dump result file. (Page 669 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
666 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
[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 667
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
[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
668 17.1 Memory Dump Function
Displaying memory dump results
A memory dump result file saved in a personal computer can be displayed. 17
Window
[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 669
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.
2. Configure the data logging settings with CPU Module Logging Configuration Tool, and write the setting to the CPU
module.
17 COLLECTING/REPRODUCING DATA
670 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 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 671
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)
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 672 Settings of the
recording function)
3. Write the project to a CPU module. (Page 529 WRITING/READING DATA TO CPU MODULE)
4. Read a recording file and check the recording results with the offline monitor function. (Page 674 Reading/deleting a
recording file, Page 680 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
672 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 673
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
674 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 632 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 675
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 666 Memory Dump Function
Page 670 Data Logging Function
Page 672 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 on the "Open File" screen, then click the [Open] button. (Multiple selections allowed.)
17 COLLECTING/REPRODUCING DATA
676 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 677
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
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, #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
678 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.
For details, refer to the following:
MELSEC iQ-R CPU Module User's Manual (Application)
17 COLLECTING/REPRODUCING DATA
17.4 Checking Collected Data on Program Editor 679
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 editors (ladder, 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 678 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
680 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 674 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 679 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 681
Operating the seek bar
The "Seek Bar" window appears when starting offline monitoring.
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
[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 688 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
682 17.4 Checking Collected Data on Program Editor
■Seek bar
(2) (3) (4)
17
(1)
Displayed items
Item Description
(1) Toolbar Read Select this to read a log marker information file (*.lms, *.lmcs, *.vms). (Page 686 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 686 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 685 Editing a comment/color)
• Changing a color (Page 685 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 685 Adding a log marker, for deleting: Page 685 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 when monitoring a recording file collected by a recording
startup trigger or a logging file.
(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.
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.
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.
• 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.
17 COLLECTING/REPRODUCING DATA
17.4 Checking Collected Data on Program Editor 683
■Specifying an index manually
An index can be specified manually by dragging the slider to the left or right, or alternatively by the following procedure.
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
684 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
[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 685
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.
17 COLLECTING/REPRODUCING DATA
686 17.4 Checking Collected Data on Program Editor
Consideration
The log marker function is not available if a logging file does not contain time information.
17
17 COLLECTING/REPRODUCING DATA
17.4 Checking Collected Data on Program Editor 687
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
history, system information, and change history of a current value.
RnCPUs (R04CPU, R08CPU, R16CPU, R32CPU, and R120CPU), RnENCPUs, and RnSFCPUs support this function.
Window
[View] [Docking Window] [Event History (Offline Monitor)]
(1)
Operating procedure
1. Start offline monitoring. (Page 680 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
688 17.4 Checking Collected Data on Program Editor
■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 17
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
17.4 Checking Collected Data on Program Editor 689
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 678 Starting offline monitoring, recording file: Page 680 Starting offline monitoring)
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)
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
690 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 691
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 678 Starting offline monitoring, recording file: Page 680 Starting offline monitoring)
17 COLLECTING/REPRODUCING DATA
692 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 694 Clock Setting in a CPU Module
To switch the operation status of a CPU module Remote operation Page 695 Remote Operation
connected to GX Works3 to RUN/STOP/PAUSE/RESET
To perform the functions of CPU modules in a redundant System switching Page 697 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 700 Safety Programmable Controller
RnSFCPUs Identification check for safety data Operations
To perform the functions of RnPSFCPUs Safety module operation Page 704 Safety module operation
To check the usage of data memory CPU memory operation Page 705 Checking Memory Usage
To clear values in data memory Clear value Page 707 Initializing/Clearing a Memory
To read the label memory Label memory reading/writing Page 709 Reading/Writing the Label
To write the read label memory Memory
To update the firmware of a module Firmware update Page 712 Firmware Update
Other modules
Purpose Function name Reference
To update the firmware of a module Firmware update Page 712 Firmware Update
Window
[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
[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
[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" on the "Redundant Operation" screen, and click the [Execute] button.
Operating procedure
1. Select "Change the Operation Mode" on 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" on 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" on the "Redundant Operation" screen, and
click the [Execute] button.
Operating procedure
Click the [Execute Test] button on 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
[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
■Revision registration
A project revision is automatically registered when switching the safety operation mode.
For the method for checking registered revisions, refer to the following:
Page 156 Revision list screen
■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 532 Writing data
to a programmable controller)
3. Start another GX Works3, and read the programs and the parameters from a CPU module. (Page 540 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 701 Checking programs, Page 701
Checking module parameters (Safety Communication Setting), Page 702 Checking parameters of safety remote I/O
modules)
■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 on the "Safety Module Operation - Select Module" screen, and click the [OK] button.
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
[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 632 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 705 Checking Memory Usage)
2. Select "Data Memory" or "File Storage Area" on 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 705 Checking Memory Usage)
2. Select "Device/Label Memory" on the "CPU Memory Operation" screen, and click the [Clear Value] button.
3. Set each item on 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
[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 547 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 565 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 49 Display Language
Switching A
Printing • Printing the product information list is supported. Page 87 Printing Data
Module tool list The following settings are available. Page 209 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 216 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 373 Checking a program
Diagnostic*4 • The CC-Link IE Controller Network diagnostic (Twisted pair cable) is supported. Page 655 CC-Link IE Controller
Network diagnostic
Memory dump*3 • The memory dump function is supported. Page 666 Memory Dump
Function
APPX
Appendix 1 Additions and Changes from Previous Version 713
Version 1.007H
Item Description Reference
Module tool list • "Analog input - Offset/gain setting" under "Analog Adapter" for "FX5 Series" is Page 209 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 210 Simple motion module
function monitor function is supported. setting function
System label • A system label change notification can be received automatically. Page 245 Importing after
checking the changes
Creating a program • Function Block Diagram/Ladder Diagram language is supported. *3 Page 304 Creating an FBD/LD
Program
Reading sample comments • Sample comments are supported for a project in which an RD77MS is used. Page 372 Reading sample
comments
Simulation Simulations in the following projects are supported. Page 472 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
714 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 663 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 79 Option Setting 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 103 Opening a GX Works2
project format project
Verification • Labels can be verified. Page 138 Verifying Projects
Project revision history • The project revision history function is supported. Page 154 Project Revision History
Temporary ladder change • An operation of a ladder block can temporarily changed in a ladder program. Page 281 Changing ladder blocks
temporarily
Search • As one of the search functions, a function to search a global device and a local Page 403 Searching for/
device individually is added. Replacing Devices or Labels
Library management • A user library is supported. Page 461 Enhancing Use of User
Library
Simulation • A project for an RnPCPU can be simulated. Page 472 PROGRAM
SIMULATION
Diagnostic • The MELSECNET diagnostic is supported for a project in which a MELSEC-Q series Page 660 MELSECNET
MELSECNET/H network module is used. diagnostic
Version 1.015R
Item Description Reference
A
Element selection window • Elements of RnCPUs and RnPCPUs are displayed in order by their capacity. Page 55 Element selection
window
Options The following option is added: Page 79 Option Setting 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 103 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 140 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 185 Reading the module
FX5CPU. configuration from an actual
system
Module tool list • Temperature control modules (R60TCTRT2TT2, R60TCTRT2TT2BW, R60TCRT4, Page 209 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 237 Registering Module
program. Labels
Page 372 Reading sample
comments
Execution order setting • The execution order setting of program blocks can be set. Page 250 Program Execution
Order and Execution Type
Settings
Creating a program • Sequential Function Chart language is supported in projects for an RnCPU, an Page 322 Creating an SFC
RnENCPU, and an RnSFCPU. *3 Program
Memory size calculation • A memory size can be calculated offline. Page 387 Calculating Memory
Size
I/O system setting • Operations of an input/output device can be simulated by using this function. Page 499 Simulation of External
Device Operations
APPX
Appendix 1 Additions and Changes from Previous Version 715
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 558 Writing/Reading Data
card computer. to/from Memory Card
Reading data from an SD
memory card
Diagnostic The following statuses are displayed in the CC-Link IE Field Network diagnostic. Page 657 CC-Link IE TSN/CC-
• Network connection status Link IE Field Network diagnostic
• 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 676 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 53 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 79 Option Setting 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 101 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 103 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 145 Detailed display
module. (program)
• The verification result of an SFC program and a Zoom can be checked in the Page 545 Verifying
detailed display. Programmable Controller Data
Ladder editor • When a contact is moved with a drag and drop operation while pressing the Page 259 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 282 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 322 Creating an SFC
Program
APPX
716 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 310 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 330 Inserting initial steps
• Multiple initial steps can be edited on an SFC editor. Page 336 Inserting/editing jumps
• A jump can be edited on an SFC editor. (connection lines)
• A Zoom can be copied on an SFC editor. Page 578 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 370 Importing/exporting
comments device comments
Program check • The program check function is supported in a project for an FX5CPU. Page 374 Program check
Library management • A user library is supported for a project used for an FX5CPU. Page 462 Creating a library file
Library • A library POU to be exported can be selected individually. Page 462 Creating a library
• Multiple library POUs can be selected in the library list. Page 465 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 478 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 509 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 529 Configuration of the A
"Online Data Operation" screen. online data operation screen
Diagnostic The following modules can be diagnosed: Page 657 CC-Link IE TSN/CC-
• CC-Link IE Field Network remote I/O modules (NZ2GFCF1-32D, NZ2GFCF1-32T, Link IE Field Network diagnostic
NZ2GFCF1-32DT)
Monitor • When an FB program is opened while monitoring a program, the FB instance starts Page 562 Starting/stopping
monitoring. monitoring
Installation of a USB driver • A USB driver is installed simultaneously with the installation of GX Works3. Page 884 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 79 Option Setting 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 315 Layout correction
supported.
Program check • The syntax check function is supported in a project for an RnCPU. Page 373 Syntax check
Writing data to a programmable • In projects for an RnCPU, an RnENCPU, and an RnSFCPU, whether to check the Page 532 Writing data to a
controller duplication of POU names can be selected.*3 programmable controller
Online program change Page 551 POU duplication check
Online program change • The program restoration information can be written in the background process.*3 Page 552 Program transfer during
the online program change
APPX
Appendix 1 Additions and Changes from Previous Version 717
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
718 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 45 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 521 Accessing via GOT
supported. (GOT Transparent Function)
Printing • This function is improved to print a selected page. Page 87 Printing Data
Opening a GX Works2 format • A function to open a GX Works2 user library is supported in a project for an Page 103 Opening a GX Works2
project FX5CPU. format project
Project management • An iQ AppPortal information file can be output. Page 123 Saving a project
Exporting libraries
Changing the module type/ • The module type can be changed from an FX5CPU to an R04CPU. Page 135 Changing the Module
operation mode Type and Operation Mode of
Projects
Verification • Module parameters of a CPU module can be verified. Page 139 Parameters
XY assignment display • A function to display XY assignment information on the module configuration Page 192 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 209 Other Settings of
Intelligent Function Modules
Creating an ST program The following are supported. Page 128 Adding worksheets
Creating an FBD/LD program • Registering devices/labels in the watch window automatically Page 297 Creating an ST
• Displaying 'Warning' when type conversion is performed automatically Program
• Changing the display color of devices, labels and comments Page 304 Creating an FBD/LD
• Creating multiple worksheets Program
Execution order setting • The execution order of multiple worksheets can be set. Page 251 Worksheet execution
order setting
Creating a ladder program The following are supported. Page 254 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 304 Creating an FBD/LD
SFC editor Program
Page 322 Creating an SFC
Program
Device comment • Device comments can be exported to a file for each device type. Page 371 Exporting
Program check • The syntax check function is supported in a project for an FX5CPU. Page 373 Syntax check
Search/replacement • In a ladder editor, a range for search or replacement can be specified. Page 402 Range specification in
editors
Device batch replacement • When a character string is pasted onto the cell in the "Replace Device" row, the Page 409 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 412 Displaying cross
reference information
Cross reference • A comment can be edited using a shortcut menu. Page 412 Displaying cross
Watch reference information
Page 585 Checking Current
Values by Registering Devices/
Labels
Unused label list • A function to display unused labels in the list format is supported. Page 418 Displaying a list of
unused labels
Library management • Libraries using a module label and/or structure can be exported. Page 462 Creating a library file
• A sample library is supported in a project for an FX5CPU. Page 466 Utilizing an element
Simulation • A project for an FX5CPU can be simulated. Page 472 PROGRAM
SIMULATION
APPX
Appendix 1 Additions and Changes from Previous Version 719
Item Description Reference
Writing data to a programmable • In a project used for an RnPCPU (process mode/redundant mode), whether or not to Page 532 Writing data to a
controller check the duplication of POU names can be selected.*3 programmable controller
Online program change Page 551 POU duplication check
Device/buffer memory batch • Bit visibility is improved. Page 582 Checking Device/Buffer
monitor Memory in a Batch
Watch • Visibility of bit devices and bit type labels are improved. Page 585 Checking Current
Values by Registering Devices/
Labels
Diagnostic The following modules can be diagnosed: Page 657 CC-Link IE TSN/CC-
• CC-Link IE Field Network remote I/O modules (NZ2GF2B1N1-16D, NZ2GF2B1N1- Link IE Field Network diagnostic
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 master/local 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 53 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 79 Option Setting 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 103 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 112 Opening a GX IEC
format project Developer format project
Verification • A device comment and device memory can be verified in project verification. Page 138 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 200 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
720 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 195 Setting system
module configuration diagram, are closed. parameters
Ladder editor • A statement can be set for an END instruction. Page 254 Creating a Ladder
Program
Importing/exporting ladder The following are supported. Page 285 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 304 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 310 Entering programs
• Wrapping a comment and a label name to display. Page 304 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 327 Display format of
• MELSAP-L (instruction format) display action/transition
• Displaying devices assigned to labels of an FBD/LD element Page 323 Configuration of an
• Opening a new window in a block start step during monitoring with the SFC auto- SFC diagram editor
scroll Page 578 Monitoring with the
SFC auto-scroll
Memory size calculation • "Byte" or "Step" can be selected from "Display Unit" in the "Confirm Memory Size Page 387 Calculating Memory
(Offline)" screen. Size
Cross reference • In an FBD/LD program, the data type of an FB/FUN using devices/labels as Page 411 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 418 Displaying a list of
unused labels
Simulation The following are supported. Page 472 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 521 Accessing via GOT
A
destination for an RCPU. (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.
Writing to a programmable • A project with no labels can individually be written to a CPU module. Page 532 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 559 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 560 CHECKING
OPERATION OF PROGRAMS
Registering/canceling forced • When GX Works3 is connected with an RnCPU or an RnENCPU, X/Y devices can Page 591 Turning Input/Output
input/output*3 forcibly be turned ON/OFF. Device ON/OFF Forcibly
Intelligent function module • The intelligent function module monitor function is supported in a project for an Page 603 Checking Current
monitor FX5CPU. Values in an Intelligent Function
Module
Diagnostic The following modules can be diagnosed: Page 657 CC-Link IE TSN/CC-
• Multiple input module (NZ2GF2S-60MD4) Link IE Field Network diagnostic
• 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 659 CC-Link IE Field
RnCPU, an RnENCPU, and an FX5CPU. Network Basic diagnostic
Offline monitor • Values of logging data displayed in GX LogViewer can be monitored on a program Page 792 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 721
Item Description Reference
FX5CPU The following functions are available:*3 Page 663 Error History/Operation
• Event history History Check
• Data logging Page 670 Data Logging Function
• File transfer function (FTP server)
• A device connected with GX Works3 on Ethernet can automatically be detected.
• The "Device/Label Memory Area Detailed Setting" screen is added in "Device/Label
Memory Area Setting" of "CPU Parameters". Parameters can easily be set and
displayed in this screen.
• Parameters for FX5CPU built-in functions can be verified.
• Assignment of global labels are retained in a project for an FX5CPU.
APPX
722 Appendix 1 Additions and Changes from Previous Version
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 55 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 79 Option Setting 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 107 Opening a PX
project Developer format project
Verification • FB files and FUN files can be verified. Page 138 Verifying Projects
• A device comment, device memory, and file register written in a CPU module can be Page 545 Verifying
verified. Programmable Controller Data
• After verifying program files, the details of the result can be checked. Page 140 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 189 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 277 Changing TC setting
batch. values
Creating an FBD/LD program • A link can be set between a comment element and an element. Page 318 Linking a comment
• FBD Network Blocks can be displayed in a list. Page 320 Displaying FBD
network blocks in a list
Creating an SFC program • A link can be set between a comment element and an element. Page 349 Linking a comment
Online data operation Data to display in the "Online Data Operation" screen can be selected by setting the Page 529 Configuration of the
following menu. online data operation screen
• [Setting] [Set Favorites]
Writing to a programmable
controller
• When a module label is not used in "Refresh Setting" of "Module Parameter", the
checkbox of "Module Parameter" is not selected even when "Global Label" is
Page 532 Writing data to a
programmable controller
A
selected in the "Online Data Operation" screen.
Registering/canceling forced • The "Register/Cancel Forced Input/Output" screen can be displayed using the icon Page 563 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 576 MELSAP-L (instruction
diagram editor, the monitor value where the cursor is placed is highlighted in format)
monitoring.
Diagnostic • The sensor/device monitor function is supported. Page 645 Sensor/Device Status
Check
The following modules can be diagnosed: Page 657 CC-Link IE TSN/CC-
• CC-Link IE Field Network remote I/O modules (NZ2GF2B1-32D, NZ2GF2B1-32DT, Link IE Field Network diagnostic
NZ2GF2B1-32DTE, NZ2GF2B1-32T, NZ2GF2B1-32TE)
Simulation • The latch function is available. Page 846 Supported CPU module
functions
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 723
Version 1.035M
Item Description Reference
Options The following options are added: Page 79 Option Setting 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 87 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 103 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 112 Opening a GX IEC
format project Developer format project
Help file • A help file can be linked to a function or function block. Page 129 Associating data with a
help file
Verification • Module extended parameters of a simple motion module can be verified. Page 138 Verifying Projects
• The module information of an intelligent function module can be verified. Page 545 Verifying
Programmable Controller Data
Module tool list • Multiple input modules (FX5-8AD) are supported. Page 209 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 294 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 366 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 366 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 311 Common operations of
• A device comment editor can be opened from a program editor with the menu or elements
shortcut key. Page 366 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 366 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 440 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 547 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 550 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
724 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Diagnostic In the following diagnostics, the diagnostic screen can be displayed when another Page 655 CC-Link IE Controller
station was specified as the connected destination. Network diagnostic
• CC-Link IE Controller Network diagnostic Page 657 CC-Link IE TSN/CC-
• CC-Link IE Field Network diagnostic Link IE Field Network diagnostic
The following setting are available for a CC-Link IE Field Network Basic diagnostic. Page 659 CC-Link IE Field
Network Basic diagnostic
• Group setting of a slave 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 670 Data Logging Function
• CPU Module Logging Configuration Tool
• GX LogViewer
Simulation The following are supported by the simulation function. Page 839 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 882 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 slave 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 Slave Station" to project.
• Same parameters can be written to/read from slave stations with the same model
name by using the "The Parameter Processing of Same Slave 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 slave station
• Parameter processing of slave station
Others The following items are added to the module extended parameters for positioning
modules (RD75D2, RD75D4, RD75P2, and RD75P4):*4
• Offline simulation
• Automatic calculation of a command speed
• Automatic calculation of an auxiliary arc
In addition, the following OPR method is available.*4
• Limit switch combined method
• 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 703 Automatic restoration
setting
APPX
Appendix 1 Additions and Changes from Previous Version 725
Item Description Reference
FX5CPU The following options are added: Page 79 Option Setting 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 521 Accessing via GOT
GOT transparent function. (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
726 Appendix 1 Additions and Changes from Previous Version
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 547 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 442 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
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 53 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 53 Navigation window
not comply with the instruction specifications, a conversion error occurs. Page 101 Opening a project
• When a project is opened, a ladder program that was previously displayed is
displayed.
• When the position of a mouse cursor is in a nested master control instruction at the
A
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 260 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 76 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 304 Configuration of an
individually. FBD/LD editor
• A page break can be displayed in an FBD/LD editor. Page 304 Configuration of an
FBD/LD editor
• When a jump label element of an FBD/LD is selected and the key is pressed, a Page 310 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 76 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 323 Configuration of an
individually. SFC diagram editor
Options The following option is added: Page 79 Option Setting for Each
• "Program Editor" "SFC Diagram Editor" "Action/Transition" "Operational Function
Setting" "Include Device Comment in Copying"
APPX
Appendix 1 Additions and Changes from Previous Version 727
Item Description Reference
Printing • Ladder programs can be printed by specifying the range (number of lines). Page 87 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 99 Creating a project
mode GX Works3 in the Q/L/FX series compatibility mode, projects for a QCPU (Q mode), an Page 100 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 101 Opening a project
• Creating a new project with data read from a CPU module Page 123 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 103 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 812 Instructions in which
the names need to be replaced
Opening a PX Developer format The following project parameters that are set in a PX Developer project can be Page 107 Opening a PX
project imported. Developer format project
• Program execution setting Page 823 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 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 112 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 464 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 187 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 195 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 201 iQ Sensor Solution
are available. functions
• Data backup/restoration
Module tool list • Analog input modules (FX5-4AD) are supported. Page 209 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 285 Importing/exporting
programs Moreover, a program including the elements below can be imported from a CSV file. ladder programs
• Label
• Inline structured text
• 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 365 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 387 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'
APPX
728 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Cross reference • A device assigned to an alias source is displayed as a 'device' of the alias. Page 412 Displaying cross
reference information
Library management • Elements of a library created in an ST program or an FBD/LD program can be Page 468 Updating library POUs
updated at once.
Simulation • A cyclic communication can be simulated. Page 472 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 521 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.
Writing data to a programmable • It is improved so that the status of edited function block or POU using a function will Page 442 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 460 Converting functions
• Program files, FB files, and FUN files can be written without the program restoration Page 532 Program restoration
information. *3 information
Page 553 Program restoration
information
Online program change • When "Online Program Change" is performed after converting a program, whether or Page 547 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 554 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 at once. Page 583 Changing current
monitor values
Watch • When data is changed by editing or converting a program, the change is not applied Page 585 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 585 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 603 Checking Current
A
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 630 Preventing Illegal
• Authentication destination setting in the online function Access to CPU Module
• Logging off from a CPU module
• 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 645 Sensor/Device Status
Check
Diagnostic The following modules can be diagnosed: Page 657 CC-Link IE TSN/CC-
• CC-Link IE Field Network remote I/O modules (NZ2GFCE3N-32D, NZ2GFCE3N- Link IE Field Network diagnostic
32T, NZ2GFCE3N-32DT)
The following can be displayed in a CC-Link IE Field Network Basic diagnostic.
• Detailed error information of a slave station
Safety programmable controller • The safety module operation function is supported in a project for an RnPSFCPU. Page 700 Safety Programmable
operation Controller Operations
APPX
Appendix 1 Additions and Changes from Previous Version 729
Item Description Reference
Windows 10 • When a GX Works3 screen is not displayed properly, it can be fixed with high DPI Page 886 Troubleshooting
scaling by using a Windows 10 function.
• 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, searching and/or replacing
Cross reference by selecting "Multiple words" of "Find/Replace Options" are supported.
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 792 Checking logging data
using the 'Offline monitor' function. in version 1.063R or earlier
Version 1.042U
Item Description Reference
Verification When "Hide System Generated Items" is selected from the pull-down list in a Verify Page 145 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 219 Editing a row
Ladder program • A label comment of a structure member can be edited in the "Input Device Page 272 Entering/editing
Comment" screen. comments
FBD/LD editor • A tool hint is displayed while options for labels are displayed. Page 304 Configuration of an
SFC editor FBD/LD editor
Page 323 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 103 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 107 Opening a PX
GP.SREAD, GP.WRITE, GP.SWRITE, J.ZNRD, J.ZNWR, JP.ZNWR, JP.ZNRD Developer format project
APPX
730 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 53 Navigation window
Search/replacement After the cursor jumped from a search result to a program editor, label editor, or SFC Page 58 Basic menus
block list, by using the following menu, the cursor jumps forward or backward from the Page 403 Searching for/
current position to the positions where search or replacement was applied. Replacing Devices or Labels
• [Find/Replace] [Previous]/[Next] Page 405 Searching/Replacing
Instructions
Page 406 Searching/Replacing
Character Strings
Page 408 Changing Contacts
between Open Contact and Close
Contact
Page 412 Displaying cross
reference information
• The ranges for search and replacement can be specified in a device comment editor. Page 402 Range specification in
editors
• An argument of a function block, argument of a function, and member of a structure Page 403 Searching for/
can be searched or replaced. Replacing Devices or Labels
Options for labels can be displayed when entering a label name in the following Page 403 Searching for/
functions. Replacing Devices or Labels
• Device/label search Page 408 Changing Contacts
• Device/label replacement between Open Contact and Close
• Open/close contact change Contact
• Device batch replacement Page 409 Batch Replacing of
Devices and Labels
Library The following menu is available even when the element selection window is not Page 58 Basic menus
displayed:
• [Project] [Library Operation] [Register to Library List]
• A library which is associated with a simple motion module can be used. Page 457 Using a library
associated with a module
A
• Password authentication for a read-protected POU can be disabled. Page 462 Creating a library file
Page 466 Utilizing an element
• An option to automatically check whether or not all the user libraries are updated is Page 468 Checking for library
added. updates automatically
Options The following options are added: Page 79 Option Setting 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 87 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 103 Opening a GX Works2
project GX Works3. format project
Page 805 Correcting parameters
The parameters of the following modules can be imported: Page 103 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 138 Verifying Projects
window. Page 545 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 731
Item Description Reference
Module configuration diagram • The station numbers of the modules controlled by a CPU module in another station Page 182 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 188 Application of
parameter information
CC-Link configuration window The following iQ Sensor Solution functions are available in projects for an RnCPU and Page 201 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 in which a CC-LinkAnyWireASLINK bridge
module is used.
Changing a module A module name, module type, and station type of the following modules can be Page 213 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 254 Creating a Ladder
Comment" screen. Program
• After pasting a ladder program including functions and function blocks to another Page 278 Pasting
project, if pasting the program again, the FB/FUN file is no longer pasted. Page 279 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 283 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 297 Creating an ST
FBD/LD editor Program
Page 304 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 315 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 387 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 412 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 420 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 472 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 502 Creating setting data
• INT_TO_REAL
• REAL_TO_INT
• DINT_TO_REAL
• REAL_TO_DINT
Connection destination setting • A connection to a CPU module via a QCPU (Q mode) is available. Page 522 Accessing via QCPU
(Q mode)
Writing data to a programmable • For RnCPUs, RnENCPUs, and RnSFCPUs, a file with no changes from the previous Page 533 Skip overwriting data
controller writing is not written to a CPU module.*3
APPX
732 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 532 Program restoration
controller excluding the program restoration information can be written to a CPU module. *3 information
Online program change Page 553 Program restoration
information
Online program change • For RnCPUs and RnENCPUs, the online program change can be performed for an Page 550 Online program change
SFC active block. of SFC programs
• For an RnPCPU (redundant mode) project, the online program change can be Page 552 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 553 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 572 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 582 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 586 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, X/Y devices can forcibly be turned ON/OFF. Page 591 Turning Input/Output
input/output*3 • R00CPU, R01CPU, R02CPU Device ON/OFF Forcibly
• RnPCPU (process mode/redundant mode)
Pause FB/restart FB • During a program execution, the execution of a process control function block can be Page 597 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 611 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 627 Preventing Illegal
Access to Project
Offline monitor • Label values displayed in GX LogViewer can be monitored on a program editor. Page 792 Checking logging data A
in version 1.063R or earlier
Diagnostic The following information can be displayed in a CC-Link IE Field Network diagnostic. Page 657 CC-Link IE TSN/CC-
• Error history in a slave station Link IE Field Network diagnostic
The following modules can be diagnosed: Page 659 CC-Link IE Field
• CC-Link IE Field Network Basic remote I/O modules (NZ2MF2S1-32D, NZ2MF2S1- Network Basic diagnostic
32T, NZ2MF2S1-32TE1, NZ2MF2S1-32DT, NZ2MF2S1-32DTE1) Page 657 CC-Link IE TSN/CC-
• CC-Link IE Field Network remote I/O modules (NZ2GF12A-60IOLH8, NZ2GFSS2- Link IE Field Network diagnostic
16DTE, NZ2GFSS2-8D, NZ2GFSS2-8TE, FCU8-EX564, FR-A8NCE)
• MELIPC (MI5122-VW)
• The 'Simple CPU Communication Diagnostics' function is available. *3 Page 662 Simple CPU
communication diagnostic
Safety operation mode • The file size of a safety project does not increase when switching the safety Page 700 Safety operation mode
switching operation mode of a CPU module without changing data in the project. switching
Parameter The following items are added to parameters for RnCPUs and RnENCPUs:
• Web Server Settings
• Battery-less Option Cassette Setting
• Simple CPU Communication Setting
"Online(Asynchronous Mode)" can be selected in the following parameter setting of a
high-speed data logger module (RD81DL96) and an MES interface module
(RD81MES96).
• "Module Information" "(module name)" "(module parameter)" "Basic
Settings" "Various Operations Settings" "Mode Settings"
In a safety project, the configuration of the device/label memory area can be checked
in the following CPU parameter.
• "CPU Parameter" "Device/Label Memory Configuration Confirmation"
APPX
Appendix 1 Additions and Changes from Previous Version 733
Item Description Reference
CC IE Field configuration • MELSOFT FieldDeviceConfigurator can be started by double-clicking an CC-Link IE
window Field Network waterproof remote IO-Link module (NZ2GF12A-60IOLH8) that is
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 slave stations, and connection destination setting
information. *7
• When setting module parameters of a safety remote I/O module in the "Parameter
Processing of Slave 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 192 Checking the power
supply capacity and I/O points
• A simulation environment file can be saved. Page 497 Saving a simulation
• A simulation environment file can be opened. environment file
Page 498 Opening a simulation
environment file
• The GOT transparent function, which connects a personal computer and a GOT, and Page 521 Accessing via GOT
the GOT and a CPU on Ethernet, is available. (GOT Transparent Function)
APPX
734 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 412 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 573 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 593 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 806 Automatic replacement
project increased. of elements (GX Works3 Version
1.047Z or later)
Parameter In projects for an RnPCPU (redundant mode), an RnSFCPU, and an RnPSFCPU, the
following functions of PROFIBUS Configuration Tool are available.*6
• Upload Configuration Image
• Download Configuration Image
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 slave 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
value can be changed to the entered value.
FX5CPU • When using the online program change function, a program and program restoration Page 553 Separate writing of a
A
information can separately be written.*3 program and program restoration
information (FX5CPU only)
The following item is added to parameters:*3
• Program capacity setting
Version 1.050C
Item Description Reference
Work window • Floating work windows can be combined as one window. Page 52 Combining work
windows in one window
Options The following option is added: Page 79 Option Setting 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 103 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 112 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 132 Compressing a project
file
Verification The details of the verification results of the following programs are displayed in the Page 140 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 735
Item Description Reference
Parameter The following items are added in the module parameter of RnCPUs and RnENCPUs.*3 Page 196 Setting parameters of
• Communications by Network No./Station No. control CPU
• Network/Station No. <-> IP information setting
The following items are added in the CPU parameter of an RnPCPU (redundant
mode). *3
• Setting to Wait Receiving Cyclic Data after Switching System
S devices can be set in the following parameter of a project used for an RnPCPU
(redundant mode).*3
• "CPU Parameter" "Redundant System Settings" "Tracking Setting" "Tracking
Device/Label Setting" "Device/Label Detailed Setting"
As the items of the parameters of the following modules, "MODBUS/TCP Settings" and
"Simple CPU Communication Setting" are added. *3,*4
• _RJ71EN71 (E+IEC)
• _RJ71EN71 (E+IEF)
• RJ71EN71 (E+CCIEC)
• RJ71EN71 (E+CCIEF)
• RJ71EN71 (E+E)
Tag FB • Up to 1000 tag FBs can be registered into a project. Page 238 Registration of tag FBs
Page 611 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 254 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 257 Splitting a ladder editor
• Even when the definition of a function block or function is deleted, the FB instance or Page 265 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 268 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 297 Configuration of an ST
Device comment editor following menu. editor
Device memory editor • [Window] [Split Window Operation] [Focus on Next Window]/[Focus on Page 365 Configuration of a
Previous Window] device comment editor
Page 390 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 304 Creating an FBD/LD
SFC diagram editor set. Program
• "Program Editor" "FBD/LD Editor" "Enter Element" "Operational Setting" Page 322 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 322 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 372 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 375 Target of duplicated coil
check
APPX
736 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Memory size calculation For the following CPU modules, by selecting the version of a CPU module in use in the Page 387 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 403 Searching for/
retained even after exiting GX Works3. Replacing Devices or Labels
Page 405 Searching/Replacing
Instructions
Page 406 Searching/Replacing
Character Strings
Page 408 Changing Contacts
between Open Contact and Close
Contact
Page 409 Batch Replacing of
Devices and Labels
Cross reference • When selecting a device or label in an editor, the row of the device or label in the Page 414 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 414 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 414 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 494 SD memory card
memory card file.
The following operations can be performed for GX Simulator3. Page 533 Skip overwriting data
• RnCPUs, RnENCPUs, and RnSFCPUs: omission of writing files that are not Page 552 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 839 GX Simulator3
• CC-Link IE Controller Network module (RJ71GP21S-SX)
The following CPU module functions are available:
• RnCPUs, RnENCPUs, RnPCPUs, RnPSFCPUs, and RnSFCPUs: writing to an SD
Page 846 Supported CPU module
functions
A
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 855 Supported instructions
• Output instruction (DELTA(P))
• Reading/writing data instructions
"Memory Card" can be selected in the following CPU parameter items: Page 859 Supported parameters
• "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
GOT transparent • GX Works3 can access an RnPSFCPU by using this function. Page 521 Accessing via GOT
(GOT Transparent Function)
APPX
Appendix 1 Additions and Changes from Previous Version 737
Item Description Reference
Writing data to a programmable • For an RnPCPU, a file with no changes from the previous writing is not written to a Page 532 Writing data to a
controller CPU module. *3 programmable controller
Page 533 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 559 File password function
computer. Page 634 Preventing Illegal Data
Reading/Writing
Monitoring • Ladder editor: The monitor values of devices which are used as the arguments for Page 569 Ladder
input/output labels of a standard function or a standard function block are displayed Page 571 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 579 Monitoring SFC steps
displayed. *3 which were activated
Registering/canceling forced • When connecting to an RnSFCPU, X/Y devices can forcibly be turned ON/OFF.*3 Page 591 Turning Input/Output
input/output Device ON/OFF Forcibly
User authentication • Users can log on to a project and a CPU module as a guest user. (It is required that Page 628 Guest user
the CPU module supports 'Assistant Developers'. *3)
Diagnostic • When connecting a personal computer to a sub-master station which operates as Page 645 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 648 Module Diagnostic
displayed in the module diagnostics screen.
The following modules can be diagnosed: Page 657 CC-Link IE TSN/CC-
• CC-Link IE Field Network block type remote IO-Link module (NZ2GF2S-60IOLD8) Link IE Field Network diagnostic
• Ethernet modules can be diagnosed in a simple CPU communication diagnostic.*4 Page 662 Simple CPU
communication diagnostic
AnyWireASLINK configuration • In a project in which a CC-LinkAnyWireASLINK bridge module is used, up to 256
window slave stations 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 slave 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
slave 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 Slave 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 Slave Station" screen.
• The "Parameter Processing of Slave Station" screen can be closed with discarding
current changes by clicking the [Cancel] button in the screen.
APPX
738 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
FX5CPU • The system monitor function is available.*3 Page 642 Module Status Check of
a System
• The sensor/device monitor function can be performed in a project in which Page 645 Sensor/Device Status
AnyWireASLINK is used. Check
The following modules can be diagnosed: Page 648 Module Diagnostic
• FX5-20PG-P, FX5-20PG-D, FX5-ENET
• The 'Simple CPU Communication Diagnostics' function is available. *3 Page 662 Simple CPU
communication diagnostic
APPX
Appendix 1 Additions and Changes from Previous Version 739
Version 1.052E
Item Description Reference
Options (RCPU) The following option is added: Page 80 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
FX5CPU When verifying the device memory with the default setting, special relays (SM devices) Page 546 Device memory
(Verification with data in a and special registers (SD devices) are excluded from verification.
programmable controller)
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 360 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 253 Execution interval and
phase
Menu The following menus are changed. Page 58 Basic menus
• Before change (version 1.032J to 1.054G) Page 612 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 78 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 105 Data to be changed
project imported.
• Elements that are automatically replaced in an ST or FBD/LD program are Page 806 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 127 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 145 Detailed display
• Details of a verification result of an ST program are displayed in the detailed display (program)
(diagram/table format) screen. Page 149 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 199 Setting parameters
module can be read. Page 372 Reading sample
comments
APPX
740 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
CC-Link IE TSN configuration • In projects for an RnCPU and an RnENCPU, a CC-Link IE TSN system can be Page 200 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 slave station:
TSN User's Manual (Application)
• Motion Control Station
• PDO Mapping Setting
• Communication Period Setting
The PDO mapping parameters of slave 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 slave station
• Command execution of slave station
Device assignment confirmation • Refresh devices which are assigned to a slave station can be checked when using a Page 202 Checking refresh
CC-Link IE TSN module. devices assigned to a module
• The contents in the "Explanation" column displayed in the link device list of the Page 204 Applying explanations
"Device Assignment Confirmation" screen can be applied to the device comment for to device comments
each refresh device when using a CC-Link IE TSN module.
Parameter • Link side devices of a CC-Link IE TSN module can be set in a batch. Page 207 Setting link side
devices in a batch (CC-Link IE
TSN)
"Online(Asynchronous Mode)" can be selected in the following module parameter
settings for a OPC UA server module (RD81OPC96).
• "Basic Settings" "Various Operations Settings" "Mode Settings"
"Disconnection detection function" is added in the module parameters for the following
modules.
• R60DA8-G
• R60DA16-G
• R60DA8-G (Q)
• "ADCValue logging function" is added in the module parameters for a flexible high-
speed I/O control module (RD40PD01).
The following item is added to the CPU parameters for RnCPUs and RnENCPUs:*3
• Link Direct Device Setting A
The following item is added to the memory card parameters for RnCPUs and
RnENCPUs:*3
• Slave Station Parameter
"Simple CPU Communication Setting" in the module parameters for RJ71EN71 is
changed as follows*4:
• Up to 512 rows can be set for "Setting No.".
• "On Request" can be set for "Communication Setting".
• "MELSEC-A/AnS (Ethernet Module)" and "MELSEC-FX3 (Block/Adaptor)" can be
selected for "Communication Destination".
• The communication destinations can be filtered.
"Link points extended setting" is added in the module parameters for the following
modules.*4
• RJ71GP21-SX (R)
• RJ71GP21S-SX (R)
• RJ71EN71 (CCIEC)
• RJ71EN71 (E+CCIEC)
• _RJ71EN71 (CCIEC)
• _RJ71EN71 (E+IEC)
• "Fixed Scan Communication Area Setting" is added in the multiple CPU settings in
the system parameters for RnSFCPUs.*4
The following setting can be configured in the system parameters.
• Selecting "Synchronize" in the "Setting" column for an RnSFCPU in the "Select the
Synchronous Target Module" screen
The following items are added to the CPU parameters for RnSFCPUs:*4
• Synchronous Interrupt Program (I44,I45) Executing Time Excessive
• Synchronous Interrupt Execution Interval Error (CPU Module)
• Refresh Setting (At I45 Exe.)
'I44' and 'I45' can be set in the "Event Execution Type Detailed Setting" screen in
"Program Setting".*4
The following item is added to the module parameters for RJ51AW12AL:
• Easy replacement enable/disable setting for one slave module
APPX
Appendix 1 Additions and Changes from Previous Version 741
Item Description Reference
Module tool list The following modules are supported. (Predefined Protocol Support Tool For Page 209 Displaying the module
Positioning) tool list
• RJ71C24
• RJ71C24-R2
• RJ71C24-R4
Assigned device check • Devices assigned to the global label can be checked if there is a same device Page 231 Checking assigned
assigned to another label. devices
Structure definition • Reserved area capacities of structure members can be set in the "Properties" screen Page 232 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 235 Exporting/importing
file. data to/from a file
Page 236 XML file
Creating a program If "Yes" is selected for the following option, devices and labels for which a device Page 259 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 299 Inserting instructions,
watch window. functions, and control syntax
• "Edit" "Instruction/Device/Label Candidacy Display" "Candidate Display Page 310 Using the edit box
Setting" "Display the Device to Which Device Comment Has Been Set" Page 368 Device comment
including @
Page 403 Searching for/
Replacing Devices or Labels
Page 408 Changing Contacts
between Open Contact and Close
Contact
Page 409 Batch Replacing of
Devices and Labels
Page 586 Registering to a watch
window
Importing/exporting ladder • When importing a program including a function block or function, the function block, Page 286 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 297 Configuration of an ST
editor
FBD/LD editor • By pressing the +/// keys, the cursor can be moved on an editor Page 304 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.
• The size of a comment element, function element, and function block element can Page 306 Elements
be changed. Page 313 Changing the element
size
SFC diagram editor • By pressing the +/// keys, the cursor can be moved on an editor Page 323 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 368 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 394 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 417 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 466 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 468 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 512 Specifying the Ethernet
Works3. adapter on the personal computer
side
• A CPU module can be accessed via QJ71E71-100. Page 523 Accessing via
QJ71E71-100
APPX
742 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Parameter of a slave station on • Parameters of a slave station on CC-Link IE TSN can be written to, read from, or Page 535 Parameter
CC-Link IE TSN*3,*4 deleted from a CPU module or the SD memory card inserted in the CPU module. Page 541 Parameters
• When writing parameters of a slave station on CC-Link IE TSN to a CPU module or Page 554 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 slave station. (file batch online change)
Writing data to a programmable • In a project for an RnPCPU, only the program restoration information of a program Page 532 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 533 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 532 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 547 Writing Programs While
a CPU Module is in the RUN State
• The online change (SFC block) can be performed for an RnPCPU. Page 550 Online program change
of SFC programs
Monitoring By using the following menu, the right half of the split window can be displayed or Page 571 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 585 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 586 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 593 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 611 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 645 Sensor/Device Status
• Transmission cycle time for bit and word data Check A
• Input status of a word slave module
Diagnostic The following modules can be diagnosed in projects for an RnCPU and an RnENCPU: Page 657 CC-Link IE TSN/CC-
• CC-Link IE TSN module (RJ71GN11-T2) Link IE Field Network diagnostic
• 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)
APPX
Appendix 1 Additions and Changes from Previous Version 743
Item Description Reference
Options The default value for the following option is changed. Page 788 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"
Simulation The following operation can be performed for GX Simulator3. Page 533 Skip overwriting data
• RnPCPU: omission of writing files that are not changed
A project including any of the following modules can be simulated: Page 839 GX Simulator3
• Main base unit (R33B)
• 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 846 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 855 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 859 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.
• Monitoring interval can be specified for monitoring data of an RnCPU or an
RnENCPU with the real-time monitor function.
Opening a PX Developer format If a specific condition is satisfied, the setting of the following option is changed to "Yes". Page 829 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 827 Automatic replacement
of instructions
e-Manual Viewer interaction • Sample programs including a function block (ladder programs) can be used in GX Page 882 Using Sample
Works3. Programs
APPX
744 Appendix 1 Additions and Changes from Previous Version
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 slave 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
(Ladder editor)
• The paste direction selected in this screen is applied to the next and subsequent
continuous paste.
A
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
diagnostic 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 80 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 387 Calculating Memory
(FX5CPU) Memory Size (Offline)" screen. Size
Simulation By selecting "Yes" for the following option, parameters, programs, and optional data Page 476 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
Appendix 1 Additions and Changes from Previous Version 745
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) • "Slave Station Disconnect Detected Setting" "Time-out Period"
Version 1.056J
Item Description Reference
Motion control setting function • The motion control setting function is available. Page 210 Motion control setting
function
Diagnostic The following module can be diagnosed in projects for an RnCPU and an RnENCPU: Page 657 CC-Link IE TSN/CC-
• CC-Link IE TSN compatible motion modules (RD78G4, RD78G8, RD78G16, Link IE Field Network diagnostic
RD78G32, RD78G64)
• Servo amplifiers (MR-J5-G, MR-J5W2-G, MR-J5W3-G)
Version 1.057K
Item Description Reference
Multiple comments • Comments of libraries can be read. Page 78 Reading comments
Project version management • A project update revision history can be managed for each data. Page 58 Basic menus
Page 158 Project Version
Management
Verification By selecting "Yes" for the following option, the label memory can be verified. Page 138 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 149 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 228 When data type is
The cursor can jump to the following option from the extension display area. structure
• "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 387 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 846 CPU module (RnCPU,
• Simple CPU communication setting function RnENCPU, RnPCPU, LHCPU)
• Database function Page 852 MELSEC iQ-R and
• Database access instruction MELSEC iQ-L series common
functions
Page 855 Application instruction
Page 881 Database
Monitor Monitoring for all the windows are stopped automatically when data is converted or all Page 562 Starting/stopping
programs are converted during monitoring. monitoring
APPX
746 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Options The following option name is changed. Page 259 Inserting contacts,
• Before change (version 1.055H to version 1.056J) coils, instructions, arguments
Display the Device to Which Device Comment Has Been Set Page 299 Inserting instructions,
• After change (version 1.057K) functions, and control syntax
Display the Corresponding Device in Entering Device Comment Page 310 Using the edit box
Page 368 Device comment
including @
Page 403 Searching for/
Replacing Devices or Labels
Page 408 Changing Contacts
between Open Contact and Close
Contact
Page 409 Batch Replacing of
Devices and Labels
Page 586 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" A
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
Appendix 1 Additions and Changes from Previous Version 747
Version 1.060N
Item Description Reference
Navigation window • Program files, program blocks, and worksheets can be sorted by the execution order Page 54 Sorting data
in a batch.
Opening a GX Works2 format • Projects for LCPUs are supported. Page 103 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 58 Basic menus
project Page 121 Opening a GX
Developer format project
Verification Only the mismatched data can be displayed by using the following menu while the Page 74 Available menus when
"Verify Result" window is displayed. displaying the verify result window
• [View] [Show only Mismatches] Page 140 Checking a verification
result
An icon on the toolbar in the detailed display (diagram/table format) screen is changed. Page 150 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 152 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 124 Registering a revision
Project revision history Page 155 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 Page 201 iQ Sensor Solution
NetworkAnyWireASLINK bridge module is used. functions
Motion control setting function • Public labels set with the motion control setting function can be registered as module Page 237 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 279 Pasting device
numbers or label names
consecutively
• An FB instance name can be changed by double-clicking the name. Page 263 Changing FB instance
names
• When a cell is cut in the "Insert mode," its lines are deleted from the editor.
• An inline structured text remains even when a line that does not include the inline
structured text is deleted from a parallel circuit including the inline structured text.
• 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 357 Displaying an FB
ST editor • FB property property
• FB property management (offline) Page 360 FB Property
• FB property management (online) Management (Offline) screen
Page 612 FB Property
Management (Online) screen
FBD/LD editor • An FB instance name can be changed by double-clicking the name. Page 307 FBD element
FBD/LD editor The text layout of an comment element can be changed to the following three types: Page 308 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 335 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 372 Reading sample
• RD81MES96N comments
• R60MH112
• R60MH112NA
APPX
748 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Memory size calculation • "Display Unit" displayed in the "Confirm Memory Size (Offline)" screen is changed to Page 387 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 395 Exporting Device
Memory Data
• One point can be specified for "Word Multi-point Format" in the "Display Format" Page 390 Setting the display
screen. format
Cross reference window • The cursor can remain in a cross reference window when jumping to each editor Page 412 Displaying cross
from the window. reference information
• Device or label options can be displayed when entering a device or label name in the Page 413 Device/label options
input field.
Simulation A project including the following module can be simulated: Page 839 Supported modules
• CC-Link IE TSN module Page 871 Network
• The network functions and parameters of CC-Link IE TSN are available.
The following CPU module functions are available: Page 846 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
A
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 859 Supported parameters
• Link Direct Device Setting
Monitoring • If the current values of devices and labels are character strings, their monitor values Page 569 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 593 Changing Device/Label
conditions*3 Value by Setting Conditions
Page 630 Functions and
operations that require user
authentication
Process control function • Up to four faceplates can be displayed at the same time. Page 608 Checking tag data on
the gauge window (faceplate)
Module diagnostic • When diagnosing an RnCPU, an RnENCPU, or an RnPCPU, "Switch Display" is Page 649 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 651 FB hierarchy
information of the function block with an error can be displayed in the "Module information
Diagnostics" screen.*3
APPX
Appendix 1 Additions and Changes from Previous Version 749
Item Description Reference
Network diagnostic The following modules can be diagnosed in projects for an RnCPU and an RnENCPU: Page 657 CC-Link IE TSN/CC-
• CC-Link IE TSN compatible motion modules (RD78GHV, RD78GHW) Link IE Field Network diagnostic
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 slave station failed is
displayed in a CC-Link IE TSN/CC-Link IE Field Network diagnostic.
Firmware update • The firmware of a module can be updated using GX Works3. Page 58 Basic menus
Page 712 Firmware Update
APPX
750 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
Printing • When printing a ladder program, inline ST 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.
CPU parameter*3 The following item is added in the CPU parameters for RnPSFCPUs.
• Setting to Wait Receiving Cyclic Data after Switching System
Module parameter*4 "MODBUS slave setting" is added in the module parameters for the following modules.
• RJ71C24
• RJ71C24-R2
• RJ71C24-R4
The following items can be selected in "Communication Destination" of "Simple CPU
Communication Setting" in a project in which an _RJ71EN71 (E+IEC), _RJ71EN71
(E+IEF), RJ71EN71 (E+CCIEC), RJ71EN71 (E+CCIEF), or RJ71EN71 (E+E) is set.
• MELSEC iQ-L (built-in Ethernet)
• SIEMENS S7 series
• Fuji Electric MICREX-SX series
• JTEKT TOYOPUC series
For the following devices, PLC No.5 to 8 can be selected in "Target PLC No." of
"Simple CPU Communication Setting."
• Fuji Electric MICREX-SX series
• Unset items can be displayed or hidden in "Simple CPU Communication Setting" for
an RCPU, _RJ71EN71 (E+IEC), _RJ71EN71 (E+IEF), RJ71EN71 (E+CCIEC),
RJ71EN71 (E+CCIEF), RJ71EN71 (E+E), and LHCPU.
The following item is added in "Redundant System Settings" for RJ71EN71 (E+E) in
projects for an RnPCPU (redundant mode) and an RnPSFCPU.
• Simple CPU Communication Port
The following items are added in "Application Settings" for a CC-Link IE TSN module:
• Communication Mode
• Communication Speed
AnyWireASLINK configuration • In a project in which a CC-Link IE Field NetworkAnyWireASLINK bridge module is
window used, up to 256 slave stations 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 slave station can be replaced with a general CC-Link IE TSN module and vice versa
A
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
slave 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 751
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.
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"
FX5CPU • FX5UJCPUs are supported.
• "MELSOFT Transmission Port (UDP/IP)" is added in "System Connection Valid
Setting" of the "Remote Password Detail Setting" screen.*3
• Related functions are displayed in the explanation column for "Function to Use
Internal Buffer" in the CPU parameters.
• Related functions are displayed in the explanation column by selecting "Predefined
Protocol Support Function" for "Communication Protocol Type" in the module
parameters.
• In a project in which an FX5CPU, FX5-16ET/ES-H, and FX5-16ET/ESS-H are set,
the [Simple Batch Setting] button is added in the "Setting Item" field of "High Speed
Counter" in the module parameters. By clicking this button, the parameters of "High
Speed Counter" can be set in the wizard format.
• Sample comments of a safety extension module (FX5-SF-MU4T5) can be read.
The following option name is changed. Page 509 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 80 Optimization of the
• Before change (version 1.055H to 1.058L) number of steps
"Optimize Level": Level 1 Page 789 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
APPX
752 Appendix 1 Additions and Changes from Previous Version
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 103 Opening a GX Works2
project imported. format project
Network diagnostic The following module can be diagnosed: Page 660 MELSECNET
• MELSECNET/H network modules (RJ71LP21-25, RJ71LP21-25(R)) diagnostic
Check program screen • When opening this screen, "Check Content" that was previously set is displayed.
Version 1.065T
Item Description Reference
Printing The following items can be set in the "Print" screen when printing an FBD/LD program: Page 90 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 91 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 103 Opening a GX Works2
• Opening a GX Works2 format project format project
• Opening a PX Developer format project Page 107 Opening a PX
Developer format project
Opening a GX Developer format The following items can be imported: Page 121 Opening a GX
project • Options Developer format project A
• Device memory
Project version management Data to be registered can be verified with the latest data in a master project by Page 168 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 172 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 753
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 200 Setting network
window window. configuration and target devices
The following functions are available for CC-Link IE TSN supported devices in a project Page 201 CC-Link IE TSN
for an RnSFCPU:*3,*4 functions
• Connected/disconnected module detection
• Parameter of slave station
• Command execution of slave station
• Parameters of a slave station on CC-Link IE TSN can be written to, read from, or Page 531 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 slave station on CC-Link IE TSN to an RnSFCPU or Page 536 Parameters of a remote
an SD memory card inserted in the CPU module, the parameters are automatically I/O module (slave station) on CC-
set to the slave station.*3,*4 Link IE TSN
Page 541 Parameters of a remote
I/O module (slave station) on CC-
Link IE TSN
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 226 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
754 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 65 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 65 Available menus when
following menu: editing a ladder program
• [Edit] [Ladder Edit Mode] [Read Mode (All Windows)]/[Write Mode (All Page 258 Switching the ladder
Windows)] edit mode (read/write/monitor
The ladder edit mode of all ladder editors that exist in a project can be switched by read/monitor write)
Page 900 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 258 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 269 Inserting inline
structured text
The number of rows to display (height) of an inline structured text box can be changed Page 270 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 68 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 302 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 311 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 70 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 422 Displaying a Range
Affected by/Affecting a Device/
Label
APPX
Appendix 1 Additions and Changes from Previous Version 755
Item Description Reference
Simulation • A project for an LHCPU can be simulated. Page 839 GX Simulator3
• The functions, instructions, and parameters of an LHCPU are available. Page 843 Firmware versions of
CPU modules
Page 846 CPU module (RnCPU,
RnENCPU, RnPCPU, LHCPU)
Page 855 RCPU and LHCPU
Page 862 LHCPU
Page 868 Module buffer memory
Page 870 Link devices of network
module
Page 875 LHCPU
Page 876 General module
RnCPU and RnENCPU projects including the following module can be simulated: Page 488 Simple motion module/
• CC-Link IE TSN compatible motion module motion module
Page 839 GX Simulator3
Page 868 Module buffer memory
Page 870 Link devices of network
module
An RnSFCPU project including any of the following modules can be simulated: Page 839 GX Simulator3
• MELSECNET/H network modules (QJ71BR11, QJ71LP21(-25 S-25 G GE),
QJ71NT11B)
The following CPU module functions are available: Page 846 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 849 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 855 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 item is Page 861 Module parameter
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 647 Recording Status
Check
Module diagnostic • The display format of an error code can be switched between decimal and Page 642 Module Status Check of
hexadecimal in the system monitor and the "Module Diagnostics" screen. a System
Page 648 Module Diagnostic
CC-Link diagnostic • The font color of the [Previous] and [Next] buttons is displayed in red when multiple Page 661 CC-Link diagnostic
screens exist.
Firmware update • The firmware of an RnPCPU can be updated using GX Works3. Page 712 Firmware Update
Recording*3 • This function is available in projects for RnCPUs (R04CPU, R08CPU, R16CPU, Page 672 Recording Function
R32CPU, and R120CPU) and RnENCPUs.
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 676 Checking Collected
Data on Program Editor
The following functions are available: Page 682 Operating the seek bar
• Seek bar Page 685 Adding a log marker
• Log marker Page 688 Checking an event
• Event history (offline monitor) history (offline monitor)
The GOT offline monitor can be started in GX Works3. Page 691 Displaying the GOT
offline monitor
APPX
756 Appendix 1 Additions and Changes from Previous Version
Item Description Reference
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.'
Parameter*3 The following item is added to the CPU parameters for RnCPUs and RnENCPUs:
• Buffer Area Setting for Data Sampling
"2MB" can be selected in the following CPU parameter for RnPSFCPUs:
• "Memory/Device Setting" "Device/Label Memory Area Setting" "Cassette
Setting" "Extended SRAM Cassette Setting"
"Memory Dump Function" can be selected in the following CPU parameter for
RnSFCPUs:
• "RAS Setting" "LED Display Setting" "FUNCTION LED" "Function to use
FUNCTION LED"
The following item is added to the CPU parameters for RnSFCPUs:
• Link Direct Device Setting
• Memory Dump Function
The following item is added to the memory card parameters for RnSFCPUs:
• Slave Station Parameter
System parameter*3,*4 The following parameters can be set in a project in which a CC-Link IE TSN module is
set:
• "Inter-module Synchronization Setting" "Select Inter-module Synchronization
Target Module"
• "Inter-module Synchronization Setting" "Inter-module Synchronization Master
Setting"
Module parameter*4 • "Ring" can be selected in "Network Topology" in a project in which a CC-Link IE TSN
module or a CC-Link IE TSN compatible motion module (RD78GHV or RD78GHW
only) is set.
The following items are added to parameters for a CC-Link IE TSN compatible motion
module:
• "Basic Settings" "Safety Communication Setting" (for a safety project only)
• "Application Settings" "Communication Speed"
The following item is added to parameters for a serial communication module:
• "MODBUS slave setting" "MODBUS device allocation parameter(common)"
"CC-Link IEF Remote Head Module" "Access target"
A
• "Simple CPU Communication Setting" is added to the module extended parameters
for a serial communication module.
"Link points extended setting" in the module parameters for the following modules can
be set in a project for an RnSFCPU:
• RJ71GP21-SX (R)
• RJ71GP21S-SX (R)
• RJ71EN71 (CCIEC)
• RJ71EN71 (E+CCIEC)
• _RJ71EN71 (CCIEC)
• _RJ71EN71 (E+IEC)
"Firmware update" and "Module Initialization Setting" can be selected in the following
parameter for a high speed data logger module and an OPC UA server module:
• "Basic Settings" "Various Operations Settings" "Mode Settings"
The following items can be selected in "Communication Destination" of "Simple CPU
Communication Setting" in projects for an RnCPU and an RnENCPU.
• MELSEC-Q (Ethernet module)
• MELSEC-L (Ethernet module)
• MELSEC-A/AnS (Ethernet Module)
• MELSEC-FX3 (Ethernet Block/Adapter)
• "Options (Hexadecimal)" is added in the "Communication Destination Setting"
screen of "Simple CPU Communication Setting" in a project in which any of the
following modules is set: _RJ71EN71(E+IEC), _RJ71EN71(E+IEF),
RJ71EN71(E+CCIEC), RJ71EN71(E+CCIEF), or RJ71EN71(E+E).
The following menu is available in the module parameters for a temperature input
module and a temperature control module:
• [Edit] [Channel Copy]
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 757
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 diagnostic*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 slave 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
758 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 200 Setting network
window configuration and target devices
(FX5UCPU, FX5UCCPU)
The following functions are available for CC-Link IE TSN supported devices:*3,*4 Page 201 CC-Link IE TSN
• Connected/disconnected module detection functions
• Parameter of slave station
• Command execution of slave station
• Parameters of a slave station on CC-Link IE TSN can be written to, read from, or Page 531 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 slave station on CC-Link IE TSN to a CPU module or Page 536 Parameters of a remote
an SD memory card inserted in the CPU module, the parameters are automatically I/O module (slave station) on CC-
set to the slave station.*3,*4 Link IE TSN
Page 541 Parameters of a remote
I/O module (slave station) on CC-
Link IE TSN
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 slave 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
slave station.
• [CC-Link IE TSN Configuration] [Device No. Reassignment]
Verification • Module parameters of a CC-Link IE TSN module can be verified. Page 139 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 103 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 839 GX Simulator3
(FX5UCPU, FX5UCCPU) simulation is not available.) Page 853 CPU module (FX5CPU)
• Safety extension modules (FX5-SF-8DI4, FX5-SF-MU4T5) Page 864 FX5CPU
Simulation • A project for an FX5UJCPU can be simulated.
A
(FX5UJCPU)
CC-Link IE TSN/CC-Link IE • A CC-Link IE TSN module can be diagnosed. Page 657 CC-Link IE TSN/CC-
Field Network diagnostic*3,*4 Link IE Field Network diagnostic
(FX5UCPU, FX5UCCPU)
CPU parameter • In the "Device/Label Memory Area Setting" screen which appears by clicking
(FX5UCPU, FX5UCCPU) "Detailed Setting" in "Device/Label Memory Area Setting," up to 63 K words can be
set for the capacity of "Standard Area."*3
Module parameter The following item is added.*3
(FX5UCPU, FX5UCCPU) • FTP Client Settings
The following items can be selected in "Communication Destination" of "Simple CPU
Communication Setting."*3
• 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)
Module parameter "Program" can be selected in the following parameter:*4
(FX5-CCL-MS) • "Required Settings" "Parameter Setting Method" "Setting Method of Basic/
Application Settings"
APPX
Appendix 1 Additions and Changes from Previous Version 759
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 128 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
format project RnPCPU imported as that of a channel isolated analog-digital converter
module (R60AD6-DG(Q)).
RnPCPU (redundant • A redundant type extension base unit (Q65WRB) is replaced with a
mode) redundant extension base unit (R68WRB).
RnCPU • A power supply module (Q64RPN) is replaced with a power supply
RnENCPU module (R64RP).
RnPCPU
RnPSFCPU
FX5UCPU • An SFC program can be imported. Page 105 Data to be
FX5UCCPU changed
Verification All CPUs • When the verification results of a ladder program and ST program Page 151 Merging
are displayed, mismatched data can be merged into a verification mismatched data into a
source program. verification source
• Label comments for an array element and bit-specified label can be Page 153 Label comment
verified. for an array element or bit-
specified label
Redundant system RnPCPU (redundant • A redundant extension base unit (R68WRB) is available. Page 191 Display for a
configuration*4 mode) redundant extension base
unit configuration
Page 536 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 197 Adding a module
AnyWireASLINK All CPUs The following iQ Sensor Solution function is available: Page 201 iQ Sensor
configuration window • Verification of connected devices and configurations Solution functions
• Settings can be saved even if a slave module is not placed.
Label editor All CPUs The "Label Comment" window appears by either of the following Page 218 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 235 Exporting/
exported to an XML file. importing data to/from a file
Structure definition All CPUs • Structure definitions can be exported to an XML file. Page 232 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 58 Basic menus
• Label Page 73 Available menus
• Array type label when displaying a label
• Bit-specified label editor
• Structure type label Page 233 Setting a label
• Structure member comment
Page 244 Registering labels
in system label database
Tag FB setting editor RnPCPU (process mode) • The versions of tag data and a process control function block used in Page 238 Registration of tag
RnPSFCPU a 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 248 Programming
Creating a library FX5UCCPU Function
Program check Page 322 Creating an SFC
Conversion Program
Search/replacement Page 800 FX5CPUs
Cross reference
Creating a program FX5UCPU • S devices can be index-modified. (Excluding the ones used for a
FX5UCCPU contact and coil)
APPX
760 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
Ladder editor All CPUs Label comments for a structure and its member can be displayed Page 254 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 297 Configuration of
SFC diagram editor • "Other Editor" "Label Editor Common" "Display Setting" an ST editor
(transition/action) "Hierarchy Display Setting for Structures Comment" Page 307 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
Appendix 1 Additions and Changes from Previous Version 761
Item Module type Description Reference
Ladder editor All CPUs A column width can be changed in the "Column Width" screen that Page 254 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 262 Inserting function
the element entry dialog. blocks
Page 267 Inserting functions
• Options of FB instances are displayed by entering 'fb.' in the element
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 Page 279 Pasting device
the 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 274 Displaying a list
The range selected in a ladder editor can be copied to the clipboard as Page 65 Available menus
an image by using the following menu: when editing a ladder
• [Edit] [Image Clip] program
Page 284 Copying 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
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
undefined label the checkbox of the following item in the "Undefined Label
Registration" screen:
• Register a label at the last row.
APPX
762 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
FBD/LD editor All CPUs • A connection line can be adjusted manually. (In an SFC diagram Page 311 Common
SFC diagram editor editor, only the connection line of an FBD/LD element can be operations of elements
adjusted.)
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 70 Available menus
• [View] [Hide Actions] when editing an SFC
An SFC diagram editor becomes read-only when actions are hidden. program (SFC diagram)
Actions can be hidden by selecting "Yes" for the following option: Page 323 Configuration of
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 Page 328 Changing the
format of a transition (Zoom) created in Ladder Diagram language. display format (type) of a
transition
• "Enter Device/Label Comment Continuously" is added in the Page 350 Creating Zooms
property screen for an action/transition in MELSAP-L (instruction (MELSAP-L (instruction
format). format))
• Comments of a device and label used in an action/transition in Page 351 Editing a device
MELSAP-L (instruction format) can be edited in the "Edit Device/ comment and label
Label Comment" screen. comment
Conversion All CPUs The following option name is changed. Page 386 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 406 Searching/
searched for. Replacing Character Strings
FB property page RnPCPU (process mode)
RnPSFCPU
• Settings for FB properties are categorized in this screen; entered
content can be checked, and settings for a function generator can be
Page 358 FB property page
A
checked with a graph.
Data flow analysis All CPUs • An index-modified device is analyzed with the device value to which Page 426 Analyzing an
the index value is applied. index-modified device
• The monitor value of an analyzed device/label can be displayed in Page 430 Monitoring
the "Dataflow Analysis" window. devices/labels
A comment specified in the following option is displayed in a device/ Page 427 Displaying
label 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 434 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 469 Enhanced Use of
installing GX Works3 for the first time. Application Library/
MELSOFT Library
APPX
Appendix 1 Additions and Changes from Previous Version 763
Item Module type Description Reference
Simulation All CPUs By selecting "Yes" for the following option, parameters, programs, and Page 476 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 839 GX Simulator3
R08CPU, R16CPU, • Recorder module (RD81RC96) Page 868 Module buffer
R32CPU, R120CPU) • MELSECNET/H network modules (RJ71LP21-25, RJ71LP21-25(R)) memory
RnENCPU Page 870 Link devices of
RnSFCPU network module
RnCPU The following function is available: MELSEC iQ-R CPU
RnENCPU • Saving of device/label data write operation histories of the event Module User's Manual
history 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.
RnENCPU (Total 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
RnENCPU settings of data logging can be performed at the same time by using
the data logging function of an RnCPU and RnENCPU.
FX5UCPU A project including either of the following modules can be simulated. Page 839 GX Simulator3
FX5UCCPU (The system simulation is not available.)
• 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 item is selected in Page 853 CPU module
"Communication Destination" in "Simple CPU Communication Setting" (FX5CPU)
of the module parameters: Page 865 Module parameter
• MELSEC iQ-R (built-in Ethernet) (Ethernet port)
• MELSEC iQ-L (built-in Ethernet)
The following instructions are available: Page 857 Application
• Reading/writing data instructions (SP.FREAD, SP.FWRITE) instruction
• When using the data logging function, data can be saved as a CSV MELSEC iQ-F FX5
file. 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 537 Operations after
programmable controller FX5UCCPU • SFC program writing SFC programs
Reading data from a • Content of "SFC Setting" in CPU parameters Page 538 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 582 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
764 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
Watch All CPUs • When registering a label for which a value other than a fixed value is Page 588 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 slave station can be monitored in a project in which a CC-Link IE Page 605 Registration of a
module monitor TSN module (RJ71GN11-T2) is used. slave station
System monitor RnPCPU (redundant • This function is available in a redundant system configuration in Page 643 Redundant
mode) which a redundant extension base unit (R68WRB) is used. system configuration
RnPCPU • A trucking cable is no longer displayed in the base configuration
RnPSFCPU when diagnosing an RnPCPU or RnPSFCPU.
Recording monitor*3 RnSFCPU • The recording status can be monitored in a project for an RnSFCPU. Page 647 Recording Status
Check
Recording*3 RnSFCPU • This function is available in a project for an RnSFCPU. Page 672 Recording
All CPUs • A recording file can be saved in a file server. Function
APPX
Appendix 1 Additions and Changes from Previous Version 765
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
CPU parameter*3 RnPCPU (redundant The following item is added to the CPU parameters for an RnPCPU
mode) (redundant mode).
• Redundant system with extension base unit
FX5UCPU The following item is added:
FX5UCCPU • SFC Setting
A device range is displayed in the "Latch (1)" or "Latch (2)" column in
the detailed settings for the following items:
• Device (high speed) Setting
• Device (Standard) Setting
Module parameter RnCPU The following item is added to "Simple CPU Communication Setting" in
RnENCPU the module parameters for an RnCPU and an RnENCPU:*3
• "Initial Communication Setting" "Continue Communicating Until
Receiving Response"
All CPUs The following item is added to the module parameters for Ethernet
interface modules (RJ71EN71(E+E) and RJ71EN71(Q)).*4
• To Use or Not to Use Redundant System Settings
The following menu is available in the module parameters for a serial
communication module, multiple input module, energy measuring
module (QE82LG, QE83WH4W, and QE84WH only), and loop control
module:
• [Edit] [Channel Copy]
APPX
766 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
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 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)
diagnostic • Contact output module (NZ2MF2S2-16R)
Sensor/device monitor RnPCPU (redundant The following module and the modules mounted on it can be
Ethernet diagnostic mode) diagnosed:
CC-Link IE Controller • Redundant extension base unit (R68WRB)
Network diagnostic
CC-Link IE TSN/CC-Link
IE Field Network
diagnostic
CC-Link diagnostic
Diagnostic 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
A
Monitor)" window.
APPX
Appendix 1 Additions and Changes from Previous Version 767
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 191 Display for a
configuration*4 mode) redundant extension base
unit configuration
Page 536 Writing of module
extended parameters in a
redundant system
configuration
System monitor RnPCPU (redundant • This function is available in a redundant system configuration in Page 643 Redundant
mode) which 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
Ethernet diagnostic mode) diagnosed:
CC-Link IE Controller • Redundant extension base unit (R66WRB-HT)
Network diagnostic
CC-Link IE TSN/CC-Link
IE Field Network
diagnostic
CC-Link diagnostic
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 672 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 Page 680 Checking a
R08CPU, R16CPU, module can be monitored. recording file
R32CPU, R120CPU)
RnENCPU
RnSFCPU
All CPUs (excluding an • A recording file and logging file can be played by clicking (Play) Page 683 Seek bar
R00CPU) in 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 Page 227 Assignment
to specific operations (such as changing the data type of the label or (devices/labels)
adding/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
768 Appendix 1 Additions and Changes from Previous Version
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 Page 55 Element selection
window the [Favorites], [Module], or [Library] tab, elements only in the category window
can be displayed.
• An element can be searched for in the [Library] tab. Page 56 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 458 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 466 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 105 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) A
• Flexible high-speed I/O control module (LD40PD01)
• Blank cover module (QG60)
Opening a GX RnSFCPU The following items can be imported: Page 121 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 129 Associating data
with an e-Manual
Page 130 Opening a help
file
iQ Sensor Solution RnCPU • This function is available in a project in which a CC-Link IE Page 201 iQ Sensor
function RnENCPU TSNAnyWireASLINK bridge module (NZ2AW1GNAL) is used. Solution functions
RnSFCPU
Simple device RnCPU A simple device communication library can be registered in GX Works3 Page 208 Registering a
communication library RnENCPU by using the following menu: simple device
RnPCPU (process mode) • [Tool] [Register Simple Device Communication Library] communication library
RnSFCPU
Assigned device check RCPU • A global label to which a device is assigned can be checked if the Page 231 Initial value
LHCPU initial value is set for the label. check
Ladder editor All CPUs • The ON/OFF state of a function/function block is displayed during Page 570 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
Appendix 1 Additions and Changes from Previous Version 769
Item Module type Description Reference
FBD/LD editor All CPUs • Multiple comment elements can be linked with a single element. Page 318 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 Page 328 Changing the
close contact and TRAN can be changed. display format (type) of a
transition
• Devices and labels of the close contact type are available when Page 334 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 Page 133 Searching the
displayed. navigation window
Device/label search All CPUs • By selecting "Include the input/output label of FB instance" under "Find Page 403 Searching for/
Device/label Target," the input/output labels of FB instances in a ladder program Replacing Devices or
replacement and FBD/LD program are searched for or replaced. Labels
Instruction search Page 405 Searching/
Instruction replacement Replacing Instructions
Cross reference*4 RnCPU • Devices used in "Simple Device Communication Setting" of the
Device list*4 RnENCPU module 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 414 Label type and
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 422 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 690 Starting GX
waveform in GX LogViewer during offline monitoring. LogViewer
• The monitor value of an FB instance is displayed. Page 431 Displaying the
monitor value of an FB
instance
• Multiple elements can be selected on a data flow diagram. Page 428 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 516 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 557 Reading/Writing
memory*3 "CPU Memory Operation" screen. the Label Memory
Page 709 Reading/Writing
the Label Memory
Firmware update*3*4 FX5UCPU • The firmware of a module can be updated using GX Works3. Page 712 Firmware
FX5UCCPU Update
APPX
770 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
Simulation RnPCPU (redundant A project including the following module can be simulated: Page 477 Simulation of an
mode) • Redundant extension base unit (R68WRB) RnPCPU (redundant
mode)
Page 839 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) • A device value can be added to a saved file name for data logging. (Application)
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 Module User's Manual
history function (Application)
FX5UCPU • The SFC function is available. Page 853 CPU module
FX5UCCPU (FX5CPU)
MELSEC iQ-F FX5
User's Manual
(Application)
FX5UCPU The following instructions are available: Page 857 Application
FX5UCCPU • SFC control instruction instruction
• SFC dedicated instruction
FX5UCPU • "SFC Setting" in CPU parameters is available. Page 864 CPU parameter
FX5UCCPU
Program list monitor*3 RnCPU • A desired program can be started and stopped. Page 600 Checking
RnENCPU Processing Time of
RnPCPU Programs
Page 601 Starting a
program
Page 601 Stopping a
program
A
Specified program RnCPU • Devices/labels after executing a specified program can be monitored. Page 562 When
monitor*3 RnENCPU monitoring devices/labels
in a specified program
Sensor/device monitor RnCPU This screen can be displayed by the following operation after selecting a Page 646 Checking the
RnENCPU CC-Link IE TSNAnyWireASLINK bridge module (NZ2AW1GNAL) in status of a sensor/device
RnSFCPU the "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 658 Displaying the
sensor/device monitor
screen
APPX
Appendix 1 Additions and Changes from Previous Version 771
Item Module type Description Reference
Parameter RCPU The following function of PROFIBUS Configuration Tool is available.*8
• Slave specific transfer
System parameter*3*4 RnCPU The following parameters can be set in a project in which a CC-Link IE
RnENCPU TSN compatible motion module is set:
• "Inter-module Synchronization Setting" "Select Inter-module
Synchronization Target Module"
• "Inter-module Synchronization Setting" "Inter-module
Synchronization Master Setting"
CPU parameter*3 RnPCPU • "Link Direct Device Setting" is added.
Module parameter*3*4 RnCPU "Simple Device Communication Setting" is added in the module
RnENCPU parameters for the following modules:
RnPCPU (process mode) • RJ71EN71 (E+CCIEC)
RnSFCPU • RJ71EN71 (E+CCIEF)
• RJ71EN71 (E+E)
• _RJ71EN71 (E+IEC)
• _RJ71EN71 (E+IEF)
• EtherNet/IP Configuration Tool for RJ71EIP91 can be started from
"Basic Setting" for an EtherNet/IP module (RJ71EIP91).
RnSFCPU • "CR800-R" can be selected for "Communication Destination" in
"Safety Communication Setting" for a CC-Link IE TSN module
(RJ71GN11-T2).
FX5CPU The following items are added to the module parameters of Ethernet
interface modules (FX5-ENET and FX5-ENET/IP):
• BACnet Function Setting
• Simple CPU Communication Setting
• "Own Node Settings" "Communication Data Code"
• "Security" "Disable Direct Connection with MELSOFT"
• "Security" "Do Not Respond to CPU Module Search"
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 slave 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 slave 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]
APPX
772 Appendix 1 Additions and Changes from Previous Version
Item Module type Description Reference
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 Displaying Characters" "Number of Device Comment Editing/
Cross reference Displaying Characters"
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,
diagnostic*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)
A
• CC-Link IE TSNAnyWireASLINK 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.
diagnostic*3*4 • A diagnostic target module can be specified.
APPX
Appendix 1 Additions and Changes from Previous Version 773
Item Module type Description Reference
Options All CPUs The following option name is changed. Page 468 Checking for
• Before change (version 1.045X to 1.072A) library updates
"Project" "User Library" "Library Update Check" automatically
• 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)
Version 1.077F
Item Module type Description Reference
Start of GX Works3 All CPUs • The display position and window size of GX Works3 at startup can Page 47 Starting GX Works3
be 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 439 Creating a
ladder editor. Function Block
Offline monitor RnCPU (R04CPU, • If project data is saved in a recorder module, camera recorder MELSEC iQ-R System
R08CPU, R16CPU, module, or file server, the following project data is automatically Recorder User's Manual
R32CPU, R120CPU) opened among the saved project data when starting offline (Application)
RnENCPU monitoring: project data with the time information closest to the time
RnSFCPU at which a recording file to 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"
*1 To use this function, it is required that MELSOFT Navigator supports the function. For information on the versions of supporting
APPX
774 Appendix 1 Additions and Changes from Previous Version
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
*6 To use this function, it is required that Version 1.01B or later of PROFIBUS Configuration Tool has been installed. For details on
PROFIBUS Configuration Tool, refer to the following:
MELSEC iQ-R PROFIBUS-DP Module User's Manual (Application)
*7 To use this function, it is required that Version 1.02C or later of MELSOFT FieldDeviceConfigurator has been installed. For details on
MELSOFT FieldDeviceConfigurator, refer to the following:
FieldDeviceConfigurator Operating Manual
*8 To use this function, it is required that Version 1.04E or later of PROFIBUS Configuration Tool has been installed. For details on
PROFIBUS Configuration Tool, refer to the following:
MELSEC iQ-R PROFIBUS-DP Module User's Manual (Application)
APPX
Appendix 1 Additions and Changes from Previous Version 775
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 convertor module 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
776 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 convertor module R60DA8-G (S2M)
MELSEC iQ-R DeviceNet master/slave module RJ71DN91, QJ71DN91
MELSEC-Q
APPX
Appendix 1 Additions and Changes from Previous Version 777
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 FX5-40SSC-G(S), FX5-80SSC-G(S)
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 RD78G4(S), RD78G8(S), RD78G16(S)
MELSEC iQ-F Analog Input/output adaptor FX5-4A-ADP
Version 1.077F MELSEC iQ-F OPC UA module FX5-OPC
APPX
778 Appendix 1 Additions and Changes from Previous Version
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 779
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 return to the default.
programmable controller
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 139
match. Unmatched module
parameters
Verification with data in a When data is verified with that created in a different version, module parameters may not match. Page 546
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 and read from a CPU module in the earlier version.
Project verification
Verification with data in 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
780 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.
Verification with data in 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 781
■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
Verification with data in 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.
APPX
782 Appendix 2 Using a Project in a Different Version
Using a project in an earlier version
■Using a project, which was created in version 1.005F or later, in version 1.002C or earlier
Function Consideration
Reading data from a A project, which was created in version 1.005F or later, cannot be read in version 1.002C or earlier.
programmable controller
■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.
■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 A
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 783
■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
Verification with data in 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.
Verification with data in 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 If any of the following options is set, the setting for connection destination on the "Specify Connection Destination" screen
specification returns to the default when the screen is opened.
• "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
784 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,
Verification with data in 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 If any of the following options is set, the setting for connection destination is changed to the defaults.
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
Verification with data in a
• Analog output module (R60DA4, R60DA4(Q), R60DAI8, R60DAI8(Q), R60DAV8, R60DAV8(Q))
• Channel isolated digital-analog convertor 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.
Verification with data in 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
Verification with data in a verified in version 1.019V or earlier.
programmable controller
APPX
Appendix 2 Using a Project in a Different Version 785
■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 slave 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 slave 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
Verification with data in 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 slave 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 slave station
• Deleting the parameter information of a slave 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 slave station in version 1.033K or earlier, the parameter information of the slave 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
Verification with data in 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
Verification with data in a version 1.019V or earlier.
programmable controller
APPX
786 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.
Verification with data in 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 If the following option is set, the setting for connection destination on the "Specify Connection Destination" screen returns to
specification the default when the screen is opened.
• "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
Verification with data in 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 for which a connection destination via a QCPU (Q mode) has been specified is opened in version 1.044W or
specification earlier, only this connection destination setting 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 632 Writing/reading user
information to/from 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
Verification with data in 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 787
■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.
Verification with data in 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 used for an RnPCPU (redundant mode) that an S device 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 788 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
788 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 slave station on CC-Link IE TSN which are written to a CPU module in version 1.055H or later cannot be read
programmable controller 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
Verification with data in 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.
Verification with data in 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 for which a connection destination via QJ71E71-100 has been specified is opened in version 1.054G or earlier,
specification only this connection destination setting returns to the default.
When a project for which either of the following condition is satisfied is opened in version 1.054G or earlier, the connection
destination setting returns to the default:
• "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"
■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
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"
APPX
Appendix 2 Using a Project in a Different Version 789
■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 ST 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 ST program with 2049 characters or more, which is created in version 1.065T or later,
(data acquisition) cannot be acquired from a version management system in version 1.063R or earlier.
Reading data from a Parameters of a slave 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 slave 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 S device
Reading data from a 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 slave station
monitor is not displayed in an intelligent function module monitor:
• A slave 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 item is selected in a project in which a recorder module has been placed, a device/label specified as a collection
programmable controller target is deleted when reading the project from a CPU module or opening the "Recording Setting" screen in version 1.070Y or
Opening a recording setting earlier.
• The "Recording Setting" screen "Device/Label Sampling Setting" "Device/Label Sampling Target Setting" "Specify
from the device/label used" "Manual"
APPX
790 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
Verification with data in 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.
APPX
Appendix 2 Using a Project in a Different Version 791
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 793 Selecting a target monitor)
APPX
792 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
[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 793
Starting offline monitoring
Operating procedure
1. Start monitoring in GX Works3. (Page 562 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
794 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) 795
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 A manufacturer-provided functions/function blocks, MELSEC instructions
APPX
796 Appendix 4 Unusable Character Strings (Reserved Words)
Category Character string
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 A manufacturer-provided functions/function blocks, MELSEC instructions
*1 Regarded as a reserved word when the character string is used with a number.
APPX
Appendix 4 Unusable Character Strings (Reserved Words) 797
Appendix 5 Applicable Devices in GX Works3
RCPUs and 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 *1
Latch relay L
Link relay B
Annunciator F
Link special relay SB
*1
Edge relay V
Step relay S*2
Timer T *1
Retentive timer ST *1
Long timer LT*1
*1
Long retentive timer LST
Counter C *1
Long counter LC *1
*1
Data register D
Link register W
Link special register SW
Direct access input X (DX)
Direct access output Y (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 *3
Link output J\Y *3
Link relay J\B *3
*3
Link special relay J\SB
Link register J\W *3
Link special register J\SW *3
*3
Module access device Module access device U\G
CPU buffer memory access CPU buffer memory access U3E\G *3
device device U3E\H *4 *4 *4
G
Index register Index register Z *1
Long index register LZ *1
File register File register R
ZR
Refresh data register Refresh data register RD
Nesting Nesting N
Pointer Pointer P *1
Interrupt pointer I
APPX
798 Appendix 5 Applicable Devices in GX Works3
Category Device name Symbol Digit Bit-specified Device Device Initial
specification word device comment memory device
value
Other devices SFC block device BL
SFC transition device TR
Step relay (with a block BL\S
specification)
SFC transition device (with a 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
APPX
Appendix 5 Applicable Devices in GX Works3 799
FX5CPUs
: 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
Latch relay L
Link relay B
Annunciator F
Link special relay SB
*1 *2
Step relay S
Timer T
Retentive timer ST
Counter C
Long counter LC
Data register D
Link register W
Link special register SW
System device Special relay SM
Special register SD
Module access device (U\G) Module access device G *4
Index register Index register Z
Long index register LZ
File register File register R
Extended file register ER
Nesting Nesting N
Pointer Pointer P
Interrupt pointer I
Others SFC block device BL*3
SFC transition device TR *3
Step relay (with a block BL\S*3
specification)
SFC transition device (with a BL\TR*3
block specification)
I/O number specified device U
Constant Decimal constant K
Hexadecimal constant H
Real constant E
String constant
*1 In projects for an FX5UCPU and an FX5UCCPU, specify a step relay with a 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 In projects for an FX5UCPU and an FX5UCCPU, a step relay (S) is used as a step relay with a 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 FX5UJCPUs do not support it.
*4 Cannot be written to/read from the module in a device memory editor.
APPX
800 Appendix 5 Applicable Devices in GX Works3
Remote head modules
: 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
Latch relay L
Link relay B
Annunciator F
Link special relay SB
Edge relay V
Step relay S
Timer T
Retentive timer ST
Long timer LT
Long retentive timer LST
Counter C
Long counter LC
Data register D
Link register W
Link special register SW
Direct access input X (DX)
Direct access output Y (DY)
System device Function input FX
Function output
Function register
FY
FD
A
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
*1
Module access device Module access device U\G
CPU buffer memory access CPU buffer memory access U3E\G
device device U3E\H
G
Index register Index register Z
Long index register LZ
File register File register R
ZR
Refresh data register Refresh data register RD
Nesting Nesting N
Pointer Pointer P
Interrupt pointer I
APPX
Appendix 5 Applicable Devices in GX Works3 801
Category Device name Symbol Digit Bit-specified Device Device Initial
specification word device comment memory device
value
Other devices SFC block device BL
SFC transition device TR
Step relay (with a block BL\S
specification)
SFC transition device (with a 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
APPX
802 Appendix 5 Applicable Devices in GX Works3
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
Appendix 6 Label Memory Types 803
MEMO
APPX
804 Appendix 6 Label Memory Types
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
APPX
Appendix 7 Replacement of Another Format Project 805
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 818 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 811 Elements that are not supported by MELSEC iQ-R series or MELSEC iQ-L series
modules)
APPX
806 Appendix 7 Replacement of Another Format Project
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
*1 *1
CTUD CTUD_M2 CTUD_E CTUD_E_M2 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 A
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
Appendix 7 Replacement of Another Format Project 807
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
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
808 Appendix 7 Replacement of Another Format Project
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
A
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
Appendix 7 Replacement of Another Format Project 809
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
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
*1 *1
TOF_HIGH_E TOF_HIGH_E_M2 TON_HIGH TON_HIGH_M2 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
810 Appendix 7 Replacement of Another Format Project
■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
Appendix 7 Replacement of Another Format Project 811
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 806 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 811 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
812 Appendix 7 Replacement of Another Format Project
■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
Appendix 7 Replacement of Another Format Project 813
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
*11 *11
DBKCMP_LE_M DBKCMP_LE DBKCMP_LEP_M DBKCMP_LEP 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
*1
EPLUSP_3_M EPLUSP_3 EXPD_MD EXPD 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
*7
LD_DT_NE_M LDDT_NE LD_EDEQ_M LDED_EQ LD_EDGE_M LDED_GE
LD_EDGT_M LDED_GT LD_EDLE_M LDED_LE LD_EDLT_M LDED_LT
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
*8
LD_STRING_NE_M LDSTRING_NE LD_TM_EQ_M LDTM_EQ 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
*8
OR_STRING_NE_M ORSTRING_NE OR_TM_EQ_M ORTM_EQ OR_TM_GE_M ORTM_GE*8
*8 *8
OR_TM_GT_M ORTM_GT OR_TM_LE_M ORTM_LE 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
814 Appendix 7 Replacement of Another Format Project
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
*6
SCJ_M SCJ SIND_E_MD SIND SIND_MD SIND*1
*4
SMOV_M SMOV 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
*2
ZCPP_M ZCPP - -
APPX
Appendix 7 Replacement of Another Format Project 815
■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
*2 *1 *1 *1
BITARR_TO_DINT_E BITARR_TO_INT_E BOOL_TO_DINT_E BOOL_TO_DWORD_E BOOL_TO_INT_E BOOL_TO_TIME_E*1
*1
*1 *1 *2
WORD_TO_INT_E WORD_TO_TIME_E XOR_E - - -
APPX
816 Appendix 7 Replacement of Another Format Project
■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
*2 *7,*5 *5 *6 *6
SR SR_E TOF_E TON_E TP_E -
APPX
Appendix 7 Replacement of Another Format Project 817
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
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
818 Appendix 7 Replacement of Another Format Project
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 406 Searching/Replacing Character Strings
• S devices and R devices will be deleted when they are set to the device memory data or the initial device value data of 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
Appendix 7 Replacement of Another Format Project 819
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 308 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 310 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.
• 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 315 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
820 Appendix 7 Replacement of Another Format Project
■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
Appendix 7 Replacement of Another Format Project 821
• 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
822 Appendix 7 Replacement of Another Format Project
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 107 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
400 SEARCHING FOR DATA)
After checking that replacement is available, then replace the character string in the "Label Name"
A
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 224
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 376 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
Appendix 7 Replacement of Another Format Project 823
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.)
APPX
824 Appendix 7 Replacement of Another Format Project
Setting item in PX Operation in Correction method
Developer opening
Inline ST part Converting as an FB Create a function in an ST program of a GX Works3 format project based on an inline ST part created
element and a for a PX Developer project. (Page 459 Creating a Function)
comment element Create a function in an ST program and name it with the name (A) of the inline ST part that was
converted as a comment element.
Register an input/output argument that was converted to an FB element as a local label of the
function created in procedure .
Create an ST program that was converted as a comment element (B) to the program body of the
function created in procedure .
Select the converted FB element, then click [Edit] [Update FB/FUN].
PX Developer
GX Works3
(A)
(B)
APPX
Appendix 7 Replacement of Another Format Project 825
Setting item in PX Operation in Correction method
Developer opening
Inline ST part Converting as an FB When a label is used in an inline structured text of a PX Developer project, change the label to an
element and a input/output argument in addition to the above procedure.
comment element The following figure shows a correction example.
(Example) Inline structured text of a PX Developer project
PX Developer
(B) (A)
GX Works3
(B) (A)
Connect the label with an input connection point/output connection point of the function.
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 499 Simulation of External Device Operations
■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 315 Layout correction
APPX
826 Appendix 7 Replacement of Another Format Project
Correction of a GX Works2 project
Some settings for a GX Works2 project that are used in a PX Developer format project are not applied to a GX Works3 format
project.
The following shows the settings that are not applied to a GX Works3 format project.
■Others
For details on the replacement of other data, refer to the following:
Page 805 Replacement of a GX Works2 format project
APPX
Appendix 7 Replacement of Another Format Project 827
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
828 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 829
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 121 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.
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 831 Devices)
4. Change the standard devices/labels used in both standard and safety programs to standard/safety shared labels.
(Page 832 Standard/safety shared labels)
5. Change the labels to be used in a safety program to the safety labels. (Page 833 Safety labels)
6. Redefine the function blocks. (Page 833 Safety FBs, Page 834 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
830 Appendix 7 Replacement of Another Format Project
Devices
The following devices need to be changed to safety devices (SA\) which can be edited in a GX Works3 format project.
(Page 799 Applicable devices in safety project)
• 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 403 Searching for/Replacing Devices or 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 832 Standard/safety shared labels)
APPX
Appendix 7 Replacement of Another Format Project 831
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 126 Creating data)
2. Register a label in the global editor for standard/safety shared labels. (Page 218 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 126 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
832 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 126 Creating data)
2. Cut the label in the global label editor and paste it to the label editor for safety global labels. (Page 218 Registering
Labels)
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 469 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.
5. Select and right-click its FB instance name. Select [Edit] [Edit FB Instance] from the shortcut menu, then change the
name. (Page 263 Changing FB instance names)
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 833
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 831 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
834 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 X/Y devices 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.
5. Correct the program. (Page 837 Correction after changing the module type)
Replace the X/Y devices, module specification number, and instruction.
Review the program according to the system configuration after changing the module type and operation mode.
APPX
Appendix 8 Considerations for Changing from FX5CPUs to RCPUs 835
Project data for an FX5CPU Description
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
Memory Card of the new module type.
*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
836 Appendix 8 Considerations for Changing from FX5CPUs to RCPUs
Correction after changing the module type
■Replacing devices
I/O devices are used sequentially from the start in FX5CPUs.
In RCPUs, I/O devices are used in order from the number set to the start XY, and the number never duplicates in an X device
and a Y device.
Therefore, devices need to be replaced so that the device number of X/Y devices 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 837
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
838 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.
GX Simulator3
Even if any of following modules exists in the system configuration of a project, the simulation function can be performed
without an error.
Series Module type Module name
MELSEC iQ-R Main base R35B, R38B, R312B, R310B-HT, R33B, R310RB, R38RB-HT
Extension base R65B, R68B, R612B, R610B-HT, R610RB, R68RB-HT, R68WRB,
R66WRB-HT
RQ extension base RQ65B, RQ68B, RQ612B
PLC CPU R00CPU, R01CPU, R02CPU, R04CPU, R08CPU, 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
C controller R12CCPU-V
Motion CPU R16MTCPU, R32MTCPU, R64MTCPU
NCCPU R16NCCPU
Robot CPU R16RTCPU
Power supply R61P, R62P, R63P, R64P, R63RP, R64RP
CPU extension SIL2 function module R6PSFM
Redundant function module R6RFM
Safety function module
Ethernet interface module
R6SFM
_RJ71EN71 (CCIEC), _RJ71EN71 (CCIEF), _RJ71EN71 (E+IEC),
A
_RJ71EN71 (E+IEF)
Input RX10, RX28, RX40C7, RX40NC6H, RX40PC6H, RX41C4, RX41C6HS,
RX42C4, RX61C6HS, RX70C4, RX71C4, RX72C4, RX40NC6B
Output RY10R2, RY20S6, RY18R2A, RY40NT5P, RY40PT5P, RY41NT2P,
RY41NT2H, RY41PT1P, RY41PT2H, RY42NT2P, RY42PT1P, RY40PT5B,
RY40PT5B-AS
I/O RH42C4NT2P
NC dedicated module R173SXY
Sensor control R60MH112, R60MH112-NA
Analog input R60AD4, R60ADV8, R60ADI8, R60AD8-G, R60AD16-G, R60ADH4,
R60ADI8-HA
Analog output R60DA4, R60DAV8, R60DAI8, R60DA8-G, R60DA16-G, R60DAH4
Temperature input R60RD8-G, R60TD8-G
Temperature control module R60TCTRT2TT2, R60TCTRT2TT2BW, R60TCRT4, R60TCRT4BW
CC-Link IE TSN compatible motion module RD78G4, RD78G8, RD78G16, RD78G32, RD78G64, RD78GHV,
RD78GHW
Simple motion RD77MS2, RD77MS4, RD77MS8, RD77MS16, RD77GF4, RD77GF8,
RD77GF16, RD77GF32
Pulse I/O, Positioning RD62P2, RD62P2E, RD62D2, RD60P8-G, RD75P2, RD75P4, RD75D2,
RD75D4, RD40PD01
Energy measuring module RE81WH
APPX
Appendix 9 Using the Simulation Function 839
Series Module type Module name
MELSEC iQ-R Information module C intelligent function module RD55UP06-V
High speed data logger RD81DL96
module
MES interface module RD81MES96, RD81MES96N
OPC UA server module RD81OPC96
Recorder module RD81RC96
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)
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
module (LR)
CC-Link IE TSN module RJ71GN11-T2
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
840 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
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
Simple motion FX5-40SSC-S, FX5-80SSC-S
Information module FX5-ENET, FX5-ENET/IP
Network module
Safety extension module
FX5-CCLGN-MS, FX5-CCLIEF, FX5-CCL-MS, FX5-ASL-M, FX5-DP-M
FX5-SF-MU4T5, FX5-SF-8DI4
A
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 841
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 CC-Link system master/local LJ61BT11
module
APPX
842 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
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
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 A
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
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
APPX
Appendix 9 Using the Simulation Function 843
Module type Supported version of GX Works3 Firmware version
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
RnPSFCPU Version 1.045X or later 01
Version 1.060N or later 03
Version 1.065T or later 04
LHCPU Version 1.065T or later 01
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
FX5UJCPU Version 1.065T or later 1.000
APPX
844 Appendix 9 Using the Simulation Function
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
MU Simulator
Series Module Type Model Name
MELSEC iQ-R CC-Link IE TSN compatible motion module RD78G4
RD78G8
RD78G16
RD78G32
RD78G64
RD78GHV
RD78GHW
MT Simulator2
Series Module type Model name
MELSEC iQ-R Motion CPU R16MTCPU
A
R32MTCPU
R64MTCPU
APPX
Appendix 9 Using the Simulation Function 845
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
846 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
File register block number saving/
recovering setting
Interrupt enable setting in executing
instruction*3
PID control
Process control*5
Constant scan
*1
Database Page 881 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
*4
Link direct device setting
Refresh memory setting
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
STOPRUN operation setting of output (Y)
A
Label access setting from external devices
SD memory card*6 Writing to an SD memory card/reading from an SD memory card
SD memory card forcibly disabled
Latch It cannot be used while GX
Simulator3 is stopped.
Communication setting Device/label access service processing setting
RAS Diagnostic Error clear
FB hierarchy information
History Event history (Error Only a host CPU supports this
history/module error function.
Event history logging restriction*3
history collecting) A virtual SD memory card file can
be used.*6
APPX
Appendix 9 Using the Simulation Function 847
Function name Remarks
Maintenance Monitor (Interrupt) program list monitor Page 874 Program execution time
Scan time monitor
SFC program (diagram) SFC-activated step monitor
monitor
(Local) device/label batch/registration monitor
Buffer memory monitor
Real-time monitor*1 Page 874 Program execution time
Test Device test with execution conditions
External input/output forced on/off
Clearing device, label and file register
Clearing a latch device and label
Data logging
Debug Online change (SFC Inactive block
block)
Active block
Memory dump*1,*6
Web server*4 Detailed module information
Device batch monitor
Device test
Watch
CPU diagnostic
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*3 setting Importing I/O from outside group Only a CPU, which operates
Operation mode setting Clock data synchronization interactively with another module
in the system simulation, supports
Operation setting at stop error these functions.
Multiple CPU synchronous startup setting
CPU data Communication Fixed scan communication setting
communication Error detection setting
CPU number-based data assurance
Communication by refresh
Communication by direct access
Interrupt Multiple CPU synchronization interruption (I45)
Redundant Page 477 Simulation of an RnPCPU (redundant mode)
system*7
APPX
848 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 874 Program execution time
Safety program
Scan time monitoring time (WDT) setting Standard program Page 876 Watchdog timer
Page 874 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)
Diagnostic Self-diagnostic Error detection
Module diagnostic Only a host CPU supports this
function.
Monitor and test Monitoring a program (circuit monitor) Standard program
Safety program
Testing device and label Testing device and Standard label
data (changing values) label data
Safety device/
(changing values)
safety label
Standard/safety A
shared label
Testing local Safety device/
device and local safety label
label data
Standard/safety
shared label
Debug Online program change Online change Standard program
(ladder block)
Safety program
*1
Program restoration information write selection
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 849
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
setting
File register block Standard program
number saving/
recovering setting
Interrupt enable Standard program
setting in executing
instruction
PID control Standard program
Process control*2 Standard program
Constant scan
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 function after converting all Standard label
programs and writing to a programmable
controller*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/ It cannot be used while GX
standard label 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
Diagnosis/History Diagnostic Error clear
History Event history (error Only a host CPU supports this
history/module error *1 function.
Event history logging restriction
history collecting) A virtual SD memory card file can
be used.
APPX
850 Appendix 9 Using the Simulation Function
Function name Remarks
Maintenance Monitor (Interrupt) program list monitor Page 874 Program execution time
Scan time monitor
(Local) device batch/registration monitor
Buffer memory monitor
Real-time monitor Standard device/
standard label
Test Device test with execution condition*1 Standard device/
standard label
External input/output forced on/off
Clearing device, label and file register Standard device/
standard label
Safety device/
safety label
Standard/safety
shared label
Clearing a latch device and label
Data logging*1 Standard device/
standard label
Debug Memory dump *1 Standard device
Multiple CPU Operation setting Other PLC control module Control CPU setting
system setting
Importing I/O from outside group Only a CPU, which operates
interactively with another module
Operation mode setting Clock data synchronization
in the system simulation, supports
Operation setting at stop error these functions.
Multiple CPU synchronous startup setting
CPU data Communication Fixed scan communication setting
communication
Error detection setting
CPU number-based data assurance
Communication by refresh
Communication by direct access A
Interrupt Multiple CPU synchronization interruption (I45)
Safety system Safety condition control Safety/test mode Can be used in the test mode.
(RnSFCPU+R6SFM
)
Redundant system Page 477 Simulation of an RnPSFCPU
APPX
Appendix 9 Using the Simulation Function 851
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\) Access with module FB
(dedicated instruction) and
module label is available.
Cannot be used in a safety
program.
Program Interrupt from module*1 Only MELSEC iQ-R series simple
motion modules support this
function.
Program creation Module label and module FB (device comment) auto-creation
support *1
Sample program display (template display)
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 Event history A virtual SD memory card file can
be used.*4
Error history/system error history
Diagnostic Module diagnostic Only a host CPU supports this
function.
Ethernet Simple CPU communication*5 This function is available only
when any of the following items 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
852 Appendix 9 Using the Simulation Function
CPU module (FX5CPU)
Function name Remarks
Scan time monitoring time (WDT) setting Page 876 Watchdog timer
Page 874 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*1
Program capacity setting *1
Internal buffer capacity setting
Initial device value setting
Latch It cannot be used while GX Simulator3 is stopped.
SD memory card SD memory card forced stop
Device/label access service processing setting
Data logging
Memory dump
Real-time monitor
RAS Self-diagnostic
Error clear
Event history Only a host CPU supports this function.
SFC A
MELSOFT connection
Web server Detailed module information
Device batch monitor
Device test
Watch
CPU diagnostic
Event history
Access log
User web page*1
Display refreshing cycle
Language switching
Simple CPU communication A diagnostic function is not available.
This function is available only when any of the
following items 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
Appendix 9 Using the Simulation Function 853
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
854 Appendix 9 Using the Simulation Function
Supported instructions
The instructions supported by the Simulation function are shown below:
Note that no processing is performed for unsupported instructions (NOP processing).
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)
■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), A
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)
Reading/writing data instruction S(P).DEVLD, SP.DEVST, SP.FREAD, SP.FWRITE
APPX
Appendix 9 Using the Simulation Function 855
Classification Symbol*1
*2
File operation instruction 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
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
856 Appendix 9 Using the Simulation Function
■Dedicated instruction
When simulating a system including a CC-Link IE TSN compatible motion module, the dedicated instructions for this module
are available.
For details on dedicated instructions, refer to the following:
MELSEC iQ-R Programming Manual (Motion Module Instructions, Standard Functions/Function Blocks)
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)
A
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)
Reading/writing data instruction*2 SP.FREAD, SP.FWRITE
Extended file register operation ERREAD, ERWRITE, ERINIT
instruction
String processing instruction $+(P), $MOV(P), 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), STR(P)(_U), STRDEL(P), STRINS(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)
APPX
Appendix 9 Using the Simulation Function 857
Classification Symbol*1
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),
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 *2 AND, ANI, BMOV(P), DMOV(P), LD, LDI, MOV(P), OR, ORI, OUT, RST, SET, ZRST(P)
SFC dedicated instruction*2 TRAN
*1 indicates an operator.
*2 Only FX5UCPUs and FX5UCCPUs support it.
APPX
858 Appendix 9 Using the Simulation Function
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 A
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
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
Appendix 9 Using the Simulation Function 859
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
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*4
Save Device/Label Operations
Program Setting Program Setting Program Setting Execute Order
Program Name
Execution Type
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")*5
FB/FUN File Setting
Refresh Setting between Refresh Setting (At the END)
Multiple CPUs
Refresh Setting (At I45 Exe.)
SFC Setting SFC Program Start Mode Setting
Start Conditions Setting
Output Mode Setting at Block Stop
Safety Function Setting Safety Function Setting Safety Cycle Time*3
Safety I/O Hold Time *6
Redundant System Redundant Behavior Setting Watching Standby System Setting (same operation as for "Disable")
Settings*7
APPX
860 Appendix 9 Using the Simulation Function
■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
*6
Refresh Setting
APPX
Appendix 9 Using the Simulation Function 861
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
Latch Range Setting
Latch Type Setting of Latch Type Label
Index Register Setting
Refresh Memory Setting
Device Latch Interval Setting
Pointer Setting
Internal Buffer Capacity 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*2
Program Setting Program Setting Program Setting Program Name
Execution Type
Detailed Setting Information (Fixed Scan)
Detailed Setting Information (Event)
Device/File Use or not
FB/FUN File Setting
SFC Setting SFC Program Start Mode Setting
Start Conditions Setting
Output Mode Setting at Block Stop
APPX
862 Appendix 9 Using the Simulation Function
■Module parameter
Item
Application Settings Simple CPU Communication Setting*1
APPX
Appendix 9 Using the Simulation Function 863
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
Priority Setting for Interrupt 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
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*1
*1
SFC Setting SFC Program Setting
SFC Program Start Mode Setting
Start Conditions Setting
FX3 Compatible Transition Operation Mode Setting
APPX
864 Appendix 9 Using the Simulation Function
■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 881 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
Appendix 9 Using the Simulation Function 865
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
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
866 Appendix 9 Using the Simulation Function
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.
A
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
Appendix 9 Using the Simulation Function 867
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 480 Multiple CPU system
• Page 483 Programmable controller CPU and motion CPU
• Page 488 Simple motion module/motion module
• Page 490 Cyclic transmission
Series Module type Points
MELSEC iQ-R PLC CPU 8388608
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
*1
Pulse I/O, Positioning 131072
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
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
MELSECNET/H network module 12582912
MELSEC iQ-L PLC CPU 2048
Network module CC-Link module 32768
Intelligent function module 61440
MELSEC iQ-F Simple motion 98304
APPX
868 Appendix 9 Using the Simulation Function
Series Module type Points
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
Appendix 9 Using the Simulation Function 869
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
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 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
870 Appendix 9 Using the Simulation Function
Network
The following shows the network types, network modules, network functions, and network parameters which are supported by
the simulation function (simulation of a cyclic transmission).
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
Network modules
Series Network module
MELSEC iQ-R RnENCPU (network part)
RJ71EN71
RJ71GP21-SX
RJ71GF11-T2
RJ71GN11-T2
MELSEC iQ-F FX5-CCLIEF
Network functions
■CC-Link IE Controller Network
Function Remarks
Cyclic transmission Communication with another station
Link refresh
Direct access for link devices
A
Cyclic data integrity assurance Data is sent for each station regardless of the parameter
setting contents.
Group cyclic transmission
APPX
Appendix 9 Using the Simulation Function 871
■CC-Link IE TSN
Function Remarks
Cyclic transmission Communications using RX, RY, RWr, and RWw
Communications using LB and LW
Link refresh
Direct access to link devices
Cyclic data assurance Data is sent for each station regardless of the parameter
setting contents.
RAS Master station duplication detection The duplication of station types and station numbers can
be detected.
IP address duplication detection
A duplication error occurs in the station where the setting
is configured later.
Others Reserved station
Error invalid station setting
Network parameters
■CC-Link IE Controller Network
Parameter Remarks
Required Settings Station Type Station Type
Network No. Network No.
Station No. Setting Method Only "Parameter Editor" is supported.
Station No.
Network Range Assignment Total No. of Stations
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 Link points extended setting
APPX
872 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 Only "Parameter Editor" is supported.
Parameter Setting Method Setting Method of Basic/
Application Settings
Basic Settings Network Configuration Total Slave 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" are supported.
Pairing Since system switching is not supported
by simulator, cyclic transmission is
performed only from a control system.
Alias
Comment
Refresh Setting Refresh Setting (SB/SW)
■CC-Link IE TSN
Parameter Remarks
Required Settings Station Type Station Type
Network No. Network No.
Station No./IP Address
Setting
Station No.
Station No./IP Address Only "Parameter Editor" is supported.
A
Setting Method
Parameter Setting Method
Basic Settings Network Configuration STA#
Settings RX/RY
RWr/RWw
LB/LW
Refresh Settings
Network Topology
Communication Period Basic Period Setting "Transient Transmission Time" is not
Setting supported.
APPX
Appendix 9 Using the Simulation Function 873
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
874 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 875
General module
When a general module is set in the I/O assignment setting of the system parameter, the X/Y device of the general module
and buffer memory can be accessed.
The following table shows the range of accessible X/Y devices and buffer memory.
Series Module name Type X/Y device 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.
Output points of a slot set in the I/O 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
876 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 494 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.
Clock function
A program is executed in accordance with the simulation time.
The clock on a personal computer is applied to the time of the clock function every time simulation is started or reset.
APPX
Appendix 9 Using the Simulation Function 877
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
878 Appendix 9 Using the Simulation Function
Simulation of a cyclic transmission
■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 879
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
880 Appendix 9 Using the Simulation Function
■Account
The following table shows the values in the account setting during a simulation.
Item Value
RCPU FX5UCPU, FX5UCCPU FX5UJCPU
User name User User User
Write Device Enable Enable Enable
Authority for Window Display Permit Both Displays Permit Both Displays System Web Page Only
Update System Web Page Disable Not supported Not supported
Initial Display Window System Web Page 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 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.) A
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 881
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.
4. Paste the labels into a global label editor or local label editor in GX Works3.
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.
4. Paste the labels into a global label editor or local label editor in GX Works3.
5. Click "Copy Ladder Program (for GX Works3)" in e-Manual to copy the ladder program.
7. Drag and drop the corresponding function block from the element selection window onto the undefined function block on
the ladder editor.
8. Set each item in the "FB Instance Name" screen and click the [OK] button.
APPX
882 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 883
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. Select [Control Panel] [System and Security] [Administrative Tools] [Computer Management] [Device
Manager] from Windows Start*1. Right-click "Unknown device" and click "Update Driver Software".
3. Select "Browse my computer for driver software" on the "Update Driver Software" screen, and specify
'Easysocket\USBDrivers' in the folder where GX Works3 is installed on the next screen.*2
*1 On the Start screen or from the Start menu.
*2 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
884 Appendix 11 USB Driver Installation Procedure
MEMO
APPX
Appendix 11 USB Driver Installation Procedure 885
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)*1, the display of GX Works3 can be
(For example, overlapping of icons, 100% (96 DPI, 9 pt etc.) in Windows displayed with high DPI scaling by using a Windows 10 function*2.
text overflowing from the frame of a settings? Select and right-click 'GXW3.exe'*3, then select [Properties] from the
button, etc.) 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 513 When communication with GX Works3 is not allowed by the
in Ethernet. enabled? Windows firewall
APPX
886 Appendix 12 Troubleshooting
MEMO
APPX
Appendix 12 Troubleshooting 887
Appendix 13 Differences from Existing MELSOFT
Applications
This section shows the differences between GX Works3 Version 1.075D and GX Works2 Version 1.601B.
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
888 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 99 Creating a project
Open Page 101 Opening a project
Close • [Project] [Close]
Save Page 124 Overwriting projects
Save As Page 123 Saving projects under the specified name
Compress/Unpack Compress Page 132 Compressing a project file
Unpack
Delete Page 124 Deleting a project
Verify Page 138 Verifying Projects
Project Revision Revision Entry Page 154 Registering a revision
Revision List Page 156 Revision list screen
Change PLC Type Page 135 Changing the Module Type and Operation
Mode of Projects
Change Project Type
Object New Page 126 Creating data
Rename Page 127 Changing a data name
Delete Page 128 Deleting data
Copy Page 127 Copying and pasting data
Paste
Set as Default Connection Page 510 Switching connection destinations A
Property Page 131 Properties
Intelligent Function Module New Module Page 197 Setting parameters of modules
Delete Module Page 128 Deleting data
Property Page 131 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 205 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 103 Opening a GX Works2 format project
Page 107 Opening a PX Developer format project
Page 121 Opening a GX Developer format project
Open Other Data Read ASC Format File Page 112 Opening a GX IEC Developer format project
Export to GX Developer Format File
APPX
Appendix 13 Differences from Existing MELSOFT Applications 889
GX Works2 GX Works3
Supported or Reference/similar function
not
Library Create Page 462 Creating a library file
Install Page 466 Registering user libraries in the library list
Export FB to Library (Project) *1
Deinstall Page 466 Deleting libraries/updating display
Reload information
Rename *2
Open Page 462 Creating a library file
Close
Change Password
Save As
Save
Help Page 466 Displaying Help
Security Change Password Page 628 Changing password of logon user
It is available only in projects for an RnSFCPU and an
RnPSFCPU.
User Management Page 629 User management
It is available only in projects for an RnSFCPU and an
RnPSFCPU.
Data Security Setting
Soft Security Key Management Page 621 Creating/deleting security key
Print Page 87 Printing Data
Print Preview Page 87 Printing Data
Print Window
Print Window Preview
Printer Setup Page 87 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 48 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
890 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 412 Displaying cross reference information
Device List Page 420 Displaying Device Usage
Find Device Page 403 Searching for/Replacing Devices or Labels
Find Instruction Page 405 Searching/Replacing Instructions
Find Contact or Coil
Find String Page 406 Searching/Replacing Character Strings
Replace Device Page 403 Searching for/Replacing Devices or Labels
Replace Instruction Page 405 Searching/Replacing Instructions
Replace String Page 406 Searching/Replacing Character Strings
Change Open/Close Contact Page 408 Changing Contacts between Open Contact
and Close Contact
Device Batch Replace Page 409 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 376 Converting any or all programs
Online Program Change Page 549 Writing data after changing programs
partially while a CPU module is running (Online
Rebuild All
program change)
Page 376 Converting any or all programs
A
APPX
Appendix 13 Differences from Existing MELSOFT Applications 891
■View
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Toolbar Toolbar name Page 50 Main frame
Display All
Statusbar Page 50 Main frame
Color and Font Page 76 Checking and Changing Colors and Fonts
Docking Window Navigation Page 53 Navigation window
Element Selection Page 55 Element selection window
Output • [View] [Docking Window] [Output]
Cross Reference Page 412 Displaying cross reference information
Device List Page 420 Displaying Device Usage
Device Reference (CC-Link) Page 202 Checking refresh devices assigned to a
module
Device Reference (AnyWireASLINK)
Watch 1 to 4 Page 585 Checking Current Values by Registering
Devices/Labels
Intelligent Function Module 1 to 10 Page 603 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 50 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 529 Writing/Reading Programmable Controller
Data
Write to PLC
Verify with PLC Page 545 Verifying Programmable Controller Data
Remote Operation Page 695 Remote Operation
Redundant Operation Page 697 Redundant Programmable Controller
Operations
Password/Keyword New Page 637 Setting a file password
Delete
Disable
Soft Security Key Management Page 623 Registering a security key in a program file
PLC Memory Operation Format PLC Memory Page 705 Checking Memory Usage
Clear PLC Memory
Arrange PLC Memory
Delete PLC Data Page 529 Writing/Reading Programmable Controller
Data
PLC User Data Read Page 556 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
892 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 694 Clock Setting in a CPU Module
Register/Cancel Display Module Menu
Monitor Monitor Mode Page 258 Switching the ladder edit mode (read/write/
monitor read/monitor write)
Monitor (Write Mode)
Start Monitoring (All Windows) Page 562 Starting/stopping monitoring
Stop Monitoring (All Windows)
Start Monitoring
Stop Monitoring
Change Value Format (Decimal) Page 562 Changing display format of word devices
Change Value Format (Hexadecimal)
Device/Buffer Memory Batch Page 582 Checking Device/Buffer Memory in a Batch
Program List Page 600 Checking Processing Time of Programs
Interrupt Program List Page 602 Checking Execution Counts of Interrupt
Programs
Change Instance (Function Block)
SFC All Block Batch Monitoring Page 581 Monitoring all SFC blocks in batch/active
steps
SFC Auto Scroll Page 578 Monitoring with the SFC auto-scroll
Watch Start Watching Page 585 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 585 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 893
■Debug
: Similar function supported, : Similar function not supported
GX Works2 GX Works3
Supported or Reference/similar function
not
Start/Stop Simulation Page 476 Simulation
Instructions Unsupported by Simulation
Modify Value Page 561 Changing current values
Forced Input Output Registration/Cancellation Page 591 Turning Input/Output Device ON/OFF
Forcibly
Device Test with Execution Condition Register Page 593 Changing Device/Label Value by Setting
Conditions
Registration Check/Disable
Batch Disable
Sampling trace Open Sampling Trace *1
Scan Time Measurement
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 648 Module Diagnostic
Ethernet Diagnostics Page 654 Ethernet diagnostic
CC IE Control Diagnostics Page 655 CC-Link IE Controller Network diagnostic
CC IE Field Diagnostics Page 657 CC-Link IE TSN/CC-Link IE Field Network
diagnostic
CC-Link IEF Basic Diagnostics Page 659 CC-Link IE Field Network Basic diagnostic
MELSECNET Diagnostics Page 660 MELSECNET diagnostic
CC-Link Diagnostics Page 661 CC-Link diagnostic
Sensor/Device Monitor Page 645 Sensor/Device Status Check
System Monitor Page 642 Module Status Check of a System
Online Module Change
APPX
894 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 559 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 374 Program check
Check Parameter Page 194 Checking parameters
Clear All Parameters
Check Device Duplication of Global Label Page 231 Checking assigned devices
Device/Label Automatic-Assign Setting
Block Password Page 617 Setting block password
Confirm Memory Size Page 387 Calculating Memory Size
Delete Unused Device Comment Page 369 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 670 Data Logging Function
Real-time Monitor Function Page 607 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 194 Checking parameters
Parameter
Intelligent Function Module Tool Page 209 Displaying the module tool list
Predefined Protocol Support Function Page 211 Predefined Protocol Support Function
Language Selection *1
Profile Management Register Page 180 Managing Profiles
Delete
Key Customize Page 75 Checking and Changing Shortcut Keys
Options Page 79 Option Setting 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 49 Display Language Switching
APPX
Appendix 13 Differences from Existing MELSOFT Applications 895
■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 51 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 41 Displaying Help
Connection to MITSUBISHI ELECTRIC FA Global Website Page 42 Connecting to MITSUBISHI ELECTRIC FA
Global Website
About Page 42 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 219 Editing a row
New Declaration (After)
Delete Row
Read from CSV File Page 235 Exporting/importing data to/from a file
Write to CSV File
System Label Reservation to Register System Label Page 244 Registering labels in system label database
Reservation to Release System Label Page 244 Releasing system labels
Import System Label Page 244 Importing system labels in system label
database to GX Works3
Reflect to System Label Database Page 244 Registering labels in system label database
Check the changes of the System Page 245 Importing the changes of system label
Label Database database
Execute Verification Synchronous Page 245 Verifying system label information
with System Label
Sort Page 220 Sorting labels
Unused label list Page 418 Displaying a list of unused labels
APPX
896 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 372 Reading sample comments
Clear All (All Devices) Page 369 Clearing all device comments
Clear All (All Displayed Devices)
Read from CSV File Page 370 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 367 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 897
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 393 Setting character strings
FILL Page 392 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 394 Writing/Reading Data to/from CPU Module
Write Device Memory to PLC
Read from Excel File
Write to Excel File Page 395 Exporting Device Memory Data
APPX
898 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 140 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 140 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 899
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 279 Pasting device numbers or label names
consecutively
Delete
Restore After Ladder Conversion Page 280 Returning ladder diagrams to the condition
before editing
Insert Row • [Edit] [Insert Row]/[Delete Row]/[Insert Column]/
Delete Row [Delete Column]
Insert Column
Delete Column
NOP Batch Insert Page 277 Inserting/deleting NOP instruction
NOP Batch Delete
Edit Line *1
Delete Line *1
Change TC Setting Page 277 Changing TC setting values
Ladder Edit Mode Read Mode Page 258 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 259 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
Operation Result Rising Pulse Results]/[Operation Result Rising Pulse]/[Operation
Result Falling Pulse]
Operation Result Falling Pulse
Inline Structured Text Insert Inline Structured Text Box Page 269 Inserting inline structured text
Display Template Page 302 Displaying syntax templates
Mark Template (Left)
Mark Template (Right)
Edit FB Instance Page 263 Changing FB instance names
APPX
900 Appendix 13 Differences from Existing MELSOFT Applications
GX Works2 GX Works3
Supported or Reference/similar function
not
Documentation Device Comment Page 272 Entering/editing comments
Statement Page 273 Entering/editing statements
Note Page 276 Entering/editing notes
Statement/Note Batch Edit Page 273 Entering/editing statements
Page 276 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 260 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 286 Importing from a CSV file
Write to CSV File Page 289 Exporting to a CSV file
*1 In GX Works3, a line can be drawn with the shortcut keys (+///) (Page 261 Drawing a line)
APPX
Appendix 13 Differences from Existing MELSOFT Applications 901
■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 274 Displaying a list
Jump Page 284 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
902 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 272 Entering/editing comments
Statement Page 273 Entering/editing statements
Note Page 276 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 254 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 76 Checking and Changing Colors and Fonts
Smaller The character size can be changed for each editor by
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 257 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 903
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 322 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 277 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 331 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 349 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 323 Configuration of an SFC diagram editor
Zoom • [View] [Zoom] [Set Zoom Factor]/[Zoom In]/
[Zoom Out]
Text Size Bigger
Smaller
SFC Column Setting
APPX
904 Appendix 13 Differences from Existing MELSOFT Applications
GX Works2 GX Works3
Supported or Reference/similar function
not
Open SFC Blocklist Page 352 Displaying an SFC block list
MELSAP3 Display Page 327 Display format of action/transition
MELSAP-L (Instruction Format) Display
MELSAP-L (Start Conditions Format) Display
Open Zoom/Start Destination Block Page 323 Configuration of an SFC diagram editor
Back to Start SFC Block Page 332 Creating a step that makes another block
activated
Open Header Page 353 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 353 Jump A
Find Block No.
Block Information Find Device Page 353 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 352 Displaying an SFC block list
Device Display
Open SFC Body Page 352 Displaying SFC diagrams
Open Header Page 353 Displaying local label editor
APPX
Appendix 13 Differences from Existing MELSOFT Applications 905
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 302 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 303 Jump
Bookmark Toggle Bookmark Page 434 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 571 Monitor
Start Monitor (bit type only)
APPX
906 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 315 Correcting layout in an FBD network block
Page 315 Correcting layout in an FBD network block
in a batch
Insert Row Page 315 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 310 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 310 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 312 Adding/deleting arguments
Delete
APPX
Appendix 13 Differences from Existing MELSOFT Applications 907
GX Works2 GX Works3
Supported or Reference/similar function
not
Ladder Block List Page 320 Displaying FBD network blocks in a list
Signal Configuration Configure Page 310 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 320 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 304 Configuration of an FBD/LD editor
Add Label Display Items Device
Address
Label Comment Page 304 Configuration of an FBD/LD editor
Device Comment
All Device Display
Cancel All Device Display
Grid Page 304 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
908 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 909
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 200 Setting network configuration and target
Change to General CC-Link Module devices
■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
910 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 200 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 Slave
Module
Backup Slave Module
Restore Slave 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 911
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
200 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 200 Setting network configuration and target
Change to General SLMP Module devices
■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
912 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 913
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 645 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 645 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 Slave Station Page 645 Sensor/Device Status Check
Command Execution of Slave Station
Backup Slave Station
Restore Slave 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 Slave Module Page 645 Sensor/Device Status Check
Backup Slave Module
Restore Slave Module
Start Monitoring
Stop Monitoring
APPX
914 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 645 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
Read written by using the following menu in GX Works3.
• [Online] [Read from PLC]
• [Online] [Write to PLC]
I/O System Setting Page 499 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 915
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 211 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 211 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
916 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 917
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 79 Option Setting for Each Function
APPX
918 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
■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
Supported or Similar setting A
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 919
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
920 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 921
■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
922 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 923
■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
924 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 925
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
926 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 927
■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
928 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"
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.
Execute online change by Compile • "Convert" "Online Program Change"
"Operational Setting" "Execute Online Program
Change in Converting"
A
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 929
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
930 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 931
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
932 Appendix 13 Differences from Existing MELSOFT Applications
INDEX
B Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
G U I
Global device . . . . . . . . . . . . . . . . . . . . . . . . . 249 USB driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . 884
User authentication . . . . . . . . . . . . . . . . . . . . . . 627
I User data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556
L Z
Latch clear . . . . . . . . . . . . . . . . . . . . . . . . . . . 708 Zero clear . . . . . . . . . . . . . . . . . . . . . . . . . . . . 707
Local device . . . . . . . . . . . . . . . . . . . . . . . . . . 249
M
MC . . . . . . . . . . . . ..... ....... ...... .. 271
Memory dump . . . . ..... ....... ...... .. 666
Module FB . . . . . . . ..... ....... ...... .. 455
Module label . . . . . . ..... ....... ...... .. 237
Monitoring . . . . . . . ..... ....... ...... .. 562
Multiple CPU setting ..... ....... ...... .. 195
N
Network configuration . . . . . . . . . . . . . . . . . . . 200
NOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
933
MEMO
934
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
935
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
936
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
937
TRADEMARKS
Microsoft, Excel, Windows, Windows XP, Windows Vista, Microsoft Edge, and Internet Explorer are either registered
trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
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.
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.
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" in the folder in which this product has been installed.
FluentFTP
Copyright 2015 Robin Rodricks and FluentFTP Contributors
938
SH(NA)-081215ENG-AE(2107)
MODEL:GXW3-O-E
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN
When exported from Japan, this manual does not require application to the
Ministry of Economy, Trade and Industry for service transaction permission.