GX Works 2 Operating Manual Common
GX Works 2 Operating Manual Common
CAUTION".
WARNING
CAUTION
[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 programmable controller CPU, 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 programmable controller CPU (Program
change when a programmable controller CPU is RUN, operating status changes such as forced input/output
operation and 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 programmable controller CPU is RUN, it may cause a program corruption in some
operating conditions. Fully understand the precautions described in Section 12.9 before use.
The positioning test functions of OPR, JOG, inching or positioning data for QD75/LD75 positioning module must be
executed with the programmable controller 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.
A -1
A -2
REVISIONS
The manual number is written at the bottom left of the back cover.
Print date
Manual number
Revision
Jul., 2008
SH(NA)-080779ENG-A
First edition
Jan., 2009
SH(NA)-080779ENG-B
Model Addition
Q00UJ, Q00U, Q01U, Q10UDH, Q10UDEH, Q20UDH, Q20UDEH, FX series
Addition
MANUALS, Section 2.1, Section 2.1.2, Section 2.1.3, Section 2.1.5, Section 2.1.6,
Section 2.1.7, Section 2.1.8, Section 2.3, Section 3.2.8, Section 5.2, Section 12.8,
Section 13.2, Section 14.5, Section 14.6, Section 14.7, Section 15.2.2, Section 15.3,
Section 15.4, Section 17.1.2, Section 17.4.3, Section 17.4.4, Appendix 6
Correction
GENERIC TERMS AND ABBREVIATIONS IN THIS MANUAL, Section 1.3,
Section 2.1.4, Section 2.3, Section 2.5, Section 3.2.1, Section 3.2.2, Section 3.2.3,
Section 3.2.4, Section 3.2.6, Section 3.3.1, Section 3.3.4, Section 4.1.6, Section 4.1.7,
Section 4.2.1, Section 4.3, Section 4.3.1, Section 4.3.5, Section 4.4, Section 4.4.1,
Section 4.5.2, Section 4.5.3, Section 4.6, Section 4.6.1, Section 4.7, Section 6.1,
Section 6.1.1, Section 6.2, Section 6.2.1, Section 7.1.2, Section 7.2.2, Section 7.2.4,
Section 8.1.2, Section 9.1.1, Section 9.1.2, Section 10.1.2, Section 10.2, Section 10.3,
Section 11.1.1, Section 11.2.3, Section 11.3, Section 11.8.1, Section 12.2,
Section 12.5, Section 12.9.1, Section 12.9.5, Section 13.1.1, Section 14.1,
Section 14.3, Section 15.5.4, Section 16.1, Section 16.3, Section 16.5, Section 17.4.1,
Section 17.4.2, Section 18.3.2, Chapter 19, Appendix 1, Appendix 2, Appendix 3,
Appendix 4, Appendix 5, Appendix 7, Appendix 8, Appendix 9.3
A -3
Print date
Manual number
Jul., 2009
SH(NA)-080779ENG-C
Revision
Model Addition
Q00J, Q00, Q01
Addition
Section 4.1.4, Section 7.2.4, Section 10.3.2, Section 10.3.3,
Section 10.3.4, Section 10.3.5, Section 11.1.2, Section 12.9.3, Section 12.10,
Section 15.2.1, Section 15.2.2, Section 15.2.3, Section 16.5, Section 18.6.1,
Chapter 19
Correction
MANUALS, GENERIC TERMS AND ABBREVIATIONS IN THIS MANUAL,
Section 1.3, Section 2.3, Section 2.5, Section 3.2.1, Section 3.2.8, Section 4.1.1,
Section 4.1.8, Section 4.2.1, Section 4.3.1, Section 4.3.5, Section 4.4, Section 4.6,
Section 4.8, Section 5.2, Section 6.1.1, Section 7.1.2, Section 7.2.2, Section 7.2.3,
Section 7.3, Section 7.4.2, Section 8.2, Section 9.1.1, Section 9.2.1, Section 9.2.2,
Section 10.3.1, Section 10.3.6, Section 11.1, Section 11.2.3, Section 11.4,
Section 11.9, Section 12.1, Section 12.1.5, Section 12.5, Section 12.9.1,
Section 12.9.4, Section 12.9.6, Section 12.11, Section 14.2.2, Section 14.7,
Section 15.1, Section 15.2, Section 16.2, Section 16.4, Section 17.2, Section 18.3,
Section 18.4, Section 18.6, Section 20.2, Section 20.3, Section 21.2, Section 22.2.2,
Appendix 1, Appendix 2, Appendix 4, Appendix 5, Appendix 6, Appendix 7,
Appendix 8, Appendix 9, Appendix 10,
Section 4.1.4 to 4.1.7 are changed to Section 4.1.5 to 4.1.8,
Section 4.6.4 is changed to Section 4.7,
Section 4.7 to 4.8 are changed to Section 4.8 to 4.9,
Section 7.2.4 to 7.2.5 are change to Section 7.2.5 to 7.2.6,
Section 10.2 to 10.3 are changed to Section 10.1 to 10.2,
Section 11.1.2 is changed to Section 11.2.3,
Section 11.9.3 to 11.9.5 are changed to Section 11.9.4 to 11.9.6,
Section 12.10 is changed to Section 12.11,
Section 14.2.3 to 14.2.4 are changed to Section 14.2.2 to 14.2.3,
Section 15.1.1 is changed to Section 15.2, Section 15.1.2 is changed to Section 15.4,
Section 15.2 to 15.5 are changed to Section 16.1 to 16.4,
Chapter 16 to 17 are changed to Chapter 17 to 18,
Chapter 18 to 19 are changed to Chapter 20 to 21,
Appendix 7 is changed to Appendix 6, Appendix 10 is changed to Appendix 8
Deletion
Section 3.3.5, Section 4.4.1
Oct., 2009
SH(NA)-080779ENG-D
Addition
Appendix 13
Correction
GENERIC TERMS AND ABBREVIATIONS IN THIS MANUAL, Section 1.3.1,
Section 1.3.6, Section 2.1, Section 4.1.7, Section 6.1, Section 10.1.1, Section 10.3,
Section 11.8.1, Section 11.8.2, Section 12.2, Section 20.3.2, Section 21.1,
Section 21.2, Appendix 1.2, Appendix 1.6, Appendix 4.2, Appendix 4.3, Appendix 4.4,
Appendix 4.5, Appendix 4.9, Appendix 4.10, Appendix 4.14, Appendix 7, Appendix 8,
Appendix 10.1, Appendix 12
A -4
Print date
Manual number
Jan., 2010
SH(NA)-080779ENG-E
Revision
Model Addition
L02, L26-BT
Addition
CONDITIONS OF USE FOR THE PRODUCT, Section 3.3.4, Section 13.2,
Section 16.6, Section 18.4.5, Section 18.6.1, Section 18.7, Appendix 10.7,
Appendix 14
Correction
MANUALS, GENERIC TERMS AND ABBREVIATIONS IN THIS MANUAL,
Section 1.3, Section 2.1, Section 2.2, Section 2.3, Section 2.4, Section 3.2.7,
Section 4.1.1, Section 4.1.3, Section 4.1.7, Section 4.1.8, Section 4.3, Section 4.5.1,
Section 4.5.5, Section 4.6, Section 6.1, Section 6.2, Section 6.3, Section 6.4,
Section 7.1.2, Section 7.2.6, Section 7.3, Section 9.1.2, Section 9.4.2, Section 10.1,
Section 10.2, Section 10.3, Section 11.2.1, Section 11.2.3, Section 11.3, Section 11.5,
Section 11.7, Section 11.8.1, Section 11.8.2, Section 12.1, Section 12.1.2,
Section 12.1.4, Section 12.2, Section 12.3, Section 12.5, Section 12.6, Section 12.8,
Section 12.8.2, Section 12.9.1, Section 12.9.2, Section 12.9.4, Section 12.9.5,
Section 12.9.6, Section 12.10.2, Section 12.10.3, Section 12.10.4, Section 12.11,
Section 12.11.1, Section 12.11.2, Section 13.3.1, Section 13.3.2, Section 13.3.3,
Section 14.1.2, Section 14.5, Section 14.7, Section 15.1, Section 15.2, Section 15.2.1,
Section 15.2.3, Section 16.1, Section 16.4.1, Section 16.4.2, Section 16.4.3,
Section 16.4.4, Section 17.1, Section 17.2, Section 17.3, Section 17.4, Section 17.5,
Section 18.1.1, Section 18.1.2, Section 18.1.3, Section 18.1.4, Section 18.4.1,
Section 18.4.3, Section 18.5, Section 18.5.2, Section 18.5.3, Section 18.6,
Section 19.3, Section 19.4.1, Section 19.4.2, Section 19.5.3, Section 19.6,
Section 19.8, Section 21.1, Section 21.2, Appendix 1, Appendix 1.1, Appendix 1.3,
Appendix 1.4, Appendix 1.5, Appendix 1.6, Appendix 1.7.1, Appendix 1.8,
Appendix 2.1, Appendix 2.2, Appendix 2.3, Appendix 2.4, Appendix 4.2,
Appendix 4.9, Appendix 4.13, Appendix 5, Appendix 6, Appendix 7, Appendix 8.1,
Appendix 9, Appendix 10, Appendix 10.1, Appendix 10.2, Appendix 10.3,
Appendix 10.4, Appendix 10.5, Appendix 10.6, Appendix 10.7, Appendix 12
Apr., 2010
SH(NA)-080779ENG-F
Model Addition
Q50UDEH, Q100UDEH, LJ72GF15-T2
Addition
Section 4.1.8, Section 6.1.1, Section 6.1.2, Section 6.2.1, Section 12.12,
Section 18.1.4, Section 18.4, Appendix 4.13, Appendix 10.8
Correction
MANUALS, GENERIC TERMS AND ABBREVIATIONS IN THIS MANUAL,
Section 1.1, Section 1.2, Section 1.3.1, Section 2.1.1, Section 2.1.2, Section 2.1.3,
Section 2.1.8, Section 2.3, Section 2.5, Section 3.2, Section 3.4, Section 3.5,
Section 4.1.2, Section 4.6, Section 4.6.3, Section 4.8, Section 4.8.5, Section 6.1,
Section 6.1.1, Section 6.4, Section 10.1.1, Section 11.1.1, Section 11.2.3, Section 11.3,
Section 11.4, Section 11.5, Section 11.6, Section 11.7, Section 12.4.1, Section 12.6,
Section 12.8, Section 12.9.1, Section 12.9.2, Section 12.9.6, Section 11.2.3,
Section 14.1.2, Section 14.2.2, Section 16.1, Section 16.4.2, Section 16.4.3,
Section 17.1, Section 17.2, Section 17.3, Section 17.6, Section 18.1, Section 18.3,
Section 18.4, Section 18.5.3, Section 18.7, Section 18.7.2, Section 20.1,
Section 20.3.2, Section 21.1, Section 21.2, Chapter 22, Appendix 1.1, Appendix 1.6,
Appendix 2, Appendix 4.1, Appendix 4.2, Appendix 4.5, Appendix 4.9, Appendix 4.13,
Appendix 5, Appendix 6, Appendix 7, Appendix 10, Appendix 12, Appendix 13
Section 18.4 to 18.6 are changed to Section 18.5 to 18.7
Appendix 4.13 to 4.14 are changed to Appendix 4.14 to 4.15
A -5
Print date
Manual number
Sep., 2010
SH(NA)-080779ENG-G
Revision
Model Addition
QJ72LP25, QJ72BR15
Addition
Section 16.2.2, Section 17.7, Section 18.8, Appendix 2.3, Appendix 15
Correction
GENERIC TERMS AND ABBREVIATIONS IN THIS MANUAL, Section 1.2,
Section 1.3.1, Section 1.3.2, Section 1.3.4, Section 1.3.5, Section 1.3.8, Section 2.1,
Section 2.1.2, Section 2.1.4, Section 2.1.6, Section 2.1.7, Section 2.2, Section 2.2.1,
Section 2.3, Section 3.2.1, Section 3.2.2, Section 3.2.3, Section 3.2.4, Section 3.2.6,
Section 3.3, Section 3.3.4, Section 3.3.5, Section 4.1.1, Section 4.1.2, Section 4.1.3,
Section 4.1.7, Section 4.1.8, Section 4.2.1, Section 4.2.5, Section 4.5.3, Section 4.5.5,
Section 4.6, Section 4.6.1, Section 4.7, Section 4.8, Section 4.8.5, Section 4.9,
Section 6.1.1, Section 6.2, Section 6.2.1, Section 9.1.2, Section 9.2.1, Section 9.2.2,
Section 10.1, Section 10.1.1, Section 10.2, Section 10.3, Section 10.3.1,
Section 10.3.2, Section 10.3.3, Section 10.3.4, Section 10.3.5, Section 11.1,
Section 11.1.1, Section 11.2, Section 11.2.1, Section 11.2.2, Section 11.2.3,
Section 11.3, Section 11.4, Section 11.5, Section 11.6, Section 11.7.1, Section 11.7.2,
Section 11.8.1, Section 11.8.2, Section 11.9, Section 12.1, Section 12.1.3,
Section 12.1.4, Section 12.1.5, Section 12.2, Section 12.3, Section 12.4, Section 12.8,
Section 12.9.1, Section 12.9.5, Section 12.12, Section 13.1, Section 13.1.1,
Section 13.2, Section 13.2.1, Section 14.1.1, Section 14.1.2, Section 14.2.1,
Section 14.2.2, Section 14.3, Section 15.1.2, Section 15.2, Section 17.1, Section 17.2,
Section 17.3, Section 17.4, Section 17.7, Section 18.1.1, Section 18.1.4,
Section 18.2.5, Section 18.2.7, Section 18.2.8, Section 18.3, Section 18.4,
Section 18.4.4, Section 18.4.5, Section 18.4.6, Section 18.5.1, Section 18.5.3,
Section 18.6.2, Section 18.6.3, Section 18.6.4, Section 18.7, Section 21.2,
Appendix 1.1, Appendix 1.2, Appendix 1.6, Appendix 2.1, Appendix 2.2, Appendix 2.4,
Appendix 2.5, Appendix 4.2, Appendix 4.5, Appendix 4.12, Appendix 4.14,
Appendix 4.15, Appendix 6.1, Appendix 6.2, Appendix 7, Appendix 8, Appendix 9,
Appendix 10.1, Appendix 10.2, Appendix 10.3, Appendix 10.4, Appendix 10.5,
Appendix 10.6, Appendix 10.7, Appendix 10.9, Appendix 12, Appendix 15,
Appendix 4.6.3 is changed to Appendix 4.6.2, Appendix 2.3 is changed to Appendix 2.4
Jan., 2011
SH(NA)-080779ENG-H
Addition
TERMS, Section 3.3, Section 4.1, Section 12.5, Section 14.1, Section 14.3.4,
Section 20.4, Appendix 16
Correction
MANUALS, GENERIC TERMS AND ABBREVIATIONS IN THIS MANUAL,
Section 1.3, Section 2.1.1, Section 2.1.3, Section 2.2, Section 2.3, Section 3.2.5,
Section 3.2.6, Section 4.1.2, Section 4.2.1, Section 4.2.2, Section 4.2.3, Section 4.2.4,
Section 4.2.5, Section 4.2.7, Section 4.2.8, Section 4.3.1, Section 4.3.5, Section 4.7.1,
Section 4.8, Section 6.1.2, Section 8.2, Section 9.4.1, Section 9.4.2, Section 10.1.1,
Section 10.2, Section 11.8, Section 12.1.5, Section 12.1.6, Section 12.2, Chapter 14,
Section 16.3, Section 18.1.1, Section 18.7, Section 19.1.1, Section 19.1.3,
Section 20.2, Section 20.3.1, Section 20.3.2, Section 21.2, Appendix 1.1,
Appendix 1.4, Appendix 1.8, Appendix 4, Appendix 7, Appendix 12, Appendix 15,
Appendix 16
Section 4.1 to 4.9 are changed to Section 4.2 to 4.10
Section 12.5 is changed to Section 12.6
Section 14.1 to 14.7 are changed to Section 14.2 to 14.8
A -6
Print date
Manual number
Mar., 2011
SH(NA)-080779ENG-I
Revision
Addition
Section 4.9, Section 16.6, Section 20.1, Section 20.3, Section 20.4, Section 20.5,
Section 20.6, Section 20.11,
Correction
MANUALS, GENERIC TERMS AND ABBREVIATIONS IN THIS MANUAL,
Section 1.1, Section 1.3.1, Section 1.3.3, Section 2.2, Section 2.3, Section 3.3,
Section 4.2.1, Section 4.2.2, Section 4.2.3, Section 4.2.4, Section 4.3.2, Section 4.6.1,
Section 4.7.1, Section 6.1.1, Section 6.2, Section 6.4, Section 10.1, Section 10.2,
Section 10.3, Section 11.1.1, Section 12.1.5, Section 12.7.1, Section 12.9.1,
Section 14.1.2, Section 14.6.2, Section 15.1.2, Section 15.3, Section 16.6.3,
Section 18.4, Section 18.6.3, Section 20.5.7, Section 20.8.1, Section 21.2,
Appendix 1.1, Appendix 1.6, Appendix 4, Appendix 7, Appendix 10, Appendix 12,
Appendix 13, Appendix 16, Appendix 17,
Section 20.1 is changed to Section 20.2
Section 20.2 is changed to Section 20.9
Section 20.3.1 is changed to Section 20.7
Section 20.3.2 is changed to Section 20.10
Section 20.4 is changed to Section 20.8
Appendix 15 and 16 are changed to Appendix 16 and 17
Jul., 2011
SH(NA)-080779ENG-J
Model Addition
L02-P, L26-PBT
Addition
Section 2.1.9, Section 3.4.1, Section 4.1.2, Section 5.2, Section 5.3, Section 10.1.2,
Section 12.10.4, Section 20.5.1, Section 20.5.2, Section 20.5.3, Section 20.5.8,
Section 20.5.12, Section 20.5.13, Section 20.5.14, Section 20.5.15, Section 20.5.16,
Section 20.5.18, Appendix 1.2
Correction
MANUALS, GENERIC TERMS AND ABBREVIATIONS IN THIS MANUAL, TERMS,
Section 1.3.1, Section 1.3.2, Section 1.3.3, Section 1.3.6, Section 2.1, Section 2.2,
Section 2.3, Section 2.5, Section 3.1, Section 3.3, Section 3.4, Section 4.1,
Section 4.1.1, Section 4.2.1, Section 4.2.2, Section 4.2.3, Section 4.2.7, Section 4.2.8,
Section 4.3.1, Section 4.11, Section 4.11.2, Section 6.1.1, Section 9.1.1, Section 9.2.2,
Section 9.4.2, Section 10.1, Section 10.1.1, Section 10.1.3, Section 10.2,
Section 10.3.1, Section 10.3.2, Section 10.3.3, Section 10.3.4, Section 11.6,
Section 12.1, Section 12.1.5, Section 12.1.6, Section 12.9.1, Section 12.9.6,
Section 12.10.1, Section 12.10.2, Section 12.10.3, Section 13.3, Section 16.6,
Section 16.6.1, Section 16.6.2, Section 16.6.3, Section 16.6.4, Section 16.6.5,
Section 16.6.8, Section 17.1, Section 17.5, Section 18.1.1, Section 18.4,
Section 18.5.1, Section 18.6.2, Section 20.1, Section 20.3, Section 20.4,
Section 20.5.2, Section 20.5.3, Section 20.5.13, Section 20.5.18, Section 20.5.4,
Section 20.5.5, Section 20.5.6, Section 20.5.9, Section 20.5.11, Section 20.10,
Section 20.11, Section 21.1, Section 21.2, Appendix 1.1, Appendix 1.7, Appendix 4.2,
Appendix 4.5, Appendix 4.10, Appendix 4.13, Appendix 4.16, Appendix 4.18,
Appendix 6.1, Appendix 6.2, Appendix 7, Appendix 10.9, Appendix 12
Section 2.1.9 is changed to Section 2.1.10
Section 3.4.6 and Section 3.4.7 are changed to Section 3.4.3 and Section 3.4.4
Section 4.1.2 is changed to Section 4.1.3
Section 5.2 is changed to Section 5.4
Section 10.1.2 is changed to Section 10.1.3
Section 12.10.4 is changed to Section 12.10.5
Section 20.5.1 to Section 20.5.4 are changed to Section 20.5.4 to Section 20.5.7
Section 20.5.5 to Section 20.5.7 are changed to Section 20.5.9 to Section 20.5.11
Section 20.5.8 is changed to Section 20.5.17
Appendix 1.2 to Appendix 1.8 are changed to Appendix 1.3 to Appendix 1.9
Deletion
Section 3.4.2, Section 3.4.3, Section 3.4.5, Section 3.4.6
A -7
Print date
Manual number
Sep., 2011
SH(NA)-080779ENG-K
Revision
Addition
Section 2.1.10, Section 9.5, Section 11.9, Section 20.3.1
Correction
TERMS, Section 1.3.1, Section 2.1, Section 3.2.6, Section 3.4, Section 4.2.7,
Section 4.2.8, Section 4.6.5, Section 6.2, Section 9.1.2, Section 9.2.1, Section 9.4.2,
Section 11.1.1, Section 12.1.3, Section 12.2, Section 18.1.1, Section 20.2,
Section 20.3, Section 20.4, Section 20.5.4, Section 20.5.5, Section 20.5.6,
Section 20.5.9, Section 20.5.11, Section 20.5.12, Section 20.5.14, Section 20.11,
Appendix 4.3, Appendix 4.6, Appendix 4.16, Appendix 5.1, Appendix 6.1, Appendix 7,
Appendix 8, Appendix 10, Appendix 12, Appendix 13.1, Appendix 13.2
Section 2.1.10 is changed to Section 2.1.11
Section 11.9 is changed to Section 11.10
Deletion
Section 6.2.2
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses.
Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur
as a result of using the contents noted in this manual.
A -8
INTRODUCTION
Thank you for purchasing the Mitsubishi integrated FA software, MELSOFT series.
Before using the product, thoroughly read this manual to develop full familiarity with the functions and
performance to ensure correct use.
CONTENTS
SAFETY PRECAUTIONS ...................................................................................................................... A - 1
CONDITIONS OF USE FOR THE PRODUCT ..................................................................................... A - 2
REVISIONS ........................................................................................................................................... A - 3
INTRODUCTION ................................................................................................................................... A - 9
CONTENTS ........................................................................................................................................... A - 9
MANUALS............................................................................................................................................ A - 22
GENERIC TERMS AND ABBREVIATIONS IN THIS MANUAL........................................................... A - 31
TERMS ................................................................................................................................................ A - 33
1
OVERVIEW
1 - 1 to 1 - 30
1.1
Product Overview
1-2
1.2
Features
1-4
1.3
List of Functions
1-9
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
SYSTEM CONFIGURATION
2.1
2 - 1 to 2 - 20
2-2
2.1.1
2.1.2
USB cables (compatible with QCPU (Q mode), LCPU, and communication head module) ........ 2 - 4
USB cables and function expansion boards (compatible with FX3U/FX3UC)............................... 2 - 5
2.1.3
2.1.4
2.1.5
RS-232 cables (compatible with QCPU (Q mode), LCPU, and remote I/O module).................... 2 - 6
Converters/cables for RS-232 connection (compatible with FXCPU) .......................................... 2 - 6
2.1.6
2.1.7
Connection using RS-232 cables and function expansion boards (special adapters)
(compatible with FXCPU) ............................................................................................................. 2 - 9
2.1.8
2.1.9
2.1.10
A -9
2.1.11
2.2
2.3
2 - 14
2.4
2 - 18
2.5
2 - 19
3 - 1 to 3 - 32
3.1
3-2
3.2
3-3
3.2.1
3.2.2
Toolbars ....................................................................................................................................... 3 - 5
3.2.3
3.2.4
3.2.5
3.2.6
Status bar................................................................................................................................... 3 - 21
3.2.7
3.2.8
3.3
Selecting Language
3 - 27
3.4
Help Function
3 - 28
3.4.1
3.4.2
3.4.3
PROJECT MANAGEMENT
4.1
4.2
4.3
4-2
4.1.1
4.1.2
4.1.3
Project .......................................................................................................................................... 4 - 5
Project Operations
4-8
4.2.1
4.2.2
4.2.3
Saving projects........................................................................................................................... 4 - 13
4.2.4
4.2.5
4.2.6
Closing projects.......................................................................................................................... 4 - 18
4.2.7
4.2.8
A - 10
4 - 1 to 4 - 68
4 - 31
4.3.2
4.3.3
4.3.4
4.3.5
4.4
4 - 37
4.5
4 - 38
4.6
4 - 39
4.7
4.6.1
4.6.2
4.6.3
4.6.4
4.6.5
4.7.2
4.7.3
4 - 52
4.9
4 - 53
4.10
4 - 54
4.10.1
4.10.2
4.10.3
4.10.4
4.10.5
4 - 64
4.11.1
4.11.2
4.11.3
EDITING PROGRAMS
5 - 1 to 5 - 10
5.1
Programming
5-2
5.2
Label Programming
5-2
5.3
5-4
5.3.1
5.4
4 - 45
4.8
4.11
5.3.2
Writing programs to programmable controller CPU (Write to PLC/Online program change) ....... 5 - 6
5.3.3
Reading programs from programmable controller CPU (Read from PLC) ................................... 5 - 7
5.3.4
5.3.5
Monitoring programs..................................................................................................................... 5 - 8
Converting/Compiling Projects
SETTING PARAMETERS
6.1
6.2
5-9
6 - 1 to 6 - 26
6-2
6.1.1
6.1.2
6 - 16
A - 11
6.2.1
6.3
6 - 24
6.4
Checking Parameters
6 - 26
7.2
Device Memory
7 - 1 to 7 - 16
7-2
7.1.1
7.1.2
7-5
7.2.1
7.2.2
7.2.3
7.2.4
7.2.5
7.2.6
7.3
Searching Devices
7 - 14
7.4
7 - 15
7.4.1
7.4.2
8.2
8 - 1 to 8 - 6
8-2
8.1.1
8.1.2
8.1.3
8-5
9 - 1 to 9 - 18
9.1
9.2
9.3
9.4
9.5
A - 12
Device Comments
9-2
9.1.1
9.1.2
9-8
9.2.1
9.2.2
9 - 12
9.3.1
9.3.2
9 - 13
9.4.1
9.4.2
9 - 15
10 SEARCH/REPLACE
10.1
Cross Reference
10 - 1 to 10 - 32
10 - 2
10.1.1
10.1.2
10.1.3
Filtering display......................................................................................................................... 10 - 11
10.2
10 - 13
10.3
Search/Replacement
10 - 15
10.3.1
10.3.2
Searching/replacing instructions............................................................................................... 10 - 21
10.3.3
10.3.4
10.3.5
10.3.6
11.2
11 - 1 to 11 - 54
11 - 2
11.1.1
11.1.2
11.1.3
11 - 7
11.2.1
11.2.2
Accessing by Ethernet.............................................................................................................. 11 - 10
11.3
11 - 12
11.4
11 - 18
11.5
11 - 20
11.6
11 - 22
11.7
11 - 23
11.8
11.9
11.7.1
11.7.2
11.8.2
11 - 31
11.9.1
11.9.2
Connecting/disconnecting line.................................................................................................. 11 - 44
11.9.3
Setting options.......................................................................................................................... 11 - 51
12 WRITING/READING DATA
12.1
11 - 26
11 - 52
12 - 1 to 12 - 62
12 - 2
A - 13
12.1.2
12.1.3
12.1.4
12.1.5
Symbolic information................................................................................................................ 12 - 15
12.1.6
12.2
12 - 20
12.3
12 - 25
12.4
12 - 26
12.5
12 - 27
12.6
12 - 29
12.7
12 - 31
12.8
12.9
12.7.1
12.7.2
12.8.2
12.9.3
12.9.4
12.9.5
12.9.6
12.10.2
12.10.3
12.10.4
12.10.5
12.11.1
12 - 61
13 - 1 to 13 - 16
13 - 2
13.1.1
13.1.2
Canceling password................................................................................................................... 13 - 4
13.1.3
13 - 6
13.2.2
Canceling password................................................................................................................... 13 - 9
13.2.3
A - 14
12 - 59
13.3
12 - 53
12.10.1
13.2
12 - 36
12.9.2
13.1
12 - 33
13 - 12
13.3.2
13.3.3
14 MONITORING
14.1
14 - 1 to 14 - 22
Monitoring Function
14 - 2
14.1.1
Starting/stopping monitoring....................................................................................................... 14 - 2
14.1.2
14.2
Monitoring Programs
14 - 5
14.3
14 - 6
14.4
14 - 10
14.5
14 - 13
14.6
14 - 14
14.6.1
14.6.2
14.6.3
14.6.4
14.7
14 - 20
14.8
14 - 21
15 SIMULATING PROGRAMS
15.1
15.2
15.3
Simulation Function
16.2
16.3
15.1.2
Starting Simulation
15 - 4
15.2.1
15.2.2
15.2.3
15 - 9
16 - 1 to 16 - 46
16 - 2
16.1.1
16.1.2
16 - 6
16.2.1
16.2.2
16.4
15 - 2
15.1.1
16 DEBUGGING PROGRAMS
16.1
15 - 1 to 15 - 10
16 - 9
16.3.2
16.3.3
Sampling Trace
16 - 13
A - 15
16.4.1
16.4.2
16.4.3
16.4.4
16.4.5
16.4.6
16.4.7
16.4.8
16.5
16 - 29
16.6
16 - 30
16.7
16.6.1
Debugging procedure............................................................................................................... 16 - 33
16.6.2
16.6.3
16.6.4
16.6.5
16.6.6
16.6.7
16.6.8
16.6.9
16 - 46
17 - 1 to 17 - 14
17.1
17 - 2
17.2
17 - 4
17.3
17 - 6
17.4
17 - 9
17.5
17 - 10
17.6
17 - 12
17.7
17 - 14
18.2
A - 16
18 - 1 to 18 - 98
18 - 2
18.1.1
Diagnosing QCPU (Q mode), LCPU, communication head module, and remote I/O module ... 18 - 2
18.1.2
18.1.3
Error icons.................................................................................................................................. 18 - 8
18.1.4
Diagnosing MELSECNET
18 - 11
18.2.1
18.2.2
18.2.3
18.2.4
18.2.5
18.2.6
18.3
18.4
18.5
18.6
18.2.7
18.2.8
Communication test.................................................................................................................. 18 - 28
18.3.2
18.3.3
Logging..................................................................................................................................... 18 - 31
18 - 33
18.4.1
Communication test.................................................................................................................. 18 - 37
18.4.2
18.4.3
18.4.4
18.4.5
18.4.6
18 - 44
18.5.1
18.5.2
18.5.3
18.5.4
18.5.5
Diagnosing Ethernet
18.6.1
18.7
18 - 24
18 - 57
18.6.2
18.6.3
18.6.4
System Monitor
18 - 78
18.7.1
18.7.2
18.8
18 - 94
18.9
18 - 96
18.9.1
18.9.2
18.9.3
I/O monitor................................................................................................................................ 18 - 98
19 - 1 to 19 - 30
19 - 2
19.1.1
Differences between conventional debugging and debugging with I/O system setting
function ....................................................................................................................................... 19 - 2
19.1.2
19.1.3
19.2
19 - 7
19.3
19 - 8
19.4
19 - 10
19.4.1
19.4.2
A - 17
19.5
19.6
19.7
19.8
19 - 14
19.5.1
19.5.2
19.5.3
Registering devices.................................................................................................................. 19 - 17
19.5.4
19.5.5
19.5.6
19.5.7
19.5.8
19.5.9
19 - 26
19.6.1
19.6.2
19 - 27
19.7.1
19.7.2
19 - 29
19.8.1
19.8.2
19.8.3
20 PRINTING
20 - 1 to 20 - 56
20.1
Print Function
20 - 2
20.2
Setting Printer
20 - 4
20.3
20 - 5
20.3.1
20.4
20 - 8
20.5
20 - 10
A - 18
20.5.1
20.5.2
20.5.3
20.5.4
20.5.5
20.5.6
20.5.7
20.5.8
20.5.9
20.5.10
20.5.11
20.5.12
20.5.13
20.5.14
20.5.15
20.5.16
20.5.17
20.5.18
20.6
20 - 38
20.7
20 - 39
20.8
20 - 40
20.9
20.8.1
20.8.2
20 - 43
20 - 44
20 - 52
21 SETTING OPTIONS
21 - 1 to 21 - 10
21.1
Basic Operations
21 - 2
21.2
21 - 3
APPENDIX
App - 2
Appendix 1.1
Appendix 1.2
Appendix 1.3
Appendix 1.4
Toolbar icons and shortcut keys for setting device memory ...........................................App - 8
Appendix 1.5
Appendix 1.6
Appendix 1.7
Appendix 1.8
Toolbar icons and shortcut keys for I/O system setting function ...................................App - 19
Appendix 1.9
App - 21
Appendix 2.1
Supported devices.........................................................................................................App - 21
Appendix 2.2
Supported instructions...................................................................................................App - 37
Appendix 2.3
Appendix 2.4
Appendix 2.5
App - 55
App - 56
Appendix 4.1
Appendix 4.2
Appendix 4.3
Unsupported features....................................................................................................App - 58
Appendix 4.4
Appendix 4.5
Appendix 4.6
Appendix 4.7
Appendix 4.8
Appendix 4.9
A - 19
App - 71
App - 73
Appendix 6.1
Appendix 6.2
App - 79
App - 85
Appendix 8.1
Appendix 9 Character Strings that cannot be Used for Label Names and Data Names
App - 87
App - 90
Appendix 10.1 Common restrictions when changing programmable controller series/types................ App - 91
Appendix 10.2 Restrictions when changing to QnUD(H)CPU............................................................... App - 92
Appendix 10.3 Restrictions when changing to Q00U, Q00UJ, Q01U, or Q02U................................... App - 94
Appendix 10.4 Restrictions when changing to built-in Ethernet port QCPU ......................................... App - 98
Appendix 10.5 Restrictions when changing to High Performance model QCPU ................................ App - 100
Appendix 10.6 Restrictions when changing to Basic model QCPU .................................................... App - 102
Appendix 10.7 Restrictions when changing to LCPU.......................................................................... App - 105
Appendix 10.8 Restrictions when changing between QCPU (Q mode)/LCPU and communication
head module ............................................................................................................... App - 108
Appendix 10.9 Restrictions when changing to FXCPU (FXCPU FXCPU) ..................................... App - 109
App - 110
App - 112
Appendix 13 Procedure to Use GX Works2 Unsupported Programmable Controller Type App - 121
Appendix 13.1 Installing GX Developer .............................................................................................. App - 121
Appendix 13.2 Installing GX Developer separately............................................................................. App - 122
Appendix 13.3 Utilizing programs of GX Works2 unsupported programmable controller type in
GX Works2.................................................................................................................. App - 122
App - 123
App - 126
App - 130
Appendix 16.1 Data to which double byte character and half-width Japanese kana character are
applicable .................................................................................................................... App - 130
Appendix 16.2 Precautions ................................................................................................................. App - 134
A - 20
App - 136
INDEX
Index - 1 to Index - 5
A - 21
MANUALS
Related manuals are separately issued according to the purpose of their functions in GX Works2.
Related manuals
The manuals related to this product are shown below.
Refer to the following tables when ordering required manuals.
1)
Operation of GX Works2
Manual name
Manual number
(Model code)
SH-080780ENG
(13JU64)
SH-080781ENG
(13JU65)
SH-080921ENG
(13JU69)
SH-080787ENG
(13JZ22)
SH-080788ENG
(13JZ23)
2)
Structured programming
Manual name
Manual number
(Model code)
SH-080782ENG
(13JW06)
SH-080783ENG
(13JW07)
SH-080784ENG
(13JW08)
SH-080785ENG
(13JW09)
JY997D26001
(09R925)
JY997D34701
(09R926)
A - 22
JY997D34801
(09R927)
3)
Operation of iQ Works
Manual name
Manual number
(Model code)
SH-080902ENG
(13JZ44)
The Operating Manuals are included on the CD-ROM of the software package in a PDF file format.
Manuals in printed form are sold separately for single purchase. Order a manual by quoting the manual
number (model code) listed in the table above.
A - 23
Operation of GX Works2
Purpose
Installation
GX Works2
Installation
Instructions
GX Works2
Beginner's Manual
Simple
Project
Structured
Project
A - 24
Structured
Project
Details
Details
Intelligent
Function
Module
Outline
Simple
Project
Details
Operation of
GX Works2
Common
Details
GX Works2 Version 1
Operating Manual
Outline
Details
Details
Details
Outline
Details
2)
Purpose
GX Works2
Beginner's Manual
Simple
Project
GX Works2 Version 1
Operating Manual
Structured
Project
Ladder
Simple
Project
Structured
Project
Details
Outline
Simple
Project
SFC
*1
Details
Outline
ST
Details
Outline
Ladder
Details
Outline
SFC
Structured
Project
*1
Details
Outline
Structured ladder
/FBD
Details
Outline
ST
Details
Outline
A - 25
3)
Purpose
MELSECQ/L/F
Structured
Programming
Manual
Fundamentals
All
languages
MELSEC-Q/L Structured
Programming Manual
Common
Instructions
Special
Instructions
Application
Functions
Learning details
of programmable
controller CPU
error codes,
special relays,
and special
registers
SFC
Learning the
types and details
of instructions for
intelligent
function modules
Details
Details
Learning details
of specifications,
functions, and
instructions of
SFC (MELSAP3)
Learning the
types and details
of common
instructions
Learning the
types and details
Using
of instructions for
structured intelligent
ladder/FBD function modules
or ST
Learning the
types and details
language
of instructions for
network modules
Learning the
types and details
of instructions for
the PID control
function
Learning the
types and details
of application
functions
Details
Learning the
types and details
of instructions for
network modules
Learning the
fundamentals for
creating a
structured
program
A - 26
PID Control
Instructions
Manual for
module to
be used
Details
Learning the
types and details
of instructions for
the PID control
function
Using SFC
language
Common
Instructions
MELSEC-Q/L/QnA
Programming Manual
Details
Learning the
types and details
of common
instructions
Using
ladder
language
MELSECQ/L
Programming
Manual
Details
Details
Details
Details
Outline
Details
Outline
Details
Outline
Details
4)
Purpose
MELSECQ/L/F
Structured
Programming
Manual
Fundamentals
Using
ladder
language
Learning the
types and details
of basic/
application
instructions,
descriptions of
devices and
parameters
Using SFC
language
Learning details of
specifications,
functions, and
instructions of
SFC
Learning the
fundamentals for
creating a
structured
program
Using
structured
ladder/FBD
or ST
language
Learning the
descriptions of
devices,
parameters, and
error codes
Learning the
types and details
of sequence
instructions
Learning the
types and details
of application
instructions
Device &
Common
Basic &
Applied
Instruction
Application
Functions
FX0, FX0S,
FX0N, FX1,
FXU, FX2C
FX1S, FX1N,
FX2N, FX1NC,
FX2NC
FX3G, FX3U,
FX3UC
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
A - 27
Supported CPU
Supported programmable
controller CPUs are shown in
icons under the section title.
Screen display
Describes the screen display
procedure.
Follow the
and select
[(menu)] to open the screen.
*Screen display may depend on
the CPU.
In that case, typical example is
described.
Display contents
Describes the display contents
on the screen.
Reference location
leads to the reference
location and reference manual.
Section title
Clarifies the section of currently
open page.
Chapter heading
Index on the right of the page
number clarifies the chapter of
currently open page.
Screen button
Describes the buttons in the
screen.
Operating procedure
Describes the operating
procedure of the function.
A - 28
The following table explains the CPU module icons that indicate the function availability.
Icon
QCPU
(Q mode)
Q CPU
LCPU
L CPU
*1
*1
Q CPU
L CPU
Q CPU
L CPU
Remote
Communication
I/O
head module
Remote
Head
FX
Remote
Head
FX
FXCPU
Description
This explains notes requiring attention or useful functions relating to the information given on the
same page.
Restrictions
This explains restrictions relating to the information given on the same page.
A - 29
No.
1
Symbol
[
(Underline)
4
5
A - 30
Example
[Project]
Toolbar icon
2
3
Description
"
"
Screen name
<<PLC System>>
Button on a screen
Keyboard key
button
This manual uses the generic terms and abbreviations listed in the following table to discuss the
software packages and programmable controller CPUs. Corresponding module models are also listed if
needed.
Generic term and
abbreviation
GX Works2
Existing application
Description
Generic product name for SWnDNC-GXW2-E (n: version)
GX Developer
GX IEC Developer
GX Simulator
GX Configurator
MELSOFT Navigator
Product name for the integrated development environment included in SWnDNC-IQWK (iQ Platform
compatible engineering environment MELSOFT iQ Works)
(n: version)
iQ Works
GX Simulator2
Personal computer
Q series
L series
FX series
High Performance
model QCPU
Process CPU
Redundant CPU
Generic term for Q00UJ, Q00U, Q01U, Q02U, Q03UD, Q03UDE, Q04UDH, Q04UDEH, Q06UDH,
Q06UDEH, Q10UDH, Q10UDEH, Q13UDH, Q13UDEH, Q20UDH, Q20UDEH, Q26UDH,
Q26UDEH, Q50UDEH, and Q100UDEH
QnUD(H)CPU
Generic term for Q03UD, Q04UDH, Q06UDH, Q10UDH, Q13UDH, Q20UDH, and Q26UDH
Generic term for Q03UDE, Q04UDEH, Q06UDEH, Q10UDEH, Q13UDEH, Q20UDEH, Q26UDEH,
Q50UDEH, and Q100UDEH
QCPU (Q mode)
Generic term for Basic model QCPU, High Performance model QCPU, and Universal model QCPU
LCPU
FXCPU
Generic term for FX0, FX0S, FX0N, FX1, FXU, FX2C, FX1S, FX1N, FX1NC, FX2N, FX2NC, FX3G, FX3U,
and FX3UC
CPU module
Display module
FXGP(WIN)
C24
ACPU
Generic term for A2A, A2A-S1, A3A, A2AP21/R21, A2AP21/R21-S1, A3AP21/R21, A2U,
A2U-S1, A3U, A4U, A2US, A2US-S1, A2USH-S1, Q02(H)-A, and Q06H-A
QnACPU
Generic term for Q2AS, Q2AS-S1, Q2ASH, Q2ASH-S1, Q2A, Q3A, and Q4A
Q series C24
CC-Link IE Controller
Network module
CC-Link IE Field
Network master/local
module
Communication head
module
A - 31
Description
Generic term for CC-Link IE Controller Network and CC-Link IE Field Network
MELSECNET/H network Generic term for QJ71LP21, QJ71LP21-25, QJ71LP21S-25, QJ71LP21G, QJ71BR11,
module
QJ72LP25-25, QJ72LP25G, QJ72BR15, and QJ71NT11B
QJ72LP25
QE71
Generic term for AJ71E71-S3, A1SJ71E71-B2-S3, A1SJ71E71-B5-S3, AJ71E71N-B2, AJ71E71NA series-compatible E71 B5T, A1SJ71E71N-B2, A1SJ71E71N-B5T, AJ71E71N-T, A1SJ71E71N-T, AJ71E71N-B5,
A1SJ71E71N-B5, AJ71E71N3-T, and A1SJ71E71N3-T
Ethernet module
CC-Link module
Q series CC-Link
G4 module
Generic term for AJ65BT-G4(-S3) peripheral connection module and AJ65BT-R2N CC-Link system
RS-232 interface module
CC-Link IE Field
Network communication
unit
MELSECNET/H board
CC-Link IE Controller
Network board
CC-Link IE Field
Network board
Ethernet board
Generic term for Ethernet cards for personal computer and Ethernet interface boards
CC-Link board
Generic term for CC-Link Ver.1 board and CC-Link Ver.2 board
GOT
Generic term for Mitsubishi Graphic Operation Terminal GOT1000 series, GOT-A900 series, and
GOT-F900 series
Generic term for Microsoft Windows XP Professional Operating System
Windows XP
Windows Vista
Windows
A - 32
MELSAP3
MELSAP-L
Generic term for the SFC function in MELSAP-L (instruction format) and MELSAP-L (start conditions
format)
SFC
TERMS
Description
Execution program
Actual device
An actual device assigned to label after compiling a project with labels, or a device that is not
described using a label
Common instruction
Generic term for sequence instructions, basic instructions, application instructions, data link
instructions, multiple CPU dedicated instructions, and multiple CPU high-speed transmission
dedicated instructions
Special instruction
Generic term for module dedicated instructions, PID control instructions, socket communication
function instructions, built-in I/O function instructions, and data logging function instructions
Simple project
Without labels
With labels
Generic term for projects created without selecting "Use Label" when creating new projects
Generic term for projects created with selecting "Use Label" when creating new projects
Structured project
Generic term for projects created using the ladder/SFC/ST/structured ladder/FBD language
Generic term for Simple projects that use labels and Structured projects
Local stations, standby master stations, remote I/O stations, remote device stations, and intelligent
device stations which are connected to a master station in the CC-Link network configuration.
A - 33
MEMO
A - 34
OVERVIEW
2
SYSTEM
CONFIGURATION
OVERVIEW
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
4
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
1.1
1.2
1.3
1 -1
GX Works2
1 OVERVIEW
1.1
Product Overview
GX Works2 is a programming tool for designing, debugging, and maintaining programs on Windows.
GX Works2 has improved functionality and operability, with easier-to-use features compared to existing GX
Developer.
GX Works2 can manage programs and parameters in units of projects for each programmable
controller CPU.
The following explains the main functions.
Programming
Programs can be created in a Simple project in a similar way with existing GX Developer.
Structured programming in a Structured project is also available with GX Works2.
Setting parameters
Programmable controller CPU parameter and Network parameter can be set with GX Works2.
Intelligent function module parameter can be set as well.
(For FXCPU, Network parameter setting is not available.)
Writing data
1 -2
Monitoring/debugging
OVERVIEW
Created sequence programs can be written to the programmable controller CPU and device value
at operation can be monitored online/offline.
SYSTEM
CONFIGURATION
2
Programs can be monitored and debugged.
The current error status and error history of the programmable controller CPU can be diagnosed.
Using the diagnostics function, the recovery work is completed in a short time.
Using the System monitor function (for QCPU (Q mode)/LCPU), detailed information on such as
intelligent function modules can be obtained. This helps to shorten the recovery work time at error
occurrence.
Diagnosing the programmable controller
CPU status (PLC diagnostics screen)
4
PROJECT
MANAGEMENT
Diagnostics
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
5
EDITING
PROGRAMS
Diagnosing the
programmable controller
CPU status
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
1 -3
GX Works2
1 OVERVIEW
1.2
Features
In GX Works2, the project type can be selected from either of Simple project or Structured project.
Simple project
The Simple project creates sequence programs using instructions for Mitsubishi programmable
controller CPU.
Programs in a Simple project can be created in a similar way to existing GX Developer.
Programming without labels and label programming are supported as in GX Developer.
Program file
Program MAIN
Program SUB1
Program SUB2
Structured project
In a Structured project, programs can be created by structured programming.
By segmenting a whole control process program into common program parts, highly manageable
and usable programming (structured programming) is possible.
Only label programming is supported.
POU
Function block 1
Function block 2
Program file
Program block A
Program MAIN
Program block B
Program block C
Function 1
Program block D
Function 2
Program block E
Program SUB1
1 -4
1.2 Features
Using the label programming, programs can be created without regard for the device numbers.
By compiling a program created with the label programming, devices are automatically assigned and
the program becomes available as an actual program.
Created global labels can be utilized for other programs.
OVERVIEW
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
3
Created labels can be
utilized for other programs.
In addition, global labels can be registered as system labels and be shared within iQ Works compliant
products (GX Works2, MT Developer2, and GT Designer3).
For details of system labels, refer to the following manual.
iQ Works Beginner's Manual)
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
PROJECT
MANAGEMENT
1 -5
GX Works2
1 OVERVIEW
Projects created with existing GX Developer can be utilized in a Simple project. Utilizing the past assets
improves the efficiency of program design.
<GX Developer>
<GX Works2>
Project created
with GX Developer
Can be used in
GX Works2.
In a Structured project, programs, global labels, and structures frequently used can be registered as
user libraries. Utilizing these user libraries reduces time required for creating programs.
Project A
Project B
Project C
Library file
1 -6
Project D
1.2 Features
The wide variety of programming languages available with GX Works2 enables to select the optimum
programming language depending on control.
<SFC>
Programming to clarify the procedure
2
SYSTEM
CONFIGURATION
<Ladder>
Programming similar to existing GX Developer
OVERVIEW
<ST>
Programming in a text language similar to
C language
4
PROJECT
MANAGEMENT
<Structured ladder>
Programming a ladder program graphically
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
ST programs can be used on the ladder editor of GX Works2 using the Inline structured text function.
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
1 -7
GX Works2
1 OVERVIEW
Other features
Offline debugging
Offline debugging using the simulation function is possible with GX Works2. This enables
debugging to ensure the normal operation of created sequence programs without connecting GX
Works2 to the programmable controller CPU.
Simulation function
Connecting to the
programmable
controller is unnecessary.
1 -8
The following tables show functions that are available regardless of the type of editing or setting target.
Project (common function)
Reference
New
Section 4.2.1
Open
Section 4.2.2
Close
Section 4.2.6
Save
Save a project.
Section 4.2.3
Save As
Section 4.2.3
Compress/Unpack
Compress
Unpack
Section 4.2.4
Delete
Section 4.2.5
Verify
Section 4.2.7
Project Revision
Revision Entry
Section 4.6.1
Revision List
Section 4.6.2
Section 4.2.8
SYSTEM
CONFIGURATION
Section 4.5
Object
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
This section explains the functions common to Simple project and Structured project.
PROJECT
MANAGEMENT
New
Section 4.3.1
Rename
Section 4.3.3
Delete
Section 4.3.4
Copy
Paste
Section 11.1.3
Property
Section 4.3.5
Section 4.3.2
SETTING
PARAMETERS
1.3.1
EDITING
PROGRAMS
OVERVIEW
List of Functions
7
SETTING DEVICE
MEMORY
1.3
SETTING DEVICE
INITIAL VALUES
1 -9
GX Works2
1 OVERVIEW
Delete Module
Property
Section 4.7.1
Section 4.7.2
(Intelligent)
Section 4.8
Library
Create
Install
Deinstall
Reload
Rename
Rename a library.
Open
Close
Change Password
Save As
Save
Help
(Structured)
Security
Change Password
Section 4.10.2
User Management
Section 4.10.1
Section 4.10.2
Section 4.10.4
Section 20.3
Print Preview
Section 20.6
Print Window
Section 20.7
Section 20.9
Printer Setup
Section 20.2
Start GX Developer
Section 4.9
Exit
Exit GX Works2.
Section 3.1
1 - 10
(Intelligent)
Reference
Reference
Redo
Cut
Copy
Paste
1
Display the usage of devices.
Find Device
Section 10.1
Section 10.2
Section 10.3.1
Find Instruction
Search an instruction.
Section 10.3.2
Find String
Search a string.
Section 10.3.3
Replace Device
Section 10.3.1
Replace Instruction
Replace an instruction.
Section 10.3.2
Replace String
Replace a string.
Section 10.3.3
Section 10.3.4
Rebuild All
Reference
Section 5.4
4
PROJECT
MANAGEMENT
Build
Section 10.3.5
OVERVIEW
Device List
SYSTEM
CONFIGURATION
Cross Reference
Reference
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
1 - 11
GX Works2
1 OVERVIEW
Section 3.2.2
Statusbar
Section 3.2.6
Section 3.2.7
Docking Window
Navigation Window
Output Window
Cross Reference
Section 10.1
Device List
Section 10.2
Watch 1 to 4
Section 14.6
Find/Replace
(Simple)
(Structured)
(Intelligent)
Section 10.3
Debug Window
Break Point Window
Section 3.2.5
1 - 12
Reference
Toolbar
Section 16.6.2
Section 16.6.3
Section 16.6.4
1
Reference
Write to PLC
Section 12.2
Remote Operation
Section 17.1
Section 13.1.1
Section 13.2.1
Section 13.3.1
Delete
Section 13.1.2
Section 13.2.2
Section 13.3.2
Disable
Section 13.1.3
Section 13.2.3
Section 13.3.3
Section 17.2
Section 17.3
Section 17.4
Section 12.3
Section 12.5
Section 12.4
Section 12.6
Backup
Section 12.7.1
Section 12.7.2
OVERVIEW
PROJECT
MANAGEMENT
SYSTEM
CONFIGURATION
New
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Section 12.8.1
Restore
Section 12.8.2
Set Clock
Section 17.5
Section 17.6
EDITING
PROGRAMS
Password/Keyword
Section 12.1
6
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
1 - 13
GX Works2
1 OVERVIEW
Monitor Mode
(Simple)
Section 14.8
Start Monitoring
Section 14.2
Stop Monitoring
Section 14.1
Section 14.3
Program List
Section 14.4
Section 14.5
(Simple)
(Structured)
(Simple)
(Structured)
(Simple)
Watch
Start Watching
Stop Watching
Register Watch
Section 14.6
Section 12.12
Reference
Start/Stop Simulation
Start/stop simulation.
Section 15.2
Section 15.3
Modify Value
Section 16.1
Section 16.2
Section 16.3.1
Section 16.3.2
Section 16.3.3
Section 16.4.1
Sampling Trace
Open Sampling Trace
Scan Time Measurement
Section 16.5
Step Execution
1 - 14
Reference
Monitor
Stop
Cancel
Section 16.6.7
Break Execution
Section 16.6.6
Step Execution
Section 16.6.5
Execution Option
Section 16.6.8
Section 16.6.9
Section 16.6.2
2
Section 16.6.3
Skip Setting
Set/Cancel Skip Range
Section 16.6.4
Reference
PLC Diagnostics
Section 18.1
Ethernet Diagnostics
Section 18.6
CC IE Control Diagnostics
Section 18.3
CC IE Field Diagnostics
Section 18.4
MELSECNET Diagnostics
Section 18.2
CC-Link Diagnostics
Section 18.5
System Monitor
Section 18.7
Section 18.8
Reference
SYSTEM
CONFIGURATION
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
OVERVIEW
Reference
4
PROJECT
MANAGEMENT
Check Program
Section 12.11.1
(Simple)
Check Parameter
Options
Section 6.4
Key Customize
Section 3.2.8
(Simple)
(Structured)
Block Password
Section 4.11
Chapter 21
Section 12.10
Line Disconnection
AT Command Registration
Phone Book
Options
Section 11.9.2
Section 11.9.1
Section 11.9.3
Section 16.7
Section 17.7
6
SETTING
PARAMETERS
1 - 15
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
EDITING
PROGRAMS
IC Memory Card
GX Works2
1 OVERVIEW
Reference
I/O Monitor
Section 18.9
(Intelligent)
Analog Module
Offset/Gain Setting
Offset/Gain Setting
(Intelligent)
Counter Module
Preset
Positioning Test
Wave Trace
Location Trace
Language Selection
Cascade
(Intelligent)
Section 3.3
Reference
Tile Vertically
Tile Horizontally
Arrange Icons
Close All
Window
GX Works2 Help
Section 3.2.3
Reference
Section 3.4.1
Operating Manual
GX Works2 Beginner's Manual
(Simple Project)
GX Works2 Beginner's Manual
(Structured Project)
Operating Manual Common
Section 3.4.2
Section 3.4.3
1 - 16
Delete Row
(Simple)
(Structured)
System Label
Confirm Update of System Label
Database
3
(Simple)
(Structured)
Reference
Delete
Select All
Section 9.4.1
Section 9.4.2
Section 9.3.1
Section 9.5
Section 9.2.1
7
SETTING DEVICE
MEMORY
Clear All
EDITING
PROGRAMS
SETTING
PARAMETERS
SYSTEM
CONFIGURATION
Select All
Reference
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
OVERVIEW
The following table shows the functions for setting and editing labels.
SETTING DEVICE
INITIAL VALUES
1 - 17
GX Works2
1 OVERVIEW
The following tables show the functions for setting device memory.
Edit (function for setting device memory)
Reference
Delete
Insert Row
Input Device
Enter a device.
Paste Text
Section 7.2.3
FILL
Section 7.2.4
Section 7.2.2
Reference
Section 7.3
Reference
Display Mode
Binary
Octal
Decimal
Hexadecimal
Float
String
Section 7.2.5
Register
16-bit
32-bit
64-bit
Section 7.2.5
Setup
Section 7.2
Section 7.2.6
Reference
Section 7.4.1
Section 7.4.2
Previous Unmatch
1 - 18
Reference
Section 4.2.7
Reference
Section 4.2.7
Reference
Section 4.2.7
Reference
Section 16.4.3
Data Types
Radix
Wide Scale
Section 16.4.4
Section 16.4.4
Additional Information
Past Time
Section 16.4.2
Section 16.4.4
Initial Display
Program Name
Reference
Sampling Trace
Display the Sampling Trace screen.
Section 16.4.1
Trace Setting
Section 16.4.2
Start Trace
Section 16.4.4
Stop Trace
Register Trace
5
EDITING
PROGRAMS
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
OVERVIEW
The following tables show the functions for executing sampling trace.
Section 16.4.4
Write to PLC
Section 16.4.5
7
SETTING DEVICE
MEMORY
SETTING
PARAMETERS
SETTING DEVICE
INITIAL VALUES
1 - 19
GX Works2
1 OVERVIEW
1.3.2
The following tables show the functions for the ladder editor.
Edit (function for editing in ladder language)
Delete
Restore After Ladder Conversion
Insert Row
Delete Row
Insert Column
Delete Column
Edit Line
Delete Line
Change TC Setting
(Simple)
Write Mode
(Simple)
Ladder Symbol
Open Contact
Insert
Close Contact
Insert
Open Branch
Insert
Close Branch
Insert
Coil
Insert
Application Instruction
Insert
Vertical Line
Insert
Horizontal Line
Insert
Insert
Insert
(Simple)
1 - 20
Reference
Rising Pulse
Insert
Falling Pulse
Insert
Insert
Insert
Insert
Insert
Insert
Insert
Insert
Insert
Insert
(Simple)
Reference
Edit FB Instance
(Structured)
2
(Simple)
Documentation
Device Comment
Statement
Edit statements.
Note
Edit notes.
Chapter 9
(Simple)
Easy Edit
Connect Line to Right-Side Symbol
Jump
Move the cursor from the current position to the start of the
next ladder block.
Move the cursor from the current position to the start of the
previous ladder block.
(Simple)
4
Section 10.3.4
(Simple)
Reference
(Simple)
6
SETTING
PARAMETERS
OVERVIEW
SYSTEM
CONFIGURATION
Display Template
(Simple)
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
1 - 21
GX Works2
1 OVERVIEW
Statement
Display statements.
Note
Display notes.
Open the Options screen and set the display format for
device comment.
Device Display
Zoom
Smaller
Tile FB Horizontally
Tile the ladder editor and the function block program editor
horizontally.
Open Header
Open the setting screen for the label set for a program being
edited.
(Simple)
(Simple)
1 - 22
Chapter 9
Text Size
Up
Down
Left
Right
Reference
(Simple)
The following tables show the functions for editing SFC diagrams.
Delete Row
Insert Column
Delete Column
Insert
Selection Divergence
Insert
Simultaneous Divergence
Insert
Selection Convergence
Insert
Simultaneous Convergence
Insert
Delete Line
Change TC Setting
3
(Simple)
Write Mode
(Simple)
No Attribute
Stored Coil
Reset
(Simple)
[STEP] Step
Insert
Insert
Insert
[JUMP] Jump
Insert
Insert
Insert
[TR] Transition
Insert
Insert
Insert
Insert
Insert
[ | ] Vertical Line
Insert
(Simple)
7
SETTING DEVICE
MEMORY
SFC Symbol
(Simple)
(Simple)
Documentation
5
EDITING
PROGRAMS
(Simple)
Edit Line
2
SYSTEM
CONFIGURATION
Insert Row
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Arrange SFC
Reference
PROJECT
MANAGEMENT
SETTING
PARAMETERS
OVERVIEW
1 - 23
8
SETTING DEVICE
INITIAL VALUES
1.3.3
GX Works2
1 OVERVIEW
Program Display
Reference
(Simple)
Reference
Zoom
MELSAP3 Display
(Simple)
MELSAP-L (Start Conditions Format) Display Display SFC in MELSAP-L (start conditions format).
Open Zoom/Start Destination Block
Open Header
Open the setting screen of labels set for the program being
edited.
1.3.4
The following tables show the functions for editing SFC block list.
Find/Replace (function for editing SFC block list)
Jump
1 - 24
Device Display
Display devices.
Open Header
Reference
(Simple)
Reference
(Simple)
List Operands
Display Template
Reference
OVERVIEW
2
(Structured)
SYSTEM
CONFIGURATION
1.3.5
Reference
(Structured)
Toggle Bookmark
Bookmark List
Next Bookmark
Previous Bookmark
(Structured)
Reference
PROJECT
MANAGEMENT
Bookmark
(Structured)
Zoom
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Decrease Zoom
Zoom Header/Body
Header
Body
Open Header
(Structured)
Open the label setting screen for the program being edited.
Reference
Monitor
(Structured)
7
SETTING DEVICE
MEMORY
Start Monitoring
6
SETTING
PARAMETERS
Increase Zoom
SETTING DEVICE
INITIAL VALUES
1 - 25
GX Works2
1 OVERVIEW
1.3.6
The following tables show the functions for the structured ladder/FBD editor.
Edit (function for editing in structured ladder/FBD language)
Delete
Select Mode
Interconnect Mode
Auto Connect
Specify and connect the start and end points to draw a line.
Guided Editing
Overwrite Mode
Insert Mode
Line Mode
Auto Comment
Recalculate Line
Insert Row
Insert Column
(Structured)
(Structured)
Before
After
Bottom
(Structured)
Ladder Symbol
1 - 26
Guided Mode
Input Instruction
Reference
Open Contact
Insert
Close Contact
Insert
Coil
Insert
Jump
Insert
Return
Insert
Open Branch
Insert
Close Branch
Insert
Input Label
Insert
Output Label
Insert
Insert
Insert
Rising Pulse
Insert
Falling Pulse
Insert
Insert
Insert
Comment
(Structured)
1
OVERVIEW
(Structured)
Number of Pins
Increment
Delete
(Structured)
Signal Configuration
Configure
Toggle
(Structured)
3
Reference
(Structured)
Reference
Device
Address
Comment
Grid
4
PROJECT
MANAGEMENT
Label
(Structured)
5
EDITING
PROGRAMS
View Mode
2
SYSTEM
CONFIGURATION
List Operands
Reference
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
(Structured)
Decrease Zoom
Zoom Header/Body
Header
Body
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
Open Header
(Structured)
SETTING
PARAMETERS
Zoom
1 - 27
GX Works2
1 OVERVIEW
1.3.7
The following tables show the functions for the GX Simulator2 screen.
Tool (function in the GX Simulator2 screen)
Save
Read
I/O System Setting
Section 15.2.1
Section 15.2.2
1.3.8
Reference
Section 19.1
Reference
Section 15.2
Section 15.2.1
The following tables show the functions for the I/O System Setting screen.
File (function for the I/O system setting)
New
Section 19.8.1
Open
Section 19.8.2
Save
Save As
Display the recently used I/O system setting file names and
(Recently used I/O system setting files 1 to 4)
open the selected I/O system setting file.
Section 19.8.3
Section 19.6.1
Section 19.6.2
Reference
Copy
Paste
Delete
Section 19.4.2
Enable/Disable Setting
Enable All
Disable All
1 - 28
Reference
Toolbar
Statusbar
Section 19.4
Reference
Reference
Tile Vertically
Tile Horizontally
Arrange Icons
The following tables show the functions for the predefined protocol support function.
File (function of the predefined protocol support function)
Reference
Open
Close
Save
Save As
Exit
Add a protocol.
Delete
Delete a protocol.
Copy
Copy a protocol.
Paste
Paste a protocol.
Write to Module
Module Verification
OVERVIEW
New
2
SYSTEM
CONFIGURATION
Cascade
1.3.9
Section 19.7.1
(Intelligent)
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
4
PROJECT
MANAGEMENT
Stop Monitoring
5
Reference
EDITING
PROGRAMS
Start Monitoring
Section 19.3
6
(Intelligent)
SETTING
PARAMETERS
Set the target simulation with which the I/O system setting is
executed.
Reference
(Intelligent)
1 - 29
SETTING DEVICE
MEMORY
Reference
8
SETTING DEVICE
INITIAL VALUES
GX Works2
1 OVERVIEW
State Monitor
1 - 30
Cascade
Tile Horizontally
Reference
(Intelligent)
Reference
(Intelligent)
Reference
(Intelligent)
SYSTEM CONFIGURATION
2
SYSTEM
CONFIGURATION
OVERVIEW
This chapter explains the system configuration, configuration devices, and supported languages of GX
Works2.
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
4
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
2.1
2.2
2.3
2.4
2.5
2 -1
GX Works2
2 SYSTEM CONFIGURATION
2.1
Head
FX
The following shows the possible system configuration for connecting to the programmable controller CPU
using the USB/serial port of a personal computer.
For ACPU, use GX Developer. For details of the use of ACPU, refer to Appendix 13.
Programmable controller
direct coupled
(USB communication)
Section 2.1.1
QCPU (Q mode)/
Remote I/O module
USB Cable
GX Works2
(SW1DNC-GXW2-E)
Section 2.1.2
Section 2.1.2
LCPU/
Communication
head module
FXCPU
(FX3U/FX3UC)
USB Cable
Section 2.1.3
Programmable controller
direct coupled
(Serial port communication)
FXCPU
(FX3G)
USB Cable
Section 2.1.4
QC30R2
Section 2.1.4
Section 2.1.4
LCPU/
Communication
head module
QC30R2
Section 2.1.5
RS-232 adapter
FXCPU
Converter/Cable
Section 2.1.5
Section 2.1.6
Converter/Cable
Section 2.1.7
Section 2.1.7
Section 2.1.8
Converter/Cable
Converter/Cable
2 -2
FXCPU
(FX1S/FX1N/FX2N/FX3G/
FX3U/FX3UC)
FXCPU
(FX1S/FX1N/FX2N/FX1NC/
FX2NC/FX3G/FX3U/FX3UC)
Cable
Section 2.1.8
QCPU (Q mode)/
Remote I/O module
Section 2.1.6
FXCPU
(FX0/FX0S/FX1S/FX0N/
FX1N/FX2N/FX1NC/FX2NC/
FX3G/FX3U/FX3UC)
FXCPU
(FX1S/FX1N/FX2N/FX3G/
FX3U/FX3UC)
RS-232
OVERVIEW
C24
LCPU/
Communication
head module
GX Works2
(SW1DNC-GXW2-E)
Via CC-Link(G4)
Section 2.1.9
Converter/Cable
QCPU (Q mode)/
Remote I/O module
CC-Link
SYSTEM
CONFIGURATION
G4 module
LCPU/
Communication
head module
Via MELSECNET/H
Converter/Cable
Remote station
Control station
Remote module
Via modem
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Modem
Cable included in modem package
Modem
Cable included in modem package
QCPU (Q mode)
C24
LCPU
PROJECT
MANAGEMENT
Section 2.1.10
FXCPU
(FX1S/FX1N/FX2N/FX1NC/
FX2NC/FX3G/FX3U/FX3UC)
Section 2.1.11
QCPU (Q mode)/
Remote I/O module
5
EDITING
PROGRAMS
LCPU/
Communication
head module
FXCPU
6
SETTING
PARAMETERS
GOT
7
SETTING DEVICE
MEMORY
Cable
8
SETTING DEVICE
INITIAL VALUES
Via GOT
2 -3
GX Works2
2 SYSTEM CONFIGURATION
2.1.1
The following table shows USB cables and USB adapters whose operations have been confirmed by
Mitsubishi Electric.
Product name
Model name
USB cable
(USB A type - USB B type)*1
USB cable
*2
Maker name
AU230
KU-AMB530
U2C-M30BK
MR-J3USBCBL3M
GT09-C30USB-5P
*1 :
*2 :
Only one programmable controller CPU can be connected to a personal computer using a USB cable.
Connection to a programmable controller CPU is not applicable in the configuration examples below.
<Not applicable configurations>
Connection to several programmable controller CPUs from the personal
computer with several USB ports
Programmable controller CPU
USB cable
USB
cab
le
USB cable
USB hub
USB
2 -4
cab
le
2.1.1 USB cables (compatible with QCPU (Q mode), LCPU, and communication head module)
1
OVERVIEW
2.1.2
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
4
PROJECT
MANAGEMENT
SYSTEM
CONFIGURATION
For details of cables, refer to FX3G Series User's Manual - Hardware Edition.
Only one programmable controller CPU can be connected to a personal computer using a USB cable.
Section 2.1.1 " Configurations for USB connection")
8
SETTING DEVICE
INITIAL VALUES
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
2.1.3
EDITING
PROGRAMS
2.1.2 USB cables and function expansion boards (compatible with FX3U/FX3UC)
2 -5
GX Works2
2 SYSTEM CONFIGURATION
2.1.4
The following table shows RS-232 cables whose operations have been confirmed at Mitsubishi Electric.
LCPU can be connected with an RS-232 adapters (L6ADP-R2).
Model name
QC30R2
(Personal computer connector: 9-pin D-sub
connector)
Maker name
High-speed communication
For high-speed communication (transmission speed: 115.2/57.6kbps), use a personal computer compatible with
high-speed communication.
When a communication error occurs, retry the communication after reducing the transmission speed setting.
2.1.5
RS-232/RS-422
converter
F2-232CAB
(25-pin D-subQ25-pin D-sub)
FX-232AW
F2-232CAB-1
(9-pin D-subQ25-pin D-sub)
F2-232CAB-2
(Half pitchQ25-pin D-sub)
FX-422CAB (0.3 m)
FX-422CAB-150 (1.5 m)
For FX0/FX0S/FX0N/FX1S/FX1N/FX1NC/FX2N/
FX2NC/FX3G/FX3U/FX3UC
FX-232AWC
FX-422CAB0 (1.5 m)
AC30N2A(25-pinQ25-pin)
FX-232AWC-H
2 -6
2.1.4 RS-232 cables (compatible with QCPU (Q mode), LCPU, and remote I/O module)
Operation
1. Turn OFF the personal computer.
2. Turn OFF the conversion cable/converter. Ground the FG terminal if provided.
3. Connect/disconnect the conversion cable/converter to/from the personal computer and the
programmable controller CPU.
FX3U,
FX3UC (FX3UC-32MT-LT,
FX3UC-32MT-LT-2 only)
FX3U-422-BD
SETTING DEVICE
MEMORY
2.1.6
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
For the specifications of an RS-422 interface conversion cable/converter and the precautions on using
them, please read the following instructions as well as the manuals of each product for correct
handling.
EDITING
PROGRAMS
SETTING
PARAMETERS
2
SYSTEM
CONFIGURATION
Transmission speed
When connecting to FX3G/FX3U/FX3UC using FX-232AWC-H, select any of 9.6kbps, 19.2kbps, 38.4kbps, 57.6kbps,
or 115.2kbps for the transmission speed.
When connecting using FX-232AWC or FX-232AW, select either 9.6kbps or 19.2kbps for the transmission speed.
Connecting to FXCPU
Be sure to use equipment shown in the table when connecting to FXCPU.
OVERVIEW
The following table shows the compatibility of FXCPU with function expansion boards.
Function expansion board
FX3G
FX3G-422-BD
FX2N
FX2N-422-BD
FX1S,FX1N
FX1N-422-BD
SETTING DEVICE
INITIAL VALUES
Series
2 -7
GX Works2
2 SYSTEM CONFIGURATION
PLC parameter
When the "Operate communication setting" check box is checked on the <<PLC System (2)>> tab of PLC
parameter, the corresponding port cannot communicate with the programmable controller CPU. Write the setting
that the "Operate communication setting" check box is cleared from the built-in programming port of the
programmable controller CPU.
When the programmable controller type of the project is FX3G or FX3U(C), the channel setting (CH1/CH2) combo
box is displayed.
Select 'CH1' to confirm the setting.
2 -8
The following table shows the compatibility of RS-232 cables with function expansion boards and
special adapters according to the shape and pin configuration of the serial port of the personal
computer.
Series
RS-232 cable
SYSTEM
CONFIGURATION
FX3U-232-BD
FX3G
9-pin D-sub
FX2N
FX2N-232-BD
FX2NC-232ADP + FX2N-CNV-BD
FX1NC,FX2NC
FX1S,FX1N
FX-232CAB-1
F2-232CAB-1
FX-232CAB-1
FX0N-232ADP
F2-232CAB-1
FX2NC-232ADP
FX-232CAB-1
FX0N-232ADP + FX1N-CNV-BD
F2-232CAB-1
FX1N-232-BD
FX2NC-232ADP + FX1N-CNV-BD
FX-232CAB-1
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
FX3U,FX3UC*1
FX-232CAB-1
FX3G-232-BD
FX3G-CNV-ADP + FX3U-232ADP
FX0N-232ADP + FX2N-CNV-BD
FX2N
FX2N-232-BD
FX2NC-232ADP + FX2N-CNV-BD
FX1NC,FX2NC
FX1S,FX1N
FX-232CAB-2
F2-232CAB-2
FX-232CAB-2
FX-232CAB-2
FX0N-232ADP
F2-232CAB-2
FX2NC-232ADP
FX-232CAB-2
FX0N-232ADP + FX1N-CNV-BD
F2-232CAB-2
FX1N-232-BD
FX2NC-232ADP + FX1N-CNV-BD
EDITING
PROGRAMS
FX3G
PROJECT
MANAGEMENT
FX3U-232-BD
FX3U,FX3UC*1
1
OVERVIEW
2.1.7
FX-232CAB-2
FX3U-232-BD
FX0N-232ADP + FX2N-CNV-BD
25-pin D-sub
FX2N
FX2N-232-BD
FX2NC-232ADP+FX2N-CNV-BD
FX1NC,FX2NC
FX1S,FX1N
F2-232CAB-1
F2-232CAB
F2-232CAB
FX2NC-232ADP
F2-232CAB-1
FX0N-232ADP+FX1N-CNV-BD
F2-232CAB
FX2NC-232ADP+FX1N-CNV-BD
F2-232CAB-1
FX0N-232ADP
FX1N-232-BD
SETTING
PARAMETERS
FX3G-232-BD
FX3G-CNV-ADP + FX3U-232ADP
F2-232CAB-1
SETTING DEVICE
MEMORY
FX3G
F2-232CAB-1
*1 :
*2 :
'***' of function expansion boards (FX3U-***-BD) indicates 232, 485, 422, USB, or CNV.
2.1.7 Connection using RS-232 cables and function expansion boards (special adapters) (compatible with FXCPU)
8
SETTING DEVICE
INITIAL VALUES
FX3U,FX3UC*1
2 -9
GX Works2
2 SYSTEM CONFIGURATION
PLC parameter
When the "Operate communication setting" check box is checked on the <<PLC System (2)>> tab of PLC
parameter, the corresponding port cannot communicate with the programmable controller CPU. Write the setting
that the "Operate communication setting" check box is cleared from the built-in programming port of the
programmable controller CPU.
When the programmable controller type of the project is FX3G or FX3U(C), the channel setting (CH1/CH2) combo
box is displayed.
FX3U/FX3UC series
When using the first adapter of FX3U-232ADP which is connected to FX3U-232-BD or FX3U-CNV-BD, specify
'CH1' and check the setting.
When using FX3U-232ADP which is connected to a board other than FX3U-CNV-BD, or when using the second
adapter of FX3U-232ADP which is connected to FX3U-CNV-BD, specify 'CH2' and check the setting.
FX3G series (14-/24-point type)
When using FX3G-232-BD, or when using the first adapter of FX3U-232ADP which is connected to FX3G-CNVADP, check the setting of 'CH1'.
FX3G series (40-/60-point type)
When using FX3G-232-BD, or when using the first adapter of FX3U-232ADP which is connected to FX3G-CNVADP, check the setting of 'CH1'. In this case, when using the second adapter of FX3U-232ADP which is
connected to FX3G-CNV-ADP, check the setting of 'CH2'.
When using FX3G-232-BD and FX3U-232ADP which is connected to FX3G-CNV-ADP, check the setting of FX3U232ADP with 'CH1', and check the setting of FX3G-232-BD with 'CH2'.
2.1.8
2 - 10
2.1.9
OVERVIEW
Use an RS-232 cable complies with the RS-232 standard within 15m.
For details, refer to the following manual.
CC-Link System RS-232 Interface Module User's Manual (MELSOFT Connection Mode)
Series
SYSTEM
CONFIGURATION
FX3U-232-BD
FX3G
9-pin D-sub
FX2N
FX1NC, FX2NC
FX1S, FX1N
25-pin D-sub
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
FX3U, FX3UC
FX3G-232-BD
FX3G-CNV-ADP + FX3U-232ADP
FX2N-232-BD
FX2NC-232ADP + FX2N-CNV-BD
FX2NC-232ADP
FX1N-232-BD
FX2NC-232ADP + FX1N-CN
FX2N
FX0N-232ADP + FX2N-CNV-BD
FX1NC, FX2NC
FX0N-232ADP
FX1S, FX1N
FX0N-232ADP + FX1N-CNV-BD
*1 :
*2 :
'***' of function expansion boards (FX3U-***-BD) indicates 232, 485, 422, USB, or CNV.
PROJECT
MANAGEMENT
*1
Set the "MODEM Initialized" item on the <<PLC System (1)>> tab of PLC parameter according to the
modem. For details, refer to Section 11.9.
EDITING
PROGRAMS
2.1.10
SETTING
PARAMETERS
2.1.11
The use of the transparent function of GOT enables the access to a programmable controller CPU via
Section 11.8)
8
SETTING DEVICE
INITIAL VALUES
GOT. (
SETTING DEVICE
MEMORY
2 - 11
GX Works2
2 SYSTEM CONFIGURATION
2.2
Head
FX
The following shows the system configuration for connecting to a programmable controller CPU using an I/F
board mounted on the personal computer.
For the methods for mounting an I/F board and installing the driver, refer to the manual of each I/F board.
Note that I/F boards other than Ethernet boards do not support 64-bit version of Windows 7.
MELSECNET/H board
Driver
Q80BD-J71BR11 (Coaxial loop)
Q80BD-J71LP21-25 (Optical loop)
Q80BD-J71LP21G (Optical loop)
QCPU
SW0DNC-MNETH-B
Programmable controller
on another station
QCPU
SW1DNC-MNETG-B
GX Works2
(SW1DNC-GXW2-E)
Programmable controller
on another station
QCPU
SW1DNC-CCIEF-J
Programmable controller
on another station
LCPU/
Communication
head module
Programmable controller
on another station
Q81BD-J71GF11-T2
Section 2.2.1
QCPU
SW4DNF-CCLINK-B
A80BD-J61BT11
A80BD-J61BT13
Programmable controller
on another station
LCPU
Programmable controller
on another station
Section 2.2.1
QCPU
SW1DNC-CCBD2-B
Q80BD-J61BT11N
Programmable controller
on another station
LCPU
Programmable controller
on another station
Ethernet board
Driver
Driver supplied
with commercially
available
Ethernet board
QCPU
Programmable controller
on host/another station
LCPU
Programmable controller
on host/another station
FXCPU
Programmable controller
on another station
2 - 12
I/F boards
SYSTEM
CONFIGURATION
OVERVIEW
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
2.2.1
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
2 - 13
GX Works2
2 SYSTEM CONFIGURATION
2.3
Head
FX
This section explains details of the modules that can be connected from the USB port, serial port, and each I/F
board.
The following table shows the modules that can be connected from the USB port.
Programmable controller series
Q series
L series
FX series*1,*2
2 - 14
Module model
Q00UJ, Q00U, Q01U, Q02H, Q02U, Q03UD, Q03UDE, Q04UDH,
Q04UDEH, Q06H, Q06UDH, Q06UDEH, Q10UDH, Q10UDEH, Q12H,
Q13UDH, Q13UDEH, Q20UDH, Q20UDEH, Q25H, Q26UDH, Q26UDEH,
Q50UDEH, and Q100UDEH
FX0, FX0S, FX0N, FX1S, FX1N, FX1NC, FX2N, FX2NC, FX3G, FX3U, and FX3UC
FX3U-USB-BD
*1 :
*2 :
As FXCPU (excluding FX3G) uses the serial USB conversion driver software, specify the COM port
number of the RS-232 in the connection destination setting.
L series*2
Module model
G4 module
FX series*3
*1 :
When accessing the programmable controller CPU from a personal computer via serial communication
modules, note that modules that can be connected to the personal computer are limited.
Even if a module cannot be directly connected to the personal computer, it may be usable as the nth
module in multi-dropped connection.
For details of the multi-dropped connection, refer to the following manuals.
MELSEC-L Serial Communication Module Users Manual (Basic)
<Q series>
QJ71C24N-R2
QJ71C24-R2
QJ71C24N-R4
CH1
RS-232
CH2
RS-422/485
CH1
RS-232
CH2
RS-232
CH1
CH2
1st module
nth module
EDITING
PROGRAMS
QJ71C24N
QJ71C24
Interface
Multi-dropped connection
(Function version B
or later)
RS-422/485
RS-422/485
6
SETTING
PARAMETERS
Model
<L series>
: Applicable : Not applicable
LJ71C24-R2
CH1
1:1 system
configuration
Multi-dropped connection
1st module
nth module
RS-232
SETTING DEVICE
MEMORY
LJ71C24
Interface
CH2
RS-422/485
CH1
RS-232
CH2
RS-232
*2 :
*3 :
8
SETTING DEVICE
INITIAL VALUES
Model
4
PROJECT
MANAGEMENT
1:1 system
configuration
2
SYSTEM
CONFIGURATION
Q series
Module name
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Programmable
controller series
OVERVIEW
The following table shows the modules that can be connected from the serial port.
2 - 15
GX Works2
2 SYSTEM CONFIGURATION
The following table shows the modules that can be connected from the MELSECNET/H board.
I/F board model
Q80BD-J71LP21-25
Q80BD-J71LP21G
Q80BD-J71BR11
Programmable
controller series
Q series
Module model
QJ71LP21, QJ71LP21G, QJ71BR11, QJ71LP21-25 and
QJ71LP21S-25
The following table shows the modules that can be connected from the CC-Link IE Controller Network
board.
I/F board model
Q80BD-J71GP21-SX
Q80BD-J71GP21S-SX
Programmable
controller series
Q series
Module model
QJ71GP21-SX and QJ71GP21S-SX
The following table shows the modules that can be connected from the CC-Link IE Field Network
board.
I/F board model
Q81BD-J71GF11-T2
Programmable
controller series
Module model
Q series
QJ71GF11-T2
L series
The following table shows the modules that can be connected from the CC-Link Ver.1 board.
I/F board model
A80BD-J61BT11
A80BD-J61BT13
Programmable
controller series
Q series
Module model
QJ61BT11 and QJ61BT11N
The following table shows the modules that can be connected from the CC-Link Ver.2 board.
I/F board model
Q80BD-J61BT11N
2 - 16
Programmable
controller series
Module model
Q series
L series
SYSTEM
CONFIGURATION
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
FX-ENET series
4
PROJECT
MANAGEMENT
FX series
5
EDITING
PROGRAMS
L series
6
SETTING
PARAMETERS
Q series
Module model
7
SETTING DEVICE
MEMORY
Programmable
controller series
8
SETTING DEVICE
INITIAL VALUES
OVERVIEW
The following table shows the modules that can be connected from the Ethernet board.
2 - 17
GX Works2
2 SYSTEM CONFIGURATION
2.4
Head
FX
This section explains the system configuration when accessing from the personal computer with the memory
card in the personal computer.
Loading memory card into PC card slot
When loading a Q series memory card into the PC card slot, the following adapter is required.
Product name
PC card adapter
Model name
Q2MEM-ADP
Manufacture name
Mitsubishi Electric Corporation
PLC series
Memory card
SRAM card
IC memory
card data write/
read
Q series
*1 :
2 - 18
WindowsXP
Windows Vista
ATA card
Flash card
L series
*1
Windows2000
Reference
Section
12.11.1
SD card
memory
FX
Q CPU L CPU Remote
Head
FX
FX
Simple project
without labels
with labels
Ladder
ST
SFC*2
Structured ladder
FBD
Structured
project
*1
*1
*1
*1
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Programming
language
OVERVIEW
SYSTEM
CONFIGURATION
2.5
*2 :
For QCPU (Q mode)/LCPU, the display format of SFC can be selected from "MELSAP3", "MELSAP-L (Instruction
Format)", and "MELSAP-L (Start Conditions Format)".
4
PROJECT
MANAGEMENT
*1 :
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
2 - 19
GX Works2
2 SYSTEM CONFIGURATION
MEMO
2 - 20
SCREEN CONFIGURATION
AND BASIC OPERATIONS
This chapter explains the screen configuration and basic operations of GX Works2.
2
SYSTEM
CONFIGURATION
OVERVIEW
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
4
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
3.1
3.2
3.3
3.4
3 -1
GX Works2
3.1
Head
This section explains the operation methods for starting and exiting GX Works2.
Starting up
Starting up GX Works2
Operating procedure
Select [Start] [All Programs] [MELSOFT Application] [GX Works2] [GX Works2].
Exiting
Exiting GX Works2
Operating procedure
Select [Project] [Exit].
3 -2
FX
Head
FX
This section explains the main frame (basic screen) of GX Works2 that is displayed when it is started up.
OVERVIEW
3.2
The following screen shows a main frame configuration in which a work window and docking windows
are displayed.
Screen display
Title bar
Menu bar
Toolbar
Function Block
Selection window
4
PROJECT
MANAGEMENT
Navigation
window
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
3.2.1
SYSTEM
CONFIGURATION
Work window
5
EDITING
PROGRAMS
Docking window
6
SETTING
PARAMETERS
Status bar
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
3 -3
GX Works2
Display contents
Name
Description
Reference
Title bar
Menu bar
Toolbar
Section 3.2.2
Work window
Section 3.2.3
Docking window
Section 3.2.4
Navigation window
Section 3.2.5
Output window
GX Works2 Version 1
Operating Manual
(Simple Project)
(Structured Project)
Section 10.1
Section 10.2
Watch window 1 to 4
Section 14.6
Find/Replace window
Section 10.3
Section 3.2.6
Status bar
GX Works2 Version 1
Operating Manual
(Intelligent Function Module)
3 -4
Toolbars
A toolbar is a block of on-screen buttons for executing frequently-used functions included in a menu.
(
Appendix 1)
The toolbars to be displayed and their display positions on the screen can be set by the user.
OVERVIEW
3.2.2
SYSTEM
CONFIGURATION
Displaying/hiding toolbars
Operating procedure
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
1.
3.2.2 Toolbars
3 -5
GX Works2
Docking/floating toolbars
Operation
Drag a docked toolbar to the desired position for floating display.
3 -6
3.2.2 Toolbars
Docking a toolbar
Display a toolbar docked to the main frame.
OVERVIEW
Operation
Drag the title bar of a floating toolbar and drop it in the main frame.
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
3.2.2 Toolbars
3 -7
GX Works2
Customizing toolbars
Operating procedure
1.
2.
Check the check box in front of the tool button to be displayed on the screen.
The checked tool buttons are displayed on the screen.
The toolbar configuration returns to the default when [Reset Toolbar] is selected.
3 -8
3.2.2 Toolbars
Work windows
A work window is a main screen used for operations such as programming, parameter setting, and
monitoring in GX Works2.
Screen display
Tool hint
Scroll button
SYSTEM
CONFIGURATION
Tab
OVERVIEW
3.2.3
Switching button
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Display contents
Item
Description
Become active when selected.
The tab order can be changed by dragging and dropping tabs.
The window(s) can be closed from the menu displayed by right-clicking the tab. In the other way, the
active window can be closed by clicking
on the tab.
PROJECT
MANAGEMENT
Tab
EDITING
PROGRAMS
Right-click
Display a brief explanation when the cursor is placed on the selected tab.
Scroll button
Switching button
Display windows
Display screens such as the program editing screen, label setting screen, and monitoring screen.
SETTING
PARAMETERS
Tool hint
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
3 -9
GX Works2
Maximizing/minimizing screens
Operation
Click the Maximize button (
).
Click
3 - 10
Operation
).
OVERVIEW
2
SYSTEM
CONFIGURATION
Click
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
7
Restoring the screen size
to return the maximized/minimized screen to its previous size.
Click
SETTING DEVICE
INITIAL VALUES
Click
3 - 11
GX Works2
Arranging screens
Operation
Select [Window] [Cascade].
Operation
Select [Window] [Tile Vertically].
3 - 12
Operation
OVERVIEW
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
4
Arranging icons (minimized windows) at the bottom of the work window
Operation
Select [Window] [Arrange Icons].
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
3 - 13
GX Works2
Arranging/displaying windows
Display a list of open windows, and also opens and arranges specified windows.
This function is useful to display the desired window efficiently when multiple windows are open.
Screen display
Select [Window] [Window].
3 - 14
3.2.4
Docking windows
OVERVIEW
2
SYSTEM
CONFIGURATION
Operating procedure
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Floating display
Display a docking window floating from the main frame.
Operation
Drag the title bar of a floating docking window and drop it to the guidance in the main frame.
PROJECT
MANAGEMENT
EDITING
PROGRAMS
6
Drag the docking window to the guidance.
The docked window is floated by dragging the title bar to the desired position.
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
3 - 15
GX Works2
Double-click
Double-click
Floating display
3 - 16
OVERVIEW
Operating procedure
/
).
2
SYSTEM
CONFIGURATION
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
7
SETTING DEVICE
MEMORY
Normal display
8
SETTING DEVICE
INITIAL VALUES
3 - 17
GX Works2
3.2.5
Navigation window
This section explains the Navigation window that displays the contents of a project in tree format.
Operations such as creating new data or displaying editing screens can be performed in the Navigation
window. (
Chapter 4)
Screen display
Select [View] [Docking Window] [Navigation Window].
Title bar
Toolbar
View
selection
area
Display contents
Name
Description
Reference
Title bar
Toolbar
Appendix 1
Project
Section 4.2.1
User Library
Connection Destination
GX Works2 Version 1
Operating Manual
(Structured Project)
Section 11.1.1
3 - 18
Sorting data
OVERVIEW
Operating procedure
Right-click and select [Sort] [(sort type)] from the shortcut menu.
The data displayed in tree format are sorted in the ascending order.
When the same operation is performed after sort execution, the sort order is switched between
ascending and descending.
The following table shows the sort types.
Type
Execution Order
Name
*1
Date
Sort the data in the selected folder according to the update date.
Language
Sort the data in the selected folder according to the programming language
type.
POU Type*2
Sort the data in the selected folder according to the POU type.
*1 :
*2 :
4
PROJECT
MANAGEMENT
Description
Sort the data in the Task folder in the Program setting according to the
execution order.
SYSTEM
CONFIGURATION
2.
Open a folder in the Navigation window and select the data for sorting.
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
1.
Expand all uncompiled data exist in the Project view and User Library view.
Operating procedure
1.
Click
2.
EDITING
PROGRAMS
on the toolbar.
6
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
3 - 19
GX Works2
Collapse folder tree in the Project view and User Library view.
Operating procedure
1.
Click
2.
on the toolbar.
3 - 20
Status bar
The status bar displays information about the current project at the bottom of the screen.
Connection
time
Project
language
Project
type
Security information
Programmable
controller type
Connection
destination
Cursor position
Insert/
Caps Num
Overwrite Lock Lock
OVERVIEW
3.2.6
Description
Connection time
Project language
Project type
Security information
Display the login user name when security is set for the project.
Insert/Overwrite
Caps Lock
Num Lock
Operating procedure
Select [View] [Statusbar].
A check mark is appended in front of the menu option and the status bar is displayed on the
screen.
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
EDITING
PROGRAMS
4
PROJECT
MANAGEMENT
Connection destination
Cursor position
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Item
SYSTEM
CONFIGURATION
3 - 21
GX Works2
3.2.7
Change the color and font settings on program editors and label editors.
Screen display
Select [View] [Color and Font].
Operating procedure
1.
Description
Target
Font Setting
Auto (Based on system settings) Select this to use the font settings in Windows.
Select this to customize the font settings.
User settings
Click the
Color Setting
Color Setting
2.
3 - 22
Click the
button.
Screen button
OVERVIEW
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
4
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
Font setting
Some fonts may be displayed as garbled characters.
Change the setting to another font if this happens.
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
3 - 23
GX Works2
3.2.8
Screen display
Select [Tool] [Key Customize].
Operating procedure
1.
Description
Shortcut Key
Category
Command
Current Key
Current Assignment
2.
Click the
Display the menu name to which the entered shortcut key is assigned.
When the key is already assigned to another function, the function
name is displayed.
button.
3 - 24
3.
Click the
button.
Screen button
2
SYSTEM
CONFIGURATION
4
PROJECT
MANAGEMENT
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
3 - 25
GX Works2
Registering templates
Operating procedure
1.
Description
Select a template of shortcut keys from
.
Default Setting
Changes to the default setting.
GPPA Format Setting
Simultaneously changes the shortcut key setting at ladder
programming to the same setting as one at GPPA.
Template
2.
Click the
button.
Screen button
3 - 26
Head
FX
This section explains how to select a language used for project data (such as device comments, statements,
notes).
By selecting a language of the project, data can be created in a language other than English.
Data created in another language can be displayed without character corruption.
For restrictions when selecting a project language, refer to Appendix 17.
Screen display
Select [Tool] [Language Selection].
3
< When editing a project >
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
OVERVIEW
Selecting Language
SYSTEM
CONFIGURATION
3.3
PROJECT
MANAGEMENT
EDITING
PROGRAMS
Operating procedure
Set the items on the screen.
Select the language of the project.
Check this to save the project before changing the project language.
Click the
button.
SETTING
PARAMETERS
2.
Description
Project Language
3 - 27
SETTING DEVICE
MEMORY
Item
8
SETTING DEVICE
INITIAL VALUES
1.
GX Works2
3.4
Help Function
Q CPU L CPU Remote
Head
FX
3.4.1
Use the GX Works2 help function to learn GX Works2 operations, understand functions, and check
error codes of programmable controller CPU.
The following items can be checked with the GX Works2 help function.
Help for operations
Screen display
Select [Help] [GX Works2 Help] (
Tab
3 - 28
).
key to
OVERVIEW
editor, and Function Block Selection window of GX Works2 is displayed by pressing the
key.
Instruction help
Instructions which are supported by the instruction help function are common instructions and application
functions.
The SFC editor is not supported by the instruction help function.
Operators and ST control syntax are not supported by the instruction help function.
When the selected instruction is corresponded by multiple items, the Result screen is displayed. Double-click the
item to display the help.
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
The help item corresponds to the item at the cursor position on the screen such as Navigation window, program
SYSTEM
CONFIGURATION
When the selected instruction contains a special relay or special register, the Help References screen is displayed.
button.
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
PROJECT
MANAGEMENT
3 - 29
GX Works2
Set options for "Startup", "Window", and "Tab" items of the GX Works2 help function.
Display contents
Select the GX Works2 help menu [Operation] [Options].
Operating procedure
Description
Startup
Restore the previous status at the start Check this to activate the GX Works2 help function with the state of
of Help
previous operation.
Window
Check this to set the GX Works2 help function in the task tray when the
GX Works2 help window is minimized.
When this item is selected and the GX Works2 help window is
minimized, the GX Works2 help function can be activated from the task
tray.
Tab
3.4.2
Check this to switch tabs with the mouse wheel when the cursor is on
the tab.
Screen display
Select [Help] [Operating Manual] [(manual name)].
3 - 30
Head
FX
Head
FX
Operating procedure
2
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
OVERVIEW
3.4.3
3 - 31
GX Works2
MEMO
3 - 32
PROJECT MANAGEMENT
2
SYSTEM
CONFIGURATION
OVERVIEW
SCREEN
CONFIGURATION
AND BASIC
4
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
4.10
4.11
4 -1
GX Works2
4 PROJECT MANAGEMENT
4.1
Head
FX
4.1.1
Workspace format
Ethernet
MELSECNET/10(H)
Workspace
4 -2
Project
OVERVIEW
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
A folder corresponds to the project name specified when the project is saved.
workspacelist.xml
projectlist.xml
Do not change or delete workspace configuration or project using an application such as Windows
Explorer.
If a data name is changed or deleted using an application such as Windows Explorer, projects without
containing actual data may remain in a project list of the function such as opening a project. Those
faulty projects can be deleted from the project list by selecting [Project] [Delete].
For copying GX Works2 project on the Windows Explorer, select either following operation to copy the
project without breaking the configuration of workspace and project.
Copy the entire save destination folder ( 1 above).
Copy the workspace name folder and "workspacelist.xml".
When "workspacelist.xml" ( 4 above) or "projectlist.xml" ( 5 above) does not exist in the folder by
performing the copy operation other than above, the copied workspaces/projects are not displayed in
the "Workspace/Project List" on the Open screen.
However, note that the project can be opened forcibly by selecting "All Folders" for "Display" on the
Open screen and displaying all folders.
When a file other than "workspacelist.xml" or "projectlist.xml" is missing, the project may not be
opened.
Restrictions
Opening a project forcibly by checking the "Display all folders" item
The following operations cannot be performed.
Register, Restore, and Verify functions of project revision history
Security user management
Automatic project save
However, the above restrictions are invalidated by selecting [Project] [Save As], and saving the project.
5
EDITING
PROGRAMS
6
SETTING
PARAMETERS
A folder corresponds to the workspace name specified when the project is saved.
7
SETTING DEVICE
MEMORY
A folder specified for the save folder path when the project is saved.
PROJECT
MANAGEMENT
SETTING DEVICE
INITIAL VALUES
4 -3
GX Works2
4 PROJECT MANAGEMENT
4.1.2
The single file format is a format to handle project files as a single file.
Projects are managed without being aware of the folder configuration and the file configuration by
saving projects in the single file format. Operations such as: changing project names, copying and
pasting projects, and sending and receiving data, can easily be performed on Explorer.
<Single file format project (*.gxw)>
4 -4
Project contents displayed in the Project view in tree format are as follows.
Contents displayed in the view may vary depending on programmable controller types and project
types.
For (Simple), (Structured), and (Intelligent) indicated in the reference destinations, refer to the following
manuals respectively:
(Simple) ................GX Works2 Version 1 Operating Manual (Simple Project)
(Structured) ...........GX Works2 Version 1 Operating Manual (Structured Project)
(Intelligent) ............GX Works2 Version 1 Operating Manual (Intelligent Function Module)
The following are examples for QCPU (Q mode).
<Simple project (without labels)>
3
(Intelligent)
Chapter 9
*2
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
OVERVIEW
Project
SYSTEM
CONFIGURATION
4.1.3
Section 6.1.1
Create programs.*3
PROJECT
MANAGEMENT
4
(Simple)
Chapter 9
*2 :
For FXCPU, execution types are not categorized. The only one category 'Execution Program' is
displayed.
*3 :
For FXCPU, a single execution program can be created in either ladder or SFC language.
EDITING
PROGRAMS
*1 :
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
4.1.3 Project
4 -5
GX Works2
4 PROJECT MANAGEMENT
(Intelligent)
Chapter 9
(Simple)
*2 *3
Create programs.*4
Section 6.1.1
(Simple)
Chapter 9
*1 :
*2 :
For FXCPU, execution types are not categorized. The only one category 'Execution Program' is
displayed.
*3 :
For FXCPU, Simple project (with labels), the 'Execution Program' can be divided into multiple
programs.
*4 :
<Structured project>
Set various parameters.
Chapter 6
Make
settings
for
the
intelligent
function modules.
*1
Set global device comments.
Chapter 9
Set global labels.
(Intelligent)
(Structured)
*2
Create programs.
Section 6.1.1
(Structured)
4 -6
*1 :
*2 :
For FXCPU, execution types are not categorized. The only one category 'Execution Program' is
displayed.
4.1.3 Project
<Project view>
2
SYSTEM
CONFIGURATION
Program Setting
In the Project view, an execution type of a program can be set by right-clicking the name of the program whose
execution type is to be changed and selecting [Register Program] [Initial]/[Scan]/[Standby]/[Fixed Scan]/[Low
Speed] from the shortcut menu, or dragging and dropping it. The execution type set in the Project view is reflected
to the program setting of the PLC Parameter.
(Program setting in PLC Parameter
Section 6.1.1)
Example) Set the execution type of MAIN to 'Scan Program' using drag and drop.
OVERVIEW
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
3
Drag & drop
The setting made in the Project view is reflected.
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
4.1.3 Project
4 -7
GX Works2
4 PROJECT MANAGEMENT
4.2
Project Operations
This section explains basic operations of GX Works2 such as creating, opening, and saving projects.
4.2.1
Creating projects
Q CPU L CPU Remote
Head
Screen display
Select [Project] [New] (
).
Operating procedure
1.
4 -8
Description
Select the type of the project to be created.
Select "Simple Project" or "Structured Project".
Check this to create a project using labels when "Simple Project" is selected.
PLC Series
PLC Type
Select the programmable controller type (programmable controller CPU model) used
for the project.
When a programmable controller type which is not supported by GX Works2 but is
supported by GX Developer is selected, start GX Developer and create a new
project. For a procedure to use unsupported programmable controller type, refer to
Appendix 13.
Language
Select the language for the program data to be created when creating a new project.
FX
5
EDITING
PROGRAMS
SYSTEM
CONFIGURATION
If the access authority cannot be changed, right-click the GX Works2 program and select [Run as administrator].
To activate the program from the shortcut menu, open the property of the shortcut menu and select "Run this
program as an administrator" under "Privilege Level" on the <<Compatibility>> tab.
Changing data such as workspace name after creating a new project
Do not change the storage location and names of folders/files of a created workspace/project using an application
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
A new GX Works2 project may not be able to be created when using Windows Vista or Windows 7.
Set the access authority for a login user to the following folders to which the access authority has not been set.
The folder to which GX Works2 is installed.
Example) C:\Program Files\MELSOFT
C:\Documents and Settings\(login user name)\Local Settings\Application Data\MITSUBISHI\SWnDNGPPW2
The TEMP folder set by environment variable.
Example) C:\Documents and Settings\(login user name)\Local Settings\Temp
PROJECT
MANAGEMENT
OVERVIEW
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
4 -9
GX Works2
4 PROJECT MANAGEMENT
Creating new projects with data read from programmable controller CPU or
intelligent function module (New project creation with data read from
programmable controller CPU)
A new project can be created with data read from a programmable controller CPU or an intelligent
function module when the Read from PLC function is executed without creating a new project.
When a programmable controller type which is not supported by GX Works2 but is supported by GX
Developer is selected, start GX Developer and create a new project. For a procedure to use
unsupported programmable controller types, refer to Appendix 13.
Operating procedure
1.
2.
Description
PLC Series
Select the programmable controller series from which data are read.
3.
Click the
button.
4.
5.
Execute the Read from PLC function on the Online Data Operation screen.
For the method for executing the Read from PLC function on the Online Data Operation screen,
refer to Section 12.1.
Precautions when creating a new project with data read from programmable controller CPU
When parameters are not read from the programmable controller CPU with data to create a new project, default
parameters are set.
Check the parameter setting.
4 - 10
Head
FX
Read a project saved in a hard disk or other memory media of a personal computer.
Screen display
).
SYSTEM
CONFIGURATION
OVERVIEW
4.2.2
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
4
Operating procedure
1.
Workspace Location
Description
Display
Workspace Name
Project Name
Title
Click the
button.
8
SETTING DEVICE
INITIAL VALUES
2.
6
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
Workspace/Project List
EDITING
PROGRAMS
button.
4 - 11
GX Works2
4 PROJECT MANAGEMENT
Screen button
4 - 12
Saving projects
Q CPU L CPU Remote
Head
FX
OVERVIEW
4.2.3
2
SYSTEM
CONFIGURATION
Screen display
Select [Project] [Save As].
< Saving a project in the workspace format >
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
3
< Saving a project in the single file format >
PROJECT
MANAGEMENT
1.
EDITING
PROGRAMS
Operating procedure
Set the items on the screen.
Item
Description
Save Location
Workspace Name
Project Name
Include revisions
Include security*1
Check this to succeed and save the security information of the project.
(
Section 4.10)
*1 :
2.
Section 4.6)
This setting can be set only when saving the already existing project with another name.
Click the
button.
The project is saved in the specified folder under the specified workspace name, project name, and
title.
7
SETTING DEVICE
MEMORY
Title
4 - 13
8
SETTING DEVICE
INITIAL VALUES
Workspace/Project List
SETTING
PARAMETERS
button.
Select the workspace or project.
The display is switched to the project list by double-clicking "Workspace".
GX Works2
4 PROJECT MANAGEMENT
Screen button
Saving projects
Operating procedure
).
4 - 14
Head
FX
2
SYSTEM
CONFIGURATION
Save projects with compression, and unpack projects saved with compression.
Files can be saved with their sizes reduced by compressing the project. Files can also be saved by
separating them in specific sizes. These functions produce easier project data passing.
This function is not compatible with commercially available file compression and decompression tools.
1
OVERVIEW
4.2.4
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Screen display
Select [Project] [Compress/Unpack] [Compress].
PROJECT
MANAGEMENT
EDITING
PROGRAMS
Operating procedure
1.
Description
Workspace/Project List
Workspace Name
Project Name
SETTING
PARAMETERS
Enter the folder where the compressed file is saved, and the compressed file name.
The compressed file name can be specified in the Compressed File Name screen by
clicking the
Include revisions
Check this to save data in multiple compressed files. Specify the split size in the range
from 1 to 999MB.
Click the
Section 4.6)
button.
8
SETTING DEVICE
INITIAL VALUES
2.
button.
SETTING DEVICE
MEMORY
4 - 15
GX Works2
4 PROJECT MANAGEMENT
Screen display
Select [Project] [Compress/Unpack] [Unpack].
Operating procedure
1.
Description
Enter the folder (drive/path) in which the compressed file to be unpacked is saved, and
the compressed file name.
The compressed file name can be specified in the Compressed File Name screen by
clicking the
button.
The folder can be selected in the Browse For Folder screen by clicking the
button.
Workspace/Project List
Workspace Name
Enter the name of the workspace to which the unpacked project is saved.
Project Name
Enter the name of the project to which the unpacked project is saved.
2.
Click the
button.
The compressed project file is unpacked and saved in the specified folder.
Screen button
4 - 16
4.2.5
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
2
SYSTEM
CONFIGURATION
OVERVIEW
Deleting projects
Q CPU L CPU Remote
Head
FX
4
PROJECT
MANAGEMENT
Delete a project saved in a hard disk or other memory media of a personal computer.
Operating procedure
1.
3.
Click the
EDITING
PROGRAMS
2.
button.
SETTING
PARAMETERS
7
SETTING DEVICE
MEMORY
Deleting projects
Once a project is deleted, it cannot be restored again.
The open project cannot be deleted. Delete the project after closing it.
SETTING DEVICE
INITIAL VALUES
4 - 17
GX Works2
4 PROJECT MANAGEMENT
4.2.6
Closing projects
Q CPU L CPU Remote
Head
FX
Head
FX
Operating procedure
4.2.7
Screen display
Select [Project] [Verify].
4 - 18
Operating procedure
Item
Verify Destination
Project
2.
Description
Workspace Location
Workspace Name
Project Name
Title
Description
Verify Source
Verify Destination
<<File Selection>>
OVERVIEW
2
SYSTEM
CONFIGURATION
Click the
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
1.
PROJECT
MANAGEMENT
4
Select the parameter verification level.
Verifying parameters
<<Parameter>>*2
3.
*1 :
*2 :
Click the
EDITING
PROGRAMS
button.
SETTING
PARAMETERS
Screen button
7
SETTING DEVICE
MEMORY
Cancels the selection status of all the data selected in the project data list.
SETTING DEVICE
INITIAL VALUES
4 - 19
GX Works2
4 PROJECT MANAGEMENT
4 - 20
Verifying parameters
OVERVIEW
All Area
Verify all the area including the parameter area set by the system.
Corrective action
A mismatch is detected in other than user setting area.
Write the parameters, having been written to the programmable controller CPU, to
the programmable controller again.
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Description
4
PROJECT
MANAGEMENT
Item
SYSTEM
CONFIGURATION
The following table shows the verification details for each setting item.
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
4 - 21
GX Works2
4 PROJECT MANAGEMENT
Details of mismatched data can be checked on the <<Verify Result List>> tab on the Verify Result
screen.
Details of program verification result can be checked for ladder programs only.
For FXCPU, when a block password with the validated setting for "Read-protect the execution
program" exists, matches and mismatches of the program file verification are displayed, however, a
jump to the detailed verify result cannot be performed.
Operating procedure
4 - 22
Double-click the row of the data to display the details of the Verify Result screen.
The selected <<Detail Verify Result>> tab can be closed by selecting [View] [Close Detail Result] (
)/[Close
4
PROJECT
MANAGEMENT
Verify
< Verification result >
5
EDITING
PROGRAMS
< Device memory data to which devices are not set >
6
SETTING
PARAMETERS
2
SYSTEM
CONFIGURATION
) / [Previous Unmatch]
).
7
SETTING DEVICE
MEMORY
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
OVERVIEW
SETTING DEVICE
INITIAL VALUES
4 - 23
GX Works2
4 PROJECT MANAGEMENT
Operating procedure
1.
2.
Open the <<Verify Result List>> tab or the <<Detail Verify Result>> tab on the Verify
Result screen.
3.
Double-click the modified data on the <<Verify Result List>> tab or the <<Detail
Verify Result>> tab.
The updated data is displayed in the verification result.
4 - 24
OVERVIEW
Operating procedure
1.
).
2
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
2.
3.
Click the
PROJECT
MANAGEMENT
button.
EDITING
PROGRAMS
The saved CSV file is displayed as shown below when it is opened by Excel.
< Display of the Verification Result screen >
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
4 - 25
GX Works2
4 PROJECT MANAGEMENT
4.2.8
Head
Screen display
Select [Project] [Change PLC Type].
Operating procedure
1.
2.
Description
PLC Series
PLC Type
Click the
button.
4 - 26
FX
To change the model of an intelligent function module, select a module name in "Module name after change" on
the following screen displayed at changing the programmable controller type.
To delete all intelligent function modules, check "Delete all after changing intelligent function module".
2
SYSTEM
CONFIGURATION
Changing programmable controller type of projects which contain intelligent function modules (For QCPU
(Q mode)/LCPU/communication head module)
Basically intelligent function modules are deleted after the programmable controller series is changed, but certain
intelligent modules can be changed to those which are applicable with the programmable controller series after
change.
For details of the shift of models of intelligent function modules associated with change of programmable controller
series, refer to the following section.
Changing intelligent function modules between programmable controller series
OVERVIEW
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
and
PROJECT
MANAGEMENT
+
EDITING
PROGRAMS
key
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
4 - 27
GX Works2
4 PROJECT MANAGEMENT
4 - 28
Basically intelligent function modules are deleted after changing the programmable controller series,
but a part of intelligent modules can be changed to those which are applicable with the programmable
controller series after change.
The following table shows modules which can be changed.
Module name
Serial communication/
Modem interface
L60DA4
L60TCTT4
L60TCTT4BW
Q64TCRTN
L60TCRT4
Q64TCRTBWN
L60TCRT4BW
QD62
QD62D
LD62
LD62D
QD75P1
QD75P2
QD75P4
QD75P1N
QD75P2N
QD75P4N
QD75D1
QD75D2
QD75D4
QD75D1N
QD75D2N
QD75D4N
LD75P4
LD75D4
QJ71C24N
QJ71C24N-R2
LJ71C24
LJ71C24-R2
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Q64TCTTN
Q64TCTTBWN
4
PROJECT
MANAGEMENT
QD75/LD75 positioning
Q62DAN
Q64DAN
Q68DAVN
Q68DAIN
5
EDITING
PROGRAMS
Counter
L60AD4
6
SETTING
PARAMETERS
Temperature control
Q64AD
Q68ADV
Q68ADI
7
SETTING DEVICE
MEMORY
Analog
QCPU (Q mode)
LCPU/Communication head
module
8
SETTING DEVICE
INITIAL VALUES
Module type
1
OVERVIEW
SYSTEM
CONFIGURATION
4 - 29
GX Works2
4 PROJECT MANAGEMENT
In GX Works2 with the installed QnH -> QnU Conversion Support Tool, the
button is
displayed on the List of Modifications screen when the programmable controller type is changed from
Basic model QCPU or High Performance model QCPU to Universal model QCPU.
The Detailed replacement method screen is displayed by clicking the
button. The
overview of replacement method regarding instructions and parameters which are changed by the PLC
type change function can be checked on the Detailed replacement method screen.
Furthermore, the Web browser is activated by clicking the links on the Detailed replacement method
screen to check details of settings. Adobe Reader is required to view the details.
4 - 30
4.3.1
OVERVIEW
2
FX
Q CPU L CPU Remote
Head
FX
FX
Screen display
SYSTEM
CONFIGURATION
4.3
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
Data Name
Program Language
6
SETTING
PARAMETERS
Item
Data Type
Inherent Property
*1 :
*2 :
7
SETTING DEVICE
MEMORY
Result Type*1
8
SETTING DEVICE
INITIAL VALUES
1.
EDITING
PROGRAMS
Operating procedure
4 - 31
GX Works2
4 PROJECT MANAGEMENT
2.
Click the
button.
Number of characters
8 characters
32 characters
Maximum number
Connection destination
128
64
800
*1 :
FXCPU
For FXCPU, the data of device initial values cannot be created.
4 - 32
Head
FX
Operating procedure
OVERVIEW
4.3.2
2.
SYSTEM
CONFIGURATION
1.
4.
4
PROJECT
MANAGEMENT
3.
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Select a folder
Enter a new name in the "Data Name After Paste" field, and click the
button.
6
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
5.
EDITING
PROGRAMS
4 - 33
GX Works2
4 PROJECT MANAGEMENT
Copying/pasting data
Data can be pasted only to the data whose type is the same as the copy source. Data between different projects
can be copied/pasted only when their project types or programmable controller types are the same.
Multiple data can be copied by holding the
or
key and selecting the data.
Data can be copied/pasted by right-clicking the copy source data/paste destination folder and selecting [Copy]/
[Paste] from the shortcut menu, or by dragging and dropping the data from the copy source data to the paste
destination folder.
The program is in an uncompiled status after data are pasted. Compile the program again.
For projects with security, only users whose access level is 'Administrators' can copy/paste data.
Copying and pasting PLC parameter or Network parameter only is not possible. If they are copied individually, the
whole parameter files are copied and the files in the pasted destination are overwritten.
4.3.3
Head
FX
FX
Head
FX
FX
Operating procedure
1.
2.
3.
4.
Press the
key.
4.3.4
Operating procedure
1.
2.
Deleting data
Multiple data can be selected and deleted.
When data under the POU are deleted, data under the Program Setting are deleted simultaneously.
4 - 34
Displaying/editing properties
Q CPU L CPU Remote
Head
FX
Display data properties of folders, parameters, and programs. A title and/or comment can be set to
each data.
Screen display
SYSTEM
CONFIGURATION
OVERVIEW
4.3.5
).
<<Comment>>
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Title*1
Last Change*1
5
EDITING
PROGRAMS
Item
Data Name
6
SETTING
PARAMETERS
For FXCPU Simple project (with labels), "Title", "Last Change", and <<Comment>> tab are not
supported in the property of "MAIN" under Project view "Program Setting" 'execution program'.
7
SETTING DEVICE
MEMORY
*1 :
Press the
and
keys for a line feed.
(The number of applicable characters is 5,120.)
8
SETTING DEVICE
INITIAL VALUES
PROJECT
MANAGEMENT
Operating procedure
4 - 35
GX Works2
4 PROJECT MANAGEMENT
Titles
Set titles are displayed on each view with a corresponding data name.
For SFC project without labels, a device comment of BL device corresponds to the SFC block becomes a title.
When the device comment of the reference target is read-protected by the security setting, the title is not displayed
on the view.
Properties of Structured projects
Properties of the following data can be set for Structured projects in addition to those indicated above.
Data
Setting
Task
Function/Function block
Library
4 - 36
Head
FX
For the method for setting the intelligent function module data, refer to the following manual.
GX Works2 Version 1 Operating Manual (Intelligent Function Module)
OVERVIEW
4.4
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
4 - 37
GX Works2
4 PROJECT MANAGEMENT
4.5
Head
FX
FX
*1
*1 :
Simple project
Simple project
'without labels'
'with labels'
Structured project
Operating procedure
<Structured project>
Created under
the Program folder
Created under
the FB/FUN folder
4 - 38
Head
FX
This section explains how to register a backup of the project with added revision information, and restoring the
registered backup data (content of the past project).
4.6.1
Create a backup of the project at the point of registration, and register it with the revision information.
OVERVIEW
2
SYSTEM
CONFIGURATION
4.6
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Screen display
Select [Project] [Project Revision] [Revision Entry].
PROJECT
MANAGEMENT
Date
User
Display the user name when using the project with security.
Title
Comment
6
SETTING
PARAMETERS
Item
Revision No.
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
EDITING
PROGRAMS
Operating procedure
4 - 39
GX Works2
4 PROJECT MANAGEMENT
Revision number and the allowable number of revisions that can be registered
A revision number for the registered revision is automatically assigned from 1 to 9999.
The maximum number of revisions that can be registered is 100. If the number of the registered revisions is to be
exceeded 100, delete unnecessary revisions. The deleted revision numbers are unused.
If the revision number is to be exceeded 9999, delete all the revision data, or save the project with a different name
without succeeding the revision information. (
Section 4.2.3)
The allowable number of characters that can be entered for a title
The maximum number of characters that can be entered for a title is 32.
The allowable number of characters that can be entered for a comment
The maximum number of characters that can be entered for a comment is 256.
A line feed is handled as 2 characters.
Registration of project revisions when overwriting and saving projects
According to the option setting, the Revision Registration screen for the project revision is displayed when
overwriting and saving the project.
Select [Tool] [Options] "Project", and then select "Revision is Registered when Save Project" in "Change
History". In addition, the revision title can be automatically set when overwriting by checking "Automatically set
revision titles".
Registration of project revisions for projects with security
For the projects with security, the revisions can be registered only when the user's access level is 'Administrators'.
4.6.2
Screen display
Select [Project] [Project Revision] [Revision List].
Display contents
Item
4 - 40
Description
No.
Date
User
For the projects with security, display the user names who have registered the revisions.
Title
Screen button
Displays the detailed information of the revision which is selected in the list. "Title" and "Comment"
can be edited.
OVERVIEW
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Section 4.6.1)
Section 4.6.3)
Section 4.6.4)
PROJECT
MANAGEMENT
Verifies the revision with other revisions or the projects being edited. (
Section 4.6.5)
Operating procedure
Section 4.6.2).
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
1.
SETTING
PARAMETERS
4.6.3
EDITING
PROGRAMS
4 - 41
GX Works2
4 PROJECT MANAGEMENT
2.
Click the
button.
3.
button.
4.
Click the
button.
Access level to be able to use the restoring function when using the projects with security
For the projects with security, the revisions can be restored only when the user's access level is 'Administrators'.
Revisions for the project with security
If the project being edited is the project with security, the registered security in the revision is deactivated when the
security is deactivated. When the revision is restored in such situation, all users can read the project including the
revision data because the project is restored without security.
To protect the revision data after deactivating the security, delete the revision data in advance.
Precautions on restoring projects
Register the revision of the project being edited before restoring a project.
When the other revision is restored and overwritten without registering the revision of the project being edited, the
project before restoration is overwritten.
4 - 42
4.6.4
OVERVIEW
Operating procedure
1.
SYSTEM
CONFIGURATION
Click the
button.
3.
Click the
button.
4.6.5
5
EDITING
PROGRAMS
Revision number
The deleted revision numbers are unused.
Revisions being restored
The revision of the project which has been restored from the revision cannot be deleted. To delete the revision,
overwrite and save the project after restoring it.
PROJECT
MANAGEMENT
2.
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Verifying revisions
6
SETTING
PARAMETERS
Verify the revision information with other revision information or the project being edited.
The following data can be selected as verification targets for the revision verification.
Programs
Parameters
Intelligent function module parameters (initial setting/auto refresh)
Device comments
Device memory data
QD75/LD75 positioning module
For FXCPU, only programs and parameters are the verification targets.
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
4 - 43
GX Works2
4 PROJECT MANAGEMENT
Operating procedure
1.
Section 4.6.2).
When the verification function is performed selecting only one revision, the selected revision
information is verified with the project being edited.
To verify two revisions, select two revisions with pressing the
2.
Click the
key or
button.
3.
Click the
button.
4.
5.
Click the
button.
4 - 44
Section 4.2.7)
key.
This section explains how to utilize projects created with GX Developer or GX IEC Developer, and files (ASCII
files) created using the Export function of GX IEC Developer in GX Works2. Projects edited with GX Works2
can also be utilized in GX Developer.
OVERVIEW
4.7
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
4
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
SYSTEM
CONFIGURATION
4 - 45
GX Works2
4 PROJECT MANAGEMENT
Section 4.7.2)
Read ASC
Format File
Section 4.8)
[Export to GX Developer
Format File]
4 - 46
Each project and data created with GX Developer or GX IEC Developer are stored in the areas shown
in the table below with GX Works2.
GX Developer projects are opened as Simple projects and GX IEC Developer projects, as Structured
projects.
GX Works2
(Simple project)
GX Works2
(Structured project)
Parameter
Parameter
Device Comment
Parameter
Global Device Comment
Global variables
Global Label
Global Label
Program
Program
POU
FB
FB_Pool
FB/FUN
Structure
Device memory
Device Memory
Device Memory
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
GX Developer
Comparison of projects and data storage locations between GX IEC Developer and GX Works2
User Library
User Library
Parameter
DUT_Pool (Structure)
Global Label
Task_Pool
POU
POU_Pool
POU
PROJECT
MANAGEMENT
GX Works2
(Structured project)
GX IEC Developer
2
SYSTEM
CONFIGURATION
Comparison of projects and data storage locations between GX Developer and GX Works2
OVERVIEW
6
SETTING
PARAMETERS
The security level in the GX IEC Developer project is cleared after reading the project.
When the GX IEC Developer project is read using GX Works2, the following Enter Password
screen is displayed.
EDITING
PROGRAMS
Compatible applications
For 'Open Other Project' and 'Export to GX Developer Format File', the supported versions may
differ depending on the CPU type.
For the application compatibility, refer to Appendix 5.
4 - 47
8
SETTING DEVICE
INITIAL VALUES
SETTING DEVICE
MEMORY
GX Works2
4 PROJECT MANAGEMENT
4.7.1
Head
FX
FX
Screen display
Select [Project] [Open Other Data] [Open Other Project].
Operating procedure
button.
Select '*.gpj' for a GX Developer project and '*.pro' for a GX IEC Developer project.
The selected project is opened.
4 - 48
2
SYSTEM
CONFIGURATION
Values set in GX Developer are utilized to the secured steps for Online program change (
Section
12.1.1) and the writing range of device comment (
Section 12.1.3) which are set when writing data
to programmable controller CPU.
Note that "PLC comment write format (CPU Format)" which is set along with the writing range of
device comment in GX Developer is not utilized, because GX Works2 does not support this function.
For a project in which the comment capacity is restricted by setting "PLC comment write format (CPU
Format)" in GX Developer, the comment capacity may be exceeded when data are written to a
programmable controller CPU using GX Works2.
In such a case, reduce the writing range of device comment.
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
4
PROJECT
MANAGEMENT
When the common pointer number is not set in the PLC parameter setting of GX Developer, a
compilation error may occur at the compilation after opening the project in other format. In such case,
change "Common Pointer No." on the <<PLC System>> tab of PLC parameter or change the pointer
device range in the device/label automatic-assign setting.
OVERVIEW
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
4 - 49
GX Works2
4 PROJECT MANAGEMENT
4.7.2
Head
FX
Add ASC format data created in GX IEC Developer to a GX Works2 project being edited.
Data can be added only when a new project is created or a project is opened in Structured project.
Screen display
Select [Project] [Open Other Data] [Read ASC Format File].
Operating procedure
button.
4 - 50
Head
FX
FX
For the method for utilizing a project file created with GX Configurator-QP to add an intelligent function
module, refer to the following manual.
OVERVIEW
4.7.3
2
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
4 - 51
GX Works2
4 PROJECT MANAGEMENT
4.8
Head
FX
FX
This section explains how to save a Simple project of GX Works2 in the GX Developer format.
Screen display
Select [Project] [Export to GX Developer Format File].
Operating procedure
1.
2.
button.
4 - 52
Head
FX
FX
2
SYSTEM
CONFIGURATION
Screen display
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
OVERVIEW
4.9
4 - 53
GX Works2
4 PROJECT MANAGEMENT
4.10
Head
FX
This section explains how to set security for projects to protect the projects themselves and the data in
projects.
Setting security not only restricts an access to projects but also prevents the data, such as POUs, device
comments, and parameters, that are created by the user from erroneous modification and/or disclosure to
unauthorized users.
This function cannot restrict writing/reading of data to/from a programmable controller CPU. Use the online
password function to protect the data in a programmable controller CPU. (
Chapter 13)
An access to data can be restricted by setting an access level to the individual user.
An access level is an operating authority given to a login user of the project.
There are five access levels as shown below. The data that can be edited by a user having lower
access level can also be edited by a user who has higher access level.
Access level
Higher
Administrators
Developers(Level3)
Developers(Level2)
Developers(Level1)
Users
Lower
Operating authority
<Administrator level>
All operations are possible.
<Developer level>
Security setting, data access, and a part of operations are restricted.
<Operator level>
Only access to project data is possible.
Data cannot be read from the programmable controller CPU.
<Example>
The data with access authority of Developers(Level2) can be edited by a login user whose access level
is Developers(Level2) or higher (Administrators, Developers(Level3) or Developers(Level2)).
4 - 54
OVERVIEW
The following tables show the data to which access authority can be applied.
Simple project
Items in Project view
*1
SYSTEM
CONFIGURATION
Parameter
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Global Label
Program
*1
ST program data
Program
Local Label
SFC program data
SFC block
4
PROJECT
MANAGEMENT
Local Label
Program
Local label*1
FB_Pool
Program
Structured data
Local Device Comment
EDITING
PROGRAMS
Local label
Structured Data Types
Comment data
Device Memory
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
*1 :
4 - 55
GX Works2
4 PROJECT MANAGEMENT
Structured project
Items in Project view
Parameter
Intelligent Function Module*1
Intelligent function module data
SFC program
Program
Local Label
structured ladder/FBD program data
Program
Local Label
FB/FUN
Program
Local label
Structured Data Types
Structured data
Local Device Comment
Comment data
Device Memory
*1 :
4 - 56
OVERVIEW
Section 4.10.3)
SYSTEM
CONFIGURATION
4.10.1
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Screen display
Select [Project] [Security] [User Management].
PROJECT
MANAGEMENT
Operating procedure
Item
Description
Enter a user name in 1 to 20 characters, using alphabets, numerals, and/or symbols
corresponding to the ASCII codes (Appendix 3) of 20H to 26H and 28H to 7EH. (Alphabets are
case-sensitive.)
Access Level
Password
Re-enter Password
2.
Click the
6
SETTING
PARAMETERS
User Name
EDITING
PROGRAMS
button.
8
SETTING DEVICE
INITIAL VALUES
Setting security
When security is set for a project, the project is in the status logged in by the set user (Administrators). The current
login user can be checked in the status bar. (
Section 3.2.6)
Loss of login password
If a user forgets the login password, logging in to the project is disabled. Remember the password securely. If the
user whose access level is Developers(Level3) or lower forgets the password, log in the project using the access
level 'Administrators' and set the password again.
SETTING DEVICE
MEMORY
1.
4 - 57
GX Works2
4 PROJECT MANAGEMENT
Reset the set security of a project by deleting all users, and returns the project to the status without
security. (
4.10.2
Section 4.10.2)
Manage the registered status of users for a project with security. This function also adds/deletes/
changes users.
This function is available only when a project is logged in by the user whose access level is
'Administrators' or 'Developers'.
Screen display
Select [Project] [Security] [User Management].
Display contents
Item
4 - 58
Description
Number of User
Registrations
Display the number of registered users and the number of registrable users.
User Name
Access Level
Screen button
Adding users')
'
4
PROJECT
MANAGEMENT
Adding users
Operating procedure
1.
2
SYSTEM
CONFIGURATION
'
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Adds a user. (
OVERVIEW
Click the
button on the
User Management screen.
EDITING
PROGRAMS
3.
Description
User Name
Access Level
Password
Re-enter Password
Click the
button.
SETTING DEVICE
MEMORY
Item
SETTING DEVICE
INITIAL VALUES
2.
SETTING
PARAMETERS
4 - 59
GX Works2
4 PROJECT MANAGEMENT
Change the user information (user name and access level) of registered users.
The information of the login user and the user whose access level is higher than that of login user
cannot be changed.
Operating procedure
1.
Click the
button on the
User Management screen.
The Change User Data screen is displayed.
2.
3.
Click the
Section 4.10.1
button.
Changing passwords
Change the password of the user selected in the list on the User Management screen.
The password of the login user and the user whose access level is higher than that of the login user
cannot be changed. To change the password of the login user, use the Change password function by
selecting [Project] [Security] [Change Password].
Operating procedure
1.
Click the
button on the User
Management screen.
The Change Password screen is displayed.
2.
3.
Click the
button.
4 - 60
4.10.3
Logging in projects
OVERVIEW
Screen display
Screen display when a project with security is opened.
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Operating procedure
Item
2.
User Name
Password
Click the
PROJECT
MANAGEMENT
1.
button.
Section 3.2.6)
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
5
EDITING
PROGRAMS
Login authentication is performed with the entered user name and password. The project is
opened when the entry is confirmed to be correct.
4 - 61
GX Works2
4 PROJECT MANAGEMENT
4.10.4
Screen display
Select [Project] [Security] [Data Security Setting].
Operating procedure
1.
2.
Description
Access Object
Access Authority
Set 'enable/disable' of reading/writing data for each access level by moving the
slider.
Click the
button.
4 - 62
1)
<Project view>
2
SYSTEM
CONFIGURATION
A name of read protected data is displayed in gray and cannot be opened. On the screens of
project verification and programmable controller verification, a lock mark icon is appended.
The following figures are an example for the case that "Parameter", programs and local labels of
"MAIN1", and programs of "MAIN2" are read protected.
OVERVIEW
4.10.5
<Project verification>
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
4
PROJECT
MANAGEMENT
5
EDITING
PROGRAMS
The properties of the read/write protected data can be displayed, but cannot be edited.
4)
Device comment display on ladder editor and the Sampling Trace screen
If the data of the device comment is set as read protected, the device comment is not displayed on
ladder editor or the Sampling Trace screen.
Reading symbolic information from programmable controller CPU using project with security
When symbolic information*1 is read from a programmable controller CPU, the security settings
(settings on the Setup Access Authority screen) of the data, which are not included in the symbolic
information, are set to their default.
If the settings on the Setup Access Authority screen are changed, make settings again after
reading data from the programmable controller CPU.
Note that the block password*2 is not set to default even when the symbolic information is read.
Therefore, setting a block password to each POU is recommended.
*1 :
Symbolic information (
*2 :
Block password (
Section 12.1.5)
Section 4.11)
SETTING DEVICE
INITIAL VALUES
5)
SETTING
PARAMETERS
3)
SETTING DEVICE
MEMORY
2)
4 - 63
GX Works2
4 PROJECT MANAGEMENT
4.11
Head
FX
FX
This section explains how to set a block password to a POU in a project with labels.
Setting a block password to a POU*1 disables browsing of program contents. To browse program contents,
the block password must be unlocked.
The following table shows the POUs to which a block password can be set.
Project type
Simple project (without labels)
Function block
Structured project
Program block
Function block
Function
4 - 64
Manage the block password setting status of a POU. In addition, this function sets/unlocks/deletes a
block password.
Screen display
OVERVIEW
4.11.1
2
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Item
PROJECT
MANAGEMENT
Display contents
Description
POU Name
Display POUs.
Registration Status
Screen button
EDITING
PROGRAMS
Section 4.11.2)
Section 4.11.3)
Deletes the registered block password. The block password of the POU must be unlocked before
deleting it.
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
4 - 65
GX Works2
4 PROJECT MANAGEMENT
4.11.2
Operating procedure
1.
<QCPU (Q Mode)/LCPU>
button.
The Change Block Password screen is
displayed.
<FXCPU>
2.
program*1
*1 :
3.
Description
Enter a password in 6 to 32 characters, using alphabets, numerals, and/or symbols
corresponding to the ASCII codes (
Appendix 3) of 20H to 7EH. (Alphabets are casesensitive.)
Click the
button.
4 - 66
4.11.3
OVERVIEW
Operating procedure
2
SYSTEM
CONFIGURATION
Item
Password
Description
Enter the block password to be unlocked.
4
Click the
button.
EDITING
PROGRAMS
SETTING
PARAMETERS
7
SETTING DEVICE
MEMORY
3.
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
8
SETTING DEVICE
INITIAL VALUES
2.
PROJECT
MANAGEMENT
1.
4 - 67
GX Works2
4 PROJECT MANAGEMENT
MEMO
4 - 68
EDITING PROGRAMS
2
SYSTEM
CONFIGURATION
OVERVIEW
This chapter explains the functions of the program editors used to edit sequence programs.
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
4
PROJECT
MANAGEMENT
Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Label Programming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Precautions on Using Label Projects . . . . . . . . . . . . . . . . . . . 5-4
Converting/Compiling Projects . . . . . . . . . . . . . . . . . . . . . . . . 5-9
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
5.1
5.2
5.3
5.4
5 -1
GX Works2
5 EDITING PROGRAMS
5.1
Programming
FX
Q CPU L CPU Remote
Head
FX
FX
FX
Q CPU L CPU Remote
Head
FX
FX
5.2
Label Programming
Section 4.5)
General-purpose programs created with the label programming can be utilized for other programs,
because device assignment can be changed according to the equipment configuration.
Programs can be created using labels without knowing the equipment configuration.
Labels and actual devices are associated as the equipment configuration is determined. This function
allows easier creation of execution programs.
By simply specifying a label assignment method, devices are assigned automatically with the
program compilation function without being aware of device names/device numbers.
Debugging can be performed effectively by monitoring/debugging programs without changing label
names.
5 -2
Section 4.2.1)
Program
Execution program
Actual device
Global label
Labels available for all program data when multiple program data are
created in a project.
Local label
The following is an image of writing/reading label project data to/from a programmable controller CPU
in GX Works2.
< Writing data to programmable controller CPU >
GX Works2 (Label project)
Program
Local label
Write to PLC
Global label
SETTING
PARAMETERS
Program
Local label
Write to PLC
Programmable
controller CPU
Execution program
Symbolic information
SETTING DEVICE
MEMORY
Execution program
Symbolic information
Write to PLC
2
SYSTEM
CONFIGURATION
New projects created with the selection of the "Use Label" item on the
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Label project
Description
PROJECT
MANAGEMENT
Term
EDITING
PROGRAMS
Project view
OVERVIEW
Symbolic information
Program
Local label
Local label
Global label
SETTING DEVICE
INITIAL VALUES
Program
5 -3
GX Works2
5 EDITING PROGRAMS
5.3
Head
FX
FX
5.3.1
1)
Editing programs
Label comments set on the label setting editor are displayed as comments to labels. Comments
created on the device comment editor are not displayed.
Up to 1024 characters can be set for label comments, however, the number of characters that can
be displayed is 32.
2)
When the same label is set for global label/local label, the label comment set for local label setting
is displayed.
3)
The index setting cannot be set when labels are used. Use actual devices to set the index setting.
1)
When an instruction in which data are stored to multiple word devices is used as shown below,
specify an array for the label in the storage destination of operation result.
Division (Storing values such as quotient and remainder of division)
Instructions such as the block data transfer instruction (BMOV)
[ Storage example when division is specified with array ]
a Setting
Label name
Device type
Number of elements
Program
: Value_A
: Array (word)
:2
: [/ D0 D1 Value_A]
2 words required
b Operation result
2)
Value_A[0]
Value_A[1]
(Quotient)
(Remainder)
When setting arrays, be aware of device types and the number of elements in the data storage
destination.
If the setting is incorrect, the content of devices assigned to other labels may be overwritten.
[ Example of incorrect device type setting ]
a Setting
Label name
Device type
Program
: Value_A
: Double word
: [D* D0 D2 Value_A]
4 words required
b Operation result
Data register
Device range assigned
to Value_A
d [1]
d [2]
d [3]
d [4]
d [5]
For the above example, assign 4 words to the label (Value_A) in the storage destination of
operation result.
To assign 4 words, set the following setting on the label setting editor.
Device type: Array (double word) Number of elements: 2
After compilation, the consecutive device ranges for 4 words are secured.
5 -4
Do not overlap the device ranges which are stored as execution result of instruction when
assigning devices with global labels.
OVERVIEW
If the setting is incorrect, the content of devices assigned to other labels may be overwritten.
[ Example of incorrect device setting ]
a Setting
Label name
Device type
Number of elements
Device
Program
: Value_A
: Array (Double word)
:2
: D100
: [D* D0 D2 Value_A]
Label name
Device type
Device
Program
: Value_B
: Double word
: D102
: [* D10 D11 Value_B]
2
SYSTEM
CONFIGURATION
4 words required
2 words required
b Operation result
Data register
D100
D101
D102
D103
D104
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
For the above example, assign the device of label (Value_B) to D104.
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
3)
5 -5
GX Works2
5 EDITING PROGRAMS
5.3.2
1)
In order to restore programs by reading symbolic information from the programmable controller
CPU, write symbolic information.
Symbolic information can be written by selecting the following item on the execution screen of
Write to PLC/Online program change.
Write to PLC: Symbolic Information
Online program change: Write Symbolic Information to PLC
Note that symbolic information and execution programs can be written to separate memories.
Specify the write destination memory for "Target Memory". The default setting of write destination
memory for symbolic information can be changed in the option setting. Set "Setting for Save
Destination of Symbolic Information to PLC" under [Tool] [Options] "Symbolic Information".
< Write to PLC >
Symbolic information and all execution programs
are selected when "Symbolic Information" is selected.
The program which is consistent with the symbolic
information can be written to the programmable
controller CPU.
GX Works2
Symbolic information
Program 1
Program 2
Local label
Local label
Execution program 2
Symbolic information
When the Write to PLC/Online program change operation is performed on execution programs
only, program inconsistency occurs. This operation must be performed on both symbolic
information and execution programs.
2)
When writing data to a programmable controller CPU, the confirmation message asking "Do you
want to overwrite?" may be displayed as corresponding to the execution programs. The symbolic
information will not be written normally if "No" was selected. Perform the data write operation
again, and complete the operation normally.
1)
When an area to store symbolic information cannot be secured on the programmable controller
CPU, write execution programs only.
Projects contain symbolic information must be kept securely on a personal computer.
2)
5 -6
5.3.2 Writing programs to programmable controller CPU (Write to PLC/Online program change)
1
OVERVIEW
1)
2)
When reading data from a programmable controller CPU, specify the memory to which the
symbolic information is stored for "Target Memory" of symbolic information.
3)
Do not perform the Read from PLC operation on the symbolic information when the symbolic
information and the execution programs on the programmable controller CPU are not consistent.
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
When the symbolic information is read with program inconsistency, the execution programs which
are running on the programmable controller CPU cannot be restored. Check the date of the Write
to PLC operation which was performed on the symbolic information and the execution programs,
and prevent from performing the Read form PLC operation with program inconsistency. Date of the
data write operation can be checked with the column of "Last Change" on the Online Data
Operation screen for "Delete PLC Data".
SYSTEM
CONFIGURATION
6
SETTING
PARAMETERS
The following are the precautions when symbolic information needs to be read with program
inconsistency.
Create backup data of symbolic information on a personal computer before performing the Read
from PLC operation.
Symbolic information on a personal computer will be overwritten with symbolic information on a
programmable controller CPU. To prevent from erasing the latest symbolic information, save the
project and create backup data of symbolic information.
The following message is displayed when the Read from PLC operation is performed with
program inconsistency.
Follow the instruction described in the message.
PROJECT
MANAGEMENT
EDITING
PROGRAMS
5.3.3
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
5.3.3 Reading programs from programmable controller CPU (Read from PLC)
5 -7
GX Works2
5 EDITING PROGRAMS
1)
5.3.4
Verifying programs
Symbolic information cannot be verified. The program verification operation can be performed on
execution programs only.
5.3.5
Monitoring programs
5 -8
Head
FX
FX
This section explains how to convert/compile an edited project to convert it into the code executable on the
programmable controller CPU.
The following table shows the conversion/compilation types depending on project types.
Project type
Simple project
(without labels)
Conversion/compilation type
Description
Build
Fix changes.
Rebuild All
Build
Rebuild All
4
PROJECT
MANAGEMENT
2
SYSTEM
CONFIGURATION
FX
Q CPU L CPU Remote
OVERVIEW
Converting/Compiling Projects
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
5.4
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
5 -9
GX Works2
5 EDITING PROGRAMS
MEMO
5 - 10
SETTING PARAMETERS
This chapter explains the setting items, operations on the setting screens, and common notes on parameter
settings.
For necessary information and details of settings, refer to the manuals of each module to be used.
SYSTEM
CONFIGURATION
OVERVIEW
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
4
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6.1
6.2
6.3
6.4
6 -1
GX Works2
6 SETTING PARAMETERS
6.1
Screen display
Select Project view "Parameter" "PLC Parameter".
Display contents
Item
Description
The setting items are categorized under tabs according to their purpose.
The parameter setting status is displayed by different font colors of the tab names.
Font color
Tab
Setting status
Red
Blue
Magenta
Default values
(The user has not made settings under the tab.)
Dark blue
6 -2
Section 6.1.1
Head
FX
Screen button
Section 20.7)
SYSTEM
CONFIGURATION
Section 20.9)
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Resets all setting items on the screen being open to their defaults.
Checks whether the user-set parameters on the screen being open are correct.
6
SETTING
PARAMETERS
PROJECT
MANAGEMENT
EDITING
PROGRAMS
Executes printing. (
OVERVIEW
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
6 -3
GX Works2
6 SETTING PARAMETERS
6.1.1
The following table shows the applicable PLC parameter items for each programmable controller type.
For details of each item, refer to the following manuals.
(
Basic model
QCPU
High Performance
model QCPU /
Universal model
QCPU
L series
Remote
I/O
module
LCPU
FX series
Communication
head module
PLC Name
PLC System
*1
SFC
Device
PLC File
PLC RAS
*2
Boot File
Program
I/O Assignment
Multiple CPU Setting
*3
*3
*4
Memory Capacity
Positioning
Operation Setting
Serial Communication
6 -4
FXCPU
*5
*6
*1 :
For FXCPU, PLC System is separated into PLC System (1) and PLC System (2).
*2 :
*3 :
*4 :
*5 :
Q00/Q01 only
*6 :
Q00UJ/Q00U/Q01U/Q02U/QnUD(H)CPU only
Label
Comment
Description
SYSTEM
CONFIGURATION
PLC System
Item
Remarks
RUN-PAUSE Contacts
Universal model
QCPU/LCPU only
Remote Reset
Floating Point
Arithmetic Processing
Intelligent Function
Module Setting
Module Synchronization
Set the start number of the common pointers used in the program.
Not applicable to
Basic model QCPU
Points Occupied by
Empty Slot
Set the number of points occupied by empty slots for the main base
unit/extension base unit.
System Interrupt
Settings
High Performance
model QCPU only
Set the fixed scan interval for high-speed interrupt pointers, high-speed
I/O refresh, and high-speed buffer transfer.
A-PLC Compatibility
Setting
Service Processing
Setting
Set the processing time and the number of times of service processing.
High Performance
model QCPU only
Not applicable to
Basic model QCPU
Universal model
QCPU/LCPU only
PLC File
Item
Description
Remarks
File Register
Set the device data ROM write/read instruction file to be used in the
program.
Universal model
QCPU/LCPU only
Not applicable to
Basic model QCPU
Not applicable to
Basic model QCPU
Universal model
QCPU/LCPU only
L26-BT/L26-PBT only
Interrupt Program/Fixed
Set whether to perform high-speed execution of an interrupt program.
Scan Program Setting
3)
OVERVIEW
Remarks
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
2)
Description
Set a label (name and application) of the programmable controller
CPU.
PROJECT
MANAGEMENT
Item
EDITING
PROGRAMS
PLC Name
SETTING
PARAMETERS
1)
6 -5
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
GX Works2
6 SETTING PARAMETERS
4)
PLC RAS
Item
Description
Set the WDT of the programmable controller CPU.
5)
Constant Scanning
Breakdown History
High Performance
model QCPU only
High Performance
model QCPU only
Universal model
QCPU/LCPU only
Boot File
Description
Remarks
Not applicable to
Basic model QCPU
Not applicable to
Basic model QCPU
Set the type, data name, transfer source drive, and transfer destination
drive of the boot file.
Not applicable to
Basic model QCPU
Program
Item
Description
Remarks
Program
Set the file name and execution type (executing condition) for
programs when several programs are written to the programmable
controller CPU.
Set the fixed scan interval (the execution interval of a fixed scan
execution type program).
Not applicable to
Basic model QCPU
Not applicable to
Basic model QCPU
High Performance
model QCPU only
SFC
Item
6 -6
High Performance
model QCPU only
Boot Option
7)
Error Check
Item
6)
Remarks
Description
Remarks
Start Conditions
Device
Remarks
Set the latch range (start device number/end device number) clearable
with the RESET/L.CLR switch or a remote latch clear operation.
Set the latch range (start device number/end device number) not
clearable with the RESET/L.CLR switch or a remote latch clear
operation.
Universal model
QCPU/LCPU only
Set the start number of Z to be 32-bit indexed, or use the index register
ZZ for 32-bit index setting.
Universal model
QCPU/LCPU only
Description
Remarks
Item
Set the type, model, number of occupied I/O points, and start I/O
number of each module mounted on the base unit.
I/O Assignment
Universal model
QCPU/LCPU only
Set the model and the number of slots of the base unit, the model of
the power supply module, and the model of the extension cable.
Not applicable to
LCPU
Item
Description
Remarks
No. of PLC
Operation Mode
Set the operation mode of the multiple CPU system when a stop error
occurs in any of the programmable controller CPU No.2 to No.4.
The multiple CPU system stops when a stop error occurs in the CPU
No.1 module.
Host Station
Multiple CPU
Synchronous Startup
Setting
4
PROJECT
MANAGEMENT
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
I/O Assignment
SYSTEM
CONFIGURATION
Device Points
Universal model
QCPU (excluding
Q00UJ/Q00U/Q01U/
Q02U) only
Not applicable to
Q00U/Q01U/Q02U
Communication Area
Setting (Refresh
Setting)
Set the CPU shared memory to enable data sharing among multiple
CPUs.
(Usable devices: B, M, Y, D, W, R, and ZR)
Set the user setting area, auto refresh, assignment confirmation, and
system area.
Universal model
QCPU (excluding
Q00U/Q01U/Q02U)
only
7
SETTING DEVICE
MEMORY
I/O Sharing When Using Set whether to retrieve the I/O status of the I/O module or intelligent
Multiple CPUs
function module controlled by other programmable controller CPUs.
EDITING
PROGRAMS
9)
Description
Set the number of points used for each device of the programmable
controller CPU.
OVERVIEW
Item
SETTING
PARAMETERS
8)
SETTING DEVICE
INITIAL VALUES
6 -7
GX Works2
6 SETTING PARAMETERS
Description
IP Address Setting
Communication Data
Code
Set the protocol, open system, and host station port number.
Set whether to use the SNTP function, and set the timing of setting the
time.
Simple PLC
Communication Setting
Remarks
LCPU only
Description
Positioning
High-speed Counter
Set the operation mode of high-speed counter CH1 setting and highspeed counter CH2 setting.
Input Signal
Set the input signal function, input response time, and interrupt
processing condition.
Output Signal
Select the output signal function and error time output mode.
Remarks
LCPU only
Description
Transmission Speed
Sum Check
6 -8
Remarks
1)
Description
1
OVERVIEW
Remarks
PLC Name
Label
Comment
Item
Description
Remarks
Description
Remarks
PROJECT
MANAGEMENT
Item
Operation Setting
Item
Description
Remarks
Assignment Method
Forwarding Parameter
between Devices
Item
I/O Assignment
Description
EDITING
PROGRAMS
I/O Assignment
Remarks
Set the type, model, number of occupied I/O points, and start I/O
number of each module mounted on the base unit.
Set the switch settings of the programmable controller CPU.
SETTING
PARAMETERS
6)
PLC RAS
Module Error History
Collection (Intelligent
Function Module)
5)
PLC System
Remote Reset
4)
Remarks
7
SETTING DEVICE
MEMORY
3)
Description
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Item
8
SETTING DEVICE
INITIAL VALUES
2)
SYSTEM
CONFIGURATION
Set whether to hold (store) the error history and system error history
in a flash ROM at power off or reset.
6 -9
GX Works2
6 SETTING PARAMETERS
1)
PLC system
Item
2)
Description
Points Occupied by
Empty Slot
Set the number of points occupied by empty slots for the main base
unit/extension base unit.
Description
Remarks
PLC RAS
Item
3)
Error Check
Description
Remarks
Operation Setting
Item
4)
Remarks
Assignment Method
Forwarding Parameter
between Devices
I/O Assignment
Item
I/O Assignment
Description
Set the type, model, number of occupied I/O points, and start I/O
number of each module mounted on the base unit.
Set the switch settings of the programmable controller CPU.
Remarks
6 - 10
Set the model and the number of slots of the base unit, the model of
the power supply module, and the model of the extension cable.
OVERVIEW
SYSTEM
CONFIGURATION
by clicking the
function.
button on the <<I/O Assignment>> tab. Read the message and execute the
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
ZR10ZZ0 ]
PROJECT
MANAGEMENT
Usable
ZZ0
]
Not usable
To confirm the current value of the ZZ device, specify Z and set the display format to 32-bit integer, on the Device/
Buffer Memory Batch Monitor screen.
Program settings
Executing conditions set in the program setting of the PLC parameter are reflected to "Program Setting" in the
Project view. Program settings can also be set in the Project view.
Program Setting in the Project view
Section 4.2.1
<Setting screen for PLC parameter>
<Project view>
6
SETTING
PARAMETERS
[DMOV K0
EDITING
PROGRAMS
X1
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 - 11
GX Works2
6 SETTING PARAMETERS
For FXCPU, PLC parameter setting items are different depending on the programmable controller type.
1)
PLC Name
Item
Title
2)
Description
3)
Description
Remarks
Battery Mode
Set this to operate the programmable controller CPU with the memory
backup battery.
FX3G only
MODEM Initialized
Select the modem initialization command for the remote access to the
programmable controller CPU.
Select the input number to use the input (X) of the programmable
controller CPU as the external RUN/STOP terminal.
Description
Channel selection
Operate
Communication Setting
Protocol*1
Data Length
*1
*1
Stop Bit*1
Transmission Speed*1
*1
Terminator*1
Control Line
*1
H/W Type*1
Control Mode
*1
Sum Check
Transmission Control
Procedure*1
Station Number
Setting*1
Time Out Judge Time*1
*1 :
*1
Remarks
Parity
Header
6 - 12
Remarks
FX1, FX0N, FXU, FX2C,
FX1S, FX1N, FX2N,
FX3G, FX3U, FX1NC,
FX2NC, and FX3UC
only
Device
Item
Description
Memory Capacity*1
Symbolic Information
Capacity*2
clicking the
button.
Comments Capacity
Program Capacity
Special Function
Memory Capacity
*1 :
When the symbolic information is saved in a built-in memory or a memory cassette, the symbolic
information is deleted by changing the memory capacity and writing the parameters. In this case, write
the symbolic information again.
*2 :
This item is not printed with the batch print function or the print window function.
Description
Set the initial value of special extension modules/blocks.
Set the Built-in CC-Link/LT Setting.
Special Function Block Settings
Positioning
Remarks
Set the bias speed, max. speed, creep speed, zero return speed,
acceleration time, deceleration time, and interruption input of DVIT
instruction for each axis.
Set the details of the positioning table for each axis.
OVERVIEW
6
SETTING
PARAMETERS
3)
Remarks
FX0, FX0S, FX1, FX0N,
FXU, FX2C, FX1S,
FX1N, FX2N, FX3G,
FX3U, FX1NC, FX2NC,
and FX3UC only
SYSTEM
CONFIGURATION
Memory Capacity
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
7
SETTING DEVICE
MEMORY
5)
Remarks
FX1, FXU, FX2C,
FX2N, FX3U, FX2NC,
and FX3UC only
PROJECT
MANAGEMENT
Device
Description
EDITING
PROGRAMS
Item
8
SETTING DEVICE
INITIAL VALUES
4)
6 - 13
GX Works2
6 SETTING PARAMETERS
6.1.2
Screen display
Select Project view "Parameter" "PLC Parameter"
Display contents
Item
XY No.
Description
Display the I/O number.
Display the content set in the Network parameter.
Display in Network column
PLC network/CC IE (Slot n)
Network
Blank
Type
Description
MELSECNET. CC-Link IE
Not set.
n: Slot number of the module (excluding Ethernet)
Display whether the I/O assignment setting is set in the PLC parameter.
I/O
Assignment
Slot
Module Type
Points
Description
I/O assignment is set.
I/O assignment is not set.
Display the slot, module type, number of occupied I/O points, and model name when
the I/O assignment setting is set in the PLC parameter.
Display the I/O assignment status as follows when the I/O assignment setting in the
PLC parameter is not set and X/Y devices are assigned in the Network parameter.
Item
Model Name
Description
"Slot" to "Points"
Assignment of X devices
"Model Name"
Assignment of Y devices
Display the module in which the first duplication is detected by parameter check.
Display in Duplication column
Duplication
MNET/CC IE (Slot 1)
to
MNET/CC IE (Slot 16)
CC-Link
6 - 14
Description
Network parameter of MELSECNET or
CC-Link IE (slot 1 to slot 16)
CC-Link remote I/O
When a setting screen other than PLC parameter setting screen is being opened
When the MELSECNET/CC IE/Ethernet Module Configuration screen or the Setting for the CC-Link List screen
is displayed, set data of the previous setting are checked for duplication because the setting is not completed.
Priority in the parameter check
The following table shows the priority in when GX Works2 checks the parameter settings.
Display
I/O assignment
17
18
SYSTEM
CONFIGURATION
Priority
OVERVIEW
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
6 - 15
GX Works2
6 SETTING PARAMETERS
6.2
Head
Screen display
Select Project view "Parameter" "Network Parameter" "Ethernet/CC IE/MELSECNET" /
"CC IE Field" .
The screen below is a screen for MELSECNET/CC-Link IE/Ethernet module configuration.
Screen button
Section 6.1.2)
6 - 16
FX
OVERVIEW
Displays the Help - Network Setting screen for network range assignment.
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Executes printing. (
Section 20.7)
4
PROJECT
MANAGEMENT
Section 20.9)
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 - 17
GX Works2
6 SETTING PARAMETERS
Screen display
Select Project view "Parameter" "Network Parameter" "CC-Link".
The following is an example of setting screen when QCPU (Q mode) is selected.
Screen button
Executes printing. (
Section 20.7)
Section 20.9)
Section 6.1)
6 - 18
The following table shows the applicable network parameter types for each programmable controller
type.
For details of each item, refer to the following manuals.
(
OVERVIEW
6.2.1
2
Basic model
QCPU
High Performance
model QCPU
CC-Link IE Controller
Network*1
CC-Link IE Field Network
L series
Universal model
QCPU
Remote I/O
module
LCPU
Communication
head module
MELSECNET/10
MELSECNET/H
MELSECNET/H
Remote I/O
Ethernet
CC-Link
4
PROJECT
MANAGEMENT
CC-Link IE Controller Network modules with the function version D and a serial number whose first 5 digits
are '10041' or higher are supported.
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
*1 :
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Network type
SYSTEM
CONFIGURATION
6 - 19
GX Works2
6 SETTING PARAMETERS
CC-Link IE setting
Item
Description
Network Type
Specify the network type (CC-Link IE) whose parameters are to be set.
Network No.
Total Stations
Group No.
Station No.
Mode
Network Range
Assignment/
Network
Configuration
Settings
(Common
parameters)
Specify
Reserved
Station*1
Equal
Assignment
Identical Point
Assignment
Assign the same number of link device points based on the total number of set
stations.
Shared Group
Setting*2
Supplementary
Setting
Set the parameter name, data link faulty station setting, output setting during CPU
STOP, and other settings.
Refresh Parameters
Interrupt Settings
Set the device code, detection method, interrupting condition, interrupt (SI)
number, and other settings.
number
6 - 20
*1 :
*2 :
Applicable only when the control station of the CC-Link IE Controller Network is selected in a project for
Universal model QCPU.
*3 :
Network Type
Start I/O No.
Network No.
Total Stations
Group No.
Network Range
Assignment
(Common
parameters)
SYSTEM
CONFIGURATION
Mode
Specify I/O
Master Station
Specify
Reserved
Station
Equal
Assignment
Identical Point
Assignment
Assign the same number of link device points based on the total number of set
stations.
Supplementary
Setting
Set the transient setting, low-speed cyclic setting, and other settings.
Station Inherent
Set station inherent parameters.
Parameters
Set refresh parameters.
Interrupt Settings
Set the device code, detection method, interrupting condition, interrupt (SI)
number, and other settings.
Set the baud rate on modules that support the twist bus.
PROJECT
MANAGEMENT
Refresh Parameters
MELSECNET/H (control station) and MELSECNET/H extended mode (control station) only
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
*1 :
OVERVIEW
Item
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
6 - 21
GX Works2
6 SETTING PARAMETERS
Description
Network Type
Network No.
Total Stations
Mode
Network Range
Assignment
(Common
parameters)
Specify
Reserved
Station
Equal
Assignment
Supplementar Sets the constant scan time and the maximum number of return stations in one link
scan.
y Setting
Refresh Parameters
Interrupt Settings
Set the device code, detection method, interrupting condition, interrupt (SI)
number, and other settings.
Ethernet setting
Item
Description
Network Type
Specify "Ethernet".
Network No.
Group No.
Station No.
Mode
Operation Setting
Initial Setting
Open Setting
Set information to link network number and station number with IP address for
communication target station or relay station when communicating with another
station programmable controller CPU via Ethernet.
FTP Parameters*1
Set FTP parameters such as the login name, password, command input monitoring
timer, and PLC monitoring timer.
E-mail
Setting
*1
General Setting
Set the password, e-mail address, and inquiry interval for receiving mails.
Set the SMTP server, POP server, and IP addresses for both servers.
News Setting
Interrupt Settings*1
*1 :
Set the device code, detection method, interrupting condition, interrupt (SI)
number, and other settings.
6 - 22
CC-Link setting
Operation Setting
Set the Parameter Name, Data Link Disorder Station, Case of CPU Stop Setting,
Number of Exclusive Station, Expanded Cyclic Setting, and Block Data Assurance
per Station.
Type
Station No.*1
The setting is fixed to "PLC Parameter Auto Start" for the master station.
Mode
Set the devices to refresh the data of RX, RY, RWr, and RWw.
PROJECT
MANAGEMENT
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Set the devices to refresh the data of RX, RY, RWr, and RWw for the remote
network additional mode.
Retry Count
Set the number of remote stations, local stations, intelligent device stations, and/or
standby master stations can be returned to the system in one link scan.
Specify the data link status when an error occurs in the programmable controller
CPU on the master station.
Specify whether to synchronize the link scan with the sequence scan.
Set the target station number and procedure registration (such as operating
condition and executing condition).
Interrupt Settings*2
Set the device code, detection method, interrupt condition, interrupt (SI) number,
and other settings.
*2 :
7
SETTING DEVICE
MEMORY
*1 :
EDITING
PROGRAMS
Transmission
Speed*1
OVERVIEW
Description
Set the number of CC-Link modules.
SYSTEM
CONFIGURATION
Item
Number of Modules
SETTING
PARAMETERS
SETTING DEVICE
INITIAL VALUES
6 - 23
GX Works2
6 SETTING PARAMETERS
6.3
Head
FX
This section explains how to set a password to prevent illegal access from remote users to the QCPU (Q
mode)/LCPU via a Q series-compatible E71 module, C24 module, Built-in Ethernet port QCPU or LCPU.
Screen display
Select Project view "Parameter" "Remote Password".
The following is an example of setting screen when QCPU (Q mode) is selected.
Operating procedure
1.
Description
Password
Password Active
Module Setting
2.
Click the
Start XY
Condition
button.
3.
6 - 24
Click the
button.
Section 12.1)
OVERVIEW
4.
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
SYSTEM
CONFIGURATION
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
6 - 25
GX Works2
6 SETTING PARAMETERS
6.4
Checking Parameters
Q CPU L CPU Remote
Head
FX
This section explains how to check errors in the PLC parameter and Network parameter which are set in the
project.
The result of the parameter check is displayed in the Output window.
Screen display
Select [Tool] [Check Parameter].
<QCPU (Q mode)/LCPU>
<FXCPU>
Operating procedure
1.
Description
2.
Click the
button.
The check parameter is performed, and the result is displayed in the Output window.
6 - 26
2
SYSTEM
CONFIGURATION
OVERVIEW
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
4
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
7.1
7.2
7.3
7.4
7 -1
GX Works2
7.1
Device Memory
FX
Q CPU L CPU Remote
Head
FX
FX
7.1.1
Device memory is the function that reads/writes data from/to the device memory in a programmable
controller CPU.
Read
The function batch-reads device memory data from a programmable controller CPU to GX Works2.
The read data can be used to check the status of the device memory in a programmable controller
CPU as well as for offline debugging.
Write
The function batch-writes device memory data from GX Works2 to a programmable controller
CPU.
The current values of the device memory in a programmable controller CPU can be batch
changed.
7 -2
QCPU (Q mode)/LCPU
: Can be edited U: Display only : Not supported
U
Internal relay
Latch relay
Annunciator
Edge relay
V
S
Link relay
B
SB
Retentive timer
Contact
TS
Coil
TC
Current value
Contact
CS
Coil
CC
Current value
ST
Contact
STS
Coil
STC
4
PROJECT
MANAGEMENT
Counter
Data register
Link register
W
SW
Direct input
DX
Direct output
DY
Special relay
SM
Special register
SD
Link input
\X
Link output
\Y
Link register
\W
\SW
Link relay
\B
\SB
*1
File register
File register
Index register
Index register
SETTING DEVICE
MEMORY
EDITING
PROGRAMS
Timer
Internal user device
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Step relay
Current value
Display/edit
Output
Symbol
X
SYSTEM
CONFIGURATION
Device type
Input
SETTING
PARAMETERS
Category
ZR*1,*2
\G
*1 :
*2 :
For Universal model QCPU/LCPU, the device cannot be used when '0k' is set for the "Device points"
of file register (ZR(R)) under "File Register Extended Setting" on the <<Device>> tab of PLC
parameter.
8
SETTING DEVICE
INITIAL VALUES
OVERVIEW
7.1.2
7 -3
GX Works2
FXCPU
: Can be edited U: Display only : Not supported
Display/edit
Category
Device type
FX0N
FX1
FX1S
FX1N
FX1NC
FXU
FX2C
FX2N
FX2NC
FX3G
FX3U
FX3UC
Input
Internal relay
State
Counter
T
*1
Data register
C
D
File register
Special relay
Extended register
ER
*1 :
7 -4
FX0
FX0S
Output
Internal
user device Timer
Internal
system
device
Symbol
Head
FX
FX
OVERVIEW
7.2
Screen display
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Device value
display area
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
Device number
display area
PROJECT
MANAGEMENT
7 -5
GX Works2
Inserting rows
Select [Edit] [Insert Row] to insert a blank row at the cursor position.
[Edit] [Insert Row]
7 -6
7.2.1
OVERVIEW
1.
2.
3.
Press the
SYSTEM
CONFIGURATION
Operating procedure
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
key.
PROJECT
MANAGEMENT
5
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4.
7 -7
GX Works2
7.2.2
Operating procedure
1.
2.
).
3.
Network No.*1
Range
Address
Display Mode
OCT
DEC
HEX
FLOAT
String
String
(ASCII only)
Register
Device value
*1 :
7 -8
Description
Select the device name.
For devices that can be edited, refer to Section 7.1.2.
32-bit
Select this to display the display size of device values in double words.
Specify the device range in multiples of two.
64-bit
Select this to display the display size of device values in double-precision real numbers.
Specify the device range in multiples of four.
Enter a value to set device values simultaneously.
4.
Click the
button.
OVERVIEW
Devices in the range from D0 to D50 are registered to cells and the current values are displayed.
SYSTEM
CONFIGURATION
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
5.
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
7 -9
GX Works2
7.2.3
Section 7.2.5)
Operating procedure
1.
2.
3.
button.
7 - 10
7.2.4
OVERVIEW
Operating procedure
Select devices to which a value is to be set.
2
SYSTEM
CONFIGURATION
1.
2.
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
3
).
PROJECT
MANAGEMENT
Item
BIN
OCT
DEC
HEX
Device value
Click the
Description
Select the data format of device values.
EDITING
PROGRAMS
Data format
4.
button.
SETTING
PARAMETERS
3.
SETTING DEVICE
MEMORY
7 - 11
SETTING DEVICE
INITIAL VALUES
GX Works2
7.2.5
Switch the device value display format for each cell on the device memory editor.
Operating procedure
Switch the device value display size in 16-bit/32-bit/64-bit for each cell on the device memory editor.
Operating procedure
7 - 12
1
OVERVIEW
7.2.6
Screen display
2
SYSTEM
CONFIGURATION
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Operating procedure
Set the items on the screen.
Item
Auto
Number of Rows
2.
4096 Rows
Click the
PROJECT
MANAGEMENT
Number of Columns
Description
Check this to display the confirmation message when device deletion is executed.
EDITING
PROGRAMS
1.
button.
7
SETTING DEVICE
MEMORY
Number of columns
When the "Number of Columns" is set to "Auto", the device values are displayed in 10 columns or 16 columns
according to the specified devices.
For FXCPU, the device values of X and Y are displayed in 8 columns.
Precautions on changing rows and columns
When a value smaller than the current value is set for "Number of Columns" or "Number of Rows", a confirmation
message is displayed and the data on the device memory editor is discarded.
When a value larger than the current value is set for "Number of Columns", the sequence of devices registered to
the device memory editor do not change by the setting of "Number of Columns".
SETTING
PARAMETERS
SETTING DEVICE
INITIAL VALUES
7 - 13
GX Works2
7.3
Searching Devices
FX
Q CPU L CPU Remote
Head
FX
FX
This section explains how to search for a device set in the device memory.
Screen display
Select [Find/Replace] [Find Device Cell].
Operating procedure
1.
2.
Click the
Description
Enter the device to be searched for.
Up
Select this to perform searching in the upward direction from the cursor position.
Down
Select this to perform searching in the downward direction from the cursor position.
button.
7 - 14
FX
Q CPU L CPU Remote
Head
FX
FX
This section explains how to write/read device memory data being edited to/from a programmable controller
CPU or Excel file.
7.4.1
3
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
function. (
OVERVIEW
SYSTEM
CONFIGURATION
7.4
Screen display
Select [Tool] [Write Device Memory to PLC]/[Read Device Memory from PLC].
<Writing device memory>
<Reading device memory>
PROJECT
MANAGEMENT
Operating procedure
Item
Range
Description
Select the write/read range.
Select this to write/read data in the specified range to/from a programmable controller
CPU.
All Devices
Select this to write/read all data in the device memory being edited to/from a programmable
controller CPU.
6
SETTING
PARAMETERS
Selected Devices
EDITING
PROGRAMS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
1.
7 - 15
GX Works2
7.4.2
Screen display
Select [Tool] [Write to Excel File]/[Read from Excel File].
Operating procedure
1.
2.
Click the
or
button.
Data are saved to the specified destination, or the file is opened from the specified location.
7 - 16
2
SYSTEM
CONFIGURATION
OVERVIEW
This chapter explains how to set, edit, and delete device initial values.
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
4
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
8.1
8.2
8 -1
GX Works2
8.1
Head
FX
8.1.1
The device initial values are device values used for the sequence program operation when the
programmable controller turns RUN.
When the device initial values are set, the initial setting program is unnecessary.
When device initial values are not set
The initial setting program is necessary.
<Example>
8 -2
FX
8.1.2
Retentive timer
ST
Counter
Data register
Link register
SW
Special register
File register
File register
Intelligent function
module device
Device
Timer
Link register
Link special register
2
SYSTEM
CONFIGURATION
Device name
SD
*1,*2,
U
J
J
ZR*2
\G
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
Category
OVERVIEW
The following table shows the list of devices which can be used as device initial values.
\W
\SW
*1 :
When the R device is specified to utilize the device memory data, the ZR device value is utilized for
the R device.
*2 :
PROJECT
MANAGEMENT
EDITING
PROGRAMS
SETTING
PARAMETERS
SETTING DEVICE
MEMORY
SETTING DEVICE
INITIAL VALUES
8 -3
GX Works2
8.1.3
The following flow chart shows the procedure for setting the device initial values.
Start
Click the
button
to set the device values
of the device memory as
device initial values.
Completed
8 -4
Head
FX
FX
This section explains how to set device values set in the device memory as device initial values.
Create a new device initial value data in advance. (
Section 4.3.1)
OVERVIEW
8.2
2
SYSTEM
CONFIGURATION
Operating procedure
Select Project view "Device Initial Value" "(data name)".
SCREEN
CONFIGURATION AND
BASIC OPERATIONS
3
Range setting
PROJECT
MANAGEMENT
EDITING
PROGRAMS
5
Operating procedure
Set the following items on the screen.
Item
Range setting
Setting
Method
2.
Description
Set the range for device initial values.
Set the number of points of each device. Up to 8,000 points of devices can be set
within a range.
Start
End
Comment
Start/End
Select this to set the range for device initial values by start or end device.
Points/Start
Select this to set the range for device initial values by device points or start device.
SETTING
PARAMETERS
Points
button.
3.
Click the
8
SETTING DEVICE
INITIAL VALUES
The device value in the set range is set as a device initial value.
SETTING DEVICE
MEMORY
1.
button.
8 -5
GX Works2
Screen button
Executes printing. (
Section 20.7)
Section 20.9)
Section 20.8.2)
8 -6
10
SEARCH/REPLACE
SETTING DEVICE
COMMENTS
This chapter explains the operation methods for setting, editing, and deleting device comments.
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
12
WRITING/READING
DATA
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
9.1
9.2
9.3
9.4
9.5
9 -1
GX Works2
9.1
Device Comments
FX
Q CPU L CPU Remote
Head
FX
FX
This section explains the general concept of device comments and the setting availability.
9.1.1
Device comment is categorized into global device comment and local device comment.
A global device comment is a device comment created automatically when a new project is created.
Global device comments are set to use common device comment data among multiple programs.
Global device comments can be set even when there is only one program.
9 -2
10
SEARCH/REPLACE
SETTING DEVICE
COMMENTS
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Display example when local device comments are set.
12
WRITING/READING
DATA
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
9 -3
GX Works2
9 -4
Device comments can be displayed on the ladder editor or Zoom editor window. Select [View]
[Comment] to display device comments.
When both global and local device comments are set, specify the comment to be displayed by the
following method.
SETTING DEVICE
COMMENTS
10
Operation
Set the device comment to be referenced by selecting [Tool] [Options] "Program Editor"
"Ladder/SFC" "Comment".
<Example> When different device comments are set for the same device (X)
Global device comment (COMMENT)
SEARCH/REPLACE
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
12
WRITING/READING
DATA
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
14
The local device comment, 'Safety Device', is
displayed as a device comment for X1.
MONITORING
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
9 -5
GX Works2
9.1.2
The following table shows device types and comment setting availability.
: Applicable / : Not applicable
Category
Symbol
Input
Output
Internal relay
Latch relay
Annunciator
Edge relay
Step relay
Link relay
SB
State
Timer
Retentive timer
ST
Counter
D
W
SW
Direct input
DX
Direct output
DY
SM
\X
Link input
Link output
\Y
\W
SD
Link register
Link relay
\SW
J
J
File register
\B
\SB
*2
ZR
*2
Z, ZZ
Index register
Index register
Intelligent function
module device
Nesting
Nesting
Pointer
Interrupt pointer
Pointer
FXCPU
Link register
Special register
9 -6
specification*1
Data register
File register
QCPU (Q mode)/
LCPU
Device name
Special relay
Bit
*3
*4
\G
Symbol
BL*5
BL\S
BL\TR
specification*1
*1 :
*2 :
*3 :
*4 :
*5 :
For projects with labels, comments of the BL device are not reflected to the block titles.
FXCPU
10
*4
11
Device comment creation supported range in the multiple CPU system configuration for QCPU
(Q mode)
Device comments can be created in the following ranges, corresponding to the buffer memory of the
programmable controller CPU (3E00H to 3E30H) in a multiple CPU system.
WRITING/READING
DATA
Non-supported range
U200(\G0) to U3DF(\G65535)
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
15
SIMULATING
PROGRAMS
U0(\G0) to U1FF(\G65535)
U3E0(\G0) to U3FF(\G65535)
12
16
DEBUGGING
PROGRAMS
Supported range
SEARCH/REPLACE
Other
Device name
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Category
QCPU (Q mode)/
LCPU
SETTING DEVICE
COMMENTS
9
Bit
9 -7
GX Works2
9.2
Head
FX
FX
This section explains how to create device comments, which make it easy to understand content of program
processing.
9.2.1
Screen display
Creating global device comments
Select Project view "Global Device Comment".
Creating local device comments
Select Project view "Local Device Comment" "(data name)".
Operating procedure
Comment*1
*1 :
9 -8
Description
Device Name
For Universal model QCPU/LCPU, the entry field for bit-specified word device
comment can be expanded/collapsed by clicking a column of "Device Name".
Section 4.3.1)
9
(Universal model QCPU/LCPU only)
SEARCH/REPLACE
10
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
12
Restrictions
Range selection of entry fields for bit-specified word device comment
When a range is selected with entry fields for bit-specified word device comment are collapsed, the last entry field
for bit-specified word device comment becomes out of the range selection.
To select the last entry field for bit-specified word device comment, expand the entry fields and select the range.
WRITING/READING
DATA
SETTING DEVICE
COMMENTS
Screen button
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
9 -9
GX Works2
9.2.2
Operating procedure
1.
).
2.
3.
Press the
key.
4.
5.
Click the
button.
9 - 10
9
SETTING DEVICE
COMMENTS
Device comments can be added/modified on the created ladder of the ladder editing screen.
Example) Set the comment 'Indication of initial start.' for X1.
Operating procedure
Enter ';;X1=Indication of initial start.'
on the ladder editor.
10
SEARCH/REPLACE
1.
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
14
MONITORING
WRITING/READING
DATA
12
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
9 - 11
GX Works2
9.3
9.3.1
Operating procedure
1.
9.3.2
Operating procedure
1.
2.
9 - 12
Head
FX
FX
This section explains how to set a sample comment of special relays/special registers and intelligent function
modules automatically.
Open the device comment editor in advance.
SETTING DEVICE
COMMENTS
9.4
Head
FX
FX
11
Operating procedure
12
WRITING/READING
DATA
The sample comments of special relays/special registers are set on the device comment editor
being edited.
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
9.4.1
SEARCH/REPLACE
10
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
9 - 13
GX Works2
9.4.2
Head
FX
FX
Utilize sample comments of intelligent function module devices and input/output signals.
Operating procedure
1.
2.
3.
Click the
button.
The sample comments of intelligent function module devices are set on the device comment editor
being edited.
For Universal model QCPU/LCPU, bit-specified word device comments can also be utilized.
9 - 14
Head
FX
FX
This section explains how to write/read device comment data to a CSV file.
SETTING DEVICE
COMMENTS
9.5
10
SEARCH/REPLACE
Operating procedure
1.
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
2.
Click the
WRITING/READING
DATA
12
button.
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
3.
4.
Click the
SIMULATING
PROGRAMS
15
button.
DEBUGGING
PROGRAMS
16
9 - 15
GX Works2
Operating procedure
1.
2.
3.
Click the
button.
4.
Click the
button.
Device comment data for which an error message is displayed when reading data
An error message is displayed on the Output window if the following data is included when reading device
comment data.
Reading of device comment data is suspended when the number of error messages exceeds 100.
Device comment data of devices which are not supported by the programmable controller type of the project.
Bit-specified device comments (For programmable controller type whose project does not support bit-specified
comments.)
Reading device comment data whose number of characters exceeds the applicable amount
When a device comment whose number of characters exceeds applicable amount is set on the device comment
editor, a warning message is displayed on the Output window and characters exceeded the applicable amount are
deleted.
9 - 16
9
SETTING DEVICE
COMMENTS
Screen display
Select the
10
SEARCH/REPLACE
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Operating procedure
Item
Description
Non-target
Target
*1 :
2.
WRITING/READING
DATA
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
1.
12
Click the
button.
14
Screen button
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
9 - 17
GX Works2
9 - 18
SETTING DEVICE
COMMENTS
10 SEARCH/REPLACE
SEARCH/REPLACE
10
This chapter explains the operation methods for searching for/replacing the character strings used in
programs.
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
12
WRITING/READING
DATA
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
10.1
10.2
10.3
10 - 1
GX Works2
10 SEARCH/REPLACE
10.1
Cross Reference
Q CPU L CPU Remote
Head
FX
This section explains how to create and display the cross reference information, which shows a list of
locations where devices/labels selected on the program editor/label setting editor are used.
The Cross Reference window is displayed horizontally when it is docked on top or bottom of the main frame,
and displayed vertically when it is docked on left or right of the main frame.
Cross reference information is created based on devices used in the following editors/parameters.
Ladder
SFC
ST
Structured ladder/FBD
Global label
Local label
Structure
Multiple CPU refresh setting of PLC parameter
Refresh parameter of Network parameter
Auto refresh setting of intelligent function module parameter
10.1.1
Create and display cross reference information of the label/device selected on the program editor/label
setting editor.
Screen display
Select [View] [Docking Window] [Cross Reference] (
<<Cross Reference Information>>
10 - 2
).
2.
3.
Click the
10
SEARCH/REPLACE
By setting the conditions, the operation such as: searching for a label definition on the label setting
editor, displaying hierarchy of structure/array/FB, and displaying a start device and end device of
the instruction such as the DMOV instruction which uses two or more points of device, can be
performed. (
Section 10.1.2)
button.
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
1.
SETTING DEVICE
COMMENTS
Operating procedure
WRITING/READING
DATA
12
Attributes
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
10 - 3
GX Works2
10 SEARCH/REPLACE
Display contents
Item
Description
Device/Label
*1,*2
Class
*1,*2
Constant*1,*2
Device*1
Address*2,*3
Read/Write
Instruction*2,*4
Ladder Symbol
For ladder programs, display ladder symbols of instruction in which devices are
used.
Position
Project*3
Display the project name or the library name in which the device/label is used.
*3
10 - 4
Task*3
Display the task name of the program registration destination in which the
device/label is used.
Data Type
Data Name
Display the program or the data name registered in the program in which the
device/label is used.
Display the block name for SFC program.
Comment*2
Display the system label name which corresponds to the global label.
*1 :
*2 :
Only when the "Display all items" item is selected on the <<Condition Setting>> tab.
*3 :
*4 :
9
SETTING DEVICE
COMMENTS
Screen button
) moves the focus between the editor and the Cross Reference window.
(
+
)/
+
(
+
+
) moves the cursor to the previous/next row.
Displaying comments
In a ladder/SFC project, comments specified in [Tool] [Options] "Program Editor" "Ladder/SFC"
"Comment" "Reference/Reflection Target for Device Comment" are displayed as device comments.
(
Section 9.1.1)
Restrictions
When "Build cross reference information after completion compile" is checked in the option setting
When timer device (T) is specified as a search condition, devices of contact (TS), coil (TC), and current value
(TN) also become search targets. When any of the timer devices: contact (TS), coil (TC), or current value (TN),
is specified, timer device (T) is also searched along with the specified device.
The same operation as above applies when specifying retentive timer device or counter device.
When device/label which is not indexed is specified as a search condition, only devices/labels which are not
indexed are searched.
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
12
WRITING/READING
DATA
Cross reference information can also be created based on all devices/labels by clicking the
button
without specifying devices/labels after the Cross Reference window is displayed.
The maximum number of results that can be created in the cross reference information is 80,000. However,
since the internal data that are not displayed are included to the results, the number of results to be displayed in
the cross reference information may not reach 80,000.
When the "Auto Tracking" item is selected on the <<Condition Setting>> tab in a project with labels, the
maximum number of results that can be created in the cross reference information is 500.
Jump function
The jump function cannot be used for the cross reference information of a parameter.
Moving the focus
11
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
14
MONITORING
SEARCH/REPLACE
10
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
10 - 5
GX Works2
10 SEARCH/REPLACE
Icon
Device
Display
example
Description
Displayed when the attribute is device.
Label
Label usage
Position information
The following position information is displayed according to the editor.
Type
Example
Step number
Step No. 5
ST editor
Number of lines
Row No. 2
*1
2. (10. 2)
Row number
Parameter
Auto Refresh
SFC editor
*1 :
10 - 6
Display contents
Ladder editor
For the SFC block number, check the property of block (program) displayed in "Data Name".
(For details of properties
Section 4.3.5)
After the creation of cross reference information is completed correctly, the icon
shown in the
lower left corner of the screen is changed to the icon
which indicates the most recent information.
The data protected by security cannot be displayed.
If the program or the option setting is changed, the cross reference information does not
correspond with the program. In order to update the cross reference information, create it again.
Each column can be sorted in ascending/descending order by clicking on the column header.
However, the sort cannot be performed if the structure/array/FB is displayed in the tree. To cancel
the display in the tree, clear the "Display hierarchically" and "Display the last device of multiple
points device" check boxes on the <<Condition Setting>> tab.
Searching for refresh device of CC-Link parameter
For refresh devices (RX/RY) set in a local station or standby station of the CC-Link parameter, the
target of search is only the first 16 points of devices.
When the same name is used for label and device
The Auto Tracking function of cross reference gives devices a priority to be searched.
To display cross reference information of label whose name is the same as that of device, search for
"All Device/Label" in "Device/Label". Then, enter a label name in the "Device/Label" column of
filtering condition, and execute the filtering display.
SEARCH/REPLACE
10
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
For a project with labels, cross reference information can be created based on the compilation result,
and it can be displayed even in an uncompiled state.
To display cross reference information in an uncompiled state, perform the following operation.
Select [Tool] [Options] "Compile" "Basic Setting", check "Build cross reference information
after completion compile", and execute the compilation.
By setting this item, the cross reference information can be displayed quicker while the compilation
time gets longer.
12
WRITING/READING
DATA
SETTING DEVICE
COMMENTS
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
10 - 7
GX Works2
10 SEARCH/REPLACE
Displaying/hiding columns
Columns in the screen can be displayed or hidden by right-clicking a column header of the cross
reference information and selecting the items to be displayed or hidden from the shortcut menu.
To create the cross reference information from the devices/labels used in the function block, select the
FB instance to create the cross reference information.
10 - 8
Setting conditions
SETTING DEVICE
COMMENTS
10.1.2
Conditions are set on the <<Condition Setting>> tab on the Cross Reference window.
Whenever the condition is changed, the cross reference information needs to be recreated.
Screen display
10
SEARCH/REPLACE
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Operating procedure
12
Search Condition
Find label definition
Display Condition
13
Check this to display all items that can be created in the cross reference
information.
Display hierarchically
Check this to display the start and end devices when a device which uses more
than two points in a instruction is specified.
*1 :
*2 :
For projects with labels, this item can be selected only when "Build cross reference information after
completion compile" is checked under [Tool] [Options] [Compile] [Basic Setting].
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
<<Condition Setting>>
Description
14
MONITORING
Item
WRITING/READING
DATA
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
10 - 9
GX Works2
10 SEARCH/REPLACE
"Display the end device of multiple points device" on the <<Condition Setting>> tab
The end device of the device which uses multiple device points in an instruction or refresh parameter can be
displayed. Check "Display the last device of multiple points device" on the <<Condition Setting>> tab to display the
end device.
The start and end devices are displayed in a tree format as shown below.
10 - 10
Filtering display
SETTING DEVICE
COMMENTS
10.1.3
10
1.
SEARCH/REPLACE
Operating procedure
Enter 'D*' in the filtering condition column under "Device/Label".
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Press the
key.
The data matching with the set filtering condition are displayed in the Cross Reference window.
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
2.
WRITING/READING
DATA
12
10 - 11
GX Works2
10 SEARCH/REPLACE
Filtering condition
Clicking
enables to select a keyword from the list of previously entered keywords.
Tree display of filtering condition
Only data whose components match with the filtering conditions are displayed in the tree format when filtering
display is executed for the structure data names or the instance names of the function block.
Deleting filtering condition
Filtering display of the column can be canceled by deleting keywords entered in each filtering condition column.
Keywords for filtering condition
The wild card characters can be used in a filtering condition shown as below.
Example) When the filtering condition is set for the device/label column.
Wildcard
Example
Search Result
*30*
K4?30
K4X30, K4Y30
[]
[XY]8
X8, Y8
[! ]
K4X[!3]0
K4X40, K4Y50
[-]
D[0-2]
D0, D1, D2
Local200#
Local2001, Local2003
10 - 12
Search target
Head
FX
This section explains how to display the usage of the specified devices.
SETTING DEVICE
COMMENTS
10.2
10
Screen display
SEARCH/REPLACE
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Operating procedure
Item
Device
Find In
Click the
All devices
Used devices
Unused devices
to select a location
button.
14
Item
MONITORING
Display contents
Find Range
Description
Display the range of the devices searched.
The display can be switched by clicking the
button.
Device
Contact
Coil (counts)
Display '*' and the number of uses when the device is in use as a coil.
Parameter*1
Display the '*' when the device is in use as an intelligent function module
parameter.
Comment
Display the device comment set for reference/reflection target in the option
setting.
(
Section 9.1.1 Specifying device comments to be displayed in
program')
Specify a program for "Find In" to enter device comments.
15
16
*1 :
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Display Option
2.
Description
Enter a device to be searched for.
Click
to select a device from the list of previously searched devices.
WRITING/READING
DATA
SIMULATING
PROGRAMS
1.
12
10 - 13
GX Works2
10 SEARCH/REPLACE
Screen button
10 - 14
10.3 Search/Replacement
Head
FX
FX
11
Find Device/
Replace Device
Find Instruction/
Replace Instruction
Find String/
Replace String
Used for searching for/replacing a character string used in a program, label. and device
comment.
Change Open/Close
Contact
Used for switching the contact type of a specified device in a program from normal to
negation, or from negation to normal.
12
13
14
MONITORING
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Function
10
SEARCH/REPLACE
This section explains how to search for and replacing character strings, devices, labels, instructions, etc. in
project data.
If the Find All/Replace All function is executed, the details of the execution result are displayed.
WRITING/READING
DATA
FX
Q CPU L CPU Remote
SETTING DEVICE
COMMENTS
Search/Replacement
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
10.3
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
10 - 15
GX Works2
10 SEARCH/REPLACE
10.3.1
Searching/replacing devices/labels
Screen display
Select [Find/Replace] [Find Device]/[Replace Device] (
).
Operating procedure
1.
Find In
Find Device
Replace Device
Device Point
Find Direction
Option
Device
Comment*2
10 - 16
Description
Click the
button to select a location to search for.
Click
to select a location from the list of previously searched
locations.
The location cannot be entered directly.
From Top
Down
Up
Digit*1
Check this to execute a search for the entered device and digit
specification for bit devices that include the entered device.
Multiple word*2
Check this to execute a search for the entered device and the
double-word format (double word/real number/indirect specification)
word devices that include the entered device.
Check this not to move the focus to the editor after the search/
replace function.
The searched/replaced position may not be highlighted.
Move
Do not move
*1 :
*2 :
Ladder only
10.3 Search/Replacement
button.
SETTING DEVICE
COMMENTS
Click the
Screen button
10
SEARCH/REPLACE
Replaces the character string entered in "Find String" with the character string entered in "Replace
String".
Batch replaces the character string entered in "Find String" with the character string entered in
"Replace String".
The replace result is also displayed. (
Section 10.3.6)
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
2.
WRITING/READING
DATA
12
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
10 - 17
GX Works2
10 SEARCH/REPLACE
The following tables show examples of specification for device search operations.
Example of device search (Option: None)
Device specification
Search result
M0
K4M0
K4M0, K4M0Z0
D0
D0.1
D0.1
J1\B0*1
*1 :
Search result
X0 to X3
K1X0
X0 to X0F
K4X0
X0 to X1F
K8X0
X0Z0
D0 to D9
D0Z0 to D1Z0
DMOV K1 D0Z0
*1
ZR0ZZ0 to ZR1ZZ0
DMOV K1 ZR0ZZ0
J1\W0 to J1\W1*1
DMOV K1 J1\W0
@D0 to
@D1*1
DMOV K1 @D0
K1X0 to K8X0
DMOV K1 K8X0
T0 to T1
DMOV K1 T0
T0Z0 to T1Z0
DMOV K1 T0Z0
*1 :
10 - 18
Search result
D0 to D1
10.3 Search/Replacement
The following table shows the devices/labels that can be replaced or batch replaced.
: Replaceable : Not replaceable
New device/label
Device
(X0, D0)
Bitspecified
word
device
(D0.1*1)
Word device
indirect
specification*2
(@D0)
Digitspecified
bit device
(K1X1)
Index
setting
(X0Z0)
Device
(X0, D0)
Bit-specified
word device
Label/
String
(g_bool1)
Digit-specified
bit device
(K1X1)
Index setting
(X0Z0)
Digit-specified
bit device
+
Index setting
(K4X0Z0j
Index setting
+
Bit-specified
word device
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
12
WRITING/READING
DATA
specification*2
(@D0)
10
11
Word device
indirect
Old device/label
(J1Z0\W0.1*2)
Index setting
+
Bit-specified
word device
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
(D0.1*1
Digitspecified
bit device
+
Index setting
(K4X0Z0j
SETTING DEVICE
COMMENTS
SEARCH/REPLACE
(J1Z0\W0.1*2)
Label/String
(g_bool1)
14
MONITORING
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
10 - 19
GX Works2
10 SEARCH/REPLACE
The following explains the precautions when searching/replacing devices/labels in the inline structured
text program.
Searching/replacing devices
Devices in the range specified for the parameter are searched. Devices out of the specified range
are not searched.
Searching/replacing labels
Both registered and unregistered labels are searched. All unregistered labels which are used at the
label positions in the inline structured text program are searched.
The following table shows the examples of label positions.
Label position
Applicable label position
Inapplicable label position
Example
Description
label1
Example
(* D1 *)
(* D1...
D1 *)
Device/label names
Device/label names are not case-sensitive.
10 - 20
Description
10.3 Search/Replacement
Searching/replacing instructions
SETTING DEVICE
COMMENTS
10.3.2
Search/replace instructions.
Screen display
) /[Replace Instruction]/[Find Contact or Coil] (
).
10
SEARCH/REPLACE
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Device instruction
input area
Description
Click the
button to select a location to search for.
Click
to select a location from the list of previously searched locations.
The location cannot be entered directly.
Find In
Find Instruction
Replace With
Find Direction
Option
2.
Click
Click
From Top
Select this to execute a search in the downward direction from the start of
the program.
Down
Select this to execute a search in the downward direction from the cursor
position.
Up
Select this to execute a search in the upward direction from the cursor
position.
Check this not to move the focus to the editor after the search/replace
function.
The searched/replaced position may not be highlighted.
Click the
button.
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
1.
14
MONITORING
Operating procedure
WRITING/READING
DATA
12
15
SIMULATING
PROGRAMS
Ladder symbol
selection area
16
Screen button
DEBUGGING
PROGRAMS
10 - 21
GX Works2
10 SEARCH/REPLACE
Search result
MOV
MOV, MOVP
MOVP
MOVP
MOV D0 K4Y0
MOVP D0 J1\W0*1
Example)
[MOV H0FFFF D0]
(-1)
When a 32-bit instruction is replaced with a 16-bit instruction, and if a constant is set for the device,
upper 16 bits are discarded.
Example)
[DMOV K150000 D0]
[DMOV H0FFFFFFFF D0]
10 - 22
10.3 Search/Replacement
SETTING DEVICE
COMMENTS
10.3.3
Screen display
Select [Find/Replace] [Find String]/[Replace String].
SEARCH/REPLACE
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Description
Click the
button to select a location to search for.
Click
to select a location from the list of previously searched locations.
The location cannot be entered directly.
Find In
Find String
Replace String
Find
Direction
Option
2.
From Top
Select this to execute a search in the downward direction from the start of
the program.
Down
Select this to execute a search in the downward direction from the cursor
position.
Up
Select this to execute a search in the upward direction from the cursor
position.
Match Case
Check this not to move the focus to the editor after the search/replace
function.
The searched/replaced position may not be highlighted.
Click the
button.
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Item
14
MONITORING
15
SIMULATING
PROGRAMS
1.
WRITING/READING
DATA
12
Operating procedure
Screen button
16
DEBUGGING
PROGRAMS
10 - 23
GX Works2
10 SEARCH/REPLACE
10 - 24
Search result
Not selected
Selected
abc ; def
Nothing is found.
abc
abc ; def
abc ; def
bc
abc ; def
Nothing is found.
abc ; def
abc ; def
abc ; def
10.3 Search/Replacement
Change contact types from open contact to closed contact, and conversely, from closed contact to open
contact.
SETTING DEVICE
COMMENTS
10.3.4
10
SEARCH/REPLACE
Screen display
Select [Find/Replace] [Change Open/Close Contact].
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Item
Description
Find In
Click the
button to select a location to search for.
Click
to select a location from the list of previously searched locations.
The location cannot be entered directly.
Replace Device
Device Point
Example) When X100 for "Replace Device", 3 for "Device Point" and "DEC" for
entered value are set, the contact type is replaced between open contact and
closed contact at X100, X101 and X102.
Option
2.
Click the
From Top
Select this to execute a search in the downward direction from the start of the
program.
Down
Select this to execute a search in the downward direction from the cursor position.
Up
Select this to execute a search in the upward direction from the cursor position.
Consecutive search
with Enter key
Check this not to move the focus to the editor after the search/replace function.
The searched/replaced position may not be highlighted.
button.
3.
Click the
or
14
15
SIMULATING
PROGRAMS
Find
Direction
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
16
The contact types are changed from open to closed contact and from close to open contact, and
the search for the next target devices continues.
If the
button is clicked, all contact types of searched devices are batch changed from
open to closed contact and from close to open contact.
10.3.4 Changing contacts between open contact and closed contact
10 - 25
DEBUGGING
PROGRAMS
1.
MONITORING
Operating procedure
WRITING/READING
DATA
12
GX Works2
10 SEARCH/REPLACE
10 - 26
10.3 Search/Replacement
SETTING DEVICE
COMMENTS
10.3.5
Screen display
Select [Find/Replace] [Device Batch Replace].
SEARCH/REPLACE
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Operating procedure
Find In
Click the
button to select a location to search for.
Click
to select a location from the list of previously searched
locations.
The location cannot be entered directly.
Find Device
Replace Device
Points
Point Format
Do not move
*1
Device comment
*1 :
2.
14
15
Click the
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Description
MONITORING
Item
WRITING/READING
DATA
12
button.
The devices/labels entered in "Find Device" are batch replaced with the devices/labels entered in
"Replace Device".
Screen button
SIMULATING
PROGRAMS
1.
16
DEBUGGING
PROGRAMS
10 - 27
GX Works2
10 SEARCH/REPLACE
10 - 28
10.3 Search/Replacement
9
SETTING DEVICE
COMMENTS
After the Find All/Replace All function is executed, results and error logs are displayed.
Displaying results
10
Screen display
Click the
SEARCH/REPLACE
10.3.6
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Status
Search/replace
results
WRITING/READING
DATA
12
Sub status bar
Display contents
Item
Display the character strings, locations, and positions which have been
searched for or replaced.
Target List
Display the character strings which match with the one in "Find/Replace
String".
Place
Position
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Search/replace results
Description
Display the number of character strings which have been searched for
or replaced.
Error Logs
Find String
Replace String
Find In
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
14
MONITORING
Status
10 - 29
GX Works2
10 SEARCH/REPLACE
Position information
The following position information is displayed according to the editor.
Type
Example
Step number
2 Step
ST editor
Number of lines
(6)
*1
SFC editor
Transition No. 0
2. (10. 2)
X1, 0 Column
Row, column
8 Row 1 Column
*1 :
10 - 30
Display contents
Ladder editor
For project with labels and SFC (Zoom), parentheses are appended to the step number.
(Example: (2) Step)
10.3 Search/Replacement
Screen display
Click the
SETTING DEVICE
COMMENTS
SEARCH/REPLACE
10
Status
Error logs
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Display contents
Description
Error Logs
12
Jump function
The jump function is used to jump from any row of search/replace results or logs to the corresponding character
strings.
To execute a jump, right-click on the selected row and select [Jump] from the shortcut menu, or double-click the
selected line.
WRITING/READING
DATA
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Item
Status
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
10 - 31
GX Works2
10 SEARCH/REPLACE
MEMO
10 - 32
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
This chapter explains how to set a connection destination for accessing a programmable controller CPU from
GX Works2.
10
SEARCH/REPLACE
SETTING DEVICE
COMMENTS
12
WRITING/READING
DATA
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
11.1
11.2
11.3
11.4
11.5
11.6
11.7
11.8
11.9
11.10
11 - 1
GX Works2
11.1
Head
FX
This section explains how to set communication routes, including the interfaces both on the personal
computer and programmable controller CPU and the routing networks, for accessing a programmable
controller CPU.
Multiple connection destinations can be set with GX Works2. To set multiple connection destinations, create
data for each connection destination on the New Data screen. (
Section 11.1.2)
Screen display
Select Navigation window Connection Destination view "(connection destination data name)".
11 - 2
Interfaces are displayed on the Transfer Setup screen as shown below and detailed settings of each
interface can be configured.
10
SEARCH/REPLACE
MELSECNET/10(H)
PC side I/F
SETTING DEVICE
COMMENTS
11.1.1
Network route
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
Specify this to access the programmable controller CPU directly connected to a personal
computer.
Specify this to access the programmable controller CPU on another station via only one kind
of network (including a multi-tier system) such as CC-Link only, MELSECNET/10(H) only, CCLink IE only, C24 module only or Ethernet only.
Since Ethernet is regarded as equivalent to CC-Link IE and MELSECNET/10(H), specify
"Single Network" for a mixed system in which Ethernet, CC-Link IE, and MELSECNET/
10(H) are configured.
*1 :
Specify this to access the programmable controller CPU on another station via two kinds of
network.
This means the system that is configured with two different networks, such that from
MELSECNET/10(H) to CC-Link module or from Q series C24 module to MELSECNET/
10(H).
11 - 3
SIMULATING
PROGRAMS
15
Description
16
DEBUGGING
PROGRAMS
Item
14
MONITORING
Detailed settings can be set for underlined items on the screen. Double-click these items to set the details.
The items whose icons are displayed in yellow are items that have been already set.
PC side I/F
Set the interface of the personal computer.
PLC side I/F
Set the interface of the programmable controller CPU connected to the personal computer.
GX Works2
*3 :
Screen button
Operation
1. Select a route on the Connection Channel List
screen.
2. Click the
button.
Description
Display Selected
Routes
Changes the connection destination setting for the setting that connects a personal computer
directly to the programmable controller CPU to be accessed.
This function is useful to change the station specification from another station to host station.
11 - 4
Tests if the target programmable controller CPU set on the Transfer Setup screen can be accessed
normally.
If accessed normally, the model of the target programmable controller CPU module is displayed in
the "PLC Type" field, one of the detailed setting display fields. In addition, for the multiple CPU
system, the CPU number of the connection destination is displayed in the "Detail" field.
/
Displays the Line Connection screen.
The screen is used to set the communication using a phone line.
For details of the Line Connection screen setting, refer to Section 11.9.2.
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11.1.2
Creating connections
WRITING/READING
DATA
12
Screen display
Select [Project] [Object] [New] (
10
SEARCH/REPLACE
SETTING DEVICE
COMMENTS
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
Operating procedure
Set the items on the screen.
Enter the name of the connection to be created.
Click the
button.
The created connection target is added to "All Connections" in the Connection Destination view.
15
SIMULATING
PROGRAMS
2.
Description
Data Name
MONITORING
Item
14
16
DEBUGGING
PROGRAMS
1.
11 - 5
GX Works2
11.1.3
Specify a connection destination for regular use when multiple connection destinations are set.
Operating procedure
1.
Select the connection destination data to be specified as for regular use from the
"All Connections" in the Connection Destination view.
2.
11 - 6
This section explains the setting method for accessing the programmable controller CPU directly connected to
a personal computer.
11.2.1
SETTING DEVICE
COMMENTS
10
Head
FX
The following explains the setting for accessing the host programmable controller CPU from GX
Works2 with serial/USB cable.
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
SEARCH/REPLACE
11.2
WRITING/READING
DATA
12
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
When connecting
directly to the
programmable
controller CPU.
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
11 - 7
GX Works2
The following explains the setting for accessing the QCPU (Q mode)/LCPU on the host station.
Operation
1. Set "PC side I/F".
Section 11.1.1
Connecting to FXCPU
The following explains the setting for accessing the FXCPU on the host station.
Operation
1. Set "PC side I/F".
Section 11.1.1
11 - 8
SETTING DEVICE
COMMENTS
SEARCH/REPLACE
10
Select this item when connecting the GOT1000 series USB to the USB of
a personal computer directly using the transparent function or when
connecting to the USB of a personal computer directly.
USB
FX0
FX0S
FX1
FXU
FX2C
FX0N
19.2kbps
38.4kbps
57.6kbps
115.2kbps
FX1N
FX1NC
FX2N
FX2NC
FX1S
FX3G
FX3U
FX3UC
9.6kbps
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Description
Select this item when connecting using the RS-232 of a personal computer
RS-232
or when connecting to the USB of a personal computer with FX-USB-AW/
(Including FX-USB-AW and FX3U-USB-BD)
FX3U-USB-BD.
12
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Item
WRITING/READING
DATA
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
11 - 9
GX Works2
11.2.2
Accessing by Ethernet
FX
Q CPU L CPU Remote
Head
FX
FX
Operation
Set the connection destination setting.
Item
11 - 10
Description
PC side I/F
Select a protocol.
Network number and station number do not need to be set since they are not used.
The following is a setting example when searching for a Built-in Ethernet port QCPU/LCPU on the
same network connected via hub and utilizing the IP address.
SETTING DEVICE
COMMENTS
SEARCH/REPLACE
10
Connection destination
CPU information list
button.
The IP addresses, CPU types, labels, and comments of the Built-in Ethernet port QCPUs/
LCPUs on the same network are displayed in the 'connection destination CPU information
list'.
WRITING/READING
DATA
3. Click the
12
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Operation
1. Select a programmable controller type connected to a personal computer in "PLC Mode".
2. Check "Connection via HUB".
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
14
or
Windows
On Windows Vista or Windows 7, the following message may be displayed when the
button is clicked.
Click the
program (permit the access) and continue the operation. (The screen shown below is from Windows Vista.)
MONITORING
Vista
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
button is clicked, multiple IP addresses may be set in the Windows Network Connections setting.
In such case, reset the IP addresses not to overlap in the Internet Protocol (TCP/IP) Properties screen.
11 - 11
GX Works2
11.3
Head
FX
FX
This section explains how to access the programmable controller CPU on another station from a personal
computer via networks.
MELSECNET/10(H)
Operation
1. Set "PC side I/F".
Section 11.1.1
11 - 12
The following is the setting example for accessing the programmable controller CPU via single network.
Screen settings for the mixed system in which MELSECNET/10(H), CC-Link IE, and Ethernet are
configured (single network)
For the mixed system in which MELSECNET/10(H), CC-Link IE, and Ethernet are configured,
specify "Single Network" when accessing the programmable controller CPU on another station.
(Since Ethernet is regarded as equivalent to CC-Link IE and MELSECNET/10(H), specify "Single
Network".)
The following shows the connection destination detail setting screen example for the mixed system
configuration (Q series only).
Request target (Station number 1)
SETTING DEVICE
COMMENTS
10
SEARCH/REPLACE
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Ethernet
Network number 3
MELSECNET/10(H)
Network number 1
Ethernet
Network number 2
WRITING/READING
DATA
12
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
11 - 13
GX Works2
11 - 14
The following shows the connection destination detail setting screen example for the CC-Link
system configuration (Q series/L series only).
Station number 1
Station number 2
Request target
(Station number 3)
10
SEARCH/REPLACE
Master station
SETTING DEVICE
COMMENTS
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
14
15
SIMULATING
PROGRAMS
Accessible station numbers when accessing the programmable controller CPU on another station via CCLink
When the programmable controller CPU is connected directly or via a serial communication module, accessible
station numbers when accessing the programmable controller CPU on another station via CC-Link are 0 (master)
to 63.
MONITORING
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
DEBUGGING
PROGRAMS
16
11 - 15
GX Works2
QCPU
(Q mode)
FX3U/FX3UC/FX3G
CC-Link
Operation
1. Open a project for FX3G/FX3U(C).
2. Select 'QCPU (Q mode)' for "PLC mode" in the PLC side I/F Detailed Setting of PLC Module
screen.
3. Set the communication setting in the PC side I/F Serial Setting screen.
4. Set the detailed other station setting.
5. Set the start I/O of the CC-Link module of QCPU (Q mode), and the station number of the
FX3G/FX3U(C) in the network communication route detailed CC-Link setting.
11 - 16
Screen settings for the mixed system in which MELSECNET/10(H) and Q series C24 modules are
configured (co-existence network)
The following shows the connection destination detail setting screen example for the mixed system
configuration (Q series only).
10
SEARCH/REPLACE
The following is the setting example for accessing the programmable controller CPU via co-existence
network.
This setting is not supported by LCPU and FXCPU.
SETTING DEVICE
COMMENTS
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
MNET/
10(H)
CPU
MNET/
10(H)
C24
MNET/
10(H)
CPU
11
Station No.0
Multi-dropped connection
Station number 22
12
C24
CPU
C24
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
Station number of
route target C24 module ( )
DEBUGGING
PROGRAMS
CPU
MELSECNET/10 (H)
Network number 2
MNET/
10(H)
MELSECNET/10 (H)
Network number 1
WRITING/READING
DATA
11 - 17
GX Works2
11.4
Head
FX
This section explains the setting method for accessing the programmable controller CPU (host CPU) directly
connected to the personal computer or other programmable controller CPUs (other CPUs) in the multiple CPU
system. The setting method for accessing the multiple CPU system on another station via a network is also
explained.
The setting for accessing the host CPU is the same as that for accessing the programmable controller
CPU on the host station. (
Section 11.2)
In the multiple CPU system, specify the CPU number of the access target at "Multiple CPU Setting"
when accessing a programmable controller CPU that is not directly connected to the personal
computer.
For Basic model QCPU and Universal model QCPU (Q00U/Q01U/Q02U), the CPU No. 1 to 3 can be
specified.
For High Performance model QCPU and Universal model QCPU (excluding Q00U/Q01U/Q02U), the
CPU No. 1 to 4 can be specified.
The following shows a setting example when accessing the CPU No.4 by connecting the personal
computer to the CPU No.1.
CPU No.1 (connected to the personal computer)
CPU No.2
CPU No.3
Operation
1. Set "PC side I/F" to "Co-existence
Network Route".
Section 11.1.1
Specify the
CPU No. 4.
11 - 18
Relay station
Set the parameters so that the network module mounted on the relay station is controlled by the
same programmable controller CPU. (In the figure below, CPU No.2 is the control CPU.)
Access target station
Set the CPU number in the "Multiple CPU Setting" on the Transfer Setup screen if the access
target station has the multiple CPU system.
The following shows a setting example when accessing the CPU No.4 in the multiple CPU system on
the access target station via a network.
1
1
2
3
4
QCPU No.1
QCPU No.2
QCPU No.3
QCPU No.4
1 Module controlled by the QCPU No.1
(MELSECNET/10(H), CC-Link IE)
2 Module controlled by the QCPU No.2
(MELSECNET/10(H), CC-Link IE)
2' Module controlled by the QCPU No.2
(MELSECNET/10(H), CC-Link IE)
Network number 1
MELSECNET/H
Relay station
1
2'
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
12
13
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Host station
10
11
SETTING DEVICE
COMMENTS
The following explains the setting method for accessing the programmable controller CPU in a multiple
CPU system on another station via a network.
SEARCH/REPLACE
Accessing the programmable controller CPU via network in multiple CPU system
WRITING/READING
DATA
MONITORING
14
Section 11.1.1
SIMULATING
PROGRAMS
15
11 - 19
DEBUGGING
PROGRAMS
16
GX Works2
11.5
Head
FX
This section explains the setting method for accessing the programmable controller CPU via an Ethernet
board of a personal computer.
The following shows a setting example when accessing the programmable controller CPU from GX Works2
via Q series-compatible E71 modules.
For the setting to access FXCPU, refer to the manual of the Ethernet module or the manual of the setting
software.
Network number 1
(192.167.0.2)
Station number 2
CPU1
CPU2
Network number 2
11 - 20
9
SETTING DEVICE
COMMENTS
Operation
Set the connection destination setting.
SEARCH/REPLACE
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
12
PC side I/F
Set the model, station number, IP address and other items for the module to be
connected to the personal computer.
For "Station No. IP Information", set the method corresponding to the setting for
"Station No. IP Information" of Ethernet parameter.
Network Communication
Route
Set the network number and station number of the access target station.
*1 :
WRITING/READING
DATA
Description
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Item
Set the station number avoiding the same station number already assigned to the existing
system or another Ethernet module.
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
11 - 21
GX Works2
11.6
Head
FX
This section explains the setting method for accessing the programmable controller CPU via a G4 module.
For details of AJ65BT-R2N, refer to the following manual.
CC-Link System RS-232 Interface Module User's Manual (MELSOFT Connection Mode)
The following shows a setting example when accessing the programmable controller CPU via AJ65BT-G4-S3
module from GX Works2.
Data link must be correctly established by setting the switch settings and parameters for the AJ65BT-G4-S3
module and the CC-Link master module.
AJ65BT-G4-S3
Station number 1
QJ61BT11N
Station number 0
Operation
Set the connection destination setting.
Item
PC side I/F
11 - 22
Description
Set the COM port and transmission speed.
Network Communication
Route
FX
Head
This section explains the setting method for accessing the programmable controller CPU on host station or on
another station via a C24 module.
11.7.1
The following shows a setting example when accessing a programmable controller CPU by connecting
a personal computer and a Q series C24 module.
10
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
SETTING DEVICE
COMMENTS
SEARCH/REPLACE
11.7
Operation
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
WRITING/READING
DATA
12
MONITORING
14
15
Description
Set the COM port and transmission speed.
16
If a number other than '0' is set in the station number setting of the C24 module, set the
same number for its station number.
The station number setting can be set in "Switch 5" (station number setting) in the
switch setting of the PLC parameter.
DEBUGGING
PROGRAMS
*1 :
SIMULATING
PROGRAMS
Item
PC side I/F
11 - 23
GX Works2
11.7.2
Access the programmable controller CPU in another station from GX Works2 in a system composed of
multiple programmable controller CPU stations.
The following shows a setting example when accessing the programmable controller CPU in another
station via Q series C24 modules.
Station number 0
Station number 1
Operation
Set the connection destination setting.
The following shows a setting example of a screen for accessing C24 modules from GX
Works2.
The image below is an example for Q series C24 module.
Item
11 - 24
Description
PC side I/F
The following shows a setting example when accessing the programmable controller CPU in another
station via Q series C24 modules by directly connecting the personal computer to the programmable
controller CPU.
Station number 1
10
SEARCH/REPLACE
Station number 0
SETTING DEVICE
COMMENTS
11
Operation
Set the connection destination setting.
The following shows a setting example of a screen for accessing a programmable controller
CPU from GX Works2 via C24 modules.
The image below is an example for Q series C24 module.
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
WRITING/READING
DATA
12
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
15
Description
Set the interface of the personal computer. (
Section 11.1.1)
SIMULATING
PROGRAMS
Item
PC side I/F
DEBUGGING
PROGRAMS
16
11 - 25
GX Works2
11.8
This section explains how to access the programmable controller CPU from GX Works2 via GOT using the
GOT transparent function.
Description
11.8.1
Head
FX
FX
*1
*1:
*2
The following table shows the connection between the personal computer and GOT.
: Connectable
Connection
GOT
GOT1000 series
GOT-A900 series
GOT-F900 series
USB connection
Ethernet connection
RS-232 connection
*2:
For cables connecting GOT with the programmable controller CPU, GOT settings, and precautions,
refer to the manual of the GOT connected.
GOT1000 Series Connection Manual
GOT-A900 Series User's Manual (Connection System Manual)
GOT-F900 SERIES GRAPHIC OPERATION TERMINAL HARDWARE Manual [Connection]
11 - 26
9
SETTING DEVICE
COMMENTS
Operation
1. Set "PC side I/F".
Section 11.1.1
10
3. Set the following setting on the PLC side I/F Detailed Setting of GOT screen.
< Detailed setting screen when using the Ethernet
connection between personal computer and GOT>
SEARCH/REPLACE
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
Setup
Direct coupled
Ethernet
connection
Description
Select "via GOT (Bus) transparent mode". (For QCPU
(Q mode) only)
14
15
SIMULATING
PROGRAMS
Section 11.1.1
16
DEBUGGING
PROGRAMS
the
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Description
Set settings such as an IP address and a host name when using the Ethernet
connection between a personal computer and a GOT.
MONITORING
Item
Ethernet Detail setting for PC
and GOT connection
11 - 27
GX Works2
Connecting to FXCPU
Operation
1. Set "PC side I/F".
Section 11.1.1
2. For CPUs other than FX3G, FX3U or FX3UC, click "GOT" on "PLC side I/F".
3. For FX3G, FX3U, or FX3UC, double-click "GOT" on "PLC side I/F".
The PLC side I/F Detailed Setting of GOT screen is displayed.
4. Set the following setting on the PLC side I/F Detailed Setting of GOT screen.
< Detailed setting screen >
Item
Detail setting for GOT and PLC
connection
Setup
Description
Check "PLC Module/CC IE Field Ethernet Adapter"
Select "FXCPU" for "CPU Mode".
When using GOT-F900, check "via GOT-F900 transparent mode". However, if
the detailed setting for PC side I/F is USB, this item cannot be selected.
11 - 28
FX
Q CPU L CPU Remote
Head
FX
FX
QCPU
*1 :
11
*2
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
*1
The following table shows the connection between the personal computer and GOT.
: Applicable
Connection
GOT-A900 series
GOT-F900 series
RS-232 connection
USB connection
Ethernet connection
12
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
For details of cables connecting GOT with the serial communication module, GOT settings, and
precautions, refer to the manual of the GOT to be connected.
GOT1000 series Connection Manual
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
*2 :
GOT
GOT1000 series
10
SEARCH/REPLACE
The following explains the GX Works2 setting method for accessing the programmable controller CPU
via a GOT and a serial communication module.
SETTING DEVICE
COMMENTS
WRITING/READING
DATA
11.8.2
11 - 29
GX Works2
Operation
1. Set "PC side I/F".
Section 11.1.1
3. Set the following setting on the PLC side I/F Detailed Setting of GOT screen.
<Detailed setting screen when using
the Ethernet connection
between personal computer and GOT>
Item
Description
Set settings such as an IP address and a host name when using the Ethernet
connection between a personal computer and a GOT.
Check "C24".
Setup
11 - 30
Head
FX
This section explains how to set functions to access a programmable controller CPU via phone line, and how
to connect/disconnect the line.
Modems described in the system configuration below include an external type, built-in PC modem, PC card
modem (PIMCIA), and TA (terminal adapter).
11
Serial communication
module * 1
Modem
Modem
Public line
12
WRITING/READING
DATA
*1 :
Select [Tool] [Set TEL Data/Connect via Modem] [Line Connection] to access the serial
communication module from the personal computer.
For details of setting items on the Line Connection screen, refer to the following section.
Section 11.9.2 " Connecting a line automatically"
The setting of the modem function of serial communication module can be set with the parameter
setting of intelligent function module.
For details of the modem function, refer to the following manual.
MELSEC-Q/L Serial Communication Module User's Manual (Application)
Switch settings of serial communication module
Data bit
Parity bit
None
Even/odd parity
Odd
Stop bit
Sum check code
Online change
Setting modifications
14
MONITORING
Transmission
setting
Description
Independent
1
Exist
Enable
15
Disable/Enable
According to modem specification
5
SIMULATING
PROGRAMS
Item
Operation setting
13
16
DEBUGGING
PROGRAMS
1)
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
SETTING DEVICE
COMMENTS
SEARCH/REPLACE
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
11.9
11 - 31
GX Works2
2)
Setting
2EH(46)
0: None
1: CH1
2: CH2
34H(52)*1
36H(54)
MELSOFT connection
specification
0: Not connected
1: Connected
*1 :
Name
The following initialization data are registered as a factory setting for serial communication module.
Q/L series C24: 7D0H(2000) to 7DDH(2013)
If a modem to be used is registered to the initialization data, specify the registration number.
When using an unregistered modem, a user can register initialization data to the following registration
numbers.
9C4H(2500) to 9E1H(2529)
8001H(-32767) to 801FH(-32737)
Access an FX1S, FX1N, FX1NC, FX2N, FX2NC, FX3G, FX3U, or FX3UC through a modem with a phone line,
and remotely-operate the functions such as monitoring, testing, and writing/reading programs.
*1
FXCPU
Modem
Modem
Public line
*1 :
11 - 32
For the combinations of an FXCPU and a function expansion board (special adapter), refer to the Section
2.1.10.
Start
Start
10
Start GX Works2.
SEARCH/REPLACE
SETTING DEVICE
COMMENTS
Operation flow
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
*2
12
WRITING/READING
DATA
13
*1 :
Section 11.9.2
*2 :
Section 11.9.1
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
End
14
MONITORING
1)
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
11 - 33
GX Works2
2)
Channel specification
Operation
Set the items on the screen.
Item
<<PLC System (1)>>
MODEM Initialized
Select this when using a modem other than "AIWA (PV-AF288)" or "OMRON
(ME3314B)".
The communication specification for this mode is as follows.
Start bit: 1 bit
Data length: 7 bits
Parity: EVEN
Stop bit: 1 bit
AIWA (PV-AF288)
OMRON (ME3314B)*1
Select this when using a modem other than "AIWA (PV-AF288)" or "OMRON
(ME3314B)", or when using a modem which cannot set the communication
specification for the user registration mode.
For details, refer to Point in this section.
This item is supported by FX3G, FX3U, and FX3UC only.
The communication specification for this mode is as follows.
Start bit: 1 bit
Data length: 8 bits
Parity: None
Stop bit: 1 bit
-
Channel specification
Clear this item when setting the programmable controller CPU which is
operated remotely.
*1 :
11 - 34
Description
-
When selecting OMRON (ME3314B) for FX2N, use the module with the version 2.01 or later
(manufacturing number 78**** or later).
SEARCH/REPLACE
10
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
SETTING DEVICE
COMMENTS
When "User Register Mode", "PP Modem Mode (CH1)", or "PP Modem Mode (CH2)" is selected
for "MODEM Initialized" on the <<PLC System (1)>> tab, set AT commands according to the
following operations.
Register AT commands to programmable controller CPU
Send the following data register data to the modem as a modem initialization command following
the "AT&F" (initialization to the factory setting) command when the programmable controller
CPU is turned ON.
D1000 to D1059 (For FX1N, FX1NC, FX2N, FX2NC, FX3G, FX3U, or FX3UC)
D200 to D255 (For FX1S)
Write a user-registered modem initialization command to above data register in advance using
the Modify Value function or a sequence program.
14
Register No.
ASCII
Hexadecimal
D1000
41
D1013
&
26
D1001
54
D1014
4D
D1002
45
D1015
34
D1003
30
D1016
5C
D1004
53
D1017
51
D1005
30
D1018
30
D1006
3D
D1019
5C
D1007
32
D1020
4A
D1008
51
D1021
30
D1009
31
D1022
&
26
D1010
&
26
D1023
57
D1011
44
D1024
CR
0D
D1012
30
D1025
LF
0A
MONITORING
ASCII
15
SIMULATING
PROGRAMS
Register No.
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Setting AT commands
16
A user-registered initialization command ends the transmission at the point when "0" is read.
As a precaution, create a sequence program in which the input area of initialization command for
modem and the data register area used by the general sequence program do not overlap.
11 - 35
DEBUGGING
PROGRAMS
3)
WRITING/READING
DATA
12
GX Works2
AIWA (PV-AF288)
ATE0S0=2Q1&D0&M5\Q0\JO&W
OMRON (ME3314B)
ATE0S0=2Q1&D0&H0&R1S15=8&W
E0 (None)
E0 (None)
S0=2 (Twice)
S0=2 (Twice)
Q1 (None)
Q1 (None)
&M5 (V.42bis)
S15=8 (V.42bis)
\Q0 (None)
&R1 (None)
&H0 (None)
\JO (Fixed)
&W
&W
Modem specifications
2)
11 - 36
Connection cables
Use an RS-232 cable included in a modem package, or a specified cable to connect a personal
computer and a modem.
Check the specification of the connector when purchasing a modem because the connectors are
different depending on a personal computer.
SETTING DEVICE
COMMENTS
1)
2)
3)
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
SEARCH/REPLACE
10
12
WRITING/READING
DATA
5)
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
4)
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
11 - 37
GX Works2
11.9.1
A personal computer can be connected with a programmable controller CPU using a phone line.
Use a serial communication module for QCPU (Q mode)/LCPU, and use a function expansion board
(special adapter) for FXCPU, to perform communication using a phone line.
Screen display
Select [Tool] [Set TEL Data/Connect via Modem] [Phone Book].
List of registered
phone numbers
Item
11 - 38
Description
Details
Display the registered information of the data selected on the list of registered phone
numbers.
1.
Select a group for which the phone number to be registered on the list of registered
phone numbers.
2.
Click the
button.
SETTING DEVICE
COMMENTS
Operating procedure
10
SEARCH/REPLACE
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
4.
Description
Display the group name to which the information is registered.
Name
Phone Number
Comments
Click the
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Item
Group Name
14
button.
MONITORING
3.
WRITING/READING
DATA
12
Screen button
15
16
DEBUGGING
PROGRAMS
SIMULATING
PROGRAMS
11 - 39
GX Works2
button.
button.
button.
button.
Searches for a registered phone number. The search condition is a partial match.
Target data is searched from all registered data.
When entering search conditions to both "Name" and "Phone Number", the data which satisfies the
both search conditions is searched.
Performs a selection processing of phone number setting when referring from the Line Connection
screen.
Imports phone number data from the specified file and adds it to the directory.
Execute the file import after deleting all groups and phone numbers to replace the data with the
imported phone number data.
Writes the data set on the Phone Book screen to the specified file.
11 - 40
Registering AT commands
SETTING DEVICE
COMMENTS
Register AT commands.
Screen display
Select [Tool] [Set TEL Data/Connect via Modem] [AT Command Registration].
SEARCH/REPLACE
10
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
List of registered
AT
commands
phone
numbers
WRITING/READING
DATA
12
Item
Description
Details
Display the registered information of the data selected on the list of registered AT
commands.
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Display contents
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
11 - 41
GX Works2
Operating procedure
1.
2.
Click the
button.
3.
4.
Description
Group Name
Title
AT Command
Click the
button.
11 - 42
button.
button.
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Select the group (to which data is copied), and click the
10
SEARCH/REPLACE
button.
SETTING DEVICE
COMMENTS
Screen button
12
button.
13
Performs a selection processing of AT command when referring from the Line Connection screen.
Imports AT command from the specified file and adds it to the directory.
Execute the file import after deleting all AT commands to replace the commands with the imported
commands.
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Select the group (to which data is moved), and click the
button.
14
MONITORING
WRITING/READING
DATA
15
SIMULATING
PROGRAMS
Writes data set on the AT Command Registration screen to the specified file.
DEBUGGING
PROGRAMS
16
11 - 43
GX Works2
11.9.2
Connecting/disconnecting line
Connect/disconnect a line.
Connect a personal computer to a programmable controller CPU (with the following method: automatic/
callback/manual) for remote access.
Screen display
Select [Tool] [Set TEL Data/Connect via Modem] [Line Connection].
< QCPU (Q mode)/LCPU >
Display contents
Item
Connect
Description
Display a line connection status.
The device which is being accessed is displayed flashing.
Devices will be displayed after the connection is established successfully.
When an error occurs during the connection attempt, the failed location is displayed with
, and devices are displayed in gray.
Check the failed location with a displayed message regarding the cause of the failure.
11 - 44
Line Type
Set the number as necessary when calling through the outside line.
Port
Connection Destination
AT Command
button.
Modem standard
AT command specification
When a difficulty of line connection arises using the standard AT command, create an AT
command with reference to the manual of the modem and the content displayed by clicking
the
PP modem mode
Click the
13
14
button.
When the line was not connected, perform the modem initialization.
For the precautions for connecting a line using the callback function, refer to the following manual.
MELSEC-Q/L Serial Communication Module User's Manual (Application)
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
2.
11
12
button.
Line connected time, line disconnected time, connection duration, destination, target phone
number, callback, error status, or normal connection can be checked in log files.
The log file at the line connection is saved in the following log file.
< Save location >
Record the logging data
SEARCH/REPLACE
Line
10
WRITING/READING
DATA
Connection Method
Description
Select a method: Automatic, Callback, or Manual (connecting a line through an operator).
The phone number is set when specifying a phone number of the callback target.
For a connection using the callback function, refer to " Connecting a line using the
callback function".
For a manual connection, refer to " Connecting a line through an operator (manual
connection)".
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Item
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
MONITORING
1.
SETTING DEVICE
COMMENTS
Operating procedure
11 - 45
GX Works2
Screen button
Performs a modem initialization when the modem did not respond at the line connection.
The following confirmation message is displayed by clicking the
button.
Connection duration
The connection duration is displayed on the status bar when the line is connected.
When the connection target is changed during the phone line connection
Even when the connection target is changed to another COM port or a communication board (such as
MELSECNET/10) on the Transfer Setup screen during the phone line connection, the communication can be
performed using the communication routes while the phone line is being connected.
When two or more error messages are displayed
Two or more communication error messages are displayed when the modem is turned OFF during the phone line
connection. In this case, set a longer time check period for "Other Station Setting" on the Transfer Setup screen.
Using a serial communication module to communicate through a phone line
The following table shows the items to be set on a programmable controller CPU and GX Works2 when performing
communication using a serial communication module (for Q/L series) through a phone line.
Setting target
11 - 46
Setting item
Programmable
controller CPU
Switch setting
Set the following items in the sequence program.
Write the initialization command (ATS0=1).
Set the initialization request.
GX Works2
AT command registration
Phone number registration
Reference
Section 11.9
Section 11.9.1
The callback function is a function which enables access from GX Works2 to QCPU (Q mode)/LCPU
with the line re-connection (callback) operation performed on the Q/L series C24 module side, after the
line connection operation is performed in GX Works2.
The callback function is not supported by FXCPU.
10
SEARCH/REPLACE
4)
5)
6)
7)
13
14
SIMULATING
PROGRAMS
Manual
15
16
DEBUGGING
PROGRAMS
9)
12
8)
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
2)
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
1)
SETTING DEVICE
COMMENTS
MONITORING
11 - 47
GX Works2
A line connection with the GX Works2 connection method described in the following table can be
performed when "Callback function specification" is set for the modem function of the intelligent
function module parameter of a Q/L series C24 module.
The following table shows the setting items of "Callback function specification" of the modem function
and corresponding setting items of GX Works2 connection method.
: Connectable
Connection method on GX Works2 side
1)
2)
3)
4)
5)
6)
7)
8)
9)
Auto
Setting 1: Auto/Callback Connection (at Fixation)
Setting 2: Auto/Callback Connection (at Number Specified)
Setting 3: Callback Connection (at Number Specified Max 10)
Setting 4: Callback Connection (at Fixation)
Setting 5: Callback Connection (at Number Specified)
Setting 6: Callback Connection (at Number Specified Max 10)
The following is an example of line connection with "Callback Request (Number Specification)".
:
:
Public line
Modem
Phone number
Set "Callback Request
(Number Specification)" on
the Line Connection screen.
Modem
11 - 48
10
Phone 1
Programmable controller
Phone line
Modem 1
C24
Operation
1. Select [Tool] [Set TEL Data/Connect via Modem] [Line Connection].
(Select "Manual" for the line connection method on the Line Connection screen. For details of
operating procedure, refer to " Connecting a line automatically".)
2. Set the mode on Modem 1 on Phone 1 side to the ORG mode, and Modem 2 on Phone 3 side
to the ANS mode.
12
13
14
MONITORING
If the connection cannot be established in step 6 and step 7, repeat the operations and adjust the
timing.
The ANS - ORG switch is required on the modem to connect a line manually.
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Modem 2
WRITING/READING
DATA
Phone 2
(Operator)
SEARCH/REPLACE
Phone 3
Peripheral device
SETTING DEVICE
COMMENTS
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
11 - 49
GX Works2
Disconnecting a line
Operating procedure
Select [Tool] [Set TEL Data/Connect via Modem] [Line Disconnection].
11 - 50
Setting options
SETTING DEVICE
COMMENTS
11.9.3
Screen display
10
SEARCH/REPLACE
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
Operating procedure
Set the items on the screen.
Item
Description
Extend the set period when the CD signal does not turn ON within the
set period depending on the area (example: overseas) to be
connected.
Extend the set period when the response speed of the modem is slow.
Extend the set period when the CD signal does not turn OFF within the
set period depending on the area (example: overseas) to be
connected.
Extend the set period when the response speed of the modem is slow.
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
14
Extend the set period when the line of the target (Q/L series C24) is not
disconnected within the set period depending on the area (example:
overseas) to be connected.
Extend the set period when a specific period is required for the device
which relays a connection (example: modem) between the line
disconnection and the reconnection.
15
SIMULATING
PROGRAMS
AT Command/Password Cancellation
Retry Times
MONITORING
DEBUGGING
PROGRAMS
16
11 - 51
GX Works2
11.10
Head
FX
This section explains the precautions on communication with the programmable controller CPU
Refer to POINT and Restrictions described in each section as well as the descriptions in this section.
When accessing QCPU (Q mode)/LCPU via multiple network systems, connected station*1 and relay
stations*2 must all be QCPU (Q mode)/LCPU.
*1:
*2:
Precautions on communication with the programmable controller CPU using a USB cable
1)
Connecting and disconnecting a USB cable, resetting the programmable controller CPU, and
turning the power ON/OFF
A communication error may occur and operation may not be recovered if connecting and
disconnecting a USB cable, resetting the programmable controller CPU or turning the power ON/
OFF is performed frequently during communication with the programmable controller CPU.
Be sure to set GX Works2 to offline*1 as much as possible during these operations.
When operation is not recovered from an error, remove a USB cable. Then, connect it again after
five or more seconds. (Even after this operation, an error may occur at initial communication.
However, communication will be successful after that.)
*1:
The following screen appears on the personal computer using Windows 2000 Professional
Operating System.
R
2)
11 - 52
2)
Resume function, suspend setting, power saving function, and standby mode of the personal
computer
A communication error may occur during communication with the programmable controller CPU
when the resume function, suspend function, power saving function, or standby mode set to the
personal computer. Disable these settings for communication with the programmable controller
CPU.
Switching the connection to GX Works2 during communication through the serial communication
function
12
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
MONITORING
14
15
SIMULATING
PROGRAMS
11
WRITING/READING
DATA
When using Q00, Q01, Q00UJ, Q00U, Q01U, Q02U, or QnUD(H)CPU, the connection can be
switched to GX Works2 during communication to a personal computer, indicator, etc. through the
serial communication function.
If unable to connect to GX Works2, adjust the transmission speed to that specified on the <<Serial
Communication>> tab of PLC parameter.
10
16
DEBUGGING
PROGRAMS
3)
SETTING DEVICE
COMMENTS
1)
SEARCH/REPLACE
Other precautions
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11 - 53
GX Works2
MEMO
11 - 54
SETTING DEVICE
COMMENTS
12 WRITING/READING DATA
This chapter explains operations to write or read data to/from the programmable controller CPU or a memory
card.
SEARCH/REPLACE
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
12
WRITING/READING
DATA
12.1
12.2
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
12 - 1
GX Works2
12 WRITING/READING DATA
12.1
This function writes project data to the programmable controller CPU or a memory card, or reads data in the
programmable controller CPU or a memory card to the project.
Data for intelligent function module also can be written/read. (
Section 12.1.4)
Symbolic information can be written to/read from a programmable controller CPU for projects with labels of
FX3U/FX3UC version 3.00 or later only.
To boot QCPU (Q mode) using a standard ROM or Flash card, it is recommended to firstly write necessary
data to the program memory using the Write to PLC function and then write the data to the standard ROM or
Flash card using the Export to ROM Format function. (
Section 12.4)
Screen display
Select [Online] [Write to PLC] (
).
The following explains the settings for writing data to a programmable controller CPU. Settings for
reading data from a programmable controller CPU can be made in the same manner.
<Write to PLC screen for the projects without labels.>
File list
Memory capacity
12 - 2
9
SETTING DEVICE
COMMENTS
10
SEARCH/REPLACE
File list
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Memory capacity
WRITING/READING
DATA
12
Operating procedure
Set the items on the screen.
13
Description
Display the information of the connection destination setting.
PLC Module
Set the settings to write intelligent function module data to the buffer memory or
flash ROM of the intelligent function module.
Section 12.1.4
Display the title of the target memory by clicking the
Option*2
Display Size
button.
Check this to display the "Size" column in the file list and the memory capacity.
File list
Target
Target Memory*1
Select the memory from the list ( ) by clicking the cell under "Target Memory".
For details of the memory card application, refer to the following manuals.
QCPU User's Manual (Hardware Design, Maintenance and Inspection)
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and
Inspection)
Writing Size
Free Volume
Use Volume
15
SIMULATING
PROGRAMS
Memory capacity*3
14
MONITORING
Title*1
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Item
Connection Channel List
16
*1 :
*2 :
Displayed only when a project with labels is written to the programmable controller CPU.
*3 :
For FXCPU, the program size and the symbolic information size are displayed when the project is
written to the programmable controller CPU. Symbolic information size is displayed on the screen for
projects with labels of FX3U/FX3UC version 3.00 or later only.
12 - 3
DEBUGGING
PROGRAMS
1.
GX Works2
12 WRITING/READING DATA
When a program (program file), device comment, device memory, or file register is selected, the
range can be set by clicking the
/
button.
When reading data from the programmable controller CPU, and the device memory is selected, the
detailed settings are required.
For details, refer to the following sections.
12.1.1 Setting write/read range of program (program file)
12.1.2 Setting write/read range of device data
12.1.3 Setting range of device comment to be written/read
2.
Click the
button.
When the Write to PLC function is executed, the specified data are written to the target memory.
When the Read from PLC function is executed, the specified data are read from the target memory.
Screen button
Selects the parameters and all the programs displayed in the list.
/
Switches display/hide of the Related functions button.
For details of the related functions, refer to the following sections.
Remote Operation
Set Clock
Displays the project name of the symbolic information in the Title/Project Name column.
It is not displayed for projects without labels or by FXCPU.
12 - 4
Section 6.3)
When the number of permissible unmatched remote password entries or the cumulative number of
permissible unmatched password entries has been set and the number of unmatched entries exceeds
the set number, the programmable controller CPU will be in the status as shown in the following table.
For corrective action, refer to MELSEC-Q/L Serial Communication Module User's Manual (Application).
Status
The line is disconnected automatically.
11
PLC type
Drive No.
QCPU
(Q mode)/
LCPU
13
LCPU
QCPU
(Q mode)/
LCPU
PLC parameter
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
QCPU
(Q mode)
Standard RAM
Standard ROM
Memory capacity
When a project is written to the programmable controller CPU, the target memory capacity may be displayed
smaller than the actual file size.
Writing multiple programs to programmable controller CPU
When more than one program is written to the programmable controller CPU, programs categorized as No
Execution Type will never be executed on the programmable controller CPU.
For saving the memory capacity of the programmable controller CPU, it is recommended to remove them from the
target data of the Write to PLC function.
Reading device memory data from programmable controller CPU
Device memory data are read in the condition in which "Number of Columns" is set to "Auto" on the device memory
editor.
Saving the selection status of the files for the Write to PLC/Read from PLC function
The selection status of the files for the Write to PLC/Read from PLC function can be saved.
To save the file selection status, select [Tool] [Options] "PLC Read/Write" and set "Operational Setting".
However, the file selection status is canceled by any of the following operations.
Changing the connection destination setting
Changing the target memory
Changing the PLC type
Ending the project
14
15
16
<Option setting>
DEBUGGING
PROGRAMS
12
WRITING/READING
DATA
Target memory
The following table shows the relations between the target memory on the Online Data Operation screen and the
drive of the programmable controller CPU.
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Item
When the number of permissible
entries is exceeded
10
MONITORING
SEARCH/REPLACE
The confirmation message for unlocking the remote password is displayed when the programmable
controller CPU for which the remote password is set is accessed via C24 modules or Q seriescompatible E71 modules. Unlock the password by following the message.
SETTING DEVICE
COMMENTS
SIMULATING
PROGRAMS
12 - 5
GX Works2
12 WRITING/READING DATA
12.1.1
Head
FX
FX
Set the range of a program (program file) to be written/read when the program (program file) is selected
on the Online Data Operation screen.
Screen display
Select the program (program file) and click the
button.
Operating procedure
Description
Range
Option
Check this to specify the same number of secured steps for Online program
change to all files.
Check this to read the remaining secured steps for Online program change
of the files written in the programmable controller CPU.
Screen button
12 - 6
Head
FX
FX
Set the type and range of device memory and the range of file register to be written/read when any or
both of them are selected on the Online Data Operation screen.
SETTING DEVICE
COMMENTS
12.1.2
Set the type and range of device memory to be written to/read from a programmable controller CPU.
The following tables show devices that can be written/read.
QCPU (Q mode)/LCPU
11
Device
M, L, B, F, SB, V,
*2
*2
Writing
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Reading
*2
12
*2: Three types of data (contact, coil, and current value) can be written/read.
WRITING/READING
DATA
FXCPU
: Applicable : Not applicable
Device
M, S, T, C, D,
R*3,
Writing
Reading
ER*3
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Screen display
Select the device data and click the
< QCPU (Q mode)/LCPU >
SEARCH/REPLACE
10
button.
MONITORING
14
Device range
list
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
12 - 7
GX Works2
12 WRITING/READING DATA
Operating procedure
Description
Device Selection
Internal Device
Memory
Input Column
Points + Start
Device Selection
Start + End
Device range list
Link Memory*1
(Read from PLC only)
Buffer Memory Head I/O No.*1
(last 1 digit is not required)
(Read from PLC only)
*1 :
Enter the data name for data created when the device memory data are
read.
Select this to specify the range with the number of device points and the
start device number.
Select this to specify the range with the start and end device numbers.
Set the device to be written/read and the device range.
The default device range is a range set on the <<Device>> tab of PLC
parameter. Devices to which 0 point is set cannot be set without checking
the check box.
Check this to read the link memory of the data link module or the network
module to the link direct device.*2,*3
Setting range: Slots 1 to 4
Check this to read the intelligent function module buffer memory to the
intelligent function module device.*3
Setting range: 0 to 1FF
*2 :
For the method to number the module to be set, refer to Point in Section 17.1.
*3 :
Screen button
12 - 8
SETTING DEVICE
COMMENTS
Set the range of file register to be written to/read from a programmable controller CPU.
For Q00JCPU/FXCPU, the range of file register to be written/read cannot be set.
Screen display
/
button.
10
SEARCH/REPLACE
Item
Specified Range
Description
Specify the range of file register to be written/read.
If multiple file registers are selected, each file register value is written/read in the same
range.
Screen button
For the buttons on the screen, refer to Setting type and range of device memory to be written/read.
12
WRITING/READING
DATA
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Operating procedure
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
12 - 9
GX Works2
12 WRITING/READING DATA
12.1.3
Head
FX
FX
Set the device and range of global device comment/local device comment to be written or read when
the global device comment/local device comment is selected on the Online Data Operation screen.
Set this setting to limit the writing range of device comments in cases such as when the programmable
controller CPU has small free capacity. When the range of device comments is not set, all device
comments are written/read.
For FXCPU, this function only supports global device comments being written to the programmable
controller CPU.
Screen display
Select a global device comment/local device comment and click the
button.
Operating procedure
Description
Device Name
Start
End
*1 :
Restrictions
Specifying bit-specified word device comments as write target
Device comments cannot be read in GX Developer.
When a device comment contains a bit-specified comment of LCPU is read in GX Works2 Version 1.62Q or earlier,
the bit-specified comment is deleted.
When a device comment contains a bit-specified comment of Universal model QCPU is read in GX Works2
Version 1.31H or earlier, the bit-specified comment is deleted.
12 - 10
FX
Write the data of the intelligent function modules to a programmable controller CPU or intelligent
function module buffer memory/flash ROM.
Intelligent function module data includes intelligent function module parameters to be written to a
programmable controller CPU as a parameter file, and data whose values are written directly to
intelligent function module buffer memory/flash ROM.
For details of data to be written as intelligent function module parameters and data to be written to
intelligent function module buffer memory/flash ROM, refer to the following manuals.
GX Works2 Version 1 Operating Manual (Intelligent Function Module)
Users Manual to be used
Write intelligent function module parameters to a programmable controller CPU, and read the data from
the programmable controller CPU to a project.
Screen display
Select [Online] [Write to PLC] ( )/[Read from PLC] ( ) <<PLC Module>>.
The settings for writing/reading data to/from a programmable controller CPU are explained
together as they are similar operations.
<Write to PLC screen>
10
SEARCH/REPLACE
Head
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
SETTING DEVICE
COMMENTS
12
WRITING/READING
DATA
12.1.4
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
File list
MONITORING
14
Memory capacity
15
Select "Intelligent Function Module (Initial Setting/Auto Refresh)" from the file list.
For the items on the screen, refer to Section 12.1.
16
DEBUGGING
PROGRAMS
1.
SIMULATING
PROGRAMS
Operating procedure
12 - 11
GX Works2
12 WRITING/READING DATA
2.
Click the
button.
In the Write to PLC operation, the intelligent function module parameters are written to the target
memory.
In the Read from PLC operation, the intelligent function module parameters in the programmable
controller CPU are read from the target memory.
Write the set intelligent function module data to the buffer memory/flash ROM of the intelligent function
module via a programmable controller CPU, and read the intelligent function module data to a project.
Use the operation for changing the data temporarily during debugging.
If a module does not have initial settings for intelligent function module parameters, this function can
directly write data such as initial values to the intelligent function module buffer memory/flash ROM.
Screen display
Select [Online] [Write to PLC] ( )/[Read from PLC] ( ) <<Intelligent Function Module>>.
The following explains the settings for writing data to a programmable controller CPU.
Settings for reading data from a programmable controller CPU can be made in the same
manner.
<Write to PLC screen>
The items in
12 - 12
Check the check boxes of "Valid" for write/read target module and "Target" for each
item.
Set details such as a write/read range and write target by clicking the
2.
Click the
10
button.
In the Write to PLC operation, the set data are written to the intelligent function module buffer
memory/flash ROM, and in the Read from PLC operation, the data are read from the intelligent
function module buffer memory/flash ROM.
Screen button
For the buttons on the screen, refer to Section 12.1.
SEARCH/REPLACE
1.
SETTING DEVICE
COMMENTS
Operating procedure
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
12 - 13
GX Works2
12 WRITING/READING DATA
Writing data when the QD75 ready signal (X0) is ON (positioning data only)
Data cannot be written when the QD75 ready signal (X0) of the target intelligent function module is ON.
When the QD75 ready signal (X0) is OFF, the availability of operation varies depending on the option setting*1.
: Applicable : Not applicable
"Confirm PC operation status when writing a data"
Programmable controller
CPU operating status
*1 :
Checked
Not checked
STOP
Other than
STOP
Displaying the confirmation message when writing data to a flash ROM (positioning data only)
The confirmation message can be displayed when data are written to a flash ROM by the following setting.
Select [Tool] [Options] "Intelligent Function Module" "QD75/LD75 Type Positioning" and check "Display a
confirmation message when writing to a flash ROM".
12 - 14
Head
FX
FX
Symbolic information is data that store the program configuration such as structures and labels.
To restore these data included in the symbolic information when reading a program from the
programmable controller CPU, write/read the symbolic information to/from the programmable controller
CPU.
Data such as structures and labels included in the symbolic information cannot be restored if only
sequence programs are read. (In case of a Structured project, the programming language is treated as
the ladder language.)
The following table shows the program data included in the symbolic information.
Data included in symbolic information
11
Structures
Local labels
Programs
Function blocks
User libraries
Structures
12
Global labels
Structured project
WRITING/READING
DATA
Program Setting
Tasks
POU
Local labels
Programs
Function blocks
13
Functions
14
15
16
DEBUGGING
PROGRAMS
FXCPU
When a memory cassette to which the symbolic information has been written is used on an FXCPU other than
FX3U/FX3UC version 3.00 or later, the memory cassette can be used, however, the symbolic information cannot be
read from the memory cassette.
When the symbolic information is written to a memory cassette on an FXCPU other than FX3U/FX3UC version 3.00
or later, the symbolic information may be corrupted.
Automatic project save after writing to programmable controller CPU
According to the option setting, the project can be saved automatically after writing to the programmable controller
CPU. Select [Tool] [Options] "Project" "Automatic Save" and check "Save project after writing to PLC".
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Simple project
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Global labels
MONITORING
Project type
10
SEARCH/REPLACE
*1
FX
Q CPU L CPU Remote
SETTING DEVICE
COMMENTS
Symbolic information
SIMULATING
PROGRAMS
12.1.5
12 - 15
GX Works2
12 WRITING/READING DATA
12 - 16
Head
FX
The following explains the precautions on writing/reading data to/from the programmable controller
CPU.
1)
SETTING DEVICE
COMMENTS
10
SEARCH/REPLACE
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
12.1.6
2)
An uncompiled program exists when writing data to the programmable controller CPU
If the following message is displayed when writing data to the programmable controller CPU, click
the
button and stop writing data. Then, execute [Compile] [Build] again on the
uncompiled program.
WRITING/READING
DATA
12
Compiling all programs changes the device assignment to labels. Therefore, device values set
before the program change remain on the device-assigned labels.
For QCPU (Q mode)/LCPU, by setting the following option, device values in the range set in the
device/label automatic-assign setting can be automatically cleared to 0 after writing programs to
the programmable controller CPU.
[Tool] [Options] "When writing to PLC after a Rebuild All operation, clear the device ranges
set in the Device/Label Auto-Assign setting to 0."
For not configuring the above setting, as a precautionary measure, after writing programs to the
programmable controller CPU, reset the programmable controller CPU, clear all device memories
including latches, clear all file registers, then switch the programmable controller CPU to RUN.
Section 17.3)
15
SIMULATING
PROGRAMS
14
MONITORING
16
DEBUGGING
PROGRAMS
3)
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
12 - 17
GX Works2
12 WRITING/READING DATA
4)
Editing programs after writing symbolic information to the programmable controller CPU
Edit programs in the same project type as the symbolic information if editing them after writing
symbolic information to the programmable controller CPU.
In addition, be sure to write the latest symbolic information to the programmable controller CPU if
writing only execution programs to it using Online program change etc.
If execution programs are read out and edited in GX Works2 projects without labels or GX
Developer and rewritten to the programmable controller CPU, the programs being edited may be
inconsistent with the execution programs in the programmable controller CPU when symbolic
information is read out using GX Works2.
If inconsistency occurs by the operation mentioned above, check the mismatch parts using the
Verify with PLC function and correct them.
5)
Performing the Write to PLC function when symbolic information is not written to the programmable
controller CPU
Program data are not displayed on the screen for Read from PLC in a project with labels.
When reading programs in a project with labels, select symbolic information.
When symbolic information is not written to the programmable controller CPU, create a new project
without labels, and read the programs.
When reading programs in a project without labels, the read programs are displayed in the ladder
format. However, as there are cases where the program cannot be displayed correctly in the ladder
format, be sure to check the program after the symbolic information has been read from the
programmable controller CPU.
The background color of the ladder block in which the program cannot be displayed correctly in a
ladder is displayed in yellow.
The program can be edited by deleting the ladder block or adding new ladder block before or after
it, even when the background color is displayed in yellow.
Be sure to write/read the symbolic information to/from the programmable controller CPU in order to
restore the program to its original state.
6)
7)
8)
12 - 18
11
10
SEARCH/REPLACE
For projects with labels, data can be read from a programmable controller CPU, and symbolic
information can be read from/write to a programmable controller CPU in a project of FX3U/FX3UC
version 3.00 or later only. Since these functions cannot be performed on the other FXCPU
projects with labels, store the projects in a safe place.
When a project in which a block password with the validated setting for "Read-protect the
execution program" exists is written, the execution program cannot be read. Write the symbolic
information to recover the program.
When a program with an Peripheral statement/note is written to the programmable controller
CPU, the Peripheral statement/note cannot be written to it. (The information of the lines with
Peripheral statement/note also cannot be written to the programmable controller CPU.)
SETTING DEVICE
COMMENTS
FXCPU
button.
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
9)
WRITING/READING
DATA
12
The symbolic information, which has been created and written to the programmable controller CPU
using the Japanese version of GX Works2, cannot be read from the programmable controller CPU
using the English version of GX Works2.
In this case, save again the project created with the Japanese version of GX Works2 using the
English version of GX Works2, and write the symbolic information to the programmable controller
CPU.
By following the operation described above, the symbolic information can be read from the
programmable controller CPU using the English version of GX Works2.
14) Reading projects created in English version of GX Works2 from programmable controller CPU
When reading projects created in the English version of GX Works2 Version 1.31H or earlier from
the programmable controller CPU, select "Japanese" for the language selection.
14
MONITORING
13) Reading the symbolic information, which has been written to the programmable controller CPU
using the Japanese version of GX Works2, using the English version of GX Works2
15
SIMULATING
PROGRAMS
Writing/reading data cannot be executed with FX3U/FX3UC unless the memory cassette is installed
to the programmable controller main unit.
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
12) Writing/reading ER device with FX3U/FX3UC
DEBUGGING
PROGRAMS
16
12 - 19
GX Works2
12 WRITING/READING DATA
12.2
Head
FX
This section explains how to verify the open project against the data in the programmable controller CPU.
The verification function is used to compare the content of two projects or to locate program changes made in
the programs.
To verify data between two projects, use the Verify with PLC function. (
Section 4.2.7)
The following data can be selected as verification targets for the Verify with PLC function.
Programs
Parameters
Intelligent function module parameters (initial setting/auto refresh)
Device comments
Device memory data
File registers
QD75/LD75 positioning module
For FXCPU, only programs and parameters are the verification targets.
Screen display
Select [Online] [Verify with PLC].
<CPU module>
File list
Comment
verify type
Memory capacity
12 - 20
12.2 Verifying Data at Programmable Controller CPU against Data at Personal Computer
9
SETTING DEVICE
COMMENTS
10
SEARCH/REPLACE
File list
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Operating procedure
PLC Module
Set the settings to verify data with data on the programmable controller CPU.
Set the settings to verify data with data on the intelligent function module.
Section 12.1.4
Title*1
File list
button.
Target
Target Memory*1
Select the memory from the list ( ) by clicking the cell under "Target Memory".
For details of the memory card application, refer to the following manuals.
QCPU User's Manual (Hardware Design, Maintenance and Inspection)
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and
Inspection)
Set a basis either; data being edited or module data, when verifying device
comments. (
" Comment verify type")
Memory capacity*1
Writing Size
Free Volume
Use Volume
13
14
15
SIMULATING
PROGRAMS
Click the
WRITING/READING
DATA
*1 :
2.
Description
Display the information of the connection destination setting.
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Item
Connection Channel List
MONITORING
button.
16
DEBUGGING
PROGRAMS
1.
12
12 - 21
GX Works2
12 WRITING/READING DATA
Screen button
For the buttons on the screen, refer to Section 12.1.
12 - 22
12.2 Verifying Data at Programmable Controller CPU against Data at Personal Computer
Parameter verification
SETTING DEVICE
COMMENTS
Screen display
button.
10
SEARCH/REPLACE
The following table shows the setting items for parameter verification.
Verify only the parameter area set by the user.
All Areas
Verify all area including the parameter area set by the system.
Corrective action
A mismatch exists in area other than the user setting area.*1
Rewrite the parameters having been written to the programmable controller CPU.
Data in areas other than the user setting area may be erroneous due to such as noise.
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
*1 :
12
WRITING/READING
DATA
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Description
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Item
12 - 23
GX Works2
12 WRITING/READING DATA
A basis of the range, either 'data being edited' or 'module data', can be set in the Verify with PLC
function of device comment.
The comment verify type can be set when global device comments or local device comments of both
'data being edited' and 'module data' are selected.
The following table shows the items of the comment verify type and their descriptions.
Item
Description
Verify data with the range of device comments in the project as a basis.
When this item is selected, detail setting of the selected device comments can be set by
GX Works2 Data
clicking the
button. (
Section 12.1.3)
Verify data with the range of device comments written to the programmable controller
CPU as a basis.
PLC Data
M0
M1
M2
Device comment of M2
M3
M4
M5
M6
12 - 24
Head
FX
This section explains how to delete data in the programmable controller CPU such as programs and
parameters.
SETTING DEVICE
COMMENTS
12.3
SEARCH/REPLACE
10
Screen display
Select [Online] [Delete PLC Data].
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
12
WRITING/READING
DATA
File list
Memory capacity
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
Operating procedure
Select the data to delete from the file list.
For the items on the screen, refer to Section 12.1.
2.
Click the
14
MONITORING
1.
button.
15
Screen button
16
DEBUGGING
PROGRAMS
SIMULATING
PROGRAMS
12 - 25
GX Works2
12 WRITING/READING DATA
12.4
Head
FX
This section explains how to copy the program memory data in the programmable controller CPU to a
standard ROM in the programmable controller CPU or a Flash card in batch.
This function is used to boot up using a standard ROM or a Flash card, or save program memory data in a
standard ROM or a Flash card without a battery backup.
Program memory data can be saved without a battery backup for Universal model QCPU and LCPU since the
program memory of those CPUs is a flash ROM.
Screen display
Select [Online] [Export to ROM Format].
Operating procedure
1.
2.
Click the
Description
Select the memory in which the program memory data are to be written.
button.
3.
Click the
button.
The program memory data are exported in ROM format and the data are written to the memory set
in "Target".
Precautions on writing
All the write target data are deleted.
Reading data written in ROM format
Use the Read from PLC function to read the data written in ROM format.
Exporting device memory in ROM format
The device memory cannot be written using the Export to ROM format function.
12 - 26
*1: Not supported by Basic model QCPU, Q00UJ, Q00U, and Q01U.
This section explains how to write/read/delete PLC user data (CSV format file/binary format file) to/from an
ATA card/SD memory card/standard ROM.
PLC user data written to an ATA card/SD memory card/standard ROM can be used in sequence programs.
For the method for handling the PLC user data in sequence programs, refer to the following manual.
MELSEC-Q/L Programming Manual (Common Instructions)
SETTING DEVICE
COMMENTS
FX
10
SEARCH/REPLACE
Head
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
*1
12
WRITING/READING
DATA
13
Screen display
Select [Online] [PLC User Data] [Write PLC User Data]/[Read PLC User Data]/[Delete PLC User
Data].
The following explains the settings for writing PLC user data. The settings for reading/deleting PLC
user data can be made in the same manner.
<Write PLC User Data>
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
12.5
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
12 - 27
GX Works2
12 WRITING/READING DATA
Operating procedure
1.
Use the
written.
button to set the storage source for the PLC user data to be
When reading PLC user data, set the save destination for the PLC user data to be read.
2.
3.
Description
Target Memory
Select the memory to which the PLC user data are to be written.
For details of the memory card application, refer to the following manuals.
QCPU User's Manual (Hardware Design, Maintenance and Inspection)
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance
and Inspection)
Title
Local File
(Write PLC User Data only)
Click the
button.
button.
When the Write PLC User Data function is executed, the selected PLC user data are written.
When the Read PLC User Data function is executed, the selected PLC user data are read.
When the Delete PLC User Data function is executed, the selected PLC user data are deleted.
Screen button
For the explanation of the buttons on the screen, refer to Section 12.1.
12 - 28
Head
FX
FX
This section explains how to transfer the content of program cache memory to program memory in batch
using Universal model QCPU/LCPU.
Use this function to transfer data at desired timing, for example, when option setting is made so that a
program is not transferred to the program memory at Online program change.
Operating procedure
SETTING DEVICE
COMMENTS
FX
Q CPU L CPU Remote
10
SEARCH/REPLACE
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
12.6
WRITING/READING
DATA
12
<Universal model QCPU with a serial number whose first five digits are '10011' or lower>
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
Click the
14
button.
MONITORING
The content in the program cache memory is transferred to program memory in batch.
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
4.
12 - 29
GX Works2
12 WRITING/READING DATA
*1 :
For Universal model QCPU with a serial number whose first five digits are '12012' or higher, the following
message is displayed and the process of the program memory batch transfer can be canceled. To
cancel the transfer, click the
button.
When the program cache memory and the program memory match
The batch transfer of the program memory data is not executed.
12 - 30
*1
Head
FX
12.7.1
11
12
WRITING/READING
DATA
Operating procedure
1.
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
This section explains how to back up data such as device memory, file register, error history to the standard
ROM using Universal model QCPU/LCPU.
The backup content stored using this function is automatically restored to the program memory or other area
when the programmable controller CPU is turned from OFF to ON or when it is reset.
This function allows the system to create backups of the data such as device data and error history data for
those times when the system needs to be shut down for a prolonged time without use of battery.
For details of backup target data, refer to the Users Manual (Function Explanation, Program Fundamentals)
of the CPU module to be used.
SETTING DEVICE
COMMENTS
SEARCH/REPLACE
12.7
2.
Click the
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
button.
14
MONITORING
Devices
The latch data backup function is available for the following devices.
M, L, B, F, V, T, ST, C, D, W, Z, ZR, R
To back up ZR and R, set the PLC file setting in the PLC parameter in advance.
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
12 - 31
GX Works2
12 WRITING/READING DATA
12.7.2
Operating procedure
1.
2.
Click the
button.
12 - 32
Head
FX
12.8.1
10
SEARCH/REPLACE
This section explains how to back up data in the programmable controller CPU to a memory card, and
restoring it to another programmable controller CPU using Universal model QCPU/LCPU.
SETTING DEVICE
COMMENTS
12.8
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Screen display
Select [Online] [PLC Module Change] [Create Backup Data].
The following is an example of setting screen when QCPU (Q mode) is selected.
WRITING/READING
DATA
12
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
Operating procedure
14
Status
Setting
15
SIMULATING
PROGRAMS
MONITORING
Item
16
DEBUGGING
PROGRAMS
1.
12 - 33
GX Works2
12 WRITING/READING DATA
2.
Click the
button.
3.
Screen button
Refreshes and displays the execution status of backup when the power is turned OFF or reset.
12 - 34
SETTING DEVICE
COMMENTS
12.8.2
Restore the registration from backup data for the programmable controller CPU replacement.
Screen display
10
SEARCH/REPLACE
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
Click the
button.
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
1.
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Operating procedure
12 - 35
GX Works2
12 WRITING/READING DATA
12.9
This section explains the operations for changing programs or data while the programmable controller CPU is
in RUN (Online program change).
The Online program change operations include Online program change performed during conversion/
compilation and performed from the Write to PLC screen in units of files.
Be sure to fully understand the descriptions below and in Section 12.9.4 to 12.9.6 for operating with care.
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 programmable controller CPU, the
corrective actions against a communication error due to such as a cable connection fault should be predetermined as
a system.
CAUTION
The online operations performed from a personal computer to a running programmable controller CPU (Program
change when a programmable controller CPU is RUN, 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 a programmable controller CPU is RUN, it may cause a program corruption in some
operating conditions. Fully understand the precautions described in this section.
12 - 36
Head
FX
FX
RUN
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
12
Operating procedure
1.
2.
3.
13
14
MONITORING
10
WRITING/READING
DATA
SETTING DEVICE
COMMENTS
FX
Q CPU L CPU Remote
SEARCH/REPLACE
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
12.9.1
15
button.
SIMULATING
PROGRAMS
Click the
16
DEBUGGING
PROGRAMS
4.
12 - 37
GX Works2
12 WRITING/READING DATA
Operating procedure
1.
2.
3.
4.
Select "Execute compile and online change after conversion" and click the
button.
The program is converted and compiled simultaneously, and Online program change is performed.
The following message is displayed.
<When not writing/deleting SFC blocks>
12 - 38
5.
Click the
button.
Be sure to read and fully understand the message, and click the
<When not writing/deleting SFC blocks>
SETTING DEVICE
COMMENTS
SEARCH/REPLACE
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
<When deleting SFC blocks>
13
Description
Online Change
Check this to update the change to the boot source while the target
memory is booting.
*1 :
For FXCPU, this item is supported by FX3U/FX3UC version 3.00 or later only.
*2 :
Click the
14
MONITORING
button.
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
7.
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
6.
WRITING/READING
DATA
12
12 - 39
GX Works2
12 WRITING/READING DATA
Perform Online program change with the following writing range which depends on the editing mode.
When a new ladder block is inserted, the inserted program is written together with two steps (one
before and the other after the program) to the programmable controller CPU.
Therefore, the Online program change may not be completed at a time depending on the number of
program steps added and the two steps before and after the program. In this case, reduce the number
of steps written at a time and perform Online program change in several times.
The following table shows the number of steps that can be written at once.
CPU type
QCPU, LCPU
512
256
127
<Example>
12 - 40
SEARCH/REPLACE
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
15
SIMULATING
PROGRAMS
When performing Online program change to a programmable controller CPU for the first time, or an error
occurs during Online program change
Make sure that the program before writing matches the program in the programmable controller CPU with the
Verify with PLC function.
When the program part to be written does not match
If the program part to be written does not match with the program in the programmable controller CPU, Online
program change cannot be performed.
Perform Online program change in units of files. (
Section 12.9.2)
When Online program change of multiple blocks cannot be performed
The message is displayed in the following cases when Online program change is performed. Select whether to
perform Online program change in units of files.
There are no "Online change area of multiple blocks".
The number of blocks exceeds the limit of Online program change of multiple blocks.
The programmable controller CPU does not support the Online program change of multiple blocks.
When performing Online program change to a programmable controller CPU in which the symbolic
information has been written
Symbolic information, which contain the program configuration data such as structure data types and labels, are
the data necessary only for restoring the data such as structured data types and labels after reading a program
from the programmable controller CPU. (
Section 12.1.1) Therefore, the write of symbolic information does not
affect the operation of the programmable controller CPU, however, when performing Online program change to a
programmable controller CPU in which the symbolic information has been written, be sure to write the execution
program together with the symbolic information.
However, note that because it may take a few or more minutes to write symbolic information, it is recommended
not to write symbolic information every Online program change but to perform the Write to PLC operation to write
symbolic information after all process of Online program change are completed. (
Section 12.9.2)
Online program change after compiling all programs
All programs need to be compiled when the following operations are performed. Therefore the [Online Program
Change] function cannot be performed.
Write programs to programmable controller CPU after compiling all programs. (
Section 12.1, Section 12.9.2)
Changing the following PLC parameters
"Common Pointer No." and "Timer Limit Setting" on the <<PLC System>> tab
"File Register" and "File for Local Device" on the <<PLC File>> tab
Settings on the <<Device>> tab
Changing the following option settings
"Default Length of String Data Type" in "Label Setting Editor"
Settings in "Compile"
Changing automatically assigned devices
Updating instructions and application functions when opening Structured project.
Changing PLC type
Changing project type
Executing the Write to PLC function when a new project is not created, or a project is not opened
Automatic project save after Online program change
According to the option setting, the project can be saved automatically after Online program change. Select [Tool]
[Options] "Project" "Automatic Save" and check "Save project after online change".
Editing separate ladder blocks with FXCPU
For FXCPU, ladder blocks between the edited ladder blocks are also written to the programmable controller CPU.
Performing Online program change with FXCPU
Symbolic information can be written to a programmable controller CPU with the Online program change function
for projects of FX3U/FX3UC version 3.00 or later only.
The Online program change function does not support SFC programs.
When selecting [Compile] [Online Program Change], Online program change may not be able to be
performed if a restriction of the programmable controller CPU is applied to the compilation result. (
Section
12.9.6)
SETTING DEVICE
COMMENTS
DEBUGGING
PROGRAMS
16
12 - 41
GX Works2
12 WRITING/READING DATA
12.9.2
Head
FX
FX
Write programs or data in units of files while the programmable controller CPU is in RUN.
RUN
Writes data to
programmable
controller CPU in
units of files.
Operating procedure
12 - 42
SEARCH/REPLACE
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
14
MONITORING
Data that can be written in units of files with Online program change
Data such as sequence programs and device comments can be written with Online program change.
The data that can be written with Online program change depends on the write target memory.
For details, refer to the following manual.
User's Manual (Function Explanation, Program Fundamentals) of the CPU module to be used
Online program change after compiling all programs
The Online program change cannot be performed after compiling all programs. When the Online program change
function is executed after compiling all programs, the programmable controller CPU is remotely stopped and
programs are written to the programmable controller CPU.
Compiling all programs changes the device assignment to labels. Therefore, device values set before the program
change remain on the device-assigned labels.
By setting the following option, device values in the range set in the device/label automatic-assign setting can be
automatically cleared to 0 after writing programs to the programmable controller CPU.
[Tool] [Options] "When writing to PLC after a Rebuild All operation, clear the device ranges set in the Device/
Label Auto-Assign setting to 0."
For not configuring the above setting, as a precautionary measure, after writing programs to the programmable
controller CPU, reset the programmable controller CPU, clear all device memories including latches, clear all file
registers, then switch the programmable controller CPU to RUN. (
Section 17.3)
For the precautions on compiling all programs, refer to the following manuals.
GX Works2 Version 1 Operating Manual (Simple Project)/(Structured Project)
Memory shortage of the programmable controller CPU
Increase the free space of the programmable controller CPU with the Memory arrangement function.
(
Section 17.4)
If the capacity is still insufficient after the operation, switch the programmable controller CPU to STOP and delete
unnecessary programs in it. Then, write the programs using the Write to PLC function.
(Delete PLC Data
Section 12.3, Write to PLC
Section 12.1)
When performing Online program change to a programmable controller CPU in which the symbolic
information has been written
Symbolic information, which contains the program configuration data such as structure data types and labels, is
data necessary for restoring the data such as structured data types and labels after reading a program from the
programmable controller CPU. (
Section 12.1.1) Therefore, the symbolic information does not affect the
operation of the programmable controller CPU, however, write the symbolic information when performing Online
program change to a programmable controller CPU to which the symbolic information has been written.
However, note that because it may take a few minutes to write symbolic information, it is recommended not to write
symbolic information every Online program change but to write symbolic information after all Online program
changes are completed.
When performing Online program change to Universal model QCPU
For Universal model QCPU, the following Online program change cannot be performed.
Online program change performed on a program which does not exist in a programmable controller CPU.
Online program change performed on a program which is not registered on the <<Program>> tab of PLC
parameter.
Online program change on an SFC program in unit of file.
SETTING DEVICE
COMMENTS
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
12 - 43
GX Works2
12 WRITING/READING DATA
12.9.3
Head
FX
Write data to one file with several GX Works2s while the programmable controller CPU is in RUN, using
relative step numbers starting from a pointer.
A pointer for Online program change needs to be set in advance.
<Example>
A program added with
another GX Works2
GX Works2 side
CPU side
Online program
change
Add a program
Screen display
[Tool] [Options] "Online Change"
Operating procedure
Check "Execute online program change based on relative step No.".
When Online program change is performed, data are written with relative step numbers starting from
the pointer.
12 - 44
FX
Q CPU L CPU Remote
Head
FX
FX
Fall instruction
The fall instruction may be executed even if the executing condition (ONOFF) in the onlinechanged ladder is not satisfied.
For the types and functions of the fall instructions, refer to the Programming Manual for each CPU.
<Fall instruction examples> PLF, LDF, ANDF, ORF, MEF, FCALLP, and EFCALLP
Fall instruction
OFFOFF
Executed*1
OFFON
Not executed
ONOFF
Executed*1
ONON
Not executed
*1 :
12
WRITING/READING
DATA
For details of disabling the fall instruction execution, refer to the following section.
Disabling the fall instruction in Online program change for QCPU (Q mode)/LCPU)
Rise instruction
The rise instruction may not be executed even if the executing condition (OFFON) in the onlinechanged ladder is satisfied.
The rise instruction is executed when the executing condition turns OFFON again.
For the types and functions of the rise instructions, refer to the programming manual of each CPU.
<Rise instruction examples> PLS, LDP, ANDP, ORP, and MEP
14
Rise instruction
OFFOFF
Not executed
OFFON
Not executed
ONOFF
Not executed
ONON
Not executed
13
MONITORING
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
QCPU (Q Mode)/LCPU
SCJ instruction
15
SIMULATING
PROGRAMS
When the executing condition for the SCJ instruction is ON after writing, the instruction jumps to
the specified pointer without waiting for one scan.
16
DEBUGGING
PROGRAMS
10
SEARCH/REPLACE
The following explains the precautions on Online program change of programs containing the rise, fall,
or SCJ instruction.
9
SETTING DEVICE
COMMENTS
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
12.9.4
12 - 45
GX Works2
12 WRITING/READING DATA
Disabling the fall instruction in Online program change for QCPU (Q mode)/LCPU
The following explains methods for avoiding the fall instruction execution when the executing condition
(ONOFF) of the fall instruction for the online-changed program is not satisfied.
Using the option setting (not supported by Basic model QCPU)
The fall instruction execution can be disabled by selecting [Tool] [Options] "Online Change"
and setting the "Execute fall instruction". However, the fall instruction is not executed even if the
executing condition (ON OFF) is satisfied in the online-changed ladder. The fall instruction is
executed when the execution condition turns ON OFF again.
For information on the QCPU versions that support this function, refer to the User's Manual
(Function Explanation, Program Fundamentals) of the CPU module to be used.
<Example>
The following example shows the difference in the executing status depending on the option
setting.
<Program example>
M0
[INC D0]
1 scan
"Execute fall instruction" is selected in the [Options].
1 scan
"Execute fall instruction" is not selected in the [Options].
12 - 46
When Online program change of ladders which include fall instructions (LDF/ANDF/ORF) is
completed, the fall instructions are not executed regardless of the ON/OFF status of their target
devices.
Fall instructions (PLF) are also not executed regardless of the ON/OFF status of their operating
condition devices.
To execute a fall instruction, turn the status of its target device/operating condition device ON
OFF again.
Performing Online program change of a ladder block including fall instructions (LDF/ANDF/ORF)
Target devices are OFF
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Performing Online program change of a ladder block including the PLF instruction
Operating condition is ON
Target devices of the PLF instruction in the ladder block do not operate.*1
*1 :
12
Rise instruction
When Online program change of ladders which include rise instructions is completed, the rise
instructions are executed if their target devices/operating condition devices are ON.
Target rise instructions: LDP, ANDP, ORP, and Pulse operation type application instructions
(such as MOVP)
Performing Online program change of a ladder block including rise instructions (LDP/ANDP/ORP)
Target devices are OFF
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Performing Online program change of a ladder block including pulse operation type
application instructions (such as MOVP)
14
MONITORING
Operating condition is ON
The relevant pulse operation type application
instruction in the ladder block operates for one
scan.
Performing Online program change of a ladder block including the PLS instruction
Operating condition is ON
15
Target devices of the PLS instruction in the ladder block do not operate.*2
SIMULATING
PROGRAMS
*2 :
WRITING/READING
DATA
10
SEARCH/REPLACE
Fall instruction
SETTING DEVICE
COMMENTS
FXCPU
16
DEBUGGING
PROGRAMS
12 - 47
GX Works2
12 WRITING/READING DATA
12.9.5
Head
FX
The following explains the precautions on Online program change of SFC programs.
For LCPU/FXCPU, the Online program change function does not support SFC programs.
Online program change for operation outputs/transition conditions
Online program change cannot be performed after changing programs of multiple operation
outputs/transition conditions.
After correcting the program, perform Online program change for each unit of operation output or
transition condition.
Online program change of SFC diagrams (For CPU modules which do not support Online program
change of SFC blocks)
When a SFC diagram is edited, perform Online program change in unit of file by selecting [Online]
[Write to PLC] (
Section 12.9.2).
Online program change of SFC diagrams (For CPU modules which support Online program
change of SFC blocks)
When a SFC diagram is edited, Online program change can be performed in unit of SFC block by
selecting [Compile] [Online Program Change].
Restrictions
Online program change of SFC blocks
For details of CPU modules which support Online program change of SFC blocks, and restrictions regarding
Online program change of SFC blocks, refer to the following manual.
MELSEC-Q/L/QnA Programming Manual (SFC)
12 - 48
Head
FX
FX
The following explains the precautions on Online program change for each programmable controller
series.
SETTING DEVICE
COMMENTS
12.9.6
When an instruction is deleted during the OUT instruction execution, or when the device
number has been changed and the corresponding device cannot be found in the
program, the output status is retained. Perform Online program change after ensuring
that sequence programs containing unnecessary coil outputs are OFF.
While a low-speed execution type program is executed, Online program change starts
after the program execution. The program execution is suspended during Online
program change.
Online program change while a lowHowever, if "PRG TIME OVER(5010)" keeps occurring while a low-speed execution type
speed execution type program is
program is executed, Online program change cannot be performed.
executed
In this case, set the programmable controller CPU to STOP, and increase the constant
scan time and low- speed program execution time in PLC parameter, then reattempt
Online program change.
When the number of secured steps exceeds the currently set number during Online
program change, the following message is displayed. In this case, set a new number
of secured steps.
If '0' is set for the number of secured steps on the following message screen, the area
for the exceeding amount from the secured steps is reserved and a sequence program
is written.
The number of secured steps newly set on the following message screen is not
displayed on the Program Detail Setting screen of the Write to PLC function.
12
13
14
MONITORING
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Description
Online program change to another station can be performed within the accessible range
set in the connection destination setting.
Take extra caution when performing Online program change to another station.
WRITING/READING
DATA
Item
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
QCPU (Q mode)/LCPU
15
The message above is not displayed with Basic model QCPU function version A.
SIMULATING
PROGRAMS
SEARCH/REPLACE
10
DEBUGGING
PROGRAMS
16
12 - 49
GX Works2
12 WRITING/READING DATA
Item
Description
The following message may be displayed during Online program change. Take corrective
action by following the message.
Universal model QCPU has option setting of "Transfer program cache memory to
program memory" that allows selection whether to transfer the contents of program
cache memory to program memory after Online program change.
(For option setting,
Section 21.2)
For Universal model QCPU, the contents of the modification are not reflected to the
boot source even when CPU is in the boot operation. Be sure to reflect the contents of
the modification to the boot source by executing the Write to PLC function.
(
Section 12.1)
For Universal model QCPU, when a password is registered/changed while the
programmable controller CPU is running, the program memory batch transfer is
executed. (
Section 12.6)
While program memory is being transferred in Universal model QCPU after Online
program change, the following functions cannot be executed.
Online program change (ladder, SFC, structured ladder, ST, FB)*1
Change TC Setting (when "Write changed program to PLC" is checked)*1
*1 :
12 - 50
For Universal model QCPU with a serial number whose first five digits
are '12012' or higher, the process of the program memory batch transfer
can be canceled. (
Section 12.6)
9
Description
10
FX3U/FX3UC series
FX3G series
FX2N series
FX2NC series
FX1NC series
Built-in EEPROM
FX1S/FX1N series
FXU/FX2C series
FX0N series
Built-in EEPROM
11
SEARCH/REPLACE
Memory type
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Model name
If the number of program steps decrease due to deletion of contacts, coils, and
application instructions etc., the same number of NOPs equivalent to the number of
steps removed are added.
For the application instruction (EXTR) for FX2N and FX2NC, do not perform Online
program change during communication (while the instruction is being activated).
Communication may stop if Online program change is performed during
communication.
If the communication stops, switch the programmable controller CPU from STOP to
RUN.
A modified ladder must not contain added/deleted/changed P and I labels.
A target range for Online program change must not contain I labels.
If a ladder before or after modification contains the C235 to C255 high-speed counter
output instruction (OUT instruction) and the application instructions (SORT2, TBL,
RBFM, WBFM), the ladder cannot be changed.
12
WRITING/READING
DATA
Item
SETTING DEVICE
COMMENTS
FXCPU
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
14
For the IVCK, IVDR, IVRD, IVWR, and IVBWR inverter communication instructions, do
not perform Online program change during communication (while the instruction is
being activated). Communication may stop if Online program change is performed
during inverter communication.
If communication stops, switch the programmable controller CPU from STOP to RUN.
15
16
Do not perform Online program change for positioning instructions (DSZR, DVIT, ZRN,
PLSV, DRVI, DRVA) while the pulse output instruction is being executed. The pulse
output stops if the ladder is online-changed during the pulse output instruction
execution.
PLSV instruction [without acceleration or deceleration] stops immediately.
DSZR, DVIT, ZRN, PLSV [with acceleration and deceleration] DRVI and DRVA
instructions stop after decreasing the speed.
When these instructions are stopped as a result of Online program change, deactivate
the instructions (OFF) and activate them again (ON).
SIMULATING
PROGRAMS
If the number of program steps decrease due to deletion of contacts, coils, and
application instructions etc., the same number of NOPs equivalent to the number of
steps removed are added.
MONITORING
12 - 51
GX Works2
12 WRITING/READING DATA
Item
Description
A substitute instruction for a new instruction cannot be inserted or replaced in the
program.
Even a substitute instruction is already written in a program, the function is disabled
due to Online program change.
The operations of the CMP, ZCP, MOV, ADD, SUB, MUL, DIV, INC, and DEC
instructions can be processed at a high speed when word devices specified by digit or
index modification are not set to the data.
However, the high-speed processing function is disabled when Online program change
or insertion is performed.
The OFF execution time of the application instructions for FXU (V3.07 or later) and
FX2C can be processed at a high speed.
However, the high-speed processing function is disabled when Online program change
or insertion is performed. The processing time is approximately 60% of that for FXU
(V2.30 or earlier).
The application instructions and element numbers added to FXU (V3.07 or later) are
written to the programmable controller CPU program memory. The programmable
controller CPU assumes that these instructions are non-processing instructions and
continues its operation.
However, when the programmable controller CPU operating status is changed from
STOP to RUN, a program is checked and, as the result, the 'PROG-E LED' indicator
flashes. If this happens, correct application instructions and element numbers not
supported and batch-transfer the correct program.
If an element number specified as an operand of application instructions is not
supported by FXU (V2.1 to V2.30), the instruction is written to the programmable
controller CPU program memory as it is. In this case, an element number range over
operation error occurs. The programmable controller CPU assumes that these
instructions are non-processing instructions and continues its operation.
However, when the programmable controller CPU operating status is changed from
STOP to RUN, a program is checked and, as the result, the "PROG-E LED" indicator
flashes. If this happens, batch-transfer the program with the correct operand set to
application instructions.
If a written element number is not supported by FX0N, the message "The changed
program contains an instruction or device not supported for Online program change.
Online program change operation is disabled for this program" is displayed, and the
program change is stopped.
The pulse executing type application instruction is not available for FX0N. If this
instruction is written, the message "Write failure" is displayed, and the program change
is stopped.
Ladder change is possible for one ladder block at a time and the number of program
steps after editing (adding/deleting) must be within 127 (including an NOP immediately
after the ladder block and excluding the end ladder).
To change programs with more than 127 steps, use the Batch-transfer function.
Ladder change of multiple ladder blocks at a time is possible and the changes can be
written with Online program change. However, the number of the program steps from
the start ladder block to the end ladder after editing must be within 256 steps (including
unchanged ladders). To change programs with more than 256 steps, use the Batchtransfer function.
Online program change can be performed only when the protection status (validated or
invalidated) of the block password setting for "Read-protect the execution program" is
the same as the programmable controller CPU of the online change target.
*1 :
12 - 52
Each deteriorated function can be recovered by switching the programmable controller CPU from STOP to
RUN after Online program change.
FX
This section explains how to calculate a memory size required when data in a user-created project is written
to the programmable controller CPU.
There are two ways to calculate the memory size: the offline calculation and the online calculation.
11
(
Section 12.10.3)
For FXCPU, only the offline calculation is supported.
(
Section 12.10.4)
Offline calculation
Displays the size of available memory if data are written to the programmable controller CPU after
its memory is initialized by the PLC memory format function etc.
In the system file memory size entry field, enter the system file size acquired by the online
calculation.
Online calculation
Displays the size of available memory if selected files are actually written to the programmable
controller CPU.
Regarding data written in the programmable controller CPU, the exact size of available memory
can be confirmed.
This function is available when GX Works2 is capable of communicating with the programmable
controller CPU.
12.10.2
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
12.10.1
10
12
WRITING/READING
DATA
Head
FX
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
FX
Q CPU L CPU Remote
SEARCH/REPLACE
SETTING DEVICE
COMMENTS
14
Set the target data for memory size calculation.
MONITORING
Screen display
Select [Tool] [Confirm Memory Size].
SIMULATING
PROGRAMS
15
File list
DEBUGGING
PROGRAMS
16
12 - 53
GX Works2
12 WRITING/READING DATA
Operating procedure
1.
Description
Set the memory of which the size is to be calculated, and memory card type.
For details of the memory card application, refer to the following manuals.
QCPU User's Manual (Hardware Design, Maintenance and Inspection)
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and
Inspection)
File list
Target
2.
Click the
button.
Section 12.10.3)
Screen button
For the buttons on the screen, refer to Section 12.1.
12.10.3
Display the result of memory size calculation. Additionally, the offline calculation and online calculation
can be switched each other.
Screen display
Select [Tool] [Confirm Memory Size]
<Offline calculation>
Target section
Calculation
result section
12 - 54
9
SETTING DEVICE
COMMENTS
<Online calculation>
Target section
Calculation
result section
10
SEARCH/REPLACE
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Target Memory
Display Option
Select the unit (Byte/Step/%) used for displaying the file size and memory
size.
<<Offline>>/<<Online>>
Switch the result display between the offline calculation and online
calculation.
The result of the offline calculation is displayed just after the execution of
the memory size calculation.
For High Performance model QCPU, the <<Online>> tab is not displayed
when "Target Memory" is 'Memory Card (Flash)/Standard ROM'.
For Universal model CPU, the <<Online>> tab is not displayed when
"Target Memory" is 'Memory Card (Flash)'.
Display the size of the data selected on the Confirm Memory Size screen in
units of files.
Target section
Detail
12
WRITING/READING
DATA
Description
Display the target memory and IC card type selected on the Confirm
Memory Size screen.
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Item
14
MONITORING
Display contents
15
SIMULATING
PROGRAMS
Screen button
For the buttons on the screen, refer to Section 12.1.
DEBUGGING
PROGRAMS
16
12 - 55
GX Works2
12 WRITING/READING DATA
Boot file
Remote password
User-optional data
Parameter
Parameter file
Memory capacity
The memory capacity may be displayed smaller than it really is.
12 - 56
Display sizes and capacities of program and symbolic information calculated offline.
Displayed values are values when the program and parameters are written to the programmable
controller CPU.
SETTING DEVICE
COMMENTS
12.10.4
10
Screen display
SEARCH/REPLACE
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
Display contents
Description
Program Capacity
Display the value set for "Program Capacity" of the project side PLC parameter.
Error Information
Confirm Symbolic Information
*1 :
Memory Type
Error Information
Display error information regarding the symbolic information size and capacity.
This item is displayed only for FX3U and FX3UC projects with labels.
15
16
DEBUGGING
PROGRAMS
14
MONITORING
Program Size
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
Status
SIMULATING
PROGRAMS
Item
12 - 57
GX Works2
12 WRITING/READING DATA
12.10.5
2)
3)
4)
5)
6)
Section 17.4)
12 - 58
This section explains the functions for writing/reading data to/from a memory card installed to a personal
computer.
If a memory card cannot be installed to a programmable controller CPU, the data can be written to/read from
the memory card on a personal computer by using this function.
For the system configuration and other information to use a memory card on a personal computer, refer to
Section 2.4.
For writing/reading data when the memory card is installed to a programmable controller CPU.
Section 12.1
10
SEARCH/REPLACE
SETTING DEVICE
COMMENTS
If a memory card is formatted using the function such as Windows format function it may not be used on the
programmable controller CPU.
PLC user data
The PLC user data in the memory card installed to a personal computer cannot write/read to/from GX Works2
directly.
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
12
WRITING/READING
DATA
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
12 - 59
GX Works2
12 WRITING/READING DATA
12.11.1
Head
FX
*1: Not supported by Basic model QCPU, Q00UJ, Q00U, and Q01U
Write/read data in a memory card (ATA card, SRAM card or SD memory card) installed to a personal
computer to/from GX Works2.
GX Works2
Data write/read
MITSUBISHI
MELSEC
Writing/reading data
Screen display
Select [Tool] [IC Memory Card] [Write IC Memory Card]/[Read IC Memory Card].
<Screen for writing IC memory card>
Operating procedure
1.
2.
Description
Select the drive of the personal computer where the memory card is installed.
Title
Enter title of the target memory when writing data to the IC memory card.
Display the title of the target memory when reading data from the IC memory card.
Edit Data
(Write IC Memory Card only)
IC Memory Data
(Read IC Memory Card only)
Click the
button.
For the Write IC Memory Card function, the specified data are written to the memory card.
For the Read IC Memory Card function, the specified data are read from the memory card.
12 - 60
Head
FX
*1: Universal model QCPU (excluding Q00UJ) with a serial number whose first five digits are "12012" or higher only
This section explains how to read local device data from the programmable controller CPU and save the data
to a personal computer in CSV format.
1.
10
SEARCH/REPLACE
Operating procedure
SETTING DEVICE
COMMENTS
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
3.
Click the
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
2.
button.
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
12 - 61
GX Works2
12 WRITING/READING DATA
Saved CSV files are displayed as shown below when they are opened by Excel.
(Example) The following tables show the settings of this example.
Setting for programs and file usability
Program name
MAIN
SUB
Not used
SUB2
Device range
0 to 49
0 to 29
100 to 149
<CSV file>
Program name
File usability setting
Local devices of
program MAIN
Program name
File usability setting
Program name
File usability setting
12 - 62
Local devices of
program SUB
Local devices of
program SUB2
This chapter explains the function for setting a password (a keyword for FXCPU) to protect the programmable
controller CPU data against such as falsification and leak.
SEARCH/REPLACE
11
12
WRITING/READING
DATA
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
13.1
13.2
13.3
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
13 PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
SETTING DEVICE
COMMENTS
13 - 1
GX Works2
13.1
Head
FX
This section explains how to register a password to protect data in QCPU (Q mode).
To register a password, connect GX Works2 to a programmable controller CPU in advance.
Project data cannot be protected by using this function. Use the project security function to protect the project
data. (
Section 4.10)
Password management
Keep passwords in a secure place.
If a registered password is lost, initialize the programmable controller CPU using the PLC memory format function
(
Section 17.2) and write the project to the programmable controller CPU.
Registering a password
Set a password with 4 characters. For usable characters, refer to "Explanation of Registration Conditions" on the
Input Password screen.
A password can be set for the following items.
Program
Device comment
Device initial value
13.1.1
Registering/changing password
Screen display
Select [Online] [Password/Keyword] [New].
Operating procedure
13 - 2
1.
2.
Select the target data for registering/changing a password in the data list.
Click the
button.
SETTING DEVICE
COMMENTS
3.
Description
5.
Read/Write Protection
Select this to check a password when data are read in addition to the "Write
Protection".
Write Protection
Select this to check a password when data are written to the programmable
controller CPU.
New Password
Re-enter Password
Click the
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Registration Condition
12
button.
WRITING/READING
DATA
4.
SEARCH/REPLACE
10
6.
Click the
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
button.
The password is registered or changed for the data in the programmable controller CPU.
14
15
SIMULATING
PROGRAMS
MONITORING
Registering a password
DEBUGGING
PROGRAMS
16
13 - 3
GX Works2
13.1.2
Canceling password
Cancel the password set to the data in the programmable controller CPU.
Screen display
Select [Online] [Password/Keyword] [Delete].
Operating procedure
1.
2.
Click the
button.
3.
4.
Click the
button.
5.
Click the
button.
13 - 4
10
SEARCH/REPLACE
Unlock a password temporarily, set to the data in the programmable controller CPU, by authenticating
it.
When the password is unlocked, the corresponding data in the programmable controller CPU can be
accessed freely until the project is closed.
This function does not cancel the password set for the data in the programmable controller CPU.
SETTING DEVICE
COMMENTS
13.1.3
Screen display
Select [Online] [Password/Keyword] [Disable].
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
Operating procedure
Select data whose password is to be temporarily unlocked in the data list.
2.
Click the
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
1.
button.
3.
4.
Click the
14
button.
Click the
button.
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
5.
MONITORING
13 - 5
GX Works2
13.2
Head
FX
Password management
Keep passwords in a secure place.
If a registered password is lost, initialize the programmable controller CPU using the PLC memory format function
(
Section 17.2) and write the project to the programmable controller CPU.
Registering a password
Set a password with the number of characters between 4 and 32. For usable characters, refer to "Explanation of
Registration Conditions" on the Input Password screen.
A password can be set for the following items.
Symbolic information
Program
PLC parameter, network parameter
Device comment
Device initial value
13.2.1
Registering/changing password
Screen display
Select [Online] [Password/Keyword] [New].
Operating procedure
13 - 6
1.
2.
Select the target data for registering/changing a password in the data list.
Click the
button.
SETTING DEVICE
COMMENTS
3.
Read protection
Select this to check a password when data are read from the programmable
controller CPU.
Write protection
Select this to check a password when data are written to the programmable
controller CPU.
Read protection/Write
protection
Select this to check a password when data are written in addition to the "Read
protection".
Check this to use the same password for the read protection and write protection
when Read protection/Write protection is selected in Registration Condition.
New Password
(Read Protection)
Re-enter Password
(Read Protection)
New Password
(Write Protection)
Re-enter Password
(Write Protection)
Click the
button.
12
13
14
MONITORING
Symbol
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Registration Condition
5.
11
Description
WRITING/READING
DATA
Item
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
4.
SEARCH/REPLACE
10
Click the
button.
SIMULATING
PROGRAMS
The password is registered or changed for the data in the programmable controller CPU.
16
DEBUGGING
PROGRAMS
6.
15
13 - 7
GX Works2
Registering a password
A password can be set to multiple data by holding the
or
key and selecting the data in the data
list.
A password set to data in the transfer source memory of boot operation remains set in the transfer destination
memory.
Changing a password
If a password has been already set for the selected data, the Disable Password screen is displayed. Enter the old
password to unlock the password.
13 - 8
Canceling password
SETTING DEVICE
COMMENTS
13.2.2
Cancel the password set to the data in the programmable controller CPU.
Screen display
Select [Online] [Password/Keyword] [Delete].
SEARCH/REPLACE
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Operating procedure
Select data whose password is to be canceled in the data list.
2.
Click the
12
WRITING/READING
DATA
1.
button.
4.
Click the
Description
Select the condition for password cancellation when the password registration
condition of the data selected is "Read protection/Write protection".
14
MONITORING
3.
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
button.
15
button.
SIMULATING
PROGRAMS
Click the
16
DEBUGGING
PROGRAMS
5.
13 - 9
GX Works2
13.2.3
Unlock a password temporarily, set to the data in the programmable controller CPU, by authenticating
it.
When the password is unlocked, the corresponding data in the programmable controller CPU can be
accessed freely until the project is closed.
This function does not cancel the password set for the data in the programmable controller CPU.
Screen display
Select [Online] [Password/Keyword] [Disable].
Operating procedure
1.
2.
Click the
button.
3.
13 - 10
Description
Select the condition for password unlock when the password registration condition
of the data selected is "Read protection/Write protection".
Click the
button.
SETTING DEVICE
COMMENTS
4.
Click the
button.
SEARCH/REPLACE
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
5.
13 - 11
GX Works2
13.3
Head
FX
This section explains how to register a keyword to protect data in FX series programmable controller CPU.
To register a keyword, connect GX Works2 to a programmable controller CPU in advance.
Project data cannot be protected using this function. Use the project security function to protect the project
data. (
Section 4.10)
For the FX series versions which support this function, refer to the user's manual of the programmable
controller CPU to be used.
Keyword management
Do not lose the keywords.
If a registered keyword is lost, initialize the programmable controller CPU using the PLC memory clear function
(
Section 17.3) and write the project to the programmable controller CPU.
13.3.1
Registering/changing keyword
Screen display
Select [Online] [Password/Keyword] [New].
13 - 12
Keyword Protection
Permanent PLC Lock
SEARCH/REPLACE
10
Customer
Keyword*1
*1 :
3.
11
Description
Set this item combining with "Keyword (16 digits)" as necessary. The customer keyword can be
disabled temporarily but it cannot be changed or canceled.
Description
Read/Write Protection
14
button.
15
SIMULATING
PROGRAMS
Click the
13
MONITORING
Write Protection
12
16
DEBUGGING
PROGRAMS
4.
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
2.
Description
Set the keyword for the limitation.
Limitation can be canceled.
WRITING/READING
DATA
Item
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
1.
SETTING DEVICE
COMMENTS
Operating procedure
13 - 13
GX Works2
13.3.2
Canceling keyword
Cancel the keyword set to the data in the programmable controller CPU.
Screen display
Select [Online] [Password/Keyword] [Delete].
Operating procedure
1.
2.
Click the
button.
13 - 14
10
SEARCH/REPLACE
Unlock a password temporarily, set to the data in the programmable controller CPU, by authenticating
it.
When the keyword is unlocked, the corresponding data in the programmable controller CPU can be
accessed freely until the project is closed.
This function does not cancel the keyword set for the data in the programmable controller CPU.
SETTING DEVICE
COMMENTS
13.3.3
Screen display
Select [Online] [Password/Keyword] [Disable].
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
1.
Description
Keyword Disable
Keyword
customer keyword.*1
*1
Select this to get the keyword unlocked status to the locked status.
Keyword Protect
*1 :
Click the
14
button.
MONITORING
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
2.
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Operating procedure
13 - 15
GX Works2
MEMO
13 - 16
SETTING DEVICE
COMMENTS
14 MONITORING
This chapter explains how to monitor the execution status of the programmable controller CPU connected to
the personal computer.
SEARCH/REPLACE
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
12
WRITING/READING
DATA
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
14.1
14.2
14.3
14.4
14.5
14.6
14.7
14.8
14 - 1
GX Works2
14 MONITORING
14.1
Monitoring Function
Q CPU L CPU Remote
Head
FX
14.1.1
Starting/stopping monitoring
Start/Stop
monitoring (All
windows)
Start/stop
monitoring*1
Start/stop watching*1
Reference
Program monitoring
Section 14.2
(Simple)
(Structured)
Section 14.3
*2
Section 14.4
*2
Section 14.5
(Simple)
Section 14.6
(Intelligent)
*1 :
*2 :
14 - 2
9
SETTING DEVICE
COMMENTS
Monitoring status
10
Screen display
At the start of monitoring
When connected to a programmable controller CPU
Scan time status
SEARCH/REPLACE
14.1.2
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
USER status
ERR. status
RUN/STOP status
Connection status
Connection status
Display contents
Item
Description
Display the connection status between a programmable controller
CPU and personal computer in which the simulation function is
started.
When connected to a programmable controller CPU
During simulation
Display the programmable controller CPU status operated by the
key switch on the programmable controller CPU or the remote
operation from GX Works2.
RUN/STOP status
RUN
14
MONITORING
Unsupported instructions
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
USER status
ERR. status
RUN/STOP status
Connection status
WRITING/READING
DATA
12
During simulation
15
STEP-RUN
16
DEBUGGING
PROGRAMS
*1
SIMULATING
PROGRAMS
STOP
14 - 3
GX Works2
14 MONITORING
Item
ERR. status
Description
Display the error status of the programmable controller CPU.
The PLC Diagnostics screen is displayed when the icon is clicked.
PLC diagnostics screen (
Section 18.1)
ERR. is OFF.
ERR. is ON.
ERR. is flashing.
USER status*1, 2
RAM,EPROM,EEPROM(FX3UC : FLROM)
Select the name of the program for which local device monitor is
performed.
If "Auto setting" is selected, the local devices in the program on
the active screen are automatically monitored.
Not displayed by Q00UJ.
Unsupported instructions
*1 :
*2 :
*3 :
Operation of the PLC Memory Clear function during the monitoring of local devices
When the "Clear device's whole Memory" operation is executed during the monitoring of local devices, local
devices are cleared in the programs selected in 'Local device monitor target selection field'.
14 - 4
Monitoring Programs
Q CPU L CPU Remote
Head
FX
This section explains how to monitor the execution status of the programmable controller CPU.
The monitored items depend on the programming language used.
For details, refer to the following manuals.
GX Works2 Version 1 Operating Manual (Simple Project)
GX Works2 Version 1 Operating Manual (Structured Project)
SEARCH/REPLACE
10
Screen display
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
).
WRITING/READING
DATA
12
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
SETTING DEVICE
COMMENTS
14.2
14 - 5
GX Works2
14 MONITORING
14.3
Head
FX
Screen display
Select [Online] [Monitor] [Device/Buffer Memory Batch] (
).
Decimal/Hexadecimal selection
Operating procedure
1.
Reference Program*1
Buffer Memory
*1 :
14 - 6
Description
Select this to monitor devices in batch.
Module Start
Enter the start I/O number of the intelligent function module in hexadecimal
number.
For FXCPU
Enter the block number of the special extension device. (0 to 7)
FX0N-3A, FX2N-2AD and FX2N-2DA cannot be the target of the buffer
memory monitor.
For Multiple CPU system configuration
Specify the programmable controller CPU to be monitored.
CPU No. 1: 3E00, CPU No. 2: 3E10, CPU No. 3: 3E20, CPU No. 4: 3E30
Address
Decimal/Hexadecimal
selection
SETTING DEVICE
COMMENTS
Screen button
(Not supported by remote I/O module)
Displays the T/C Set Value Reference Program screen.
SEARCH/REPLACE
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
12
WRITING/READING
DATA
Operation
Set the items on the screen.
Description
Set the reference of POU.
In Simple project, selection is fixed at "Project".
Project
User Library
Program/POU_Pool
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Item
Program Reference Selection/POU
Reference Selection
14
MONITORING
Section 16.1)
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
14 - 7
GX Works2
14 MONITORING
Operation
Set the items on the screen.
Item
Monitor Format
Description
Select the monitor format.
Bit
Select this to monitor both bits and words in unit of one point.
Bit
Word
Display
16bit Integer
32bit Integer
Real Number (32Bit) Select this to monitor in 32-bit (single precision real number).
Real Number (64Bit) Select this to monitor in 64-bit (double precision real number).
ASCII
Value
DEC
HEX
Bit Order
0-F
Select this to monitor bit information from the left to the right on the screen.
This method is appropriate for monitoring bit devices.
F-0
Select this to monitor bit information from the right to the left on the screen.
This method is appropriate for monitoring word devices or buffer memory.
*1 :
14 - 8
For FXCPU, the display can be switched between 8 points and 16 points when an X/Y device is
selected.
SETTING DEVICE
COMMENTS
SEARCH/REPLACE
10
Monitoring time when multiple Device/Buffer Memory Batch Monitor screens are opened
When the multiple Device/Buffer Memory Batch Monitor screens are opened, lead time to start monitoring and
monitoring intervals may become longer.
Accessing multiple CPU shared memory
Multiple CPU shared memory of multiple CPU system can be monitored only by the Device/Buffer Memory Batch
Monitor function.
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
12
WRITING/READING
DATA
Restrictions
FXCPU that support the buffer memory batch monitor function
FX1N, FX1NC, FX2N, FX2NC, FX3G, FX3U, and FX3UC support the buffer memory batch monitor function.
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
14 - 9
GX Works2
14 MONITORING
14.4
Head
FX
FX
This section explains how to monitor the processing time of programs being executed.
Screen display
Select [Online] [Monitor] [Program List].
Display contents
Item
Entire Scan Time
Description
Display the time set in the WDT setting of PLC RAS setting of PLC parameter.
Monitoring Time
Display each monitoring time of the scan program, initial program, and lowspeed program. When the scan time exceeds these time, a programmable
controller CPU error occurs.
Display the total time of each item of "Detail of Scan Time for Scan
Execution".
Display the processing time of each item. "Constant Wait" displays the waiting
time of the constant scan when the constant scan is set. When the low-speed
program execution time is also set, however, it displays '0.000' ms.
Program
Execution
Scan Time
Display the actual scan time (current value). Display '0.000' ms in the
program stop (standby) status.
Execution Count
Display the number of executions, counted from 0 at the point of turning the
programmable controller CPU to the RUN status. After reaching 65536, it
returns to 0. It is stored even after the program stops.
Screen button
Starting programs)
Stopping programs)
14 - 10
SETTING DEVICE
COMMENTS
9
Program list monitor
In a simulation, only "Execution Count" in "Execution Status of Programs" is monitored.
10
SEARCH/REPLACE
Starting programs
Screen display
Select Program List screen
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
Operating procedure
Set the items on the screen.
Description
Select the name of a program to be started from
Start Mode
2.
13
.
Scan execution
Set the execution type to the fixed scan execution. The time input area in "Fixed scan
execution" displays the value set in the program setting of PLC parameter. Change it as
necessary.
Click the
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Item
Program Name
14
button.
MONITORING
1.
15
SIMULATING
PROGRAMS
Starting programs
This function is supported only by High Performance model QCPU.
DEBUGGING
PROGRAMS
16
14 - 11
GX Works2
14 MONITORING
Stopping programs
Screen display
Select Program List screen
Operating procedure
1.
Description
Program Name
Stop Mode
2.
For the scan execution type program, turn outputs OFF (Non-execution processing)
at the next scan. The program is set as the standby status after the subsequent scan.
(The same behavior as the POFF instruction)
For the low-speed execution type program, stop its execution, and turn outputs OFF
at the next scan. The program is set as the standby status after the subsequent scan.
Place the scan execution type program in the standby status, and store the output of the
OUT instruction.
Click the
button.
Stopping programs
This function is supported only by High Performance model QCPU.
When "Stop output after stop" is selected, outputs may not turn OFF depending on instructions. For details, refer
to the section explains the POFF instruction in the following manuals.
MELSEC-Q/L Programming Manual (Common Instructions)
MELSEC-Q/L Structured Programming Manual (Common Instructions)
14 - 12
Head
FX
FX
This section explains how to display the number of executions of interrupt programs used in a program.
SETTING DEVICE
COMMENTS
14.5
10
Screen display
SEARCH/REPLACE
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Interrupt pointer
monitor list
Input the interrupt pointer number whose execution counts are to be displayed in "Interrupt
Pointer".
Display contents
Interrupt pointer monitor list
Description
-
13
Interrupt Pointer
Execution Count
Start counting when the programmable controller CPU turns to the RUN
status and display the execution counts. When reaching 65536, returns to 0.
Comment
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Item
WRITING/READING
DATA
12
Operating procedure
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
14 - 13
GX Works2
14 MONITORING
14.6
Head
FX
14.6.1
Screen display
Select [View] [Docking Window] [Watch1] to [Watch4].
Display contents
Item
Display the device/label name.
Current Value
Data Type
Class
Display the class of the label. Nothing is displayed for the devices.
Device
Address*1
Comment
*1 :
14 - 14
Description
Device/Label
1.
SETTING DEVICE
COMMENTS
2.
SEARCH/REPLACE
10
Enter a device/label to be registered.
For local labels, enter as 'program (program block) name/label name'.
Example) POU_01/counter
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Press the
12
key.
WRITING/READING
DATA
3.
MONITORING
14
15
SIMULATING
PROGRAMS
4.
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
DEBUGGING
PROGRAMS
16
14 - 15
GX Works2
14 MONITORING
14.6.2
Registering devices
Register devices/labels from the program editor/label editor using a shortcut menu. Multiple devices/
labels can be registered in batch by selecting a range.
Operation
1. Select devices/labels to be registered to the Watch window.
2. Right-click and select [Register Watch] from the shortcut menu.
The devices/labels are registered to the Watch window.
Register devices/labels from the program editor/label editor with the drag-and-drop operation. Multiple
devices/labels can be registered in batch by selecting a range.
Operation
Select devices/labels to be registered to the Watch window, and drag and drop them on to the
Watch window.
14 - 16
SEARCH/REPLACE
10
Register devices/labels in the ladder block at the cursor position to the Watch window automatically by
setting the option.
When this option is set, "(Ladder Automatic Registration)" is displayed on the title bar of Watch window.
The automatic registration to the Watch window can be executed when the program is written in the
ladder format.
Operation
1. Specify the automatic registration destination for the "Setting for Automatic Registration to
Watch Window" item under [Tool] [Options] "Monitor" "Ladder".
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
12
WRITING/READING
DATA
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
changed to
SETTING DEVICE
COMMENTS
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
14 - 17
GX Works2
14 MONITORING
14.6.3
Operating procedure
Right-click on the Watch window, and select [Change Value Format (Decimal)]/[Change
Value Format (Hexadecimal)] from the shortcut menu.
and
14 - 18
SETTING DEVICE
COMMENTS
14.6.4
Write/read devices/labels registered to the Watch window to/from the CSV file.
Screen display
Right-click and select [Write to CSV File]/[Read from CSV File] from the shortcut menu.
SEARCH/REPLACE
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
Operating procedure
Enter a file name, or select a file to be opened.
2.
Click the
button, or the
13
button.
The devices/labels are saved to the specified save destination, or the devices/labels are read from
the specified location to the Watch window.
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
1.
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
14 - 19
GX Works2
14 MONITORING
14.7
Head
FX
For the method how to monitor input/output signals and buffer memory of intelligent function modules, refer to
the following manual.
GX Works2 Version 1 Operating Manual (Intelligent Function Module)
14 - 20
Head
FX
10
Operating procedure
Select [Online] [Monitor] [Start Monitoring (All Windows)]/[Stop Monitoring (All Windows)].
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
SETTING DEVICE
COMMENTS
SEARCH/REPLACE
14.8
14 - 21
GX Works2
14 MONITORING
MEMO
14 - 22
10
SEARCH/REPLACE
15 SIMULATING PROGRAMS
SETTING DEVICE
COMMENTS
This chapter explains how to debug programs offline using the simulation function.
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
12
WRITING/READING
DATA
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
15.1
15.2
15.3
15 - 1
GX Works2
15 SIMULATING PROGRAMS
15.1
Simulation Function
FX
Q CPU L CPU Remote
Head
FX
FX
This section explains how to debug a sequence program offline using the virtual programmable controller,
without connecting to the programmable controller CPU.
This function is useful to test programs before operating them actually on the programmable controller CPU.
For the precautions and restrictions on the simulation function, refer to Appendix 2.
15.1.1
The following explains the precautions on safety and handling of the simulation function.
1)
The simulation function simulates the actual programmable controller CPU to debug a sequence
program. However, this function does not guarantee the operation of the debugged sequence
program.
2)
The simulation function uses the memory for simulation to input and output data to/from the 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 programmable controller CPU.
After debugging programs using the simulation function, those programs must be debugged online before
operating them actually on the programmable controller CPU.
15.1.2
The following table shows the GX Works2 functions that are available for the simulation function.
Function
15 - 2
Description
Reference
Write to PLC
Section 12.1
Section 12.9
Verify
Section 12.2
Section 12.3
Monitor
Monitor status
Section 14.3
Section 14.4
Watch
Section 14.6
Section 14.2
Section 14.1.2
Description
Reference
Section 12.12
Section 15.2.1
Section 15.2.2
Modify value
Section 16.1
Section 16.2
Section 16.3
Sampling trace
Section 16.4
Step Execution*3
Section 16.6
SEARCH/REPLACE
Function
SETTING DEVICE
COMMENTS
Remote Operation
Section 17.1
11
Section 17.2
Section 17.3
Section 17.4
PLC Diagnostics
Section 18.1
Chapter 19
*2 :
*3 :
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
12
WRITING/READING
DATA
*1 :
10
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
15 - 3
GX Works2
15 SIMULATING PROGRAMS
15.2
Starting Simulation
FX
Q CPU L CPU Remote
Head
FX
FX
Operating procedure
).
FXCPU
Display contents
Item
Switch
Description
Display the operating status of the virtual programmable controller.
RESET*1
STOP
Select this to switch the operating status of the virtual programmable controller.
RUN
LED
*1 :
15 - 4
/
Switches between display/hide of all project names during the simulation.
SEARCH/REPLACE
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
SETTING DEVICE
COMMENTS
Screen button
15 - 5
GX Works2
15 SIMULATING PROGRAMS
15.2.1
Operating procedure
1.
2.
15.2.2
Read out the temporarily saved device memory/buffer memory to the virtual programmable controller.
Operating procedure
15 - 6
1.
2.
This section explains device memory/buffer memory that can be saved and read with the virtual
programmable controller.
10
SEARCH/REPLACE
The following table shows the list of device memory that can be saved/read.
QCPU (Q mode)/LCPU
Category
Type
Device
X (DX)
11
Y (DY)
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
M
L
Bit
F
V
S
B
12
SB
WRITING/READING
DATA
T (contact)
ST (contact)
C (contact)
T (current value)
Word
ST (current value)
C (current value)
13
D (including Extended D)
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
W (including Extended W)
SW
FX
Bit
FY
SM
Word
Index register
Word
File register
Word
FD
14
SD
Z (including ZZ)
R
MONITORING
9
SETTING DEVICE
COMMENTS
15.2.3
ZR
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
15 - 7
GX Works2
15 SIMULATING PROGRAMS
FXCPU
Category
Type
Device
X
Y
Bit
M
S
T (contact)
Device
C (contact)*1
T (current value)
Word
C (current value)*1
D
Special device
Bit
M (special M)
Word
D (special D)
Index register
Word
Extended register
Word
V
Z
R*2
*1 :
*2 :
Buffer memory that can be saved and read is an memory area of modules to which the I/O assignment
settings are configured in the PLC parameter.
For QCPU (Q mode), the buffer memory [U3E0 to U3E3\G0 to 4095] and the multiple CPU high-speed
transfer area [U3E0 to U3E3\G10000 to 65535] in the programmable controller CPU cannot be saved/
read.
For LCPU/FXCPU, all buffer memory can be saved/read.
15 - 8
Head
FX
FX
The following explains how to display a list of instructions and devices used in a program and not
supported by the simulation function.
10
SEARCH/REPLACE
Screen display
SETTING DEVICE
COMMENTS
15.3
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
WRITING/READING
DATA
12
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
15 - 9
GX Works2
15 SIMULATING PROGRAMS
MEMO
15 - 10
10
SEARCH/REPLACE
16 DEBUGGING PROGRAMS
SETTING DEVICE
COMMENTS
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
12
WRITING/READING
DATA
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
16.1
16.2
16.3
16.4
16.5
16.6
16.7
16 - 1
GX Works2
16 DEBUGGING PROGRAMS
16.1
Head
FX
FX
This section explains how to change current device values of the programmable controller CPU in ladder and
SFC (Zoom) programs.
The following explains how to turn ON/OFF forcibly the bit device in the programmable controller CPU from
the monitoring screen and also changing the current value of the word device and buffer memory.
16.1.1
Screen display
Select [Debug] [Modify Value] (
).
16 - 2
Data Type
10
SEARCH/REPLACE
Device/Label
Description
Display the device or label selected on the monitoring screen.
Also enter the device or label.
*1 :
2.
String
Time
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Value
(For word device)
Entry
12
WRITING/READING
DATA
Data Type
Word [Signed],
Double Word [Signed],
Word [Unsigned]/Bit String [16-bit],
Double Word [Unsigned]/Bit String [32-bit]
button.
button.
The current value of the programmable controller CPU is changed, and the result is displayed in
"Execution Result".
Restrictions
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
1.
SETTING DEVICE
COMMENTS
Operating procedure
14
MONITORING
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
16 - 3
GX Works2
16 DEBUGGING PROGRAMS
16.1.2
Screen display
Select [Debug] [Modify Value] (
).
Operating procedure
1.
Description
Enter the start I/O number of the intelligent function module.
Enter the address of the intelligent function module.
Display the data type of the buffer memory.
Also select the data type from
Value
*1 :
2.
Entry
Word [Signed],
Double Word [Signed],
Word [Unsigned]/Bit String [16-bit],
Double Word [Unsigned]/Bit String [32-bit]
String
Time
Click the
button.
The current value of the buffer memory is changed, and the result is displayed in "Execution
Result".
16 - 4
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
key.
11
WRITING/READING
DATA
12
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
10
SEARCH/REPLACE
SETTING DEVICE
COMMENTS
16 - 5
GX Works2
16 DEBUGGING PROGRAMS
16.2
Head
FX
16.2.1
Screen display
Select [Debug] [Forced Input Output Registration/Cancellation].
Registration status
display area
1.
2.
Click the
button.
Screen button
Cancels the forced ON/OFF of a device registered to the programmable controller CPU.
16 - 6
Canceling registration
The device registration can be canceled by placing the cursor on the device area in the registration status display
area and pressing the
key.
Device forced input/output registration
The status of the device forced input/output registration may be changed by GX Works2 or external devices that
can register/cancel the forced input/output etc., for the exclusion control is not executed in the programmable
controller CPU side.
Forced ON/OFF status
The ON/OFF status can be inverted by double-clicking the ON/OFF cell.
10
SEARCH/REPLACE
SETTING DEVICE
COMMENTS
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Double-click
WRITING/READING
DATA
12
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
16 - 7
GX Works2
16 DEBUGGING PROGRAMS
16.2.2
Screen display
Select [Debug] [Forced Input Output Registration/Cancellation].
Registration status
display area
Operating procedure
1.
Click the
button.
Screen button
16 - 8
Head
FX
This section explains how to change device value at the execution of programs and steps specified in
advance.
This enables debugs of specific ladder blocks without changing programs.
This function can be executed only in a ladder program of Simple project.
10
SEARCH/REPLACE
16.3.1
SETTING DEVICE
COMMENTS
16.3
Screen display
Select [Debug] [Device Test with Execution Condition] [Register Device Test with Execution
Condition].
12
WRITING/READING
DATA
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
16 - 9
GX Works2
16 DEBUGGING PROGRAMS
Operating procedure
1.
Description
Display the device or label selected on the monitoring screen.
Also enter the device or label.
Device/Label
Data Type
String
Time
Execute
Condition
2.
Entry
Word [Signed],
Double Word [Signed],
Word [Unsigned]/Bit String [16-bit],
Double Word [Unsigned]/Bit String [32-bit]
Program Name
Specify the program name for the timing of the forced ON/OFF and current value
change.
Step No.
Specify the step number in the program for the timing of the forced ON/OFF and
current value change.
Execution
Timing
Select 'before' or 'after' the instruction in the step number in the program for the timing
of the forced ON/OFF and current value change.
button.
button.
Registering devices
Up to 32 devices can be registered.
The registration of the device test with execution condition is canceled by performing the following operations.
Online program change of the program in the range which includes the specified step
Write to PLC
A box with the specified color appears at the instruction of the specified step.
(Changing color
Section 3.2.7)
16 - 10
Check the registration of the device test with execution condition, write it to a file, read it out from a file,
and disable it.
9
SETTING DEVICE
COMMENTS
10
Screen display
Select [Debug] [Device Test with Execution Condition] [Check/Disable Register Device Test with
Execution Condition].
SEARCH/REPLACE
16.3.2
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Registration
information
list
WRITING/READING
DATA
12
Display contents
Description
Display whether the data being displayed is read from the programmable
controller CPU or from a file.
Display the registration of the device test with execution condition. Display up to
32 records.
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Item
Screen button
14
MONITORING
Registers the registration information data to the programmable controller CPU in batch.
15
Disables the registration information data in the programmable controller CPU in batch.
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
Saves the registration information data being displayed in 'registration information list' to a file.
16 - 11
GX Works2
16 DEBUGGING PROGRAMS
16.3.3
Operating procedure
Select [Debug] [Device Test with Execution Condition] [Batch Disable Device Test with
Execution Condition].
16 - 12
*1
Head
FX
16.4.1
SETTING DEVICE
COMMENTS
Sampling Trace
10
SEARCH/REPLACE
16.4
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Operating procedure
WRITING/READING
DATA
12
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
16 - 13
GX Works2
16 DEBUGGING PROGRAMS
16.4.2
The following explains the settings required for executing sampling trace and the execution method.
Set the sampling trace execution method and the storage destination of the trace data.
Screen display
Select [Debug] [Sampling Trace] [Trace Setting] (
Operating procedure
Description
Set the trace execution method.
Execute after overwriting current trace Select this to execute sampling trace after overwriting the current trace
settings in the PLC
setting to the programmable controller CPU.
Execute using existing trace settings
in the PLC
Trace Data (setting+result) Storage
Select this to execute sampling trace using the trace setting stored in the
programmable controller CPU.
Set the memory and the file name where the trace data set on the
<<Condition Setting>> tab and the trace result after execution are stored.
Place a check mark in the box to perform the sampling trace automatically
when the programmable controller CPU is in RUN. (Universal model QCPU/
LCPU only*1)
*1 :
16 - 14
For the versions of Universal model QCPU that support this function, refer to the User's Manual
(Function Explanation, Program Fundamentals) of the CPU module to be used.
SETTING DEVICE
COMMENTS
Set the sampling trace conditions such as the number of traces and the trigger condition.
Screen display
Select [Debug] [Sampling Trace] [Trace Setting] (
) <<Condition Setting>>.
SEARCH/REPLACE
10
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
Operating procedure
Set the items on the screen.
13
Set the number of data acquisitions (samplings) before and after the
trigger.
Select a value using the combo box or enter a value directly.
Additional Information
Each Scan
Specified Interval
8192
Cycle*1
Select this to acquire the data in the Each multiple CPU high-speed transfer
cycle.
Setting range: 1 to 50
Detail Setting
Select this to set the data acquisition timing depending on the device
condition.
Use the
14
15
Set the trigger (condition) that is taken as the start point (0 point) of
sampling trace execution.
Detail Setting
SIMULATING
PROGRAMS
*1 :
Total Count
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Description
MONITORING
Item
16
DEBUGGING
PROGRAMS
16 - 15
GX Works2
16 DEBUGGING PROGRAMS
Screen button
<Trigger Condition>
Operation
Set the items on the screen.
Item
Description
Device /Label
Device
Address
*1
Comment
Section 16.4.6
Condition
Change*2
Bit device
Word device
Condition
Description
Condition
Bit device
Word device
Write data*2
16 - 16
Description
Radix
Values
*1 :
*2 :
9
SETTING DEVICE
COMMENTS
Registering devices/labels
Operating procedure
10
SEARCH/REPLACE
16.4.3
Device/Label
Set the device, address, label, structure, array, and function block to which the sampling
trace is performed.
50 bit devices and 50 word devices can be registered.
Device*1
Address
*1,*2
Comment*1
Display the device comment for the address or device/label which are entered in "Device /
Label".
Data Type*1
Radix*1
If the device entered in "Device /Label" is the bit device, the radix is fixed as "Binary". If the
device entered in "Device /Label" is the word device, the radix can be selected from
"Binary", "Decimal", "Hexadecimal" or "ASCII". If the device entered in "Device /Label" is
the single-precision/double-precision real number, the radix is fixed as "FLOAT".
Vertical Axis
Display the time axis data of the selected cell as displaying the trace result.
*2 :
13
14
MONITORING
*1 :
12
WRITING/READING
DATA
Description
-
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Item
Display title
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
16 - 17
GX Works2
16 DEBUGGING PROGRAMS
Change to double
word (signed)
Restrictions
When 'Double Word'/'FLOAT (Single Precision)'/'FLOAT (Double Precision)' is set to "Data Type"
The data acquired by the sampling trace function may become inconsistent.
16 - 18
Register a device/label from the program editor/label editor with the drag-and-drop operation. Multiple
devices/labels can be registered in batch by selecting a range.
<Ladder editor>
9
SETTING DEVICE
COMMENTS
SEARCH/REPLACE
10
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
12
WRITING/READING
DATA
<ST editor>
13
<Label editor>
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
14
MONITORING
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
16 - 19
GX Works2
16 DEBUGGING PROGRAMS
16.4.4
Operating procedure
).
Item
Description
Total Data
Display the current status of data acquisition (sampling) after the start of sampling trace in
percentage in reference to the number of times set for "Trace Setting".
Even after this status reaches 100%, sampling trace is continuously executed and the
data are overwritten from the oldest data.
Display the current status of data acquisition (sampling) after the generation of trigger in
percentage in reference to the number of times set for "Trace Setting".
When this status reaches 100%, sampling trace stops.
Display the trace data file name that is registered for the sampling trace in the
programmable controller CPU.
After the stop or completion of sampling trace, the trace result is displayed on the Sampling Trace
screen.
Display title
16 - 20
Chart
Vertical axis
information
line
Trend graph
Vertical Axis
Display the device value of the selected cell position, on the 'vertical axis information line'.
Chart
One block corresponds to one data acquisition. The number of scale indicates the number
of data acquisitions.
To change the display width, select [View] [Timing Chart Scale] [-: Narrow Scale]
A red mark is displayed at the position corresponding to the trigger generated timing on
the timing chart scale when a trigger is generated.
This line is displayed at the position where a cell is selected on the chart in yellow.
The device value on the vertical axis information line is displayed in cells under "Vertical
Axis".
When the vertical axis information line is double-clicked, the data at the right side of the
line are displayed on the sampling trace (detailed data) screen. (
Switching screen
to the sampling trace (detailed data) screen)
Trend graph
Display the changes of the word device values on the trend graph.
(
Displaying trace results on trend graphs)
11
12
13
14
15
SIMULATING
PROGRAMS
WRITING/READING
DATA
Trigger position
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
10
SEARCH/REPLACE
Description
-
MONITORING
Item
Display title
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Display contents
SETTING DEVICE
COMMENTS
DEBUGGING
PROGRAMS
16
16 - 21
GX Works2
16 DEBUGGING PROGRAMS
Screen display
(Switch Chart/Detail).
Detailed data
Display contents
Item
16 - 22
Description
Additional information
Display the additional information set for "Additional Information" on the <<Condition
Setting>> tab on the Trace Setting screen.
Select [View] [Additional Information] [Past Time]/[Program Name].
Detailed data
Display the changes of the word device values on the trend graph.
Operating procedure
Check the check box for the 'trend graph registration target' on the Sampling Trace
screen.
10
SEARCH/REPLACE
SETTING DEVICE
COMMENTS
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
Display contents
Item
Trend graph line color
Description
Change the background color of cell under 'trend graph line color' to the line color of the
trend graph. Double-click the cell, and the Color screen is displayed to allow changing of
the trend graph line color.
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
15
SIMULATING
PROGRAMS
( )/[+: Wide Scale] ( ) or move a scroll wheel on a mouse while pressing the
key. The widened/narrowed
graph with the specified base point as the center is displayed.
Select [View] [Trend Graph Scale] [Initial Display] to recover the display to the initial state.
MONITORING
14
Wide scale
Narrow scale
16
DEBUGGING
PROGRAMS
16 - 23
GX Works2
16 DEBUGGING PROGRAMS
16.4.5
Save the trace data of sampling trace (sampling trace target devices/labels, trace setting, and trace
results) to a personal computer or a programmable controller CPU.
Save the trace data in a personal computer in the CSV file format.
The menu item of the function cannot be selected when a trace result does not exist.
Screen display
Select [Debug] [Sampling Trace] [Export CSV Data].
Screen button
Saves trace setting and trace results in the CSV file format.
16 - 24
10
SEARCH/REPLACE
SETTING DEVICE
COMMENTS
To display the CSV file with Excel similar to the display of the sampling trace result, copy the devices and the range
of the result, check "Transpose" in "Paste Special", and then paste them on to Excel.
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
12
WRITING/READING
DATA
Operating procedure
14
MONITORING
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
16 - 25
GX Works2
16 DEBUGGING PROGRAMS
16.4.6
Device type
*1
Output
*1
*1
Internal relay
*1
*1
Latch relay
*1
*1
Annunciator
*1
*1
*1
*1
Link relay
*1
*1
SB
*1
*1
*2
Timer
Current value
Contact
TS
*2
Coil
TC
*2
Current value
Contact
CS
*2
Coil
CC
*2
*2
Trigger
condition
*2
*2
Current value
ST
Contact
STS
*2
Coil
STC
*2
*1
*1
*1
Link register
*1
*1
*1
SW
*1
*1
*1
Function input
FX
Function output
FY
Special relay
SM
*1
*1
Function register
FD
*1
*1
*1
Special register
SD
*1
*1
*1
\X
*1
*1
\Y
*1
*1
*1
Retentive
timer
Data register
Link input
Link output
*2
*2
Link register
\W
*1
\SW
*1
*1
Link relay
\B
*1
*1
\SB
*1
*1
*1
*1
*1
ZR
*1
*1
*1
16 - 26
Step relay
Counter
Data
acquisition
timing
*1
Edge relay
Sampling
trace screen
Input
Device
File register
File register
Index register
Index register
Intelligent function
module device
U3E
Nesting
Nesting
ZZ
U
\G
\G
*1
*1
*1
*1
BL
TR
VD
Decimal constant
Hexadecimal Constant
Single-precision
floating-point data
Double-precision
floating-point data
""
Real constant
String constant
*1 :
*2 :
Description
Label1
Local label*1
POU_01/
Label1
Structure*1
G_data.AAA
Function block*1
FB_01.IN01
Array*1
Register and display as 'label name [one-dimensional element number] [twodimensional element number] [three-dimensional element number]'.
Array[0,0,0]
Register all elements/all members when the whole array type labels are registered.
Structured array*1
block*1
*1 :
Array2[0,0,0].
AAA
10
11
12
13
Example
Nested function
SETTING DEVICE
COMMENTS
SEARCH/REPLACE
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
WRITING/READING
DATA
Interrupt pointer
16 - 27
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Constant
Pointer
14
MONITORING
Others
Device
Trigger
condition
15
SIMULATING
PROGRAMS
Pointer
Device type
Data
acquisition
timing
16
DEBUGGING
PROGRAMS
Category
Sampling
trace screen
GX Works2
16 DEBUGGING PROGRAMS
16.4.7
The following explains the precautions when performing the sampling trace.
When files for both local device and trace data exist in standard RAM
Perform the following operation to change the local device when the files for both the local device
and trace data exist in the standard RAM.
If the following operation is not performed, the files for the trace data may be deleted.
Operation
1. Select [Debug] [Sampling Trace] [Read from PLC].
Read the file for trace data from the standard RAM.
2. Change the settings for the local device, and write the changes to the programmable
controller CPU.
16.4.8
The sampling trace data which are saved by "Trace settings file operation" using GX Developer cannot
be read in GX Works2.
The sampling trace data which are set in GX Works2 cannot be saved as the format that can be read in
GX Developer.
Perform the following operation when utilizing the sampling trace data.
Utilizing GX Developer sampling trace data in GX Works2
Operation
1. Write the sampling trace data, which are set in GX Developer, to the programmable controller
CPU.
Perform the "Write to PLC" function of "Trace settings PLC operation" in GX Developer.
2. Read the sampling trace data from the programmable controller CPU in GX Works2.
Select [Debug] [Sampling Trace] [Read from PLC] in GX Works2.
Utilizing GX Works2 sampling trace data in GX Developer
Operation
1. Write the sampling trace data, which are set in GX Works2, to the programmable controller
CPU.
Select [Debug] [Sampling Trace] [Write to PLC] in GX Works2.
2. Read the sampling trace data from the programmable controller CPU in GX Developer.
Perform the "Read from PLC" function of "Trace settings PLC operation" in GX Developer.
16 - 28
*1
Head
FX
This section explains how to measure the initial, current, maximum, and minimum scan time for a userdefined section of a ladder or SFC program.
The processing time can be measured even in subroutines and interrupt programs.
This function can be performed in Simple projects only.
Screen display
Select [Debug] [Scan Time Measurement].
SETTING DEVICE
COMMENTS
10
SEARCH/REPLACE
16.5
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
WRITING/READING
DATA
12
Operating procedure
Set the items on the screen.
Item
*2
Block No.
*2
Block Name
Start Step
End Step
14
Click the
MONITORING
2.
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Program Name
*2 :
13
Description
Measurement Limit
button.
The first value, current value, maximum value, and minimum value are measured.
0.000ms is displayed when the measured time is shorter than 0.100ms.
For Universal model QCPU, the scan time 0.001ms or longer can be measured.
15
16
DEBUGGING
PROGRAMS
SIMULATING
PROGRAMS
1.
16 - 29
GX Works2
16 DEBUGGING PROGRAMS
16.6
Head
FX
FX
This section explains how to debug programs with the simulation function.
This function is supported only by ladder and ST programs of Simple project.
The following table shows the main step execution functions.
Item
Break execution
Description
Execute a program until set break conditions are satisfied.
Break conditions are set with break points or break devices.
Step execution
Partial execution
The following are program editors in a debugging process with the step execution functions.
<Example of step execution in ladder program>
16 - 30
SEARCH/REPLACE
10
11
12
WRITING/READING
DATA
The RUN/STOP status of monitor status becomes STEP-RUN ( ) when the step execution is executed.
The following are the Online functions which can be performed when the monitor status is STEP-RUN.
Write to PLC function (SFC file batch online program change is not supported.)
Verify with PLC function
Remote operation
Delete PLC Data function
Editing programs during step execution
For ladder programs, programs can be edited even when the step execution is being executed.
Note that, however, when the step execution is executed in the status in which the program in GX Works2 and the
program in the virtual programmable controller do not match, then the step execution function is executed on the
program in the virtual programmable controller as the basis. Therefore, the cursor position of canceled position
may be displayed at a different position.
Ladder blocks with yellow background
In a ladder program, the step execution may not be executed normally in ladder blocks with yellow background
which indicates a program cannot be displayed as a ladder.
Programs with "Standby" execution type
The step execution cannot be executed on programs in which "Standby" is set for execution type in the program
setting.
However, the step execution can be executed on a program in which the execution start position is set for "From
current cursor position" in the execution option setup (
Section 16.6.8), and the cursor is positioned in a
program in which "Standby" is set.
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
SETTING DEVICE
COMMENTS
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
16 - 31
GX Works2
16 DEBUGGING PROGRAMS
Restrictions
Restrictions after setting break conditions and skip range
All settings of break condition and skip range are canceled when a data name or a library name is changed/deleted
in a project.
Break in ST control syntax
The following are the precautions when executing the step execution on an ST program contains ST control
syntax.
A break execution may be executed in a line of control syntax which is not calculated.
When the step execution is executed on the following program in which W10=0 is set for the break condition, the
break execution is executed in the 6th line. Note that, however, since a calculation is not processed in the line
where the break execution is executed, this break does not affect the calculation result.
ST line number
1
2
3
4
5
6
7
8
ST program
FOR W10 := 0 TO 3 DO
CASE W10 OF
0:
Operation
-
D0 := D0 + 1;
1..3:
D1 :=D1 +1;
END_CASE;
END_FOR;
In step execution, a break execution is not executed in a RETURN syntax and an EXIT syntax.
When the step execution is executed on the following program, the break execution is not executed in the 3rd and
4th lines even if the break condition is satisfied.
ST line number
ST program
W0 := 0;
IF X0 THEN
3
4
RETURN;
END_IF;
5
6
7
8
Operation
The break execution is not executed in the RETURN
syntax when X0=ON in the step execution. (The break
execution is executed in the first line.)
-
FOR W0 := 0 TO 4 DO
IF X1 THEN
EXIT;
END_IF;
10
END_FOR;
11
W0 := 0;
16 - 32
Debugging procedure
SETTING DEVICE
COMMENTS
16.6.1
10
*1)
SEARCH/REPLACE
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
No
Yes
12
WRITING/READING
DATA
No
Yes
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
No
14
MONITORING
Yes
Stop the step execution.
(
*8)
End the simulation.
(
*1)
15
Section 15.2
*2 :
Section 16.6.2
*3 :
Section 16.6.3
*4 :
Section 16.6.4
*5 :
Section 16.6.6
*6 :
Section 16.6.7
*7 :
Section 16.6.5
*8 :
Section 16.6.9
16
DEBUGGING
PROGRAMS
*1 :
SIMULATING
PROGRAMS
End
16 - 33
GX Works2
16 DEBUGGING PROGRAMS
16.6.2
By setting a break point, a step execution can be canceled at a specific position in a program.
Break points are set in: step unit for ladder program, and line unit for ST program.
Break points can be set up to 64 points in an entire project.
Operating procedure
1.
Move the cursor to the position to set a break point or cancel the set break point.
2.
).
A break point is set at the cursor position. When the break point is already set, it is canceled.
Set break points are registered on the Break Point window.
<Example of break points (for ladder)>
16 - 34
9
SETTING DEVICE
COMMENTS
Operating procedure
Move the cursor to the break point to be enabled/disabled.
2.
SEARCH/REPLACE
10
1.
).
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
Disabled break point
12
WRITING/READING
DATA
13
).
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Operating procedure
16 - 35
GX Works2
16 DEBUGGING PROGRAMS
Screen display
Select [View] [Docking Window] [Debug Window] [Break Point Window] (
).
Operating procedure
Description
Display enabled/disabled status of break points.
Enable/Disable
: Enabled
: Disabled
Data Name
Position
Program Content
Break Condition
Always
Execute the break execution when scans are completed for a set number of
times.
ON
Execute the break execution when the specified step/pointer is ON after scans
are completed for a set number of times.
OFF
Execute the break executions when the specified step/pointer is OFF after scans
are completed for a set number of times.
Rising
Execute the break execution when the specified step/pointer turns ON from OFF
after scans are completed for a set number of times.
Falling
Execute the break execution when the specified step/pointer turns OFF from ON
after scans are completed for a set number of times.
Execution Count
16 - 36
9
SETTING DEVICE
COMMENTS
Screen button
10
SEARCH/REPLACE
12
WRITING/READING
DATA
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
11
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
16 - 37
GX Works2
16 DEBUGGING PROGRAMS
16.6.3
By setting a break device, a step execution can be canceled when the value of device/label satisfies the
specific condition.
Break devices can be set up to 16 points in total of bit devices and word devices.
When a break device is set, a break execution is executed at the instruction which is the one after the
execution of the calculation to satisfy the break condition.
In order to execute the break execution after the break condition is satisfied, disable or cancel the break
devices.
Screen display
Select [View] [Docking Window] [Debug Window] [Break Device Window] (
16 - 38
).
button.
A blank row is added to the last row of the break device information list.
Combination
Description
-
Select this to execute the break execution when any condition of break devices is
satisfied.
Select this to execute the break execution when conditions of all break devices
are satisfied.
Enable/Disable
Condition
11
Rising
Falling
Execute the break execution when the value of comparative source device/label
matches with the value of comparative target device/label.
<
Execute the break execution when the value of comparative source device/label
is smaller than the value of comparative target device/label.
>
Execute the break execution when the value of comparative source device/label
is larger than the value of comparative target device/label.
<=
Execute the break execution when the value of comparative source device/label
is the same as or less than the value of comparative target device/label.
>=
Execute the break execution when the value of comparative source device/label
is the same as or more than the value of comparative target device/label.
<>
Execute the break execution when the value of comparative source device/label
does not match with the value of comparative target device/label.
12
Comparative Type
Set the data type to compare comparative source and comparative target.
MONITORING
15
SIMULATING
PROGRAMS
Operating procedure
Select [Debug] [Break Setting] [Cancel All Break Devices] (
16
).
13
14
Screen button
SEARCH/REPLACE
10
Item
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
2.
WRITING/READING
DATA
Click the
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
1.
SETTING DEVICE
COMMENTS
Operating procedure
16 - 39
GX Works2
16 DEBUGGING PROGRAMS
16.6.4
A skip range is a range in which a program will not be executed during the step execution. A range can
be set in ladder block unit for ladder programs.
Up to 16 ranges can be set in a project.
Operating procedure
1.
2.
).
The skip range is set. When the skip range is already set, it is canceled.
Multiple skip ranges set within the selected ladder blocks are all canceled.
Set skip ranges are registered on the Skip Range window.
<Example of skip range>
Operating procedure
1.
2.
16 - 40
).
9
SETTING DEVICE
COMMENTS
Operating procedure
).
10
SEARCH/REPLACE
Screen display
11
).
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
WRITING/READING
DATA
12
Display contents
Item
Description
Enable/Disable
Data Name
13
Start
Display the start position of the skip range with a step number.
End
Display the end position of the skip range with a step number.
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
: Disabled
Screen button
14
MONITORING
15
SIMULATING
PROGRAMS
DEBUGGING
PROGRAMS
16
16 - 41
GX Works2
16 DEBUGGING PROGRAMS
16.6.5
Operating procedure
).
One instruction of a program is executed for ladder program, and one line of a program is executed
for ST program.
When the step execution is executed on a function block in the program, the step execution is
executed on the program in the function block.
The canceled-position cursor is displayed on the function block while the step execution is being
executed on the program in the function block.
16.6.6
Operating procedure
).
16 - 42
SETTING DEVICE
COMMENTS
16.6.7
Operating procedure
).
10
SEARCH/REPLACE
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Canceled-position cursor
13
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
Canceled-position cursor
The canceled-position cursor is displayed on the program editor in which the step execution is executed as
described below.
The step execution is canceled.
The step execution completed without satisfying the break condition.
The break condition is satisfied and the step execution is canceled.
WRITING/READING
DATA
12
MONITORING
14
SIMULATING
PROGRAMS
15
DEBUGGING
PROGRAMS
16
16 - 43
GX Works2
16 DEBUGGING PROGRAMS
16.6.8
Screen display
Select [Debug] [Step Execution] [Execution Option] (
).
Operating procedure
1.
Description
Set the execution position of the step execution.
The setting will be changed depending on the last operation that is performed.
For details, refer to Point in this section.
Execute the step execution from the start of the program according to the setting
set on the <<Program>> tab of PLC parameter.
Execute the step execution from the current cursor position on the active
program editor.
When the program editor is not active, the operation is the same as that of "From
start".
2.
16 - 44
Repetition Count
Execution Interval
Click the
button.
16.6.9
10
SEARCH/REPLACE
Last-performed operation
Simulation start, step execution stop
SETTING DEVICE
COMMENTS
11
SETTING PROGRAMMABLE
CONTROLLER CPU
CONNECTION DESTINATION
Operating procedure
Select [Debug] [Step Execution] [Stop] (
).
WRITING/READING
DATA
12
PROTECTING
PROGRAMMABLE
CONTROLLER CPU DATA
13
MONITORING
14
SIMULATING
PROGRAMS
15
16
DEBUGGING
PROGRAMS
16 - 45
GX Works2
16 DEBUGGING PROGRAMS
16.7
Head
This section explains how to start the LCPU logging configuration tool from the menu of GX Works2.
To start the LCPU logging configuration tool, install the logging configuration tool in advance.
For the installation and operation methods, refer to the following manual.
MELSEC-L CPU Module Users Manual (Data Logging Function)
Screen display
Select [Tool] [LCPU Logging Configuration Tool].
16 - 46
FX
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
17 OPERATING
PROGRAMMABLE
CONTROLLER CPU
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
19
20
PRINTING
SETTING OPTIONS
21
APPENDIX
INDEX
17.1
17.2
17.3
17.4
17.5
17.6
17.7
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
This chapter explains how to change the execution status and setting the clock of the programmable
controller CPU from GX Works2.
17 - 1
GX Works2
17.1
Head
FX
This section explains how to switch the RUN/STOP status of the programmable controller CPU and allowing
the memory card removal from GX Works2.
Screen display
Select [Online] [Remote Operation].
<QCPU (Q Mode)/LCPU>
<FXCPU>
Operating procedure
1.
Description
Select this to perform the remote operation only upon the station specified in the
connection destination setting.
All Stations
Select this to perform the remote operation to the station specified in the connection
destination setting and all the stations on the same network.
Set a target network with "Specify Module No."*3 or "Specify Network No.".
Specified Group
Select this to perform the remote operation to the station specified in the connection
destination setting and each station of the specific group on the specified network.
Set a target network with "Specify Module No." or "Specify Network No.", and set a
group number with "Specify Group No.".
Operation
RUN
STOP
PAUSE*2
Select this to switch the operating status of the programmable controller CPU.
*2
Latch Clear
RESET*2
17 - 2
Select this to remove the memory card while the programmable controller CPU is ON.
Set the status of the device memory and signal flow when the programmable controller
CPU is switched to RUN.
Device Memory
Signal Flow
*1 :
When the target network is CC-Link IE Field Network, the target station can be specified with
"Currently Specified Station" and "All Stations".
*2 :
*3 :
Priority
STOP
PAUSE
RUN
The following table shows the operating status after RUN/STOP switching on the programmable controller CPU or
remote RUN/PAUSE contact operation.
Programmable controller CPU switch
RUN
Remote
operation
RUN
STOP
RUN
STOP
STOP
STOP
STOP
STOP
STOP
PAUSE
PAUSE
STOP
STOP
Latch clear
Inoperable*2
Latch clear
Latch clear
RESET*1
Inoperable*2
RESET
RESET
*1 :
The remote reset must be enabled on the <<PLC System>> tab of PLC parameter.
*2 :
Operable when the programmable controller CPU is switched to STOP by remote operation.
20
4th module
21
A
<Terms on the figure>
: Q series-compatible E71
Ethernet
MNET/10(H) : MELSECNET/H network module
CC IE Field : CC-Link IE Field Network module
CC IE Control : CC-Link IE Controller Network module
APPENDIX
MNET/10(H)
CC IE Control
CC IE Field
3rd module
2nd module
MNET/10(H)
MNET/10(H)
Ethernet
1st module
Programmable
controller CPU
19
PRINTING
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
button.
SETTING OPTIONS
Click the
Restrictions
Performing remote operation on other stations
When performing the remote operation on other stations with "All Stations" or "Specified Group", the remote
operation cannot be performed on the following modules.
ACPU/QnACPU
17 - 3
INDEX
2.
GX Works2
17.2
Head
FX
This section explains how to format the programmable controller CPU memory or the memory card.
The function is used when using the programmable controller CPU and the memory card for the first time or
clearing all data stored in them.
However, the Flash card cannot be formatted using this function. (Flash cards do not require formatting.)
Screen display
Select [Online] [PLC Memory Operation] [Format PLC Memory].
Operating procedure
1.
2.
Description
Target Memory
Format Type
Select this to create the necessary system area, the area for highspeed monitoring from another station, and the area for enabling
Online program change of multiple blocks.
Click the
button.
17 - 4
The system area is an area created in the programmable controller CPU memory. The system area
consists of the 'Necessary system area' automatically created upon formatting the programmable
controller CPU memory and 'User setting system area' created by the user.
In the necessary system area, data such as local devices are stored.
0k steps
1.25k steps
2.5k steps
Online
program
change of
multiple
blocks is
not
possible.
Max. 32
blocks
Max. 64
blocks
Max. 512
steps
Max. 1024
steps
Not limited
2k steps
4k steps
Online
program
change of
multiple
blocks is
not
possible.
Max. 32
blocks
Max. 64
blocks
Max. 512
steps
Max.
1024
steps
Max. 50
Max. 100
20
21
APPENDIX
Online program
change of
multiple blocks
is not possible.
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
The area is set to accelerate monitoring from peripheral such as GX Works2 connected to a serial
communication module or other communication module.
Change the capacity according to the number of device points (capacity) to be monitored through a
serial communication module or other communication module and the volume of other user data to
be stored in the program memory.
The setting range for Basic model QCPU, and Universal model QCPU (Q00UJ/Q00U/Q01U) is 0 to
3k steps.
The setting range for High Performance model QCPU, Universal model QCPU (excluding Q00UJ/
Q00U/Q01U), and LCPU is 0 to 15k steps.
PRINTING
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
The user setting system areas are set for the following purposes:
Description
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Format types
SETTING OPTIONS
17 - 5
INDEX
Device memory
The device memory values cannot be cleared with the Memory format function.
To clear the device memory values, execute [Online] [PLC Memory Operation] [Format PLC Memory].
(
Section 17.3)
GX Works2
17.3
Head
FX
FX
This section explains how to initialize device memory data in the programmable controller CPU and file
registers stored in the memory card and setting them to '0'.
QCPU (Q mode)/LCPU
Initialize device memory data in the programmable controller CPU and file registers stored in the
memory card and set them to '0'.
However, the memory clear function is not available for standard ROM/Flash cards/SD memory cards.
Screen display
Select [Online] [PLC Memory Operation] [Clear PLC Memory].
Operating procedure
1.
Description
Include Latch
Clear all File Registers
Target Memory*1
*1
*1 :
2.
All Files
Specific File*1
Click the
button.
17 - 6
Operation of the PLC Memory Clear function during the monitoring of local devices
When the "Clear device's whole Memory" operation is executed during the monitoring of local devices, local
devices are cleared in the programs selected in 'Local device monitor target selection field'.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
FXCPU
Screen display
Select [Online] [PLC Memory Operation] [Clear PLC Memory].
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
21
2.
Description
Display the information of the connection destination setting.
Select the device memory to be cleared.
PLC Memory
Data Device
Bit Device
Click the
APPENDIX
1.
SETTING OPTIONS
Operating procedure
button.
INDEX
17 - 7
GX Works2
Memory
Available for the built-in memory, and RAM/EEPROM (PROTECT switch OFF)/FLASH memory
(PROTECT switch OFF) cassette.
Not available for the EEPROM (PROTECT switch ON)/FLASH memory (PROTECT switch ON)
and EPROM cassette.
Data device
Bit device
17 - 8
FX
Q CPU L CPU Remote
Head
FX
FX
This section explains how to secure consecutive free memory areas by arranging the data stored in program
memory/standard RAM of the programmable controller CPU or memory card.
Use this function to rearrange files whose arrangement became discontinuous by operations such as Delete
PLC Data.
However, the Memory arrangement function is not available for standard ROM/Flash cards/SD memory cards.
The following figure shows how consecutive free areas are created with the Memory arrangement function
after Delete PLC Data.
Program A
8K
Program A
8K
Program B
6K
Free area
6K
Program C
6K
Program C
6K
Program C
6K
Free area
8K
Total free space
8K
Maximum consecutive 8K
free space
19
Memory format
Free area
8K
Total free space
14K
Maximum consecutive 8K
free space
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
28K
Program A
8K
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
17.4
Free area
14K
20
PRINTING
Screen display
Select [Online] [PLC Memory Operation] [Arrange PLC Memory].
SETTING OPTIONS
21
Operating procedure
Item
2.
Description
Target Memory
Click the
APPENDIX
button.
1.
17 - 9
GX Works2
17.5
Head
FX
FX
This section explains how to set the clock in a programmable controller CPU.
The clock setting function is not supported by FX0S, FX0, and FX1.
Screen display
Select [Online] [Set Clock].
Operating procedure
1.
2.
Description
Set the date and time.
Set the target station whose clock is to be set.
Currently
Specified Station
Select this to set the clock only upon the station specified in the connection destination
setting.
All Stations
Select this to perform the remote operation to the station specified in the connection
destination setting and all the stations on the specified network.
Set a target network with "Specify Module No."*3 or "Specify Network No.".
Specified Group
Select this to perform the remote operation to the station specified in the connection
destination setting and each station of the specific group on the specified network.
Set a target network with module mounted on the station specified in the connection
destination setting for "Specify Module No." or "Specify Network No.", and set a group
number with "Specify Group No.".
*1 :
*2 :
The target station can be specified with "Currently Specified Station" or "All Stations" when the target
network is CC-Link IE Field Network.
*3 :
Click the
button.
Screen button
Sets the time display of personal computer as the 'date and time'.
17 - 10
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Restrictions
18
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
PRINTING
20
SETTING OPTIONS
21
APPENDIX
INDEX
17 - 11
GX Works2
17.6
Head
FX
This section explains how to register/cancel menu items to/from a standard ROM or SD memory card to
operate the intelligent function modules using the LCPU display module.
Use this function to confirm or change each setting of intelligent function module by operating the display
module.
For details of functions and operations of display module, refer to the following manual.
MELSEC-L CPU Module Users Manual (Function Explanation, Program Fundamentals)
For details of intelligent function modules which support registration/cancellation of display module menu, and
functions which can be performed on each intelligent function module, refer to the following manual.
Manual of the intelligent function module to be used
Screen display
Select [Online] [Register/Cancel Display Module Menu].
Operating procedure
1.
2.
Description
Target Memory
Select the target memory to which the display module menu items are to be registered/
canceled.
Register/Cancel Menu
Target Module
Menu Language
Click the
button.
17 - 12
Temperature control
L60TCTT4
L60TCTT4BW
L60TCRT4
L60TCRT4BW
Counter
LD62
LD62D
Serial communication
LJ71C24
LJ71C24-R2
CC-Link
LJ61BT11
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Analog
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
PRINTING
20
SETTING OPTIONS
21
APPENDIX
Module name
L60AD4
L60DA4
INDEX
Module type
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
17 - 13
GX Works2
17.7
Head
FX
FX
This section explains how to start the Ethernet adapter module configuration tool.
For details of Ethernet adapter module configuration tool, refer to the following manual.
CC-Link IE Field Network Ethernet Adapter Module Users Manual
Operating procedure
1.
2.
button.
A default web browser is activated and a start screen of the Ethernet adapter module configuration
tool is displayed.
17 - 14
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
18 DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
20
PRINTING
SETTING OPTIONS
21
APPENDIX
INDEX
18.1
18.2
18.3
18.4
18.5
18.6
18.7
18.8
18.9
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
This chapter explains how to display system status and error codes of the programmable controller CPU.
18 - 1
GX Works2
18.1
This section explains how to display system status and error codes of the programmable controller CPU.
18.1.1
Screen display
Select [Diagnostics] [PLC Diagnostics].
<QCPU (Q mode)>
Image of programmable
controller CPU
<LCPU>
Image of programmable
controller CPU
18 - 2
18.1.1 Diagnosing QCPU (Q mode), LCPU, communication head module, and remote I/O module
Head
FX
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
Image of programmable
controller CPU
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
PRINTING
SETTING OPTIONS
21
Image of programmable
controller CPU
APPENDIX
INDEX
18.1.1 Diagnosing QCPU (Q mode), LCPU, communication head module, and remote I/O module
18 - 3
GX Works2
Display contents
Item
Description
Monitor Status
Error Information
button.
18 - 4
Check this to downsize the PLC Diagnostics screen and move it to the upper
left of the entire screen when the error jump is executed.
Error History
*1 :
LCPU only
*2 :
Q00UJ/Q00U/Q01U/Q02U/QnUD(H)CPU only
button.
18.1.1 Diagnosing QCPU (Q mode), LCPU, communication head module, and remote I/O module
Jumps the screen display to the sequence program step number corresponding to the selected
error item/error history item.
However, jump is not applicable in the following cases.
The error is not a program error.
The error step information dose not exist.
The information of the program number and SFC step number of SFC block or the transition
number does not exist.
SFC program error of FXCPU
The label program is not compiled.
/
Displays the explanation screen corresponding to the error number of the selected error item/error
history item.
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Displays the illustration of the connection route which has been set.
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Screen button
20
PRINTING
Saves the currently displayed error history in a file in the CSV file format.
SETTING OPTIONS
21
APPENDIX
INDEX
18.1.1 Diagnosing QCPU (Q mode), LCPU, communication head module, and remote I/O module
18 - 5
GX Works2
Double-click
"Change the window size and position after error jump" item
When the "Change the window size and position after error jump" item is checked and the error jump is executed,
the PLC Diagnostics screen is downsized as shown below. This function applies when executing the error jump on
either Present Error column or Error History display column.
The screen returns to the original size by clicking the
button.
18 - 6
18.1.1 Diagnosing QCPU (Q mode), LCPU, communication head module, and remote I/O module
17
Diagnosing FXCPU
Q CPU L CPU Remote
Head
FX
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18.1.2
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Screen display
Select [Diagnostics] [PLC Diagnostics].
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
SETTING OPTIONS
21
Display contents
Description
Display the connection route which has been set.
Error Information
button.)
PLC Panel
PLC Information
Display the memory type and version of the connection destination CPU
module.
Monitor Status
APPENDIX
Item
Connection Channel List
Screen button
For the screen buttons, refer to Section 18.1.1.
INDEX
18 - 7
GX Works2
18.1.3
Error icons
Q CPU L CPU Remote
Head
FX
The following table shows the details of the error information icons of the programmable controller CPU.
Icon
Serious error
Moderate error
*1 :
18 - 8
Errors that allow RUN status such as battery low and annunciator ON
Head
FX
The PLC Memory Operation function and the Remote Operation function can be executed from the
figure of programmable controller CPU.
When the cursor is moved to the figure of programmable controller CPU, the function menu is
expanded. Click the figure of programmable controller CPU to display the items to be set.
Screen display
<QCPU (Q mode)>
<Remote Operation>
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Online operations
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18.1.4
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
PRINTING
<Ethernet Diagnostics>
SETTING OPTIONS
21
<LCPU>
<Remote Operation/
PLC Module Change>
APPENDIX
INDEX
<CC-Link Diagnostics>
<Ethernet Diagnostics>
<Set Clock/Write Title>
18 - 9
GX Works2
<MELSEC Diagnostics>
Display contents
Item
PLC Memory Operation
Remote Operation/
PLC Module Change
(Type of memory
operation)
Remote operation
CC-Link Diagnostics
18 - 10
Memory clear
Memory arrangement
Section 17.2
Section 17.3
Section 17.4
Section 17.1
Section 12.8.1
Data restoration
Section 12.8.2
Ethernet Diagnostics
Set Clock/Write Title
Reference
Memory format
Section 18.6
Set clock
Write title
Section 17.5
Section 12.1
Section 18.5.1
Section 18.4
MELSECNET Diagnostics
Section 18.2
17
Diagnosing MELSECNET
Q CPU L CPU Remote
Head
FX
This section explains how to check the MELSECNET/10(H) status connected to the selected module.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18.2
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Screen display
Select [Diagnostics] [MELSECNET Diagnostics].
Link module
selection tab
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
Display contents
Network Information
Link Information
Communication Information
21
SETTING OPTIONS
Description
Switch the MELSECNET diagnostics result display screen for each link modules from 1 to 4.
The information whether a link module is mounted or not is acquired from the mounted status.
Screen button
PRINTING
Item
Section 18.2.1)
Section 18.2.2)
Section 18.2.3)
Section 18.2.4)
APPENDIX
Section 18.2.5)
Section 18.2.6)
INDEX
Section 18.2.7)
18 - 11
GX Works2
Section 18.2.8)
Network to be diagnosed
To change a network to be diagnosed, change the target station in the connection destination setting.
When another station is set in the connection destination setting
Test functions such as network test cannot be executed when the connection destination setting is set to other than
"No Specification".
MELSECNET/H (bus) connection
The loop test and station order test cannot be executed with the MELSECNET/H (bus) connection with the
coaxial cable.
The loop test, setting verification test, and station order test cannot be executed with the MELSECNET/H (bus)
connection with the twisted pair cable.
18 - 12
17
Network test
Perform link start/stop (cyclic transmission stop/restart) on the host station, specified station, and all
stations in MELSECNET/10(H).
Use this function to avoid receiving data from another stations or to avoid sending data from host
station when starting up (debugging) the system.
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Screen display
button on the MELSECNET Diagnostics screen.
Click the
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18.2.1
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
Description
Display the network information on the host station of the selected module.
Monitor Status
Host Status
Display the operating status of the host station for the selected module.
21
SETTING OPTIONS
Network Information
Operation Status of All Stations Display the link status of all stations on the tested network.
Operating procedure
Set the items on the screen.
Item
Description
Link Start/Stop
Select this to start the station that was stopped by the host station.
The station that was stopped by another station cannot be started.
Link Stop
Select this to forcibly perform the link start on a station stopped by the host station or
another station, or to forcibly perform the link start on a station to which the link stop is
performed by special relay/special register. However, forced start in units of stations is
not possible while all stations are stopped.
Operation
To check whether the station is stopped by stop specification of all stations, check
Forced Link
SW0000.
Start
This function can be executed when "PLC side I/F" in the connection destination setting
is set to "C24".
This function cannot be executed when the MELSECNET/10(H) board is used.
This function cannot be executed via the A series-compatible E71/QE71 module. (The
route via A series-compatible E71/QE71 is not supported by GX Works2.)
Designate Object Station Specify the object station of the network test.
Object Module
2.
Click the
button.
18 - 13
APPENDIX
1.
INDEX
Item
PRINTING
Display contents
GX Works2
18 - 14
17
Loop test
Click the
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Screen display
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18.2.2
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
Description
Display the network information on the host station of the selected module.
Execute Results
Display the number of stations and the result (normal/invalid, reserved station: R) of loop test.
Description
Loop Test
Test Method
Select this to test all the (slave) stations specified by the network parameter
(excluding reserved stations).
All stations are tested, if network parameter does not exist.
All Stations
Designation
Object Module
2.
Click the
APPENDIX
1.
SETTING OPTIONS
Operating procedure
21
button.
18 - 15
INDEX
Item
Network Information
PRINTING
Display contents
GX Works2
18.2.3
Check the status of the station number, network number, and group number set for each station.
Use this function to check overlaps of control stations or station numbers, or whether the network
number set to the station to which GX Works2 is connected matches with the network number set in the
network parameter of host station.
Screen display
button on the MELSECNET Diagnostics screen.
Click the
Display contents
Item
18 - 16
Description
Network Information
Display the network information on the host station of the selected module.
Execute Results
Station No.
Display the station number of the stations for which the setting verification test was executed.
Up to 64 stations are displayed.
Display " " symbol at the target station if control station is set at two or more places.
Display " " symbol at the target station if the same station number is set at two or more places.
Network No.
Display the network number of the stations for which the setting verification test was executed.
If the network number differs from that of the host station, it is identified by red.
Group No.
Display the group number of the stations for which the setting verification test was executed.
For the remote I/O network, the station in error is blank.
Reserved Station
Display " " symbol for the station reserved by parameter setting.
(When "Parameter Designation" is set in the test execution method.)
Error Station
Display " " symbol for the station when it is reserved by parameter setting or if a module is
faulty in all station specification.
Display " " symbol for the station where the parameter setting and the actual connection type
disagree.
Display " " symbol for the station where multiple sub-master stations exist on the same
network.
Display " " symbol for the station where multiple sub-master stations exist on the same
network.
Item
Description
Test Method
Parameter
Designation
Select this to test all the (slave) stations specified by the network parameter
(excluding reserved stations).
All stations are tested, if network parameter does not exist.
All Stations
Designation
Object Module
2.
Click the
button.
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
19
20
PRINTING
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
1.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Operating procedure
SETTING OPTIONS
21
APPENDIX
INDEX
18 - 17
GX Works2
18.2.4
Check the station number of the connected stations in the optical loop system of MELSECNET/10(H).
Screen display
button on the MELSECNET Diagnostics screen.
Click the
Display contents
Item
Description
Network Information
Display the network information on the host station of the selected module.
The loop status indicates the forward/reverse loop, forward loop, reverse loop or loopback
status.
"No. of Stations" indicates the number of stations that have been checked, including the
reserved station.
Execute Results
Display the station number in "Forward Loop Direction from Host Station" and "Reverse Loop
Destination from Host Station".
In the loopback status, the test is executed only in "Forward Loop Direction from Host Station".
The number for the reserved station is not displayed.
Operating procedure
1.
Description
Test Method
Select this to test all the (slave) stations specified by the network parameter
Parameter Designation (excluding reserved stations).
All stations are tested, if network parameter does not exist.
All Stations Designation Select this to test all stations.
Object Module
2.
Click the
Select the module for which station order check test is executed.
button.
The station order check test is executed according to the set contents.
18 - 18
17
Communication test
Screen display
button on the MELSECNET Diagnostics screen.
Click the
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18.2.5
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
Display contents
Description
Display the result of communication test executed between networks.
Operating procedure
Set the items on the screen.
Item
Communication Test
2.
Description
Set the test contents to be executed.
Destination
Communication Data
Click the
button.
APPENDIX
1.
18 - 19
INDEX
Execute Results
SETTING OPTIONS
Item
21
GX Works2
Host station
Station
number 2
Communication target
Station
number 2
Station
number 1
Network number 1
Station
number 3
Network number 3
(Relay station 1) (Relay station 2)
Station Station
Station Station
number 4 umber 3
number 2 number 1
Network number 2
Station
number 1
18 - 20
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18.2.6
Screen display
button on the MELSECNET Diagnostics screen.
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Click the
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
Display contents
Loop Switching
PRINTING
Description
Display the network information of the selected host station.
Transient Transmission Errors Display the number of occurrences of transient transmission error.
F.Loop/R.Loop
21
Screen button
Displays the Error History Detail Monitoring screen that lists the details of loop switching and
transient transmission error.
SETTING OPTIONS
Item
Network Information
APPENDIX
INDEX
18 - 21
GX Works2
Displays the Clear of Error History screen. Select the items to be cleared and click the
button.
18.2.7
Screen display
Click the
Display contents
Item
*1 :
18 - 22
Description
Network Information
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18.2.8
Screen display
Click the
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
Error details
display field
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
Display contents
Description
Display detail information in the error details display field when an item button is clicked.
"ERR" is displayed in the error information display field if a faulty station or a stop station is
detected.
"RSV" is displayed in the error information display field if a reserved station exists.
"PWR" is displayed in the error information display field if a power is supplied to a module
with external power supply.
Display the status of each station for the items selected in "Other Station Information".
The table below shows the items that can be selected in "Other Station Information" of QCPU (Q mode).
Applicable
MELSECNET/10(H)
PLC to PLC network
Control station
Loop
Bus
Normal station
Loop
Bus
Master station
Loop
Bus
PRINTING
20
21
SETTING OPTIONS
Item
Network Information
*1,*2
*1 :
*2 :
*1,*2
18 - 23
INDEX
APPENDIX
GX Works2
18.3
Head
FX
This section explains how to check the CC-Link IE Controller Network status of a selected module.
When two or more CC-Link IE Controller Network modules are connected to the connected station, the
Select Diagnostics Destination screen as shown below is displayed before starting diagnostics.
Select a network to be diagnosed and click the
Diagnostics screen
Screen display
Select [Diagnostics] [CC IE Control Diagnostics].
Network information
18 - 24
button.
Description
Display the network information of the selected module. The status is displayed by icons shown below.
Station status
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
20
Clicking an icon sets the corresponding station as the selected station and displays the details
in "Selected Station's Network Equipment Status". The selected station can also be determined
by moving the focus with the right and left arrow keys and pressing the
or
key.
Double-clicking an icon displays the System Monitor screen (
Section 18.7) of the
corresponding station.
Select station network deice
status display
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Board
Display the status of the CC-Link IE Controller Network module in the station selected in the
network information display field and the status of the connecting cable.
PRINTING
Icon
Module
21
SETTING OPTIONS
Item
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Display contents
Displays the Select Diagnostics Destination screen. The diagnostic target module can be changed.
Changes the selected station to the station to which the station number specified in "Select Station"
is assigned. The status of the selected station is displayed in "Selected Stations Network
Equipment Status".
/
Switches the screen display of the network information when the total number of station is 61 or
more.
Displays the Communication Test screen. The communication path from the connected station to
the specified destination station can be confirmed. (
Section 18.3.1)
18 - 25
INDEX
APPENDIX
Screen button
GX Works2
Displays the Link Start/Stop screen. The data link start/stop can be performed to the specified
station. (
Section 18.3.2)
Displays the Logging screen. The communication path switch information and the transient
transmission error of the connected station can be monitored. The monitor information can be
saved in a file. (
Section 18.3.3)
Displays the System Monitor screen. The system status of the selected station can be confirmed.
(
Section 18.7)
Displays the Remote Operation screen. The remote operation can be performed to the
programmable controller CPU of the selected station. (
Section 17.1)
Restrictions
Communication test and link start/stop
To execute the communication test or link start/stop, a target station must be connected using a USB/RS-232
cable.
18 - 26
17
The following explains the display that is given if an error occurs with the CC-Link IE Controller Network
module or in the connection cable. In this case, a button is displayed in the Select station network
device status display field as shown below. The detailed information, error factor, and troubleshooting
can be displayed by clicking the button.
) is displayed as shown below when a destination station is being
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
PRINTING
20
SETTING OPTIONS
21
APPENDIX
INDEX
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18 - 27
GX Works2
18.3.1
Communication test
Screen display
Click the
Operating procedure
1.
Description
Communication Test
Parameters
2.
Target Station
Communication Data
Setting
Set the data length (1 to 900 bytes), the number of communications (1 to 100 times),
and monitoring time (1 to 100 seconds) to execute the test.
Click the
button.
Display contents
Item
Communication Test Result
18 - 28
Description
Display the result of inter-network communication test.
Networks and stations routed from the own station (connected station) to the target station are
displayed on the <<Outward>> tab and those routed from the target station to the own station
(connected station) are displayed on the <<Inward>> tab.
17
Link start/stop
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18.3.2
Screen display
button on the CC IE Control Network Diagnostics screen.
Click the
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
Item
2.
Description
Network Information
Display the link status of all stations on the same network which are performing the data link
with the connected station. Target stations of the link start/stop operation can be selected in
"Selective Status".
Link Start/Stop
Link Start
Link Stop
Select this to forcibly start the data link of a station which has been stopped by another
station or a special relay/special register.
Click the
APPENDIX
button.
INDEX
1.
SETTING OPTIONS
21
Operating procedure
18 - 29
GX Works2
Group Selection
Select All
18 - 30
Operating procedure
Right-click on the "Group" column of a station and select "Group
Selection" from the shortcut menu.
Stations which have the same group number as the selected line
become selected.
When the "Group" column whose value is 0 is right-clicked, this
shortcut menu cannot be selected.
Right-click the "Station No." column of a station and select "Select
All" from the shortcut menu.
17
Logging
Display the communication route switch information and transient transmission error information of the
selected station.
Screen display
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Select the
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18.3.3
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
SETTING OPTIONS
21
Display contents
Item
Display Station
Description
Display the network information of the currently selected station.
A
Displaying the communication route switch information and transient transmission
error information
The <<Monitor Details>> tab displays the communication route switch information and transient
transmission error information.
Maximum 100 logs can be displayed. If the number of logs exceeds 100, the logs are deleted from the
oldest one.
APPENDIX
Display contents
Description
Display the loop status of communication route, the number of station where loopback
occurred, and the date when communication route switching occurred.
Display the error code, network number and station number of the transient request target, and
the date of error occurrence if transient transmission error occurs.
18.3.3 Logging
18 - 31
INDEX
Item
GX Works2
Screen button
Displays the Save Error Log screen and the contents displayed on the <<Monitor Details>> tab can
be saved in a CSV file.
Clearing errors
Clear the errors of the currently selected station using the <<Error Clear>> tab.
Screen display
Operating procedure
18 - 32
1.
2.
Click the
18.3.3 Logging
button.
17
Head
FX
This section explains how to check the CC-Link IE Field Network status of a selected module.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18.4
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
When two or more CC-Link IE Field Network modules are connected to the connected station, the
Select Diagnostics Destination screen as shown below is displayed before starting diagnostics.
button.
20
PRINTING
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
SETTING OPTIONS
21
Diagnostics screen
Screen display
APPENDIX
Network information
INDEX
Network configuration
18 - 33
GX Works2
Display contents
Item
Description
Select Diagnostics
Destination
Module
Select Station*1
Display the station number of the station selected in the network information.
When the connected station is communication head module, this item is fixed to the own
station.
Network Status*1
Network information
Display the total number of slave stations, the link scan time (in units of ms), and the number of
station error detected on the network being displayed.
Display the state of the network. The status of each station is displayed with icons.
Network configuration
Selected Station
Communication Status
Monitor
*1 :
key.
Screen button
Displays the Communication Test screen. The communication path from the connected station to
the specified destination station can be confirmed. (
Section 18.4.1)
Displays the Cable Test screen. The cable connection status can be tested. (
Section 18.4.2)
18 - 34
Displays the System Monitor screen. The system status of the selected station can be confirmed.
(
Section 18.7)
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
PRINTING
20
SETTING OPTIONS
21
APPENDIX
Restrictions
Communication test and link start/stop
To execute the communication test or link start/stop, a target station must be connected using a USB/RS-232
cable.
18 - 35
INDEX
GX Works2
The following explains the display that is given if an error occurs on a CC-Link IE Field Network master/
local module, communication head module, Ethernet adapter module, or connection cable. In this case,
a button is displayed in "Selected Station Communication Status Monitor" as shown below. The detailed
information, error factor, and troubleshooting can be displayed by clicking the button.
In addition, the icon (
disconnected.
18 - 36
17
Communication test
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18.4.1
Screen display
button on the CC IE Field Diagnostics screen.
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Click the
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
Presence or absence of errors
on the communication test
PRINTING
20
Operating procedure
Description
Set the contents of the test to be executed.
Display the network number and station number of the connected station.
Target Station
Communication Data
Setting
Set the data length (1 to 900 bytes), the number of communications (1 to 100 times),
and monitoring time (1 to 100 seconds) to execute the test.
Click the
APPENDIX
Display contents
button.
Item
SETTING OPTIONS
Item
Communication Test
Parameters
2.
21
Description
Display the result of inter-network communication test. Also in 'Presence or absence of errors
on the communication test', display whether the communication test has been executed
normally.
Networks and stations routed from the own station (connected station) to the target station are
displayed on the <<Outward>> tab and those routed from the target station to the own station
(connected station) are displayed on the <<Inward>> tab.
18 - 37
INDEX
1.
GX Works2
18.4.2
Cable test
Test the status of the cable connections between the testing station and the devices connected to the
ports of the testing station.
Screen display
Click the
Operating procedure
1.
Description
2.
Click the
Set the network number and station number of the station which executes the cable
test.
button.
Display contents
Item
Cable Test Result
18 - 38
Description
Display the cable test result, error factor, and troubleshooting of each port.
17
Link start/stop
Start/stop the data link of a specified station. This function can be used for debugging purposes to stop
the station from receiving data from other stations and sending its own data.
Screen display
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Click the
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18.4.3
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
Operating procedure
SETTING OPTIONS
Item
Description
Network Information
Connected Station
Information
2.
21
Display the link status of all stations on the same network which are performing the
data link with the connected station. Target stations of the link start/stop operation can
be selected in "Selected Status".
Click the
button.
INDEX
Screen button
APPENDIX
1.
18 - 39
GX Works2
18.4.4
Display the list of event history occurred on the own station and on the network.
Screen display
Click the
Display contents
Item
18 - 40
Description
Detailed Information
Display the detailed information of an event selected in "Network Event History List".
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Screen button
Clears the network event history exists in the programmable controller CPU.
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
SETTING OPTIONS
21
button.
The selection status of all events selected in the list are canceled by clicking the
button.
APPENDIX
INDEX
18 - 41
GX Works2
18.4.5
Disable the reserved stations temporarily, and enable the temporarily disabled reserved station.
This function cannot be performed when the connected station is a local station.
Screen display
Click the
Operating procedure
1.
2.
Click the
button.
18 - 42
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18.4.6
Screen display
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Click the
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
Operating procedure
1.
2.
Click the
button.
SETTING OPTIONS
21
APPENDIX
INDEX
18 - 43
GX Works2
18.5
Head
FX
This section explains how to monitor the network information of each station, diagnosing the network status,
and testing.
18.5.1
Screen display
Select [Diagnostics] [CC-Link Diagnostics].
Module list/
diagnostic
target selection
Station list
18 - 44
Description
Display the number of all errors/warnings being occurring in the modules.
Display CC-Link and CC-Link/LT modules exist in the connected station. The number of errors
(errors and warnings) is also displayed.
The diagnostic target can be changed by clicking a desired module.
18
Station list
<<Connecting Station
Information>>
Display the data link status etc. of the connecting station (host station).
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Display the data link status etc. of the station (another station) selected in the station list.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Item
Diagnostics Result
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Display contents
<<Selected Station
Information>>
Display the error information of the station selected in the station list.
20
PRINTING
Screen button
21
SETTING OPTIONS
/
Switches modules to be displayed in units of eight modules.
/
Switches the screen of the station list.
When an error or warning exists on each screen, the icon indicating the error information is
displayed on the button.
/
Switches the all-station display and detail display.
INDEX
APPENDIX
Reset the icon layout in the station list to the station number order.
For the layout edit of the station list, refer to the Point in this section.
18 - 45
GX Works2
/
Displays/hides the related function buttons.
For details of related functions, refer to the following sections.
Section 18.5.2 Loop test/transmission speed test
Loop Test*1
Status Logging
Section 18.5.3 Displaying logs of station information (status logging)
Create Check Sheet
Section 18.5.4 Creating check sheets
Start Data Link/Stop Data Link*1
18 - 46
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
To also update the number of errors/warnings on other modules, update the module list using
Editing layout of station list
Icons in the station list can be moved and allocated freely by drag and drop.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
20
PRINTING
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
SETTING OPTIONS
21
A
Precautions on executing each function
Do not execute the following functions by a sequence program and peripheral at the same time. If executed, they
may not be executed correctly.
Start data link/stop data link
Set/cancel temporary error invalid station
Loop test
Obtain transmission speed setting (including the acquisition of the transmission speed setting in the Check
Sheet Creation Wizard)
Restrictions
Restrictions on bridge diagnostics, loop test, and check sheet creation
Bridge diagnostics, loop test, and check sheet creation can be performed only when the connected station is a
master station.
18 - 47
APPENDIX
button.
INDEX
GX Works2
Replacing a module in online is possible without detecting an error in the corresponding remote station.
To set the temporary error invalid station, select the desired station in the station list and right-click it,
and select [Enable/Disable Ignore Station Errors] from the shortcut menu.
If multiple stations are set as occupied stations, specify the start station number of each occupied
station for the temporary error invalid station. If setting is made for a station that is not the start station in
actual assignment, invalid setting is ignored.
In addition, do not set the temporary error invalid station by a sequence program or peripheral at the
same time. If set, the temporary error invalid station may not be set correctly.
18 - 48
1)
The field displays the company name or maker code of the device connected in CC-Link.
2)
The field displays the maker code if company name is not entered in the maker code list.
3)
The maker code list (partner_English.dat) is saved in the following folder and can be edited using
text editor available in market.
C:/Program Files/MELSOFT/DnaviZero/DnaviSatellite/CCLink
The company names can be edited on the diagnostics screen, however, changes are not reflected
to partner_English.dat.
For some makers, maker codes are not listed. Edit the file according to the following file format
specifications.
Maker code
19
Company name
Max. number of
characters
255
Usable characters*1
0 to 9
Alphanumeric characters
Symbols
Remarks
*1 :
If "," is used in a company name, enclose the company name by double quotations (" ").
Example: "xxxxx Co., Ltd"
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
4)
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
20
PRINTING
If the maker code list does not exist in the install destination of GX Works2 or if it is corrupted, the
following message is displayed.
SETTING OPTIONS
21
APPENDIX
INDEX
18 - 49
GX Works2
18.5.2
Check operating status of lines for all stations or specified stations, and checking the transmission
speed settings of all stations.
Screen display
Double-click
Test result
Operating procedure
1.
Loop Test
Description
Execute the loop test according to the specification of "All Stations" or "Selected Station
No.".
Setting is not possible when CC-Link/LT is selected.
All Stations: Select this to execute the test for all of 64 stations.
Selected Station No.: Select this to execute the test for the specified stations.
To specify a station, specify the start address of an occupied station.
<Example>
When four occupied stations and two occupied stations are connected
4 stations occupied
2 stations occupied
18 - 50
17
button.
The loop test/acquisition of the transmission speed setting is executed and the result is displayed
in the 'Test result'.
Check 'Legends' for the descriptions of the icons displayed in the 'Test result'.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Click the
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
2.
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
SETTING OPTIONS
21
APPENDIX
INDEX
18 - 51
GX Works2
18.5.3
Collect logs of the station information (the data link status of other stations, date of acquisition).
Screen display
Double-click
<Q series CC-Link module whose serial number is lower than 12032>
Log data
display area
Log data
display area
18 - 52
Item
Logging Sampling Time
Description
Specify the period of time to collect the log on the second time scale.
The log is collected during the time of period between when the logging starts and when
the specified time elapses.
2.
Click the
button.
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
19
The log is collected during the specified log acquisition time and displayed in "Log List".
The log displayed in "Log List" is read out from the RAM.
The log collection stops when the number of log records reaches 5000.
When '0' is specified, the log collection continues until the
button is clicked or the number
of log records reaches 5000.
The status as of the date selected in "Log List" is displayed in the 'Log data display area'.
Check "Legends" for the descriptions of the icons displayed in the 'Log data display area'.
Screen button
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
1.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Operating procedure
20
PRINTING
/
Saves information of the log list in CSV format. Also reads out a log file saved in CSV format and
displays in "Log List".
INDEX
21
SETTING OPTIONS
APPENDIX
18 - 53
GX Works2
18.5.4
Operating procedure
1.
Double-click
2.
18 - 54
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
SETTING OPTIONS
21
APPENDIX
INDEX
18 - 55
GX Works2
18.5.5
Operating procedure
Double-click
Performing 'data link stop' disables data transmission from GX Works2 when the personal computer is
connected to a master station via CC-Link as shown in the system configuration below.
To re-establish the connection to send data from GX Works2, reset the programmable controller CPU to
which the data link stop is performed and restart the data link.
Master station,
station number 0
Local station,
station number 1
CC-Link
GX Works2
18 - 56
Head
FX
FX
This section explains how to check various setting status of Ethernet module and Built-in Ethernet port QCPU/
LCPU.
18.6.1
18
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Check Q series-compatible E71 module parameter status, error history, status of each connection,
status of each protocol, LED status, receive e-mail information, and send e-mail information.
For details of each displayed item, refer to the following manual.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Diagnosing Ethernet
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18.6
Screen display
Select [Diagnostics] [Ethernet Diagnostics].
20
PRINTING
Monitoring Information
SETTING OPTIONS
21
APPENDIX
INDEX
18 - 57
GX Works2
Display contents
Item
Description
Select "Module No.", and specify an Ethernet module to be monitored. Setting range is module
number 1 to 4.
Error history (
Monitoring information
Screen button
Section 18.6.3)
Section 18.6.4)
Screen display
Select the <<Parameter Status>> tab on the Ethernet Diagnostics screen.
18 - 58
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Screen display
Select the <<Error History>> tab on the Ethernet Diagnostics screen.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
Screen button
PRINTING
21
SETTING OPTIONS
Screen display
Select the <<Status of Each Connection>> tab on the Ethernet Diagnostics screen.
APPENDIX
INDEX
18 - 59
GX Works2
Screen display
Select the <<Status of Each Protocol>> tab on the Ethernet Diagnostics screen.
Screen display
Select the <<LED Status>> tab on the Ethernet Diagnostics screen.
Precautions on monitoring
If RAM test or ROM test is set with the switch setting of an Ethernet module, programmable controller
communication error occurs.
18 - 60
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Screen display
Select the <<Received E-mail Information>> tab on the Ethernet Diagnostics screen.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
Screen button
PRINTING
Clears the "Number of Error Log Writes" by '0' and the contents of "Error Log".
SETTING OPTIONS
21
APPENDIX
INDEX
18 - 61
GX Works2
Screen display
Select the <<Send E-mail Information>> tab on the Ethernet Diagnostics screen.
Screen button
Clears the "Number of Error Log Writes" by '0' and the contents of "Error Log".
18 - 62
Check Built-in Ethernet port QCPU/LCPU parameter status, error history, status of each connection,
connection status, and time status setting.
For details of displayed items, refer to the following manuals.
QCPU User's Manual (Hardware Design, Maintenance and Inspection)
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
18
Screen display
Select [Diagnostics] [Ethernet Diagnostics].
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18.6.2
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
Monitoring
information
PRINTING
20
Item
Target Module Setting
Description
*1
Select "CPU", and specify the CPU to be monitored. Setting range is CPU number 1 to 4.
Switch decimal/hexadecimal notation of IP address display.
The following built-in Ethernet port information can be monitored.
Parameter status (
Monitoring the parameter status)
Monitoring information
Error history (
APPENDIX
*1 :
SETTING OPTIONS
21
Display contents
Screen button
INDEX
18 - 63
GX Works2
Screen display
Select the <<Parameter Status>> tab on the Ethernet Diagnostics screen.
Screen display
Select the <<Error History>> tab on the Ethernet Diagnostics screen.
Screen button
18 - 64
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Screen display
Select the <<Status of Each Connection>> tab on the Ethernet Diagnostics screen.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
Screen button
PRINTING
21
SETTING OPTIONS
APPENDIX
INDEX
18 - 65
GX Works2
Screen display
Select the <<Connection Status>> tab on the Ethernet Diagnostics screen.
Screen button
18 - 66
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Screen display
Select the <<Time Setting Status>> tab on the Ethernet Diagnostics screen.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
Screen button
20
Setting time
For Built-in Ethernet port QCPU/LCPU, the time on a programmable controller CPU can be set automatically by
collecting the time information from the time information server (SNTP server) connected to the LAN according to
the time setting on the <<Built-in Ethernet Port Setting>> tab of PLC parameter.
For details of the time setting, refer to the following manuals.
QnUCPU User's Manual (Communication via Built-in Ethernet Port)
MELSEC-L CPU Module User's Manual (Built-in Ethernet Function)
21
SETTING OPTIONS
Set the time according to the time setting on the <<Built-in Ethernet Port Setting>> tab of PLC
parameter written to the programmable controller CPU.
PRINTING
APPENDIX
INDEX
18 - 67
GX Works2
Screen display
Select the <<Simple PLC Communication Status>> tab on the Ethernet Diagnostics screen.
Screen button
The Details screen which shows detail information of each setting is displayed.
18 - 68
The following checks are performed when the PING test is executed on Ethernet module, Built-in
Ethernet port QCPU or LCPU.
Whether the line is connected correctly between the host station and the target device.
Whether the parameters are set correctly for the Ethernet module on host station.
Whether the initial processing has been completed correctly for the Ethernet module on host station.
(For Ethernet module only)
19
20
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
A PING test is a test to check the existence of Ethernet modules to which the initial processing has
been completed, or devices with specified IP address on the same Ethernet line.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
PING test
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
18.6.3
21
A PING test can be executed either by the Ethernet module connection (via Ethernet board) or the
programmable controller CPU direct coupled (via serial/USB or Ethernet board).
SETTING OPTIONS
APPENDIX
INDEX
18 - 69
GX Works2
Ethernet
Network number 1
Ethernet
module
Station number: 2
(192.168.0.4)
Ethernet
module
Station number: 1
(192.168.0.3)
18 - 70
A PING test can be executed only when the Ethernet module (station number 1 on network number 1
in the system shown below) of the connection destination is Q series-compatible E71 module
(function version B or later).
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
A PING test is executed to the Ethernet module on the same network as the connected station when
accessing the programmable controller CPU via serial/USB or Ethernet board.
This function cannot be used when accessing the programmable controller CPU via a built-in
Ethernet port of a Built-In Ethernet port QCPU/LCPU.
For the system configuration described in the following figure, configure the settings of the
connection destination as shown below to execute a PING test for the station number 2 on the
network number 2.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Ethernet
module
Station number: 1
Ethernet
Network number 1
Ethernet
module
Ethernet
module
Station number: 1
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
Station number: 2
Ethernet
PRINTING
Network number 2
Ethernet Station number: 2
module
(192.168.0.3)
(PING test target station)
SETTING OPTIONS
21
APPENDIX
INDEX
18 - 71
GX Works2
Screen display
Perform any of the following operations.
Click the
Click the
Test screen.
PING test
information
Sub statusbar
PING test
information
Sub statusbar
18 - 72
17
Item
Input
Item
Set the IP address of the target Ethernet module for PING test.
Transfer Setup
Execution Station
of PING
Set the network number and station number of the Ethernet module which executes the PING
test.
Target of PING
Set the IP address of the Ethernet module which is a target of the PING test.
Setting Options
2.
Description
Address Specification
Click the
Set whether to display a host name in the result. Also set data size (1 to 8,192 bytes),
communication time check (1 to 30 seconds), number of transmissions (1 to 50 times, or until
interrupted).
button.
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Display contents
Item
PING test information
Description
Display the IP address and data size to which the PING test is executed.
When "Module No." is selected for "Target Module Setting" (Ethernet connection (via Ethernet board))
When "CPU" is selected for "Target Module Setting"
20
PRINTING
Transmitting data
When successful
IP address (example: Reply from 10.97.29.75): Data size (example: bytes=32)
Communication speed (example: time<1ms TTL=128)
When unsuccessful
Request timed out.
Completion of data transmission
Packets transmitted
Received
Lost
Minimum packet round-trip time (ms)
Maximum packet round-trip time (ms)
Average packet round-trip time (ms)
"Packets transmitted" and "Received" are updated each time a packet is sent.
21
When "Module No." is selected for "Target Module Setting" (Programmable controller CPU direct coupled (via serial/USB,
Ethernet board))
APPENDIX
Transmitting data
When successful
Success
When unsuccessful
Time Out
Completion of data transmission
Packets transmitted
Received
Lost
"Packets transmitted" and "Received" are updated each time a packet is sent.
Sub statusbar
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
SETTING OPTIONS
1.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Operating procedure
Display the number of send successes and total number of packet transmissions.
Screen button
INDEX
18 - 73
GX Works2
18.6.4
Loopback test
A loopback test is a test to check whether the initial processing of each module has been completed by
sending a loopback test message to the Q series-compatible E71 modules (function version B or later)
of the specified network number or station number.
The following checks are performed when the loopback test is executed.
Whether the line is connected correctly between the host station and the target device.
Whether the parameters are set correctly for the Ethernet module on host station.
Whether the initial processing has been completed correctly for the Ethernet module on host station.
18 - 74
A loopback test can be executed either by the Ethernet module connection (via Ethernet board) or the
programmable controller CPU direct coupled (via serial/USB or Ethernet board).
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Station number 1 Station number 3 Station number 5 Station number 7 Station number 9
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
19
A loopback test is executed to the network number specified on the Loopback Test screen when
accessing the programmable controller CPU via Ethernet module.
In the system as shown below, when the loopback test is executed for station numbers 2 to 4 in
network number 2, the response from the station number 2 (loopback test execution station) is
treated as "No Response".
20
PRINTING
Network number 1
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Station number 4
The response is
treated as "No
Response".
21
SETTING OPTIONS
Network number 2
Station number 3
APPENDIX
INDEX
18 - 75
GX Works2
A loopback test is executed to the network number specified on the Loopback Test screen when
accessing the programmable controller CPU via serial/USB or Ethernet board.
For the system configuration described in the following figure, configure the settings of the
connection destination as shown below to execute a loopback test for the Ethernet module on the
network number 2.
Network number 1
Target station
Station number 1
Target station
Station number 3
Network number 2
Station number 2
Target station
Station number 2
18 - 76
17
Click the
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Screen display
button on the Ethernet Diagnostics screen.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
Display contents
Item
Network No.
Description
20
Set the network number for which the loopback test is executed.
Setting range: 1 to 239
Result
The loopback test is executed in order from the start station number and whether or not the response
is returned within the set communication time check value is displayed in the order of station
numbers.
If an IP address is duplicated, such IP address is displayed in red.
21
SETTING OPTIONS
PRINTING
APPENDIX
INDEX
18 - 77
GX Works2
18.7
System Monitor
Q CPU L CPU Remote
Head
FX
This section explains how to display the system status of the programmable controller CPU.
Screen display
Select [Diagnostics] [System Monitor].
Some terms and module images are different but the screen configurations are same between the
screens of QCPU (Q mode) and LCPU. The screen of QCPU (Q mode) is used in this section.
<QCPU (Q mode) (without extension base unit)>
18 - 78
INDEX
APPENDIX
SETTING OPTIONS
PRINTING
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
18
19
20
21
18 - 79
GX Works2
Display contents
Item
Description
Monitor Status
Main Base*1
Mode*2
Select this to perform either system monitor or online module change function.
System Monitor
Extension Base*1, *4
Display the extension base unit in every two rows. The third row and later are displayed by
pressing the arrow button on the right. The base unit, operating status of the module and I/O
address are displayed.
Base
*1
Module
Display the error status of each module mounted to the base unit.
Display the base name set to the parameter in the programmable controller CPU.
If the parameter is not set, "Main Base", "Extension Base 1" to "Extension Base 7" are displayed.
Power Supply
Base
Type*5
*5
Slots
Installed Modules
*5
Base-Slot*1
*3
Series
Model Name
Point
*3
*3
Parameter
Display the type/points of each module set to the parameter in the programmable controller CPU.
If the parameter is not set, type/points of the mounted module is displayed.
Point*3
I/O Address*3
Network No. Station No.
Master PLC*5
Number Of Module
Occupied*6
Legend
Display the total number of modules counted for all mounted modules.*7
Display the module information on the base unit where the selected module is mounted.
Status
18 - 80
Section 18.8)
Display the name, slot number, and model name of the base unit to which the selected module is
Operation to Selected
Module
Display the I/O address of each module set to the parameter in the programmable controller CPU.
*3
Display the network number and the station number set to each module.
Display the programmable controller CPU number that controls each module in a multiple CPU
configuration. "-" is displayed for the programmable controller CPU or the blank slot.
Display the number of modules counted for each module.*7
Display the legend of the icon displayed on the screen.
17
Each item is displayed as shown below according to the programmable controller series.
Extension base
Extension block
Base
Block
Block Name
Base-Slot
Block-Slot
OPERATING
PROGRAMMABLE
CONTROLLER CPU
LCPU
Main Block
18
*2 :
"*****", "-", and "**" are displayed if the module is not mounted or the parameter is different with the
mounting status.
*3 :
*4 :
*5 :
LCPU only
*6 :
*7 :
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
QCPU (Q mode)
Main Base
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
*1 :
21
SETTING OPTIONS
PRINTING
20
APPENDIX
INDEX
18 - 81
GX Works2
Screen button
18 - 82
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Displays the hardware LED information and the hardware switch information.
The display contents of the H/W Information differ depending on module version.
For details, refer to the User's Manual of each module.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
SETTING OPTIONS
21
APPENDIX
INDEX
18 - 83
GX Works2
Displays error history logs of the module selected on the System Monitor screen.
This button is available when GX Works2 is connected to the programmable controller CPU that
supports the module error history collection function. (
Section 18.7.2)
18 - 84
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Displays the product information of each module mounted to the base unit.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
Displays all error history logs of the programmable controller and modules.
This button is available when GX Works2 is connected to the programmable controller CPU that
supports the module error history collection function. (
Section 18.7.2)
20
PRINTING
Clicking the
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
SETTING OPTIONS
21
APPENDIX
INDEX
18 - 85
GX Works2
18 - 86
The following table shows the details of the error status icons of the programmable controller CPU and
the modules.
Module
Moderate
error
Stop error
Minor error
Error allowing
operation
Errors that allow RUN status such as battery low and annunciator
ON
Assignment
error
Assignment error
Error
H/W error
Serious error
Module system
error
Moderate
error
Module error
Minor error
Module warning
Assignment
error
Assignment error
Illegal
assignment
Illegal assignment
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Error
19
Display when mounted modules do not match with the I/O assignment setting on
PLC parameter
The following shows the "Module Information List" on the System monitor function according to the I/O
assignment on PLC parameter. If module mounting status does not match with the I/O assignment,
change "I/O Assignment" of the I/O assignment setting to match with the mounting status. "*****", "-",
and "**" are displayed if the module is not mounted, or the parameter is different with the mounting
status.
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Programmable
controller CPU
Icon
20
PRINTING
Module
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Error icons
21
SETTING OPTIONS
APPENDIX
INDEX
18 - 87
GX Works2
18.7.1
Screen display
Select a module on the System Monitor screen and click the
button.
The following is an example of the Module's Detailed Information screen when QJ71LP21-25 is
selected.
Screen button
Displays the hardware LED information and the hardware switch information. (
18 - 88
Section 18.7)
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Screen display
Select a built-in I/O module on the System Monitor screen and click the
button.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
21
SETTING OPTIONS
Screen button
For the buttons on the screen, refer to Modules of QCPU (Q mode)/LCPU.
/
Displays/hides the built-in function buttons.
For details of the built-in function buttons, refer to the following sections.
Positioning monitor
Section 18.9.1
High-speed counter monitor
Section 18.9.2
I/O monitor
Section 18.9.3
APPENDIX
INDEX
18 - 89
GX Works2
Screen display
Select a built-in CC-Link module on the System Monitor screen and click the
Screen button
For the buttons on the screen, refer to Modules of QCPU (Q mode)/LCPU.
18 - 90
button.
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18.7.2
Screen display
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
SETTING OPTIONS
21
<System error history>
APPENDIX
INDEX
18 - 91
GX Works2
Display contents
Item
Description
Monitor Status
Refine Search
No.
Display the error history number. Errors are numbered in order of occurring.
Error Code
Model Name
Display the model name of the module on which the error occurs.
Start I/O
Display the start I/O number of the module on which the error occurs.
Model Name
Display the model name of the module selected in the error history list.
Start I/O
Display the start I/O number of the module selected in the error history list.
For the module that uses multiple slots, the starting slot is only displayed.
Mount Position
Display the mount position of the module selected in the error history list.
Display the explanation and solution of the error on the module being selected in the error
history list.
<<Intelligent Module
Information>>
Display the module information at the error occurrence of the intelligent function module
being selected in the error history list.
Screen button
For the buttons on the screen, refer to Section 18.7.
button.
Exports information displayed in the error history list to a file in CSV format.
18 - 92
Programmable controller CPUs and modules that support the function to display detailed error history
Detailed error history can be displayed when a programmable controller CPU and intelligent function module that
support the module error history collection function are used.
For versions of modules that support the function, refer to the Users Manual of each module.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
SETTING OPTIONS
21
APPENDIX
INDEX
18 - 93
GX Works2
18.8
Head
Screen display
Select [Diagnostics] [Online Module Change].
Operating procedure
1.
2.
18 - 94
FX
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
21
SETTING OPTIONS
Restrictions
PRINTING
20
APPENDIX
INDEX
18 - 95
GX Works2
18.9
Head
FX
This section explains how to monitor the operating status of the positioning function, high-speed counter
function, and I/O signals using the built-in I/O module tools.
For the monitoring items and setting values, refer to MELSEC-L CPU Module Users Manual (Built-in I/O
Function).
18.9.1
Positioning monitor
Screen display
Select [Tool] [Built-In I/O Module Tool] [Positioning Monitor].
Display contents
Item
Monitor
Description
Display the current status.
Test
Error Reset
Click
OPR OFF
Click
Screen button
18 - 96
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18.9.2
Screen display
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
Display contents
21
Description
Display the current status.
Test
Click
to select a channel.
After selecting the channel, enter the preset value.
Error Reset
Click
SETTING OPTIONS
Item
Monitor
Screen button
APPENDIX
Reflects the preset value of the selected channel to the programmable controller CPU.
INDEX
18 - 97
GX Works2
18.9.3
I/O monitor
Screen display
Select [Tool] [Built-In I/O Module Tool] [I/O Monitor].
Display contents
Item
18 - 98
Description
Input Signal
Output Signal
This chapter explains debugging operations using the I/O system setting function.
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
19 SIMULATING OPERATIONS
OF EXTERNAL DEVICES
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
PRINTING
SETTING OPTIONS
21
APPENDIX
INDEX
19.1
19.2
19.3
19.4
19.5
19.6
19.7
19.8
19 - 1
GX Works2
19.1
Head
FX
FX
19.1.1
This section explains differences between conventional debugging and debugging with the I/O system
setting function.
Conventional debugging
1)
2)
1)
2)
19 - 2
19.1.1 Differences between conventional debugging and debugging with I/O system setting function
<Conventional debugging>
X0-M0
X1-M1
Start
Y0
Stop
X0
X1
Start
Y0
Stop
Y0
Run
Run
18
Y0
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Example) Simulating operations of program when Y0 is turned ON, and 5 seconds later X1 is turned
ON to stop running
19
K50
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
T0
T0
M1
Y0
20
5 sec. timer
PRINTING
<Image of operation>*1
Settings set in the I/O system setting screen are saved
in a file as a sequence program shown below.
SET X1
21
SETTING OPTIONS
5 sec. timer
setting
APPENDIX
INDEX
19.1.1 Differences between conventional debugging and debugging with I/O system setting function
19 - 3
GX Works2
19.1.2
The I/O system setting function simulates operations of external devices according to specified
conditions and sequence actions for debugging.
In "Condition", set a condition for starting up a sequence action for debugging. For settings of
conditions, refer to Table 19.1.2-1.
In "Sequence Action", set devices of which values are to be changed or a timing chart which is to be
started up at timing when the condition is true, using either of two kinds of setting methods: device
value input and timing chat input. For details, refer to Section 19.1.3.
Sequence actions for debugging can be switched easily by checking/clearing "Enable" check boxes in
the I/O system setting screen.
Example) Settings on the I/O system setting screen using the device value input
19 - 4
17
Combinations of conditions and examples of settings on the I/O system setting screen
Combination of conditions
OPERATING
PROGRAMMABLE
CONTROLLER CPU
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
2
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
20
PRINTING
SETTING OPTIONS
21
7
APPENDIX
INDEX
19 - 5
GX Works2
19.1.3
There are two methods to set sequence actions in the I/O system setting function: one is the device
value input to change value of a desired device after a specified amount of time has elapsed when a
condition has been satisfied; the other is the time chart input to execute a timing chart when a condition
has been satisfied.
Device value input
A value of a specified device can be changed after the specified condition is satisfied and the time
specified for the timer is elapsed.
This enables actions such as the following.
Example) "When Y0 is turned ON, 5 seconds later X0 and X3 are turned ON"
Condition
Timer
Sequence action
19 - 6
Head
FX
FX
The following shows the operating procedure of the I/O system setting function.
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
19.2
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Start simulation
(
Section 15.2)
Section 19.3)
NO
20
PRINTING
NO
YES
YES
21
SETTING OPTIONS
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
YES
Start monitoring
(
Section 19.7)
INDEX
NO
End simulation
(
Section 15.2)
19 - 7
GX Works2
19.3
Head
FX
FX
This section explains how to set conditions in the I/O system setting function.
Screen display
Select GX Simulator2 screen [Tool] [I/O System Setting]
Menu bar
Toolbar
I/O system
setting tree
Edit/monitor
screen
Status bar
Display contents
Item
Description
Reference
Menu bar
Toolbar
Appendix 1.8
Section 1.3.8
Section 19.4
Section 19.5
number to be set.*1
Edit/monitor the I/O system setting.
At timing chart input
Edit/monitor screen
At device value input
Status bar
*1 :
19 - 8
Section 19.4
Section 19.5
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
Restrictions
20
PRINTING
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
SETTING OPTIONS
21
APPENDIX
INDEX
19 - 9
GX Works2
19.4
Head
FX
FX
This section explains how to configure the I/O system setting by inputting device values.
Operating procedure
1.
Double-click a desired setting number from "Device Value Input" in the I/O system
setting tree.
Doubleclick
2.
Description
Setting number in the I/O System Setting screen.
Specify the input condition from the virtual programmable controller.
Section 19.4.1)
The Device Specification screen is displayed by clicking . (
Bit devices and word devices can be specified for the input condition. Labels cannot
be specified.
For a bit device, ON/OFF can be set in a designated condition; for a word device,
comparison (=,<>,<,>,<=,>=) with a constant or another word device can be set in a
designated condition.
In addition, a relational condition can be set by specifying AND/OR operation.
AND operation
Condition
OR operation
With an And operation, the condition is satisfied if both designated conditions on the
left and right are achieved. Otherwise, the condition is not satisfied.
With an OR operation, the condition is satisfied if either or both of designated
conditions in upper and lower columns are achieved.
19 - 10
Timer ms
Set a period of time from when the specified condition is satisfied until the sequence
action is issued.
The setting range is 1 to 1000 (10 to 10000ms).
Sequence Action
Set a bit device to be turned ON/OFF or a word device of which the value is to be
changed after the specified condition is satisfied. Labels cannot be set.
Setting
Set whether each setting is to be enabled/disabled. Check this to enable the setting.
17
Setting conditions
OPERATING
PROGRAMMABLE
CONTROLLER CPU
19.4.1
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Operation
Enter conditional expressions directly.
<Example>
For bit devices: X0=ON, M10=OFF
For word devices: D0=20, D5<20, D15<>5, D25>=10, D0=D50
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
21
SETTING OPTIONS
Operation
Set the items on the screen.
Item
Description
Compare Source
<<Device>>
Device
<<Buffer Memory>>
Set a device.
*1
Address
Decimal/Hexadecimal
Condition
Compare Destination
<<Value>>
Select ON/OFF
Value
Device
<<Buffer Memory>>
*1
Set a device.
INDEX
<<Device>>
*1 :
APPENDIX
Address
Decimal/Hexadecimal
For FXCPU, these items are supported by FX3U and FX3UC only.
19 - 11
GX Works2
19.4.2
Sequence actions can be entered directly, or set on the Bit Device Setting screen or the Word Device
Setting screen.
For devices that can be entered for conditions, refer to the following section.
(
Appendix 2.1)
Operation
Enter devices directly.
<Example>
For bit devices: X2-4, M5, M7
For word devices: D12=234, D20=10
Data entry method (set on the Bit Device Setting screen)
Operation
Set the items on the screen.
Item
19 - 12
Description
Device (from)
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
Operation
Set the items on the screen.
<<Device>>
Device
Setting Value/Device
Address
Decimal/Hexadecimal
For FXCPU, these items are supported by FX3U and FX3UC only.
21
SETTING OPTIONS
*1 :
20
PRINTING
<<Buffer memory>>*1
Description
Display the list of word devices being set.
Enter a device of which a value is to be changed when the specified condition is satisfied.
For setting multiple devices, separate each device with ",".
For setting consecutive devices, connect the start device number and end device number with "-".
<Example>
X0, X2, M10-20
D0=100, W0=100
APPENDIX
Item
Word Device List
19 - 13
INDEX
GX Works2
19.5
Head
FX
FX
This section explains how to set the I/O system setting using timing charts.
Operating procedure
1.
Double-click a desired setting number from "Timing Chart Input" in the I/O system
setting tree.
Doubleclick
2.
Description
No.
Condition
button.
Keep
Setting
Section 19.4.1)
19 - 14
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
19.5.1
The following shows the setting procedure on the Edit Timing Chart Format screen.
Start setting
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
YES
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
NO
Section 19.5.6)
20
PRINTING
Register devices
(
Section 19.5.3)
21
NO
YES
APPENDIX
SETTING OPTIONS
Set/edit timings
(
Section 19.5.4)
INDEX
End setting
19 - 15
GX Works2
19.5.2
The following explains the screen configuration of the Edit Timing Chart Format screen.
Screen display
Select Timing Chart Input screen
Menu bar
Toolbar
Number
of scans
Status
Device name/
device value
Display contents
Item
Description
Reference
Menu bar
Toolbar
Number of scans
Status
*4
*3
19 - 16
17
Registering devices
OPERATING
PROGRAMMABLE
CONTROLLER CPU
19.5.3
Operating procedure
Select [Device] [Enter Device] from the Edit Timing Chart Format screen.
<Bit device>
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
1.
<Word device>
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
<Buffer memory>
PRINTING
20
Description
Select this tab to register devices.
Device
Initial Value
<<Buffer Memory>>*1
Address
Decimal/Hexadecimal
Initial Value
Display Format
Value
View
INDEX
*1 :
APPENDIX
2.
SETTING OPTIONS
21
19 - 17
GX Works2
19.5.4
Setting timing
Operation
19 - 18
Toolbar
Menu
Device ON
Device OFF
Progressive OFF
Progressive ON
All OFF
All ON
Change
No Change
Insert
Delete
Shortcut key
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Operation
1.Select a cell corresponding to a scan of a bit device to be changed.
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
2.Select [Edit] [Timing Setting].
PRINTING
20
button.
ON/OFF of the bit device is cyclically set.
SETTING OPTIONS
21
APPENDIX
INDEX
19 - 19
GX Works2
Value
Scan
Operation
1.Select a cell corresponding to a word device to be changed.
).
Continue
Trigonometric Function
19 - 20
Description
Select this to set a value.
SIN curve
COS curve
Maximum Value
Cycle Scan
17
4.Click the
OPERATING
PROGRAMMABLE
CONTROLLER CPU
button.
The value of the word device is set.
19.5.5
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
Setting number of scans of timing chart
Set the number of scans of a timing chart input from an external device.
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Screen display
Select Edit Timing Chart Format screen [Scan] [Scan Setting]
PRINTING
20
Operating procedure
Enter "No. of Scans".
2.
Click the
21
SETTING OPTIONS
1.
button.
APPENDIX
INDEX
19 - 21
GX Works2
19.5.6
Read and utilize a timing chart data file (*.DAT) saved with the timing chart of GX Simulator.
Because devices and timings are automatically registered after reading, there is no need to register
them again.
Screen display
Select Edit Timing Chart Format screen [File] [Open File].
Restrictions
Number of device points that can be read from a timing chart data file
Timing chart data for 16 device points from the top in the screen can only be saved with the timing chart function.
Therefore, move necessary devices to within 16 points from the top in the screen and save the data when creating
a timing chart data file.
Number of scans that can be read from a timing chart data file
Scan 0 to 99 are available in the Edit Time Chart Format screen of the I/O system setting function. When a timing
chart data file includes scan 100 and later, they are discarded.
When a double-precision real number is used in a timing chart data file
When a double-precision real number is contained in a timing chart data file created with GX Simulator, the file
cannot be read.
19 - 22
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
19.5.7
Screen display
Select Edit Timing Chart Format screen [Device] [Device List].
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
Display contents
Item
Description
PRINTING
Device List
Screen button
Deletes the device being selected from the Edit Timing Chart Format screen.
Displays the device being selected on the Edit Timing Chart Format screen.
APPENDIX
Moves the display position of a device being selected up/down on the Edit Timing Chart Format
screen.
INDEX
21
SETTING OPTIONS
Displays the Enter Device screen, and adds a device to the Edit Timing Chart Format screen.
19 - 23
GX Works2
19.5.8
Exchange the display positions of devices by dragging and dropping a device name.
Operating procedure
1.
Drag
2.
19 - 24
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
19.5.9
Change the display format of devices registered in the Edit Timing Chart Format screen.
This function is not applicable to bit devices.
Operating procedure
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
1.
2.
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
Description
View
button.
SETTING OPTIONS
21
APPENDIX
Click the
Value
INDEX
3.
20
Display Format
19 - 25
GX Works2
19.6
Head
FX
FX
This section explains the operations of simulation using the I/O system setting function.
19.6.1
Executing simulation
Execute simulation with settings configured using the I/O system setting function.
Operating procedure
1.
2.
Select the I/O System Setting screen [File] [Execute I/O System Setting] (
).
3.
Click the
button.
19.6.2
Disabling simulation
Stop simulation of the I/O system setting being executed by disabling the I/O system setting.
Operating procedure
Select the I/O System Setting screen [File] [Disable I/O System Setting] (
19 - 26
).
FX
Q CPU L CPU Remote
Head
FX
FX
This section explains how to monitor devices on the I/O System Setting screen.
Using this function, status of registered conditions can be confirmed, and values of devices registered in
conditions can be changed.
19.7.1
Starting/stopping monitoring
19
Start monitoring
Operating procedure
20
PRINTING
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
19.7
SETTING OPTIONS
21
APPENDIX
Stop monitoring
INDEX
Operating procedure
) on the I/O System Setting screen.
19 - 27
GX Works2
When monitoring starts, the I/O System Setting screen is displays as follows.
Conditions that are true are displayed in yellow.
Screen button
Displays the Edit Timing Chart Format screen to confirm the monitoring status.
19.7.2
Operating procedure
Set the items on the screen.
Item
For a bit device
Description
Click a bit device to invert its status.
Click a word device to display the Change Device Value screen below and change
its value.
Screen button
For the button on the screen, refer to Section 19.7.1.
19 - 28
17
Head
FX
FX
This section explains how to operate an I/O system setting file (*.IOS).
OPERATING
PROGRAMMABLE
CONTROLLER CPU
19.8
19.8.1
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
Creating I/O system setting files
Operating procedure
19.8.2
19
).
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
20
Operating procedure
1.
2.
PRINTING
).
button.
SETTING OPTIONS
21
Supported existing applications
I/O system setting files created with GX Simulator Version 6 or later can also be opened.
Restrictions
APPENDIX
19.8.3
Save an I/O system setting file being open under a specified name.
INDEX
Operating procedure
1.
2.
button.
19 - 29
GX Works2
MEMO
19 - 30
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
20 PRINTING
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
This chapter explains how to print sequence programs and device data created with GX Works2.
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
PRINTING
SETTING OPTIONS
21
APPENDIX
INDEX
20.1
20.2
20.3
20.4
20.5
20.6
20.7
20.8
20.9
20.10
20.11
20 - 1
GX Works2
20 PRINTING
20.1
Print Function
Q CPU L CPU Remote
Head
FX
This section explains the overview of print function and printable data.
The print functions are batch print function and print window function.
Batch print function
A function to batch print multiple data in a project.
Print window function
A function to print data displayed on the active window.
Batch print
Print window
Cover
PLC parameter
Network parameter*1
Intelligent function module*1
Task registration
Ladder
SFC (MELSAP3)
SFC (MELSAP-L)*1
ST
Structured ladder/FBD
Function/Function block program
Label
Device comment
Device memory
Device initial value*1
Change TC Setting
Device list
Cross reference
Statement/Note
System monitor*1
Verification result
20 - 2
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
SETTING OPTIONS
21
APPENDIX
INDEX
20 - 3
GX Works2
20 PRINTING
20.2
Setting Printer
Q CPU L CPU Remote
Head
FX
Screen display
Select [Project] [Printer Setup].
Operating procedure
1.
Paper
Set the paper size and paper feed method of the printer.
Size
Source
Orientation
2.
Description
Portrait
Landscape
Click the
button.
Printer settings
Printer settings changed in GX Works2 are not saved.
Restrictions
Printing data using equipment such as other companies' PDF printers
Some lines of a table may not be printed correctly.
20 - 4
17
Head
FX
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Screen display
OPERATING
PROGRAMMABLE
CONTROLLER CPU
20.3
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
SETTING OPTIONS
21
A
Operating procedure
Item
2.
APPENDIX
Print Item
Setting by Item
Click the
Section 20.5)
INDEX
1.
button.
Data of items checked under "Print Item" are printed in the order from the top.
20 - 5
GX Works2
20 PRINTING
Screen button
/
Moves the selected item up/down under "Print Item".
Section 20.3.1)
Section 20.6)
20 - 6
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
20.3.1
For batch print, the printer can also be set on the Print screen.
Print job output can be selected in the printer setting for batch print.
For notes and restrictions on printer setting, refer to Section 20.2.
18
Select the
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Screen display
button on the Print screen.
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
Operating procedure
Set the items on the screen.
Name
Paper
Set the paper size and paper feed method of the printer.
Size
Source
Portrait
Landscape
Print Job
Output Method
Click the
APPENDIX
Orientation
2.
Description
SETTING OPTIONS
Item
21
button.
20 - 7
INDEX
1.
GX Works2
20 PRINTING
20.4
Head
FX
This section explains how to set the page setup for batch print.
Screen display
Select the Print Screen
Operating procedure
1.
Size
Source
Orientation
Headers/Footers
Header
Footer
20 - 8
Description
Select "Continue from previous page" or "Include chapter number" for the page
numbers printed in header/footer.
Set a page number for the first page to be printed when "Continue from Previous
Page" is selected.
Enter character strings to be printed in header or footer.
Up to 512 characters including string patterns and line feeds can be entered in the
header/footer. Note that a line feed is handled as two characters.
Click to display a list of string pattern.
Selected string pattern is entered at the cursor position.
17
button.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Click the
Screen button
18
1
2
3
20
PRINTING
1
2
3
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
3-2-1
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
2.
SETTING OPTIONS
21
APPENDIX
When characters which exceed the maximum number of characters are entered to header/footer
When the project is opened in GX Works2 with a language different from the opened project data, characters
which exceed 512 characters may be displayed.
When characters which exceed 512 characters are entered to the header/footer, characters cannot be entered or
pasted; however, they can be deleted or cut.
Header and footer
String patterns of header/footer may not function when a project created in GX Works2 in other language is
opened, or a project created in GX Works Version 1.64S or later is opened in GX Works2 Version 1.62Q or earlier.
When the string pattern of header and footer do not function, set the setting again.
INDEX
20 - 9
GX Works2
20 PRINTING
20.5
Head
FX
This section explains how to set items for the batch print function.
20.5.1
Screen display
Select "Cover" in "Print Item" on the Print screen.
Operating procedure
20 - 10
Description
Print Selection
Layout
Text
Font
Font
Select a font.
Size
Font Style
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
SETTING OPTIONS
21
APPENDIX
INDEX
20 - 11
GX Works2
20 PRINTING
20.5.2
Screen display
Select "PLC Parameter" in "Print Item" on the Print screen.
<QCPU(Q mode)/LCPU>
<FXCPU>
Operating procedure
Description
Select the item(s) of PLC parameter to be printed.
Screen button
For the screen buttons, refer to Section 20.5.1.
20 - 12
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
20.5.3
Screen display
Select "Network Parameter" in "Print Item" on the Print screen.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
Operating procedure
21
Item
Print What
SETTING OPTIONS
Screen button
APPENDIX
INDEX
20 - 13
GX Works2
20 PRINTING
20.5.4
Screen display
Select "Ladder" in "Print Item" on the Print screen.
Operating procedure
Description
Display all data names of ladder program.
Do Not Print
Display data names to be printed. Data are printed in the order from the top.
Additional Information
Device Comment
Statement/Note
Contact
20 - 14
Ladder Contact
Print NOPLF*2
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18
Check this to print programs with blank rows of contact usage destination closed up. When
this item is selected, the number of columns of contact usage destination can be selected.
Check this to print programs with blank rows of coil usage destination closed up.
Check this to print data on the new page in ladder block unit.
When this item is not checked, data is printed on the new page in ladder row unit.
Check this to print hidden ladder blocks.
Check this to print blank rows which do not contain device comments.
*1 :
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
For FXCPU simple project (with labels), when a block password with the validated setting for "Readprotect the execution program" exists,
and
PRINTING
21
*2 :
*3 :
For projects with labels, this item can be selected only when "Print in Label Display" is selected for
"Display Mode of Program".
Screen button
For the screen buttons, refer to Section 20.5.1.
SETTING OPTIONS
Print Conditions
17
Description
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Item
APPENDIX
INDEX
20 - 15
GX Works2
20 PRINTING
20 - 16
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Contact usage destination and coil usage destination are output as shown below.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
20
Open contact
The number of steps of
Y0 used for source
PRINTING
Source
Printing examples with a setting of "Delete blank rows of contacts and specify the number of column"
The following examples show the difference of printing contact usage destination according to the
setting of the "Delete blank rows of contacts and specify the number of column" item.
APPENDIX
INDEX
SETTING OPTIONS
21
Destination
Closed contact
20 - 17
GX Works2
20 PRINTING
20.5.5
Screen display
Select "MELSAP3" in "Print Item" on the Print screen.
Operating procedure
Description
Display all data names of SFC (MELSAP3) program.
Do Not Print
Display data names to be printed. Data are printed in the order from the top.
Action/Transition*1
SFC Diagram
Block List*2
Comment List
Check the item(s) to be printed.
Action/Transition
Property (SFC Program)*2,*3
Note List
20 - 18
Item
Block List *3
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Comment
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
SFC Step/Transition
SFC Block List Comment Check this to append SFC block list comments to the block list.
Start Destination Block
Action/Transition
Device Comment
Print Conditions
19
Number of Action/Transition
Contacts
Print Range*2
20
*1 :
For simple projects (without labels), this item is fixed to "Print in Device Display".
*2 :
*3 :
21
SETTING OPTIONS
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
SFC Diagram
PRINTING
Additional Information
17
Description
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
APPENDIX
INDEX
20 - 19
GX Works2
20 PRINTING
20.5.6
Screen display
Select "MELSAP-L" in "Print Item" on the Print screen.
Operating procedure
Description
Display all data names of SFC (MELSAP-L) program.
Do Not Print
Display data names to be printed. Data are printed in the order from the top.
SFC Diagram
Block List
Check the item(s) to be printed.
Comment List
Property (SFC Program)
Additional Information
SFC Diagram
SFC Step/Transition
Comment
Program
Block List
SFC Block List Comment Check this to append SFC block list comments to the block list.
Start Destination Block
20 - 20
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Print Conditions
17
Description
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Item
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
SETTING OPTIONS
21
APPENDIX
INDEX
20 - 21
GX Works2
20 PRINTING
20.5.7
Screen display
Select "ST" in "Print Item" on the Print screen.
Operating procedure
Description
Display all data names of ST program.
Do Not Print
Display data names to be printed. Data are printed in the order from the top.
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
20 - 22
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
20.5.8
Screen display
Select "Structured Ladder/FBD" in "Print Item" on the Print screen.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
Operating procedure
21
SETTING OPTIONS
Description
Display all data names of structured ladder/FBD program.
Do Not Print
Display data names to be printed. Data are printed in the order from the top.
A
Screen button
APPENDIX
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
INDEX
20 - 23
GX Works2
20 PRINTING
20.5.9
Screen display
Select "FB/FUN Program" in "Print Item" on the Print screen.
Operating procedure
Description
-
Function/FB Label
Select Program
Do Not Print
Display data names to be printed. Data are printed in the order from the top.
Additional Information
Device comment
Statement/Note
Contact
20 - 24
Ladder Contact
Print NOPLF*1
Check this to print programs with blank rows of contact usage destination closed up. When
this item is selected, the number of columns to be printed can be selected.
Check this to print programs with blank rows of coil usage destination closed up.
Check this to print data on the new page in ladder block unit.
When this item is not checked, data is printed on the new page in ladder row unit.
Check this to print hidden ladder blocks.
Check this to print blank rows which do not contain device comments.
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
18
20
*1 :
*2 :
For projects with labels, this item can be selected only when "Print in Label Display" is selected for
"Display Mode of Program".
PRINTING
OPERATING
PROGRAMMABLE
CONTROLLER CPU
21
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
APPENDIX
SETTING OPTIONS
Print Conditions
17
Description
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Item
INDEX
20 - 25
GX Works2
20 PRINTING
20.5.10
Screen display
Select "Label" in "Print Item" on the Print screen.
Operating procedure
Description
Display all data names of label.
Label List
Check the label type(s) to be printed. Data are printed in the order from the top.
The item is displayed in gray when data to be printed do not exist.
Do Not Print
Display data names to be printed. Data are printed in the order from the top.
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
20 - 26
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
20.5.11
Screen display
Select "Device Comment" in "Print Item" on the Print screen.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
Operating procedure
Set the items on the screen.
Print Selection
Description
Display all data names of device comment.
Check the device comment to be printed. Data are printed in the order from the top.
The item is displayed in gray when data to be printed do not exist, or all data are read protected.
Do Not Print
Display data names to be printed. Data are printed in the order from the top.
APPENDIX
Print Conditions
Print include the device
with no comment.
*Available only when
selecting print range in
Specify Print Range
option.
Check this to print data including devices to which device comments are not registered.
Check this to print only titles of data to which device comments are not registered.
When this item is checked, only header, footer, and/or title are printed for each data on one
page.
Set the device comment print range.
To specify the print range, select "Specify Range" and set the device range by clicking the
SETTING OPTIONS
Item
21
button.
Since direct inputs (DX) and direct outputs (DY) are device comments as same as inputs
(X) and outputs (Y), they are not printed when "Whole Range" is selected.
When printing direct inputs (DX) or direct outputs (DY), select "Specify Print Range", and
set the device range.
20 - 27
INDEX
GX Works2
20 PRINTING
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
20 - 28
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
20.5.12
Screen display
Select "Device Memory" in "Print Item" on the Print screen.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
Operating procedure
21
Do Not Print
Display data names to be printed. Data are printed in the order from the top.
SETTING OPTIONS
Item
Device Memory Selection
Print Conditions
Description
Display all data names of device memory.
Check this to print only titles of device memory data in which devices to be printed are not
set.
When this item is selected, only header/footer/titles are printed on a single page per data.
APPENDIX
Screen button
INDEX
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
20 - 29
GX Works2
20 PRINTING
20.5.13
Screen display
Select "Device Initial Value" in "Print Item" on the Print screen.
Operating procedure
Set the items on the screen.
Item
Description
Do Not Print
Display data names to be printed. Data are printed in the order from the top.
Print Selection
Print Type
Select a bit unit for handling device initial values for printing.
Print Form
Print Conditions
Print device that value is 0. Check this to print devices whose value is 0.
Print title only for the data Check this to print only titles of data to which the device initial value range is not set, or data
which do not contain devices to be printed.
that is not set device
When this item is selected, only header/footer/titles are printed on a single page per data.
initial value and range.
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
20 - 30
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
20.5.14
Screen display
Select "TC Setting" in "Print Item" on the Print screen.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
Operating procedure
21
Do Not Print
Display data names to be printed. Data are printed in the order from the top.
SETTING OPTIONS
Item
*1 :
Check this to print timer setting values. Labels to which timer is set as a data type are also
printed.
Check this to print retentive timer setting values. Labels to which retentive timer is set as a
data type are also printed.
Check this to print counter setting values. Labels to which counter is set as a data type are
also printed.
APPENDIX
Select Program
Description
Check this to print only titles of programs which do not contain TC setting values.
When this item is selected, only header/footer/titles are printed on a single page per data.
20 - 31
GX Works2
20 PRINTING
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
20 - 32
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
20.5.15
Screen display
Select "Device List" in "Print Item" on the Print screen.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
Operating procedure
21
Item
SETTING OPTIONS
Find What
All devices
Used devices
Select this to search devices used for contacts, coils, and parameters.
Unused devices
Additional Information
Device Comment
Print Conditions
Print title only when no
find result returns.
APPENDIX
Find In
Check this to print only titles even when the program does not contain any devices.
When this item is selected, only header/footer/titles are printed on a single page.
INDEX
20 - 33
GX Works2
20 PRINTING
Item
Specify Print Range
Conditions for Whole
Range Specification
Description
Set the device comment print range.
To specify the print range, select "Specify Range" and set the device range for "Conditions
for Range Specification".
-
Include ZR device
Check this to include ZR devices in the print target when "Whole Range" is specified for
"Specify Print Range".
Include extension
device (e.g. U0\G0,
J1\X0)
Check this to include extended devices in the print target when "Whole Range" is specified
for "Specify Print Range".
(BLm\Sn and BLm\TRn devices are printed with or without this item is selected.)
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
20 - 34
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
20.5.16
Set items to print cross reference information created on the Cross Reference window.
Screen display
Select "Cross Reference" in "Print Item" on the Print screen.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
Operating procedure
21
Item
Specify Print Range
Description
-
All
Selected Rows
Print Conditions
Print title only when a
cross reference
information is not
created.
SETTING OPTIONS
Check this to print only titles when the cross reference information is not created.
When this item is selected, only header/footer/table titles are printed on a single page.
APPENDIX
Screen button
INDEX
20 - 35
GX Works2
20 PRINTING
20.5.17
Screen display
Select "Statement/Note" in "Print Item" on the Print screen.
Operating procedure
Description
Display all program names of ladder program.
Do Not Print
Display data names to be printed. Data are printed in the order from the top.
Check this to print only titles of data in which statements/notes do not exist.
When this item is checked, only header, footer, and/or title are printed for each data
on one page.
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
20 - 36
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
20.5.18
Set items to print the product information list created on the System Monitor screen.
This setting is not supported by FXCPU.
Screen display
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
PRINTING
20
Operating procedure
21
SETTING OPTIONS
Description
Set a product information list file to be printed.
File Name
Click the
button to select a product information list file.
A product information list file cannot be entered directly.
APPENDIX
Screen button
For the screen buttons, refer to Section 20.5.1.
INDEX
20 - 37
GX Works2
20 PRINTING
20.6
Head
FX
This section explains how to check the print image of each data.
Operating procedure
1.
2.
Click the
Section 20.3)
button.
3.
Select items in "Print Item" and "Data Name" to change the data and check the print
image.
4.
Click the
button.
Screen button
Prints data.
/
Displays the previous page/next page.
/
Changes the display size of print image.
20 - 38
Head
FX
19
Parameters
Click the
screen.
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Screen display
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
20.7
20
PRINTING
SETTING OPTIONS
21
1.
2.
Click the
APPENDIX
Operating procedure
button.
INDEX
Printing starts.
Printer settings
Click the
or
20 - 39
GX Works2
20 PRINTING
20.8
Head
FX
FX
20.8.1
Set print details such as ladder print range and additional information.
Screen display
Select [Project] [Print Window]/[Print Window Preview].
The following explains a setting operation for the Print Window function. Apply the same operation for
the Print Window Preview function.
< Option setting screen for Print Window >
Operating procedure
1.
Description
Append selected items to the ladder.
Device comment
Statement/Note
Contact
Check this to append contact usage destination. Set the print position and print
range.
To specify the print range, click the
the Device Range Setting (Contact) screen.
Check this to append coil usage destination. Set the print range.
Coil
Specified Print Range
Print Range
20 - 40
2.
Click the
17
button.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
For the Print Window function, the Print Window screen is displayed. (
Section 20.7)
For the Print Window Preview function, the Print Window Preview screen is displayed.
(
Section 20.9)
Screen button
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
PRINTING
20
SETTING OPTIONS
21
APPENDIX
INDEX
20 - 41
GX Works2
20 PRINTING
20.8.2
Set print details such as print items and print range of device initial values.
Screen display
Click the
Operating procedure
1.
Print Item
Device Initial Value Range
Whole Range
Specified Range
Print Type
Print Form
Print Condition
20 - 42
Print Range
2.
Description
Click
the button.
Head
FX
This section explains how to check print images of data displayed on the screen.
18
Screen display
Select [Project] [Print Window Preview].
The Print Window Preview function cannot be executed from the menu for the following data.
Execute the Print Window Preview function as described below for each data.
Parameters
button on the PLC parameter setting screen or Network parameter setting
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Click the
screen.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
20.9
20
PRINTING
SETTING OPTIONS
21
APPENDIX
INDEX
20 - 43
GX Works2
20 PRINTING
20 - 44
Cover
PLC parameters
Network parameters
Head
FX
Ladder
PRINTING
SETTING OPTIONS
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
APPENDIX
Tasks
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
OPERATING
PROGRAMMABLE
CONTROLLER CPU
INDEX
17
18
19
20
Programs
21
20 - 45
GX Works2
20 PRINTING
ST
Structured ladder/FBD
20 - 46
APPENDIX
Structured data
SETTING OPTIONS
PRINTING
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Local labels
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Global labels
OPERATING
PROGRAMMABLE
CONTROLLER CPU
INDEX
Labels
17
18
19
20
21
20 - 47
GX Works2
20 PRINTING
20 - 48
Device comments
SETTING OPTIONS
PRINTING
APPENDIX
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
INDEX
17
18
19
20
TC setting values
21
Device list
20 - 49
GX Works2
20 PRINTING
20 - 50
Cross reference
Statements/Notes
APPENDIX
SETTING OPTIONS
PRINTING
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
INDEX
Verification result
17
18
19
20
21
20 - 51
GX Works2
20 PRINTING
Head
FX
SFC Block
SFC Block
Data Name : 000 : Block
20 - 52
1/20/2010
SFC Block
(n,m)
1/20/2010
SFC Block
(n,m)
1/20/2010
(n,m)
1/20/2010
(n,m)
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Cross reference information is printed as shown below when the "Display hierarchically" item is
checked on the <<Condition Setting>> tab.
"+" and "-" are not printed.
Each hierarchy of device/label is displayed with indentation.
When only the lower hierarchy of device/label is selected, the hierarchy above the selected hierarchy
is also printed.
Data in the collapsed rows are not printed.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
PRINTING
20
SETTING OPTIONS
21
When the print result is output with the Print or Print Window function, the Save As screen may not
be displayed in the foreground.
INDEX
Use
+
keys or
+
keys to bring the screen in the foreground.
GX Works2 does not respond when the GX Works2 operation is performed while the Save As
screen is displayed.
When the following screen is displayed, select "Wait for the program to respond".
Do not select "Close the program". Unsaved data will be lost.
APPENDIX
Precautions on using the print function with 64-bit edition Windows operating system
20 - 53
GX Works2
20 PRINTING
20 - 54
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
19
Bend point
20
PRINTING
If one block of ladder or function block does not fit in one page, the page is automatically fed and the
ladder block or ladder part is printed from the top of the next page.
<Print result>
21
<Second page>
SETTING OPTIONS
<First page>
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
APPENDIX
Because the screen width is adjusted automatically to fit the page size when the structure/label
setting screen is printed, the printing may be difficult to read according to the column width of the
screen.
In order to improve the printing quality, adjust the column width of the structure/label setting screen.
The visibility of the printing is increased by adjusting the column width to narrow. However, if the
words input into the Remark/Comment column are too long, or one cell is divided into multiple pages,
the content in that cell cannot be printed completely.
20 - 55
INDEX
GX Works2
20 PRINTING
MEMO
20 - 56
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
21 SETTING OPTIONS
Option settings such as screen display format setting and detailed operation settings of each function are
available.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
PRINTING
SETTING OPTIONS
21
APPENDIX
INDEX
21.1
21.2
21 - 1
GX Works2
21 SETTING OPTIONS
21.1
Basic Operations
Q CPU L CPU Remote
Head
Screen display
Select [Tool] [Options].
Operating procedure
Screen button
Stores the current settings as the user default and applies them to a new project.
21 - 2
FX
Item
Automatic
Save
Project
Automatically change
language according to
system*1
Reference
Section
12.9.1
(Simple)
Section 12.1
Structured
Ladder/FBD/
ST
Tool Hint
Section
4.2.3
Label
21
(Structured)
INDEX
Structured
Ladder/FBD
20
19
PRINTING
Common
Setting
Description
Language setting will be automatically
changed according to system when edit
Ladder/SFC program (Statement and Note)
or device comment.
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER
FX
SIMULATING
OPERATIONS OF
EXTERNAL
Head
SETTING OPTIONS
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
APPENDIX
21.2
21 - 3
GX Works2
21 SETTING OPTIONS
Tree item
Item
FB/FUN
Structured
Ladder/FBD
ST
Ladder/SFC
21 - 4
Automatic input/output
labels
Pin overwrites
Ladder Wrapping
Auto Indention
Instruction/label name
prediction
Tabulator Length
FB/FUN
Guided
Program
Editor
Device
Description
Reference
(Structured)
(Structured)
(Simple)
17
Reference/reflect the
other, when device
comment is not set.
Device comment
Note
Statement
Display Connection of
Ladder Diagram
Comment
Ladder
Program
Editor
Ladder
Diagram
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Section
9.1.1
19
20
21
(Simple)
SFC Diagram
Step/Transition
Arrange
INDEX
SFC
Block List
APPENDIX
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER
Reference/Reflection
Target for Device
Comment
Reference
SIMULATING
OPERATIONS OF
EXTERNAL
Comment
Description
PRINTING
Ladder/SFC
Item
SETTING OPTIONS
Tree item
21 - 5
GX Works2
21 SETTING OPTIONS
Tree item
Item
SFC Diagram
Program
Editor
Parameter
Structured Ladder/FBD/ST
Monitor
Ladder
21 - 6
MELSAP-L Label/Device
Display Format
Number of Device
Comment Edit/Display
Characters
Display Format of
Monitoring Value
Significant Characters
Display Format of
Monitoring Value
SFC
Zoom
Description
Reference
(Simple)
Section 9.1
(Simple)
(Structured)
(Structured)
(Simple)
Section 14.6
17
Online Change
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER
Program/Program File
Name
19
Section 12.1
SIMULATING
OPERATIONS OF
EXTERNAL
20
When executing Rebuild All, automatically
assigned devices will be re-evaluated and
devices may change. Previously assigned
devices will retain their values. This setting
automatically clears the device ranges in
the Device/Label Auto-Assign Setting.
Section
12.1.6
(Simple)
(Structured)
PRINTING
PLC Read/Write
Reference
21
SETTING OPTIONS
SFC*2
Description
A
Section 12.9
APPENDIX
Monitor
Item
INDEX
Tree item
21 - 7
GX Works2
21 SETTING OPTIONS
Tree item
Item
Description
Operational Setting
(Simple)
(Structured)
Section
10.1.1
Stop Build
Compile
Condition
21 - 8
(Simple)
(Structured)
Program Check
Compile
Ladder/SFC
Section
12.9.1
Basic Setting
Output Result
Reference
label.*2
(Simple)
(Structured)
(Simple)
17
Item
Use lower-case device
Compile
Condition 1
names as labels*5
Function Output Setting
Description
Reference
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Tree item
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER
(D)INT_TO_BOOL_E,
(D)WORD_TO_BOOL_E,
TIME_TO_BOOL_E
NOT_E
(Structured)
SIMULATING
OPERATIONS OF
EXTERNAL
Display Specification of
Positioning Data
Module*2
Guidance
iQ Works Interaction*2
20
(Intelligent)
Section
12.1.4
(Intelligent)
Enable an editing of
parameters set in
MELSOFT Navigator
Section 6.1
PRINTING
21
SETTING OPTIONS
Compile
Condition 3
Intelligent
Function
19
(Simple)
(Structured)
*1 :
*2 :
*3 :
This setting is not required when the programmable controller CPU is reset, all device memories including latches
are cleared, all file registers are cleared, and the programmable controller CPU is switched to RUN for writing
programs to programmable controller CPU after compiling programs.
*4 :
0 clear process may take a couple of minutes when a large amount of devices to be cleared exists.
*5 :
*6 :
For FXCPU, this item is supported by FX3G, FX3U, and FX3UC only.
21 - 9
APPENDIX
Structured
Ladder/FBD/
ST
INDEX
Compile
Compile
Condition 2
LIMITAION_E,
MAXIMUM_E,
MINIMUM_E
GX Works2
21 SETTING OPTIONS
21 - 10
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
APPENDIX
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
PRINTING
SETTING OPTIONS
21
APPENDIX
INDEX
Appendix 1
Appendix 2
Appendix 3
Appendix 4
Appendix 5
Appendix 6
Appendix 7
Appendix 8
Appendix 9
Appendix 10
Appendix 11
Appendix 12
Appendix 13
Appendix 14
Appendix 15
Appendix 16
Appendix 17
App - 1
GX Works2
APPENDIX
Appendix 1
Head
FX
This section shows the list of toolbars and shortcut keys that can be used for GX Works2.
For (Simple), (Structured), and (Intelligent) indicated in the Reference column, refer to the following manuals
respectively:
(Simple).................GX Works2 Version 1 Operating Manual (Simple Project)
(Structured) ...........GX Works2 Version 1 Operating Manual (Structured Project)
(Intelligent) ............GX Works2 Version 1 Operating Manual (Intelligent Function Module)
The following table shows the "Standard" toolbar icons and the corresponding shortcut keys.
Toolbar
icon
App - 2
Shortcut key
Corresponding menu
Description
Reference
New
Section
4.2.1
Open
Section
4.2.2
Save
Section
4.2.3
GX Works2 Help
Section
3.4.1
Description
Reference
Cut
Copy
Paste
Undo
Redo
Find Device
Find Instruction
Write to PLC
Start Monitoring
Stop Monitoring
Device/Buffer Memory
Batch Monitor
Section 14.3
Modify Value
Section 16.1
Build
Rebuild All
Start/Stop Simulation
Start/stop simulation.
+
+
Section
10.3.2
Section 12.1
19
20
Section 14.2
Section 5.4
21
Section 15.2
APPENDIX
Section
10.3.1
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Corresponding menu
PRINTING
Shortcut key
INDEX
Toolbar
icon
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
The following table shows the "Program Common" toolbar icons and the corresponding shortcut keys.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
SETTING OPTIONS
App - 3
GX Works2
APPENDIX
Shortcut key
Corresponding menu
Description
Reference
Section
3.2.5
Navigation Window
Output window
Cross Reference
Section 10.1
Device List
Section 10.2
Watch
Section 14.6
Find/Replace
(Simple)
(Structured)
(Intelligent)
Section 10.3
The following table shows the "Intelligent Function Module" toolbar icons.
Toolbar
icon
App - 4
Shortcut key
Corresponding menu
Description
QD75/LD75 Positioning
Module Wave Trace
QD75/LD75 Positioning
Module Location Trace
Serial Communication
Module Circuit Trace
QD75/LD75 Positioning
Module Test Monitor
QD75/LD75 Positioning
Module Test
Offset/Gain Setting of
Temperature Input Module
Offset/Gain Setting of
Analog Module
Reference
(Intelligent)
Shortcut key
Corresponding menu
Description
Reference
Stop
Section
16.6.9
Cancel
Section
16.6.7
Break Execution
Section
16.6.6
Step Execution
Section
16.6.5
Execution Option
Section
16.6.8
Enable/Disable Break
Point
Enable/Disable Skip
Range
Section
16.6.2
Section
16.6.3
Section
16.6.4
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Toolbar
icon
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
20
PRINTING
The following table shows other shortcut keys that are available regardless of the editing target.
Toolbar
icon
Shortcut key
Corresponding menu
Description
Reference
Rename
Section
4.3.3
Delete
Section
4.3.4
Copy
Paste
(Intelligent)
Exit
Section 3.1
Section
4.3.2
Cross Reference
Section 10.1
Device List
Section 10.2
+
+
+
/
+
INDEX
A
APPENDIX
SETTING OPTIONS
21
Section 10.1
App - 5
GX Works2
APPENDIX
Toolbar
icon
Shortcut key
Corresponding menu
Description
Reference
Find Device
Section
10.3.1
Find String
Section
10.3.3
Replace Device
Section
10.3.1
Replace String
Replace a string.
Section
10.3.3
+
+
Start Watching
Stop Watching
Section 10.3
Section 14.6
Section 16.3
Shortcut key
Description
Reference
Section
4.3.1
Copy
Paste
Property
Refresh
Project Property
Collapse All
App - 6
Corresponding menu
Section
4.3.2
Section
4.3.5
Section
3.2.5
The following explains the toolbar icons and the corresponding shortcut keys for setting labels.
The following table shows the "Label" toolbar icons and the corresponding shortcut keys.
Description
Delete Row
Corresponding menu
Reference
19
(Simple)
(Structured)
20
21
The following table shows other shortcut keys for setting labels.
Toolbar
icon
Shortcut key
+
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Shortcut key
PRINTING
Toolbar
icon
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
Corresponding menu
Select All
Description
Reference
(Simple)
(Structured)
A
APPENDIX
SETTING OPTIONS
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Appendix 1.3 Toolbar icons and shortcut keys for setting labels
INDEX
Appendix 1.3 Toolbar icons and shortcut keys for setting labels
App - 7
GX Works2
APPENDIX
Appendix 1.4 Toolbar icons and shortcut keys for setting device
memory
The following explains the toolbar icons and the corresponding shortcut keys for setting device
memory.
The following table shows the "Device Memory" toolbar icons and the corresponding shortcut keys.
Toolbar
icon
Shortcut key
Description
Reference
Display Mode/Binary
Display Mode/Octal
Display Mode/Decimal
Display Mode/
Hexadecimal
Display Mode/Float
Display Mode/String
Display Mode/String
(ASCII only)
Register/16-bit
Register/32-bit
Register/64-bit
Input Device
Enter a device.
Section
7.2.2
FILL
Section
7.2.4
Corresponding menu
Section
7.2.5
Section
7.4.1
Section
7.4.2
The following table shows other shortcut key for setting device memory.
Toolbar
icon
App - 8
Shortcut key
Corresponding menu
Insert Row
Description
Insert a row at the cursor position.
Appendix 1.4 Toolbar icons and shortcut keys for setting device memory
Reference
Section 7.2
Next Unmatch
Previous Unmatch
+
+
+
Reference
Section
4.2.7
Section 12.2
19
20
The following table shows the toolbar icons for executing sampling trace.
Shortcut key
Corresponding menu
Description
Trace Setting
Start Trace
Stop Trace
Monitor Status
Execution Failed
Before Trigger
After Trigger
Stop
Completion
Error
Buffer Status
Trigger Occurrence
Appendix 1.5 Toolbar icons and shortcut keys for verification result
Reference
Section
16.4.2
Section
16.4.4
21
INDEX
Toolbar
icon
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Description
PRINTING
Corresponding menu
SETTING OPTIONS
Shortcut key
APPENDIX
Toolbar
icon
OPERATING
PROGRAMMABLE
CONTROLLER CPU
The following table shows the toolbar icons and the corresponding shortcut keys for the verification
result.
17
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Appendix 1.5 Toolbar icons and shortcut keys for verification result
App - 9
GX Works2
APPENDIX
Toolbar
icon
Shortcut key
Corresponding menu
Switch Chart/Detail
Description
Reference
Section
16.4.4
Appendix 1.7 Toolbar icons and shortcut keys for program editors
The following explains the toolbar icons and the corresponding shortcut keys for program editors.
The following table shows the toolbar icons and the corresponding shortcut keys for the ladder editor.
Toolbar
icon
Shortcut key
Description
Open Contact
Open Branch
Close Contact
Close Branch
Coil
Application Instruction
Horizontal Line
Vertical Line
Rising Pulse
Falling Pulse
App - 10
Corresponding menu
Appendix 1.7 Toolbar icons and shortcut keys for program editors
Reference
(Simple)
Edit Line
Delete Line
Device Comment
Statement
Edit statements.
Note
Edit notes.
Batch-edit statements/notes.
Display Template
Read Mode
Write Mode
Monitor Mode
Device Display
Zoom
Insert Row
Delete Row
Insert Column
Delete Column
+
+
+
+
+
+
+
+
Enter/Delete HLine
Rightward
Enter/Delete HLine
Leftward
Appendix 1.7 Toolbar icons and shortcut keys for program editors
18
(Simple)
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
19
Section
9.2.2
(Simple)
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
20
(Structured)
PRINTING
Reference
21
SETTING OPTIONS
Description
(Simple)
APPENDIX
Corresponding menu
INDEX
Shortcut key
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Toolbar
icon
App - 11
GX Works2
APPENDIX
Toolbar
icon
Shortcut key
Corresponding menu
Reference
Enter/Delete VLine
Downward
Enter/Delete VLine
Upward
Switch Open/Close
Contact
Switch Statement/Note
Type
Increment/decrement a device/label on
the Enter Symbol screen.
Jump
+
+
Jump to Next Ladder Block Jump a cursor from the current position
Start
to the start of the next ladder block.
Comment
Statement
Display statements.
Note
Display notes.
Bigger
Smaller
Tile FB Horizontally
Moves up/down/left/right
+
+
/
+
App - 12
Description
Instruction Help
+
(Simple)
Section
3.4.2
Appendix 1.7 Toolbar icons and shortcut keys for program editors
The following table shows the toolbar icons and the corresponding shortcut keys for the ST editor.
List Operands
Display Template
Toggle Bookmark
Bookmark List
Next Bookmark
Previous Bookmark
+
+
+
+ Num
*1
Increase Zoom
+ Num
*1
Decrease Zoom
Jump
Zoom Header/Body
Header
Copy
Cut
Paste
Instruction Help
Reference
18
19
(Structured)
20
21
Section
3.4.2
(Structured)
A
APPENDIX
INDEX
*1 :
Description
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Corresponding menu
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Shortcut key
PRINTING
Toolbar
icon
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
SETTING OPTIONS
Appendix 1.7 Toolbar icons and shortcut keys for program editors
App - 13
GX Works2
APPENDIX
The following table shows the toolbar icons and the corresponding shortcut keys for the structured
ladder/FBD editor.
Toolbar
icon
Shortcut key
Description
Select Mode
Guided Mode/Guided
Editing
Interconnect Mode
Guided Mode/Auto
Comment
Insert Row
Insert Column
+
+
+
+
Input Instruction
Open Contact
Close Contact
Open Branch
Close Branch
Coil
Input Label
Output Label
Rising Pulse
Falling Pulse
Jump
Return
Comment
List Operands
Increment Pins
Delete Pins
App - 14
Corresponding menu
Appendix 1.7 Toolbar icons and shortcut keys for program editors
Reference
(Structured)
Increase Zoom
+ Num
*1
Decrease Zoom
Signal Configuration/
Configure
Signal Configuration/
Toggle
Jump
Change Label-Comment
Mode
Zoom Header/Body/
Header
Copy
Cut
Paste
Auto Connect
Guided Mode
/Overwrite, Insert Mode
Instruction Help
+
+
+
(Structured)
20
21
Section
3.4.2
A
APPENDIX
19
INDEX
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
PRINTING
Reference
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
*1
*1 :
Description
+ Num
Corresponding menu
SETTING OPTIONS
Shortcut key
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Toolbar
icon
Appendix 1.7 Toolbar icons and shortcut keys for program editors
App - 15
GX Works2
APPENDIX
The following table shows the toolbar icons and the corresponding shortcut keys for the SFC editor.
Toolbar
icon
Shortcut key
Description
Insert
Insert
Insert
[JUMP] Jump
Insert
Insert
Insert
[TR] Transition
Insert
[==D] Simultaneous
Divergence
[--C] Selection
Convergence
[==C] Simultaneous
Convergence
No Attribute
Stored Coil
Reset
Insert
Selection Divergence
(Draw Line)
Insert
Simultaneous Divergence
(Draw Line)
Insert
Selection Convergence
(Draw Line)
Insert
Simultaneous
Convergence (Draw Line)
Insert
Delete Line
SFC Step/Transition
Comment
App - 16
Corresponding menu
Appendix 1.7 Toolbar icons and shortcut keys for program editors
Reference
(Simple)
Read Mode
Write Mode
Monitor Mode
Zoom
Insert Row
Delete Row
Insert Column
Delete Column
Jump
Numeric key
+
+
/
double-click
Open Zoom/Start
Destination Block
+
+
19
(Simple)
20
SFC Step/Transition
Comment
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
PRINTING
Reference
21
SETTING OPTIONS
Description
Program Display
The following table shows the shortcut keys for the SFC block list.
Shortcut key
+
Numeric key
+
Corresponding menu
Description
Reference
Jump
(Simple)
INDEX
Toolbar
icon
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Corresponding menu
APPENDIX
Shortcut key
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Toolbar
icon
Appendix 1.7 Toolbar icons and shortcut keys for program editors
App - 17
GX Works2
APPENDIX
The following table shows other shortcut keys for program editors.
Toolbar
icon
Description
Set a range.
App - 18
Corresponding
menu
Shortcut key
/
+
+
Appendix 1.7 Toolbar icons and shortcut keys for program editors
Reference
(Structured)
Reference
New
Section
19.8.1
Open
Section
19.8.2
Save
Cut
18
19
Section
19.4.2
Copy
Paste
Section
19.6.1
Section
19.6.2
Start Monitoring
Stop Monitoring
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Description
20
Section
19.7.1
PRINTING
Corresponding menu
SETTING OPTIONS
21
A
APPENDIX
Shortcut key
INDEX
Toolbar
icon
OPERATING
PROGRAMMABLE
CONTROLLER CPU
The following table shows the toolbar icons and the corresponding shortcut keys for the I/O system
setting function.
17
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Appendix 1.8 Toolbar icons and shortcut keys for I/O system setting
function
Appendix 1.8 Toolbar icons and shortcut keys for I/O system setting function
App - 19
GX Works2
APPENDIX
The following table shows the toolbar icons for the positioning monitor function.
Toolbar
icon
Shortcut key
Corresponding menu
Description
Reference
(Intelligent)
Toolbar icons and shortcut keys for predefined protocol support function
The following table shows the toolbar icons and the corresponding shortcut keys for the predefined
protocol support function.
Toolbar
icon
Shortcut key
Description
New
Open
Save
Copy
Paste
Write to Module
App - 20
Corresponding menu
Reference
(Intelligent)
FX
Q CPU L CPU Remote
Head
FX
FX
The simulation function debugs sequence programs on the virtual programmable controller in the personal
computer.
The created sequence programs can be debugged without connecting the personal computer to the
programmable controller CPU.
This section explains the simulation function and the restrictions.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Simulation Function
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Appendix 2
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
Devices SM/SD1000 and later are not supported by the simulation function.
: Supported : Not supported : Irrelevant
Input (X)
SETTING OPTIONS
*1
Timer (T)*1*2
Word
device
21
*1
Internal user
device
Remarks
Actual inputs are invalid.
Output (Y)
Support
PRINTING
Device name
Counter (C)*2
*2
APPENDIX
Type
INDEX
Category
Range set by
parameter
App - 21
GX Works2
APPENDIX
Category
Type
Bit device
Internal system
device
Bit device
Range set by
parameter
Support
Remarks
Link direct
device
Device name
Not applicable
Not applicable
Word
device
Intelligent
function
module device
Word
device
Not applicable
Index register
Word
device
Not applicable
File register
Word
device
0 to 1017k points
(in units of 1k)
Nesting
Pointer
Bit device
Nesting (N)
Pointer (P)
Not applicable
Not applicable
Others
Not applicable
Constant
Decimal constant
K-2147483648 to
2147483647
Hexadecimal constant
H0 to FFFFFFFF
E1.17550-38 to
E3.40282+38
Real constant
String constant
E2.22507-308 to
E1.79770+308
"ABC", "123"
*1 :
*2 :
Timer/Retentive timer/Counter: Contact and coil are bit devices and current value is a word device.
App - 22
Purpose
Support
Input (X)
Output (Y)
General type*1
(changeable)
State (S)
General type
(fixed)
Latched type*3
(fixed)
Special type
Initial state*1
General type
*1
*2
Latched type
*3
Latched type
100ms
10ms
1ms*3
*3
16-bit up-counter
SETTING OPTIONS
*2
*3
*1
High-speed counter
Word
device
21
*1
16-bit up-counter*2
Counter (C)
20
100ms/10ms
Retentive type for
19
Annunciator type*3
Timer (T)
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Bit device
PRINTING
Latched
(changeable)
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
type*2
Internal user
device
Remarks
File type*1
APPENDIX
Type
Buffer memory
INDEX
Category
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
App - 23
GX Works2
APPENDIX
Category
Type
Device name
Purpose
Pointer
Remarks
Master control
Nesting (N)
Pointer
Support
Interrupt pointer
Interruption
16 bits
Decimal constant
Hexadecimal constant
32 bits
16 bits
32 bits
*1 :
*2 :
*3 :
App - 24
Name
Description
No.
Name
Description
OFF: Hold step output
turned OFF (cleared)
ON: Hold step output held
SM0
Diagnostic error
OFF: No error
ON: Error
SM327
SM1
Self-diagnostic error
OFF: No self-diagnostic
error
ON: Self-diagnostic error
SM328
SM5
Error common
information
SM400
Always ON
SM16
Error individual
information
SM401
Always OFF
ON
OFF
SM50
Error reset
SM402
ON
OFF
SM56
Operation error
OFF: Normal
ON: Operation error
SM403
ON
ON
SM405
1 scan
OFF
20
1 scan
OFF
SM165
OFF: Completed
ON: Not being executed or
not completed
SM409*1
SM202
SM410*1
0.05 sec
0.05 sec
SM203
STOP contact
STOP status
SM411*1
0.1 sec
0.1 sec
SM204
PAUSE contact
PAUSE status
SM412*1
1 second clock
0.5 sec
0.5 sec
SM206
SM413*1
2 second clock
1 sec
SM213
OFF: Ignored
ON: Read request
SM414*1
2n second clock
n sec
n sec
SM250
OFF: Ignored
ON: Read
SM415*1
2n (ms) clock
n (ms)
n (ms)
SM320
Presence/absence of
SFC program
SM420
SM321
SM421
SM322
SM422
SM323
Presence/absence of
continuous transition for
entire block
SM423
SM324
Continuous transition
prevention flag
SM424
SM325
OFF: OFF
ON: Preserves
SM430
SM326
PRINTING
1 scan
21
SETTING OPTIONS
Annunciator detection
19
1 sec
APPENDIX
n2
scan
n2
scan
n1
scan
INDEX
SM62
ON
OFF
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
No.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
App - 25
GX Works2
APPENDIX
No.
Name
Description
No.
Name
Description
SM680
SM681
SM700
Carry flag
SM703
Sort order
SM704
Block comparison
OFF: Unusable
ON: Use enabled
SM722
Drive 1 flag
OFF: No drive 1
ON: Drive 1 present
SM776
SM603
Drive 2 flag
OFF: No drive 2
ON: Drive 2 present
SM777
SM604
SM800
Trace preparation
SM620
OFF: Unusable
ON: Use enabled
SM801
Trace start
OFF: Suspend
ON: Start
SM621
SM802
Trace execution in
progress
OFF: Suspend
ON: Start
SM622
Drive 3 flag
OFF: No drive 3
ON: Drive 3 present
SM803
Trace trigger
SM623
Drive 4 flag
OFF: No drive 4
ON: Drive 4 present
SM804
SM624
SM805
Trace completed
SM640
SM826
Trance error
OFF: Normal
ON: Error
SM650
Comment use
SM829
Forced registration
specification of trace
setting
SM672
SM431
SM432
SM433
SM434
SM510
SM600
SM602
*1 :
n2
scan
n2
scan
n1
scan
When the setting value of the constant scan is equal to the integral multiple of the clock time, the value of the special relay
is OFF every scan. For the setting to turn the clock of the special relay ON/OFF, refer to the Point in the next page.
App - 26
0.05
0.1
0.15
0.2
0.25
0.3 (Second)
0.1-second clock
Clock ON/OFF
inversion and
value of special
relay
OFF
ON
ON
OFF
ON
19
OFF
50ms
(Scan)
0
0.05
0.1
0.15
0.2
0.25
0.3 (Second)
20
OFF
PRINTING
0.1-second clock
Clock ON/OFF
inversion and
value of special
relay
OFF
OFF
100ms
(Scan)
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
21
SETTING OPTIONS
APPENDIX
INDEX
App - 27
GX Works2
APPENDIX
Name
Description
No.
Name
Description
M8000
RUN monitor
NO contact
OFF: STOP
ON: RUN
M8038
OFF: Hold
ON: Clear
M8001
RUN monitor
NC contact
OFF: RUN
ON: STOP
M8039
M8002
Initial pulse
NO contact
M8040
Transfer disable
M8003
Initial pulse
NC contact
M8041
M8004
Error occurrence
M8042
M8011
10ms clock
5ms
5ms
M8043
M8012
100ms clock
50ms
50ms
M8044
M8013
1 sec. clock
0.5s
0.5s
M8045
M8014
1 min. clock
30s
30s
M8046
STL state ON
M8018
Always ON
M8047
M8020
Zero
M8048
Annunciator ON
M8021
Borrow
M8049
Annunciator enable
M8022
Carry
M8067
Operation error
M8023
M8068
M8024
BMOV instruction
execution direction
ON: Write
OFF: Read
M8074
M8026
RAMP mode
M8090
BKCMP instruction:
Block comparison signal
M8028
M8091
M8029
Instruction execution
complete
M8160
M8031
OFF: Hold
ON: Clear
M8161
M8032
OFF: Hold
ON: Clear
M8164
FROM and TO
instructions: Transfer
points variable mode
M8033
OFF: Clear
ON: Hold
M8168
SMOV instruction:
Hexadecimal data
handling function
M8034
App - 28
17
Description
M8200
M8218
M8201
M8219
M8202
M8220
M8203
M8221
M8204
M8222
M8205
M8223
M8206
M8224
M8207
M8225
M8208
M8226
M8209
M8227
M8210
M8228
M8211
M8229
M8212
M8230
M8213
M8231
M8214
M8232
M8215
M8233
M8216
M8234
M8217
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Name
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
No.
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Description
20
PRINTING
Name
21
SETTING OPTIONS
No.
APPENDIX
INDEX
App - 29
GX Works2
APPENDIX
Name
Description
Diagnostic error
Error information
categories
SD1
SD2
Name
Description
SD73
SD3
SD4
No.
SD72
SD74
SD75
SD76
SD5
SD77
SD6
SD78
Table of detected
annunciator numbers
Annunciator detection
number
SD7
SD79
SD8
SD200
Status of switch
SD9
SD201
LED status
Status of CPU-LED
SD202
SD11
SD203
SD12
SD204
Priorities 5 to 8
SD10
Error common
information
SD13
SD207
SD14
SD208
SD15
SD209
SD16
SD210
Clock data
SD17
SD211
Clock data
SD18
SD212
Clock data
Clock data
(minute, second)
SD19
SD213
Clock data
Clock data
(higher digits of year, day
of week)
SD20
Error individual
information
Priorities 1 to 4
Priorities 9 to 11
SD220
SD21
SD221
SD22
SD222
SD23
SD223
SD24
SD224
SD25
SD225
SD26
SD226
SD50
Error reset
SD227
SD62
Annunciator number
Annunciator number
SD240
Base mode
0: Automatic mode
1: Detail mode
SD63
Number of annunciators
Number of annunciators
SD241
SD64
SD242
SD65
SD243
SD66
SD244
SD250
SD67
Table of detected
annunciator numbers
Annunciator detection
number
SD68
SD286
SD69
SD287
SD70
SD288
SD71
SD289
App - 30
Device assignment
17
Current scan time
(ms value)
SD290
Number of points
assigned for X
SD520*2
SD291
Number of points
assigned for Y
SD521*2
SD292
Number of points
assigned for M
SD522*2
SD293
Number of points
assigned for L
SD523*2
SD294
Number of points
assigned for B
SD524*2
SD295
Number of points
assigned for F
SD525*2
SD296
Number of points
assigned for SB
SD526
Number of points
assigned for V
SD527
SD298
Number of points
assigned for S
SD528
SD299
Number of points
assigned for T
SD529
SD300
Number of points
assigned for ST
SD532
SD301
Number of points
assigned for C
SD533
SD302
Number of points
assigned for D
SD534
SD303
Number of points
assigned for W
SD535
SD304
Number of points
assigned for SW
SD600
SD602
Drive 1 capacity
SD603
Drive 2 capacity
SD604
SD620
SD622
Drive 3 capacity
SD305
SD306
SD307
SD308
SD309
SD310
SD311
SD395
SD396
Device assignment
16-bit modification
Number of points
assigned for Z
Number of points
assigned for ZR (for
extension)
Device assignment
(Assignment including the
number of points set to the
extended data register and
extended link register
setting)
Multiple CPU system
information
Number of points
assigned for D (for
inside + for extension)
18
SD623
Drive 4 capacity
SD624
SD640
Drive number
SD641
SD642
1 second counter
SD414*1
SD643
SD415*1
2n millisecond clock
units
SD644
SD420
Scan counter
Number of counts in
each scan
SD645
SD430
Number of counts in
each scan
SD646
SD500
Program number in
execution
SD647
20
21
Number of points
assigned for W (for
inside + for extension)
SD412*1
19
I
File register file name
INDEX
SD297
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Description
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Name
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
No.
PRINTING
Description
SETTING OPTIONS
Name
APPENDIX
No.
App - 31
GX Works2
APPENDIX
No.
Name
Description
No.
SD648
SD655
SD650
Comment drive
SD656
SD651
SD652
SD653
Name
Comment file name
SD670
SD681
SD840
SD654
*1 :
Values are derived from the constant scan setting value and the number of scans.
*2 :
*3 :
SD203 supports the operating status of CPU only. STOP/PAUSE cause is fixed to 0.
App - 32
Description
D8000
Watchdog timer
D8001
*2
D8002
Memory capacity
D8004
Error M number
M8060 to M8068
D8006
30 (Unit: 0.1 V)
D8010
Unit: 0.1ms*3
D8011
Unit: 0.1ms*3
D8012
Unit: 0.1ms*3
D8013
Second data
D8014
Minute data
Time data
No.
Name
Description
D8049
D8067
D8068
D8069
D8101
D8102
Memory capacity
D8164
FROM and TO
instructions: Transfer
points quantity
specification
D8015
Hour data
Time data
D8016
Day data
Time data
D8182
Value of register Z1
Value of register Z1
D8017
Month data
Time data
D8183
Value of register V1
Value of register V1
D8018
Year data
Time data
D8184
Value of register Z2
Value of register Z2
D8019
Day-of-the-week data
Time data
D8185
Value of register V2
Value of register V2
D8028
Value of register Z
Value of register Z
D8186
Value of register Z3
Value of register Z3
D8029
Value of register V
Value of register V
D8030
Variable analog
potentiometer VR1
*4
D8031
Variable analog
potentiometer VR2
*4
D8191
Value of register V5
Value of register V5
D8039
D8192
Value of register Z6
Value of register Z6
D8193
Value of register V6
Value of register V6
D8040
D8194
Value of register Z7
Value of register Z7
D8041
D8195
Value of register V7
Value of register V7
D8042
D8043
D8312
Lower
D8044
D8045
D8046
D8047
Value of register V3
Value of register V3
Value of register Z4
Value of register Z4
D8189
Value of register V4
Value of register V4
D8190
Value of register Z5
Value of register Z5
D8314
D8315
20
21
Upper
APPENDIX
D8313
19
Lower
Upper
Initialized to 200ms on every programmable controller type. The watchdog timer time can be changed, but the WDT
check is never performed.
INDEX
*1 :
D8187
D8188
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Description
200ms*1
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Name
PRINTING
No.
SETTING OPTIONS
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
App - 33
GX Works2
APPENDIX
*2 :
Value
FX0, FX0S
20000
FX0N
20000
FX1
21000
FXU, FX2C
20000
FX1S
22000
FX1N, FX1NC
26000
FX2N, FX2NC
24000
FX3G
26000
FX3U, FX3UC
24000
*3 :
All values are equal to the constant scan setting value. The initial value is 100ms.
*4 :
Operates as a general data register. Write a value between 0 and 255 and test the operation using functions such as the
Modify Value function of GX Works2.
*5 :
One scan time becomes equal to the time set as the constant scan.
App - 34
17
The following table shows the list of devices which can be used for conditions, the device value input,
and timing chart input in the I/O system setting function.
Device list (QCPU (Q mode)/LCPU)
: Supported : Not supported
X
Output
Internal relay
Latch relay
Annunciator
Edge relay
Step relay
Link relay
Retentive timer
TN
Contact
TS
Coil
TC
Current value
CN
Contact
CS
Coil
CC
Current value
STN(SN)
Contact
STS(SS)
Coil
STC(SC)
Data register
Link register
21
SW
Direct input
DX
Direct output
DY
Function input
FX
Function output
FY
Special relay
SM
Function register
FD
Special register
SD
Link input
\X
Link output
\Y
Link register
\W
\SW
Link relay
\B
\SB
\G
Index register
Index register
File register
File register
Nesting
Nesting
Pointer
Interrupt pointer
INDEX
Pointer
20
PRINTING
Counter
19
SB
Current value
18
SETTING OPTIONS
Timer
Internal user device
QCPU (Q mode)/LCPU
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Input
Symbol
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Device name
APPENDIX
Category
OPERATING
PROGRAMMABLE
CONTROLLER CPU
R
ZR
App - 35
GX Works2
APPENDIX
Category
Others
Constant
Device name
Symbol
QCPU (Q mode)/LCPU
BL
TR
Decimal constant
Hexadecimal constant
Real constant
Device
Device name
X
Output
Auxiliary relay
State
Timer
Counter
Current value
TN
Contact
TS
Coil
TC
Current value
CN
Contact
CS
Coil
CC
Data register
Direct specification of buffer memory
Extension register
Extension register
Constant
\G
*1
Index register
Pointer
FXCPU
Index register
Nesting
App - 36
Symbol
Input
Z
*2
Nesting
Interrupt pointer
Decimal constant
Hexadecimal constant
*1 :
*2 :
QCPU (Q mode)/LCPU
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
Sequence instructions
Restrictions
Contact instruction
LD, LDI, AND, ANI, OR, ORI, LDP, LDF, ANDP, ANDF, ORP, ORF, LDPI,
Bond instruction
ANB, ORB, MPS, MRD, MPP, INV, MEP, MEF, EGP, and EGF
Output instruction
OUT, OUT T, OUT C, OUT F, OUTH T, SET, RST, SET F, RST F, PLS,
PLF, and FF
Shift instruction
SFT(P)
MC and MCR
End instruction
Other instruction
20
PRINTING
Symbol
Basic instructions
Category
Comparison operation
instruction
Arithmetic operation
instruction
Symbol
=, <>, >,
, <,
, D=, D<>, D>, D
E
, E<, E
, and BKCMP(P)
21
Restrictions
, D<, D
+(P), (P), D+(P), D(P), *(P), /(P), D*(P), D/(P), B+(P), B(P), DB+(P),
DB(P), B*(P), B/(P), DB*(P), DB/(P), E+(P), E(P), E*(P), E/(P),
BK+(P), BK(P), INC(P), DEC(P), DINC(P), and DDEC(P)
$+(P)
MTR
SETTING OPTIONS
Category
A
APPENDIX
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
INDEX
App - 37
GX Works2
APPENDIX
Application instructions
Category
Symbol
Restrictions
Logical operation
instruction
Rotation instruction
DRCL(P)
Shift instruction
Structured instruction
Switch instruction
Clock instruction
String processing
instruction
Display instruction
LEDR
Other instruction
App - 38
Symbol
FROM(P), DFRO(P), S(P), TO, TO(P), and DTO(P)
Restrictions
Not supported by LCPU.
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
FXCPU
Symbol
Restrictions
LD, LDI, AND, ANI, OR, ORI, LDP, LDF, ANDP, ANDF, ORP, and ORF
ANB, ORB, MPS, MPP, and INV
Bond instruction
MC and MCR
Other instruction
Output instruction
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Category
19
Application instructions
: Supported : Not supported
Category
Program flow
Symbol
32-bit instruction
CJ
CALL
SRET
FEND
FOR
NEXT
20
PRINTING
CMP
ZCP
MOV
SMOV
21
CML
BMOV
SETTING OPTIONS
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
FMOV
XCH
BCD
BIN
ADD
SUB
MUL
INC
DEC
WAND
WOR
WXOR
NEG
INDEX
APPENDIX
DIV
App - 39
GX Works2
APPENDIX
Category
Symbol
32-bit instruction
ROR
ROL
RCR
RCL
Rotation and shift operation
SFTR
SFTL
WSFR
WSFL
SFWR
SFRD
ZRST
DECO
ENCO
SUM
BON
Data operation
MEAN
ANS
ANR
SQR
FLT
IST
SER
ABSD
Handy instruction
INCD
TTMR
STMR
ALT
RAMP
SORT
ASC
FROM
TO
External Device (optional device)
Data transfer 2
ASCI
HEX
ZPUSH
ZPOP
ECMP
EZCP
EMOV
Floating point
ESTR
EVAL
EBCD
EBIN
EADD
App - 40
17
Symbol
32-bit instruction
Category
ESUB
EMUL
EDIV
EXP
18
LOGE
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
LOG10
ESQR
ENEG
INT
SIN
COS
Floating point
19
TAN
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
ASIN
ACOS
ATAN
RAD
DEG
20
WTOB
BTOW
UNI
DIS
PRINTING
WSUM
SWAP
TZCP
TADD
TSUB
21
SETTING OPTIONS
TCMP
HTOS
STOH
TRD
External device
HOUR
GRY
GBIN
APPENDIX
BK+
BKBKCMP=
BKCMP>
BKCMP<
BKCMP<>
BKCMP<=
BKCMP>=
INDEX
App - 41
GX Works2
APPENDIX
Category
Symbol
32-bit instruction
STR
VAL
Data operation 3
Data comparison
$+
LEN
RIGHT
LEFT
MIDR
MIDW
INSTR
$MOV
FDEL
FINS
POP
SFR
SFL
LD=
LD>
LD<
LD<>
LD<=
LD>=
AND=
AND>
AND<
AND<>
AND<=
AND>=
OR=
OR>
OR<
OR<>
OR<=
OR>=
LIMIT
BAND
Data table operation
ZONE
DABIN
BINDA
Data transfer 3
App - 42
RBFM
WBFM
This section explains the programmable controller CPU functions that are supported by GX Works2
simulation function.
The following tables show the functions that are supported by the simulation function.
Function name
Function detail
Supported/Not
supported
Remarks
Programming
Program memory
Interrupt program
Boot operation
Programming language
Standard ROM
Standby type
Change by instruction
Ladder
List
SFC (MELSAP3, MELSAP-L)
INDEX
21
ST
Communication with intelligent function module
20
*1
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
PRINTING
I/O number
SETTING OPTIONS
Memory
APPENDIX
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
App - 43
GX Works2
APPENDIX
Function name
Function detail
Supported/
Not supported
Remarks
No operation is performed in
actual time.
Latch function
Monitor function
Remote password
LED display
Remote RUN/STOP
Remote PAUSE
Remote RESET
No operation is performed in
actual time.
Monitoring/testing devices
Sampling trace
Self-diagnostic function
Breakdown history
System protection
Password registration
Error reset
App - 44
Function detail
Remarks
QCPU network
18
19
32-bit indexing
Pointer
Local/Common pointer
Local device
Device setting
Indirect specification
20
21
A
APPENDIX
INDEX
*1 :
16-bit indexing
SETTING OPTIONS
Device indexing
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Device, Constant
A series CPU compatibility setting
(Special relay, special register)
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Function name
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Supported/Not
supported
App - 45
GX Works2
APPENDIX
QCPU (Q mode)/LCPU
Item
Applicability
Label
Comment
Fixed to 'Allow'
PLC System
Module Synchronization
File Register
Transfer to Standard ROM at Latch data backup operation
PLC File
PLC RAS
*2
Constant Scanning
Breakdown History
Low Speed Program Execution Time
Boot File
App - 46
Boot Option
17
Program
Item
Applicability
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Parameter
*3
Program
SFC Program Start Mode
SFC
Start Conditions
Output Mode When the Block is Stopped
18
Device
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Device Points
I/O Assignment
19
Base Setting
Switch Setting
Detailed Setting
Control PLC
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
I/O Assignment
Setting
No. of PLC
Operation Mode
20
PRINTING
Multiple CPU
Setting
Host Station
Serial
Communication
IP Address Setting
Open Setting
FTP Setting
Time Setting
Positioning
High-speed Counter
Input Signal
Output Signal
Transmission Speed
Sum Check
Online Change
21
SETTING OPTIONS
A
APPENDIX
Built-in Ethernet
Port Setting
Acknowledge XY Assignment
*1 :
Internal operations are performed with double precision. However, the processing speed does not change.
*2 :
*3 :
There are restrictions for "Low Speed" and "Fixed Scan" type programs. (
INDEX
Appendix 2.5)
Item
Applicability
Ethernet / CC IE / MELSECNET
CC-Link
App - 47
GX Works2
APPENDIX
FXCPU
Item
Applicability
Memory Capacity
Comments Capacity
Memory Capacity
Device
Device
PLC Name
Title
MODEM Initialized
Special Function
Block
(Built-in CC-Link/LT
Setting)
App - 48
Channel Setting
Protocol
Data Length
Parity
Stop Bit
Transmission Speed
Header
Terminator
Control Line
H/W Type
Control Mode
Sum Check
Unit Name
Address
Value
Size/Type
Identification Code
Transmission Speed
Point Mode
Station Type
I/O Points
17
Head Address
Positioning Instruction
Pulse
Frequency [Hz]
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Applicability
19
PRINTING
20
SETTING OPTIONS
21
APPENDIX
INDEX
Positioning
Item
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Parameter
App - 49
GX Works2
APPENDIX
Item
Time processing
Time processing of the timer instruction/function is performed by assuming that the scan time is 100ms.
If the constant scan time is set in parameter, the set constant scan time is used as the scan time.
Supported
instructions
Some instructions including the data refresh instruction are not supported by the simulation function.
Unsupported instructions are processed as NOP. (Supported instructions
Appendix 2.2)
The time set for constant scan is used for updating the timer current value.
Constant scan
SM400
Processing time
T0
Scan 1
Scan 2
Scan 3
Scan 4
Scan 5
100ms
Scan1
T0=1
Scan1
T0=2
Scan1
T0=3
Scan1
T0=4
Scan1
T0=5
300ms
Scan1
T0=3
Scan1
T0=6
Scan1
T0=9
T0=12
Scan1
T0=15
Scan1
K10
In the virtual programmable controller, the number of counts per scan of the timer instruction changes
depending on the constant scan setting. When the constant scan time is set to 100ms, the count of the
100ms timer is +1 per scan. The count of the same timer is +3 per scan when the constant scan time is set to
300ms.
Monitoring
App - 50
If [Local device not executed] is selected in the GX Works2 local device monitor, the simulation function
monitors the devices of the program executed at the end of each scan.
However, the function may monitor the devices of the low-speed execution type or fixed scan execution
type programs processed at the end of each scan if these types of program are included in the programs
for simulation. For details, refer to 6 and 7 in this table.
If a program for local device monitoring is specified in the GX Works2 local device monitor, the simulation
function monitors the local devices in the specified program regardless of the existence of a scan execution
type program.
17
Debugging using the simulation function
In the virtual programmable controller, one low-speed execution type program is always executed after the
execution of scan execution type programs. This execution is not affected by the constant scan time and the
program execution time set for low-speed execution type programs.
The following shows the operation procedure of programs. (The procedure does not change in step
operation.)
Initial execution type
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
19
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Item
All scan execution type programs are executed in each scan, whereas one low-speed execution type
program is executed. Therefore, when N number of low-speed execution type programs are set, the
execution of all programs completes in N scans.
Scan 1
Scan 2
Scan 3
Scan 4
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
No.
20
PRINTING
Low-speed execution
type program A
In the virtual programmable controller, the monitor value of SM510 remains OFF since a low-speed
execution type program is always executed within one scan.
The simulation function measures the time at the end of scan execution type and low-speed execution type
programs and judges whether to execute fixed scan execution type programs. The following shows the
processing timing of the simulation function when the scan time is set to 100ms and the timing of fixed scan
execution type programs is set to 200ms.
Operation of fixed
scan execution type
programs
200ms
elapsed
END
from
reference processing
time
300ms
elapsed
END
from
reference processing
time
400ms
elapsed
END
from
reference processing
time
A
APPENDIX
100ms
elapsed
END
Reference from
reference processing
time
SETTING OPTIONS
21
Low-speed execution
type program B
Scan execution
type program
Low-speed execution
type program
Automatic write at
the start of
simulation
At the start of simulation, PLC parameters and programs registered in the program setting of PLC parameter
are written to the virtual programmable controller.
The file register specified in "Use the following file" in the PLC file setting of PLC parameter is automatically
created.
Interrupt programs
App - 51
INDEX
GX Works2
APPENDIX
No.
9
Item
Floating point
numbers
10
11
I/O module
12
Network
13
Intelligent function
module (Intelligent
parameters)
The virtual programmable controller has a buffer memory area of 64k points for 64 modules to be used for
accessing intelligent function modules. This buffer memory can be used for saving and reading data.
To use intelligent function modules in the simulation function, the I/O assignment must be set on the <<I/O
Assignment>> tab of PLC parameter.
14
Double-precision
operation for the
floating-point
arithmetic
processing
The double-precision operation of the simulation function performs the internal operation with double
precision and converts the final result to the single precision.
The processing speed is not changed even if the double-precision operation is set not to be performed on the
<<PLC System>> tab of PLC parameter.
15
Clock data
Clock data can be read out to SD210-SD213 by the clock data read request (SM213).
However, the set clock function is not supported.
16
Intelligent function
module
Buffer memory for the intelligent function module is stored with the setting on the <<I/O Assignment>> tab of
PLC parameter. Buffer memory (U \G ) cannot be accessed when the I/O assignment setting is not set.
Select 'Intelligent' as the module type and specify the point to create buffer memory in compliance with the
specified points.
If the module type is not specified, it becomes an empty slot.
If the module type is specified but the point is not specified, the point of the specified module becomes
equivalent to one specified for "Point Occupied by Empty Slot" on the <<PLC System>> tab of PLC
parameter.
17
Watchdog timer
When the program loops endlessly (when 30,000,000 or more instructions are executed during one scan), a
WDT error may occur.
18
Device
Supported/
Not supported
Description
SM240
Fixed to 'OFF'
SM241
Fixed to 'OFF'
SM242
Fixed to 'OFF'
SM243
Fixed to 'OFF'
SM244
Fixed to 'OFF'
SM245
Fixed to 'OFF'
SM246
Fixed to 'OFF'
SM247
Fixed to 'OFF'
Fixed to '0'
Operating status
monitor
SD393
CPU mounting
information
SD394
SD395
SD396
SD397
Fixed to '0'
SD398
Fixed to '0'
SD399
Fixed to '0'
Fixed to '1'
App - 52
17
Available drive
volume
ROM*2
Drive 0
Drive 1
Drive 3
Drive 4
Available volume
for users
1008k bytes
2034k bytes
256k bytes
1008k bytes
File size
2048 bytes
1024 bytes
1024 bytes
2048 bytes
Universal model
QCPU (not equal to
Q100UDEH)
Available volume
for users
1040k bytes
8172k bytes
1280k bytes
4096k bytes
File size
512 bytes
4096 bytes
512 bytes
2048 bytes
Universal model
QCPU (equal to
Q100UDEH)
Available volume
for users
4000k bytes
8172k bytes
1792k bytes
16384k bytes
LCPU
File size
512 bytes
4096 bytes
512 bytes
2048 bytes
Available volume
for users
1040k bytes
768k bytes
2048k bytes
File size
512 bytes
512 bytes
2048 bytes
*1 :
The file size unit of program memory of Universal model QCPU/LCPU is 4 bytes (equal
to Q26UDH).
*2 :
The value shown at 'Standard ROM' of Basic model QCPU/High Performance QCPU is
one after the writing to the ROM.
20
Precautions on
Online program
change
21
Line monitor
In ladder programs, line monitor is available even though the program written to the programmable controller
CPU and one being edited are different.
22
When 'Initial start' is selected for "SFC program start mode" and a set of operations 'STOPWrite to
PLCRUN' is performed, not 'Initial start' but 'Resume start' is adopted if programs written to the
programmable controller CPU have no change.
23
Precautions on file
batch online change
24
Operation error
Conditions of operation error occurrence is equal to ones with High Performance model QCPU.
(As 'D/ K-2147483648 K-1 D0' is operated, for example, an operation error does not occur with Universal
model QCPU but occurs with High Performance model QCPU and virtual programmable controller CPU.)
Operation errors are No. 4100 at any time.
25
When "-0" is
specified as the
floating-point type
real number
Monitoring local
devices
If [Local device not executed] is selected, the virtual programmable controller CPU monitors the devices of
the program executed at the end of each scan.
However, it may monitor the devices of the low-speed execution type or fixed scan execution type programs
processed at the end of each scan if these types of program are included in the programs for simulation. If a
program for local device monitoring is specified in the local device monitor, the virtual programmable
controller CPU monitors the local devices in the specified program regardless of the existence of a scan
execution type program.
26
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Standard
RAM
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
Memory card
(RAM)
Standard
memory*1
20
PRINTING
Program
18
21
SETTING OPTIONS
Difference of the drive volume may originate, for the file format is different from the actual programmable
controller CPU. The following lists the available volume of each drive and the file size in the virtual
programmable controller CPU.
Available volume for users: Available space for users (free space after formatting)
File size: Minimum size of one file
For details, refer to the User's Manual (Function Explanation, Program Fundamentals) of the CPU module to
be used.
Memory card (ROM) on the drive 2 cannot be used because the available memory card is RAM only.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
A
APPENDIX
Item
App - 53
INDEX
No.
GX Works2
APPENDIX
FXCPU
No.
Item
Selection of programmable
controller CPU and
operation of FX series CPU
In the simulation function of FXCPU, the CPU-specific functions and device range operate according
to the specifications of the selected FXCPU.
Application instructions can operate in the simulation function even they are not supported by the
selected FXCPU.
Since a program may contain unsupported instructions after changing its programmable controller
type from a top model to a low model, the program may cause a program error when it is written to
the FXCPU even it can be performed in the simulation function.
For example, even the pulse execution type application instructions are not supported by FX0, FX0S,
and FX0N they can be performed in the simulation function. However, a program error may occur due
to the unsupported instructions when the program is written to the FXCPU.
The program check function at STOP to RUN detects a program error only when an MC/MCR exists
in the STL instruction or the RET instruction is not input in response to the STL instruction. Note that
other problems cannot be detected by the program check function at STOP to RUN, and check them
in advance using the program check function of GX Works2.
Some parameter setting items of GX Works2 become disabled in the simulation function even they
are set.
Parameter
Enable/disable setting of
parameter items
PLC parameter
Setting item
Memory Capacity
Device
PLC Name
Positioning
The simulation function is performed with the maximum step capacity of each model.
Watchdog timer
The watchdog timer (D8000) operates in 200ms with all CPUs. The setting value can be changed but
the change is not reflected to its operation.
In the simulation function, the buffer memory of a special extension device operates as a general
register which can be read/written by the FROM/TO instruction. It does not have functions specific to
the special extension device.
Variable analog
potentiometer
The data register (D8030/D8031), which stores the value of the variable analog potentiometer built in
FX0, FX0S, FX0N, FX1S, FX1N, and FX3G, operates as a general data register. Write a value between 0
and 255 and test the operation using GX Works2.
High-speed counter
SORT/SORT2 instruction
The SORT/SORT2 instruction is executed over multiple scans on FXCPU. In the simulation function,
however, its execution is always completed in one scan and M8029 (Instruction execution complete)
turns ON immediately.
10
A latched type device keeps holding its value when the simulation function is in STOP status.
It clears its value when the simulation function is ended.
11
A non-latched type device clears its value when the simulation function is in STOP status or ended.
Execute the Clear PLC Memory function to clear and initialize user data written with the simulation
function.
Execute it too when the operation of the simulation function is not stable.
14
The Write to PLC function does not support the device memory listed below.
Input (X)
Output (Y)
Special relay (M8000 and later)
Special register (D8000 and later)
15
Only the buffer memory of the special function block is supported by the simulation function.
12
13
App - 54
Head
FX
010
011
100
101
110
111
(SP)
0000
NUL
DLE
0001
SOH
DC1
0010
STX
DC2
"
0011
ETX
DC3
0100
EOT
DC4
0101
ENQ
NAK
0110
ACK
SYN
&
0111
BEL
ETB
1000
BS
CAN
1001
HT
EM
1010
LF
SUB
1011
VT
ESC
1100
FF
FS
<
\( )
1101
CR
GS
1110
SO
RS
>
1111
SI
US
DEL
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
1
001
20
SETTING OPTIONS
21
APPENDIX
INDEX
LSD
0
000
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
MSD
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
PRINTING
Appendix 3
App - 55
GX Works2
APPENDIX
Appendix 4
Head
FX
This section describes the precautions when using GX Works2 and the differences between GX Works2 and
GX Developer.
Reference
Appendix 4.2
Unsupported features
Appendix 4.3
Appendix 4.4
Appendix 4.5
Using labels
Using function blocks
Using device comments
Appendix 4.6
Appendix 4.7
Appendix 4.8
Appendix 4.9
Appendix 4.10
Appendix 4.11
Appendix 4.12
Appendix 4.13
Appendix 4.14
Appendix 4.15
Appendix 4.16
Appendix 4.17
(Intelligent)
Key operation
Appendix 4.18
App - 56
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
QCPU (Q mode)
19
LCPU
FXCPU
FX0, FX0S, FX0N, FX1, FXU, FX2C, FX1S, FX1N, FX1NC, FX2N, FX2NC, FX3G, FX3U,
FX3UC
The following CPU modules are supported by starting GX Developer from GX Works2.
For details of using the following CPU modules, refer to Appendix 13.
Programmable controller series
20
QCPU (A mode)
QSCPU
QnACPU
ACPU
PRINTING
Redundant CPU
(Q12PRH, Q25PRH)
21
SETTING OPTIONS
QCPU (Q mode)
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
APPENDIX
INDEX
App - 57
GX Works2
APPENDIX
Alternate S/W
GX Developer
GX Simulator
GX Simulator
Protocol FB support
Password
Boot by GX Explorer
Boot by PX Developer
Online
GX Developer
GX Configurator
Sampling trace
GX Developer
GX Configurator-SC
GX Developer
* In addition to the features mentioned above, the following features are not supported by FXCPU.
Configuration function
Sampling trace function
App - 58
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Description
Without labels
This is the equivalent of the "Do not use label" project of GX Developer.
(1) When a project created in the "Do not use label" of GX Developer is read with GX Works2, the
project becomes the Simple project (without labels).
(2) When a project created in the Simple project (without labels) of GX Works2 is read with GX
Developer, the project becomes the "Do not use label" project.
With labels*2
Structured project*3
*1 :
*2 :
*3 :
20
PRINTING
Before using the project functions in GX Works2, please review the following precautions.
Description (differences between GX Developer and GX Works2)
Protect projects
Read GX Developer
format projects
Read GX Configurator-
*1
QP format projects
21
GX Works2
SETTING OPTIONS
GX Developer
A
APPENDIX
Function
*1 :
19
App - 59
INDEX
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Project type
Simple project
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
GX Works2
APPENDIX
Appendix 4.5
The following table shows the programming languages that are supported by each project type of GX
Works2.
Project type
Simple project
Without labels
With labels
Structured project
*1 :
*2 :
App - 60
Description
Alternate S/W
GX Developer
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Before using the ladder language in GX Works2, please review the following precautions.
18
Combine programs
pressing the
pressing the
key.
20
key.
21
A
APPENDIX
Verify
19
INDEX
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
GX Works2
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
PRINTING
Function
SETTING OPTIONS
App - 61
GX Works2
APPENDIX
Before using the SFC (MELSAP3) language, SFC (MELSAP-L) language or SFC (FXCPU) language in
GX Works2, please review the following precautions.
Function
GX Works2
No corresponding function.
No corresponding function.
App - 62
pressing the
pressing the
key.
key.
GX Works2
Import/Export device
comments to labels
Please use the copy and paste on the label editor and
device comment editor.
The definition of reserved words are different between GX Developer and GX Works2.
20
Before using function blocks in GX Works2, please review the following precautions.
Function
19
Description
Function blocks created with ladder can be used for ladder program, ST
program, and SFC program operation outputs.
For FXCPU, they can be used for ladder programs only.
*When using function blocks created with ST language for ladder programs,
select [Tool] [Options], and check "Enable to Call Function Block from
Ladder to ST, or from ST to Ladder" under "Compile" "Basic Setting".
Check the "Enable function block call from
ladder to ST and from ST to ladder" option
When the VAR_IN_OUT input variable and output variable have different
label/device, the input variable value is always equal to the output variable
value.
This function is not supported by FXCPU.
PRINTING
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Check devices
automatically assigned
labels
21
SETTING OPTIONS
Function
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Using labels
A
APPENDIX
INDEX
App - 63
GX Works2
APPENDIX
Function
GX Developer
GX Works2
Sample comment
Description
Multiple device ranges can be displayed in a window.
*By selecting "All Range" when entering a device, all the device range can be
displayed in one window in the same way as that of GX Developer.
To copy and paste device memory data to Excel, please select [Tool] [Read
from Excel File] / [Write to Excel File].
GX Works2
Maximum amount of
device initial value data to
be created
Restriction of device
number
PLC write/read
IC memory card write/
read
App - 64
GX Works2
Find All
Specified Range
Replacing
The replace function is enabled within a The replace function is enabled within the selected range
range of the specified step numbers.
in a ladder program.
Replace Device
Device Batch Replace
1 is the only value that can be set for the number of points
to be replaced when a label is specified for "Replace
Device".
19
PRINTING
20
SETTING OPTIONS
21
APPENDIX
INDEX
Find String
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Function
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Before using the search/replace function in GX Works2, please review the following precautions.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
App - 65
GX Works2
APPENDIX
Connection destination
setting
GX Works2
A project can contain multiple pieces of 'connection
destination' information.
To change 'connection destination' information, select
'Connection Destination' in the Navigation window.
Remote operation
PLC diagnostics
System monitor
System Monitor
As the system monitor function was not The system monitor function has been supported by
LCPU and the module image can be displayed by
supported by LCPU, [Diagnostics]
[System Monitor] could not be selected. selecting [Diagnostics] [System Monitor].
PLC Diagnostics
Register/Cancel Display
Module Menu
Write to PLC
App - 66
Description
The 'entry data monitor' function is now a docking window as a 'watch' function so
that it can be displayed without overlapping with the program editor.
Device/label is now enabled to be entered by dragging and dropping from the
program editor and the ON/OFF status of bit device and current values of word
device can be modified on the monitoring window.
The 'device batch monitor' and 'buffer memory batch monitor' functions are now
integrated to realize the same operability.
ON/OFF status of bit device and current values of word device can be modified on
the monitoring window.
The debug function can be executed by starting the simulation function.
The break point setting and the break device setting functions become docking
windows, and they can be displayed without overlapping the program editor.
The debug function such as step execution can be executed from the debug
function toolbar.
Debug function*1
*1 :
20
PRINTING
21
Description
For the Print Window function, displayed image is subject to print/print window
preview.
To print with additional information such as statement or device comment, please
put the desired information on the screen and then select [Project] [Print
Window] / [Print Window Preview].
A
APPENDIX
GX Works2
Please copy all the workspace name folders and
"workspacelist.xml" created in the same hierarchy as the
workspace name folders.
19
SETTING OPTIONS
18
App - 67
INDEX
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Function
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Before using the monitor/debug function in GX Works2, please review the following precautions.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
GX Works2
APPENDIX
GX Works2
Intelligent function module data can be transmitted in
PLC type conversion of Q series PLC and L series PLC.
Program check
App - 68
GX Works2
Programs which affect sequence control up to the END
instruction are checked.
Programs which follow the END instruction and do not
affect sequence control are not checked.
For Q00UJ, Q00U, and Q01U projects, a compilation error may occur if the
string type is used for the boolean expression (conditional expression) in
the conditional syntax or iteration syntax of the ST program.
When an error occurs, create a ladder with a string comparison function
block whose operation result is a boolean value, and correct the program
by using this operation result for the failed boolean expression (conditional
expression) in the conditional syntax or iteration syntax.
The setting of 'steps secured for Online program change' which is set on
the [Read from PLC]/[Write to PLC] screen of GX Developer is not set.
Set the setting of 'steps secured for Online program change' on the [Read
from PLC]/[Write to PLC] screen after performing the Open Other Project
function in GX Works2.
19
20
PRINTING
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Description
Before opening a GX Developer "Use label" project of which a program and
function block have the same name, please change the data name in GX
Developer.
21
SETTING OPTIONS
Function
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
For the compatibility between GX Developer and GX Works2, please review the following precautions.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
INDEX
*1 :
App - 69
GX Works2
APPENDIX
Description
Function names of ST language are different between GX IEC Developer and GX Works2.
Please compile and correct errors.
User library
Before using GX IEC Developer user libraries with passwords enabled, please disable the
passwords in GX IEC Developer.
Edit
Read mode
Write mode
Cross reference
Find/
Replace Device List
View
GX Works2
*1
Switch ladder/list
Device test
Skip execution
Partial execution
Step run
Debug
Remote operation
*1
Switch display/non-display of
project data list.
Online
App - 70
Shortcut key
GX Developer
Monitor
*1 :
Description
+
+
+
+
*1
In GX Works2, set the "Use the Switching Ladder Edit Mode (Read, Write, Monitor, Monitor (Write))" item
under "Program Editor" "Ladder" "Ladder Diagram" in the option setting to switch the read mode/
write mode of the ladder editor and the SFC editor.
Head
FX
This section explains the compatibility of GX Works2 projects with projects created with existing applications.
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Appendix 5
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
Appendix 5.1 Application compatibility
Reading projects created with existing application to GX Works2
Application
GX Developer Version 8.00A or later
U*1
U*1
Q02U
Reading
applicability
U*1
U*1
U*1
U*1
L02, L26-BT
U*1
FX3G
*1 :
21
When MELSAP-L format SFC programs are read with Version 1.24A or earlier, they are opened
in the MELSAP3 format.
App - 71
APPENDIX
PRINTING
: Applicable
U: Applicable with restrictions
20
SETTING OPTIONS
The following table shows the applicability of reading project files created with existing applications to
GX Works2.
Projects and data created with the CPU types or programming languages not supported by GX
Works2 cannot be read.
When ST programs created with GX Developer are read to GX Works2, they are opened as
Structured projects with Version 1.08J or earlier and opened as Simple projects with Version 1.12N or
later.
(For the method for reading projects created with existing applications, refer to the following section.
Section 4.7)
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
INDEX
GX Works2
APPENDIX
Application
Reading
applicability
U*1
U*1
Q02U
U*1
U*1
U*1
U*1
L02, L26-BT
U*1
FX3G
*1 :
For the restrictions in reading, refer to "SW D5[ ]-GPPW Compatibility" of the GX Developer
Operating Manual.
App - 72
Head
FX
19
The following table shows the applicability of reading data written in the programmable controller CPU
using existing applications to GX Works2.
Data created with the CPU types or programming languages not supported by GX Works2 cannot be
read.
: Applicable
U: Applicable with restrictions
Programmable controller type
Basic model QCPU
High Performance model QCPU
Q03UD, Q04UDH, and Q06UDH
Application
GX Developer Version 8.00A or later
Q02U
U*1
U*1
21
U*1
U*1
U*1
L02, L26-BT
U*1
FX3G
APPENDIX
20
Reading
applicability
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
This section explains the compatibility between the data written in the programmable controller CPU using GX
Developer or GX IEC Developer and the data read using GX Works2.
PRINTING
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
SETTING OPTIONS
Appendix 6
When MELSAP-L format SFC programs are read with Version 1.24A or earlier, they are opened
in the MELSAP3 format.
INDEX
*1 :
*1
App - 73
GX Works2
APPENDIX
The following table shows the applicability of reading data written in the programmable controller CPU
using GX Works2 to existing applications.
Data created with the CPU types or programming languages not supported in existing applications
cannot be read.
U: Applicable with restrictions
Programmable controller type
Basic model QCPU
High Performance model QCPU
Q03UD, Q04UDH, and Q06UDH
Q02U
App - 74
Application
Reading
applicability
U*1, *2, *4
U*3
U*1, *2, *4
U*3
U*1, *2, *4
U*3
U*1, *2, *4
U*3
U*1, *2, *4
U*3
U*1, *2, *4
L02, L26-BT
U*1, *2, *4
U*1, *5
FX3G
U*1
U*1
U*1
*1 :
Only execution programs can be read when programs written in Simple project (with labels) or
Structured project are read from the programmable controller CPU.
They can be displayed/edited in ladder or list.
*2 :
Programs cannot be read to GX Developer Version 8.03D or later if projects are opened with the
setting of "Use label". To enable reading of programs to GX Developer Version 8.03D or later,
create projects without the "Use label" setting.
*3 :
*4 :
When structured ladder/FBD or ST programs are read from a programmable controller CPU
using existing applications, there may be cases where ladders cannot be restored. Be sure to
check the programs after they have been read from the programmable controller CPU using
existing applications.
When programs are read from a programmable controller CPU using GX Developer, ladder
blocks which cannot be displayed as ladders are displayed in yellow.
*5 :
When a project in which a block password with the validated setting for "Read-protect the
execution program" exists is written, the execution program cannot be read.
The following table shows the reading applicability depending on the label setting when reading data
written in the programmable controller CPU using GX Developer to GX Works2.
Data created with the CPU types or programming languages not supported by GX Works2 cannot be
read.
Reading data with labels
Device comment
With labels
Structured
project
U*3,*5
U*3,*5
U*4
*5
*5
U*1,*2
*3
*3
U*4
*5
*5
PLC/Network/Remote password
21
Device memory
Device memory
*1 :
When MELSAP-L format SFC programs are read with Version 1.24A or earlier, they are opened in the
MELSAP3 format.
*2 :
Block statements written with GX Developer are read as SFC block comments in GX Works2.
*3 :
SFC programs are not included in label programs of GX Developer. Use 'Simple project (without labels)'
when reading programs in GX Works2.
*4 :
When a ladder program or ST program, in which labels of GX Developer are used, is read in Simple
program (without labels), it becomes a ladder program without labels. By editing this ladder program and
writing it to a programmable controller CPU again, this program becomes inconsistent with the label
program written to a programmable controller CPU using GX Developer.
Ladder programs and ST programs, in which labels of GX Developer are used, are included in label
programs. Read GX Developer format symbolic information when reading programs in GX Works2.
INDEX
*5 :
20
SETTING OPTIONS
Program
Simple project
Without labels
PRINTING
: Applicable
U: Applicable with restrictions
: Not applicable
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
Label program
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
APPENDIX
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
App - 75
GX Works2
APPENDIX
Simple project
Without labels
Program
Parameter
Device comment
With labels
Structured
project
Ladder program
SFC program
U*1, *2
PLC/Network/Remote password
Intelligent function module parameter
Common comment
(Global device comment)
Comment by program
(Local device comment)
Device memory
Device memory
*1 :
When MELSAP-L format SFC programs are read with Version 1.24A or earlier, they are opened in the
MELSAP3 format.
*2 :
Block statements written with GX Developer are read as SFC block comments in GX Works2.
Simple project
Without labels
With labels
Structured
project
Parameter
PLC parameter
Program
Program
Common comment
(Global device comment)
Device comment
Device memory
App - 76
Comment by program
(Local device comment)
Device memory
Simple project
Without labels
With labels
Structured
project
U*2
PLC parameter
Parameter
Network parameter
Intelligent function module parameter
Program
Program file
Symbolic
information
(Symbolic data)
*1 :
*2 :
FXCPU
: Applicable
: Not applicable
Simple project
(Without labels)
Structured project
Parameter
PLC parameter
Program
Program file
Symbolic
information
(Symbolic data)
19
20
21
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
: Applicable
U: Applicable with restrictions
: Not applicable
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
QCPU (Q mode)
PRINTING
The following table shows the applicability of reading data written in the programmable controller CPU
using GX IEC Developer to GX Works2.
Data created with the CPU types or programming languages not supported by GX Works2 cannot be
read.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
SETTING OPTIONS
APPENDIX
INDEX
App - 77
GX Works2
APPENDIX
The following table shows the applicability of reading data written in the programmable controller CPU
using GX Works2 to existing applications.
Data created with the CPU types or programming languages not supported by existing applications
cannot be read.
QCPU (Q mode)
: Applicable
U: Applicable with restrictions
: Not applicable
Data
Symbolic information
Program
Parameter
Device comment
Device memory
*1 :
*2 :
*3 :
*4 :
*5 :
Program/Program file
SFC program/ SFC program file
Existing applications
GX Developer
GX IEC Developer
U*1, *2, *4
U*3
U *2, *5
PLC/Network/Remote password
Intelligent function module parameter
Global device comment
(Common comment)
Device memory
FXCPU
: Applicable
: Not applicable
Data
Symbolic information
Program
Program file
Parameter
PLC parameter
Device comment
Device memory
*1 :
App - 78
Existing applications
GX Developer
GX IEC Developer
*1
Precaution
Open
Projects for Q00UJ, Q00U, Q01U, Q10UDH, Q10UDEH, Q20UDH, Q20UDEH, and FXCPU cannot
be opened in GX Works2 Version 1.05F.
Projects whose path includes a semicolon (;) cannot be opened in GX Works2 Version 1.05F.
Before opening a project in GX Works2 Version 1.05F, perform 'Save As' with GX Works2 Version
1.08J or later so that its path does not include a semicolon (;).
Project Revision
The project revision function cannot be used when the length the full path of the project file
(Project.gd2) exceeds 256 bytes.
Before using the project revision function with GX Works2 Version 1.05F, perform 'Save As' in GX
Works2 Version 1.08J or later so that the length of the project file is 255 bytes or less.
Parameter
Projects cannot be handled in GX Works2 Version 1.05F when the following parameters are set.
When the duplicated network number is specified for 'Network No.' of the CC IE Control on the
Ethernet/CC IE/MELSECNET module configuration screen.
When any of 'Twist' is selected for MELSECNET/H in the baud rate setting on the Ethernet/CC IE/
MELSECNET module configuration screen.
When "Use serial communication" is checked in the serial communication setting with Q02U.
When the PLC module change setting in the PLC system setting is specified with Universal model
QCPU.
When index registers are specified as local devices in the device setting with Universal model
QCPU.
When "Socket Communication" is selected for 'Open System' in the open setting of the built-in
Ethernet port setting in projects with Built-in Ethernet port QCPU.
When an instruction added due to Universal model QCPU (the first five digits of the serial number is
'10102' or higher) compatible is used in a project, an instruction code error occurs as the project is
opened in GX Works2 Version 1.05F.
19
20
21
INDEX
Instruction
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
This section explains the precautions when handling GX Works2 projects in older version of GX
Works2.
Read the precautions in each following item to handle projects.
Note that, according to the combination of project-created version and project-handled version,
precautions for both versions need to be read.
For example, when handling the GX Works2 Version 1.08J project in GX Works2 Version 1.05F or
earlier, read the precautions of ' Handling GX Works2 Version 1.08J projects in GX Works2 Version
1.05F or earlier' and ' Handling GX Works2 Version 1.12N projects in GX Works2 Version 1.08J or
earlier'.
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
FX
PRINTING
Head
SETTING OPTIONS
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
APPENDIX
Appendix 7
App - 79
GX Works2
APPENDIX
Precaution
Open
Simple projects (with labels) written in ST language cannot be opened in GX Works2 Version 1.08J
or earlier.
Projects that include inline structured text programs cannot be opened in GX Works2 Version 1.08J
or earlier.
Simple projects (with labels) for FXCPU or projects for the FXCPU containing the SFC language
cannot be opened in GX Works2 Version 1.08J or earlier.
Newly added items in data of Q62AD-DGH/Q66AD-DG module cannot be displayed and changed in
GX Works2 Version 1.08J or earlier. In addition, data of items newly added since Version 1.10L or
later may be lost when data are written to the module in GX Works2 Version 1.05F or earlier.
Symbolic information of projects which include inline structured text programs and are created and
written to the programmable controller CPU in GX Works2 Version 1.12N or later cannot be read from
the programmable controller CPU.
Precaution
Open
When a project is opened in GX Works2 Version 1.12N or earlier, system labels are read as global
labels.
If a project which is saved after rows of global label are moved or deleted in GX Works2 Version
1.12N or earlier, is opened in GX Works2 Version 1.15R or later, the relation with system labels is
disabled.
If a project which is saved after global labels are edited in GX Works2 Version 1.12N or earlier, is
opened in GX Works2 Version 1.15R or later, the relation with system labels can be resolved by
executing the verification synchronous function.
Contact instructions newly added for structured ladder and ST are not supported by GX Works2
Version 1.12N or earlier. A project which contains newly added contact instructions cannot be
opened in GX Works2 Version 1.12N or earlier even if they have already been deleted.
Connection destination
setting
When a project is opened in GX Works2 Version 1.12N or earlier, the connection destination setting
to use the GOT (Ethernet) transparent is changed. Reconfigure the connection destination setting
according to the actual communication route.
Symbolic information of projects which contain contact instructions newly added for structured ladder
and ST cannot be read from the programmable controller CPU in GX Works2 Version 1.12N or
earlier.
Library
A user library which contains contact instructions newly added for structured ladder and ST cannot be
opened in GX Works2 Version 1.12N or earlier.
App - 80
Function
Precaution
Open
When a project which contains the switch setting of Q62DA-FG/Q66DA-G module set to "4 to 20mA
(extended mode)" or "1 to 5V (extended mode)" is opened in GX Works2 Version 1.15R or earlier, the
setting is reset to default ("4 to 20mA").
Connection destination
setting
When a project for FX3U/FX3UC is opened in GX Works2 Version 1.15R or earlier, the connection
destination setting which is set for the Ethernet connection is reset to default.
Reconfigure the connection destination setting according to the actual communication route.
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Function
Precaution
Parameter
Projects cannot be handled in GX Works2 Version 1.24A or earlier when "CC IE Field (Master
Station)" or "CC IE Field (Local Station)" is set in the network parameter.
When a project which contains LD62, LD62D, LD75D4, LD75P4, or LD77MH4 is opened in GX
Works2 Version 1.24A or earlier, these modules become reserved modules.
Projects cannot be handled in GX Works2 Version 1.24A or earlier when "Disconnection detection
mode setting" and "Disconnection detection setting value" are set in the parameter setting of
Q62DA-FG module.
Projects cannot be handled in GX Works2 Version 1.24A or earlier when the following parameters
are set in the parameter setting of QJ71C24N/QJ71C24N-R2.
The echo back permit/prohibit specification or execution history option specification in the
various control specification
The predefined protocol function error code, send data storage area or receive data storage area
in the auto refresh
20
21
A
APPENDIX
Open
Projects for Q50UDEH, Q100UDEH, and LJ72GF15-T2 cannot be opened in GX Works2 Version
1.24A or earlier.
Projects for LCPU in which system labels are set cannot be opened in GX Works2 Version 1.24A or
earlier.
When "MELSAP-L (Instruction Format)" or "MELSAP-L (Start Conditions Format)" is selected as
the SFC display format, SFC is opened as MELSAP3 in GX Works2 Version 1.24A or earlier.
PRINTING
SETTING OPTIONS
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
INDEX
App - 81
GX Works2
APPENDIX
Precaution
Open
Projects for remote I/O module cannot be opened in GX Works2 Version 1.31H or earlier.
Projects for Universal model QCPU (except for Q00U, Q00UJ, Q01U, Q02U) in which "Act at Block
Multi-Activated" is set for SFC program property cannot be opened in GX Works2 Version 1.31H or
earlier.
Be aware the following precautions when handling a project in which system labels are used for
FXCPU,
System labels are read as global labels when a project is opened in GX Works2 Version 1.12N or
earlier. If a project in which rows of global label are moved or deleted is saved in GX Works2
Version 1.12N or earlier, the relation with system labels is disabled.
If a project is opened in GX Works2 Version 1.15R - 1.40S, system label information is resolved,
but the operations related to system label functions cannot be performed.
If a project which is saved after global labels are edited in GX Works2 Version 1.31H or earlier, is
opened in GX Works2 Version 1.40S or later, the relation with system labels can be resolved by
executing the verification synchronous function.
Connection destination
setting
When a project in which the communication route via Ethernet adapter module is set is opened in GX
Works2 Version 1.31H or earlier, the communication route is changed to programmable controller
direct coupled setting.
Parameter
Projects cannot be handled in GX Works2 Version 1.31H or earlier when the number of points
between 1K (1024) and 7K (7168) or exceeds 8K (8192) is set for S device in the PLC parameter.
When a project in which "CC IE Control Ext. Mode (Control Station)" or "CC IE Control Ext. Mode
(Normal Station)" is set in the network parameter is opened in GX Works2 Version 1.31H or earlier,
the setting is deleted.
Device comment
For Universal model QCPU, when a project in which bit-specified word device comments are set is
opened in GX Works2 Version 1.31H or earlier, the bit-specified word device comments are deleted.
Build
When a project in which the same name is used for data name and label name is opened and
compiled in GX Works2 Version 1.31H or earlier, a C4110 error occurs. Compile the program after
changing the data name and label name.
When a project in which devices set for Device/Label Automatic-Assign Setting are used is opened
and compiled in GX Works2 Version 1.31H or earlier, an error occurs. Compile the program after
changing the devices not to overlap with the ones set for Device/Label Automatic-Assign Setting.
App - 82
Connection destination
setting
When a project in which the communication route via CC-Link IE Field Network board is set is
opened in GX Works2 Version 1.44W or earlier, the communication route is changed to
programmable controller direct coupled setting.
When a project in which the communication route via GOT from Ethernet board is set is opened in
GX Works2 Version 1.44W or earlier, the PLC side I/F of the connection destination setting is
changed to CPU module. "GOT Transparent" is displayed on the status bar. This change does not
affect the communication, however, correct the connection destination setting according to the
actual communication route.
When a ladder program whose "Display Connection of Ladder Diagram" setting is set to more than
13 is read from a programmable controller CPU using GX Works2 Version 1.44W or earlier, the
program is displayed as an improper ladder program.
When a project which is written to a programmable controller CPU using the high-speed mode is
read from the programmable controller CPU using GX Works2 Version 1.44W or earlier, the
symbolic information cannot be read.
Language selection
When a project with a condition described as follows is opened in GX Works2 Version 1.44W or
earlier, the operation is not ensured.
A language other than Japanese is selected, and characters other than one-byte characters are
used.
More than two types of two-byte characters are mixed.
Precaution
Open
A project in which multiple devices are selected in the device/label automatic-assign setting cannot
be opened in GX Works2 Version 1.49B or earlier.
When a project which contains QJ71MT91 or QJ71MB91 is opened in GX Works2 Version 1.49B or
earlier, the module becomes a reserved module.
Connection destination
setting
When a project in which the communication route via CC-Link IE Field Network master/local module
is set for LCPU is opened in GX Works2 Version 1.49B or earlier, the communication route is
changed to programmable controller direct coupled setting.
Parameter
When a project in which "CC IE Field (Master Station)" and "CC IE Field (Local Station)" are set in the
network parameter of LCPU is opened in GX Works2 Version 1.49B or earlier, the network
parameters are changed to default settings.
A project in which multiple devices are selected in the device/label automatic-assign setting cannot
be read from a programmable controller CPU in GX Works2 Version 1.49B or earlier.
App - 83
OPERATING
PROGRAMMABLE
CONTROLLER CPU
When a project which contains QD65PD2 or LD77MH16 is opened in GX Works2 Version 1.44W or
earlier, the module becomes a reserved module.
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Open
When a ladder program whose "Display Connection of Ladder Diagram" setting is set to more than
13 is opened in GX Works2 Version 1.44W or earlier, the program is read with the 11 contacts as
the number of displayed contacts.
An FXCPU Simple project (with labels) which contains multiple programs cannot be opened in GX
Works2 Version 1.44W or earlier.
Even when an FXCPU Simple project (with labels) contains only a single program, if the program
data name is not "MAIN", the project cannot be opened in GX Works2 Version 1.44W or earlier.
20
PRINTING
Precaution
21
SETTING OPTIONS
Function
17
A
APPENDIX
INDEX
GX Works2
APPENDIX
Precaution
Open
Structured projects in which the operation to display/hide the left power rail is performed on the
structured ladder/FBD editor cannot be opened in GX Works2 Version 1.55H or earlier.
For FXCPU, a project in which a block password with the validated setting for "Read-protect the
execution program" exists cannot be opened in GX Works2 Version 1.55H or earlier.
Intelligent function
module data
Parameter
When the simple PLC communication setting is set in the PLC parameter of LCPU, the project
cannot be handled in GX Works2 Version 1.55H or earlier.
When the serial communication setting is set in the PLC parameter of QnUD(H)CPU, the project
cannot be handled in GX Works2 Version 1.55H or earlier.
Precaution
Parameter
Projects cannot be handled in GX Works2 Version 1.62Q or earlier when the following parameters
are set.
When "Hub Module" is set for the I/O assignment setting on PLC parameter of LCPU.
Intelligent function
module data
Device comment
For LCPU, when a project in which bit-specified word device comments are set is opened in GX
Works2 Version 1.62Q or earlier, the bit-specified word device comments are deleted.
String patterns are printed as character strings when a project in which string pattern is set to the
header/footer is opened in GX Works2 Version 1.62Q or earlier. Delete the entered string patterns
and set the setting again.
For projects of LCPU, device comment files which contain bit-specified comments cannot be read
from the programmable controller CPU in GX Works2 Version 1.62Q or earlier.
App - 84
Head
FX
FX
This section explains the restrictions applied when saving projects in GX Developer format.
In cases other than those listed below when data cannot be saved, a message is displayed, and saving is
canceled. In such cases, follow the instructions of the message.
GX Works2 data
Deleted.
Comment
Deleted.
Data other than intelligent function module parameters (initial setting, auto
refresh) are deleted.
QD75P1N, QD75P2N, QD75P4N, QD75D1N, QD75D2N, and QD75D4N are
saved as QD75P1, QD75P2, QD75P4, QD75D1, QD75D2, and QD75D4
respectively.
Comment
Deleted.
Label
Data name
A fixed character string (label) is created to combine data into one unit.
Title
Deleted.
Comment
Deleted.
Comment
Remarks
Deleted.
FB instance
Deleted.
Deleted.
Comment
Deleted.
Label*1
Comment
FB instance
Comment
*1
SFC
block*1
Device Comment
Device Memory
21
*2
Deleted .
Deleted.
Comment
FB instance
Deleted*2.
Label
SFC program*1
20
Label
Program
Number of data
Global Label*1
FB*1
Comment
19
PRINTING
Structured Data
Types*1
Comment
SETTING OPTIONS
Intelligent function
module
Comment
Deleted.
Data name
Deleted.
Comment
Comment
Deleted.
Comment
Deleted.
Duplicated devices
APPENDIX
Parameter
Title
18
INDEX
Project
Restrictions
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Appendix 8
*1 :
*2 :
The function block instances created for global labels in GX Works2 are created as local labels in GX Developer. However,
in GX Developer, the function block instances are not displayed on the local label setting screen.
App - 85
GX Works2
APPENDIX
GX Developer
GX Works2
GX Developer
GX Works2
GX Developer
BACOS
BACOS_MD
DGRY
DGRY_M
NDIS
NDIS_M
BAND
BAND_MD
DI
DI_M
NEG
NEG_M
BASIN
BASIN_MD
DINC
DINC_M
NUNI
NUNI_M
BATAN
BATAN_MD
DIS
DIS_M
OUT
OUT_M
BCD
BCD_M
DLIMIT
DLIMIT_MD
PLOW
PLOW_M
BCOS
BCOS_MD
DMAX
DMAX_M
POFF
POFF_M
BDSQR
BDSQR_MD
DMIN
DMIN_M
PSCAN
PSCAN_M
BIN
BIN_M
DNEG
DNEG_M
PSTOP
PSTOP_M
BKAND
BKAND_M
DOR
DOR_M
QCDSET
QCDSET_M
BKBCD
BKBCD_M
DRCL
DRCL_M
QDRSET
QDRSET_M
BKBIN
BKBIN_M
DRCR
DRCR_M
RCL
RCL_M
BKOR
BKOR_M
DROL
DROL_M
RCR
RCR_M
BKRST
BKRST_M
DROR
DROR_M
RFS
RFS_M
BKXNR
BKXNR_M
DSER
DSER_M
RND
RND_M
BKXOR
BKXOR_M
DSFL
DSFL_M
RSET
RSET_MD
BMOV
BMOV_M
DSFR
DSFR_M
RST
RST_M
BRST
BRST_M
DSORT
DSORT_M
SECOND
SECOND_M
BSET
BSET_M
DSUM
DSUM_M
SEG
SEG_M
BSFL
BSFL_M
DTEST
DTEST_MD
SER
SER_M
BSFR
BSFR_M
DTO
DTO_M
SET
SET_M
BSIN
BSIN_MD
DWSUM
DWSUM_M
SFL
SFL_M
BSQR
BSQR_MD
DXCH
DXCH_M
SFR
SFR_M
SFT_M
BTAN
BTAN_MD
DXNR
DXNR_M
SFT
BTOW
BTOW_MD
DXOR
DXOR_M
SORT
SORT_M
BXCH
BXCH_M
DZONE
DZONE_MD
SRND
SRND_M
CML
CML_M
EI
EI_M
STOP
STOP_M
COM
COM_M
EMOD
EMOD_M
SUM
SUM_M
DATERD
DATERD_MD
ENCO
ENCO_M
SWAP
SWAP_MD
DATEWR
DATEWR_MD
ENEG
ENEG_M
TEST
TEST_MD
DBAND
DBAND_MD
EREXP
EREXP_M
UNI
UNI_M
DBCD
DBCD_M
ESTR
ESTR_M
WAND
WAND_M
DBIN
DBIN_M
EVAL
EVAL_M
WDT
WDT_M
DBL
DBL_M
FLT
FLT_M
WOR
WOR_M
DCML
DCML_M
FMOV
FMOV_M
WSUM
WSUM_M
DDEC
DDEC_M
FROM
FROM_M
WTOB
WTOB_MD
DEC
DEC_M
GBIN
GBIN_M
WXNR
WXNR_M
DECO
DECO_M
GRY
GRY_M
WXOR
WXOR_M
DELTA
DELTA_M
HOUR
HOUR_M
XCH
XCH_M
DFLT
DFLT_M
INC
INC_M
ZONE
ZONE_MD
DFRO
DFRO_M
MIDR
MIDR_M
DGBIN
DGBIN_M
MIDW
MIDW_M
App - 86
Appendix 9 Character Strings that cannot be Used for Label Names and Data Names
Head
FX
Character strings used for application function names, common instruction names, special instruction names,
instructions and so on are called reserved words.
These reserved words cannot be used for label names or data names. If the character string defined as a
reserved word is used for a label name or data name, an error occurs during registration or compilation.
The following tables shows character strings that cannot be used for label names or data names.
The numbers from 1 to 9 in the tables indicate the following label names and data names.
<Label name and data name>
1 Project file name
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Character Strings that cannot be Used for Label Names and Data Names
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Appendix 9
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
20
9 Label name
Character string
recognized as device
(Device name +
Numeral)
ST operator
U*1
U*1
X, Y, D, M, T, B, C, F, L, P, V, Z, W, I, N, U, J, K, H, E, A, SD,
SM, SW, SB, FX, FY, DX, DY, FD, TR, BL, SG, VD, ZR, ZZ*2
Such as X0
U*3
NOT, MOD
U*1
(, ), -
SETTING OPTIONS
21
App - 87
APPENDIX
Data type
INDEX
Class identifier
Character string
PRINTING
GX Works2
APPENDIX
Character string
LD, LDN, ST, STN, S, S1, R, R1, AND, ANDN, OR, ORN,
XOR, XORN, ADD, SUB, MUL, DIV, GT, GE, EQ, NE, LE, LT,
JMP, JMPC, JMPCN, CAL, CALC, CALCN, RET, RETC,
RETCN
LDI, LDP, LDF, ANI, ANDP, ANDF, ANB, ORI, ORP, ORF,
ORB, MPS, MRD, MPP, INV, MEP, MEF, EGP, EGF, OUT(H),
SET, RST, PLS, PLF, FF, DELTA(P), SFT(P), MC, MCR,
STOP, PAGE, NOP, NOPLF
U*1
U*1
U*1
IL operator
SFC instruction
ST code body
Function name in
application function
Function block name Function block names in application functions such as CTD,
in application function CTU
/, \, *, ?, <, >, |, ", :, [, ], ,, =, +, %, ', ~, @, {, }, &, ^, ., ', tab
character
Symbol
U*1
!, #, $, `
Date and time literal
Others
Such as K1AAA
Such as %IX0
Statement in ladder
language
;FB BLK START, ;FB START, ;FB END, ;FB BLK END, ;FB
IN, ;FB OUT, ;FB_NAME;,INSTANCE_NAME,
;FB, ;INSTANCE
Common instruction
Such as MOV
U*3
Address
Windows reserved
word
App - 88
Appendix 9 Character Strings that cannot be Used for Label Names and Data Names
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
*1 :
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
For label names and instance names, the same name as the one used for data name of task,
structure, POU and the like cannot be used.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
PRINTING
20
SETTING OPTIONS
21
APPENDIX
INDEX
App - 89
GX Works2
APPENDIX
Head
FX
The following explains the restrictions applied when changing a programmable controller series or type.
For the restrictions applied when changing a programmable controller type between QCPU (Q mode) and
LCPU, refer to Appendix 10.1 and the following table.
For the restrictions applied when changing a programmable controller type between QCPU (Q mode)/LCPU
and communication head module, refer to Appendix 10.8.
For the restrictions applied when changing a programmable controller type of FXCPU, refer to Appendix 10.9.
New programmable controller type
Old
programmable
controller type
Basic model
QCPU
High
Performance
model QCPU
QnUD(H)CPU
Q00U,
Q00UJ,
Q01U,
Q02U
Built-in
Ethernet port
QCPU
LCPU
Basic model
QCPU
Table App.10.7-1
Table App.10.3-1
Table App.10.4-3
Table App.10.7-6
Table App.10.3-5
High
Performance
model QCPU
Table App.10.6-1
Table App.10.6-2
Table App.10.7-1
Table App.10.3-1
Table App.10.4-1
Table App.10.7-2
Table App.10.3-2
QnUD(H)CPU
Table App.10.6-1
Table App.10.5-1
Table App.10.6-3
Q00U,
Q00UJ,
Q01U,
Q02U
Built-in
Ethernet port
QCPU
LCPU
App - 90
Table App.10.2-1
Table App.10.3-1
Table App.10.3-3
Table App.10.7-1
Table App.10.7-3
Table App.10.7-1
Table App.10.6-1
Table App.10.5-1 Table App.10.2-2 Table App.10.3-1 Table App.10.4-2
Table App.10.7-4
Table App.10.6-3
Table App.10.3-1
Table App.10.6-1
Table App.10.5-1 Table App.10.2-3
Table App.10.3-4
Table App.10.6-3
Table App.10.7-1
Table App.10.7-5
Table App.10.3-1
Table App.10.6-1
Table App.10.4-4 Table App.10.7-1
Table App.10.5-3 Table App.10.2-5
Table App.10.3-6
Table App.10.6-4
The following table shows the common restrictions applied when changing a programmable controller
series or type.
U: With restrictions
Project type
Simple project
Without
labels
With
labels
Struct
ured
project
Compilation status
Password/Keyword status
Program
PLC Parameter
Network Parameter
Ladder language
Structured ladder/FBD
language
Library
Global Device Comment
Local Device Comment
Device Memory
20
PRINTING
Connection destination
setting
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
21
SETTING OPTIONS
Restrictions
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
Table App.10.1-1
Item
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
A
APPENDIX
INDEX
App - 91
GX Works2
APPENDIX
Structured
project
Without
labels
With
labels
PLC System
Program
Boot File
Program
SFC language
PLC Parameter
Restrictions
Simple project
Restrictions
Simple project
Structured
project
Without
labels
With
labels
Program
Remote Password
App - 92
U: With restrictions
Project type
Only the settings of Built-in Ethernet port QCPU are cleared. (The
settings of QJ71E71 and QJ71C24/CMO are not cleared.)
Simple project
Without
labels
With
labels
Structured
project
U
19
Table App.10.2-4
U: With restrictions
Project type
Item
Restrictions
Simple project
Without
labels
With
labels
Structured
project
Program
PLC Parameter
PLC File
Boot File
18
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Remote Password
Restrictions
20
PRINTING
Item
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Table App.10.2-3
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
21
U
SETTING OPTIONS
Table App.10.2-5
Project type
Restrictions
Structured
project
Without
labels
With
labels
Remote Password
Network Parameter
If the number of modules is one and "Start I/O No." is outside the
range, its maximum value is set. If the number of modules is two,
"Start I/O No." is set starting from 0000.
CC-Link IE Field
Network
App - 93
INDEX
Item
Simple project
APPENDIX
U: With restrictions
GX Works2
APPENDIX
Remote Password
Structured
project
Without
labels
With
labels
I/O Assignment
Multiple CPU
MELSECNET/
10(H), CC-Link IE
Controller
Network
When changing to Q02U, the third and later modules out of total of
MELSECNET/10(H) and CC-Link IE Controller Network modules
are deleted.
When changing to Q00UJ/Q00U/Q01U, the second and later
modules out of total of MELSECNET/10(H) and CC-Link IE
Controller Network modules are deleted.
CC-Link
When changing to Q02U, the fifth and later modules are deleted.
When changing to Q00UJ/Q00U/Q01U, the third and later modules
are deleted.
Ethernet
When changing to Q02U, the third and later Ethernet modules in the
module settings are deleted.
When changing to Q00UJ/Q00U/Q01U, the second and later
Ethernet modules in the module setting are deleted.
PLC Parameter
Network Parameter
App - 94
Restrictions
Simple project
U: With restrictions
Project type
Item
Restrictions
Simple project
Structured
project
Without
labels
With
labels
PLC System
Program
Boot File
Program
SFC language
PLC Parameter
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Table App.10.3-2
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
20
Table App.10.3-3
U: With restrictions
Item
Restrictions
Without
labels
With
labels
Structured
project
Program
PLC Parameter
PLC File
Program
Device
SETTING OPTIONS
21
Project type
Simple project
PRINTING
A
APPENDIX
INDEX
App - 95
GX Works2
APPENDIX
Restrictions
Simple project
Without
labels
With
labels
Structured
project
Program
PLC Parameter
PLC System
PLC File
Program
Device
PLC Parameter
PLC File
Device/Label
Automatic-Assign
Setting
App - 96
Restrictions
Simple project
Structured
project
Without
labels
With
labels
When changing from Q00 or Q01 to other than Q00UJ, "Use the
following file" is selected and "Corresponding Memory: Standard
RAM", "File Name: MAIN", and "Capacity: 64K Points" are set in
the File Register setting.
When changing from Q00 or Q01 to Q00UJ, "Not Used" is selected
in the File Register setting
Item
Restrictions
Simple project
Structured
project
Without
labels
With
labels
Remote Password
PLC Parameter
PLC System
PLC File
PLC RAS
CC-Link IE Field
Network
If the number of modules is one and "Start I/O No." is outside the
range, its maximum value is set. If the number of modules is two,
"Start I/O No." is set starting from 0000.
CC-Link
19
20
SETTING OPTIONS
21
APPENDIX
INDEX
Network Parameter
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
U: With restrictions
Project type
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Table App.10.3-6
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
PRINTING
App - 97
GX Works2
APPENDIX
Simple project
Structured
project
Without
labels
With
labels
PLC System
Program
Boot File
Program
SFC language
PLC Parameter
Restrictions
Restrictions
Simple project
Structured
project
Without
labels
With
labels
Program
Remote Password
App - 98
Table App.10.4-3
U: With restrictions
Project type
Item
Restrictions
Simple project
Without
labels
With
labels
Structured
project
PLC Parameter
PLC File
18
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Program
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
20
Remote Password
Restrictions
Simple project
Without
labels
With
labels
Structured
project
CC-Link
CC-Link IE Field
Network
If the number of modules is one and "Start I/O No." is outside the
range, its maximum value is set. If the number of modules is two,
"Start I/O No." is set starting from 0000.
APPENDIX
INDEX
Network Parameter
21
SETTING OPTIONS
Item
PRINTING
Project type
App - 99
GX Works2
APPENDIX
Restrictions
Simple project
Structured
project
Without
labels
With
labels
Program
Device comment
PLC Parameter
PLC System
PLC File
Program
Device
Network Parameter
App - 100
MELSECNET/10(H)
CC-Link IE Controller
Network
Ethernet
Table App.10.5-2
U: With restrictions
Project type
Item
PLC Parameter
PLC File
Restrictions
Simple project
Structured
project
Without
labels
With
labels
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Without
labels
With
labels
Structured
project
20
Remote Password
PLC Parameter
21
CC-Link
A
APPENDIX
Network Parameter
INDEX
Boot File
SETTING OPTIONS
Device comment
PRINTING
Item
Simple project
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
App - 101
GX Works2
APPENDIX
Restrictions
Simple project
Without
labels
With
labels
Structured
project
Program
If the name of the device initial value data is other than 'MAIN', the
file is deleted.
If the setting exceeds the editable range of device initial values in
the changed programmable controller type, the exceeding range is
deleted.
Global Device
Comment
Remote Password
PLC Parameter
PLC File
Device/Label
Automatic-Assign
Setting
App - 102
If an item other than "Not Used" is set in the initial device value
setting, it is changed to "Used".
If the Device setting or the setting for the file register capacity in the
PLC File setting in the PLC parameter is changed, the default value
is set.
Simple project
Structured
project
Without
labels
With
labels
PLC System
The setting values of "Fixed Scan Interval" are rounded out to the
one in "System Interrupt Settings".
Boot File
Ladder language
SFC language
PLC Parameter
Table App.10.6-3
U: With restrictions
Project type
Item
Restrictions
Simple project
Structured
project
Without
labels
With
labels
Device comment
PLC Parameter
PLC System
Boot File
Device
Program
Ladder language
SFC language
19
20
PRINTING
18
App - 103
21
SETTING OPTIONS
Program
Restrictions
A
APPENDIX
Item
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
U: With restrictions
Project type
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Table App.10.6-2
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
INDEX
GX Works2
APPENDIX
Restrictions
Simple project
Without
labels
With
labels
Structured
project
Device comment
PLC Parameter
PLC System
Network Parameter
CC-Link
App - 104
The following tables show the restrictions applied when changing a programmable controller series/
type to LCPU.
Simple project
Structured
project
Without
labels
With
labels
PLC System
PLC File
If "Use the same file name as the program" is set in the file register
setting, it is changed to "Not Used".
If an item other than "Memory Card (ROM)" and "Standard ROM" is
set to "Corresponding Memory" in the comment file used in a
comment setting, it is changed to "Memory Card (SD)".
If "Memory Card (RAM)" is set to "Corresponding Memory" in the
initial device value setting, it is changed to "Memory Card (SD)".
Program
Device
If the capacity of the file register setting is outside the range, the
Device setting is set to default. In this case, all extended device
points are assigned to file registers.
If the Device setting or the setting for the file register capacity in the
PLC File setting in the PLC parameter is changed, the default value
is set.
PLC Parameter
Network Parameter
CC-Link
Device/Label
Automatic-Assign
Setting
19
20
21
Restrictions
Simple project
With
labels
Remote Password
PLC Parameter
Structured
project
Without
labels
Boot File
APPENDIX
Restrictions
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Item
PRINTING
U: With restrictions
Project type
SETTING OPTIONS
Table App.10.7-1
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
App - 105
INDEX
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
GX Works2
APPENDIX
Restrictions
Simple project
Structured
project
Without
labels
With
labels
Remote Password
PLC Parameter
Boot File
Device
If the number of modules is one and "Start I/O No." is outside the
range, its maximum value is set. If the number of modules is two,
"Start I/O No." is set starting from 0000.
Network Parameter
CC-Link IE Field
Network
Restrictions
Simple project
Structured
project
Without
labels
With
labels
Remote Password
PLC Parameter
Boot File
Device
If the number of modules is one and "Start I/O No." is outside the
range, its maximum value is set. If the number of modules is two,
"Start I/O No." is set starting from 0000.
Network Parameter
CC-Link IE Field
Network
App - 106
Restrictions
Simple project
Structured
project
With
labels
Remote Password
PLC Parameter
PLC System
Boot File
Device
If the number of modules is one and "Start I/O No." is outside the
range, its maximum value is set. If the number of modules is two,
"Start I/O No." is set starting from 0000.
Network Parameter
CC-Link IE Field
Network
U: With restrictions
Project type
Restrictions
Simple project
Without
labels
With
labels
Structured
project
Remote Password
PLC Parameter
20
INDEX
PLC File
19
21
Table App.10.7-6
Item
18
PRINTING
Without
labels
SETTING OPTIONS
Item
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
U: With restrictions
Project type
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Table App.10.7-5
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
APPENDIX
App - 107
GX Works2
APPENDIX
Restrictions
Simple project
Structured
project
Without
labels
With
labels
Remote Password
PLC Parameter,
Network Parameter
Program
Device Comment
Device Memory
Device Initial Value
Restrictions
Simple project
Without
labels
With
labels
Structured
project
Remote Password
PLC Parameter,
Network Parameter
App - 108
Appendix 10.8 Restrictions when changing between QCPU (Q mode)/LCPU and communication head module
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
U: With restrictions
Project type
Restrictions
Simple project
Structured
project
Without
labels
With
labels
Devices not supported and these outside the range are deleted.
PLC Parameter
System label
Block password
Program
Ladder language
Global Device Comment
Local Device Comment
Device Initial Value
19
20
PRINTING
Item
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Table App.10.9-1
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
The following tables show the restrictions applied when changing FXCPU to FXCPU.
SETTING OPTIONS
21
APPENDIX
INDEX
App - 109
GX Works2
APPENDIX
Head
FX
This section shows the lists of instructions which are converted based on checking/clearing the "Convert
motion dedicated sequence instruction" check box when the programmable controller type of a Simple project
(without label) is changed.
Motion dedicated
instruction
App - 110
Cleared
D(P).SFCS
S(P).SFCS
S(P).SVST
D(P).SVST
S(P).SVST
S(P).CHGV
D(P).CHGV
S(P).CHGV
S(P).CHGT
D(P).CHGT
S(P).CHGT
S(P).CHGA
D(P).CHGA
S(P).CHGA
S(P).DDWR
D(P).DDWR
S(P).DDWR
S(P).DDRD
D(P).DDRD
S(P).DDRD
S(P).GINT
D(P).GINT
S(P).GINT
Checked
Cleared
D(P).SFCS
S(P).SFCS
*1
SM1255
D(P).SVST
S(P).SVST*2
SM1255
D(P).CHGV
S(P).CHGV*2
SM1255
D(P).CHGT
*2
SM1255
S(P).CHGT
D(P).CHGA
*2
S(P).CHGA
SM1255
D(P).DDWR
S(P).DDWR*3
SM1255
D(P).DDRD
S(P).DDRD*3
SM1255
D(P).GINT
S(P).GINT*4
SM1255
*1 :
When the number of arguments is 2, correct the arguments after the programmable controller
type is changed.
*2 :
When the number of arguments is 3, correct the arguments after the programmable controller
type is changed.
*3 :
When a character string is used in an argument, correct the argument after the programmable
controller type is changed.
*4 :
When the number of arguments is 3 or more, correct the arguments after the programmable
controller type is changed.
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Motion dedicated
instruction
After conversion
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Before conversion
20
PRINTING
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
SETTING OPTIONS
21
APPENDIX
INDEX
App - 111
GX Works2
APPENDIX
Head
FX
Version
Version 1.05F
Description
Reference
Programmable controller
type
Q68TD-G-H02 is supported.
Section 4.2.8
Verify
Section 4.2.7
Section 4.6.5
Section 12.2
Section 6.1.1
Section 6.2.1
Parameter
Ladder
Version 1.08J
(Structured)
(Simple)
Structured ladder
Monitoring
Debugging
(Structured)
Section 14.4
Section 14.5
Section 14.7
Section 16.2
Section 16.3
System monitor
App - 112
Section 18.5
Section 18.7
Section 3.2.8
Parameter
Section 6.1.1
Programmable controller
type
Programming language
Project type
Navigation window
(Simple)
Section 4.2.8
Saving projects
Section 4.2.4
Chapter 20
Parameter
Section 6.1.1
Program editor
Version 1.12N
Ladder
20
21
(Simple)
The SFC editor window and the Zoom editor window can be
displayed vertically at opening the SFC window.
An SFC block can be displayed automatically at auto scroll
monitoring.
ST
Structured ladder
Find/Replace
Section 10.3
Section 7.2.3
Section 7.2.4
Write to PLC
Section 12.1
Section 12.10
Device Memory
19
PRINTING
18
SETTING OPTIONS
Version 1.08J
OPERATING
PROGRAMMABLE
CONTROLLER CPU
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
17
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Reference
(Structured)
APPENDIX
Description
(Simple)
App - 113
INDEX
Major function
added/changed
Version
GX Works2
APPENDIX
Major function
added/changed
Version
Monitoring
Simulation function
Description
Detailed information of an error etc. can be confirmed from the
Intelligent Function Module Monitor screen.
Section 14.7
Section 15.2
Section 15.2.1
Section 15.2.2
Version 1.12N
Reference
Chapter 19
Section 16.5
CC-Link IE Control
Diagnostics
Section 18.3
CC-Link /
CC-Link/LT Diagnostics
Section 18.5
System monitor
Section 18.7
Section 3.2.8
(Intelligent)
Parameter
Section 6.1
Transfer setting
ST
Version 1.15R
Structured ladder
Section 11.8.1
(Structured)
Version 1.24A
App - 114
(Simple)
(Structured)
Global label
Programmable controller
type
Ladder
ST
Structured ladder
Saving projects
Section 4.2.3
Device List
Section 10.2
(Intelligent)
Section 4.2.7
Section 4.6
Section 10.3.3
(Simple)
(Structured)
Chapter 12
Simulation function
Chapter 15
Chapter 19
Appendix 2
Help
Programmable controller
type
Ladder
SFC
The display format "MELSAP-L (Instruction Format)" / "MELSAPL (Start Conditions Format)" are supported.
Global labels
Parameter
Section 6.2
(Intelligent)
Cross Reference
Section 10.1
Section 12.12
CC IE Field Diagnostics
Section 18.4
Options
Operating environment
Windows 7 is supported.
Programmable controller
type
Section 17.7
Label
The Read from CSV File and Write to CSV File functions are
supported.
(Simple)
(Structured)
Device comment
Ladder
(Intelligent)
Section 3.4.2
(Intelligent)
(Simple)
(Simple)
(Structured)
18
19
20
PRINTING
Section 4.2.8
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Write to PLC
Section 12.1.6
Section 12.2
(Simple)
(Structured)
Section 9.2.1
Section 12.1.3
(Simple)
Section 14.6.2
App - 115
21
SETTING OPTIONS
Version 1.31H
Section 3.2.7
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
17
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Version 1.24A
Version 1.40S
Reference
A
APPENDIX
Description
INDEX
Major function
added/changed
Version
GX Works2
APPENDIX
Major function
added/changed
Version
Description
SFC
ST
(Structured)
(Structured)
(Structured)
Structured ladder
A compilation error does not occur when the same name is used
for label name and data name.
Compile
Section 21.2
Section 4.2.2
Section 4.7.1
Verification
Section 4.2.7
Section 4.6.5
Section 12.2
Parameter
Cross Reference
Find/Replace
App - 116
(Simple)
Version 1.40S
Version 1.48A
Reference
Section 10.1
The focus is not moved to the editor side after executing the
search/replace function.
Section 10.3.1
Section 10.3.2
Section 10.3.3
Section 10.3.4
Section 10.3.1
Section 10.3
Section 12.9.1
Simulation function
Section 12.12
Global label
(Simple)
(Structured)
(Intelligent)
Navigation window
Section 3.2.5
The secured steps for Online program change and the writing
range of device comment set in GX Developer can be utilized.
Section 4.6.1
Section 11.8.1
Section 11.8.2
Device comment
Section 9.4.2
Ladder
Verify
Section 4.2.7
Section 20.8.1
The print preview and the print functions are supported on the
Device List screen.
Section 20.9
Section 20.7
Cross reference
Section 10.1
Write to PLC/Online
program change
Section 12.1.5
Watch window
Section 14.6.2
Section 14.6.4
PLC diagnostics
Section 18.1
Language selection
19
20
21
(Intelligent)
Section 3.3
Appendix 17
A
APPENDIX
Version 1.48A
18
INDEX
(Simple)
OPERATING
PROGRAMMABLE
CONTROLLER CPU
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Transfer setting
Section 2.2
Section 2.3
Section 11.1
17
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Reference
PRINTING
Description
SETTING OPTIONS
Major function
added/changed
Version
App - 117
GX Works2
APPENDIX
Major function
added/changed
Version
Incorporation with GX
Developer
Reference
Appendix 13
Section 4.2.1
Section 4.2.2
Section 4.7.1
(Intelligent)
SFC
Structured ladder
(Structure)
Chapter 20
Ladder
Print
Version 1.53F
Description
Parameter
Search/Replace
The print preview and the print functions are supported on the
Cross Reference screen.
Section 10.1
Section 6.2
Section 10.3
Section 16.6
LJ71GF11-T2 is supported.
CC IE Field Diagnostics
(Simple)
(Structure)
Language selection
Project
(Intelligent)
Comment
Section 21.2
Device comment
Section 9.2.2
Version 1.62Q
App - 118
Section 18.4
Section 4.2.3
Section 4.2
(Simple)
(Structure)
Version 1.62Q
(Simple)
(Structure)
20
Chapter 20
21
Section 6.1
Section 6.1.1
Search/Replace
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
SFC
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
PRINTING
The initial value for the Enter HLine screen and the Delete HLine
screen can be set to "1".
Section 10.2
SETTING OPTIONS
Ladder
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Reference
Section 10.3
(Simple)
Section 12.1
CC IE Field Diagnostics
Section 18.4
Block password
Section 4.11
(Intelligent)
Help
Section 3.4
App - 119
APPENDIX
Description
INDEX
Major function
added/changed
Version
GX Works2
APPENDIX
Major function
added/changed
Version
Version 1.64S
App - 120
Description
Reference
Product Makeup
Operation Environment
GX Works2
Installation
Instructions
(Intelligent)
Chapter 20
Parameter
(Intelligent)
Device comment
Section 9.2.1
Section 12.1.3
Transfer setting
Section 11.9
Verify
Section 4.2.7
Section 4.6.5
Section 12.2
System monitor
Section 18.7
Section 6.1.1
Head
FX
For programmable controller types which are not supported in GX Works2 (CPUs such as ACPU, QnACPU,
Process CPU, Redundant CPU, and Safety CPU), use GX Developer.
When GX Developer Version 8.95Z or later is installed, and a new project is created in GX Works2 with a
selection of an unsupported programmable controller type, GX Developer starts automatically and a new
project is created. (
Section 4.2.1)
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Operating procedure
1.
20
PRINTING
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
SETTING OPTIONS
21
Click the
App - 121
INDEX
2.
APPENDIX
GX Works2
APPENDIX
Operating procedure
Operating procedure
1.
Change the programmable controller type of the project from ACPU to QCPU (Q
mode) with GX Developer.
To change the programmable controller type, select [Project] [Change PLC type].
2.
3.
With GX Works2, read the project for QCPU (Q mode) created with GX Developer.
To read a GX Developer project with GX Works2, select [Project] [Open Other Data] [Open
Other Project]. (
App - 122
Section 4.7.1)
Head
FX
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
At the first installation of a MELSOFT product, the following screen may be displayed during
installation. To continue the installation, click the
button on the Software Installation
screen. (We have checked the operation and assured that the system operates without any problems
by performing this procedure.)
+
PRINTING
20
SETTING OPTIONS
21
APPENDIX
INDEX
The Software Installation screen may be displayed behind another screen. Press the
keys to bring it to the front.
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
App - 123
GX Works2
APPENDIX
When the installation of a MELSOFT product or another software is not completed correctly, the
following screen is displayed and the installation cannot continue unless the personal computer is
restarted.
In this case, restart the personal computer and start the installation again.
App - 124
When installing on Windows Vista, the following screen may be displayed after the completion of the
installation. In this case, select "This program installed correctly" and restart the personal computer.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
When "Reinstall using recommended settings" is erroneously selected, the Windows XP SP2
compatibility mode is automatically set. Disable the Windows XP SP2 compatibility mode by following
the procedure described below, and perform the reinstallation.
Operating procedure
1.
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
20
2.
Click the
<<Compatibility>> tab.
3.
PRINTING
button on the
SETTING OPTIONS
21
Click the
button.
INDEX
4.
button.
APPENDIX
App - 125
GX Works2
APPENDIX
Operating procedure
1.
Connect the personal computer and the programmable controller CPU with a USB
cable, and then turn on the programmable controller CPU.
2.
The Found New Hardware Wizard screen is displayed. Select "Specify a location".
3.
Click the
button and set "Easysocket\USBdrivers" in the folder where GX
Works2 has been installed to "Copy manufacturer's files from:", and then click the
button. If multiple MELSOFT products are installed previously, refer to
their installed location.
App - 126
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
Connect the personal computer and the programmable controller CPU with a USB
cable, and then turn on the programmable controller CPU.
2.
The Found New Hardware Wizard screen is displayed. Select "Install from a list or
specific location (Advanced)".
3.
Select "Search for the best driver in these locations" on the displayed screen.
Check "Include this location in the search", and then set "Easysocket\USBdrivers"
in the folder where GX Works2 has been installed. If multiple MELSOFT products
are installed previously, refer to their installed location.
20
PRINTING
1.
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
Operating procedure
A
APPENDIX
If the USB driver cannot be installed, confirm the following Windows settings.
If "Block - Never install unsigned driver software" is selected under [Control Panel] - [System] - [Hardware] [Driver Signing], the USB driver may not be installed.
Select "Ignore - Install the software anyway and don't ask for my approval", or "Warn - Prompt me each time to
choose an action" in [Driver Signing], and execute the USB driver installation.
SETTING OPTIONS
21
INDEX
App - 127
GX Works2
APPENDIX
Operating procedure
1.
Connect the personal computer and the programmable controller CPU with a USB
cable, and then turn on the programmable controller CPU.
2.
The Found New Hardware screen is displayed. Select "Locate and install driver
software (recommended)".
3.
Select "Browse my computer for driver software (advanced)" on the Found New
Hardware screen.
4.
App - 128
17
OPERATING
PROGRAMMABLE
CONTROLLER CPU
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
Connect the personal computer and the programmable controller CPU with a USB
cable, and then turn on the programmable controller CPU.
2.
From Windows Control Panel, select [System and Security] - [Device Manager].
Right-click "Unknown device" and click "Update Driver Software".
3.
The Update Driver Software screen is displayed. Select "Browse my computer for
driver software" and specify "Easysocket\USBdrivers" in the folder where GX
Works2 has been installed on the displayed screen. If multiple MELSOFT products
are installed previously, refer to their installed location.
20
21
SETTING OPTIONS
1.
PRINTING
Operating procedure
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
19
APPENDIX
INDEX
App - 129
GX Works2
APPENDIX
Appendix 16
Head
FX
This section explains the precautions when using project data, which is created in Japanese version of
GX Works2, in English version of GX Works2.
Refer to the precautions described in this section when using Japanese version of GX Works2 Version
1.42U or earlier, or English version of GX Works2 Version 1.44W or earlier.
Note that, however, project data created in Japanese version of GX Works2 Version 1.45X or later
which satisfy the following conditions can be used in English version of GX Works2 Version 1.48A or
later.
Data names listed in the section 'Section Appendix 16.1' match with the project language selected for
the "Language Selection" function.
The font of the project language selected for the "Language Selection" function is installed in the
operating system.
Use the programmable controller types applicable to English version of GX Works2 when using project
data created in Japanese version of GX Works2 in English version of GX Works2.
Project
Project revision
App - 130
Data name
Changeable/
unchangeable
project language
Workspace name
Property (Title/Comment)
Appendix 16.1 Data to which double byte character and half-width Japanese kana character are applicable
Changeable/
unchangeable
project language
Program name
Ladder, ST, Structured ladder/FBD, SFC (Zoom)
Statement/Note/Comment/Label name
FB instance name
Parameter
Property (Title/Comment)
Intelligent function module data
Device comment
Device memory
Device initial value
Device comment
Property (Title/Comment)
Comment
OPERATING
PROGRAMMABLE
CONTROLLER CPU
Program
Data name
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Item
17
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
: Unchangeable -: Changeable
20
Data type
Comment
Remark
Program name
Comment
User library
(Structured project)
Intelligent function module tool
QD75/LD75 positioning module
Manufacturer/Model/Protocol name/Packet
name/Element name
(Predefined protocol support function)
File name
Title
Title
Title
Appendix 16.1 Data to which double byte character and half-width Japanese kana character are applicable
21
App - 131
APPENDIX
FB/FUN
SETTING OPTIONS
Constant value
INDEX
PRINTING
Label name
GX Works2
APPENDIX
: Unchangeable -: Changeable
Item
App - 132
Data name
Changeable/
unchangeable
project language
PLC diagnostics
Appendix 16.1 Data to which double byte character and half-width Japanese kana character are applicable
Item
Changeable/
unchangeable
project language
Data name
Label
Comment
Title Setting
File Register
File Name
File Name
File Name
File Name
PLC RAS
Breakdown History
File Name
Boot File
Data Name
PLC Name
PLC System
PLC File
Program
I/O Assignment
Program Name
I/O Assignment
Type
Base Setting
Model Name
Extension Cable
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
Tab name
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
: Unchangeable -: Changeable
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
20
Parameter Name
Alias
Comment
Parameter Name
Parameter Name
FTP Parameters
Login Name
E-mail Setting
News Setting
CC-Link
Operation Setting
Parameter Name
Item
Positioning Data
Data name
Changeable/
unchangeable
project language
Positioning Comment
Initialization command
Telephone number
Modem Function
Parameter
Message
Comment
Appendix 16.1 Data to which double byte character and half-width Japanese kana character are applicable
App - 133
21
SETTING OPTIONS
Changeable/
unchangeable
project language
Data name
A
APPENDIX
Item
INDEX
Type
PRINTING
: Unchangeable -: Changeable
GX Works2
APPENDIX
Symptom example
The following are examples when using the project data, which is created using double byte character
or half-width Japanese kana character, in the English version of GX Works2.
App - 134
When double byte character or half-width Japanese kana character is set in the statement or label,
they are displayed as garbled characters.
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
When double byte character or half-width Japanese kana character is used in data names of user
library files, data names cannot be displayed and user library cannot be operated.
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
PRINTING
20
When opening saved project data in which double byte character or half-width Japanese kana
character is used in workspace names or project names, the message shown below is displayed
and the workspace cannot be opened.
21
SETTING OPTIONS
APPENDIX
Compilation error
When compiling the project data in which double byte character or half-width Japanese kana
character is used in label names, compilation error occurs and compilation cannot be completed
normally.
INDEX
App - 135
GX Works2
APPENDIX
Head
Item
Windows 2000
Precautions
All characters of the selected language are corrupted
when the language package is not installed.
The operation is ensured for Japanese language only.
OS
Windows XP
Windows Vista
Windows 7
Programmable
File name
controller CPU
App - 136
FX
Function
Project
language
selection
[Verify]
Projects whose project languages are
different are verified.
[Install]
User library which contains characters of
different language is imported to project.
Screens which are opened from the Project view and the
User Library view are closed automatically when a
language is selected. Close all other open screens.
The selected language is applied by reopening the
screens.
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
Precautions
Including fixed characters such as menus, some of the
characters of Japanese and Chinese (simplified
characters) are displayed in smaller size.
20
PRINTING
Font
Item
Korean is selected for project language.
(Regarding the font 'BatangChe' which is
set automatically.)
21
SETTING OPTIONS
Category
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
Simulation function
APPENDIX
*1 :
App - 137
INDEX
GX Works2
APPENDIX
MEMO
App - 138
INDEX
APPENDIX
SETTING OPTIONS
PRINTING
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
INDEX
OPERATING
PROGRAMMABLE
CONTROLLER CPU
17
18
19
20
21
Index - 1
GX Works2
INDEX
[A]
access authority .......................................................... 4-62
Access levels ............................................................... 4-54
accessing a programmable controller CPU ............ 11-2
accessing a programmable controller CPU via GOT
..................................................................................... 11-26
FXCPU ................................................................ 11-28
QCPU (Q mode)/LCPU ......................... 11-27, 11-30
Index - 2
........................................................................................17-5
[L]
L series ........................................................................ A-31
Label Names ........................................................... App-87
label programming ........................................................1-5
ladder editing mode ....................................................9-11
Latch Data Backup ....................................................12-31
LED status ..................................................................18-60
link memory ..................................................................21-6
Link start/stop .............................................................18-29
Local comments ............................................................9-4
local device comment ...................................................9-3
Logging .......................................................................18-31
Logging in projects ......................................................4-61
logs .................................................................. 10-29, 10-31
Loop test .....................................................................18-15
loop test/transmission speed test ...........................18-50
Loopback test .............................................................18-74
[M]
Managing block passwords .......................................4-65
MELSECNET Diagnostics .......................................18-11
module error history collection function ..... 18-84, 18-85
Monitoring Interrupt Program List ...........................14-13
Monitoring line (host station) ...................................18-44
Monitoring Program List ...........................................14-10
Monitoring Value .........................................................21-6
Multiple word ..............................................................10-16
[N]
Navigation window .............................................. 3-4, 3-18
Network .......................................................................18-22
network event history ................................................18-40
Network Parameter .....................................................6-16
CC-Link ..................................................................6-23
CC-Link IE .............................................................6-20
Ethernet .................................................................6-22
MELSECNET/10 ..................................................6-21
MELSECNET/H ....................................................6-21
Remote I/O ............................................................6-22
Network route ...............................................................11-4
Network test ...............................................................18-13
New ...............................................................................4-31
Index - 3
OPERATING
PROGRAMMABLE
CONTROLLER CPU
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
keep .............................................................................19-14
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
18
[K]
20
PRINTING
........................................................................................17-5
21
SETTING OPTIONS
[I]
17
A
APPENDIX
[E]
INDEX
GX Works2
INDEX
number of contacts ..................................................... 21-5
number of scans ........................................................ 19-16
number of scans of timing chart ............................. 19-21
[O]
obtain transmission speed setting .......................... 18-50
Online Program Change ....................... 5-9, 12-37, 12-38
ON/OFF cycle ............................................................ 19-19
Opening existing projects .......................................... 4-11
Opening projects in other formats ............................ 4-48
option (find/replace) ...................................... 10-16, 10-23
Options ......................................................................... 21-2
Other station ................................................................ 11-3
other station information .......................................... 18-23
Other Station (Co-existence Network) ..................... 11-3
Other Station (Single Network) ................................. 11-3
[P]
parameter status ........................................... 18-58, 18-64
Parameter Verify Level ............................................. 12-23
Password ................................................. 13-2, 13-6, 13-12
paste ................................................................... 4-33, 4-34
PC side I/F ................................................................... 11-3
Performing Online program change in units of files
..................................................................................... 12-42
Index - 4
[S]
sample comment ......................................................... 9-13
Sampling Trace ......................................................... 16-13
Saving projects ............................................................ 4-14
Saving projects under the specified name .............. 4-13
Saving the selection status of the files .................... 12-5
secured steps for Online program change .............. 12-6
Security ................................................................4-47, 4-54
Select station network device status display
..........................................................................18-27, 18-36
selected station communication status monitor ... 18-36
selected station error information ........................... 18-45
selected station information .................................... 18-45
send e-mail information ............................................ 18-62
sequence action .......................................................... 19-4
Set Clock .................................................................... 17-10
Setting character strings ............................................ 7-10
Setting Connection Destinations .............................. 11-2
Setting device values by setting device range ......... 7-8
Setting device values in units of points ..................... 7-7
Setting Printer .....................................................20-4, 20-7
Setting verification test ............................................. 18-16
Setting/changing block passwords ........................... 4-66
shortcut keys ..............................................................App-2
Simple project ..............................................................A-33
simulation function ..................................................App-21
[W]
warning .........................................................................21-8
warning codes ..............................................................21-8
Watch ..........................................................................14-14
windows ........................................................................3-14
word .............................................................................10-22
Word Device Setting screen ....................................19-13
work window ...................................................................3-9
Write Device Memory to PLC ....................................7-15
Write PLC User Data ................................................12-27
Write to CSV File .........................................................9-15
Write to PLC .................................................................12-2
Write to PLC (trace data) ............................. 16-25, 16-28
OPERATING
PROGRAMMABLE
CONTROLLER CPU
18
DIAGNOSING
PROGRAMMABLE
CONTROLLER STATUS
19
SIMULATING
OPERATIONS OF
EXTERNAL DEVICES
[V]
17
20
[Extension]
*.DAT ...........................................................................19-22
*.IOS ................................................................ 19-26, 19-29
PRINTING
[T]
21
SETTING OPTIONS
[U]
APPENDIX
INDEX
Index - 5
Microsoft, Windows are registered trademarks of Microsoft Corporation in the United States and other countries.
Ethernet is a trademark of Xerox Corporation.
All other company names and product names used in this manual are trademarks or registered trademarks of their
respective companies.