Sh080779engm PDF
Sh080779engm PDF
Before using this product, thoroughly read this manual and the relevant manuals introduced in this manual
and pay careful attention to safety and handle the products properly.
The precautions given in this manual are concerned with this product. For the safety precautions of the
programmable controller system, refer to the User's Manual for the CPU module.
In this manual, the safety precautions are ranked as " WARNING" and " CAUTION".
Note that the CAUTION level may lead to serious consequences according to the circumstances.
Always follow the precautions of both levels because they are important for personal safety.
Please save this manual to make it accessible when required and always forward it to the end user.
[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
CONDITIONS OF USE FOR THE PRODUCT
(1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or
serious accident; and
ii) where the backup and fail-safe function are systematically or automatically provided outside of the
PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general
industries.
MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT NOT LIMITED
TO ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT, WARRANTY, TORT,
PRODUCT LIABILITY) FOR ANY INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO
PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR USED IN APPLICATION NOT
INTENDED OR EXCLUDED BY INSTRUCTIONS, PRECAUTIONS, OR WARNING CONTAINED IN
MITSUBISHI'S USER, INSTRUCTION AND/OR SAFETY MANUALS, TECHNICAL BULLETINS AND
GUIDELINES FOR the PRODUCT.
("Prohibited Application")
Prohibited Applications include, but not limited to, the use of the PRODUCT in;
Nuclear Power Plants and any other power plants operated by Power companies, and/or any other
cases in which the public could be affected if any problem or fault occurs in the PRODUCT.
Railway companies or Public service purposes, and/or any other cases in which establishment of a
special quality assurance system is required by the Purchaser or End User.
Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as Elevator
and Escalator, Incineration and Fuel devices, Vehicles, Manned transportation, Equipment for
Recreation and Amusement, and Safety devices, handling of Nuclear or Hazardous Materials or
Chemicals, Mining and Drilling, and/or other applications where there is a significant risk of injury to
the public or property.
Notwithstanding the above, restrictions Mitsubishi may in its sole discretion, authorize use of the
PRODUCT in one or more of the Prohibited Applications, provided that the usage of the PRODUCT is
limited only for the specific applications agreed to by Mitsubishi and provided further that no special
quality assurance or fail-safe, redundant or other safety features which exceed the general
specifications of the PRODUCTs are required. For details, please contact the Mitsubishi representative
in your region.
A -2
REVISIONS
The manual number is written at the bottom left of the back cover.
A -3
Print date Manual number Revision
A -4
Print date Manual number Revision
A -5
Print date Manual number Revision
A -6
Print date Manual number Revision
A -7
Print date Manual number Revision
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
1 OVERVIEW 1 - 1 to 1 - 32
2 SYSTEM CONFIGURATION 2 - 1 to 2 - 20
A -9
2.1.10 Function expansion board (special adapter) .............................................................................. 2 - 12
2.1.11 Connection via GOT................................................................................................................... 2 - 12
2.2 Connection from I/F Boards 2 - 13
2.2.1 I/F boards ................................................................................................................................... 2 - 14
2.3 Interfaces and Connectable Modules 2 - 15
4 PROJECT MANAGEMENT 4 - 1 to 4 - 70
A - 10
4.3.4 Deleting project data................................................................................................................... 4 - 34
4.3.5 Merging data............................................................................................................................... 4 - 35
4.3.6 Displaying/editing properties ...................................................................................................... 4 - 38
4.4 Operations of Intelligent Function Module Data 4 - 40
5 EDITING PROGRAMS 5 - 1 to 5 - 10
6 SETTING PARAMETERS 6 - 1 to 6 - 46
A - 11
6.2 Setting Network Parameter 6 - 16
6.2.1 Network parameter item list ....................................................................................................... 6 - 19
6.2.2 Setting station information on CC-Link configuration window .................................................... 6 - 26
6.2.3 Registering profiles .................................................................................................................... 6 - 36
6.2.4 Checking devices assigned to CC-Link modules ....................................................................... 6 - 37
6.3 Setting Remote Password 6 - 41
A - 12
9.3.1 Deleting comment data of all devices......................................................................................... 9 - 12
9.3.2 Deleting comment data of devices being displayed ................................................................... 9 - 12
9.4 Utilizing Sample Comments 9 - 13
9.4.1 Utilizing sample comments of special relays/special registers ................................................... 9 - 13
9.4.2 Utilizing sample comments of intelligent function modules ........................................................ 9 - 14
9.5 Writing/Reading Device Comments to CSV Files 9 - 15
10 SEARCH/REPLACE 10 - 1 to 10 - 32
10.3 Search/Replacement 10 - 15
10.3.1 Searching/replacing devices/labels .......................................................................................... 10 - 16
10.3.2 Searching/replacing instructions............................................................................................... 10 - 21
10.3.3 Searching/replacing character strings ...................................................................................... 10 - 23
10.3.4 Changing contacts between open contact and closed contact................................................. 10 - 25
10.3.5 Batch replacing devices............................................................................................................ 10 - 27
10.3.6 Displaying results and error logs .............................................................................................. 10 - 29
A - 13
11.9.3 Setting options ......................................................................................................................... 11 - 54
11.10 Precautions on Communication with Programmable Controller CPU 11 - 55
12 WRITING/READING DATA 12 - 1 to 12 - 66
A - 14
13.1.2 Canceling password ................................................................................................................... 13 - 4
13.1.3 Unlocking password temporarily................................................................................................. 13 - 5
13.2 Registering/Changing Password (LCPU) 13 - 6
13.2.1 Registering/changing password ................................................................................................. 13 - 6
13.2.2 Canceling password ................................................................................................................... 13 - 9
13.2.3 Unlocking password temporarily............................................................................................... 13 - 10
13.3 Registering/Changing Keyword (FXCPU) 13 - 12
13.3.1 Registering/changing keyword ................................................................................................. 13 - 12
13.3.2 Canceling keyword ................................................................................................................... 13 - 14
13.3.3 Unlocking keyword temporarily................................................................................................. 13 - 15
14 MONITORING 14 - 1 to 14 - 22
15 SIMULATING PROGRAMS 15 - 1 to 15 - 10
16 DEBUGGING PROGRAMS 16 - 1 to 16 - 46
A - 15
16.2 Registering/Canceling Forced Input/Output 16 - 6
16.2.1 Registering/canceling forced input to/output from QCPU (Q mode)/LCPU................................ 16 - 6
16.2.2 Registering/canceling forced input to/output from remote I/O module ....................................... 16 - 8
16.3 Device Test with Execution Condition 16 - 9
16.3.1 Registering device test with execution condition........................................................................ 16 - 9
16.3.2 Checking/disabling registration of device test with execution condition................................... 16 - 11
16.3.3 Batch disabling device test with execution condition ............................................................... 16 - 12
16.4 Sampling Trace 16 - 13
16.4.1 Opening sampling trace screen ............................................................................................... 16 - 13
16.4.2 Setting executing condition of sampling trace.......................................................................... 16 - 14
16.4.3 Registering devices/labels ....................................................................................................... 16 - 17
16.4.4 Executing sampling trace ......................................................................................................... 16 - 20
16.4.5 Saving trace data ..................................................................................................................... 16 - 24
16.4.6 Applicable devices/labels for sampling trace ........................................................................... 16 - 26
16.4.7 Precautions when performing sampling trace .......................................................................... 16 - 28
16.4.8 Compatibility with sampling trace data in GX Developer ......................................................... 16 - 28
16.5 Measuring Scan Time 16 - 29
A - 16
18.1.3 Error icons .................................................................................................................................. 18 - 8
18.1.4 Online operations ....................................................................................................................... 18 - 9
18.2 Diagnosing MELSECNET 18 - 11
18.2.1 Network test.............................................................................................................................. 18 - 13
18.2.2 Loop test................................................................................................................................... 18 - 15
18.2.3 Setting verification test ............................................................................................................. 18 - 16
18.2.4 Station order check test............................................................................................................ 18 - 18
18.2.5 Communication test.................................................................................................................. 18 - 19
18.2.6 Error history monitoring ............................................................................................................ 18 - 21
18.2.7 Network monitor details ............................................................................................................ 18 - 22
18.2.8 Monitoring other station information ......................................................................................... 18 - 23
18.3 Diagnosing CC-Link IE Controller Network 18 - 24
18.3.1 Communication test.................................................................................................................. 18 - 28
18.3.2 Link start/stop ........................................................................................................................... 18 - 29
18.3.3 Logging..................................................................................................................................... 18 - 31
18.4 Diagnosing CC-Link IE Field Network 18 - 33
18.4.1 Communication test.................................................................................................................. 18 - 38
18.4.2 IP communication test .............................................................................................................. 18 - 39
18.4.3 Cable test ................................................................................................................................. 18 - 40
18.4.4 Link start/stop ........................................................................................................................... 18 - 41
18.4.5 Network event history ............................................................................................................... 18 - 42
18.4.6 Reserved station function enable ............................................................................................. 18 - 44
18.4.7 Temporary error invalid station setting/restore ......................................................................... 18 - 45
18.5 Diagnosing CC-Link and CC-Link/LT 18 - 46
18.5.1 Monitoring line (host station/other stations).............................................................................. 18 - 46
18.5.2 Loop test/transmission speed test ............................................................................................ 18 - 52
18.5.3 Displaying logs of station information (status logging) ............................................................. 18 - 54
18.5.4 Creating check sheets .............................................................................................................. 18 - 56
18.5.5 Starting/stopping data link ........................................................................................................ 18 - 58
18.6 Diagnosing Ethernet 18 - 59
18.6.1 Q series-compatible E71 module ............................................................................................. 18 - 59
18.6.2 Built-in Ethernet port QCPU/LCPU connection ........................................................................ 18 - 65
18.6.3 PING test .................................................................................................................................. 18 - 71
18.6.4 Loopback test ........................................................................................................................... 18 - 76
18.7 System Monitor 18 - 80
18.7.1 Checking module's detailed information................................................................................... 18 - 90
18.7.2 Checking details of error history ............................................................................................... 18 - 93
18.8 Changing Modules Online 18 - 96
A - 17
19.1.1 Differences between conventional debugging and debugging with I/O system setting
function....................................................................................................................................... 19 - 2
19.1.2 Conditions and sequence actions for simulation........................................................................ 19 - 4
19.1.3 Timing chart input and device value input.................................................................................. 19 - 6
19.2 Operating Procedure of I/O System Setting Function 19 - 7
20 PRINTING 20 - 1 to 20 - 56
A - 18
20.5.8 Setting batch print for structured ladder/FBD programs ........................................................... 20 - 23
20.5.9 Setting batch print for FB/FUN programs ................................................................................. 20 - 24
20.5.10 Setting batch print for labels ..................................................................................................... 20 - 26
20.5.11 Setting batch print for device comments .................................................................................. 20 - 27
20.5.12 Setting batch print for device memory data .............................................................................. 20 - 29
20.5.13 Setting batch print for device initial values ............................................................................... 20 - 30
20.5.14 Setting batch print for TC setting values................................................................................... 20 - 31
20.5.15 Setting batch print for device list............................................................................................... 20 - 33
20.5.16 Setting batch print for cross reference information................................................................... 20 - 35
20.5.17 Setting batch print for statements/notes ................................................................................... 20 - 36
20.5.18 Setting batch print for product information list .......................................................................... 20 - 37
20.6 Displaying Batch Print Preview 20 - 38
21 SETTING OPTIONS 21 - 1 to 21 - 12
22 USING LIBRARIES 22 - 1 to 22 - 4
22.1 Libraries 22 - 2
22.1.1 FB libraries ................................................................................................................................. 22 - 3
22.1.2 User Libraries ............................................................................................................................. 22 - 4
A - 19
Appendix 2.1 Supported CPU functions.............................................................................................. App - 21
Appendix 2.2 Supported devices ........................................................................................................ App - 24
Appendix 2.3 Supported instructions .................................................................................................. App - 40
Appendix 2.4 Enable/disable setting of parameter items .................................................................... App - 47
Appendix 2.5 Restrictions and precautions......................................................................................... App - 51
Appendix 3 ASCII Code Table App - 56
A - 20
Appendix 10.9 Restrictions when changing to FXCPU (FXCPU FXCPU)......................................App - 113
Appendix 11 Instruction Conversion Lists App - 114
Appendix 13 Procedure to Use GX Works2 Unsupported Programmable Controller Type App - 127
Appendix 13.1 Installing GX Developer...............................................................................................App - 127
Appendix 13.2 Installing GX Developer separately .............................................................................App - 128
Appendix 13.3 Utilizing programs of GX Works2 unsupported programmable controller type in
GX Works2 ..................................................................................................................App - 128
Appendix 14 Precautions on Installation App - 129
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 number
Manual name
(Model code)
2) Structured programming
Manual number
Manual name
(Model code)
A - 22
3) Operation of iQ Works
Manual number
Manual name
(Model code)
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
Purpose of this manual
This manual explains the functions that are common to Simple project and Structured project,
including system configuration, parameter settings, and operation methods for online functions of GX
Works2. Manuals for reference are listed in the following table according to their purpose.
For information such as the contents and number of each manual, refer to the list of 'Related
manuals'.
1) Installation of GX Works2 and USB driver
GX Works2 GX Works2 Version 1
Purpose Installation Operating Manual
Instructions Common
2) Operation of GX Works2
GX Works2 GX Works2 Version 1
Beginner's Manual Operating Manual
Purpose Simple Project Intelligent
Simple Structured Structured
Common Function Function
Project Project Project
Block Module
A - 24
3) Operations in each programming language
For details of instructions used in each programming language, refer to the section 4 and the
section 5 on the following pages.
GX Works2 GX Works2 Version 1
Beginner's Manual Operating Manual
Purpose
Simple Structured Simple Structured
Project Project Project Project
Ladder Details
Outline
Simple *1
SFC Details
Project Outline
ST Details
Outline
Ladder Details
Outline
*1
SFC Details
Outline
Structured
Project
Structured ladder
Details
/FBD Outline
ST Details
Outline
A - 25
4) Details of instructions in each programming language (for QCPU (Q mode)/LCPU)
MELSEC- MELSEC-
Q/L/F Manual for
Structured MELSEC-Q/L Structured Q/L MELSEC-Q/L/QnA module to
Programming Manual Programming Programming Manual
Purpose Programming Manual be used
Manual
and special
registers
Learning the
types and details
of common Details
instructions
Learning the
types and details
of instructions for Details
intelligent
Using function modules
ladder
language Learning the
types and details
of instructions for Details
network modules
Learning the
types and details
of instructions for Details
the PID control
function
Learning details
Using SFC of specifications,
functions, and Details
language instructions of
SFC (MELSAP3)
Learning the
fundamentals for
creating a Details
structured
program
Learning the
types and details
of common Details
instructions
Learning the
types and details
Using of instructions for Details
structured intelligent Outline
network modules
Learning the
types and details
of instructions for Details
the PID control Outline
function
Learning the
types and details
of application Details
functions
A - 26
5) Details of instructions in each programming language (for FXCPU)
MELSEC-
Q/L/F
Structured FXCPU Structured Programming Manual FXCPU Programming Manual
Programming
Purpose Manual
Basic & FX0, FX0S, FX1S, FX1N,
Device & Application FX3G, FX3U,
Fundamentals Applied FX0N, FX1, FX2N, FX1NC,
Common Functions FX3GC, FX3UC
Instruction FXU, FX2C FX2NC
Learning the
types and details
Using of basic/
ladder application
instructions, Details Details Details
language descriptions of
devices and
parameters
Learning details of
Using SFC specifications,
functions, and Details Details Details
language instructions of
SFC
Learning the
fundamentals for
creating a Details
structured
program
Learning the
Using descriptions of
devices,
structured parameters, and
Details
instructions
Learning the
types and details
of application Details
instructions
A - 27
How to read this manual
Supported CPU
Supported programmable
controller CPUs are shown in
icons under the section title.
Screen display
Display contents
Reference location
Section title
Chapter heading
Screen button
Operating procedure
A - 28
The following table explains the CPU module icons that indicate the function availability.
Icon
QCPU Remote Communication Description
LCPU FXCPU
(Q mode) I/O head module
*1 *1
Icons with * (asterisk) symbol indicate that the
- - - corresponding function is available with restrictions
Q CPU L CPU
such as CPU types.
This indicates notes requiring attention or useful functions relating to the information given on the
same page.
Restrictions
This indicates restrictions relating to the information given on the same page.
A - 29
Symbols used in this manual
The following shows the symbols used in this manual with descriptions and examples.
2
3
4
2 Toolbar icon
Keyboard key
A - 30
GENERIC TERMS AND ABBREVIATIONS IN THIS MANUAL
The following are the generic terms/abbreviations of such as software packages and programmable
controller CPUs used in this manual.
Generic term and
Description
abbreviation
GX Works2 Generic product name for SWnDNC-GXW2-E (n: version)
Existing application
Generic product name for SWnD5C-GPPW-E, SWnD5C-GPPW-EA, SWnD5C-GPPW-EV, and
GX Developer SWnD5C-GPPW-EVA
(n: version)
Product name for SWnD5C-MEDOC3
GX IEC Developer
(n: version)
Generic product name for SWnD5C-LLT-E, SWnD5C-LLT-EA, SWnD5C-LLT-EV, and SWnD5C-LLT-
GX Simulator EVA
(n: version)
GX Configurator Generic product name for GX Configurator-AD/DA/SC/CT/TC/TI/FL/PT/AS/QP
Product name for the integrated development environment included in SWnDNC-IQWK (iQ Platform
MELSOFT Navigator compatible engineering environment MELSOFT iQ Works)
(n: version)
iQ Works Abbreviation for iQ platform supporting engineering environment MELSOFT iQ Works
GX Simulator2 Abbreviation for GX Works2 simulation function
Personal computer Generic term for personal computer on which Windows operates
Q series Abbreviation for Mitsubishi programmable controller MELSEC-Q series
L series Abbreviation for Mitsubishi programmable controller MELSEC-L series
FX series Abbreviation for Mitsubishi programmable controller MELSEC-F series
Basic model QCPU Generic term for Q00J, Q00, and Q01
High Performance
Generic term for Q02, Q02H, Q06H, Q12H, and Q25H
model QCPU
Process CPU Generic term for Q02PH, Q06PH, Q12PH, and Q25PH
Redundant CPU Generic term for Q12PRH and Q25PRH
Generic term for Q00UJ, Q00U, Q01U, Q02U, Q03UD, Q03UDE, Q04UDH, Q04UDEH, Q06UDH,
Universal model QCPU 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
Built-in Ethernet port Generic term for Q03UDE, Q04UDEH, Q06UDEH, Q10UDEH, Q13UDEH, Q20UDEH, Q26UDEH,
QCPU Q50UDEH, and Q100UDEH
QCPU (Q mode) Generic term for Basic model QCPU, High Performance model QCPU, and Universal model QCPU
LCPU Generic term for L02, L02-P, L26-BT, and L26-PBT
Generic term for FX0, FX0S, FX0N, FX1, FXU, FX2C, FX1S, FX1N, FX1NC, FX2N, FX2NC, FX3G, FX3GC,
FXCPU
FX3U, and FX3UC
CPU module Generic term for QCPU (Q mode), LCPU, and FXCPU
Display module A module with LCD to be mounted to LCPU
FXGP(WIN) Abbreviation for SW0PC-FXGP/WIN-E
Generic term for QJ71C24, QJ71C24-R2, QJ71C24N, QJ71C24N-R2, QJ71C24N-R4, LJ71C24,
C24
and LJ71C24-R2
Generic term for A2A, A2A-S1, A3A, A2AP21/R21, A2AP21/R21-S1, A3AP21/R21, A2U,
ACPU
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 Generic term for QJ71C24, QJ71C24-R2, QJ71C24N, QJ71C24N-R2, and QJ71C24N-R4
CC-Link IE Controller
Generic term for QJ71GP21-SX and QJ71GP21S-SX
Network module
CC-Link IE Field
Network master/local Generic term for QJ71GF11-T2, LJ71GF11-T2
module
Communication head
Generic term for LJ72GF15-T2
module
CC-Link IE Generic term for CC-Link IE Controller Network and CC-Link IE Field Network
A - 31
Generic term and
Description
abbreviation
MELSECNET/H network Generic term for QJ71LP21, QJ71LP21-25, QJ71LP21S-25, QJ71LP21G, QJ71BR11,
module QJ72LP25-25, QJ72LP25G, QJ72BR15, and QJ71NT11B
QJ72LP25 Generic term for QJ72LP25-25 and QJ72LP25G
Remote I/O module Generic term for QJ72LP25 and QJ72BR15
Ethernet adapter module Generic term for NZ2GF-ETB
Q series-compatible E71 Generic term for QJ71E71-100, QJ71E71-B5, QJ71E71-B2, and QJ71E71
Generic term for AJ71QE71, AJ71QE71-B5, A1SJ71QE71-B2, A1SJ71QE71-B5, AJ71QE71N-T,
QE71 A1SJ71QE71N-T, AJ71QE71N-B5, A1SJ71QE71N-B5, AJ71QE71N-B2, A1SJ71QE71N-B2,
AJ71QE71N-B5T, A1SJ71QE71N-B5T, AJ71QE71N3-T, and A1SJ71QE71N3-T
Generic term for AJ71E71-S3, A1SJ71E71-B2-S3, A1SJ71E71-B5-S3, AJ71E71N-B2, AJ71E71N-
A series-compatible E71 B5T, A1SJ71E71N-B2, A1SJ71E71N-B5T, AJ71E71N-T, A1SJ71E71N-T, AJ71E71N-B5,
A1SJ71E71N-B5, AJ71E71N3-T, and A1SJ71E71N3-T
Ethernet module Generic term for Q series-compatible E71, QE71, and A series-compatible E71
CC-Link module Generic term for QJ61BT11, QJ61BT11N, and LJ61BT11
Q series CC-Link Generic term for QJ61BT11 and QJ61BT11N
CC-Link bridge module Abbreviation for AJ65SBT-CLB CC-Link - CC-Link/LT bridge module
Generic term for AJ65BT-G4(-S3) peripheral connection module and AJ65BT-R2N CC-Link system
G4 module
RS-232 interface module
QA extension base unit Generic term for QA1S65B, QA1S68B, QA65, and QA68B
CC-Link IE Field
Network communication Generic term for GT15-J71GF13-T2
unit
MELSECNET/H board Generic term for Q80BD-J71BR11, Q80BD-J71LP21-25, and Q80BD-J71LP21G
CC-Link IE Controller Generic term for Q80BD-J71GP21-SX and Q80BD-J71GP21S-SX
Network board Abbreviation for CC-Link IE Controller Network interface board
CC-Link IE Field
Abbreviation for Q81BD-J71GF11-T2 CC-Link IE Field Network interface board
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
CC-Link Ver.1 board Generic term for A80BD-J61BT11 and A80BD-J61BT13
CC-Link Ver.2 board Generic term for Q80BD-J61BT11N
Generic term for Mitsubishi Graphic Operation Terminal GOT1000 series, GOT-A900 series, and
GOT
GOT-F900 series
Generic term for Microsoft Windows XP Professional Operating System
Windows XP
and Microsoft Windows XP Home Edition Operating System
Generic term for Microsoft Windows Vista Home Basic Operating System,
Microsoft Windows Vista Home Premium Operating System,
Windows Vista Microsoft Windows Vista Business Operating System,
Microsoft Windows Vista Ultimate Operating System,
and Microsoft Windows Vista Enterprise Operating System
Generic term for Microsoft Windows 7 Starter Operating System,
Microsoft Windows 7 Home Premium Operating System,
Windows 7 Microsoft Windows 7 Professional Operating System,
Microsoft Windows 7 Ultimate Operating System,
and Microsoft Windows 7 Enterprise Operating System
MELSAP3 Abbreviation for the SFC function in MELSAP3 display format
Generic term for the SFC function in MELSAP-L (instruction format) and MELSAP-L (start conditions
MELSAP-L
format)
SFC Generic term for MELSAP3, MELSAP-L, and FX series SFC
Generic term for components (FB library, sample ladders, drawing data) which provide easy
operation of programmable controller related modules and GOTs, and various devices that are
MELSOFT Library
connected to them.
Contact your local Mitsubishi representative to obtain components of MELSOFT Library.
A - 32
TERMS
A - 33
MEMO
A - 34
1
OVERVIEW
1 OVERVIEW 2
CONFIGURATION
This chapter explains an overview of GX Works2.
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
1.1 Product Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
4
1.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
MANAGEMENT
1.3 List of Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
1 -1
GX Works2
1 OVERVIEW
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 parameter and network parameter can be set with GX Works2.
Intelligent function module parameter can be set as well.
Reading data
Writing data
1 -2
1.1 Product Overview
Monitoring/debugging 1
Created sequence programs can be written to the programmable controller CPU and device value
at operation can be monitored online/offline.
OVERVIEW
2
CONFIGURATION
Programs can be monitored and debugged.
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
Diagnostics
SCREEN
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 4
intelligent function modules can be obtained. This helps to shorten the recovery work time at error
occurrence.
MANAGEMENT
Diagnosing the programmable controller
PROJECT
CPU status (PLC diagnostics screen)
Diagnosing the
5
programmable controller
CPU status
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
1 -3
GX Works2
1 OVERVIEW
1.2 Features
This section explains the features of GX Works2.
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.
Program block B
Function block 2
Program block C Program SUB1
Function 1 Program block D
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
OVERVIEW
the program becomes available as an actual program.
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
Created labels can be
utilized for other programs.
SCREEN
4
In addition, global labels can be registered as system labels and be shared within iQ Works compliant
MANAGEMENT
products (GX Works2, MT Developer2, and GT Designer3).
PROJECT
For details of system labels, refer to the following manual.
( iQ Works Beginner's Manual)
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
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
Project D
Library file
1 -6
1.2 Features
The wide variety of programming languages available with GX Works2 enables to select the optimum
programming language according to control.
OVERVIEW
<Ladder> <SFC>
Programming similar to existing GX Developer Programming to clarify the procedure
2
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
<Structured ladder> <ST>
Programming a ladder program graphically Programming in a text language similar to
C language
4
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
ST programs can be used on the ladder editor of GX Works2 using the Inline structured text function.
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
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 Without connecting to the programmable controller CPU, programs can
programmable be monitored and debugged in the same way with debugging by the
controller is unnecessary. programmable controller CPU.
1 -8
1.3 List of Functions
1
1.3 List of Functions
This section shows the list of functions of GX Works2.
OVERVIEW
The functions are divided into common functions available (Project, Online, Debug, Diagnostics, Tool,
Window, and Help) and functions used for each editing or setting target (Edit, Find/Replace, Compile, and
View).
For (Simple), (FB), (Structured), and (Intelligent) indicated in the Reference column, refer to the following 2
manuals respectively:
CONFIGURATION
(Simple).................GX Works2 Version 1 Operating Manual (Simple Project)
(FB) .......................GX Works2 Version 1 Operating Manual (Simple Project, Function Block)
SYSTEM
(Structured) ...........GX Works2 Version 1 Operating Manual (Structured Project)
(Intelligent) ............GX Works2 Version 1 Operating Manual (Intelligent Function Module)
CONFIGURATION AND
BASIC OPERATIONS
This section explains the functions common to Simple project and Structured project.
List of common functions
SCREEN
The following tables show functions that are available regardless of the type of editing or setting target.
Project (common function) Reference
4
New Create a new project. Section 4.2.1
MANAGEMENT
Open Open an existing project. Section 4.2.2
Close Close the open project. Section 4.2.6
PROJECT
Save Save the project. Section 4.2.3
Save As Name and save the project. Section 4.2.3
Compress/Unpack
Compress Compress and save a project.
5
Section 4.2.4
Unpack Unpack a compressed project.
Delete Delete an existing project. Section 4.2.5
PROGRAMS
Verify Verify between two project data. Section 4.2.7
EDITING
Project Revision
Revision Entry Register the project change history. Section 4.6.1
Revision List Display the list of project change history. Section 4.6.2
Change PLC Type Change the programmable controller CPU type. Section 4.2.8
6
Change the project type from Simple project (without labels)
Change Project Type to Simple project (with labels), or from Simple project (with Section 4.5
labels) to Structured project. PARAMETERS
Object
SETTING
8
SETTING DEVICE
INITIAL VALUES
1 OVERVIEW
1
Find/Replace (common function) Reference
Cross Reference Display the usage of selected device or label. Section 10.1
Device List Display the usage of devices. Section 10.2
OVERVIEW
Find Device Search a device/label in the program. Section 10.3.1
Find Instruction Search an instruction.
Search a contact or coil corresponding to the specified Section 10.3.2
Find Contact or Coil
device. 2
Find String Search a string. Section 10.3.3
Replace Device Replace a device/label in the program. Section 10.3.1
CONFIGURATION
Replace Instruction Replace an instruction. Section 10.3.2
Replace String Replace a string. Section 10.3.3
SYSTEM
Change an open contact to a closed contact, or change a
Change Open/Close Contact Section 10.3.4
closed contact to an open contact.
Device Batch Replace Batch-replace devices with the specified device.
Register selected devices on the Device Batch Replace Section 10.3.5 3
Register to Device Batch Replace
CONFIGURATION AND
screen.
BASIC OPERATIONS
Compile (common function) Reference
Build Convert/compile a program being edited.
SCREEN
Write sequence programs to a programmable controller CPU
Online Program Change Section 5.4
after the conversion/compilation.
Rebuild All Convert/compile all programs in the project. 4
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
1 OVERVIEW
1
Online (common function) Reference
Read from PLC Read data from the programmable controller CPU.
Section 12.1
Write to PLC Write data to the programmable controller CPU.
OVERVIEW
Verify a project being edited against the data on the
Verify with PLC Section 12.2
programmable controller CPU.
Remotely control RUN/PAUSE/STOP of the programmable
Remote Operation Section 17.1
controller CPU from GX Works2.
Password/Keyword - 2
Section 13.1.1
Set a password/keyword to the programmable controller
CONFIGURATION
New CPU. Section 13.2.1
Section 13.3.1
Section 13.1.2
SYSTEM
Cancel the password/keyword set to the programmable
Delete controller CPU. Section 13.2.2
Section 13.3.2
Section 13.1.3
Disable
Temporarily unlock the password/keyword set to the
programmable controller CPU. Section 13.2.3 3
Section 13.3.3
CONFIGURATION AND
BASIC OPERATIONS
PLC Memory Operation -
Format PLC Memory Format the programmable controller CPU memory. Section 17.2
Clear PLC Memory Clear the programmable controller CPU memory. Section 17.3
SCREEN
Arrange PLC Memory Arrange the programmable controller CPU memory. Section 17.4
Delete PLC Data Delete data on the programmable controller CPU. Section 12.3
PLC User Data -
4
Read PLC User Data Read the programmable controller CPU user data.
Write PLC User Data Write the programmable controller CPU user data. Section 12.5
MANAGEMENT
Delete PLC User Data Delete the programmable controller CPU user data.
Copy the program memory data on the programmable
PROJECT
Export to ROM Format Section 12.4
controller CPU to ROM.
Transfer the content of program cache memory to program
Program Memory Batch Download Section 12.6
memory in batch.
Latch Data Backup - 5
Back up device memory/file register/error history data to the
Backup Section 12.7.1
standard ROM.
Delete the backup data on the programmable controller
PROGRAMS
Delete Backup Data Section 12.7.2
CPU.
EDITING
PLC Module Change -
Back up data on the programmable controller CPU to the
Create Backup Data Section 12.8.1
memory card.
Restore the backup data to another programmable controller 6
Restore Section 12.8.2
CPU.
Set Clock Set the clock on the programmable controller CPU. Section 17.5
Register/cancel menus to operate intelligent function module PARAMETERS
Register/Cancel Display Module Menu Section 17.6
using the LCPU display module menu.
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
1 OVERVIEW
Stop Watching Stop monitoring the current values of registered devices/ Section 14.6
labels and intelligent function module.
Register to Watch Register the selected devices/labels to the Watch window.
Read local device data from the programmable controller
Local Device Batch Read + Save CSV Section 12.12
CPU and saves them to a personal computer in CSV format.
1
Debug (common function) Reference
Break Setting
Set a break point at the cursor position, or cancel the set
Set/Cancel Break Point
OVERVIEW
break point.
Enable/Disable Break Point Enable/disable the break point at the cursor position. Section 16.6.2
Cancel All Break Points Cancel all break points.
Break Point Window Display the Break Point window. 2
Cancel All Break Devices Cancel all break devices.
Section 16.6.3
Break Device Window Display the Break Device window.
CONFIGURATION
Skip Setting
Set/Cancel Skip Range Set a skip range, or cancel the set skip range.
SYSTEM
Enable/Disable Skip Range Enable/disable the skip range at the cursor position.
Section 16.6.4
Cancel All Skip Ranges Cancel all skip ranges.
Skip Range Window Display the Skip Range window.
3
CONFIGURATION AND
BASIC OPERATIONS
Diagnostics (common function) Reference
Diagnose the operating status of the programmable
PLC Diagnostics Section 18.1
controller CPU.
SCREEN
Ethernet Diagnostics Diagnose Ethernet. Section 18.6
CC IE Control Diagnostics Diagnose CC-Link IE Controller Network. Section 18.3
CC IE Field Diagnostics
MELSECNET Diagnostics
Diagnose CC-Link IE Field Network.
Diagnose MELSECNET/10(H).
Section 18.4
Section 18.2
4
CC-Link Diagnostics Diagnose CC-Link and CC-Link/LT. Section 18.5
MANAGEMENT
Monitor the system status of the programmable controller
System Monitor Section 18.7
CPU.
PROJECT
Online Module Change Change modules online. Section 18.8
PROGRAMS
Check programs of the project without labels and display
Check Program (Simple)
EDITING
errors.
Check Parameter Check parameters and display errors. Section 6.4
Options Set various options. Chapter 21
Key Customize Change the settings of the shortcut keys. Section 3.2.8 6
(Simple)
Device/Label Automatic-Assign Setting Set device range to be automatically assigned to a label.
(Structured)
Block Password Set a block password to data. Section 4.11 PARAMETERS
Calculate the size of files to be written to the programmable
SETTING
Section 11.9.2
Line Disconnection Disconnect the line.
Register a modem between a personal computer and a
MEMORY
LCPU Logging Configuration Tool Start the LCPU logging configuration tool. Section 16.7
INITIAL VALUES
Ethernet Adapter Module Configuration Tool Start the Ethernet adapter module configuration tool. Section 17.7
1 OVERVIEW
1
Help (common function) Reference
GX Works2 Help Display the GX Works2 Help screen. Section 3.4.1
Operating Manual
OVERVIEW
GX Works2 Beginner's Manual
(Simple Project)
GX Works2 Beginner's Manual
(Structured Project)
Operating Manual Common Display the operating manuals. Section 3.4.2
2
Operating Manual (Simple Project)
CONFIGURATION
Operating Manual (Structured Project)
Operating Manual (Intelligent Function
Module)
SYSTEM
About Display product information such as the version. Section 3.4.3
3
List of functions for setting labels
CONFIGURATION AND
BASIC OPERATIONS
The following table shows the functions for setting and editing labels.
SCREEN
Edit (function for label setting) Reference
Delete Delete the selected data.
Select All Select all items.
New Declaration (Before) Add a row above the cursor position.
4
New Declaration (After) Add a row below the cursor position. (Simple)
(Structured)
MANAGEMENT
Delete Row Delete the row at the cursor position.
Read from CSV File Read label settings from the CSV file.
PROJECT
Write to CSV File Write label settings to the CSV file.
System Label
Confirm Update of System Label Reflect system label information changed in another project
Database on global labels. 5
Import system label information and reflect it on global
Import System Label
labels. (Simple)
Register Device Name of System (Structured)
PROGRAMS
Register a selected global label as a system label.
Label
EDITING
Disable the relation between a selected global label and a
Disable System Label Relation
system label.
Execute Verification Synchronous with Resolve a mismatch when system label information contains
System Label it.
6
Sort
Class
Label Name PARAMETERS
SETTING
Data Type
Constant Sort the labels in ascending/descending order with the (Simple)
Device selected item. (Structured)
Address 7
Comment
SETTING DEVICE
Remark
MEMORY
8
SETTING DEVICE
INITIAL VALUES
1 OVERVIEW
The following tables show the functions for setting device memory.
OVERVIEW
Edit (function for setting device memory) Reference
Delete Delete the selected data.
Insert Row Insert a row at the cursor position. Section 7.2
Input Device Enter a device. Section 7.2.2
2
Paste Text Enter a character string. Section 7.2.3
FILL Set the same value to consecutive devices simultaneously. Section 7.2.4
CONFIGURATION
Find/Replace (function for setting device memory) Reference
SYSTEM
Find Device Cell Search for a device. Section 7.3
CONFIGURATION AND
BASIC OPERATIONS
Binary Display data in binary.
Octal Display data in octal.
Decimal Display data in decimal.
SCREEN
Hexadecimal Display data in hexadecimal. Section 7.2.5
Float Display data in real number.
String Display data in character string. 4
String (ASCII only) Display data in ASCII string.
Register
MANAGEMENT
16-bit Display data in units of words.
PROJECT
32-bit Display data in units of double words. Section 7.2.5
64-bit Display data in units of 64 bits.
Setup Change the editor size. Section 7.2.6
5
Tool (function for setting device memory) Reference
Read device memory data from the programmable controller
Read Device Memory from PLC
CPU. Section 7.4.1
PROGRAMS
Write Device Memory to PLC Write device memory data to the programmable controller CPU.
EDITING
Read from Excel File Read data from an Excel file.
Section 7.4.2
Write to Excel File Write data to an Excel file.
6
List of functions for verification result
The following tables show the functions for verification result. PARAMETERS
SETTING
7
Find/Replace (function for verification result) Reference
Next Unmatch Move to the next mismatched data.
SETTING DEVICE
Section 4.2.7
Previous Unmatch Move to the previous mismatched data.
MEMORY
1 OVERVIEW
The following tables show the functions for executing sampling trace.
View (function for executing sampling trace) Reference
Result Position
Move to Trigger Point Display the trigger position.
Switching Display Items
Device
Address
Comment Display/hide the display item titles. Section 16.4.3
Data Types
Radix
Timing Chart Scale
Narrow Scale
Enlarge/reduce the timing chart scale. Section 16.4.4
Wide Scale
Trend Graph Scale
Narrow Scale
Wide Scale Enlarge/reduce the trend graph scale. Section 16.4.4
Initial Display
Additional Information
Past Time Section 16.4.2
Display/hide the additional information.
Program Name Section 16.4.4
The following tables show the functions for the ladder editor.
OVERVIEW
Edit (function for editing in ladder language) Reference
Increment the device number of device in the cut/copied
Continuous Paste
ladder and paste it consecutively.
Delete Delete the selected data. 2
Restore After Ladder Conversion Return the ladder being edited to the last converted status.
CONFIGURATION
Insert Row Insert a row at the cursor position.
Delete Row Delete the row at the cursor position.
Insert Column Insert a column at the cursor position.
SYSTEM
Delete Column Delete the column at the cursor position. (Simple)
Insert an NOP in front of the ladder block at the cursor
NOP Batch Insert
position.
3
NOP Batch Delete Batch-delete NOPs in the program being edited.
CONFIGURATION AND
BASIC OPERATIONS
Edit Line Enter a line at the cursor position.
Delete Line Delete the line at the cursor position.
Batch-change timer/counter setting values used in the
Change TC Setting
SCREEN
program.
Ladder Edit Mode
Read Mode Switch the mode of the open window to "Read Mode".
Write Mode Switch the mode of the open window to "Write Mode".
(Simple) 4
Ladder Symbol
MANAGEMENT
Open Contact Insert at the cursor position.
PROJECT
Close Contact Insert at the cursor position.
Open Branch Insert at the cursor position.
Close Branch Insert at the cursor position. 5
Coil Insert at the cursor position.
(Simple)
Application Instruction Insert at the cursor position.
PROGRAMS
Vertical Line
EDITING
Insert at the cursor position.
Horizontal Line Insert at the cursor position.
Delete Vertical Line Insert at the cursor position. 6
Delete Horizontal Line Insert at the cursor position.
Pulse Contact Symbol
PARAMETERS
Rising Pulse Insert at the cursor position.
SETTING
1 OVERVIEW
Enter/Delete HLine Leftward Enter/delete a line at the left of the cursor position.
Enter/Delete VLine Downward Enter/delete a line at the downward of the cursor position.
Enter/Delete VLine Upward Enter/delete a line at the upward of the cursor position.
Switch Open/Close Contact Switch between an open contact and a closed contact. Section 10.3.4
Switch Statement/Note Type Change the type of the statement/note.
Display the Enter Symbol screen in which the first argument
Instruction Partial Edit
is in the selected status.
(Simple)
Read a list format program from a CSV file and display it as
Read from CSV File
a ladder program.
Write to CSV File Write a ladder program to a CSV file in list format.
1
View (function for editing in ladder language) Reference
Comment Display device comments or label comments. Chapter 9
Statement Display statements.
OVERVIEW
Note Display notes.
Open the Options screen and display/hide the lines of
Display Lines of Monitored Current Value
monitored current value.
CONFIGURATION
Display Ladder Block Display the hidden ladder block at the cursor position.
Non-Display All Ladder Block Hide all ladder blocks.
(Simple)
SYSTEM
Display All Ladder Block Display all hidden ladder blocks.
Device Display Display the device assigned by compilation.
Batch-change the label display on the program editors to the
All Device Display
device display. 3
CONFIGURATION AND
Cancel the device display on the program editors, and
BASIC OPERATIONS
Cancel All Device Display
display data in the format at the time of data entry.
Display the compilation result of the program on the inline
Display Compile Result
structured text box in a list format.
SCREEN
Zoom Change the display magnification of the ladder.
Text Size
Bigger Enlarge the text display size on the editing screen.
(Simple) 4
Smaller Reduce the text display size on the editing screen.
Tile the ladder editor and the function block program editor
Tile FB Horizontally (FB)
MANAGEMENT
horizontally.
Open the Local Label Setting screen for the program being
PROJECT
Open Header
edited. (Simple)
Back to Zoom SFC Block Display the SFC diagram of the Zoom editor window.
Move SFC Cursor
Up Move the cursor on the SFC diagram upward. 5
Down Move the cursor on the SFC diagram downward.
Left Move the cursor on the SFC diagram to the left. (Simple)
PROGRAMS
Right Move the cursor on the SFC diagram to the right.
EDITING
Open Instruction Help Display the Instruction Help screen.
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
1 OVERVIEW
The following tables show the functions for editing SFC diagrams.
Edit (function for editing SFC diagrams) Reference
Delete Delete the selected data.
Arrange SFC Redisplay the SFC diagram.
Insert Row Insert a row at the cursor position.
(Simple)
Delete Row Delete a row at the cursor position.
Insert Column Insert a column at the cursor position.
Delete Column Delete a column at the cursor position.
Edit Line
Vertical Line Segment Insert at the cursor position.
[B] Block Start Step (with END Check) Insert at the cursor position.
[BS] Block Start Step (without END
Insert at the cursor position.
Check)
[JUMP] Jump Insert at the cursor position.
1
Find/Replace (function for editing SFC diagrams) Reference
Jump Move the cursor to the specified position.
Find Jump Step Move to the jump source step. (Simple)
OVERVIEW
Change SFC Step No. Replace the SFC step number.
CONFIGURATION
View (function for editing SFC diagrams) Reference
Program Display Display MELSAP-L programs.
SYSTEM
SFC Step/Transition Comment Display the SFC step/transition comments.
Zoom Change the display magnification ratio of the SFC diagram.
SFC Row Setting Set the number of rows of SFC diagram.
Open SFC Blocklist Display the SFC block list screen.
(Simple)
3
CONFIGURATION AND
MELSAP3 Display Display SFC in MELSAP3 format.
BASIC OPERATIONS
MELSAP-L (Instruction Format) Display Display SFC in MELSAP-L (instruction format).
MELSAP-L (Start Conditions Format) Display Display SFC in MELSAP-L (start conditions format).
Display the Zoom editor window or the start destination
SCREEN
Open Zoom/Start Destination Block
block.
Back to Start SFC Block Display the SFC block of the start source.
Open Header
Open the Local Label Setting screen for the program being 4
edited.
MANAGEMENT
Online (function for editing in SFC diagrams) Reference
Monitor
PROJECT
Monitor Condition Setting Set a condition to start monitoring.
(Simple)
Monitor Stop Condition Setting Set a condition to stop monitoring.
5
1.3.4 List of functions for editing SFC block list
PROGRAMS
EDITING
The following tables show the functions for editing SFC block list.
Jump
Find/Replace (function for editing SFC block list)
Move the cursor to the specified block number.
Reference
6
(Simple)
Block Information Find Device Search for a device.
PARAMETERS
View (function for editing SFC block list) Reference
SETTING
SFC Block List Comment Display comments of the SFC block list.
Device Display Display devices.
(Simple)
Open SFC Body Open the SFC diagram.
7
Open Header Display the label setting editor.
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
1 OVERVIEW
OVERVIEW
The following tables show the functions for the structured ladder/FBD editor.
Edit (function for editing in structured ladder/FBD language) Reference
Delete Delete the selected data. 2
Select Mode Change to the contact and coil input mode.
CONFIGURATION
Interconnect Mode Change to the line drawing mode. (Structured)
Auto Connect Specify and connect the start and end points to draw a line.
Guided Mode
SYSTEM
Guided Editing Change to the keyboard input mode.
Overwrite the ladder symbol entered in Guided editing at the
Overwrite Mode
cursor position. 3
Insert the ladder symbol entered in Guided editing at the
Insert Mode
CONFIGURATION AND
cursor position.
BASIC OPERATIONS
Line Mode Change the input format to draw lines in Guided editing. (Structured)
Add a comment entry field at the start of the ladder block
Auto Comment
added in Guided editing.
SCREEN
Recalculate Line Arrange a line automatically to redraw it.
Insert Row Insert a row in a ladder being edited.
Insert Column Insert a column in a ladder being edited. 4
New Ladder Block List
Top Insert a new ladder block at the start of all ladder blocks.
MANAGEMENT
Insert a new ladder block in front of a ladder block being
Before
PROJECT
edited.
(Structured)
After Insert a new ladder block after a ladder block being edited.
Bottom Insert a new ladder block at the end of all ladder blocks.
Input Instruction Open a Input Instruction screen. 5
Ladder Symbol
Open Contact Insert at the cursor position.
PROGRAMS
Close Contact Insert at the cursor position.
EDITING
Coil Insert at the cursor position.
Jump Insert at the cursor position.
6
Return Insert at the cursor position.
Open Branch Insert at the cursor position.
PARAMETERS
Close Branch Insert at the cursor position.
SETTING
1 OVERVIEW
The following tables show the functions for the CC-Link configuration window.
OVERVIEW
CC-Link configuration (function on the CC-Link configuration window) Reference
Change Module
CONFIGURATION
CC-Link module.
Check
SYSTEM
Check whether the set equipment configuration of CC-Link is
System Configuration
correct.
Section 6.2.2
Parameter Processing of Slave Station Perform parameter processing on a slave station.
Command Execution of Slave Station Perform commands on a slave station. 3
Discard the settings and close the CC-Link configuration
CONFIGURATION AND
Close with Discarding the Setting
BASIC OPERATIONS
window.
Reflect the settings and close the CC-Link configuration
Close with Reflecting the Setting Section 6.2.2
window.
SCREEN
Edit (function on the CC-Link configuration window) Reference
Copy Copy the information of the slave station of the selected row.
Section 6.2.2
4
Paste the copied slave station to the last row of the list of
Paste
stations.
Select All Select all cells on the list of stations.
MANAGEMENT
Delete Delete the slave station of the selected row. Section 6.2.2
PROJECT
View (function on the CC-Link configuration window) Reference
Docking Window
Module List Display/hide the Module List window of CC-Link,
5
Section 6.2.2
Output Display/hide the Output window.
PROGRAMS
EDITING
1.3.8 List of functions for GX Simulator2 screen
6
The following tables show the functions for the GX Simulator2 screen.
Tool (function on the GX Simulator2 screen) Reference
Backup Device Memory in Simulation PARAMETERS
SETTING
8
SETTING DEVICE
INITIAL VALUES
1 OVERVIEW
The following tables show the functions for the I/O System Setting screen.
File (function for the I/O system setting) Reference
New Create a new I/O system setting. Section 19.8.1
Open Open an existing I/O system setting. Section 19.8.2
Save Save an I/O system setting.
Save As Name and save an I/O system setting. Section 19.8.3
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.
Execute I/O System Setting Execute the I/O system setting and start simulation. Section 19.6.1
Disable I/O System Setting Disable execution of the I/O system setting. Section 19.6.2
Exit I/O System Settings Exit the I/O system setting.
The following tables show the functions for the predefined protocol support function.
OVERVIEW
File (function of the predefined protocol support function) Reference
New Create a new protocol setting file.
Open Open an existing protocol setting file.
2
Close Close the open protocol setting file.
Save Save the protocol setting file. (Intelligent)
CONFIGURATION
Save As Name and save a protocol setting file.
Print Print such as protocol setting.
SYSTEM
Exit Exit the predefined protocol support function.
CONFIGURATION AND
BASIC OPERATIONS
Change the protocol selected from the predefined protocol
Change to Editable Protocol
library to an editable one.
Set the protocol detailed setting such as the number of
SCREEN
Protocol Detailed Setting retries of protocol transmission and whether to clear OS area
(receive data area).
Add Receive Packet Add a receive packet.
Delete Delete the protocol. (Intelligent) 4
Copy Copy the protocol.
Paste Paste the protocol.
MANAGEMENT
Delete Multiple Protocols Batch-delete multiple protocols.
PROJECT
Copy Multiple Protocols Batch-copy multiple protocols.
Paste Multiple Protocols Batch-paste multiple protocols.
Device Batch Setting Batch-set devices used in the protocol
Save User Protocol Library Save the set protocol as a user protocol library. 5
Module Read/Write (function of the predefined protocol support function) Reference
PROGRAMS
Read from Module Read protocol settings from the module.
EDITING
Write to Module Write registered protocol settings to the module.
(Intelligent)
Compare protocol settings being opened with those written
Module Verification
in the module.
6
Tool (function of the predefined protocol support function) Reference
Setting Device List Display the list of devices used in protocols.
Import predefined protocol library provided by Mitsubishi (Intelligent) PARAMETERS
Register Predefined Protocol Library
Electric Corporation.
SETTING
Debugging Support Function (function of the predefined protocol support function) Reference
Module Selection Select a module to be debugged. 7
Display the protocol execution logs and the protocol
Protocol Execution Log
execution results.
SETTING DEVICE
(Intelligent)
Monitor signals, communication error information, operation
State Monitor setting switches, and protocol execution status of the Q
MEMORY
1 OVERVIEW
MEMO
OVERVIEW
2 SYSTEM CONFIGURATION 2
CONFIGURATION
This chapter explains the system configuration, configuration devices, and supported languages of GX
Works2.
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
2.1 Connection from USB/Serial Port . . . . . . . . . . . . . . . . . . . . . . 2-2
4
2.2 Connection from I/F Boards . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
MANAGEMENT
2.3 Interfaces and Connectable Modules . . . . . . . . . . . . . . . . . . 2-15
2.4 System Configuration with Memory Card in Personal Computer. . . . 2-19
PROJECT
2.5 Supported Programming Languages . . . . . . . . . . . . . . . . . . 2-20
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
2 -1
GX Works2
2 SYSTEM CONFIGURATION
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 connection Section 2.1.1
(USB communication)
QCPU (Q mode)/
GX Works2 USB Cable
Remote I/O module
(SW1DNC-GXW2-E)
LCPU/
Communication
Section 2.1.2 head module
Section 2.1.2
FXCPU
USB Cable (FX3U/FX3UC)
Section 2.1.3
FXCPU
USB Cable
Programmable controller (FX3G/FX3GC)
direct connection Section 2.1.4
(Serial port communication)
QCPU (Q mode)/
QC30R2
Remote I/O module
Section 2.1.4
Section 2.1.4 LCPU/
QC30R2 Communication
head module
RS-232 adapter
Section 2.1.5
Converter/Cable FXCPU
Section 2.1.6
Section 2.1.5 FXCPU
Converter/Cable (FX1S/FX1N/FX2N/FX3G/
FX3U/FX3UC)
Section 2.1.7
Section 2.1.7 FXCPU
(FX1S/FX1N/FX2N/FX1NC/
Cable FX2NC/FX3G/FX3U/FX3GC/
FX3UC)
Section 2.1.8 FXCPU
(FX0/FX0S/FX1S/FX0N/
Converter/Cable
FX1N/FX2N/FX1NC/FX2NC/
Section 2.1.6 FX3U/FX3UC)
Section 2.1.8
FXCPU
Converter/Cable (FX1S/FX1N/FX2N/FX3G/
FX3U/FX3UC)
2 -2
2.1 Connection from USB/Serial Port
OVERVIEW
LCPU/
GX Works2 Communication
(SW1DNC-GXW2-E) head module
Section 2.1.9
Via CC-Link(G4)
Converter/Cable CC-Link
QCPU (Q mode)/
Remote I/O module 2
G4 module
CONFIGURATION
LCPU/
Communication
head module
SYSTEM
Via MELSECNET/H
Converter/Cable
CONFIGURATION AND
Via modem
BASIC OPERATIONS
Cable included in modem package
SCREEN
Modem
C24 4
LCPU
Section 2.1.10
MANAGEMENT
FXCPU
(FX1S/FX1N/FX2N/FX1NC/
PROJECT
FX2NC/FX3G/FX3U/FX3GC/
FX3UC)
Section 2.1.11
Via GOT
Cable QCPU (Q mode)/
GOT
Remote I/O module
5
LCPU/
Communication
head module
PROGRAMS
FXCPU
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
2 -3
GX Works2
2 SYSTEM CONFIGURATION
The following table shows USB cables and USB adapters whose operations have been confirmed by
Mitsubishi Electric.
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.
USB cable
USB
cab
le Programmable controller CPU
2 -4 2.1.1 USB cables (compatible with QCPU (Q mode), LCPU, and communication head module)
2.1 Connection from USB/Serial Port
OVERVIEW
FX3U-USB-BD USB cable (included)
CONFIGURATION
SYSTEM
Using a USB cable for the first time
Install the driver from the CD-ROM included with FX-USB-AW and FX3U-USB-BD.
GX Works2 selects data from the Connection Destination view in the Navigation window and assigns a serial
COM port number.
3
CONFIGURATION AND
Precautions and restrictions
BASIC OPERATIONS
For the precautions and restrictions relating to FX3U-USB-BD, refer to the user's manual included.
When "Operate Communication Setting" is selected on the <<PLC System (2)>> tab of PLC parameter, the
corresponding port cannot communicate with the programmable controller CPU. Write the setting in which
SCREEN
"Operate Communication Setting" is cleared from the built-in programming port of the programmable controller
CPU.
When the programmable controller type of the project is FX3U/FX3UC, the channel setting (CH1/CH2) combo box
is displayed. Select 'CH1' to confirm the setting. 4
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
2.1.3 USB cables (compatible with FX3G and FX3GC) 6
For details of cables, refer to the following manuals.
PARAMETERS
FX3G Series Programmable Controllers User's Manual [Hardware Edition]
SETTING
GX Works2 selects data from the Connection Destination view in the Navigation window and configures a USB.
8
SETTING DEVICE
INITIAL VALUES
2.1.2 USB cables and function expansion boards (compatible with FX3U/FX3UC) 2 -5
GX Works2
2 SYSTEM CONFIGURATION
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).
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.
For FX1/FXU/FX2C
F2-232CAB
(25-pin D-subQ25-pin D-sub)
FX-422CAB (0.3 m)
FX-422CAB-150 (1.5 m)
FX-232AW
F2-232CAB-1
(9-pin D-subQ25-pin D-sub) For FX0/FX0S/FX0N/FX1S/FX1N/FX1NC/FX2N/
FX2NC/FX3G/FX3GC/FX3U/FX3UC
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)
2.1 Connection from USB/Serial Port
Transmission speed
OVERVIEW
When connecting to FX3G/FX3GC/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. 2
CONFIGURATION
SYSTEM
Precautions on using RS-422 interface cables/converters
For the specifications of an RS-422 interface conversion cable/converter and the precautions on using 3
them, please read the following instructions as well as the manuals of each product for correct
CONFIGURATION AND
BASIC OPERATIONS
handling.
SCREEN
When connecting/disconnecting a peripheral device, conversion cable or converter to/from the RS-
422 interface, be sure to touch a grounding strap or grounded metal to discharge static electricity
stored in the cable or in your body before the operation, regardless of whether electricity is being 4
supplied or not. After doing this, follow the procedure below.
Turn the programmable controller CPU OFF before connecting/disconnecting a conversion cable/
MANAGEMENT
converter that receives 5VDC power supply from the RS-422 interface.
PROJECT
Operation
1. Turn OFF the personal computer. 5
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
PROGRAMS
programmable controller CPU.
EDITING
4. Turn ON the conversion cable/converter.
5. Turn ON the personal computer.
6. Start up the software package.
6
PARAMETERS
SETTING
The following table shows the compatibility of FXCPU with function expansion boards.
Series Function expansion board
MEMORY
FX3U,
FX3UC (FX3UC-32MT-LT, FX3U-422-BD
FX3UC-32MT-LT-2 only)
FX3G FX3G-422-BD 8
FX2N FX2N-422-BD
SETTING DEVICE
2 SYSTEM CONFIGURATION
PLC parameter
When "Operate Communication Setting" is selected on the <<PLC System (2)>> tab of PLC parameter, the
corresponding port cannot communicate with the programmable controller CPU. Write the setting in which
"Operate Communication Setting" is cleared from the built-in programming port of the programmable controller
CPU.
When the programmable controller type of the project is FX3G/FX3GC or FX3U/FX3UC, the channel setting (CH1/
CH2) combo box is displayed.
Select 'CH1' to confirm the setting.
OVERVIEW
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. 2
Serial port shape of
Series Function expansion board and special adapter RS-232 cable
personal computer
CONFIGURATION
FX3U-232-BD*1
FX3U, FX3UC FX-232CAB-1
Function expansion board (FX3U-***-BD)*2 + FX3U-232ADP
SYSTEM
FX3G-232-BD*1
FX3G, FX3GC FX-232CAB-1
FX3G-CNV-ADP*3 + FX3U-232ADP
FX0N-232ADP + FX2N-CNV-BD F2-232CAB-1
3
CONFIGURATION AND
9-pin D-sub FX2N FX2N-232-BD
BASIC OPERATIONS
FX-232CAB-1
FX2NC-232ADP + FX2N-CNV-BD
FX0N-232ADP F2-232CAB-1
FX1NC, FX2NC
SCREEN
FX2NC-232ADP FX-232CAB-1
FX0N-232ADP + FX1N-CNV-BD F2-232CAB-1
FX1S, FX1N FX1N-232-BD
FX2NC-232ADP + FX1N-CNV-BD
FX-232CAB-1 4
FX3U-232-BD*1
FX3U, FX3UC FX-232CAB-2
MANAGEMENT
Function expansion board (FX3U-***-BD)*2 + FX3U-232ADP
FX3G-232-BD*1
PROJECT
FX3G, FX3GC FX-232CAB-2
FX3G-CNV-ADP*3 + FX3U-232ADP
FX0N-232ADP + FX2N-CNV-BD F2-232CAB-2
Half pitch 14-pin FX2N FX2N-232-BD
FX-232CAB-2
5
FX2NC-232ADP + FX2N-CNV-BD
FX0N-232ADP F2-232CAB-2
FX1NC, FX2NC
FX2NC-232ADP FX-232CAB-2
PROGRAMS
FX0N-232ADP + FX1N-CNV-BD F2-232CAB-2
EDITING
FX1S, FX1N FX1N-232-BD
FX-232CAB-2
FX2NC-232ADP + FX1N-CNV-BD
FX3U, FX3UC*1
FX3U-232-BD
F2-232CAB-1
6
Function expansion board (FX3U-***-BD)*2 + FX3U-232ADP
FX3G-232-BD*1
PARAMETERS
FX3G, FX3GC F2-232CAB-1
FX3G-CNV-ADP*3 + FX3U-232ADP
SETTING
FX0N-232ADP+FX1N-CNV-BD F2-232CAB
FX1S, FX1N FX1N-232-BD
F2-232CAB-1
MEMORY
FX2NC-232ADP+FX1N-CNV-BD
*3 : ADP (FX3G-CNV-ADP) for FX3U adapter connection is not required for FX3GC series.
2.1.7 Connection using RS-232 cables and function expansion boards (special adapters) (compatible with FXCPU) 2 -9
GX Works2
2 SYSTEM CONFIGURATION
PLC parameter
When "Operate Communication Setting" is selected on the <<PLC System (2)>> tab of PLC parameter, the
corresponding port cannot communicate with the programmable controller CPU. Write the setting in which
"Operate Communication Setting" is cleared from the built-in programming port of the programmable controller
CPU.
When the programmable controller type of the project is FX3G/FX3GC or FX3U/FX3UC, the channel setting (CH1/
CH2) combo box is displayed.
FX3U/FX3UC (FX3UC-32MT-LT, FX3UC-32MT-LT-2) 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.
FX3UC (D, DS, DSS)/FX3GC series
When using the first adapter of FX3U-232ADP which is connected to FX3UC (D, DS, DSS) or FX3GC series,
specify 'CH1' and check the setting.
When using the second adapter of FX3U-232ADP, 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-CNV-
ADP, specify 'CH1' and check the setting.
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-CNV-
ADP, specify 'CH1' and check the setting. In this case, when using the second adapter of FX3U-232ADP which is
connected to FX3G-CNV-ADP, specify 'CH2' and check the setting.
When using FX3G-232-BD and FX3U-232ADP which is connected to FX3G-CNV-ADP, specify 'CH1' and check
the setting of FX3U-232ADP, and specify 'CH2' and check the setting of FX3G-232-BD.
2 - 10 2.1.7 Connection using RS-232 cables and function expansion boards (special adapters) (compatible with FXCPU)
2.1 Connection from USB/Serial Port
OVERVIEW
FX-USB-AW USB cable (included)
CONFIGURATION
Using a USB cable for the first time
SYSTEM
Install the driver from the CD-ROM included with FX-USB-AW and FX3U-USB-BD.
GX Works2 selects data from the Connection Destination view in the Navigation window and assigns a serial
COM port number.
Precautions and restrictions 3
For the precautions and restrictions relating to FX-USB-AW, refer to the user's manual included.
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
2.1.9 Connection via AJ65BT-R2N
4
Use an RS-232 cable complies with the RS-232 standard within 15m.
For details, refer to the following manual.
MANAGEMENT
CC-Link System RS-232 Interface Module User's Manual (MELSOFT Connection Mode)
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
2 SYSTEM CONFIGURATION
Set "MODEM Initialized" on the <<PLC System (1)>> tab of PLC parameter according to the modem.
For details, refer to Section 11.9.
The use of the transparent function of GOT enables the access to a programmable controller CPU via
GOT. ( Section 11.8)
1
2.2 Connection from I/F Boards
OVERVIEW
Q CPU L CPU Remote 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. 2
Note that I/F boards other than Ethernet boards do not support 64-bit version of Windows 7.
CONFIGURATION
MELSECNET/H board
SYSTEM
Driver QCPU
SW0DNC-MNETH-B
Q80BD-J71BR11 (Coaxial loop)
Q80BD-J71LP21-25 (Optical loop) Programmable controller
Q80BD-J71LP21G (Optical loop) on another station 3
CONFIGURATION AND
CC-Link IE Controller Network board
BASIC OPERATIONS
Driver QCPU
SW1DNC-MNETG-B
A80BDE-J61BT13 (Optical loop)
A80BDE-J61BT11 (Optical loop) Programmable controller
SCREEN
on another station
GX Works2
(SW1DNC-GXW2-E) CC-Link IE Field Network board
Driver QCPU 4
SW1DNC-CCIEF-J
Q81BD-J71GF11-T2 Programmable controller
MANAGEMENT
on another station
LCPU/
PROJECT
Communication
head module
Programmable controller
Section 2.2.1 on another station
PROGRAMS
A80BD-J61BT13
on another station
EDITING
LCPU
Programmable controller
Section 2.2.1 on another station 6
CC-Link Ver.2 board
Driver QCPU
SW1DNC-CCBD2-B PARAMETERS
Q80BD-J61BT11N Programmable controller
SETTING
on another station
LCPU
Programmable controller 7
on another station
Ethernet board
SETTING DEVICE
Driver
Driver supplied QCPU
with commercially
available
MEMORY
LCPU
8
Programmable controller
on host/another station
SETTING DEVICE
INITIAL VALUES
FXCPU
Programmable controller
on another station
2 - 13
GX Works2
2 SYSTEM CONFIGURATION
1
2.3 Interfaces and Connectable Modules
OVERVIEW
Q CPU L CPU Remote Head FX
This section explains details of the modules that can be connected from the USB port, serial port, and each I/F
board.
2
CONFIGURATION
Modules connectable from USB port
SYSTEM
The following table shows the modules that can be connected from the USB port.
Q series, L series
Programmable controller series Module model 3
CONFIGURATION AND
Q00UJ, Q00U, Q01U, Q02H, Q02U, Q03UD, Q03UDE, Q04UDH,
BASIC OPERATIONS
Q04UDEH, Q06H, Q06UDH, Q06UDEH, Q10UDH, Q10UDEH, Q12H,
Q series
Q13UDH, Q13UDEH, Q20UDH, Q20UDEH, Q25H, Q26UDH, Q26UDEH,
Q50UDEH, Q100UDEH
SCREEN
L series L02, L02-P, L26-BT, L26-PBT, and LJ72GF15-T2
FX series
Connection
4
Module name Module model
route
FX-USB-AW*1 FX0, FX0S, FX0N, FX1S, FX1N, FX1NC, FX2N, FX2NC, FX3U, FX3UC
MANAGEMENT
Programmable controller
main unit USB direct
PROJECT
FX3G, FX3GC
connection
USB direct
USB expansion board FX3U-USB-BD
connection*1
*1 : As FXCPU uses the serial USB conversion driver software, specify the COM port number of the RS-
5
232 in the connection destination setting.
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
2 - 15
GX Works2
2 SYSTEM CONFIGURATION
The following table shows the modules that can be connected from the serial port.
Programmable
Module name Module model
controller series
Q00J, Q00UJ, Q00, Q00U, Q01, Q01U, Q02(H), Q02U, Q03UD,
Programmable controller CPU
Q04UDH, Q06H, Q06UDH, Q10UDH, Q12H, Q13UDH,
module
Q20UDH, Q25H, and Q26UDH
QJ71C24, QJ71C24-R2, QJ71C24N, QJ71C24N-R2, and
Q series Serial communication module*1 QJ71C24N-R4
MELSECNET/H network
QJ72LP25 and QJ72BR15
remote I/O module
G4 module AJ65BT-G4-S3 and AJ65BT-R2N
Programmable controller CPU
L02, L02-P, L26-BT, and L26-PBT
module
L series*2
Serial communication module*1 LJ71C24 and LJ71C24-R2
G4 module AJ65BT-G4-S3 and AJ65BT-R2N
FX0, FX0S, FX0N, FX1, FXU, FX2C, FX1S, FX1N, FX1NC, FX2N,
FX series*3 Programmable controller main unit
FX2NC, FX3G, FX3GC, FX3U, and FX3UC
*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.
Q Corresponding Serial Communication Module Users Manual (Basic)
MELSEC-L Serial Communication Module Users Manual (Basic)
<Q series>
: Applicable : Not applicable
1:1 system Multi-dropped connection
Model Interface
configuration 1st module nth module
QJ71C24N CH1 RS-232
QJ71C24 CH2 RS-422/485
CH1 RS-232
QJ71C24N-R2
QJ71C24-R2 CH2 RS-232 (Function version B
or later)
CH1 RS-422/485
QJ71C24N-R4
CH2 RS-422/485
<L series>
: Applicable : Not applicable
1:1 system Multi-dropped connection
Model Interface
configuration 1st module nth module
CH1 RS-232
LJ71C24
CH2 RS-422/485
CH1 RS-232
LJ71C24-R2
CH2 RS-232
2 - 16
2.3 Interfaces and Connectable Modules
The following table shows the modules that can be connected from the MELSECNET/H board.
OVERVIEW
Programmable
I/F board model Module model
controller series
Q80BD-J71LP21-25
QJ71LP21, QJ71LP21G, QJ71BR11, QJ71LP21-25 and
Q80BD-J71LP21G Q series
Q80BD-J71BR11
QJ71LP21S-25
2
CONFIGURATION
Modules connectable from CC-Link IE Controller Network board
SYSTEM
The following table shows the modules that can be connected from the CC-Link IE Controller Network
board.
3
Programmable
I/F board model Module model
CONFIGURATION AND
controller series
BASIC OPERATIONS
Q80BD-J71GP21-SX
Q series QJ71GP21-SX and QJ71GP21S-SX
Q80BD-J71GP21S-SX
SCREEN
Modules connectable from CC-Link IE Field Network board
4
The following table shows the modules that can be connected from the CC-Link IE Field Network
board.
MANAGEMENT
PROJECT
Programmable
I/F board model Module model
controller series
Q series QJ71GF11-T2
Q81BD-J71GF11-T2
L series LJ72GF15-T2 and LJ71GF11-T2
5
PROGRAMS
EDITING
The following table shows the modules that can be connected from the CC-Link Ver.1 board.
Programmable
I/F board model
controller series
Module model
6
A80BD-J61BT11
Q series QJ61BT11 and QJ61BT11N
A80BD-J61BT13
PARAMETERS
SETTING
The following table shows the modules that can be connected from the CC-Link Ver.2 board. 7
Programmable
SETTING DEVICE
8
SETTING DEVICE
INITIAL VALUES
2 - 17
GX Works2
2 SYSTEM CONFIGURATION
The following table shows the modules that can be connected from the Ethernet board.
Programmable
I/F board model Module model
controller series
QJ71E71, QJ71E71-B2, QJ71E71-100, QJ71E71-B5,
Q series Q03UDE, Q04UDEH, Q06UDEH, Q10UDEH, Q13UDEH,
Ethernet board built-in a personal Q20UDEH, Q26UDEH, Q50UDEH, and Q100UDEH
computer or commercially available
L series L02, L02-P, L26-BT, and L26-PBT
FX series FX-ENET series
2 - 18
2.4 System Configuration with Memory Card in Personal Computer
1
2.4 System Configuration with Memory Card in Personal Computer
OVERVIEW
Q CPU L CPU Remote Head FX
This section explains the system configuration when accessing from the personal computer with the memory
card in the personal computer.
2
Loading memory card into PC card slot
CONFIGURATION
When loading a Q series memory card into the PC card slot, the following adapter is required.
SYSTEM
Product name Model name Manufacture name
PC card adapter Q2MEM-ADP Mitsubishi Electric Corporation
CONFIGURATION AND
BASIC OPERATIONS
controller CPU, data can be written or read by loading the memory card to personal computer.
: Applicable : Not applicable
SCREEN
Function PLC series Memory card Windows2000 WindowsXP Windows Vista Reference
SRAM card *1
IC memory
card data write/
Q series ATA card
Section 4
Flash card 12.11.1
read
SD card
L series
MANAGEMENT
memory
PROJECT
*1 : When using a SRAM card, set the driver to CONFIG.NT.
(For details, refer to HELP of Windows)
When using an ATA card, Windows recognizes it automatically.
If the ATA card cannot be recognized, select [Control Panel] [System] to set the personal 5
computer.
If the driver for SRAM card is set to CONFIG.NT, cancel the setting.
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
2 - 19
GX Works2
2 SYSTEM CONFIGURATION
2 - 20
1
OVERVIEW
3 SCREEN CONFIGURATION 2
CONFIGURATION
SYSTEM
This chapter explains the screen configuration and basic operations of GX Works2.
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
3.1 Starting and Exiting GX Works2. . . . . . . . . . . . . . . . . . . . . . . . 3-2
4
3.2 Screen Configuration and Basic Operations . . . . . . . . . . . . . 3-3
MANAGEMENT
3.3 Selecting Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-27
3.4 Help Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
3 -1
GX Works2
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
3.2 Screen Configuration and Basic Operations
1
3.2 Screen Configuration and Basic Operations
OVERVIEW
Q CPU L CPU Remote Head FX
This section explains the main frame (basic screen) of GX Works2 that is displayed when it is started up.
2
3.2.1 Main frame configuration
CONFIGURATION
SYSTEM
The following screen shows a main frame configuration in which a work window and docking windows
are displayed.
Screen display 3
CONFIGURATION AND
BASIC OPERATIONS
Title bar
Menu bar
SCREEN
Toolbar
Function Block
Selection window
Navigation 4
window
MANAGEMENT
Work window
PROJECT
Docking window
5
PROGRAMS
EDITING
Status bar
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
Display contents
Name Description Reference
Title bar Display a project name.
Menu bar Display menu options for executing each function.
Toolbar Display tool buttons for executing each function. Section 3.2.2
A main screen used for operations such as
Work window Section 3.2.3
programming, parameter setting, and monitoring
A sub screen to support operations performed on a
Docking window Section 3.2.4
work window
Navigation window Display contents of a project in tree format. Section 3.2.5
GX Works2 Version 1
Display a list of functions (such as function blocks) Operating Manual
Function Block Selection window
used for programming. (Simple Project, Function Block)
(Structured Project)
GX Works2 Version 1
Display compilation and check results (errors and Operating Manual
Output window
warnings). (Simple Project)
(Structured Project)
Cross Reference window Display cross reference results. Section 10.1
Device List window Display the device list. Section 10.2
CC-Link Device Reference Display assignments of refresh devices and link
Section 6.2.4
window devices specified for the CC-Link parameter.
A screen used for monitoring and changing current
Watch window 1 to 4 Section 14.6
device values.
GX Works2 Version 1
Intelligent Function Module Screens used for monitoring intelligent function
Operating Manual
Monitor 1 to 10 modules.
(Intelligent Function Module)
A screen used for searching and replacing character
Find/Replace window Section 10.3
strings in the project.
Status bar Display information about a project being edited. Section 3.2.6
1) For Windows Vista, select [Start] [Control Panel] [Ease of Access] [Ease of Access Center].
For Windows 7, select [Start] [Control Panel] [Ease of Access Center].
2) Select "Make the keyboard easier to use".
3) Select "Underline keyboard shortcuts and access keys".
3.2.2 Toolbars 1
A toolbar is a block of on-screen buttons for executing frequently-used functions included in a menu.
OVERVIEW
( Appendix 1)
The toolbars to be displayed and their display positions on the screen can be set by the user.
2
Displaying/hiding toolbars
CONFIGURATION
Select a toolbar to be displayed.
SYSTEM
Operating procedure
1. Select [View] [Toolbar] [(toolbar name)]. 3
CONFIGURATION AND
The selected toolbar is displayed on the screen.
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
3.2.2 Toolbars 3 -5
GX Works2
Docking/floating toolbars
Floating a toolbar
Display a toolbar floating from the main frame.
Operation
Drag a docked toolbar to the desired position for floating display.
3 -6 3.2.2 Toolbars
3.2 Screen Configuration and Basic Operations
Docking a toolbar 1
Display a toolbar docked to the main frame.
Operation
OVERVIEW
Drag the title bar of a floating toolbar and drop it in the main frame.
CONFIGURATION
SYSTEM
Drag and drop
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
PROJECT
5
PROGRAMS
Method for docking a toolbar at the original position
EDITING
To dock a floating toolbar back at the original position, double-click on the title bar of the toolbar.
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
3.2.2 Toolbars 3 -7
GX Works2
Customizing toolbars
2. Select the check box in front of the tool button to be displayed on the screen.
The selected 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
3.2 Screen Configuration and Basic Operations
A work window is a main screen used for operations such as programming, parameter setting, and
OVERVIEW
monitoring in GX Works2.
Screen display
Tab Tool hint Scroll button
2
CONFIGURATION
SYSTEM
Switching button
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
Display contents
MANAGEMENT
PROJECT
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.
5
Tab
Right-click
PROGRAMS
EDITING
Tool hint Display a brief explanation when the cursor is placed on the selected tab. 6
Scroll the tab display to the left and right.
Scroll button
Display hidden tabs.
Display the list of windows being displayed. PARAMETERS
Switching button
Select a data name displayed on the list to display its corresponding window on the top.
SETTING
Display windows Display screens such as the program editor, label setting editor, and monitoring screen.
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
Maximizing/minimizing screens
Operation
Click the Maximize button ( ).
Click
OVERVIEW
Click
2
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
Click 8
SETTING DEVICE
INITIAL VALUES
Arranging screens
Operation
Select [Window] [Cascade].
Operation
Select [Window] [Tile Vertically].
OVERVIEW
2
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
Arranging icons (minimized windows) at the bottom of the work window
PROJECT
Operation
Select [Window] [Arrange Icons]. 5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
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].
OVERVIEW
Displaying/Hiding docking windows
2
Display/hide a docking window.
CONFIGURATION
Operating procedure
SYSTEM
Select [View] [Docking Window] [(target item)].
3
Docking/floating docking windows
CONFIGURATION AND
BASIC OPERATIONS
Switch the display format of a docking window.
SCREEN
Docking display
Display a docking window docked to the main frame.
Floating display 4
Display a docking window floating from the main frame.
MANAGEMENT
Operation
Drag the title bar of a floating docking window and drop it to the guidance in the main frame.
PROJECT
5
PROGRAMS
Drag and drop
EDITING
6
Drag the docking window to the guidance. A new tab appears after the window is docked.
The docked window is floated by dragging the title bar to the desired position. PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
Docking display
Double-click
Double-click
Floating display
OVERVIEW
Operating procedure
Click the window minimized mode switching icon ( / ). 2
CONFIGURATION
Window minimized switching icon
Docking window display in
Normal display Window minimized mode window minimized mode
SYSTEM
Only the tab is Placing the cursor
displayed in on the tab displays 3
window the window.
CONFIGURATION AND
BASIC OPERATIONS
minimized
mode.
SCREEN
The window is displayed normally
after disabling window minimized 4
mode.
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
This section explains the Navigation window that displays the contents of a project in tree format.
Operations such as creating new data and 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 Display a title of a view being displayed.
Display tool buttons of functions to be executed in
Toolbar Appendix 1
each view.
View selection area Area for selecting a view to display.
Project Display the Project view. Section 4.2.1
GX Works2 Version 1
User Library Display the User Library view. Operating Manual
(Structured Project)
Connection Destination Display the Connection Destination view. Section 11.1.1
Sorting data 1
OVERVIEW
Operating procedure
1. Open a folder in the Navigation window and select the data for sorting.
2
2. Right-click and select [Sort] [(sort type)] from the shortcut menu.
CONFIGURATION
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
SYSTEM
ascending and descending.
The following table shows the sort types.
Type Description
Sort the data in the Task folder in the Program setting according to the
3
*1
Execution Order
CONFIGURATION AND
execution order.
BASIC OPERATIONS
Name Sort the data in the selected folder according to the name.
Date Sort the data in the selected folder according to the update date.
SCREEN
Sort the data in the selected folder according to the programming language
Language
type.
POU Type*2 Sort the data in the selected folder according to the POU type.
4
*1 : Tasks of Structured project only
*2 : FB/FUN of Structured project only
MANAGEMENT
PROJECT
Expanding all uncompiled data
Expand all uncompiled data exist in the Project view and User Library view. 5
Operating procedure
1. Click on the toolbar.
PROGRAMS
EDITING
2. Select [Expand All Uncompiled Data].
All uncompiled data are expanded and become selectable status. 6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
Collapsing tree
The status bar displays information about the current project at the bottom of the screen.
OVERVIEW
Connection Project Project Programmable Connection Insert/ Caps Num
Security information Cursor position
time language type controller type destination Overwrite Lock Lock
2
The following shows the information to be displayed.
CONFIGURATION
Item Description
Connection time Display the connection duration of the phone line.
SYSTEM
Project language Display the language set for the language selection.
Display the project type.
Unlabeled : Simple project (without labels)
Project type
Simple : Simple project (with labels) 3
Structured : Structured project
CONFIGURATION AND
BASIC OPERATIONS
Security information Display the login user name when security is set for the project.
Programmable controller type Display the programmable controller type of the project.
Connection destination Display the set content of the Transfer Setup screen.
SCREEN
Cursor position Display the cursor position in the editing screen.
Insert/Overwrite Display the current mode (insert or overwrite).
Caps Lock Display the effective status of the Caps Lock.
4
Num Lock Display the effective status of the Num Lock.
MANAGEMENT
Displaying/hiding status bar
PROJECT
Display/hide the status bar.
Operating procedure 5
Select [View] [Statusbar].
PROGRAMS
A check mark is appended in front of the menu option and the status bar is displayed on the
EDITING
screen.
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
Change the color and font settings on program editors and label editors.
Screen display
Select [View] [Color and Font].
Operating procedure
1. Set the items on the screen.
Item Description
Target Select the change target work window.
Font Setting Change font settings.
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 button to select the desired font.
Color Setting
Color Setting Items Select the change target item and color.
1
Screen button
OVERVIEW
Displays the Font screen.
The font type, style, and size can be customized.
Some font styles and sizes, however, cannot be set depending on target work windows.
2
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
Displays the Color screen.
The color can be customized. The created color is added as "Custom" in the color selection field of
MANAGEMENT
the Color and Font screen. Only one color can be added as "Custom".
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
Font setting
Some fonts may be displayed as garbled characters.
Change the setting to another font if this happens.
8
SETTING DEVICE
INITIAL VALUES
Screen button
OVERVIEW
CONFIGURATION
The Enter Template Name screen is displayed.
Register the assigned shortcut keys as a template with a desired name.
The registered template is displayed in "Template".
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
Assigning shortcut keys
SCREEN
Up to three shortcut keys can be assigned to one function. The shortcut key displayed on the top in "Current Key"
is displayed on the menu.
Templates
The maximum file name length for a template is 24 characters. 4
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
Registering templates
Screen button
Deletes a template selected in "Template".
Imports a pre-saved template file (*.gks) and adds it to "Template".
Saves a template selected in "Template" as a template file (*.gks).
1
3.3 Selecting Language
OVERVIEW
Q CPU L CPU Remote Head FX
This section explains how to select a language used for project data (such as device comments, statements,
and notes).
By selecting a language of the project, data can be created in a language other than English. 2
Data created in another language can be displayed without character corruption.
CONFIGURATION
For restrictions when selecting a project language, refer to Appendix 17.
SYSTEM
Screen display
Select [Tool] [Language Selection].
3
< Before creating a new project > < When editing a project >
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
PROJECT
5
PROGRAMS
Operating procedure
EDITING
1. Set the items on the screen.
Item Description 6
Project Language Select the language of the project.
Save the project (Overwrite save) Select this to save the project before changing the project language.
PARAMETERS
SETTING
change will be canceled. In such case, change data names or label names according to the error message
displayed on the Output window.
For data names which causes the cancellation of project language change when characters other than
alphanumeric characters are used, refer to Appendix 16.1. 8
Precautions when changing project language
The project language change function does not change the characters on setting menus and screens.
SETTING DEVICE
INITIAL VALUES
To display characters on setting menus and screens in another language, use the specific version of GX Works2
that supports the language.
3 - 27
GX Works2
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
Help for instructions*1
Help for special relays/special registers
Help for CPU errors
Error codes for CPU module communication
Changes from GX Developer
List of shortcut keys
*1 : Not supported by FXCPU.
For details, refer to FXCPU programming manuals.
Screen display
Select [Help] [GX Works2 Help] ( ).
Tab
OVERVIEW
Enter a keyword in the keyword entry field on the standard toolbar of GX Works2, and press the key to
display the help items searched by the keyword.
CONFIGURATION
Keyword entry field
The help items can also be displayed by the screen title by pressing the key with the selected screen such
SYSTEM
as Navigation window, program editor, and Function Block Selection window of GX Works2. (Some screens do not
support the key function.)
Instruction help
Instructions which are supported by the instruction help function are common instructions and application
3
CONFIGURATION AND
functions.
BASIC OPERATIONS
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
SCREEN
item to display the help.
MANAGEMENT
PROJECT
When the selected instruction contains a special relay or special register, the Help References screen is displayed.
Select a keyword displayed and click the button.
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
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
Set the items on the screen.
Item Description
Startup
Restore the previous status at the start Select this to activate the GX Works2 help function with the state of
of Help previous operation.
Window
Select this to set the GX Works2 help function in the task tray when the
GX Works2 help window is minimized.
Add help icon to the System Tray
When this item is selected and the GX Works2 help window is
when window is minimized
minimized, the GX Works2 help function can be activated from the task
tray.
Tab
Switch tab by rolling mouse wheel on Select this to switch tabs with the mouse wheel when the cursor is on
tab the tab.
OVERVIEW
Operating procedure
Select [Help] [About]. 2
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
MEMO
OVERVIEW
4 PROJECT MANAGEMENT 2
CONFIGURATION
This chapter explains basic operations and management of projects.
SYSTEM
3
CONFIGURATION
AND BASIC
SCREEN
4.1 GX Works2 Project Management . . . . . . . . . . . . . . . . . . . . . . . 4-2
4
4.2 Project Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
MANAGEMENT
4.3 Operations of Programmable Controller CPU Data . . . . . . . 4-31
PROJECT
4.4 Operations of Intelligent Function Module Data. . . . . . . . . . 4-40
4.5 Changing Project Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-41
4.6 Managing Project Revisions . . . . . . . . . . . . . . . . . . . . . . . . . 4-42
4.7 Utilizing Projects and Data in Other Formats . . . . . . . . . . . . 4-48 5
4.8 Saving projects in other formats . . . . . . . . . . . . . . . . . . . . . . 4-54
4.9 Starting GX Developer from GX Works2 . . . . . . . . . . . . . . . . 4-55
PROGRAMS
4.10 Setting Security for Projects . . . . . . . . . . . . . . . . . . . . . . . . 4-56
EDITING
4.11 Protecting POUs in Projects. . . . . . . . . . . . . . . . . . . . . . . . . 4-66
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4 -1
GX Works2
4 PROJECT MANAGEMENT
Ethernet
MELSECNET/10(H)
OVERVIEW
<Data in the GX Works2 data folder>
CONFIGURATION
SYSTEM
<Data in the Workspace 1 folder>
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
Save destination folder A folder specified for the save folder path when the project is saved. 4
Workspace name folder A folder corresponds to the workspace name specified when the project is saved.
Project name folder A folder corresponds to the project name specified when the project is saved.
MANAGEMENT
workspacelist.xml A file created automatically when the project is saved.
PROJECT
projectlist.xml A file created automatically when the project is saved.
Do not change or delete workspace configuration or project using an application such as Windows
Explorer.
5
If a data name is changed or deleted using an application such as Windows Explorer and 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].
PROGRAMS
EDITING
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). 6
Copy the workspace name folder and "workspacelist.xml".
PARAMETERS
When "workspacelist.xml" ( 4 above) or "projectlist.xml" ( 5 above) does not exist in the folder by
SETTING
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.
7
When a file other than "workspacelist.xml" or "projectlist.xml" is missing, the project may not be
SETTING DEVICE
opened.
MEMORY
Restrictions
Opening a project forcibly by selecting "All Folders"
The following operations cannot be performed.
Register, Restore, and Verify functions of project revision history
8
Security user management
SETTING DEVICE
However, the above restrictions are invalidated by selecting [Project] [Save As], and saving the project.
4 PROJECT MANAGEMENT
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.1.3 Project 1
Project contents displayed in the Project view in tree format are as follows.
OVERVIEW
Contents displayed in the view differs according to the types of programmable controller and project.
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) 2
(Structured) ...........GX Works2 Version 1 Operating Manual (Structured Project)
CONFIGURATION
(Intelligent) ............GX Works2 Version 1 Operating Manual (Intelligent Function Module)
The following are examples for QCPU (Q mode).
SYSTEM
<Simple project (without labels)>
Set various parameters. Chapter 6
*1 Make settings for the intelligent function modules. (Intelligent) 3
Set global device comments. Chapter 9
CONFIGURATION AND
BASIC OPERATIONS
*2
SCREEN
Set an execution type of each program. Section 6.1.1
MANAGEMENT
Create programs.*3 (Simple)
PROJECT
Set local device comments. Chapter 9
Make settings for device memory. Chapter 7
*1
Set device initial values. Chapter 8
5
*1 : For FXCPU, this item is not displayed.
*2 : For FXCPU, execution types are not categorized. The only one category 'Execution Program' is
displayed.
PROGRAMS
*3 : For FXCPU, a single execution program can be created in either ladder or SFC language.
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4.1.3 Project 4 -5
GX Works2
4 PROJECT MANAGEMENT
<Structured project>
Set various parameters. Chapter 6
*1 Make settings for the intelligent function modules. (Intelligent)
Set global device comments. Chapter 9
Set global labels. (Structured)
*2
4 -6 4.1.3 Project
4.1 GX Works2 Project Management
Program Setting
OVERVIEW
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) 2
Example) Set the execution type of MAIN to 'Scan Program' with the drag-and-drop operation.
CONFIGURATION
<Project view> <Setting screen for PLC parameter>
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
Drag & drop
SCREEN
4
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4.1.3 Project 4 -7
GX Works2
4 PROJECT MANAGEMENT
Operating procedure
1. Set the items on the screen.
Item Description
Select the type of the project to be created.
Project Type
Select "Simple Project" or "Structured Project".
Use Label Select this to create a project using labels when "Simple Project" is selected.
PLC Series Select the programmable controller series for the project.
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
PLC Type
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.
OVERVIEW
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
2
The TEMP folder set by environment variable.
CONFIGURATION
Example) C:\Documents and Settings\(login user name)\Local Settings\Temp
If the access authority cannot be changed, right-click the GX Works2 program and select [Run as administrator].
SYSTEM
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 3
such as Windows Explorer.
CONFIGURATION AND
BASIC OPERATIONS
For details of workspace/project configuration, refer to Section 4.1.1.
Common pointer number setting for projects with labels
When a project with labels is created, the last half of the device range of pointer (P) is set for "Common Pointer
SCREEN
No." on the <<PLC System>> tab of the PLC parameter. This range is set as a pointer range in the device/label
automatic-assign setting.
For details of the device/label automatic-assign setting, refer to the following manuals.
GX Works2 Version 1 Operating Manual (Simple Project) 4
GX Works2 Version 1 Operating Manual (Structured Project)
Connection destination
MANAGEMENT
When creating a new project, the connection destination is set to the route set for "Current Connection" in the
previously-edited project. Review the connection destination setting to change the previously-edited project and
PROJECT
the connection destination.
When creating a new project after installing GX Works2 for the first time, the setting is set to access the
programmable controller CPU directly.
Creating a new SFC project with FXCPU
When 'SFC' is selected in "Language" with FXCPU, the Block Information Setting screen is displayed.
5
When an SFC project is created with FXCPU, a ladder needs to be created using ladder blocks to start up an initial
step of the SFC program. Select "Ladder Block" in "Block Type", and create a startup ladder using ladder blocks.
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
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. Start GX Works2 and select [Online] [Read from PLC].
The PLC Series Selection screen is displayed.
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.
OVERVIEW
Q CPU L CPU Remote Head FX
Read a project saved in a hard disk or other memory media of a personal computer.
Screen display
2
Select [Project] [Open] ( ).
CONFIGURATION
< Opening a project in the workspace format > < Opening a project in the single file format >
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
Operating procedure
PROJECT
1. Set the items on the screen.
Item Description
Enter the folder (drive/path) where the workspace is saved.
5
Workspace Location The folder can be selected in the Browse For Folder screen by clicking the
button.
PROGRAMS
Select the workspace or project.
Workspace/Project List
The display is switched to the project list by double-clicking "Workspace".
EDITING
Select this to display folders for GX Works2 projects only, folders for GX Developer
projects only, or all folders.
Display By selecting "All Folders" also displays workspace folders and project folders copied/
moved by the application such as Windows Explorer.
6
Workspace Name Display the selected workspace name.
Project Name Display the selected project name.
PARAMETERS
Title Display the title of the selected project.
SETTING
displayed.
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
Screen button
Displays the Browse For Folder screen.
Switches to the Open screen in the single file format.
Switches to the Open screen in the workspace format.
OVERVIEW
Q CPU L CPU Remote Head FX
2
Saving projects under the specified name
CONFIGURATION
Save the open project under the specified name.
SYSTEM
Screen display
Select [Project] [Save As].
3
CONFIGURATION AND
< Saving a project in the workspace format > < Saving a project in the single file format >
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
PROJECT
5
Operating procedure
PROGRAMS
1.
EDITING
Set the items on the screen.
Item Description
Enter the folder (drive/path) where the workspace is saved. 6
Save Location The folder can be selected in the Browse For Folder screen by clicking the
button.
Workspace/Project List
Select the workspace or project. PARAMETERS
The display is switched to the project list by double-clicking "Workspace".
SETTING
Include security*1
( Section 4.10)
MEMORY
*1 : This setting can be set only when saving the already existing project with another name.
4 PROJECT MANAGEMENT
Screen button
Displays the Browse For Folder screen.
Switches to the Save As screen in the single file format.
Switches to the Save As screen in the workspace format.
Saving projects
OVERVIEW
Q CPU L CPU Remote Head FX
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. 2
This function is not compatible with commercially available file compression and decompression tools.
CONFIGURATION
Saving projects with compression
SYSTEM
Save a desired project with compression.
Screen display 3
CONFIGURATION AND
BASIC OPERATIONS
Select [Project] [Compress/Unpack] [Compress].
SCREEN
4
MANAGEMENT
PROJECT
5
PROGRAMS
Operating procedure
EDITING
1. Set the items on the screen.
Item Description 6
Choose a Workspace to Compress
Enter the folder (drive/path) where the workspace is saved.
Workspace Location The folder can be selected in the Browse For Folder screen by clicking the PARAMETERS
SETTING
button.
Workspace/Project List Select the workspace and project.
Workspace Name Display the selected workspace name.
Project Name Display the selected project name. 7
Choose a Destination Folder
SETTING DEVICE
Enter the folder where the compressed file is saved, and the compressed file name.
Compressed File Name The compressed file name can be specified in the Compressed File Name screen by
clicking the button.
MEMORY
Include revisions Select this to succeed and save the project revision information. ( Section 4.6)
Split into volumes of the following Select this to save data in multiple compressed files. Specify the split size in the range
size from 1 to 999MB.
8
2. Click the button.
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
Operating procedure
1. Set the items on the screen.
Item Description
Choose a File to Unpack
Enter the folder (drive/path) in which the compressed file to be unpacked is saved, and
the compressed file name.
Compressed File Name The compressed file name can be specified in the Compressed File Name screen by
clicking the button.
Choose a Destination Folder
Enter the folder (drive/path) to which the project to be unpacked is saved.
Workspace Location The folder can be selected in the Browse For Folder screen by clicking the
button.
Workspace/Project List Select the workspace and project.
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.
Screen button
Unpacks a compressed project file and opens the project.
OVERVIEW
A compressed file can also be unpacked on the Unpack screen which is displayed by double-clicking the
compressed file (*.gwz) on Windows Explorer.
Names of divided compressed files
When a project is saved into divided compressed files, a number is automatically added after the extension in each
name of the second or later compressed files as follows.
2
CONFIGURATION
Name of the first file
Name of the second file
Name of the third file
SYSTEM
Name of the fourth file
CONFIGURATION AND
BASIC OPERATIONS
4.2.5 Deleting projects
SCREEN
Q CPU L CPU Remote Head FX 4
Delete a project saved in a hard disk or other memory media of a personal computer.
MANAGEMENT
Operating procedure
PROJECT
1. Select [Project] [Delete].
The Delete Project screen is displayed.
5
2. Select the project to be deleted.
PROGRAMS
3. Click the button.
EDITING
The selected project is deleted.
PARAMETERS
SETTING
Deleting projects 7
Once a project is deleted, it cannot be restored again.
The open project cannot be deleted. Delete the project after closing it.
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
1
Operating procedure
1. Click the button to set the verify destination project.
OVERVIEW
Item Description
Workspace Location Display the path to the workspace of the verify destination.
Display the workspace name of the verify destination.
Verify Destination Workspace Name This field will be blank when a project in the single file format is 2
Project specified for the verify destination project.
Project Name Display the project name of the verify destination.
CONFIGURATION
Title Display the project title of the verify destination.
SYSTEM
2. Set the items on the screen.
Item Description
Display project data of verify source (data being edited).
3
Verify Source
CONFIGURATION AND
Selects the data in the project data list.
BASIC OPERATIONS
<<File Selection>>
Display project data of verify destination (saved project data).
Verify Destination
Selects the data in the project data list.
Select SFC blocks in the SFC Block list.
SCREEN
<<SFC Block Selection>>*1, *2
4
MANAGEMENT
Select the parameter verification level.
PROJECT
Verifying parameters
<<Parameter>>*2
5
*1 : Simple projects only
*2 : Not supported by FXCPU.
PROGRAMS
EDITING
3. Click the button.
The verification result is displayed on the Verify Result screen.
Checking verification result details
6
Screen button
PARAMETERS
SETTING
7
Cancels the selection status of all the data selected in the project data list.
SETTING DEVICE
Updates the data displayed in the project data list.
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
Verifying programs
The verification function verifies the data created by the compilation. If the program is edited after the compilation,
compile the program again before performing the verification.
Data names of verification target data
When multiple data are selected for verification, verification is performed between the source and destination data
with the same name. However, device comments are verified only when their data names are same.
When only one source program is verified against one destination program, verification can be performed even
with different names.
Security status of project
Projects to which the security is set can be verified when both verify source data and verify destination data are not
read-protected.
Verifying intelligent function module parameters (initial setting/auto refresh)
Among modules without initial setting such as QD75/LD75 positioning modules, serial communication/modem
interface modules, and AS-i master modules, only modules in which the auto refresh is set are the verification
targets.
Verifying QD75/LD75 positioning modules
One module each for verify source and verify destination can be selected.
The following data can be selected as verification targets.
Parameter
Servo parameter (For QD75M/MH only)
Positioning data (Except for positioning comments and M code comments)
Block start data
Verifying parameters 1
OVERVIEW
2
The following table shows the verification details for each setting item.
CONFIGURATION
Item Description
User Setting Area Only Verify only the parameter area set by the user.
SYSTEM
All Area Verify all the area including the parameter area set by the system.
CONFIGURATION AND
Area", either of the following messages is displayed.
BASIC OPERATIONS
Take corrective action according to the message.
Message Corrective action
SCREEN
A mismatch is detected in other than user setting area.
The header information of the
Write the parameters, having been written to the programmable controller CPU, to
parameter blocks is inconsistent.
the programmable controller again.
Versions of GX Works2, GX Developer, or GX IEC Developer used to create the
4
This parameter block can't analyze. projects differ between the verify source and the verify destination.
The programmable controller CPU operation is not affected.
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
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
Double-click the row of the data to display the details of the Verify Result screen.
OVERVIEW
) / [Previous Unmatch]
( ).
Detail Verify Result tabs
The tab order can be changed by drugging and dropping <<Detail Verify Result>> tabs.
The screen returns from the <<Detail Verify Result>> tab to the <<Verify Result List>> tab by selecting [View]
2
[Return to Result List] ( ).
CONFIGURATION
The selected <<Detail Verify Result>> tab can be closed by selecting [View] [Close Detail Result] ( )/[Close
All Detail Result] ( ).
SYSTEM
Verifying device memory data
Device memory data are verified with the actual values.
Even when the display formats of data are different on the device memory editor, the result of verification on the
same value will be a match. 3
Devices to which a value is not set on the device memory editor
CONFIGURATION AND
BASIC OPERATIONS
Devices to which a value is not set on the device memory editor are verified as a value 0.
Therefore, if 'device memory data to which devices are not set' and 'device memory data to which devices are
entered without setting device values' are verified, the verification result will be a match.
SCREEN
< Device memory data to which devices are not set > < Device memory data without setting device values >
Verify
4
< Verification result >
MANAGEMENT
PROJECT
Direct input (DX) and direct output (DY)
When verifying device comments or device memory data, check the verification result with input (X)/output (Y) for
direct input (DX)/direct output (DY). 5
Number of verification results displayed
If the number of mismatches exceeds 1,000, up to 1,000 mismatch results are displayed and verification is
suspended after that. The remaining part needs to be verified again after modifying the mismatched data.
PROGRAMS
Copying verification results
Verification results can be copied and pasted to a text file. Select rows of verification result to be copied, and select
EDITING
[Edit] [Copy].
The copied data are pasted on a text file as data separated by tabs.
Jumping from verification result
When "Enable function block call 'from ladder to Structured Ladder/FBD or ST', and 'from Structured Ladder/FBD
6
or ST to ladder'" is selected under [Tool] [Options] "Compile" "Basic Setting", function block program items
with no difference may be indicated as a mismatch on the Verify Result screen.
In this case, check the mismatch part by any of the following methods. PARAMETERS
Checking labels/devices set to input/output variables of function block
SETTING
Open the source program from which function blocks are called, and check labels/devices.
Checking mismatch parts with the program verification result
Select items as shown below to verify programs.
7
SETTING DEVICE
MEMORY
Jumping from verification result of intelligent function module parameter (initial setting/auto refresh)
When different modes are set to the verify destination and the verify source for auto refresh of temperature control
module, jumping to verification result is not performed.
For setting the auto refresh of temperature control module, refer to the following manual. 8
GX Works2 Version 1 Operating Manual (Intelligent Function Module)
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
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.
OVERVIEW
Operating procedure
1. Select [Edit] [Write to CSV File] ( ).
The Write to CSV File screen is displayed. 2
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
2. Enter a file name.
MANAGEMENT
3.
PROJECT
Click the button.
The verification results are saved on a personal computer.
5
Formatting CSV file
The saved CSV file is displayed as shown below when it is opened by Excel.
< Display of the Verify Result screen >
PROGRAMS
EDITING
6
PARAMETERS
< CSV file >
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
Operating procedure
1. Set the items on the screen.
Item Description
PLC Series Select the programmable controller series after change.
PLC Type Select the programmable controller type after change.
Changing programmable controller type of projects which contain intelligent function modules (For QCPU
OVERVIEW
(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 2
series, refer to the following section.
Changing intelligent function modules between programmable controller series
CONFIGURATION
To change the model of an intelligent function module, select a module name in "Module Name After Change" on
SYSTEM
the following screen displayed at changing the programmable controller type.
To delete all intelligent function modules, select "Delete all after changing intelligent function module".
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
PROJECT
List of modifications (For QCPU (Q mode)/LCPU/communication head module)
After the Change PLC Type function is completed, the following List of Modifications screen is displayed, and the
changes of the program and parameters can be checked. 5
The items in the following screen can be copied and pasted to the text file using the + and +
keys.
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
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
OVERVIEW
controller series after change.
The following table shows modules which can be changed.
Module name 2
Module type LCPU/Communication head
QCPU (Q mode)
module
CONFIGURATION
Q64AD
Q68ADV
L60AD4
SYSTEM
Q68ADI
Q64ADH
Analog
Q62DAN
Q64DAN
Q68DAVN
L60DA4 3
CONFIGURATION AND
Q68DAIN
BASIC OPERATIONS
Q64TCTTN L60TCTT4
Q64TCTTBWN L60TCTT4BW
Temperature control
Q64TCRTN L60TCRT4
SCREEN
Q64TCRTBWN L60TCRT4BW
QD62 LD62
Counter
QD62D LD62D 4
QD75P1
QD75P2
MANAGEMENT
QD75P4
QD75P1N LD75P1
PROJECT
QD75P2N LD75P2
QD75P4N LD75P4
QD75/LD75 positioning
QD75D1 LD75D1
QD75D2 LD75D2
QD75D4 LD75D4 5
QD75D1N
QD75D2N
QD75D4N
PROGRAMS
Serial communication/ QJ71C24N LJ71C24
EDITING
Modem interface QJ71C24N-R2 LJ71C24-R2
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
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.
1
4.3 Operations of Programmable Controller CPU Data
This section explains how to operate each data in a project.
OVERVIEW
4.3.1 Adding new data to the project 2
CONFIGURATION
Q CPU L CPU Remote
FX Head
FX FX
SYSTEM
The data that can be added differs according to the type of programmable controller or project.
Screen display
3
Select [Project] [Object] [New].
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
PROJECT
5
Operating procedure
PROGRAMS
1.
EDITING
Set the items on the screen.
Item Description
Data Type Select the type of the data to be added. 6
Data Name Enter the name of the data to be created.
Select the programming language for creating programs.
Program Language Selection is allowed only when the data type is either of the following: PARAMETERS
Program (program block), Function*1 or Function block*2
SETTING
Result Type*1 Set the data type of return value of the function.
This item can be set when a function or function block is selected.
Inherent Property For details of check box items, refer to the following manual.
GX Works2 Version 1 Operating Manual (Structured Project)
7
*1 : Structured projects only
SETTING DEVICE
8
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
OVERVIEW
Q CPU L CPU Remote Head FX
CONFIGURATION
2. Select [Project] [Object] [Copy].
SYSTEM
The selected data name is copied.
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
3. Select a folder to paste the data name in the Project view.
4
4. Select [Project] [Object] [Paste].
If the same data name exists in the paste destination
MANAGEMENT
or when the data name cannot be used for the project
PROJECT
in the paste destination because the project language Select a folder
PROGRAMS
EDITING
5. Enter a new name in the "Data Name After Paste" field, and click the
6
button.
The data name is pasted.
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
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 are not possible. If they are copied individually, the
whole parameter files are copied and the files in the pasted destination are overwritten.
Deleting data
Multiple data can be selected and deleted.
When data under the POU are deleted, data under the Program Setting are deleted simultaneously.
OVERVIEW
Q CPU L CPU Remote
FX Head
FX FX
Merge ladder programs or device comment data of multiple projects, and add them to a project.
When the programmable controller series of the projects are the same, data can be merged even if
data's programmable controller types or project types are different. 2
< Image of merging programs >
CONFIGURATION
Remove the END instructions,
and merge ladder programs by
the order of selection.
SYSTEM
END instruction MAIN
MAIN 1
MAIN 1
Order of selection
on the Merge Data MAIN 2
END instruction
3
MAIN 2
CONFIGURATION AND
screen. END instruction
BASIC OPERATIONS
END instruction appended
MAIN 3 MAIN 3
SCREEN
Screen display
Select [Tool] [Merge Data].
4
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
Operating procedure
SETTING DEVICE
Item Description
Data Type Specify the data type to be merged.
Ladder Program Select this to merge ladder programs.
8
Device Comment Select this to merge device comments.
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
Screen button
Adds data selected in "Source Data List" to "Target Data List".
Adds all data displayed in "Source Data List" to "Target Data List".
Deletes data selected in "Target Data List".
Deletes all data displayed in "Target Data List".
Displays the Set Range screen.
Set the range of programs selected in "Target Data List".
The range cannot be set when the source project or the target project is a project with labels.
OVERVIEW
comments of projects with labels.
< Program of project with labels > < Device comment >
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
Data to be merged
Data saved on a personal computer are merged. Save the project data being edited in order to merge them.
If the merged data exceeds the program capacity, the data are merged within the program capacity.
SCREEN
Example) When merging three programs: MAIN1, MAIN2, and SUB3
In the setting of the following screen, the programs are merged from MAIN1. After merging MAIN1 and MAIN2, if
the result of merging SUB3 exceeds the program capacity, only MAIN1 and MAIN2 are merged.
4
MANAGEMENT
PROJECT
Merging program data when the target project is a project without labels
When the target project is a project without labels, data of program with labels are merged as a program of actual
devices. Furthermore, uncompiled programs in a project with labels of source project are not displayed in "Source 5
Data List".
Merging data during monitoring
Data cannot be merged during monitoring. Stop monitoring to merge data.
PROGRAMS
Merging programs
EDITING
When the programmable controller types of the source project and the target project are different, instructions and
devices which cannot be used for the programmable controller type of the target project are merged as the way
they are.
Check the merged program for errors with the program check function or the compilation. 6
For projects with labels, the local label settings are also merged when programs with labels are merged. However,
since the global label settings are not merged, set labels after programs are merged, or copy the global label data
from the source project.
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
Display data properties of folders, parameters, and programs. A title and/or comment can be set to
each data.
Screen display
For property of project
Click in the Project view.
For property of each data
Select [Project] [Object] [Property] ( ).
<<Detail>> <<Comment>>
Operating procedure
Set the items on the screen.
Item Description
Data Name Display the data name.
Set a title for the data.
Title*1 (The number of applicable characters is 128 for a project and 32 for other data.)
Last Change*1 Display the date when the data was updated.
Set a comment for the data.
Comment*1 Press the and keys for a line feed.
(The number of applicable characters is 5,120.)
*1 : 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'.
Titles
OVERVIEW
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 2
Properties of the following data can be set for Structured projects in addition to those indicated above.
CONFIGURATION
Data Setting
Task Priority and executing condition of a task
SYSTEM
Function/Function block Whether to use EN/ENO, or MC/MCR for EN control
Library Path to a Help file
CONFIGURATION AND
BASIC OPERATIONS
Destinations for saving properties
The 'titles' and 'comments' set to the data properties can be saved as symbolic information.
( Section 12.1.5)
SCREEN
When reading data from the programmable controller CPU, the symbolic information must be written to/read from
the programmable controller CPU in order to restore the settings of the properties.
When data are read without the symbolic information from the programmable controller CPU, the settings of the
properties are not restored. 4
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
For the method for setting the intelligent function module data, refer to the following manual.
GX Works2 Version 1 Operating Manual (Intelligent Function Module)
4 - 40
4.5 Changing Project Types
1
4.5 Changing Project Types
OVERVIEW
Q CPU L CPU Remote
FX Head
FX FX
CONFIGURATION
project to a Simple project is not supported.
SYSTEM
3
CONFIGURATION AND
*1
BASIC OPERATIONS
Simple project Simple project Structured project
'without labels' 'with labels'
SCREEN
4
*1 : Not supported by FXCPU.
MANAGEMENT
Operating procedure
PROJECT
Select [Project] [Change Project Type].
5
Changing project types
When a Simple project (with labels) is changed to a Structured project, project data are changed as follows:
PROGRAMS
SFC: Created under the Program folder.
EDITING
Function block: Created under the FB/FUN folder.
<Simple project (with labels)> <Structured project>
Created under
the Program folder 7
SETTING DEVICE
Created under
the FB/FUN folder
MEMORY
4 - 41
GX Works2
4 PROJECT MANAGEMENT
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).
Create a backup of the project at the point of registration, and register it with the revision information.
Screen display
Select [Project] [Project Revision] [Revision Entry].
Operating procedure
Set the items on the screen.
Item Description
Revision No. Display the revision number to be registered.
Date Display "--/--/---- --:--:--" (month/date/year hour:minute:second).
User Display the user name when using the project with security.
Title Enter a title of the revision.
Comment Enter comments for the revision.
Revision number and the allowable number of revisions that can be registered
OVERVIEW
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) 2
The allowable number of characters that can be entered for a title
CONFIGURATION
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.
SYSTEM
A line feed is handled as 2 characters.
Registration of project revisions when overwriting and saving projects
By setting the option, the Revision Entry screen for the project revision is displayed when overwriting and saving
the project. 3
Select [Tool] [Options] "Project", and then select "Revision is Registered when Save Project" in "Change
CONFIGURATION AND
BASIC OPERATIONS
History". In addition, the revision title can be automatically set when overwriting by selecting "Automatically set
revision titles".
Registration of project revisions for projects with security
SCREEN
For the projects with security, the revisions can be registered only when the user's access level is 'Administrators'.
4
4.6.2 Displaying revision list
MANAGEMENT
PROJECT
Display registered revision information in the order of the revision number.
The revision list is used for registering, restoring, deleting, and verifying backups.
Screen display 5
Select [Project] [Project Revision] [Revision List].
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
Display contents
SETTING DEVICE
Item Description
MEMORY
4 PROJECT MANAGEMENT
Screen button
Displays the detailed information of the revision which is selected in the list. "Title" and "Comment"
can be edited.
Verifies the revision with other revisions or the projects being edited. ( Section 4.6.5)
1
2. Click the button.
The revision information to be restored is displayed.
OVERVIEW
2
CONFIGURATION
SYSTEM
3. Confirm the revision information to be
restored. Click the button.
3
CONFIGURATION AND
The message as shown on the right is
BASIC OPERATIONS
displayed.
SCREEN
4. Click the button.
The backup of the selected revision information is restored.
4
The revision number and title of the restored project are displayed on the title bar.
MANAGEMENT
Revision number and title
PROJECT
of the restored project.
PROGRAMS
EDITING
The Revision List screen after restoring a project
After project restoration, is displayed on the row of the restored project on the Revision List screen.
6
PARAMETERS
SETTING
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'. 7
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
SETTING DEVICE
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.
MEMORY
4 PROJECT MANAGEMENT
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.
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.
1
Operating procedure
1. Select the revision to be verified on the Revision List screen ( Section 4.6.2).
OVERVIEW
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 key or key.
2
CONFIGURATION
SYSTEM
2. Click the button.
3
The message as shown on the right is
CONFIGURATION AND
BASIC OPERATIONS
displayed. This message is displayed
when verifying the selected revision
information with the project being edited.
SCREEN
3. Click the button.
The Revision Verification screen is
4
displayed.
MANAGEMENT
4. Select the data to be verified.
PROJECT
For details of setting items, refer to the
project verification. ( Section 4.2.7)
5
PROGRAMS
5. Click the button.
EDITING
The verification result is displayed on the
Verify Result screen.
For details of the Verify Result screen, refer to the project verification.
6
( Section 4.2.7)
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
Projects created with GX Developer or GX IEC Developer can be utilized in GX Works2 by using
the 'Open Other Project' function. ( Section 4.7.1)
4 - 48
4.7 Utilizing Projects and Data in Other Formats
ASCII files created using the Export function of GX IEC Developer can be added as projects in GX
OVERVIEW
Works2 by using the 'Read ASC Format File' function. ( Section 4.7.2)
2
Read ASC
CONFIGURATION
Format File
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
Utilizing projects and data created with GX Works2 in GX Developer
Files created/edited in Simple project with GX Works2 can be utilized in GX Developer by using the 4
'Export to GX Developer Format File' function. ( Section 4.8)
MANAGEMENT
PROJECT
[Export to GX Developer
Format File]
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4 - 49
GX Works2
4 PROJECT MANAGEMENT
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.
Comparison of projects and data storage locations between GX Developer and GX Works2
GX Works2 GX Works2
GX Developer
(Simple project) (Structured project)
Parameter Parameter Parameter
Device Comment Global Device Comment Global Device Comment
Global variables Global Label Global Label
Program Program POU
FB FB_Pool FB/FUN
Structure Structured Data Types Structured Data Types
Device memory Device Memory Device Memory
Device initial value Device Initial Value Device Initial Value
Comparison of projects and data storage locations between GX IEC Developer and GX Works2
GX Works2
GX IEC Developer
(Structured project)
User Library User Library
Parameter (Programmable controller parameter) Parameter
DUT_Pool (Structure) Structured Data Types
Global_Vars (Global variable) Global Label
Task_Pool POU
POU_Pool POU
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.
Compatible applications
For 'Open Other Project' and 'Export to GX Developer Format File', the supported versions differ
according to the CPU type.
For the application compatibility, refer to Appendix 5.
4 - 50
4.7 Utilizing Projects and Data in Other Formats
OVERVIEW
Q CPU L CPU Remote Head
FX FX
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
Operating procedure
PROJECT
Specify the project, and click the button.
Select '*.gpj' for a GX Developer project and '*.pro' for a GX IEC Developer project.
The selected project is opened. 5
PROGRAMS
EDITING
Status after opening a different format project with labels
When a different format project with labels is opened, the project is in the uncompiled status. Compile
all programs in the project before executing online operations such as writing data and monitoring. 6
When a compile error occurs, correct the corresponding program according to the programming
manual.
PARAMETERS
When programmable controller type of project which is created in GX Developer is not supported by
SETTING
GX Works2
Open the project by starting GX Developer.
Opening different format projects that contain SFC programs 7
Block information data such as: block information devices, block titles and block statements, are set
SETTING DEVICE
An error may occur at compilation because the argument type or the number of arguments in some
ST instruction is different between GX Developer and GX Works2. When a compilation error occurs,
correct the instruction according to the structured programming manuals. 8
Note that, however, programs can be compiled in GX Works2 by setting the following option.
Select "Use Dedicated Instruction for GX Developer, GX IEC Developer" under [Tool] [Options]
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
OVERVIEW
Q CPU L CPU Remote 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.
2
Screen display
CONFIGURATION
Select [Project] [Open Other Data] [Read ASC Format File].
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
PROJECT
Operating procedure
Specify the file, and click the button. 5
Select '*.asc' for the file.
The specified data is added to the project.
PROGRAMS
EDITING
Importing project data of different programmable controller type
Project data having a different programmable controller type can be imported to a project being edited.
The programmable controller type of the project being edited is not changed even when data with the different
6
programmable controller type are imported.
In this case, compile the programs to check and correct errors after importing data because instructions and
devices not supported by the open project are also imported. PARAMETERS
Importing data whose name already exists in the project
SETTING
A number is appended in serial order (starting from one) to the end of the data name to be imported, and then the
data is added to the project.
Importing global labels
When the global labels are imported, the "Device" column of the global label may be blank. If the "Device" column 7
is blank, check the items on the <<Device>> tab of PLC parameter.
SETTING DEVICE
8
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
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. Select the save destination of the GX Developer format project.
4 - 54
4.9 Starting GX Developer from GX Works2
1
4.9 Starting GX Developer from GX Works2
OVERVIEW
Q CPU L CPU Remote Head
FX FX
CONFIGURATION
For details of GX Developer operation, refer to the following manual.
GX Developer Version 8 Operating Manual
SYSTEM
Screen display
3
Select [Project] [Start GX Developer].
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4 - 55
GX Works2
4 PROJECT MANAGEMENT
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 on 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 Operating authority
Higher <Administrator level>
Administrators
All operations are possible.
Developers (Level 3)
<Developer level>
Developers (Level 2)
Security setting, data access, and a part of operations are restricted.
Developers (Level 1)
<Operator level>
Users Only access to project data is possible.
Data cannot be read from the programmable controller CPU.
Lower
<Example>
The data with access authority of Developers (Level 2) can be edited by a login user whose access
level is Developers (Level 2) or higher (Administrators, Developers (Level 3) or Developers (Level 2)).
4 - 56
4.10 Setting Security for Projects
The following tables show the data to which access authority can be applied.
OVERVIEW
Simple project
: Applicable : Not applicable
Items in Project view Read Write
Parameter 2
Intelligent Function Module *1
CONFIGURATION
Intelligent function module data
Global Device Comment
Global Label
SYSTEM
Global label data
Program Setting
Program file data 3
POU
CONFIGURATION AND
BASIC OPERATIONS
Ladder program data
Program
Local Label
SCREEN
ST program data *1
Program
Local Label
SFC program data
4
SFC block
MANAGEMENT
Program
Local label*1
PROJECT
FB_Pool
Program
Local label
Structured Data Types
5
Structured data
Local Device Comment
PROGRAMS
Comment data
EDITING
Device Memory
Device memory data
Device Initial Value*1
Device initial value data 6
*1 : Not supported by FXCPU.
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4 - 57
GX Works2
4 PROJECT MANAGEMENT
Structured project
: Applicable : Not applicable
Items in Project view Read Write
Parameter
Intelligent Function Module*1
Intelligent function module data
Global Device Comment
Global Label
Global label data
Program Setting
Program file data
POU
Program
Ladder program data*1
Program
Local Label
ST program data
Program
Local Label
SFC program data*1
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
Device memory data
Device Initial Value*1
Device initial value data
*1 : Not supported by FXCPU.
4 - 58
4.10 Setting Security for Projects
OVERVIEW
Setting security for projects
2
Set security for a project.
CONFIGURATION
Once security is set for a project, user authentication is required when the project is opened once
again. ( Section 4.10.3)
SYSTEM
Screen display 3
CONFIGURATION AND
Select [Project] [Security] [User Management].
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
PROJECT
Operating procedure 5
1. Set the items on the screen.
PROGRAMS
Item Description
EDITING
Enter a user name in 1 to 20 characters, using alphabets, numerals, and/or symbols
User Name corresponding to the ASCII codes (Appendix 3) of 20H to 26H and 28H to 7EH. (Alphabets are
case-sensitive.)
Access Level Display 'Administrators'. (Fixed)
6
Enter a password in 6 to 32 characters, using alphabets, numerals, and/or symbols
Password
corresponding to the ASCII codes (Appendix 3) of 20H to 7EH. (Alphabets are case-sensitive.)
Re-enter Password Set the same password again for confirmation.
PARAMETERS
SETTING
Setting security
When security is set for a project, the project is in the status logged in by the set user (Administrators). The current
MEMORY
4 PROJECT MANAGEMENT
Reset the set security of a project by deleting all users, and returns the project to the status without
security. ( 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 Description
Number of User
Display the number of registered users and the maximum number of registrations.
Registrations
User Name Display the registered user names.
Access Level Display the access level of each registered user.
1
Screen button
OVERVIEW
Adds a user. ( ' Adding users')
Deletes a user selected in the list. 2
The current login user cannot be deleted. If registered users are only 'Administrators' and there are
CONFIGURATION
no other users to be deleted, deletion of the current login user is possible.
If 'Administrators' level users are deleted, security is reset.
SYSTEM
Changes the information of the user selected in the list. ( ' Changing user information')
3
CONFIGURATION AND
BASIC OPERATIONS
Changes the password of the user selected in the list. ( ' Changing passwords')
The password of the current login user cannot be changed using this function. To change it, select
[Project] [Security] [Change Password].
SCREEN
4
Adding users
MANAGEMENT
Add a user to a project with security.
A user whose access level is higher than that of the login user cannot be added.
PROJECT
Operating procedure
1. Click the button on the 5
User Management screen.
The User Addition screen is displayed.
PROGRAMS
EDITING
6
PARAMETERS
SETTING
case-sensitive.)
Access Level Select the access level.
MEMORY
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.
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.
OVERVIEW
Screen display
Screen display when a project with security is opened.
2
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
Operating procedure
1. Set the items on the screen. 4
Item Description
User Name Enter the user name registered to the project to be logged in.
MANAGEMENT
Password Enter the password.
PROJECT
2. Click the button.
Login authentication is performed with the entered user name and password. The project is 5
opened when the entry is confirmed to be correct.
PROGRAMS
EDITING
Checking login status
The current login user can be checked in the status bar. ( Section 3.2.6)
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
Operating procedure
1. Set the items on the screen.
Item Description
Access Object Select the data for which access authority is changed.
Set 'enable/disable' of reading/writing data for each access level by moving the
Access Authority
slider.
OVERVIEW
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
2
"MAIN1", and programs of "MAIN2" are read protected.
CONFIGURATION
<Project view> <Project verification>
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
<Programmable controller verification>
MANAGEMENT
2) Write protected data
PROJECT
The write protected data can be opened as the read only data.
3) Properties of data
5
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
PROGRAMS
EDITING
ladder editor or the Sampling Trace screen.
5) 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 6
(settings on the Data Security Setting screen) of the data, which are not included in the symbolic
information, are set to their default.
If the settings on the Data Security Setting screen are changed, make settings again after reading PARAMETERS
data from the programmable controller CPU.
SETTING
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 ( Section 12.1.5)
7
SETTING DEVICE
8
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
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.
POU to which a block password
Project type
can be set
Simple project (without labels) None
Simple project (with labels) Function block
Program block
Structured project Function block
Function
4 - 66
4.11 Protecting POUs in Projects
Manage the block password setting status of a POU. In addition, this function sets/unlocks/deletes a
OVERVIEW
block password.
Screen display
Select [Tool] [Block Password]. 2
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
Display contents
MANAGEMENT
Item Description
POU Name Display POUs.
PROJECT
Registration Status Display the status of block password for each POU.
Screen button 5
PROGRAMS
EDITING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
<FXCPU>
OVERVIEW
Browsing of POUs is enabled by unlocking block passwords.
Operating procedure
2
1. Select a POU to unlock the block
password on the Block Password
CONFIGURATION
screen and click the
button.
SYSTEM
The Unlock Block Password screen is
displayed.
3
CONFIGURATION AND
BASIC OPERATIONS
2. Set the items on the screen.
SCREEN
Item Description
Password Enter the block password to be unlocked.
4
3. Click the button.
The block password of the selected POU is unlocked.
MANAGEMENT
The unlock of the POU by the block password is valid while the project is being opened. To lock the
PROJECT
POU again, reopen the project.
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
4 PROJECT MANAGEMENT
MEMO
OVERVIEW
5 EDITING PROGRAMS 2
CONFIGURATION
This chapter explains the functions of the program editors used to edit sequence programs.
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
5.1 Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
4
5.2 Label Programming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
MANAGEMENT
5.3 Precautions on Using Label Projects . . . . . . . . . . . . . . . . . . . 5-4
5.4 Converting/Compiling Projects . . . . . . . . . . . . . . . . . . . . . . . . 5-9
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
5 -1
GX Works2
5 EDITING PROGRAMS
5.1 Programming
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
5.2 Label Programming
OVERVIEW
Project view Term Description
CONFIGURATION
Symbolic information required for label programming. ( Section 12.1.5)
These data are restored by writing/reading symbolic information to/
from a programmable controller CPU.
SYSTEM
Program data written with applicable programming languages.
Program For label projects, these are data included in symbolic information even
when a program is created using devices only.
3
Programs executed on programmable controller CPUs.
CONFIGURATION AND
BASIC OPERATIONS
Execution program Devices are assigned to labels with compilation, and execution
programs are created.
SCREEN
Actual device
labels.
Labels available for all program data when multiple program data are
Global label
created in a project. 4
Labels available for each program data only.
Local label
Labels and each program data are set one to one.
MANAGEMENT
A setting of types and ranges of devices assigned to labels.
PROJECT
Device/label automatic-
GX Works2 Version 1 Operating Manual (Simple Project)
assign setting
GX Works2 Version 1 Operating Manual (Structured Project)
PROGRAMS
EDITING
< Writing data to programmable controller CPU >
Symbolic information
6
Program Program Global label
Write to PLC
Write to PLC Write to PLC
7
Programmable
controller CPU
8
Symbolic information
5 -3
GX Works2
5 EDITING PROGRAMS
1) 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 : Value_A
Device type : Array (word)
Number of elements :2
Program : [/ D0 D1 Value_A]
2 words required
b Operation result
Value_A[0] Value_A[1]
Operation result of [/ D0 D1 Value_A] (Quotient) (Remainder)
2) 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 : Value_A
Device type : Double word
Program : [D* D0 D2 Value_A]
4 words required
b Operation result
Data register
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.
3) Do not overlap the device ranges which are stored as execution result of instruction when 1
assigning devices with global labels.
If the setting is incorrect, the content of devices assigned to other labels may be overwritten.
OVERVIEW
[ Example of incorrect device setting ]
a Setting
Label name : Value_A
Device type : Array (Double word)
2
Number of elements :2
Device : D100
Program : [D* D0 D2 Value_A]
4 words required
CONFIGURATION
Label name : Value_B
Device type : Double word
Device : D102
Program : [* D10 D11 Value_B]
SYSTEM
2 words required
b Operation result
Data register
Device set for
D100
Value_A Device range for storing operation result
Device set for
Value_B
D101
D102
Overwritten device range
3
D103
CONFIGURATION AND
BASIC OPERATIONS
D104
For the above example, assign the device of label (Value_B) to D104.
SCREEN
4
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
5 EDITING PROGRAMS
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".
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) Write execution programs without selecting the following item.
Write to PLC: Symbolic Information
Online program change: Write Symbolic Information to PLC
5 -6 5.3.2 Writing programs to programmable controller CPU (Write to PLC/Online program change)
5.3 Precautions on Using Label Projects
OVERVIEW
Reading symbolic information
CONFIGURATION
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
SYSTEM
information and the execution programs on the programmable controller CPU are not consistent.
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 3
to PLC operation which was performed on the symbolic information and the execution programs,
CONFIGURATION AND
BASIC OPERATIONS
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".
SCREEN
4
MANAGEMENT
PROJECT
The following are the precautions when symbolic information needs to be read with program
inconsistency. 5
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
PROGRAMS
programmable controller CPU. To prevent from erasing the latest symbolic information, save the
EDITING
project and create backup data of symbolic information.
The following message is displayed when the Read from PLC operation is performed with
program inconsistency. 6
Follow the instruction described in the message.
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
5.3.3 Reading programs from programmable controller CPU (Read from PLC) 5 -7
GX Works2
5 EDITING PROGRAMS
Symbolic information cannot be verified. The program verification operation can be performed on
execution programs only.
1
5.4 Converting/Compiling Projects
OVERVIEW
Q CPU L CPU Remote
FX 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.
2
The type of conversion/compilation differs according to the project type as shown in the table below.
CONFIGURATION
Project type Conversion/compilation type Description
Build Fix changes.
SYSTEM
Fix changes, and simultaneously, write the difference
Simple project between the fixed programs and the programs stored on
Online Program Change
(without labels) the programmable controller CPU to the programmable
controller CPU. 3
Rebuild All Convert all programs.
CONFIGURATION AND
BASIC OPERATIONS
Convert and compile uncompiled data (programs,
Build
structured data, labels and functions/function blocks).
Convert and compile data, and simultaneously, write the
Simple project (with
SCREEN
difference between the fixed programs and the programs
labels)/ Online Program Change
stored on the programmable controller CPU to the
Structured project
programmable controller CPU.
Rebuild All
Convert and compile all data (programs, structured data, 4
labels and functions/function blocks).
MANAGEMENT
Section 12.9 Online Program Change
PROJECT
GX Works2 Version 1 Operating Manual (Simple Project)
GX Works2 Version 1 Operating Manual (Structured Project)
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
5 -9
GX Works2
5 EDITING PROGRAMS
MEMO
5 - 10
1
OVERVIEW
6 SETTING PARAMETERS 2
CONFIGURATION
This chapter explains the setting items, operations on the setting screens, and common notes on parameter
settings.
SYSTEM
For necessary information and details of settings, refer to the manuals of each module to be used.
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
6.1 Setting PLC Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
4
6.2 Setting Network Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . 6-16
MANAGEMENT
6.3 Setting Remote Password . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-41
6.4 Checking Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-43
PROJECT
6.5 Outputting Parameters to CSV Files . . . . . . . . . . . . . . . . . . . 6-44
6.6 Setting default parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-46
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 -1
GX Works2
6 SETTING PARAMETERS
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.
6 -2
6.1 Setting PLC Parameter
1
Screen button
OVERVIEW
Executes printing. ( Section 20.7)
CONFIGURATION
(Not supported by FXCPU)
Checks the X/Y setting made on the <<I/O Assignment>> tab of PLC parameter or in the network
SYSTEM
parameter.
Resets all setting items on the screen being open to their defaults. 3
CONFIGURATION AND
BASIC OPERATIONS
Checks whether the user-set parameters on the screen being open are correct.
SCREEN
Precautions when changing PLC parameters
For QCPU (Q mode)/LCPU, all programs need to be compiled when the following PLC parameters are changed.
4
"Common Pointer No." and "Timer Limit Setting" on the <<PLC System>> tab
"File Register" and "File for Local Device" on the <<PLC File>> tab
MANAGEMENT
Settings on the <<Device>> tab
Compiling all programs changes the device assignment to labels. Therefore, device values set before the
PROJECT
program change remain on the device-assigned labels.
For a precautionary measure, reset the programmable controller CPU, clear all device memories including
latches, clear all file registers, then switch the programmable controller to RUN. ( Section 17.3)
For the precautions on compiling all programs, refer to the following manuals. 5
GX Works2 Version 1 Operating Manual (Simple Project)/(Structured Project)
Parameter reflection function of MELSOFT Navigator
When GX Works2 is started up from MELSOFT Navigator, parameters that can be set by MELSOFT Navigator
PROGRAMS
are displayed with green background.
EDITING
A parameter set by the parameter reflection function of MELSOFT Navigator becomes not editable.
To edit it, select [Tool] [Options] "iQ Works Interaction" and select "Enable an editing of parameters set in
MELSOFT Navigator".
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 -3
GX Works2
6 SETTING PARAMETERS
The following table shows the applicable PLC parameter items for each programmable controller type.
For details of each item, refer to the following manuals.
( User's manuals and programming manuals of each CPU)
*1 : For FXCPU, PLC System is separated into PLC System (1) and PLC System (2).
*2 : Not supported by Q00UJ/Q00U/Q01U.
*3 : Not supported by Q00J/Q00UJ.
*4 : Built-in Ethernet port QCPU only
*5 : Q00/Q01 only
*6 : Q00UJ/Q00U/Q01U/Q02U/QnUD(H)CPU only
1) PLC Name
OVERVIEW
Item Description Remarks
Set a label (name and application) of the programmable controller
Label
CPU.
Comment Set a comment for the label of the programmable controller CPU.
2
2) PLC System
CONFIGURATION
Item Description Remarks
Timer Limit Setting Set the time limit of the low-speed/high-speed timer.
SYSTEM
Set the contacts for controlling RUN/PAUSE of the programmable
controller CPU.
RUN-PAUSE Contacts
PAUSE contact only setting is not available. (RUN contact only or RUN
CONFIGURATION AND
Operation Valid Contact QCPU/LCPU only
BASIC OPERATIONS
Remote Reset Set whether to allow a remote reset operation from GX Works2.
Output Mode at STOP Set the status of output (Y) when the programmable controller is
to RUN switched from STOP to RUN.
SCREEN
Floating Point High Performance
Set whether to perform floating-point processing in double precision.
Arithmetic Processing model QCPU only
Intelligent Function
Module Setting
Set the interrupt pointer assignment of the module.
Set the start I/O number and start SI number of the module.
4
Set whether to synchronize the start-up of the programmable controller
Module Synchronization
CPU with that of the intelligent function module.
MANAGEMENT
Built-in CC-Link Setting Set whether to set the built-in CC-Link. L26-BT/L26-PBT only
PROJECT
Not applicable to
Common Pointer No. Set the start number of the common pointers used in the program.
Basic model QCPU
Points Occupied by Set the number of points occupied by empty slots for the main base
Empty Slot unit/extension base unit. 5
Set the start number of the interrupt counters.
System Interrupt Set the execution interval for the interrupt pointers.
Settings Set the fixed scan interval for high-speed interrupt pointers, high-speed High Performance
PROGRAMS
I/O refresh, and high-speed buffer transfer. model QCPU only
EDITING
Interrupt Program/Fixed
Set whether to perform high-speed execution of an interrupt program.
Scan Program Setting
A-PLC Compatibility Set whether to use the MELSEC-A series special relays/special Not applicable to
Setting registers (SM1000/SD1000 to SM1299/SD1299). Basic model QCPU 6
Service Processing
Set the processing time and the number of times of service processing.
Setting Universal model
QCPU/LCPU only
PARAMETERS
PLC Module Change
Set this to replace the CPU module using a memory card.
Setting
SETTING
3) PLC File
Item Description Remarks
Set the file register file to be used in the program. 7
File Register Set whether to transfer data to the standard ROM when executing a Universal model
SETTING DEVICE
SP.DEVST/S.DEVLD
INITIAL VALUES
6 SETTING PARAMETERS
4) PLC RAS
Item Description Remarks
Set the WDT of the programmable controller CPU.
WDT (Watchdog Timer) Set the WDT for an initial execution type program.
Setting High Performance
Set the WDT for a low-speed execution type program.
model QCPU only
Error Check Set whether to detect specified errors.
Operating Mode When Set the programmable controller CPU operation mode when an error is
There is an Error detected.
Constant Scanning Set the constant scan time.
Set the storage destination for breakdown histories of the High Performance
Breakdown History
programmable controller CPU. model QCPU only
Low Speed Program High Performance
Set the execution time of a low-speed program in every scan.
Execution Time model QCPU only
Module Error History
Set whether to collect the error history of the intelligent function Universal model
Collection (Intelligent
module. QCPU/LCPU only
Function Module)
5) Boot File
Item Description Remarks
Not applicable to
Set whether to clear the program memory when booting up.
Basic model QCPU
Boot Option
Set whether to write data in the memory card automatically to the Not applicable to
standard ROM when booting up. Basic model QCPU
Set the type, data name, transfer source drive, and transfer destination Not applicable to
drive of the boot file. Basic model QCPU
Boot File Setting
Basic model QCPU
Set whether to boot up with the standard ROM.
only
6) Program
Item Description Remarks
Set the file name and execution type (executing condition) for
programs when several programs are written to the programmable
Not applicable to
Program controller CPU.
Basic model QCPU
Set the fixed scan interval (the execution interval of a fixed scan
execution type program).
File Usability Setting Not applicable to
Display the File Usability Setting screen.
button Basic model QCPU
I/O Refresh Setting High Performance
Display the I/O Refresh Setting screen.
button model QCPU only
7) SFC
Item Description Remarks
SFC Program Start
Set the start-up mode of an SFC program.
Mode
Start Conditions Set the start-up condition of an SFC program.
Output Mode When the
Set the SFC program output mode at block stop.
Block is Stopped
8) Device 1
Item Description Remarks
Set the number of points used for each device of the programmable
Device Points
controller CPU.
OVERVIEW
Set the latch range (start device number/end device number) clearable
Latch (1) Start/End
with the RESET/L.CLR switch or a remote latch clear operation.
Set the latch range (start device number/end device number) not
Latch (2) Start/End clearable with the RESET/L.CLR switch or a remote latch clear 2
operation.
Set the range (start device number/end device number) of devices
CONFIGURATION
Local Device Start/End
used as a local device.
File Register Extended Universal model
Set the extended data register and extended link register.
SYSTEM
Setting QCPU/LCPU only
Index Setting for ZR Set the start number of Z to be 32-bit indexed, or use the index register Universal model
Device ZZ for 32-bit index setting. QCPU/LCPU only
9) I/O Assignment 3
CONFIGURATION AND
BASIC OPERATIONS
Item Description Remarks
Set the type, model, number of occupied I/O points, and start I/O
number of each module mounted on the base unit.
SCREEN
I/O Assignment Universal model
Set the switch settings of the programmable controller CPU.
QCPU/LCPU only
Set the switch settings of the intelligent function module.
Set the model and the number of slots of the base unit, the model of Not applicable to 4
Base Setting
the power supply module, and the model of the extension cable. LCPU
MANAGEMENT
PROJECT
Item Description Remarks
Set the number of programmable controller CPUs used in the multiple
No. of PLC
CPU system.
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.
5
Operation Mode
The multiple CPU system stops when a stop error occurs in the CPU
No. 1 module.
Host Station Set the CPU number for the host CPU. Universal model
PROGRAMS
Multiple CPU QCPU (excluding
EDITING
Synchronous Startup Select the CPU modules to be started up synchronously. Q00UJ/Q00U/Q01U/
Setting Q02U) only
Set whether to allow Online module change in the multiple CPU Not applicable to
Online Module Change
system. Q00U/Q01U/Q02U 6
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.
Communication Area Set the CPU shared memory to enable data sharing among multiple PARAMETERS
Setting (Refresh CPUs.
SETTING
8
SETTING DEVICE
INITIAL VALUES
6 SETTING PARAMETERS
OVERVIEW
Item Description Remarks
Set the operation mode of the network.
Set the network number of the module.
CC-Link IE Field
Network Setting Set the station number of the module.
2
Set whether to hold (store) the error history and system error history
in a flash ROM at power off or reset.
CONFIGURATION
2) PLC Name
SYSTEM
Item Description Remarks
Set a label (name and application) of the programmable controller
Label
CPU.
Comment Set a comment for the label of the programmable controller CPU. 3
CONFIGURATION AND
3) PLC System
BASIC OPERATIONS
Item Description Remarks
Remote Reset Set whether to allow a remote reset operation from GX Works2.
SCREEN
4) PLC RAS
Item Description Remarks
4
Module Error History
Set whether to collect the error history of the intelligent function
Collection (Intelligent
module.
Function Module)
MANAGEMENT
5) Operation Setting
PROJECT
Item Description Remarks
Assignment Method Select the assignment method of devices to be transferred.
Forwarding Parameter Set transmission source devices and transmission destination 5
between Devices devices.
6) I/O Assignment
PROGRAMS
Item Description Remarks
EDITING
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
Set the switch settings of the programmable controller CPU.
Set the switch settings of the intelligent function module. 6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 SETTING PARAMETERS
1) PLC system
Item Description Remarks
Set whether to synchronize the start-up of the programmable
Module Synchronization
controller CPU with that of the intelligent function module.
Points Occupied by Set the number of points occupied by empty slots for the main base
Empty Slot unit/extension base unit.
2) PLC RAS
Item Description Remarks
Error Check Set whether to detect specified errors.
Operating Mode When Set the programmable controller CPU operation mode when an error
There is an Error is detected.
3) Operation Setting
Item Description Remarks
Assignment Method Select the assignment method of devices to be transferred.
Forwarding Parameter Set transmission source devices and transmission destination
between Devices devices.
4) I/O Assignment
Item Description Remarks
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
Set the switch settings of the programmable controller CPU.
Set the switch settings of the intelligent function module.
Set the model and the number of slots of the base unit, the model of
Base Setting
the power supply module, and the model of the extension cable.
OVERVIEW
Parameters for multiple CPU can be set utilizing existing data by clicking the button on the <<I/O
Assignment>>/<<Multiple CPU Setting>> tab.
Specify the project to be utilized, read the message, and then execute the function.
CONFIGURATION
SYSTEM
Reading mounting status of programmable controller CPU
3
CONFIGURATION AND
The mounting status of the programmable controller CPU can be read and overwritten to the current parameters
BASIC OPERATIONS
by clicking the button on the <<I/O Assignment>> tab. Read the message and execute the
function.
SCREEN
4
MANAGEMENT
"Index Setting for ZR Device" on the <<Device>> tab.
When "Use ZZ" is set for the 32-bit index setting, the ZZ device cannot be used or monitored independently in the
PROJECT
program.
X0
[DMOV K0 ZR10ZZ0 ]
Usable 5
X1
[DMOV K0 ZZ0 ]
PROGRAMS
Not usable
EDITING
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 6
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> PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
6 SETTING PARAMETERS
For FXCPU, PLC parameter setting items differ according to the programmable controller type.
1) PLC Name
Item Description Remarks
FX1, FX0N, FX1S,
FX1N, FXU, FX2N,
Title Set a program title to be stored on the programmable controller CPU. FX3G, FX3U, FX1NC,
FX2C, FX2NC, FX3GC,
and FX3UC only
4) Device 1
Item Description Remarks
FX1, FXU, FX2N, FX3U,
Device Set the latch range. FX2C, FX2NC, and
OVERVIEW
FX3UC only
5) Memory Capacity
Item Description Remarks 2
FX0S, FX0, FX1, FX0N,
FX1S, FX1N, FXU,
CONFIGURATION
Select the memory capacity of the programmable controller CPU. FX2N, FX3G, FX3U,
Memory Capacity*1 Not applicable to FX0, FX0S, FX0N, and FX1S. FX1NC, FX2C, FX2NC,
FX3GC, and FX3UC
SYSTEM
only
Display the symbolic information capacity of a built-in memory based
on the setting value of the memory capacity.
Symbolic Information
Display the symbolic information capacity of a memory cassette by FX3U and FX3UC only 3
Capacity*2
CONFIGURATION AND
clicking the button.
BASIC OPERATIONS
Set the comment capacity.
Comments Capacity
Not applicable to FX0 and FX0S.
FX0S, FX0, FX1, FX0N,
SCREEN
Set the file register capacity. FX1S, FX1N, FXU,
File Register Capacity
Not applicable to FX0, FX0S, and FX1. FX2N, FX3G, FX3U,
Program Capacity Set the capacity for sequence programs. FX1NC, FX2C, FX2NC,
Special Function
Set whether to use the Special Function Block Settings, Positioning
FX3GC, and FX3UC
only
4
Instruction Settings, and Built-in CC-Link/LT.
Memory Capacity
Applicable to FX3G, FX3GC, FX3U, and FX3UC only.
MANAGEMENT
*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
PROJECT
the symbolic information again.
*2 : This item is not printed with the batch print function or the print window function.
3) Special Function Memory Capacity 5
Item Description Remarks
Set the initial value of special extension modules/blocks.
PROGRAMS
Set the Built-in CC-Link/LT Setting.
Special Function Block FX3U and FX3UC only
EDITING
Special Function Block Settings Set the initial value of BFM.
Set the bias speed, max. speed, creep speed, zero return speed,
Positioning
acceleration time, deceleration time, and interruption input of DVIT FX3G, FX3U, FX3GC, 6
instruction for each axis. and FX3UC only
Set the details of the positioning table for each axis.
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 SETTING PARAMETERS
Display contents
Item Description
XY No. Display the I/O number.
Display the content set in the network parameter.
Display whether the I/O assignment setting is set in the PLC parameter.
Slot 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.
Module Type
Display the I/O assignment status as follows when the I/O assignment setting in the
Points PLC parameter is not set and X/Y devices are assigned in the network parameter.
Item Description
Model Name "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.
1
Screen button
OVERVIEW
Writes data on the Acknowledge XY Assignment screen to a CSV file. ( Section 6.5)
When a setting screen other than PLC parameter setting screen is being opened
2
When the MELSECNET/CC IE/Ethernet Module Configuration screen or the Setting for the CC-Link List screen
CONFIGURATION
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.
SYSTEM
Priority Display
1 I/O assignment
3
2 MELSECNET or CC-Link IE Controller Network (slot 16) network refresh parameter
CONFIGURATION AND
BASIC OPERATIONS
3 MELSECNET or CC-Link IE Controller Network (slot 15) network refresh parameter
SCREEN
17 MELSECNET or CC-Link IE Controller Network (slot 1) network refresh parameter
18 CC-Link remote I/O
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 SETTING PARAMETERS
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
(Not supported by LCPU)
Displays the Interlink Transmission Parameters screen.
Checks the I/O assignment setting set in the PLC parameter and the status of X/Y devices
assigned in the network parameter. ( Section 6.1.2)
Displays the Routing Information screen.
Displays the Assignment Image screen of the refresh parameters.
6 - 16
6.2 Setting Network Parameter
1
Displays the Help - Network Setting screen for network range assignment.
OVERVIEW
2
CONFIGURATION
SYSTEM
Deletes the set parameters.
3
Checks whether the set parameters are correct.
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
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
Deletes the set parameters.
Checks whether the set parameters are correct.
6 - 18
6.2 Setting Network Parameter
OVERVIEW
Q CPU L CPU Remote Head FX
The following table shows the applicable network parameter types for each programmable controller
type.
For details of each item, refer to the following manuals. 2
( User's manuals and reference manuals of each module)
CONFIGURATION
: Applicable : Not applicable
SYSTEM
Q series L series FX series
Network type Basic model High Performance Universal model Remote I/O Communication
LCPU FXCPU
QCPU model QCPU QCPU module head module
CC-Link IE Controller 3
Network*1
CONFIGURATION AND
BASIC OPERATIONS
CC-Link IE Field Network
MELSECNET/10
SCREEN
MELSECNET/H
MELSECNET/H
Remote I/O
Ethernet 4
CC-Link *2
MANAGEMENT
*1 : 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.
PROJECT
*2 : Supported by FX3U/FX3UC version 3.10 or later.
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 SETTING PARAMETERS
CC-Link IE setting
Item Description
Network Type Specify the network type (CC-Link IE) whose parameters are to be set.
Start I/O No. Set the start I/O number.
Network No. Set the network number.
Total Stations Set the total number of (slave) stations.
Group No. Set the group number.
Station No. Set the station number of a module.
Mode Set the mode.
Specify I/O
Set the I/O master station.
Master Station*1
Specify
Reserved Specify the reserved station.
Network Range
Assignment/ Station*1
Network Equal
Assign the number of link device points of all stations equally.
Configuration Assignment
Settings Identical Point Assign the same number of link device points based on the total number of set
(Common Assignment stations.
parameters)
Shared Group
Set the shared group of the group cyclic function.
Setting*2
Supplementary Set the link scan mode setting, loopback function setting, block data assurance per
Setting station, and operation setting for returning.
Set the parameter name, data link faulty station setting, output setting during CPU
Network Operation Settings*3 STOP, IP address setting, and other settings.
Refresh Parameters Set refresh parameters.
Set the device code, detection method, interrupting condition, interrupt (SI)
Interrupt Settings
number, and other settings.
Specification method for station Set whether to set a station number by program or by parameter.
*1 The station number can be specified by program only when the normal station is
number selected in a project for Universal model QCPU.
OVERVIEW
parameters are to be set.
Start I/O No. Set the start I/O number.
Network No. Set the network number.
Total Stations Set the total number of (slave) stations.
2
Group No. Set the group number.
Mode Set the mode.
CONFIGURATION
Specify I/O
Set the I/O master station.
Master Station
SYSTEM
Specify
Reserved Specify the reserved station.
Station
Network Range
Assignment
Equal
Assign the number of link device points of all stations equally.
3
Assignment
CONFIGURATION AND
(Common
BASIC OPERATIONS
parameters) Identical Point Assign the same number of link device points based on the total number of set
Assignment stations.
Supplementary
Set the transient setting, low-speed cyclic setting, and other settings.
Setting
SCREEN
Station Inherent
Set station inherent parameters.
Parameters
Refresh Parameters Set refresh parameters. 4
Set the device code, detection method, interrupting condition, interrupt (SI)
Interrupt Settings
number, and other settings.
MANAGEMENT
Set whether to operate the station as a control station or a normal station when the
Operation at reconnection*1 line is reconnected.
PROJECT
Baud Rate Setting*1 Set the baud rate on modules that support the twist bus.
*1 : MELSECNET/H (control station) and MELSECNET/H extended mode (control station) only
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 SETTING PARAMETERS
Ethernet setting
Item Description
Network Type Specify "Ethernet".
Start I/O No. Set the start I/O number.
Network No. Set the network number.
Group No. Set the group number.
Station No. Set the station number.
Mode Set the mode.
Operation Setting Set the common items for the module.
Set data communication timer values.
Initial Setting
Set IP addresses for DNS servers.
Open Setting Set parameters required for the open processing.
Router Relay Parameter Set parameters for the router relay function of Ethernet.
Set information to link network number and station number with IP address for
Station No.IP Information communication target station or relay station when communicating with another
station programmable controller CPU via Ethernet.
Set FTP parameters such as the login name, password, command input monitoring
FTP Parameters*1 timer, and PLC monitoring timer.
General Setting Set the password, e-mail address, and inquiry interval for receiving mails.
Mail Server Name Set the SMTP server, POP server, and IP addresses for both servers.
E-mail
*1 Send Mail Address
Setting Set addresses of send mail.
Setting
News Setting Set the notifying condition.
Set the device code, detection method, interrupting condition, interrupt (SI)
Interrupt Settings*1 number, and other settings.
Item Description
Number of Modules Set the number of CC-Link modules.
OVERVIEW
Set the station information in the
Check this to set station information on the CC-Link configuration window.
CC-Link configuration window
Start I/O No. Set the start I/O number.
Set the Parameter Name, Data Link Disorder Station, Case of CPU Stop Setting, 2
Operation Setting Number of Exclusive Station, Expanded Cyclic Setting, and Block Data Assurance
per Station.
CONFIGURATION
Type Set the station type such as a master/local/standby master station.
*1 Set the station number.
Station No.
SYSTEM
Master Station Data Link Type The setting is fixed to "PLC Parameter Auto Start" for the master station.
Mode Set the mode.
Transmission Speed*1 Set the transmission speed. 3
Set the total number of remote stations, local stations, intelligent device stations,
CONFIGURATION AND
Total Module Connected
BASIC OPERATIONS
and/or standby master stations connected to the master station.
Remote Input [RX] refresh device
Remote Output (RY)
SCREEN
refresh device
Remote Register (RWr) refresh Set the devices to refresh the data of RX, RY, RWr, and RWw.
device
Remote Register (RWw) refresh 4
device
Ver.2 Remote Input (RX) refresh
MANAGEMENT
device
Ver.2 Remote Output (RY) refresh
PROJECT
device Set the devices to refresh the data of RX, RY, RWr, and RWw for the remote
Ver.2 Remote Register (RWr) network additional mode.
refresh device
Ver.2 Remote Register (RWw) 5
refresh device
Special Relay (SB) refresh device
Special Register (SW) refresh Set the devices to refresh the data of SB and SW.
PROGRAMS
device
EDITING
Retry Count Set the number of retries in case a communication error occurs.
Automatic Reconnection Station Set the number of remote stations, local stations, intelligent device stations, and/or
Count standby master stations that can be returned to the system in one link scan.
Standby Master Station No. Specify the station number of the standby master station.
6
Specify the data link status when an error occurs on the programmable controller
PLC Down Select
CPU on the master station.
Scan Mode Setting Specify whether to synchronize the link scan with the sequence scan. PARAMETERS
SETTING
Delay Time Setting Set the link scan interval delay time.
The setting screen and the setting items differ according to the selected/cleared
status of "Set the station information in the CC-Link configuration window".
Cleared
Set station information on the CC-Link station information screen. Set the
7
Station Information Setting*2 settings such as the station type and the number of occupied stations.
SETTING DEVICE
Selected
Set station information on the CC-Link configuration window. In addition to the
setting items on the CC-Link station information screen, settings such as the
MEMORY
Interrupt Settings*3
Set the device code, detection method, interrupt condition, interrupt (SI) number, 8
and other settings.
SETTING DEVICE
INITIAL VALUES
6 SETTING PARAMETERS
OVERVIEW
Item Description
Connection Block Select "Set" to set a CC-Link master block.
Special Block No. Specify the special block number (0 to 7).
Operation Setting
Set the Parameter Name, Data Link Disorder Station, and Case of CPU Stop
Setting.
2
This setting is fixed to "Master Station" when "Set" is selected for "Connection
CONFIGURATION
Type
Block".
This setting is fixed to "PLC Parameter Auto Start" when "Set" is selected for
Master Station Data Link Type
"Connection Block".
SYSTEM
Mode Set the mode.
Set the total number of remote I/O stations, remote device stations, and/or
Total Module Connected intelligent device stations (including reserve stations) connected to the master
station.
3
CONFIGURATION AND
Retry Count Set the number of retries in case a communication error occurs.
BASIC OPERATIONS
Automatic Reconnection Station Set the number of remote I/O stations, remote device stations, and/or intelligent
Count device stations that can be returned to the system in one link scan.
Specify the data link status when an error occurs on the programmable controller
SCREEN
PLC Down Select
CPU on the master station.
Station Information Setting Set the station type, exclusive counts, and other settings.
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 SETTING PARAMETERS
Station information and equipment configuration of CC-Link can be set when master station or master
station (duplex function) is set in the CC-Link network parameter.
Check "Set the station information in the CC-Link configuration window" on the CC-Link network
parameter screen in advance.
Screen display
Click on the network parameter screen of CC-Link.
List of stations
Equipment
configuration
Operating procedure
1. Select a CC-Link module from the module list, and drag and drop it to the 'list of
stations'.
A slave station is added to the 'list of stations'.
The added module is displayed on the 'equipment configuration'.
OVERVIEW
TX Speed Set the transmission speed by clicking .
Link Scan Time (Approx.) Display the approximate value of link scan time.
List of stations Display the list of stations which configure CC-Link network.
Display the number of slave stations and station numbers set to the master station.
2
"0/0" is displayed for master station, and 'slave station number/station number' is
CONFIGURATION
Module No./Station No. displayed for slave station.
Example) For a module set as the 3rd module of the slave station and its station
number is 6: 3/6
SYSTEM
Display the module type of master station/slave station.
Model Name
When the module information does not exist, "Module without profile" is displayed.
Display the station type of master station/slave station.
Station Type
Click the cell and select the station type displayed by clicking .
3
CONFIGURATION AND
Display the module version of slave station.
BASIC OPERATIONS
Version
Click the cell and select the version displayed by clicking .
Display the number of occupied stations of slave station.
# of STA Occupied
SCREEN
Click the cell and select the number of occupied stations displayed by clicking .
Expanded Cyclic Setting Display the expanded cyclic setting of slave station.
Remote Station Points Display the number of remote station points of slave station.
Display the setting status of reserved station/error invalid station for slave station.
4
Reserved/Err Invalid STA Click the cell and select the reserved station/error invalid station displayed by
clicking .
MANAGEMENT
Display buffer memory for Send/Receive/Auto when the salve station is an intelligent
PROJECT
Intelligent Buffer Size (word) device station.
Click the cell and enter the value.
Display the setting when the station-specific mode setting is supported by the slave
Station-specific mode setting station. 5
Click the cell and select the station-specific mode displayed by clicking .
PROGRAMS
EDITING
Exit the settings of the CC-Link configuration window.
Screen button
6
/
Moves the position of the CC-Link module selected in the 'list of stations' up/down.
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 SETTING PARAMETERS
Precautions when the selected status of "Set the station information in the CC-Link configuration
window" is changed
The following are the precautions when editing the station information by changing selected/cleared status.
Selecting the item
The station information set on the CC-Link station information screen is set on the CC-Link configuration
window automatically.
Note that, all modules of the station information are changed to general-purpose CC-Link modules, and the file
size of parameter to be written to the programmable controller CPU increases.
Clearing the item
The station information set on the CC-Link configuration window is set on the CC-Link station information
screen automatically.
Setting general-purpose CC-Link modules
When a non-Mitsubishi module or a module which is not displayed on the module list is used, drag and drop a
general-purpose CC-Link module.
A general-purpose CC-Link module can be replaced with a specific CC-Link module.
( Replacing general-purpose CC-Link module)
Replace a general-purpose CC-Link module of slave station with a specific CC-Link module.
A description of link device is displayed on the CC-Link Device Reference window by replacing a
OVERVIEW
general-purpose CC-Link module with a specific CC-Link module.
Operating procedure
2
1. Select a general-purpose CC-Link module to be replaced in the 'list of stations' on
the CC-Link configuration window.
CONFIGURATION
2. Select [CC-Link Configuration] [Change Module] [Replace General CC-Link
SYSTEM
Module].
The Replace General CC-Link Module screen is displayed.
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
List of modules
to be replaced
4
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
3. Set the items on the screen.
Item Description
Replacement Target
Display the version, the number of occupied stations, station type, and expanded cyclic 6
setting of the module selected on the CC-Link configuration window.
Display CC-Link modules with the same condition as the CC-Link module selected for
List of modules to be "Replacement Target". PARAMETERS
replaced Select the check box(es) on the "Station Number" column of the module to be replaced.
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 SETTING PARAMETERS
A general-purpose
module is replaced
with a CC-Link module.
Screen button
Selects all modules displayed on "Replacement Target".
Cancels the selected status of all modules selected for "Replacement Target".
Check whether the equipment configuration of CC-Link is correct after setting the station information on
the CC-Link configuration window.
Operating procedure
Select [CC-Link Configuration] [Check] [System Configuration].
The system configuration of CC-Link is checked.
Check the result of the system configuration check on the Output window.
OVERVIEW
The setting status and setting values of the Parameter Processing of Slave Station screen can be
saved in the CSV file format.
CONFIGURATION
Precautions when performing parameter processing
Check the following before performing the parameter processing.
The programmable controller CPU set as a connection target is STOP status.
SYSTEM
The network parameter of master station matches with the start I/O number of PLC parameter.
The network parameter of programmable controller CPU matches with the actual CC-Link configuration.
A refresh device is set on the CC-Link parameter of programmable controller CPU.
3
CONFIGURATION AND
BASIC OPERATIONS
Operating procedure
1. Select a module to which parameters are reflected from the 'list of stations' on the
SCREEN
CC-Link configuration window.
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 SETTING PARAMETERS
Screen button
Imports the checked status and writing values of "Parameter Information" saved in the CSV file
format in advance.
Saves the checked status and writing values of "Parameter Information" in the CSV file format.
Selects all parameters of "Parameter Information".
Cancels the selected status of all the parameters selected for "Parameter Information".
OVERVIEW
Operating procedure
1. Select a module on which a command is performed from the 'list of stations' on the 2
CC-Link configuration window.
CONFIGURATION
2. Select [CC-Link Configuration] [Command Execution of Slave Station].
SYSTEM
The Command Execution of Slave Station screen is displayed.
The following is a screen of FR-A720-0.4K.
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
PROJECT
3. Set the items on the screen.
Item Description 5
Target Module Information Display the information of target module on which the command is performed.
Method selection Select a processing to be performed from the list displayed by clicking .
PROGRAMS
Command Setting Set this when writing values are set for the processing selected for "Method selection".
EDITING
4. Click the button.
The command processing is performed. 6
The result of the processing is displayed on "Execution Result".
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 SETTING PARAMETERS
OVERVIEW
Operating procedure
Select [View] [Docking Window] [Module List]/[Output].
2
CONFIGURATION
Displaying Module List/Output window
The Module List/Output window can be displayed as a docking display/floating display.
SYSTEM
( Section 3.2.4 Docking windows)
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 SETTING PARAMETERS
Operating procedure
Select the profile (*.ipar), and click the button.
The profile is registered.
The added CC-Link module can be found in the module list on the CC-Link configuration window
when the project is opened next time.
A CC-Link module
is added.
Managing profiles
Profiles are managed by each personal computer, and shared within GX Works2 and MELSOFT Navigator.
Therefore, profiles registered in GX Works2 are reflected to MELSOFT Navigator.
OVERVIEW
Q CPU L CPU Remote
FX Head
FX FX
CONFIGURATION
List of slave stations
SYSTEM
< When "Display Detailed Configuration Information" is cleared >
CONFIGURATION AND
BASIC OPERATIONS
List of
SCREEN
slave stations
MANAGEMENT
PROJECT
List of link devices
< When "Display Detailed Configuration Information" is cleared > 5
PROGRAMS
EDITING
List of
link devices 6
< When "Display Detailed Configuration Information" is selected >
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 SETTING PARAMETERS
Operating procedure
Set the items on the screen.
Item Description
Select the start I/O number of master station or local station from the list displayed by
Master/Local Start I/O No.
clicking to display the list of slave stations or link devices.
Slave Station List
Switch the display between the list of slave stations and the list of link device stations.
Link Device List
Display Detailed Configuration Check this to display the detailed information of the list of slave stations or list of link
Information devices.
Display contents
Item Description
Slave Station List This item is displayed when 'list of slave stations' is selected.
Display the information of the slave stations and the range of the refresh devices
assigned to the host station.
When "Display Detailed Configuration Information" is selected, the range of the buffer
List of slave stations
memory is also displayed.
When refresh devices are not assigned, the cells of the refresh device range will be
blank.
Link Device List This item is displayed when 'list of link device stations' is selected.
Display the assignment status of refresh devices on the host station and link devices on
the target station.
List of link device stations When "Display Detailed Configuration Information" is selected, link devices and buffer
memory are also displayed on the host station side.
When profiles are not registered, the "Explanation" cells will be blank.
Screen button
Set the display options.
Select the item displayed by clicking for "Module Name/Object Name" and "Buffer Memory
Display Format", and click the button.
1
Set the purpose and the output format of CSV file output.
Set "Use", "Select Data Range", and "Label Output Format", and click the button.
OVERVIEW
2
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
When "Output CSV file for global label" is selected for "Use", the output CSV file can be imported on
the Global Label Setting screen. 4
( GX Works2 Version 1 Operating Manual (Simple Project))
( GX Works2 Version 1 Operating Manual (Structured Project))
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 SETTING PARAMETERS
1
6.3 Setting Remote Password
OVERVIEW
Q CPU L CPU Remote 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.
2
Screen display
CONFIGURATION
Select Project view "Parameter" "Remote Password".
The following is an example of setting screen when QCPU (Q mode) is selected.
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
PROJECT
Operating procedure
1. Set the items on the screen.
Item Description
5
Password Set the password.
Model Name Set the model of the routing CPU or module.
PROGRAMS
Start XY Set the start I/O number.
EDITING
Set the details when selecting QJ71E71, QnUDE(H)CPU or LCPU.
Password Active User connection No. valid setting
Module Setting Set whether to enable the remote password for the user connection No. 1 to No.
Condition
16.
System connection valid setting
6
Set whether to enable the remote password for the system connections.
PARAMETERS
2. Click the button.
SETTING
8
SETTING DEVICE
INITIAL VALUES
6 - 41
GX Works2
6 SETTING PARAMETERS
6 - 42
6.4 Checking Parameters
1
6.4 Checking Parameters
OVERVIEW
Q CPU L CPU Remote Head FX
This section explains how to check errors in the PLC parameter and the network parameter which are set in
the project.
The result of the parameter check is displayed in the Output window. 2
Screen display
CONFIGURATION
Select [Tool] [Check Parameter].
SYSTEM
<QCPU (Q mode)/LCPU> <FXCPU>
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
Operating procedure
MANAGEMENT
PROJECT
1. Set the items on the screen.
Item Description
Check Target Check the items for the check parameter. 5
2. Click the button.
PROGRAMS
The check parameter is performed, and the result is displayed in the Output window.
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
6 - 43
GX Works2
6 SETTING PARAMETERS
Operating procedure
1. Click the button.
The confirmation message for writing data is displayed.
< I/O assignment setting >
6 - 44
6.5 Outputting Parameters to CSV Files
The following is an image of the saved CSV file opened with Excel
Example of CSV file for I/O assignment setting
OVERVIEW
< I/O Assignment setting >
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
< CSV file >
SCREEN
4
I/O assignment Detailed setting Switch setting Basic setting
MANAGEMENT
Example of CSV file for acknowledge XY assignment
PROJECT
< Acknowledge XY Assignment screen >
PROGRAMS
EDITING
6
< CSV file >
PARAMETERS
SETTING
7
Details of CSV file
SETTING DEVICE
The file format is Unicode (including UTF-16, Little Endian, and BOM).
The delimiter of items is a tab (\t).
Each item is enclosed in double quotation marks (").
If the item contains double quotation marks ("), the double quotation marks in the item are 8
expressed as two double quotation marks ("").
SETTING DEVICE
6 - 45
GX Works2
6 SETTING PARAMETERS
This section explains how to set default parameters to the PLC parameter or the network parameter in batch.
Screen display
Select [Tool] [Clear All Parameters].
The following is an example of setting screen when QCPU (Q mode) is selected.
Operating procedure
1. Set the items on the screen.
Item Description
Select Data Select the parameter to which default parameters are set.
6 - 46
1
OVERVIEW
7 SETTING DEVICE MEMORY 2
CONFIGURATION
This chapter explains the settings of the device memory.
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
7.1 Device Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
4
7.2 Setting Device Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5
MANAGEMENT
7.3 Searching Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14
7.4 Writing/Reading Device Memory Data. . . . . . . . . . . . . . . . . . 7-15
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
7 -1
GX Works2
Device memory is the function that reads/writes data from/to the device memory on 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 on 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 on a programmable controller CPU can be batch
changed.
OVERVIEW
QCPU (Q mode)/LCPU
CONFIGURATION
Input X U
Output Y U
Internal relay M
SYSTEM
Latch relay L
Annunciator F
Edge relay V 3
CONFIGURATION AND
Step relay S U
BASIC OPERATIONS
Link relay B
Link special relay SB
SCREEN
Current value T
Timer Contact TS
Internal user device Coil TC
4
Current value C
Counter Contact CS
MANAGEMENT
Coil CC
Current value ST
PROJECT
Retentive timer Contact STS
Coil STC
Data register D 5
Link register W
Link special register SW
Direct input DX
PROGRAMS
Direct output DY
EDITING
Special relay SM U
Internal system device
Special register SD
Link input J \X U 6
Link output J \Y U
Link register J \W
Link direct device PARAMETERS
Link special register J \SW
SETTING
Link relay J \B U
Link special relay J \SB U
FXCPU
Internal State S U U U U U U U U U
user device Timer T
*1 C
Counter
Data register D
File register D
Internal Special relay M
system
device Special data register D
Extended register R
Extended file register ER
1
7.2 Setting Device Memory
OVERVIEW
Q CPU L CPU Remote
FX Head
FX FX
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
4
MANAGEMENT
PROJECT
Device number Device value
display area display area
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
7 -5
GX Works2
Inserting rows
Select [Edit] [Insert Row] to insert a blank row at the cursor position.
[Edit] [Insert Row]
[Edit] [Delete]
[Edit] [Delete]
7 -6
7.2 Setting Device Memory
OVERVIEW
Create a new device memory in advance. ( Section 4.3.1)
<Example> Setting value:
'Device: D0, Device value: 12'
2
Operating procedure
CONFIGURATION
1. Select the cell to which a device value is set.
SYSTEM
2. Enter 'D0' for a device.
3
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
3. Press the key.
The entered device is set in the device number display
area.
4
In this example, 'D0' is set in the device number display
area and the current value is displayed in the device
MANAGEMENT
value display area.
PROJECT
4. Enter '12' for a device value.
'12' is set as the device value of device 'D0'. 5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
OVERVIEW
2
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
5. Enter a device value to each cell.
SCREEN
The entered values are set.
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
OVERVIEW
Operating procedure
1. Select devices to which a value is to be set. 2
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
2. Select [Edit] [Fill] ( ).
SCREEN
The FILL screen is displayed.
MANAGEMENT
PROJECT
3. Set the items on the screen. 5
Item Description
Data Format Select the data format of device values.
PROGRAMS
BIN Select this to set device values in binary numbers.
EDITING
OCT Select this to set device values in octal numbers.
DEC Select this to set device values in decimal numbers.
HEX Select this to set device values in hexadecimal numbers.
Device Value Enter a value set to devices simultaneously.
6
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
Device values can also be set simultaneously by selecting a range, right-clicking it on the device memory editor,
and selecting [FILL] from the shortcut menu.
Switch the device value display format for each cell on the device memory editor.
Operating procedure
Select [View] [Display Mode] [Binary/Octal/Decimal/Hexadecimal/Float/String/
String(ASCII)].
Device values are displayed in the selected display format.
Switch the device value display size in 16-bit/32-bit/64-bit for each cell on the device memory editor.
Operating procedure
Select [View] [Register] [16-bit/32-bit/64-bit].
Device values are displayed in the selected display size (16 bits, 32 bits or 64 bits).
OVERVIEW
Change the number of rows/columns on the device memory editor.
Screen display
2
Select [View] [Setup].
CONFIGURATION
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
Operating procedure
SCREEN
1. Set the items on the screen.
Item Description 4
Number of Columns Set the number of columns on the editor.
MANAGEMENT
Auto Select this to set the number of columns to 16.
PROJECT
Specify the number of Select this to set the desired number of columns on the editor.
columns (1 - 255) Setting range: 1 to 255
Specify the number of Select this to set the desired number of rows on the editor.
rows (16 - 655360) Setting range: 16 to 655360
PROGRAMS
EDITING
Additional Safety Inquiry Select this to display the confirmation message when device deletion is executed.
PARAMETERS
SETTING
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.
7
Precautions on changing rows and columns
SETTING DEVICE
When a value smaller than the current value is set for "Number of Columns" or "Row", 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
MEMORY
the device memory editor do not change by the setting of "Number of Columns".
8
SETTING DEVICE
INITIAL VALUES
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. Set the items on the screen.
Item Description
Find what Enter the device to be searched for.
Up Select this to perform searching in the upward direction from the cursor position.
Direction
Down Select this to perform searching in the downward direction from the cursor position.
7 - 14
7.4 Writing/Reading Device Memory Data
1
7.4 Writing/Reading Device Memory Data
OVERVIEW
Q CPU L CPU Remote
FX Head
FX FX
This section explains how to write/read device memory data being edited to/from a programmable controller
CPU or Excel file.
2
CONFIGURATION
7.4.1 Writing/reading data to/from programmable controller CPUs
SYSTEM
Write/read device memory data to/from a programmable controller CPU.
To write/read device memory data in units of files, refer to the online Write to PLC/Read from PLC
3
function. ( Section 12.1)
CONFIGURATION AND
BASIC OPERATIONS
Screen display
Select [Tool] [Write Device Memory to PLC]/[Read Device Memory from PLC].
SCREEN
<Writing device memory> <Reading device memory>
MANAGEMENT
PROJECT
Operating procedure 5
1. Set the items on the screen.
PROGRAMS
Item Description
EDITING
Range Select the write/read range.
Select this to write/read data in the specified range to/from a programmable controller
Selected Devices
CPU.
Select this to write/read all data in the device memory being edited to/from a programmable
6
All Devices
controller CPU.
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
Operating procedure
1. Enter a file name or select the file to be opened.
The Save As screen or Open screen is displayed.
OVERVIEW
8 SETTING DEVICE INITIAL 2
VALUES
CONFIGURATION
SYSTEM
This chapter explains how to set, edit, and delete device initial values.
CONFIGURATION AND
BASIC OPERATIONS
SCREEN
8.1 Device Initial Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
4
8.2 Setting Device Initial Values. . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
8 -1
GX Works2
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>
The following table shows the list of devices which can be used as device initial values.
OVERVIEW
Category Device name Device
Timer T
Retentive timer ST
2
Counter C
Internal user device
Data register D
CONFIGURATION
Link register W
Link special register SW
SYSTEM
Internal system device Special register SD
File register File register *1,*2, ZR*2
R
Intelligent function
module device
Intelligent function module device U \G 3
CONFIGURATION AND
Link register
BASIC OPERATIONS
J \W
Link direct device
Link special register J \SW
*1 : When the R device is specified to utilize the device memory data, the ZR device value is utilized for
SCREEN
the R device.
*2 : Not applicable to Q00UJ.
4
MANAGEMENT
PROJECT
5
PROGRAMS
EDITING
6
PARAMETERS
SETTING
7
SETTING DEVICE
MEMORY
8
SETTING DEVICE
INITIAL VALUES
The following flow chart shows the procedure for setting the device initial values.
Start
Operations on the Device Initial Value screen Operations on the Device Memory screen
Perform settings on the <<PLC File>>
tab of PLC parameter to use the
device initial values.
Completed
1
8.2 Setting Device Initial Values
OVERVIEW
Q CPU L CPU Remote
FX 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)
2
Operating procedure
CONFIGURATION
Select Project view "Device Initial Value" "(data name)".
SYSTEM
3
CONFIGURATION AND
BASIC OPERATIONS
Range setting
SCREEN
4
MANAGEMENT
PROJECT
5
PROGRAMS
Operating procedure
EDITING
1. Set the items on the screen.
Item Description
6
Range setting 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
PARAMETERS
Points
within a range.
SETTING
Start/End Select this to set the range for device initial values by start or end device.
Setting
Method
Points/Start Select this to set the range for device initial values by device points or start device.
MEMORY
2. Select the data name to be utilized from in "Device Memory Diversion", and click
8
the button.
The device value in the set range is set as a device initial value.
SETTING DEVICE
INITIAL VALUES
8 -5
GX Works2
Screen button
Executes printing. ( Section 20.7)
Executes print preview. ( Section 20.9)
Displays the Print Setting (Device Initial Value) screen. ( Section 20.8.2)
8 -6
9
SETTING DEVICE
COMMENTS
9 SETTING DEVICE COMMENTS 10
SEARCH/REPLACE
This chapter explains the operation methods for setting, editing, and deleting device comments.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
9.1 Device Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2
12
WRITING/READING
9.2 Creating Device Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-8
9.3 Deleting Device Comments . . . . . . . . . . . . . . . . . . . . . . . . . . 9-12
9.4 Utilizing Sample Comments . . . . . . . . . . . . . . . . . . . . . . . . . . 9-13
9.5 Writing/Reading Device Comments to CSV Files. . . . . . . . . 9-15
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
9 -1
GX Works2
This section explains the general concept of device comments and the setting availability.
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.
SETTING DEVICE
A local device comment is a device comment created by the user.
COMMENTS
No local device comment exists when a new project is created.
Create a local device comment if necessary. ( Section 4.3.1)
Local device comments are used in association with each program.
Device comments are set under the same name as sequence programs.
For Structured projects, device comments are set under the same data name as the program file name.
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Display example when local device comments are set.
CONTROLLER CPU
<Image of a project created with only local device comments> 12
WRITING/READING
MAIN Local device comment Sequence program MAIN
DATA
SUB2 Local device comment Sequence program SUB2
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
SETTING DEVICE
Device comments can be displayed on the ladder editor or Zoom editor window. Select [View]
COMMENTS
[Comment] to display device comments.
When both global and local device comments are set, specify the comment to be displayed by the
following method.
Operation 10
Set the device comment to be referenced by selecting [Tool] [Options] "Program Editor"
SEARCH/REPLACE
"Ladder/SFC" "Comment".
<Example> When different device comments are set for the same device (X)
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Display differs as shown below according
to the option setting.
When the reference of the device X in the When the reference of the device X in the 12
sequence program MAIN is set to the global sequence program MAIN is set to the local
WRITING/READING
device comment device comment
<Option> <Option>
DATA
13
14
The global device comment, 'Initial Start The local device comment, 'Safety Device', is
Instruction', is displayed as a device comment displayed as a device comment for X1.
for X1. MONITORING
15
Device comment to be referenced is not set
If a comment does not exist in the device comment set for "Select Reference", the other device comment can be
displayed by setting the option. Select [Tool] [Options] "Ladder/SFC" "Comment", and select "Reference/
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
9
Bit QCPU (Q mode)/
Category Device name Symbol FXCPU
specification*1
SETTING DEVICE
LCPU
Network No. specification
COMMENTS
J
device
SFC block device BL*5
Step relay (Step relay with
Other BL\S
a block specification)
10
SFC transition device BL\TR
SEARCH/REPLACE
I/O number specifying
U *4
device
CONNECTION DESTINATION
SETTING PROGRAMMABLE
*5 : For projects with labels, comments of the BL device are not reflected to the block titles.
CONTROLLER CPU
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 12
programmable controller CPU (3E00H to 3E30H) in a multiple CPU system.
WRITING/READING
Supported range Unsupported range
U0(\G0) to U1FF(\G65535)
U200(\G0) to U3DF(\G65535)
U3E0(\G0) to U3FF(\G65535)
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
This section explains how to create device comments, which make it easy to understand content of program
processing.
Operating procedure
Set the items on the screen.
Item Description
Device Name Specify the device to be edited.
Comment*1 Enter a device comment for each device.
*1 : 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".
9
Screen button
SETTING DEVICE
(Universal model QCPU/LCPU only)
COMMENTS
Displays all entry fields for bit-specified word device comment.
SEARCH/REPLACE
Limit for the number of characters to be entered
Enter each device comment within 32 characters.
The limit for the number of characters to be entered can be switched between 16 characters and 32 characters.
( Section 21.2)
Cutting/copying/pasting device comments for word devices which support bit-specified word device 11
comments
CONNECTION DESTINATION
SETTING PROGRAMMABLE
For Universal model QCPU/LCPU, select the following menu when cutting/copying/pasting device comments
including bit-specified word device comments.
CONTROLLER CPU
[Edit] [Cut The Range including Hidden Bit Specification Information]
[Edit] [Copy The Range including Hidden Bit Specification Information]
[Edit] [Paste The Range including Hidden Bit Specification Information]
12
Restrictions
WRITING/READING
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.
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
Example) Set 'Result of module A' to D1 and 'Initial setting is completed to D2.
Operating procedure
1. Select [Edit] [Documentation] [Device Comment] ( ).
The mode changes to the device comment editing mode.
SETTING DEVICE
Device comments can be added/modified on the created ladder of the ladder editing screen.
COMMENTS
Example) Set the comment 'Indication of initial start.' for X1
Operating procedure
1. Enter ';;X1=Indication of initial start' 10
on the ladder editor.
SEARCH/REPLACE
The entered comment is added as a device
comment.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
Entering comments following ladder symbol entry
Using the method explained below, a comment can be entered following a ladder symbol entry in ladder editing
DATA
mode.
Click in the Enter Symbol screen, or select [Tool] [Options] "Program Editor" "Ladder/SFC" "Device"
and select "Enter label comment and device comment". 13
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
This section explains how to delete comment data of devices being displayed.
Operating procedure
1. Select the device comment editor [Edit] [Clear All (All Devices)].
All comment data set on the device comment editor are deleted.
9
9.4 Utilizing Sample Comments
SETTING DEVICE
COMMENTS
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.
10
SEARCH/REPLACE
9.4.1 Utilizing sample comments of special relays/special registers
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Operating procedure
CONTROLLER CPU
Select [Edit] [Import from Sample Comment] [Special Relay/Special Register].
The sample comments of special relays/special registers are set on the device comment editor
being edited. 12
WRITING/READING
DATA
13
MONITORING
Project language and sample comments to be utilized
When the project language is changed, sample comments with the language selected for the project language are
utilized.
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
Utilize sample comments of intelligent function module devices and input/output signals.
Operating procedure
1. Select [Edit] [Import from Sample
Comment] [Intelligent Function
Module].
9
9.5 Writing/Reading Device Comments to CSV Files
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote
FX Head
FX FX
This section explains how to write/read device comment data to a CSV file.
10
Writing device comment data
SEARCH/REPLACE
Write device comment data to a CSV file.
Operating procedure
1. Select [Edit] [Write to CSV File]. 11
The confirmation message for writing data is displayed.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
2. Click the button.
DATA
The Write to CSV File screen is displayed.
13
MONITORING
15
3. Enter a file name of the data to be saved.
SIMULATING
4.
PROGRAMS
16
DEBUGGING
PROGRAMS
9 - 15
GX Works2
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.5 Writing/Reading Device Comments to CSV Files
SETTING DEVICE
Set settings such as selecting target devices for writing/reading device comment data.
COMMENTS
Screen display
Select the button on the confirmation message for writing/reading data.
< When reading device comment data >
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Operating procedure 12
1.
WRITING/READING
Set the items on the screen.
Item Description
Target Device Selection Display all devices to which device comments can be set in a program.
DATA
Non-target Display devices which are not to be written/read.
Target Display devices which are to be written/read.
Read after deleting comment data of
Select this to read devices after deleting set device comments.
13
target device type*1
PROGRAMMABLE
PROTECTING
2. Click the button.
Return to the confirmation message for writing/reading data.
Screen button 14
MONITORING
Moves devices selected for "Non-target" to "Target".
Moves all devices displayed on "Non-target" to "Target".
15
Moves devices selected for "Target" to "Non-target".
SIMULATING
PROGRAMS
Moves all devices displayed on "Target" to "Non-target".
Sets the setting items to the default.
16
DEBUGGING
PROGRAMS
9 - 17
GX Works2
A title name of device comment editor and a title name of CSV file are linked.
Data of the column whose title matches with the title of the device comment editor are read to the
device comment editor.
Data of the column whose title does not match with the title of the device comment editor are not
read.
Data can be read even when the sorted order of CSV file does not match with the sorted order of
the device comment editor.
The following is an image of the saved CSV file opened with Excel.
< Device comment editor >
9 - 18
9
SETTING DEVICE
COMMENTS
10 SEARCH/REPLACE 10
SEARCH/REPLACE
This chapter explains the operation methods for searching for/replacing the character strings used in
programs.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
10.1 Cross Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2
12
WRITING/READING
10.2 Displaying Device List . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-13
10.3 Search/Replacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-15
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
10 - 1
GX Works2
10 SEARCH/REPLACE
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 parameters of network parameter
Auto refresh setting of intelligent function module parameter
Block information of SFC program
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] ( ).
9
Operating procedure
SETTING DEVICE
1. Specify the conditions to create cross reference information as necessary.
COMMENTS
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) 10
SEARCH/REPLACE
2. Select a device/label on the program editor/label setting editor.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
device/label is used opens and the corresponding device/label becomes in the selected status.
CONTROLLER CPU
The following screen is a result of a Structured project in which "Display all items" and "Display
hierarchically" are selected on the <<Condition Setting>> tab.
12
WRITING/READING
Attributes
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
10 SEARCH/REPLACE
Display contents
Item Description
<<Cross Reference Information>> Display the cross reference information in view format.
Display icons which indicate attributes of devices/labels.
Attributes
( 'Icons to indicate attribute' in this section)
Device/Label Display the device/label name.
*1,*2 Display the class of the device/label.
Class
*1,*2 Display the data type of the device/label.
Label Data Type
Display the constant value set for VAR_GLOBAL_CONSTANT or
Constant*1,*2 VAR_CONSTANT.
Device*1 Display the device assigned to the label (automatically assigned device).
9
Screen button
SETTING DEVICE
COMMENTS
Prints the selected row. ( Section 20.7)
Prints all lists when a row is not selected.
10
Displays a print preview of the selected row. ( Section 20.9)
SEARCH/REPLACE
Displays a print preview of all lists when a row is not selected.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
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.
CONTROLLER CPU
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 "Auto-tracking" is selected on the <<Condition Setting>> tab, the maximum number of results that can be
created in the cross reference information is 500. 12
Jump function
WRITING/READING
The jump function cannot be used for the cross reference information of a parameter.
Moving the focus
( + ) moves the focus between the editor and the Cross Reference window.
( + )/ + ( + + ) moves the cursor to the previous/next row.
DATA
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.
13
PROGRAMMABLE
PROTECTING
Restrictions
When "Create cross reference information after completion compile" is selected 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),
14
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 MONITORING
indexed are searched.
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
10 SEARCH/REPLACE
The following table shows icons displayed according to the attribute of device/label.
When the attribute is label, an icon is displayed with a combination of class and data type as
shown in the display example.
Display
Attribute Icon Description
example
Label - -
Data type Displayed when the label data type is function block.
Position information
*1 : For the SFC block number, check the property of block (program) displayed in "Data Name".
(For details of properties Section 4.3.6)
SETTING DEVICE
Displaying cross reference information in uncompiled state
COMMENTS
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 one of the following
operations.
Select "Fast Find" on the <<Condition Setting>> tab.
10
SEARCH/REPLACE
This item can be set for Simple projects (with labels) only.
For details of "Fast Find", refer to Section 10.1.2.
Select [Tool] [Options] "Compile" "Basic Setting", select "Create 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.
11
Display after creation of cross reference information is completed
CONNECTION DESTINATION
SETTING PROGRAMMABLE
The icon on the bottom left of the screen changes according to the status of the displayed cross
CONTROLLER CPU
reference information.
Icon Status of cross reference information
Indicate the project has been changed after the cross reference information is created.
12
WRITING/READING
Indicate the cross reference information cannot be used. For instance, cross reference
information has not been created.
Indicate the cross reference information created in past is displayed. (Only when "Fast Find" is
selected.)
DATA
The data protected by security cannot be displayed.
If the program or the option setting is changed, the cross reference information does not 13
correspond with the program. In order to update the cross reference information, create it again.
PROGRAMMABLE
PROTECTING
the display in the tree, clear "Display hierarchically" and "Display the last device of multiple points
device" 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 14
target of search is only the first 16 points of devices.
When the same name is used for label and device
MONITORING
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. 15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
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.
SETTING DEVICE
COMMENTS
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
Select the <<Condition Setting>> tab on the Cross Reference window. 10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Operating procedure
Set the items on the screen.
Item Description
12
WRITING/READING
<<Condition Setting>> Set the conditions of the cross reference.
Find Condition
Include label definition Select this to search each label setting editor.
Display Condition
DATA
Select this to display all items that can be created in the cross reference
Display all items
information.
Display hierarchically Select this to display a structure/array/FB hierarchically. 13
PROGRAMMABLE
Find Mode
PROTECTING
*2 Select this to create cross reference information of devices/labels selected on the
Auto-tracking editor automatically.
Select this to display cross reference information more quickly.
Only "Device/Label", "Device", "Instruction", "Ladder Symbol", "Position", and
"Data Name" are displayed.
14
*3 ST programs and inline ST programs are not searched.
Fast Find
By selecting this item, the setting of "Create cross reference information after
completion compile" under [Tool] [Options] [Compile] "Basic Setting" is MONITORING
disabled.
Explanation Display the explanation of the condition item.
16
DEBUGGING
PROGRAMS
10 SEARCH/REPLACE
"Display the last device of multiple points device" on the <<Condition Setting>> tab
The last device of the device which uses multiple device points in an instruction or refresh parameter can be
displayed. Select "Display the last device of multiple points device" on the <<Condition Setting>> tab to display the
last device.
The start and last devices are displayed in a tree format as shown below.
SETTING DEVICE
COMMENTS
Filter the created cross reference information.
Ladder symbols cannot be filtered.
The following is an example of display by filtering devices/labels with the condition 'D*'.
10
Operating procedure
SEARCH/REPLACE
1. Enter 'D*' in the filtering condition column under "Device/Label".
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
2.
WRITING/READING
Press the key.
The data matching with the set filtering condition are displayed in the Cross Reference window.
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
10 SEARCH/REPLACE
Filtering condition
Clicking enables to select a keyword from the list of previously entered keywords.
For "Data Name" and "Program File Name", search results can also be selected from the list as well as 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.
9
10.2 Displaying Device List
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote Head FX
This section explains how to display the usage of the specified devices.
Screen display 10
Select [Find/Replace] [Device List].
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
Operating procedure
1. Set the items on the screen.
DATA
Item Description
Device
Enter a device to be searched for. 13
Click to select a device from the list of previously searched devices.
PROGRAMMABLE
Click to select a location to search for. Click to select a location
Find In
PROTECTING
from the list of previously searched locations.
The location cannot be entered directly.
All devices Display all devices.
Display Option Used devices Display devices used in the program.
Unused devices Display devices not used in the program.
14
Number of Find 65536 Points Select this to set device points to be searched to 65536 points.
Points 512 Points Select this to set device points to be searched to 512 points.
MONITORING
16
DEBUGGING
PROGRAMS
10 - 13
GX Works2
10 SEARCH/REPLACE
Display contents
Item Description
Display the range of the devices searched.
Find Range
The display can be switched by clicking the / button.
Device Display the device name.
Contact Display '*' when the device is used as a contact.
Coil (counts) Display '*' and the number of uses when the device is used as a coil.
Display '*' when the device is used as a parameter or an intelligent function module
Parameter*1 parameter.
Display the device comment set for reference/reflection target in the option setting.
Comment ( Section 9.1.1 Specifying device comments to be displayed in program')
Specify a program for "Find In" to enter device comments.
Screen button
Prints the selected row. ( Section 20.7)
Prints all lists when a row is not selected.
Displays a print preview of the selected row. ( Section 20.9)
Displays a print preview of all lists when a row is not selected.
Deletes device comments which are not used in a program.
Device comments can be deleted when a program is specified for "Find In".
10 - 14
10.3 Search/Replacement
9
10.3 Search/Replacement
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote
FX Head
FX FX
This section explains how to search for and replacing character strings, devices, labels, instructions, etc. in
project data.
If the All Find/All Replace function is executed, the details of the execution result are displayed. 10
SEARCH/REPLACE
Purposes of each search/replacement
The following table shows the purposes of each search/replacement.
Function Purpose
Find Device/ 11
Used for searching for/replacing a device or label in a program.
Replace Device
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Find Instruction/
Used for searching for/replacing an instruction in a program.
CONTROLLER CPU
Replace Instruction
Find String/ Used for searching for/replacing a character string used in a program, label, and device
Replace String comment.
Change Open/Close Used for switching the contact type of a specified device in a program from normal to
Contact negation, or from negation to normal.
Device Batch Replace Used for searching for/replacing devices or labels in a program in batch.
12
WRITING/READING
Displaying the Find/Replace screen
The Find/Replace screen can also be displayed by selecting [View] [Docking Window] [Find/Replace].
Replace function
The programs are in the uncompiled status after the Replace function is executed. Compile all the programs
again.
DATA
The Replace function cannot be executed during monitoring. Execute the function after monitoring is finished.
The Replace function cannot be executed when a program is opened with the read-only mode. Execute the
function after setting the data in editable mode by the setting such as resetting the security. 13
PROGRAMMABLE
Searching/replacing data in inline structured text box
PROTECTING
The search starts from the top of the program in the inline structured text box regardless of the cursor position.
Replacement of items corresponding to system labels
The following items that correspond to system labels cannot be replaced.
Relation with system label
System label name 14
Attribute
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
10 - 15
GX Works2
10 SEARCH/REPLACE
Operating procedure
1. Set the items on the screen.
Item Description
Click the button to select a location to search for.
Click to select a location from the list of previously searched
Find In
locations.
The location cannot be entered directly.
Find Device Enter a device/label to be searched for or a replacing device/label.
Click to select from the list of devices or labels entered
Replace Device
previously.
Enter the number of points to be searched/replaced, counted from
the device entered in the "Find Device" field. When a label is entered
for "Find Device" or "Replace Device", enter 1.
Click to select either hexadecimal or decimal for the value to be
Device Point used.
Example) When X50 for "Find Device", X100 for "Replace Device", 3
for "Device Point", and "DEC" for entered value are set, the devices
are replaced as shown below.
X50X100, X51X101, X52X102
Select this to execute a search in the downward direction from the
From Top
start of the program.
Select this to execute a search in the downward direction from the
Find Direction Down
cursor position.
Select this to execute a search in the upward direction from the
Up
cursor position.
Select this to execute a search for the entered device and digit
Digit*1 specification for bit devices that include the entered device.
Select this to execute a search for the entered device and the
Option Multiple word*2 double-word format (double word/real number/indirect specification)
word devices that include the entered device.
Select this not to move the focus to the editor after the search/
Consecutive search with enter key replace function.
The searched/replaced position may not be highlighted.
Select this to move a device comment of "Find Device" to "Replace
Move
Device Device".
Comment*2 Select this not to move a device comment of "Find Device" to
Do not move
"Replace Device".
9
2. Click the button.
SETTING DEVICE
The cursor moves to the searched device.
COMMENTS
Screen button
Searches for the character string entered in "Find String".
10
SEARCH/REPLACE
Batch searches for the character string entered in "Find String".
The search result is also displayed. ( Section 10.3.6)
Replaces the character string entered in "Find String" with the character string entered in "Replace
String".
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
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)
12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
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 M0, K4M0, M0Z0, K4M0Z0
K4M0 K4M0, K4M0Z0
D0 D0, D0Z0, D0.1*1
D0.1 D0.1
J1\B0, J1\B0Z0, J1Z0\B0, J1Z0\B0Z0, J1\K4B0, J1\K4B0Z0, J1Z0\K4B0,
J1\B0*1 J1Z0\K4B0Z0
SETTING DEVICE
The following table shows the devices/labels that can be replaced or batch replaced.
COMMENTS
: Replaceable : Not replaceable
New device/label
Device
specified
Word device
indirect
Digit-
specified
Index
specified
bit device
+ Label/ 10
word setting Bit-specified String
(X0, D0) specification*2 bit device +
SEARCH/REPLACE
device (X0Z0) word device (g_bool1)
(@D0) (K1X1) Index setting
(D0.1*1) (K4X0Z0j (J1Z0\W0.1*2)
Device
(X0, D0)
Bit-specified
word device 11
(D0.1*1 )
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Word device
CONTROLLER CPU
indirect
specification*2
(@D0)
Digit-specified
bit device 12
Old device/label
(K1X1)
WRITING/READING
Index setting
(X0Z0)
Digit-specified
DATA
bit device
+
Index setting
(K4X0Z0j 13
PROGRAMMABLE
Bit-specified
PROTECTING
word device
(J1Z0\W0.1*2)
Label/String
(g_bool1) 14
*1: Supported by FX3U and FX3UC only.
*2: Not supported by FXCPU. MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
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 Example Description
label1 Labels exist independently.
Applicable label position
MOV (label1, D0, D1); Labels used at label positions in functions.
Inapplicable label position label1 (m1, m2) Labels used at instruction positions.
Device/label names
Device/label names are not case-sensitive.
SETTING DEVICE
COMMENTS
Search/replace instructions.
Screen display
Select [Find/Replace] [Find Instruction] ( ) /[Replace Instruction]/[Find Contact or Coil] ( ).
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Ladder symbol Device instruction
selection area input area 12
Operating procedure
WRITING/READING
1. Set the items on the screen.
DATA
Item Description
Click the button to select a location to search for.
Find In Click to select a location from the list of previously searched locations. 13
The location cannot be entered directly.
PROGRAMMABLE
Find Instruction Enter an instruction, device, or label to be searched for.
PROTECTING
Device instruction input area Click to select from the list of instructions, devices, or labels entered
previously.
Ladder symbol selection area Click to select a replacing ladder symbol from the list.
10 SEARCH/REPLACE
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)
SETTING DEVICE
COMMENTS
Search/replace character strings.
Screen display
Select [Find/Replace] [Find String]/[Replace String].
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Operating procedure 12
WRITING/READING
1. Set the items on the screen.
Item Description
Click the button to select a location to search for.
DATA
Find In Click to select a location from the list of previously searched locations.
The location cannot be entered directly.
Find String Enter a character string to be searched for or a replacing character string. 13
Click to select a character string from the list of character strings
PROGRAMMABLE
Select this to execute a search in the downward direction from the start of
From Top
PROTECTING
the program.
Find Select this to execute a search in the downward direction from the cursor
Down
Direction position.
Select this to execute a search in the upward direction from the cursor
Up
position. 14
Match case Select this to execute a case-sensitive search.
Select this to execute a search by matching whole word only.
Match whole word only MONITORING
For details of the whole word, refer to the Point in this section.
Option Do not search comments in Select this to exclude line statements, PI statements, notes, and comments
program in programs from the search target.
Select this not to move the focus to the editor after the search/replace
Consecutive search with
enter key
function.
The searched/replaced position may not be highlighted.
15
Screen button
For the screen buttons, refer to Section 10.3.1. 16
DEBUGGING
PROGRAMS
10 SEARCH/REPLACE
SETTING DEVICE
COMMENTS
Change contact types from open contact to closed contact, and conversely, from closed contact to open
contact.
Screen display 10
SEARCH/REPLACE
Select [Find/Replace] [Change Open/Close Contact].
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
Operating procedure
1. Set the items on the screen.
DATA
Item Description
Click the button to select a location to search for.
Find In Click to select a location from the list of previously searched locations. 13
The location cannot be entered directly.
PROGRAMMABLE
Click to select from the list of devices/labels entered previously.
PROTECTING
Enter the number of points to be searched/replaced, counted from the device
entered in the "Replace Device" field. When a label is entered for "Replace Device",
enter 1.
Click to select either decimal or hexadecimal for the value to be entered.
Device Point 14
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.
MONITORING
Select this to execute a search in the downward direction from the start of the
From Top
Find program.
Direction 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 Select this not to move the focus to the editor after the search/replace function. 15
Option
with enter key The searched/replaced position may not be highlighted.
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 SEARCH/REPLACE
SETTING DEVICE
COMMENTS
Batch replace devices with the specified device/label.
Screen display
Select [Find/Replace] [Device Batch Replace].
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Operating procedure
1. Set the items on the screen. 12
WRITING/READING
Item Description
Click the button to select a location to search for.
Click to select a location from the list of previously searched
Find In
DATA
locations.
The location cannot be entered directly.
Find Device Enter a device/label to be replaced. 13
Replace Device Enter a replacing device/label.
PROGRAMMABLE
device specified for the "Find Device". When a label is entered for
"Find Device" or "Replace Device", enter 1.
PROTECTING
Point format: Click to select either decimal or hexadecimal for the
value entered for the "Points".
Point Format
Example) When X0 for "Find Device", X10 for "Replace Device", 5 14
for "Points", and "DEC" for "Point Format" are set, the devices are
replaced as shown below:
X0X10, X1X11, X2X12, X3X13, X4X14
Select this to move a device comment of "Find Device" to "Replace MONITORING
Move
Device Device".
Comment*1 Select this not to move a device comment of "Find Device" to
Do not move
"Replace Device".
The devices/labels entered in "Find Device" are batch replaced with the devices/labels entered in
"Replace Device".
Screen button
16
Resets all setting items to default.
DEBUGGING
PROGRAMS
10 SEARCH/REPLACE
SETTING DEVICE
COMMENTS
After the All Find/All Replace function is executed, results and error logs are displayed.
Displaying results
10
SEARCH/REPLACE
Screen display
Click the / button in the respective Find/Replace windows <<Result>>.
11
Status
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Search/replace
results
12
WRITING/READING
Sub status bar
Display contents
DATA
Item Description
Display the character strings, locations, and positions which have been
Search/replace results
searched for or replaced. 13
Display the character strings which match with the one in "Find/Replace
PROGRAMMABLE
Place Display the locations where the search/replace function is executed.
PROTECTING
Display the position information to specify the location where the
Position search/replace function is executed. ( 'Position information' on
the next page)
Status Display the details of the search/replace results.
Display the number of character strings which have been searched for
14
Find/Replace Result
or replaced.
Error Logs Display the number of error logs.
Find String Display the character strings specified in "Find String". MONITORING
16
DEBUGGING
PROGRAMS
10 SEARCH/REPLACE
Position information
The following position information is displayed according to the editor.
Type Display contents Example
Ladder editor Step number *1
2 Step
ST editor Number of lines (6)
SFC editor SFC symbol and step number Transition No. 0
Structured ladder/FBD editor Ladder block number and grid position 2. (10. 2)
Device comment editor Device name, start position X1, 0 Column
Label Setting screen,
Structure Setting screen, Row, column 8 Row 1 Column
Device memory editor
*1 : For project with labels and SFC (Zoom), parentheses are appended to the step number.
(Example: (2) Step)
SETTING DEVICE
Screen display
COMMENTS
Click the / button in the respective Find/Replace windows <<Error Log>>.
10
SEARCH/REPLACE
Status
Error logs
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Display contents
Item Description
Status Display the number of error logs, and the search location. 12
Error logs Display the errors in search/replace results.
WRITING/READING
DATA
Jump function
The jump function is used to jump from any row of search/replace results or logs to the corresponding character
strings. 13
To execute a jump, right-click on the selected row and select [Jump] from the shortcut menu, or double-click the
PROGRAMMABLE
PROTECTING
14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
10 SEARCH/REPLACE
MEMO
SETTING DEVICE
COMMENTS
11 SETTING PROGRAMMABLE CONTROLLER 10
SEARCH/REPLACE
This chapter explains how to set a connection destination for accessing a programmable controller CPU from
GX Works2.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
11.1 Setting Connection Destinations . . . . . . . . . . . . . . . . . . . . . 11-2
12
WRITING/READING
11.2 Accessing Programmable Controller CPU Directly Coupled . . . 11-7
11.3 Accessing Programmable Controller CPU Via Networks . . . 11-12
11.4 Accessing Programmable Controller CPU in Multiple CPU System . . . 11-19
11.5 Accessing Programmable Controller CPU via Ethernet Board . . . 11-22
DATA
11.6 Accessing Programmable Controller CPU via G4 Module . . 11-24
11.7 Setting for Access via Serial Communication Module. . . 11-25 13
PROGRAMMABLE
PROTECTING
11.10 Precautions on Communication with Programmable Controller CPU . . . 11-55
14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
11 - 1
GX Works2
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 in GX Works2. To set multiple connection destinations, create
data for each connection destination on the New Data screen. ( Section 11.1.2)
The programmable controller type of the project should be the same as that of the programmable controller
CPU to be accessed.
Screen display
Select Navigation window Connection Destination view "(connection destination data name)".
11 - 2
11.1 Setting Connection Destinations
SETTING DEVICE
COMMENTS
Interfaces are displayed on the Transfer Setup screen as shown below and detailed settings of each
interface can be configured.
SEARCH/REPLACE
PC side I/F MELSECNET/10(H)
Network route
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
Detailed setting display fields
DATA
13
Set the interface of the programmable controller CPU connected to the personal computer.
Other Station Setting
Item Description
15
Specify this to access the programmable controller CPU directly connected to a personal
No Specification
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, CC-
SIMULATING
PROGRAMS
Other Station (Single Link IE only, C24 module only and Ethernet only.
Network)*1 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.
Specify this to access the programmable controller CPU on another station via two kinds of
Other Station (Co-existence network.
This means the system that is configured with two different networks, such that from
16
Network)*1,*2 MELSECNET/10(H) to CC-Link module or from Q series C24 module to MELSECNET/
10(H).
DEBUGGING
Screen button
The Connection Channel List screen is displayed.
The connection destination can be set while checking network routes on the Connection Channel
List screen.
Since the route selected in the Connection Channel List screen is set automatically on the Transfer
Setup screen, the setting is easy even for a complex system.
The following is an example of setting screen when QCPU (Q mode) is selected.
Operation
1. Select a route on the Connection Channel List
screen.
2. Click the / button.
The selected route is displayed on the Transfer
Setup screen. Set the network number, station
number, and other settings depending on the
access target.
"List mode"
List mode Description
Display all routes supported by
Display All Routes
GX Works2.
Display only accessible routes for
"Other Station Setting" and
"Network Communication Route"
setting.
Display Selected
Specify the interfaces for "PC side
Routes
I/F" and "PLC side I/F" on the
Transfer Setup screen and select
"Display Selected Routes" to
display the 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.
SETTING DEVICE
Tests if the target programmable controller CPU set on the Transfer Setup screen can be accessed
normally.
COMMENTS
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.
10
SEARCH/REPLACE
Shows the set connection channel in an illustration.
/
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
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
11.1.2 Creating connections
WRITING/READING
Screen display
Select [Project] [Object] [New] ( )
DATA
13
16
DEBUGGING
PROGRAMS
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.
9
11.2 Accessing Programmable Controller CPU Directly Coupled
SETTING DEVICE
This section explains the setting method for accessing the programmable controller CPU directly connected to
COMMENTS
a personal computer.
SEARCH/REPLACE
Q CPU L CPU Remote
FX Head FX
The following explains the setting for accessing the host programmable controller CPU from GX
Works2 with serial/USB cable.
11
Host programmable controller CPU
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
DATA
When connecting
directly to the 13
programmable
PROGRAMMABLE
PROTECTING
14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
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
SETTING DEVICE
times" as necessary.
COMMENTS
10
SEARCH/REPLACE
"PC side I/F" of FXCPU
For FXCPU, the selection of the RS-232/USB must be as follows.
Item Description
RS-232 C
Select this item when connecting using the RS-232 of a personal computer
or when connecting to the USB of a personal computer with FX-USB-AW/
11
(Including FX-USB-AW and FX3U-USB-BD)
FX3U-USB-BD.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Select this item when connecting the GOT1000 series USB to the USB of
CONTROLLER CPU
USB a personal computer directly using the transparent function or when
connecting to the USB of a personal computer directly.
WRITING/READING
speed FX0S FX2C FX1NC FX2NC FX3GC FX3UC
9.6kbps
19.2kbps
38.4kbps
DATA
57.6kbps
115.2kbps 13
PROGRAMMABLE
FX3G, FX3GC : FX-232AWC-H
PROTECTING
FX3U, FX3UC : FX-232AWC-H or FX-USB-AW
14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
Item Description
Select a protocol.
PC side I/F
Network number and station number do not need to be set since they are not used.
PLC side I/F Select the access method. ( Detailed settings of PLC side I/F)
SETTING DEVICE
The following is a setting example when searching for a Built-in Ethernet port QCPU/LCPU on the
COMMENTS
same network connected via hub and utilizing the IP address.
10
SEARCH/REPLACE
Connection destination
CPU information list 11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Operation
1. Select a programmable controller type connected to a personal computer in "PLC Mode".
12
WRITING/READING
2. Select "Connection via HUB".
3. Click the button.
The IP addresses, CPU types, labels, and comments of the Built-in Ethernet port QCPUs/
DATA
LCPUs on the same network are displayed in the 'connection destination CPU information
list'.
13
4. Select a Built-in Ethernet port QCPU/LCPU to be connected in the 'connection destination
PROGRAMMABLE
The selected IP address is displayed in "IP Address".
PROTECTING
14
Precautions when using Windows Vista or Windows 7
On Windows Vista or Windows 7, the following message may be displayed when the
button is clicked. MONITORING
Click the button for Windows Vista and click the button for Windows 7 to unblock the
program (permit the access) and continue the operation. (The screen shown below is from Windows Vista.)
15
SIMULATING
PROGRAMS
16
When the same IP addresses are displayed
If the same IP address is displayed in the 'connection destination CPU information list' when the
button is clicked, multiple IP addresses may be set in the Windows Network Connections setting.
DEBUGGING
PROGRAMS
In such case, reset the IP addresses not to overlap in the Internet Protocol (TCP/IP) Properties screen.
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
2. Set "PLC side I/F".
Section 11.1.1
3. Set "Other Station Setting"
Section 11.1.1
4. Set "Network Communication Route" / "Co-existence Network Route".
Select the network type, network number, station number, and start I/O number of the network
that is routed for accessing the programmable controller CPU on another station. The setting
items differ according to the selected network type.
11 - 12
11.3 Accessing Programmable Controller CPU Via Networks
SETTING DEVICE
The following is the setting example for accessing the programmable controller CPU via single network.
COMMENTS
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 10
Network".)
SEARCH/REPLACE
The following shows the connection destination detail setting screen example for the mixed system
configuration (Q series only).
Ethernet
Network number 3
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
MELSECNET/10(H)
Network number 1
CONTROLLER CPU
Ethernet
Network number 2
12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
11 - 13
GX Works2
11 - 14
11.3 Accessing Programmable Controller CPU Via Networks
Screen settings for CC-Link system with QCPU (Q mode)/LCPU (single network) 9
The following shows the connection destination detail setting screen example for the CC-Link
SETTING DEVICE
system configuration.
COMMENTS
Request target
Master station Station number 1 Station number 2 (Station number 3)
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
DATA
13
MONITORING
Accessible station numbers when accessing the programmable controller CPU on another station via CC-
Link
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) 15
to 63.
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
11 - 15
GX Works2
Request target
Master station Station number 1 Station number 2 (Station number 3)
*1 *3 *2 *4 *2 *4 *2 *4
FXCPU FXCPU FXCPU FXCPU
CC-Link
*1: FX3U/FX3UC version 3.10 or later
*2: FX3G/FX3U/FX3UC
For FX3UC, supported by version 2.20 or later
*3: CC-Link master station
*4: CC-Link intelligent device station
11 - 16
11.3 Accessing Programmable Controller CPU Via Networks
SETTING DEVICE
FXCPU via QCPU (Q mode).
For details of CC-Link system with FXCPU, refer to the following manuals.
COMMENTS
CC-Link user's manuals for FXCPU
QCPU
(Q mode)
*1 10
SEARCH/REPLACE
CC-Link
*1: Master station
*2 *3
FXCPU *2: FX3G/FX3U/FX3UC
For FX3UC, supported by version 2.20 or later
Request target *3: CC-Link intelligent device station
(Station number 3)
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
DATA
13
14
CC-Link module ( )
16
DEBUGGING
PROGRAMS
11 - 17
GX Works2
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.
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).
MNET/
MNET/
MNET/
10(H)
10(H)
10(H)
CPU
CPU
C24
Station No.0
C24
CPU
C24
Station number 22 Request target (Station number 2)
Station number of
route target C24 module ( )
11 - 18
11.4 Accessing Programmable Controller CPU in Multiple CPU System
9
11.4 Accessing Programmable Controller CPU in Multiple CPU System
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote Head FX
SEARCH/REPLACE
explained.
The setting for accessing the host CPU is the same as that for accessing the programmable controller 11
CPU on the host station. ( Section 11.2)
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Accessing other CPUs
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 12
computer.
WRITING/READING
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.
DATA
The following shows a setting example when accessing the CPU No. 4 by connecting the personal
computer to the CPU No. 1. 13
PROGRAMMABLE
CPU No. 2
PROTECTING
CPU No. 3
14
CPU No. 4 (access target)
Operation MONITORING
16
Specify the
CPU No. 4.
DEBUGGING
PROGRAMS
11 - 19
GX Works2
Accessing the programmable controller CPU via network in multiple CPU system
The following explains the setting method for accessing the programmable controller CPU in a multiple
CPU system on another station via a network.
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.
Section 11.1.1
11 - 20
11.4 Accessing Programmable Controller CPU in Multiple CPU System
SETTING DEVICE
Access range by network module function versions
COMMENTS
To access programmable controller CPUs which are not controlling the network module of the access target
station, use the network module with function version B or later.
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
11 - 21
GX Works2
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
CPU 2
Network number 2
11 - 22
11.5 Accessing Programmable Controller CPU via Ethernet Board
9
Operation
SETTING DEVICE
Set the connection destination setting.
COMMENTS
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Item Description
12
WRITING/READING
PC side I/F Set the network number, station number*1, and protocol.
Set the model, station number, IP address and other items for the module to be
connected to the personal computer.
PLC side I/F
For "Station No. IP Information", set the method corresponding to the setting for
DATA
"Station No. IP Information" of Ethernet parameter.
Network Communication
Set the network number and station number of the access target station.
Route 13
*1 : Set the station number avoiding the same station number already assigned to the existing
PROGRAMMABLE
PROTECTING
Communication when multiple GX Works2 are connected
Perform communication using TCP/IP or UDP/IP. ( Section 6.2.1) 14
Multiple network systems
For a multiple network system, routing parameters must be set.
Q Corresponding Ethernet Interface Module User's Manual (Application) MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
11 - 23
GX Works2
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.
QJ61BT11N
AJ65BT-G4-S3 Station number 0
Station number 1
Operation
Set the connection destination setting.
Item Description
PC side I/F Set the COM port and transmission speed.
PLC side I/F Set the model of the G4 module to be connected.
Other Station Setting Set "Other Station (Single Network)".
Network Communication
Set the station number of the access target station.
Route
11 - 24
11.7 Setting for Access via Serial Communication Module
9
11.7 Setting for Access via Serial Communication Module
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote Head FX
This section explains the setting method for accessing the programmable controller CPU on host station or on
another station via a C24 module.
10
SEARCH/REPLACE
11.7.1 Connection on a 1:1 basis
The following shows a setting example when accessing a programmable controller CPU by connecting
a personal computer and a Q series C24 module.
11
Q series C24 module
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
Operation
Set the connection destination setting.
The following shows a setting example on a screen when accessing a programmable
DATA
controller CPU from GX Works2 via a C24 module.
The image below is an example for Q series C24 module.
13
MONITORING
15
Item Description
PC side I/F Set the COM port and transmission speed.
SIMULATING
PROGRAMS
*1 : If a number other than '0' is set in the station number setting of the C24 module, set the 16
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
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.
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 Description
PC side I/F Set the COM port and transmission speed.
Set the model and station number of the C24 module to be
PLC side I/F
connected.
Other Station Setting Set "Other Station (Single Network)".
Specify the start I/O number of the C24 module connected to GX
Network Communication Route
Works2 and the station number of access target.
SETTING DEVICE
The following shows a setting example when accessing the programmable controller CPU in another
COMMENTS
station via Q series C24 modules by directly connecting the personal computer to the programmable
controller CPU.
SEARCH/REPLACE
Operation
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Set the connection destination setting.
The following shows a setting example of a screen for accessing a programmable controller
CONTROLLER CPU
CPU from GX Works2 via C24 modules.
The image below is an example for Q series C24 module.
12
WRITING/READING
DATA
13
MONITORING
15
Item Description
PC side I/F Set the interface of the personal computer. ( Section 11.1.1)
SIMULATING
PROGRAMS
Item Description
Does the programmable controller CPU
Refer to the user's manual of the programmable controller CPU used.
operates normally?
Refer to the user's manual of the GOT to be used.
GOT1000 Series Connection Manual
Is the programmable controller CPU
GOT-A900 Series User's Manual (Connection System Manual)
connected to GOT normally?
GOT-F900 SERIES GRAPHIC OPERATION TERMINAL HARDWARE
Manual [Connection]
*1 *2
*1: The following table shows the connection between the personal computer and GOT.
: Connectable
GOT
Connection
GOT1000 series GOT-A900 series GOT-F900 series
RS-232 connection
USB connection
Ethernet 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]
SETTING DEVICE
The following shows the settings for connecting a personal computer and a GOT with RS-232 or USB.
COMMENTS
Operation
1. Set "PC side I/F".
Section 11.1.1
10
2. For QCPU (Q mode), LCPU, FX3G, FX3GC, FX3U, or FX3UC, double-click "GOT" on "PLC side
SEARCH/REPLACE
I/F".
The PLC side I/F Detailed Setting of GOT screen is displayed.
< QCPU (Q mode)/LCPU > < FXCPU >
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
For CPUs other than FX3G, FX3GC, FX3U, or FX3UC, click "GOT" on "PLC side I/F". The
DATA
screen will not be displayed in this situation.
3. For QCPU (Q mode), LCPU, FX3G, FX3GC, FX3U, or FX3UC, set the following setting on the 13
PLC side I/F Detailed Setting of GOT screen.
PROGRAMMABLE
Detail setting for GOT and PLC
Select "PLC Module/CC IE Field Ethernet Adapter"
PROTECTING
connection
For QCPU (Q mode)/LCPU
Select "QCPU (Q mode)" or "LCPU" for "PLC Mode".
The following shows the settings for connecting a personal computer and a GOT with Ethernet.
Operation
1. Set "PC side I/F".
Section 11.1.1
2. Double-click "GOT" on "PLC side I/F".
The PLC side I/F Detailed Setting of GOT screen is displayed.
3. Set the following setting on the PLC side I/F Detailed Setting of GOT screen.
< Detailed setting screen when using the Ethernet <GOT (Ethernet) Transparent Setting screen>
connection between personal computer and GOT>
Item Description
Ethernet Detail setting for PC Set settings such as an IP address and a host name when using the Ethernet
and GOT connection connection between a personal computer and a GOT.
Detail setting for GOT and PLC
Select "PLC Module/CC IE Field Ethernet Adapter"
connection
Set the following setting according to the setting method between a GOT and a
programmable controller CPU.
Setup
For details, refer to " Connecting personal computer and GOT with RS-232 or
USB".
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote
FX Head
FX FX
The following explains the GX Works2 setting method for accessing the programmable controller CPU
via a GOT and a serial communication module. 10
SEARCH/REPLACE
QCPU Serial communication module
Personal computer (GX Works2)
GOT
*1 *2
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
*1 : The following table shows the connection between the personal computer and GOT.
CONTROLLER CPU
: Applicable
GOT
Connection
GOT1000 series GOT-A900 series GOT-F900 series
RS-232 connection 12
USB connection
WRITING/READING
Ethernet connection
*2 : For details of cables connecting GOT with the serial communication module, GOT settings, and
DATA
precautions, refer to the manual of the GOT to be connected.
GOT1000 series Connection Manual
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
Item Description
Ethernet Detail setting for PC Set settings such as an IP address and a host name when using the Ethernet
and GOT connection connection between a personal computer and a GOT.
Detail setting for GOT and PLC
Check "C24".
connection
Setup Select "QJ71C24", "QJ71CMO", or "LJ71C24" for "Module Name".
9
11.9 Accessing Programmable Controller CPU via Phone Line
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote 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 10
modem (PIMCIA), and TA (terminal adapter).
SEARCH/REPLACE
When accessing a serial communication module from a personal computer
QCPU (Q mode)
/LCPU
Serial communication
module * 1
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Modem
CONTROLLER CPU
Modem
Public line
WRITING/READING
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.
DATA
Section 11.9.2 " Connecting a line automatically"
The setting of the modem function of serial communication module can be set with the parameter 13
setting of intelligent function module.
PROGRAMMABLE
MELSEC-Q/L Serial Communication Module User's Manual (Application)
PROTECTING
1) Switch settings of serial communication module
Item Description
Operation setting Independent
14
Data bit 8
Parity bit None
MONITORING
Transmission Even/odd parity Odd
setting Stop bit 1
Sum check code Exist
Online change Enable
Setting modifications Disable/Enable
15
Communication rate (transmission speed) setting According to modem specification
Communication protocol (mode setting) 5
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
11 - 33
GX Works2
*1 : 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, FX3GC, 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 : For the combinations of an FXCPU and a function expansion board (special adapter), refer to the Section
2.1.10.
11 - 34
11.9 Accessing Programmable Controller CPU via Phone Line
1) Operation flow 9
SETTING DEVICE
Operating procedure on programmable Operating procedure on GX Works2 side
controller CPU side
COMMENTS
Start Start
SEARCH/REPLACE
Set the type of the modem to be connected
Set the PLC parameter settings and the to the personal computer.
type of the modem to be connected to the *1
programmable controller CPU.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Set the modem on the personal computer
Turn OFF the power of the programmable
side.
CONTROLLER CPU
controller CPU.
*1
WRITING/READING
Turn ON the power of the programmable
Perform the operation such as monitoring
controller CPU.
in GX Works2.
(A modem initialization command is
automatically sent.)
Disconnect the phone line.
DATA
The programmable controller CPU (modem) *1
becomes in a standby status as it waits for
data transmission.
End
13
PROTECTING
*2 : Section 11.9.1
14
Power supply procedure
Power should be supplied to the modem first, then to the programmable controller CPU.
If the programmable controller CPU is turned ON before the modem, the initialization command which is sent to
the modem at the power ON of programmable controller CPU is invalidated, and a communication error occurs MONITORING
when operating the system remotely.
Furthermore, if only the modem is turned OFF after the power supply, the initialization command is cleared and the
same communication error occurs.
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
11 - 35
GX Works2
Channel selection
Operation
Set the items on the screen.
Item Description
<<PLC System (1)>> -
Set the initialization command of the modem on the programmable controller
MODEM Initialized side, which is used for the remote access of the programmable controller
CPU.
Select this when using a modem other than "AIWA (PV-AF288)" or "OMRON
(ME3314B)".
The communication specification for this mode is as follows.
User Register Mode Start bit: 1 bit
Data length: 7 bits
Parity: EVEN
Stop bit: 1 bit
AIWA (PV-AF288) Select this when using "AIWA (PV-AF288)".
OMRON (ME3314B)*1 Select this when using "OMRON (ME3314B)".
Select this when using a modem other than "AIWA (PV-AF288)" or "OMRON
(ME3314B)", or when using a modem which cannot set the communication
PP Modem Mode (CH1) specification for the user registration mode.
For details, refer to Point in this section.
This item is supported by FX3G, FX3GC, FX3U, and FX3UC only.
The communication specification for this mode is as follows.
Start bit: 1 bit
PP Modem Mode (CH2) Data length: 8 bits
Parity: None
Stop bit: 1 bit
<<PLC System (2)>> -
Specify the channel of programmable controller side to communicate with a
Channel selection personal computer.
This item is supported by FX3G, FX3GC, FX3U, and FX3UC only.
Clear this item when setting the programmable controller CPU which is
Operate Communication Setting
operated remotely.
*1 : When selecting OMRON (ME3314B) for FX2N, use the module with the version 2.01 or later
(manufacturing number 78**** or later).
11 - 36
11.9 Accessing Programmable Controller CPU via Phone Line
SETTING DEVICE
Setting PP modem mode (CH1) and PP modem mode (CH2)
COMMENTS
< FX3U/FX3UC (FX3UC-32MT-LT, FX3UC-32MT-LT-2) series >
When using the first adaptor of FX3U-232ADP which is connected to FX3U-232-BD or FX3U-CNV-BD, specify
"PP Modem Mode (CH1)".
When using FX3U-232ADP which is connected to a board other than FX3U-CNV-BD, specify "PP Modem Mode
(CH2)". 10
FX3UC (D, DS, DSS)/FX3GC series
SEARCH/REPLACE
When using the first adapter of FX3U-232ADP which is connected to FX3UC (D, DS, DSS) or FX3GC series,
specify "PP Modem Mode (CH1)".
When using the second adapter of FX3U-232ADP, specify "PP Modem Mode (CH2)".
< 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-CNV-
ADP, specify "PP Modem Mode (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-CNV- 11
ADP, specify "PP Modem Mode (CH1)".
CONNECTION DESTINATION
SETTING PROGRAMMABLE
When using FX3G-232-BD and FX3U-232ADP which is connected to FX3G-CNV-ADP, specify "PP Modem Mode
(CH1)" for FX3U-232ADP, and specify "PP Modem Mode (CH2)" for FX3G-232-BD.
CONTROLLER CPU
Precautions for creating sequence programs
To perform a remote access, the special data register D8120 (communication format) of the programmable
controller CPU needs to be "0".
D8120 can be cleared to 0 by clearing "Operate Communication Setting" on the <<PLC System (2)>> tab.
Note that if a value other than "0" is specified for D8120 in the sequence program, the remote access cannot be 12
performed.
WRITING/READING
Create a sequence program without specifying a specific value for D8120.
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
11 - 37
GX Works2
3) Setting AT commands
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, FX3GC, 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.
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 - 38
11.9 Accessing Programmable Controller CPU via Phone Line
SETTING DEVICE
programmable controller CPU in advance.
The setting items differ according to the modem to be used. For details of the actual setting
COMMENTS
items, refer to the manual of the modem.
AIWA (PV-AF288) OMRON (ME3314B)
Setting item
ATE0S0=2Q1&D0&M5\Q0\JO&W ATE0S0=2Q1&D0&H0&R1S15=8&W
Command echo setting E0 (None) E0 (None)
10
Number of automatic
SEARCH/REPLACE
S0=2 (Twice) S0=2 (Twice)
incoming calls
Result code display Q1 (None) Q1 (None)
DTR control &D0 (Always ON) &D0 (Always ON)
Communication mode &M5 (V.42bis) S15=8 (V.42bis)
Terminal flow control \Q0 (None) &R1 (None)
Transmission data flow
- &H0 (None)
11
control
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Terminal speed fixed mode \JO (Fixed) -
Write to non-volatile
CONTROLLER CPU
&W &W
memory
12
Modem specifications
WRITING/READING
Select a modem which satisfies the following specifications.
Communication data can be transferred from a built-in modem personal computer or a PC card modem
(PCMCIA) used by connecting it to a personal computer.
DATA
1) When using a subscriber/in-plant phone line
AT commands are supported. (Initialization command)
13
PROGRAMMABLE
Communication standard
PROTECTING
ITU-T V.90/V.34/V.32bis/V.32/V.22bis/V.22/V.21/V.FC
Bell 212A/103
2) Manual line connection (when connecting a line through an operator) 14
Addition to the above specification 1), the "ANS mode" and the "ORG mode" can be switched.
(The above mode switches are available on the specific AIWA modem.)
MONITORING
The communication may not be established with the above specification depending on a line
condition.
15
Performing communication using a PC internal modem or PC card (PCMCIA)
The COM port setting is required on the Transfer Setup screen to perform communication using a PC internal
modem or PC card (PCMCIA). For the COM port number for the PC internal modem or PC card (PCMCIA), refer to
SIMULATING
PROGRAMS
11 - 39
GX Works2
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 may differ
depending on a personal computer.
11 - 40
11.9 Accessing Programmable Controller CPU via Phone Line
SETTING DEVICE
COMMENTS
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.
10
SEARCH/REPLACE
Managing telephone directory and AT commands
The registered telephone directory and AT commands are managed under each user of Windows operating
system. The telephone directory and AT commands registered by another user cannot be used even when the
same personal computer is used.
To use the telephone directory and AT commands registered by another user, use the import/export function.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Creating a telephone directory
CONTROLLER CPU
Register phone numbers.
Screen display
Select [Tool] [Set TEL Data/Connect via Modem] [Phone Book]. 12
WRITING/READING
DATA
13
PROGRAMMABLE
phone numbers
PROTECTING
14
MONITORING
Item Description
List of registered phone numbers Display group names and user names of phone numbers. 15
Display the registered information of the data selected on the list of registered phone
Details
numbers.
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
Operating procedure
1. Select a group for which the phone number to be registered on the list of registered
phone numbers.
Screen button
Creates a new group.
The Group Setting screen is displayed by clicking the button. Enter a group name.
The maximum number of characters that can be set is 50.
Edit the registered data.
Select a registered data to be edited on the list of registered phone numbers.
The Phone Number Setting screen is displayed by clicking the button. Edit the
data.
SETTING DEVICE
Select the registered data to be copied on the list of registered phone numbers.
COMMENTS
The Group screen is displayed by clicking the button.
Select the group to which data is copied, and click the button.
10
SEARCH/REPLACE
CONNECTION DESTINATION
SETTING PROGRAMMABLE
The Group screen is displayed by clicking the button.
CONTROLLER CPU
Select the group to which data is moved, and click the button.
WRITING/READING
DATA
Searches for a registered phone number. The search condition is a partial match.
Target data is searched from all registered data. 13
When entering search conditions to both "Destination Name" and "Phone Number", the data which
PROGRAMMABLE
PROTECTING
Performs a selection processing of phone number setting when referring from the Line Connection
screen.
14
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 MONITORING
imported phone number data.
Writes the data set on the Phone Book screen to the specified file.
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
Registering AT commands
Register AT commands.
Screen display
Select [Tool] [Set TEL Data/Connect via Modem] [AT Command Registration].
List of registered
AT commands
phone numbers
Display contents
Item Description
List of registered AT commands Display titles of AT commands.
Display the registered information of the data selected on the list of registered AT
Details
commands.
9
Operating procedure
SETTING DEVICE
1. Select "MELSOFT Application Side Connection Modem" or "TEL Side Connection
COMMENTS
Modem" on the list of registered AT commands.
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
3. Set the items on the screen.
Item Description 12
Group Name Display the group name of data to which AT command is registered.
WRITING/READING
Title Enter a title for the AT command to be registered.
Set the command for modem initialization.
AT Command The maximum number of characters that can be entered is 70 in
ASCII code.
DATA
4. Click the button. 13
PROGRAMMABLE
PROTECTING
14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
Screen button
Edit the registered data.
Select the registered data to be edited on the list of registered AT commands.
The AT Command Registration screen is displayed by clicking the button.
Edit the data.
Copies a registered AT command to another group.
Select the registered data to be copied on the list of registered AT commands.
The Group screen is displayed by clicking the button.
Select the group (to which data is copied), and click the button.
Moves a registered AT command to another group.
Select the registered data to be moved on the list of registered AT commands.
The Group screen is displayed by clicking the button.
Select the group (to which data is moved), and click the button.
Deletes a registered AT command.
Deletes all registered AT commands.
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.
Writes data set on the AT Command Registration screen to the specified file.
SETTING DEVICE
COMMENTS
Connect/disconnect a line.
SEARCH/REPLACE
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 > < FXCPU >
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
DATA
Display contents 13
PROGRAMMABLE
The device which is being accessed is displayed flashing.
PROTECTING
Devices will be displayed after the connection is established successfully.
Connect 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.
14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
Operating procedure
1. Set the items on the screen.
Item 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
Connection Method
callback function".
For a manual connection, refer to " Connecting a line through an operator (manual
connection)".
Line -
Line Type Select a line type: Tone, Pulse, or ISDN.
Outside Line Number Set the number as necessary when calling through the outside line.
Port Select the COM port number which is connected to the modem.
Set the phone number of the target.
Connection Destination The previously-registered phone numbers in the telephone directory can be specified by
clicking the button.
AT Command -
Modem standard Use the AT command set on the modem.
When a difficulty of line connection arises using the standard AT command, create an AT
AT Command Setting command with reference to the manual of the modem and the content displayed by clicking
the 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 >
For Windows 2000 and Windows XP
Record the logging data
User folder\Application Data\MITSUBISHI\MELSOFT\TEL\Log
For Windows Vista and Windows 7
User folder\AppData\Roaming\MITSUBISHI\MELSOFT\TEL\Log
< Log file name >
year, month, day.dat (Example: 110615.dat)
This item is supported by FX3G, FX3GC, FX3U, and FX3UC only.
Select this when "PP Modem Mode (CH1)" or "PP Modem Mode (CH2)" is selected in the
User mode (8bits NP) PLC parameter.
Do not select this item when the setting other than "PP Modem Mode (CH1)" or "PP
Modem Mode (CH2)" is selected.
Screen button
Stops the line connection.
Performs a modem initialization when the modem did not respond at the line connection.
SETTING DEVICE
The following confirmation message is displayed by clicking the button.
COMMENTS
10
SEARCH/REPLACE
A modem initialization starts by clicking the button. "AT&F" is set as a default command
for the modem initialization.
The command for the modem initialization can be changed by "Modem Initialization AT Command"
under [Tool] [Set TEL Data/Connect via Modem] [Options].
Change the initialization command according to the modem used.
When a failure occurs to the modem initialization, the Options screen is displayed. 11
Only the settings of items which may become a problem at the line connection can be changed.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
For details of the Options screen, refer to Section 11.9.3.
CONTROLLER CPU
Phone line connection
The phone line connection can also be performed on the Transfer Setup screen.
When the line is disconnected by disturbance
12
If the line is disconnected by disturbance during the line connection, a confirmation message will be displayed to
WRITING/READING
select whether to reconnect or disconnect the line.
DATA
13
Connection duration
PROGRAMMABLE
PROTECTING
When the connection destination is changed during the phone line connection
Even when the connection destination 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 14
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
MONITORING
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.
Programmable
Switch setting
Set the following items in the sequence program.
15
Section 11.9
controller CPU Write the initialization command (ATS0=1).
Set the initialization request.
SIMULATING
AT command registration
PROGRAMS
16
DEBUGGING
PROGRAMS
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.
A line connection with the GX Works2 connection method described in the following table can be 9
performed when "Callback function specification" is set for the modem function of the intelligent
SETTING DEVICE
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
COMMENTS
and corresponding setting items of GX Works2 connection method.
: Connectable
Q/L series C24 side Connection method on GX Works2 side
10
callback function specification
SEARCH/REPLACE
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) 11
Setting 5: Callback Connection (at Number Specified)
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Setting 6: Callback Connection (at Number Specified Max 10)
CONTROLLER CPU
The following is an example of line connection with "Callback Request (Number Specification)".
WRITING/READING
Phone number
Public line
Set "Callback Request
(Number Specification)" on
the Line Connection screen.
DATA
Set one of the following: Setting 2, 13
PROGRAMMABLE
PROTECTING
Set "Callback Reception Waiting"
on the Line Connection screen. Phone number
Set "ATS0=1" for the modem
initialization command.
14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
System configuration
Phone 1
Phone 3
Phone 2 Programmable controller
(Operator)
Phone line
Modem 1
Peripheral device
C24
Modem 2
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.
3. Call Phone 2 (operator) from Phone 1.
4. Phone 1 and Phone 3 are connected through Phone 2 (operator).
5. While Phone 1 and Phone 3 are connected, connect C24.
6. Turn ON the DATA switch on Modem 2 on Phone 3 side.
7. After the modem tone on Modem 1 on Phone 1 side is confirmed, turn the DATA switch ON.
8. When the modem tone on Modem 1 on Phone 1 side is faded, click the
button in GX Works2.
When the line is connected normally, the message "Line connected" is displayed.
Precautions
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.
Disconnecting a line 9
SETTING DEVICE
Disconnect a phone line being connected.
COMMENTS
Operating procedure
Select [Tool] [Set TEL Data/Connect via Modem] [Line Disconnection].
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
Screen display
Select [Tool] [Set TEL Data/Connect via Modem] [Options].
Operating procedure
Set the items on the screen.
Item Description
Extend the set period when the CD signal does not turn ON within the
Line Connection CD Signal Wait Time set period depending on the area (example: overseas) to be
connected.
Line Connection Modem Report Wait
Extend the set period when the response speed of the modem is slow.
Time
Extend the set period when the CD signal does not turn OFF within the
Line Disconnection CD Signal Wait
set period depending on the area (example: overseas) to be
Time
connected.
Line Disconnection Delay Time
Data Transmission Delay Time Extend the set period when the response speed of the modem is slow.
AT Command Response Wait Time
Password Cancellation Response Wait
Extend the set period when the quality of line connection is poor.
Time
AT Command/Password Cancellation
Increase the number of settings.
Retry Times
Extend the set period when the line of the target (Q/L series C24) is not
Line Callback Cancel Wait Time 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
Callback Delay Time which relays a connection (example: modem) between the line
disconnection and the reconnection.
Set a command at the modem initialization.
Modem Initialization AT Command The maximum number of characters that can be entered is 70 in ASCII
code.
Communication Initialization Time-out
Set the timeout period at the communication initialization.
period
9
11.10 Precautions on Communication with Programmable Controller CPU
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote 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.
10
Precautions on communication via multiple network systems
SEARCH/REPLACE
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: Station directly connected from GX Works2
*2: Stations to be routed on network system
Precautions on communication with the programmable controller CPU using a USB cable 11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
1) Connecting and disconnecting a USB cable, resetting the programmable controller CPU, and
turning the power ON/OFF
CONTROLLER CPU
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. 12
When operation is not recovered from an error, remove a USB cable. Then, connect it again after
WRITING/READING
five or more seconds. (Even after this operation, an error may occur at initial communication.
However, communication will be successful after that.)
*1: The offline indicates the status other than indicated below.
DATA
Write to PLC, Read from PLC, Monitor, and PLC diagnostics
The following screen appears on the personal computer using Windows 2000 Professional
R 13
PROGRAMMABLE
PROTECTING
computer.
14
MONITORING
15
SIMULATING
PROGRAMS
11 - 55
GX Works2
Other precautions
11 - 56
9
SETTING DEVICE
COMMENTS
12 WRITING/READING DATA 10
SEARCH/REPLACE
This chapter explains operations to write or read data to/from the programmable controller CPU or a memory
card.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12.1 Writing or Reading Data to/from Programmable Controller CPU . . . 12-2
12
WRITING/READING
12.2 Verifying Data at Programmable Controller CPU against Data
at Personal Computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-21
12.3 Deleting Programmable Controller CPU Data. . . . . . . . . . 12-26
12.4 Copying Program Memory Data to ROM . . . . . . . . . . . . . . 12-27
DATA
12.5 Writing/Reading/Deleting PLC User Data . . . . . . . . . . . . . 12-28
12.6 Transferring Data to Program Memory in Batch. . . . . . . . 12-30 13
PROGRAMMABLE
PROTECTING
12.9 Online Program Change . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-37
12.10 Calculating Memory Size . . . . . . . . . . . . . . . . . . . . . . . . . 12-54
12.11 Writing/Reading Data to/from Memory Cards . . . . . . . . . 12-60
12.12 Reading Data of Local Devices . . . . . . . . . . . . . . . . . . . . 12-64 14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 - 1
GX Works2
12 WRITING/READING DATA
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] ( )/[Read from 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
12.1 Writing or Reading Data to/from Programmable Controller CPU
SETTING DEVICE
displayed in the file list.
COMMENTS
Target module tab 10
SEARCH/REPLACE
File list
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Memory capacity
12
WRITING/READING
Operating procedure
1.
DATA
Set the items on the screen.
Item
Connection Channel List
Description
Display the information of the connection destination setting.
13
PROGRAMMABLE
PLC Module Set the settings to write data to the programmable controller CPU.
PROTECTING
Set the settings to write intelligent function module data to the buffer memory or
Intelligent Function Module flash ROM of the intelligent function module.
Section 12.1.4
Title*1 Display the title of the target memory by clicking the button. 14
Option*2
Display Size Select this to display the "Size" column in the file list and the memory capacity.
MONITORING
File list
Target Select the data to be written/read.
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.
Target Memory*1 QCPU User's Manual (Hardware Design, Maintenance and Inspection)
15
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and
Inspection)
Memory capacity*3
SIMULATING
PROGRAMS
Writing Size Display the total size of written data selected in "Target".
Free Volume Display the free space volume of the target memory.
Use Volume Display the used space volume of the target memory.
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
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
Screen button
Displays the illustration of the connection channel.
Selects the parameters and all the programs displayed in the list.
Selects all data displayed in the list.
Cancels the selection status of all data selected in the list.
/
Switches display/hide of the Related functions button.
For details of the related functions, refer to the following sections.
Remote Operation Section 17.1 Remote Operation of Programmable Controller CPU
Set Clock Section 17.5 Setting Clock on Programmable Controller CPU
PLC User Data Section 12.5 Writing/Reading/Deleting PLC User Data
Write Title: Sets a title to the target memory.
Format PLC Memory Section 17.2 Formatting Programmable Controller CPU Memory
Clear PLC Memory Section 17.3 Clearing Programmable Controller Memory
Arrange PLC Memory Section 17.4 Arranging Programmable Controller Memory
(Read from PLC and Delete PLC Data only)
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.
Updates the file list on the Online Data Operation screen.
For QCPU (Q mode)/LCPU, the writing size, free volume, and used volume are also updated.
When multiple personal computers are connected to the programmable controller CPU, update the
target memory before reading data from the programmable controller CPU.
12 - 4
12.1 Writing or Reading Data to/from Programmable Controller CPU
SETTING DEVICE
The confirmation message for unlocking the remote password is displayed when the programmable
COMMENTS
controller CPU for which the remote password is set is accessed via C24 modules or Q series-
compatible E71 modules. Unlock the password by following the message.
(Setting a remote password Section 6.3)
When the number of permissible incorrect remote password entries or the cumulative number of
10
permissible incorrect password entries has been set and the number of incorrect entries exceeds the
SEARCH/REPLACE
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).
Item Status
When the number of permissible
The line is disconnected automatically.
entries is exceeded
When the cumulative number of
11
Turn ON the ERR. LED on the module.
CONNECTION DESTINATION
permissible entries is exceeded
SETTING PROGRAMMABLE
CONTROLLER CPU
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. 12
WRITING/READING
Target memory on the Online Data
PLC type Drive No. PLC parameter
Operation screen
QCPU
(Q mode)/ 0 Program memory/Device memory Program memory (Drive 0)
DATA
LCPU
1 Memory card (SRAM) Memory card (RAM) (Drive 1)
QCPU Memory card (Flash): Q2MEM-2MBF 13
(Q mode)
PROGRAMMABLE
LCPU Memory card (SD)
PROTECTING
QCPU 3 Standard RAM Standard RAM (Drive 3)
(Q mode)/
LCPU 4 Standard ROM Standard ROM (Drive 4)
Memory capacity 14
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 MONITORING
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 15
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
SIMULATING
PROGRAMS
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.
12 - 5
GX Works2
12 WRITING/READING DATA
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
Set the items on the screen.
Item Description
Selected Program (Program File) Display the program name selected in the 'File list'.
Range Display write/read range of each program.
Allocate Memory for 'Online Change' (Write to
Enter the number of steps secured for Online program change.
PLC only)
Specify Same Step Count for Online
Select this to specify the same number of secured steps for Online program
Change to All Files
change to all files.
(Write to PLC only)
Reading Left Capacity at the Same Time Select this to read the remaining secured steps for Online program change
Option
(Read from PLC only) of the files written on the programmable controller CPU.
Select this to use an Peripheral statement/note.
Merge Peripheral Statement/Note If a program is read without selecting this item, the Peripheral statement/
(Read from PLC only) note is lost.
GX Works2 Version 1 Operating Manual (Simple Project)
Screen button
(Read from PLC only)
Displays the remaining steps for Online program change.
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote
FX 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.
10
SEARCH/REPLACE
Setting type and range of device memory to be written/read
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
: Applicable : Not applicable
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Device Writing Reading
S*1 *2 *2 *2
CONTROLLER CPU
M, L, B, F, SB, V, , T , ST , C , D, W, SW, FX, FY, FD, Z
X, Y, SM, SD, intelligent function module device, link direct device
WRITING/READING
: Applicable : Not applicable
Device Writing Reading
M, S, T, C, D, R*1, ER*1
DATA
X, Y, D (Special register), M (Special relay)
PROGRAMMABLE
Select the device data and click the / button.
PROTECTING
< QCPU (Q mode)/LCPU >
14
MONITORING
Device range
list
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
Operating procedure
Set the items on the screen.
Item Description
Enter the data name for data created when the device memory data are
Device Data Name (Read from PLC only)
read.
Device Selection
Internal Device Select this to write/read device data.
Memory For FXCPU, this setting is fixed as selected status.
Input Column Set the method for specifying the device range to be written/read.
Select this to specify the range with the number of device points and the
Points + Start
start device number.
Device Selection
Start + End 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
Device range list
parameter. Devices to which 0 point is set cannot be set without selecting
the check box.
Select this to read the link memory of the data link module or the network
Link Memory*1
module to the link direct device.*2,*3
(Read from PLC only)
Setting range: Slots 1 to 4
Buffer Memory Head I/O No.*1 Select this to read the intelligent function module buffer memory to the
(last 1 digit is not required) intelligent function module device.*3
(Read from PLC only) Setting range: 0 to 1FF
Screen button
Changes the device range to the default.
SETTING DEVICE
Set the range of file register to be written to/read from a programmable controller CPU.
COMMENTS
For Q00JCPU/FXCPU, the range of file register to be written/read cannot be set.
Screen display
Select a file register and click the / button.
<QCPU (Q mode)/LCPU>
10
SEARCH/REPLACE
11
Operating procedure
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Set the items on the screen.
CONTROLLER CPU
Item Description
Specify the range of file register to be written/read.
Specified Range If multiple file registers are selected, each file register value is written/read in the same
range.
12
WRITING/READING
Screen button
For the buttons on the screen, refer to Setting type and range of device memory to be written/read.
DATA
Specifying file registers
For QCPU (Q mode)/LCPU, "Whole Range" cannot be selected.
13
PROGRAMMABLE
PROTECTING
14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
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
Set the items on the screen.
Item Description
Device Comment Name Display the selected device comment name.
Device Range -
Device Name Set the device name whose write/read range is to be specified.
Start Set the start device number.
End Set the end device number.
Bit Specification Information -
Select this to specify whether bit-specified word device comments are
Bit specification information included*1 included as write target.
Comment Format (PLC Format) -
Set the number of characters for a comment to be written to a programmable
Number of characters per 1 comment*2 controller CPU.
SETTING DEVICE
When the setting of "Number of characters per 1 comment" is changed
COMMENTS
When the number of characters set for "Number of characters per 1 comment" is less than the number of
characters of device comment set for the project, the device comment with less number of characters is written to
a programmable controller CPU. Therefore, mismatched data may be detected when verifying project data.
10
Restrictions
SEARCH/REPLACE
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. 11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
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
File list
Memory capacity
Operating procedure
1. Select "Intelligent Function Module (Initial Setting/Auto Refresh)" from the file list.
For the items on the screen, refer to Section 12.1.
SETTING DEVICE
memory.
COMMENTS
In the Read from PLC operation, the intelligent function module parameters on the programmable
controller CPU are read from the target memory.
SEARCH/REPLACE
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 11
Select [Online] [Write to PLC] ( )/[Read from PLC] ( ) <<Intelligent Function Module>>.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
The following explains the settings for writing data to a programmable controller CPU.
CONTROLLER CPU
Settings for reading data from a programmable controller CPU can be made in the same
manner.
<Write to PLC screen>
12
WRITING/READING
DATA
13
MONITORING
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
Operating procedure
1. Select "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 button of each item.
Screen button
For the buttons on the screen, refer to Section 12.1.
SETTING DEVICE
Writing data to programmable controller CPU
COMMENTS
When writing the intelligent function module parameters, match the configuration of the intelligent function module
on the project with the configuration in the intelligent function module parameters stored on the programmable
controller CPU.
Data cannot be written to the programmable controller CPU unless the start XY address and the module name for
the write target match.
Reading data from programmable controller CPU
10
When the intelligent function module parameter does not exist on the programmable controller CPU, read the
SEARCH/REPLACE
data from the programmable controller CPU after adding the intelligent function module according to the actual
module configuration to the Navigation window.
For the method for adding the intelligent function module, refer to the following manual.
GX Works2 Version 1 Operating Manual (Intelligent Function Module)
If the configuration of the intelligent function module on the project does not match with the mounted status, the
intelligent function module on the project is overwritten with the actual module configuration. Read the data from
the programmable controller CPU after checking the screen contents. 11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
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.
13
PROGRAMMABLE
: Applicable : Not applicable
PROTECTING
"Confirm PC operation status when writing a data"
-
Selected Cleared
STOP
Programmable controller
CPU operating status Other than
14
STOP
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
SETTING DEVICE
'High speed mode' and 'Compatible mode' are added as modes to write symbolic information to a
COMMENTS
programmable controller CPU in GX Works2 Version 1.48A.
Use 'High speed mode' when using GX Works2 for the first time.
For FXCPU, only 'High speed mode' is supported.
'High speed mode' or 'Compatible mode' can be selected by "Setting for Writing Symbolic 10
Information to PLC" under [Tool] [Options] "Symbolic Information". 'High speed mode' is set
SEARCH/REPLACE
as a default setting.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
< Precautions >
CONTROLLER CPU
Symbolic information written to a programmable controller CPU with 'High speed mode' cannot
be read in GX Works2 Version 1.43V or earlier.
Compatible mode 12
Symbolic information which does not support 'High speed mode', and it is the same as the one in
WRITING/READING
GX Works2 Version 1.43V or earlier.
Larger symbolic information data size decreases a free space on a programmable controller
CPU.
DATA
13
PROGRAMMABLE
'High speed mode' and 'Compatible mode' can be changed any time.
PROTECTING
Symbolic information on a programmable controller CPU is always the one written most recently. Thus, the
management of symbolic information is not complicated.
Symbolic information on programmable controller CPU
Symbolic information written to a programmable controller CPU with 'High speed mode' cannot be displayed on the
screen for Read from PLC in GX Works2 Version 1.43V or earlier. 14
Write to PLC function when symbolic information is set on the <<Boot File>> tab of PLC parameter.
When symbolic information is set on the <<Boot File>> tab of PLC parameter, performing the Write to PLC function
with changing the mode between 'High speed mode' and 'Compatible mode' may cause an improper boot
MONITORING
operation.
When the mode is changed, write symbolic information to a programmable controller CPU after performing the
following operation.
Check if symbolic information is set on the <<Boot File>> tab of PLC parameter, click the button and
update the boot file setting. 15
Select symbolic information and parameters on the screen for Write to PLC and write symbolic information to a
programmable controller CPU. Confirm the target memory of symbolic information is the same as that of the
transfer destination set on the <<Boot File>> tab of PLC parameter.
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
The following explains the precautions on writing/reading data to/from the programmable controller
CPU.
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.
4) Editing programs after writing symbolic information to the programmable controller CPU 9
Edit programs in the same project type as the symbolic information if editing them after writing
SETTING DEVICE
symbolic information to the programmable controller CPU.
COMMENTS
In addition, be sure to write the latest symbolic information to the programmable controller CPU if
writing only execution programs to it using such as Online program change.
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 on the programmable controller CPU when symbolic
10
information is read out using GX Works2.
SEARCH/REPLACE
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 11
Program data are not displayed on the screen for Read from PLC in a project with labels.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
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
CONTROLLER CPU
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 12
programmable controller CPU.
WRITING/READING
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.
DATA
Be sure to write/read the symbolic information to/from the programmable controller CPU in order to
restore the program to its original state. 13
PROGRAMMABLE
When the device range of PLC parameter has been changed, write the parameter to the
PROTECTING
programmable controller CPU. Programs cannot be written to the programmable controller CPU
unless the parameter is written to the programmable controller CPU.
14
7) When the date on the personal computer is February 29
When the date on the personal computer is February 29, the following message is displayed if the
Write to PLC, Online program change, or Change TC setting function is performed on a Basic MONITORING
model QCPU function version A.
The file will be written with the date 'February 28' by clicking button.
15
SIMULATING
PROGRAMS
displayed.
12 WRITING/READING DATA
9) FXCPU
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.)
When it is in RUN status, the message shown below is displayed. Select the button.
14) 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
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.
15) 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.
9
12.2 Verifying Data at Programmable Controller CPU against Data at Personal Computer
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote Head FX
This section explains how to verify the open project against the data on 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. 10
SEARCH/REPLACE
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
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
File registers
QD75/LD75 positioning module
CONTROLLER CPU
For FXCPU, only programs and parameters are the verification targets.
Screen display
Select [Online] [Verify with PLC].
12
WRITING/READING
<CPU module>
DATA
13
Comment
14
verify type
Memory capacity
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 - 21
GX Works2
12 WRITING/READING DATA
File list
Operating procedure
1. Select data to verify from the file list.
Item Description
Connection Channel List Display the information of the connection destination setting.
Switch the setting target module.
Target module tab
Characters on the tab are displayed in blue when data to be verified exist.
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.
Intelligent Function Module*1
Section 12.1.4
Title*1 Display the title of the target memory by clicking the button.
File list -
Target Select the data to be verified.
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.
Target Memory*1 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
Comment Verify Type*1
comments. ( " Comment verify type")
Memory capacity*1 -
Writing Size Display the total size of written data selected in "Target".
Free Volume Display the free space volume of the target memory.
Use Volume Display the used space volume of the target memory.
12 - 22
12.2 Verifying Data at Programmable Controller CPU against Data at Personal Computer
9
Screen button
SETTING DEVICE
For the buttons on the screen, refer to Section 12.1.
COMMENTS
(Not supported by FXCPU)
Select the SFC block to be verified.
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Verification result when CC-Link configuration window is created
When the same profile is not registered to the verify destination and the verify source, the verification result may be
a mismatch. ( Section 6.2.3)
12
WRITING/READING
Project security status
Projects to which the security is set can be verified when both verify source data and verify destination data are not
read-protected.
Verifying intelligent function module parameters (initial setting/auto refresh)
Among modules without initial setting such as QD75/LD75 positioning modules, serial communication/modem
DATA
interface modules, and AS-i master modules, only modules in which the auto refresh is set are the verification
targets.
Verifying QD75/LD75 positioning modules
13
PROGRAMMABLE
Parameter
PROTECTING
Servo parameter (For QD75M/MH only)
Positioning data (Except for positioning comments and M code comments)
Block start data
14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 - 23
GX Works2
12 WRITING/READING DATA
Parameter verification
The following table shows the setting items for parameter verification.
Item Description
User Setting Area Only Verify only the parameter area set by the user.
All Areas Verify all area including the parameter area set by the system.
*1 : Data in areas other than the user setting area may be erroneous due to such as noise.
12 - 24
12.2 Verifying Data at Programmable Controller CPU against Data at Personal Computer
SETTING DEVICE
A basis of the range, either 'data being edited' or 'module data', can be set in the Verify with PLC
COMMENTS
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.
10
SEARCH/REPLACE
The following table shows the items of the comment verify type and their descriptions.
Item Description
Comment Verify Type -
Verify data with the range of device comments in the project as a basis.
GX Works2 Data When this item is selected, detail setting of the selected device comments can be set by
clicking the button. ( Section 12.1.3) 11
Verify data with the range of device comments written to the programmable controller
CONNECTION DESTINATION
SETTING PROGRAMMABLE
PLC Data
CPU as a basis.
CONTROLLER CPU
Verification result differences of comment verification method
The following shows an example of the Verify with PLC function performed on the following device
comments.
Device Device comments in project Device comments on programmable controller CPU 12
M0 Global device comment 1 Global device comment 1
WRITING/READING
M1 Global device comment 2 Global device comment 2
M2 Device comment of M2 Global device comment 3
M3 Programmable controller CPU only
DATA
M4 Project only
M5
M6 Programmable controller CPU only 13
PROGRAMMABLE
PROTECTING
14
< When "PLC Data" is selected for verification >
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 - 25
GX Works2
12 WRITING/READING DATA
This section explains how to delete data on the programmable controller CPU such as programs and
parameters.
Screen display
Select [Online] [Delete PLC Data].
File list
Memory capacity
Operating procedure
1. Select the data to delete from the file list.
For the items on the screen, refer to Section 12.1.
Screen button
For the buttons on the screen, refer to Section 12.1.
12 - 26
12.4 Copying Program Memory Data to ROM
9
12.4 Copying Program Memory Data to ROM
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote Head FX
This section explains how to copy the program memory data on the programmable controller CPU to a
standard ROM on 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 10
standard ROM or a Flash card without a battery backup.
SEARCH/REPLACE
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]. 11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
Operating procedure
DATA
1. Set the items on the screen.
Item Description
13
PROGRAMMABLE
2.
PROTECTING
Click the button.
The message is displayed.
Precautions on writing
All the write target data are deleted.
15
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
SIMULATING
PROGRAMS
The device memory cannot be written using the Export to ROM format function.
16
DEBUGGING
PROGRAMS
12 - 27
GX Works2
12 WRITING/READING DATA
*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)
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>
12 - 28
12.5 Writing/Reading/Deleting PLC User Data
9
Operating procedure
SETTING DEVICE
1. Use the button to set the storage source for the PLC user data to be
COMMENTS
written.
When reading PLC user data, set the save destination for the PLC user data to be read.
SEARCH/REPLACE
Item Description
Connection Channel List Display the information of the connection destination setting.
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.
Target Memory QCPU User's Manual (Hardware Design, Maintenance and Inspection)
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance
and Inspection) 11
Title Display the title of the target memory by clicking the button.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Local File Select the PLC user data to be written.
CONTROLLER CPU
(Write PLC User Data only) The maximum file size is 32MB per file.
PLC Side File Select the PLC user data to be read.
(Read/Delete PLC User Data only) Select the PLC user data to be deleted.
WRITING/READING
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.
DATA
Screen button
For the explanation of the buttons on the screen, refer to Section 12.1. 13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 - 29
GX Works2
12 WRITING/READING DATA
<Universal model QCPU with a serial number whose first five digits are '10011' or lower>
12 - 30
12.6 Transferring Data to Program Memory in Batch
SETTING DEVICE
Precautions on program memory batch transfer
COMMENTS
The following functions cannot be executed during program memory batch transfer.
Execute these functions only after completing program memory batch transfer.
Online program change (ladder, structured ladder, FBD, ST, FB)*1
Change TC Setting (when "Write changed program to PLC" is selected)*1
10
Write to PLC function (when program memory is the target memory)*1
SEARCH/REPLACE
Program memory batch transfer (this function)
Set as default connection
Change PLC Type function
Check Parameter
*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.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
When the program cache memory and the program memory match
The batch transfer of the program memory data is not executed.
12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 - 31
GX Works2
12 WRITING/READING DATA
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 parameters on the <<PLC File>> tab of PLC parameter.
SETTING DEVICE
COMMENTS
Delete the backup data on programmable controller CPU.
Operating procedure
1. Select [Online] [Latch Data Backup] [Delete Backup Data]. 10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
2. Click the button.
Backup data are deleted.
12
WRITING/READING
Precautions on deleting backup data
Backup data cannot be deleted when the programmable controller CPU is in RUN status.
To delete the backup data, set the programmable controller CPU to STOP status.
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
Operating procedure
1. Set the items on the screen.
Item Description
Connection Channel List Display information of the connection channel being set.
Status Display the execution status of backup.
Select data to be backed up from "Backup Target Data".
Setting "Default Backup Data" settings are fixed as selected status. They cannot be
changed.
9
2. Click the button.
Data backup starts.
SETTING DEVICE
When data backup is completed normally, the image as shown below is displayed in "Status".
COMMENTS
10
SEARCH/REPLACE
11
3. Remove the memory card.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Turn the programmable controller CPU from OFF to ON, or reset it.
CONTROLLER CPU
Screen button
Refreshes and displays the execution status of backup when the power is turned OFF or reset. 12
WRITING/READING
Displays a total size of data selected in "Backup Target Data".
DATA
Sets options for creating backup data.
13
MONITORING
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
Restore the registration from backup data for the programmable controller CPU replacement.
Screen display
Select [Online] [PLC Module Change] [Restore].
The following is an example of setting screen when QCPU (Q mode) is selected.
Operating procedure
1. Click the button.
Data restoration starts.
When data restoration is completed normally, the image as shown below is displayed in "Status".
9
12.9 Online Program Change
SETTING DEVICE
This section explains the operations for changing programs or data while the programmable controller CPU is
COMMENTS
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. 10
SEARCH/REPLACE
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. 11
Furthermore, for the online operations performed from a personal computer to a programmable controller CPU, the
CONNECTION DESTINATION
SETTING PROGRAMMABLE
corrective actions against a communication error due to such as a cable connection fault should be predetermined as
a system.
CONTROLLER CPU
CAUTION 12
The online operations performed from a personal computer to a running programmable controller CPU (Program
WRITING/READING
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
DATA
operating conditions. Fully understand the precautions described in this section.
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 - 37
GX Works2
12 WRITING/READING DATA
RUN
Operating procedure
1. Verify a program against a program on the programmable controller CPU to ensure
that they match.
SETTING DEVICE
Operating procedure
COMMENTS
1. Verify a program against a program on the programmable controller CPU to ensure
that they match.
10
2. Change or modify the program.
SEARCH/REPLACE
3. Select [Compile] [Online Program Change].
The Execution Confirmation for Online Program Change screen is displayed.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
4. Select "Execute compile and online change after conversion" and click the
button.
DATA
The program is converted and compiled simultaneously, and Online program change is performed.
The following message is displayed.
13
PROGRAMMABLE
PROTECTING
14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
*1 : For FXCPU, this item is supported by FX3U/FX3UC version 3.00 or later only.
*2 : Not supported by FXCPU.
SETTING DEVICE
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
COMMENTS
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. 10
The following table shows the number of steps that can be written at once.
SEARCH/REPLACE
Number of steps that
CPU type
can be written at once
QCPU, LCPU 512
FX3G, FX3GC, FX3U, FX3UC 256
FX0N, FXU, FX2C, FX1S, FX1N, FX1NC, FX2N, FX2NC 127
11
<Example>
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Range of the program
Newly inserted written at Online
program program change
(including previous
and next steps)
12
WRITING/READING
DATA
Editing separate ladder blocks
For QCPU (Q mode), when the programmable controller CPU has "Online change area of multiple
blocks" in its memory, multiple blocks can be written in units of blocks.
13
PROGRAMMABLE
PROTECTING
14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
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 on 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 on 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
By setting the option, the project can be saved automatically after Online program change. Select [Tool]
[Options] "Project" "Automatic Save" and select "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
Q CPU L CPU Remote
FX Head
FX FX
SEARCH/REPLACE
RUN
Writes data to
programmable
controller CPU in 11
units of files.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Operating procedure
Select [Online] [Write to PLC] for Online
program change. 12
The message is displayed.
WRITING/READING
Fully understand the message before performing
Online program change.
(Writing to programmable controller CPU
DATA
Section 12.1)
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
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 differs depending 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 on 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
*1
COMMENTS
Q CPU L CPU Remote Head FX
SEARCH/REPLACE
A program added with
another GX Works2
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Online program
change
WRITING/READING
Screen display
[Tool] [Options] "Online Change"
DATA
13
MONITORING
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
The following explains the precautions on Online program change of programs containing the rise, fall,
or SCJ instruction.
QCPU (Q Mode)/LCPU
Fall instruction
The fall instruction may be executed even if the executing condition (ONOFF) in the online-
changed 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
ON/OFF status of a contact
(conduction state at Online Fall instruction
program change)
OFFOFF Executed*1
OFFON Not executed
ONOFF Executed*1
ONON Not executed
*1 : 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 is not executed even if the executing condition (OFFON) in the online-
changed 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
ON/OFF status of a contact
(conduction state at Online Rise instruction
program change)
OFFOFF Not executed
OFFON Not executed
ONOFF Not executed
ONON Not executed
SCJ instruction
When the executing condition for the SCJ instruction is ON after writing, the instruction jumps to
the specified pointer without waiting for one scan.
Disabling the fall instruction in Online program change for QCPU (Q mode)/LCPU 9
SETTING DEVICE
The following explains methods for avoiding the fall instruction execution when the executing condition
COMMENTS
(ONOFF) of the fall instruction for the online-changed program is not satisfied.
SEARCH/REPLACE
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.
11
<Example>
CONNECTION DESTINATION
SETTING PROGRAMMABLE
The following example shows the difference in the executing status depending on the option
setting.
CONTROLLER CPU
<Program example>
M0
[INC D0] 12
WRITING/READING
INC D0 is executed immediately INC D0 is not executed immediately
after Online program change. after Online program change.
Online program Online program
change execution change execution
DATA
Contact Contact
input M0 input M0
Falling pulse Falling pulse 13
instruction instruction
PROGRAMMABLE
PROTECTING
1 scan 1 scan
"Execute fall instruction" is selected in the [Options]. "Execute fall instruction" is not selected in the [Options].
14
Universal model QCPU/LCPU
In option setting for Universal model QCPU/LCPU, the item is not selected at default. MONITORING
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
FXCPU
Fall instruction
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 ON Target devices are OFF
Contacts of the LDF/ANDF/ORF instructions in the ladder block remain OFF.
Performing Online program change of a ladder block including the PLF instruction
Operating condition is ON Operating condition is OFF
Target devices of the PLF instruction in the ladder block do not operate.*1
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 ON Target devices are OFF
Contacts of the LDP/ANDP/ORP instructions in Contacts of the LDP/ANDP/ORP instructions in
the ladder block turn ON for one scan. the ladder block remain OFF.
Performing Online program change of a ladder block including pulse operation type
application instructions (such as MOVP)
Operating condition is ON Operating condition is OFF
The relevant pulse operation type application
The relevant pulse operation type application
instruction in the ladder block operates for one
instruction in the ladder block does not operate.
scan.
Performing Online program change of a ladder block including the PLS instruction
Operating condition is ON Operating condition is OFF
Target devices of the PLS instruction in the ladder block do not operate.*2
SETTING DEVICE
(MEF) is completed, the operation result falling pulse instructions are not executed regardless of
COMMENTS
the satisfied/not satisfied status of their executing condition.
To execute an operation result falling pulse instruction, turn the operation result up to it once ON,
and then OFF.
Performing Online program change of a ladder block including the MEF instruction 10
Executing condition is satisfied Executing condition is not satisfied
SEARCH/REPLACE
The operation result of the MEF instruction is OFF.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Operation result up to the MEP instruction is Operation result up to the MEP instruction is
ON OFF
CONTROLLER CPU
The operation result of the MEP instruction is The operation result of the MEP instruction is
ON. OFF.
12
12.9.5 Precautions on Online program change of SFC programs
WRITING/READING
Q CPU L CPU Remote Head FX
DATA
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
13
PROGRAMMABLE
PROTECTING
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) 14
When a SFC diagram is edited, perform Online program change in unit of file by selecting [Online]
[Write to PLC] ( Section 12.9.2).
MONITORING
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]. 15
Restrictions
SIMULATING
PROGRAMS
12 WRITING/READING DATA
The following explains the precautions on Online program change for each programmable controller
series.
QCPU (Q mode)/LCPU
Item Description
Online program change to another station can be performed within the accessible range
Online program change to another
set in the connection destination setting.
station
Take extra caution when performing Online program change to another station.
During boot operation
Online program change to
program memory
Write the changed program to the target memory of transfer source.
(Universal model QCPU/
LCPU)
When an instruction is deleted during the OUT instruction execution, or when the device
Deleting a corresponding device number has been changed and the corresponding device cannot be found in the
from a program 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 low-
However, 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 execute
Online program change again.
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.
The message above is not displayed with Basic model QCPU function version A.
Item Description
9
The following message may be displayed during Online program change. Take corrective
SETTING DEVICE
action by following the message.
COMMENTS
Error during Online program 10
change
SEARCH/REPLACE
If the above error message is displayed, the program in GX Works2 changes back to the
uncompiled status. However, the program on the programmable controller CPU may
have been changed.
In this case, compile the GX Works2 program and verify it against the program on the
programmable controller CPU to confirm that these programs match. If the programs do
not match, write the program to the programmable controller CPU using the Write to PLC
function to match them. 11
When Online program change is performed to a sequence program for which a password
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Online program change of a is set, the Disable Password screen is displayed. Unlock the password to perform Online
program for which a password is set program change.
CONTROLLER CPU
Online program change is not possible if a password cannot be unlocked.
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 12
boot source even when CPU is in the boot operation. Be sure to reflect the contents of
WRITING/READING
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
DATA
executed. ( Section 12.6)
Online program change to While program memory is being transferred in Universal model QCPU after Online
Universal model QCPU program change, the following functions cannot be executed.
Online program change (ladder, SFC, structured ladder, ST, FB)*1
13
PROGRAMMABLE
Program memory batch transfer
PROTECTING
Set as default connection
Connection destination setting
Change PLC Type
Check Parameter
*1 : For Universal model QCPU with a serial number whose first five digits 14
are '12012' or higher, the process of the program memory batch transfer
can be canceled. ( Section 12.6)
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
FXCPU
Item Description
Programmable controller CPUs that support Online program change
FX2C/FXU series (Version No. V2.1 or later)
Model name FX0N series (Version No.V1.10 or later) and
FX1S/FX1N/FX2N/FX3G/FX3GC/FX3U/FX1NC/FX2NC/FX3UC series
Built-in RAM or optional FLASH cassette
FX3U/FX3UC series
(PROTECT switch OFF)
Built-in EEPROM or optional EEPROM memory cassette
FX3G series
(PROTECT switch OFF)
FX3GC series Built-in EEPROM
Built-in RAM, optional RAM cassette or optional EEPROM
FX2N series
cassette (PROTECT switch OFF)
Memory type
Built-in RAM or optional memory board
FX2NC series
(PROTECT switch OFF)
FX1NC series Built-in EEPROM
Built-in EEPROM or optional memory cassette
FX1S/FX1N series
(PROTECT switch OFF)
FXU/FX2C series Built-in RAM or optional RAM cassette
FX0N series Built-in EEPROM
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 (MNET, ANRD,
ANWR, RMST, RMWR, BLK, and MCDE), the ladder cannot be changed.
A new 1ms retentive timer must not be inserted.
When using FX0N, FX1S, FX1N, If the number of program steps decrease due to deletion of contacts, coils, application
FXU, FX2N, FX1NC, FX2C or FX2NC 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.
A new 1ms retentive timer must not be inserted.
If the number of program steps decrease due to deletion of contacts, coils, application
instructions, etc., the same number of NOPs equivalent to the number of steps
removed are added.
Do not perform Online program change for positioning instructions (DSZR, DVIT, ZRN,
When using FX3G, FX3U, FX3GC or PLSV, DRVI, DRVA) while the pulse output instruction is being executed. The pulse
FX3UC 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).
For the IVMC, 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.
SETTING DEVICE
Item Description
COMMENTS
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
10
When using FXU (V3.07 or later) or index modification are not set to the data.
SEARCH/REPLACE
FX2C*1 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). 11
The application instructions and element numbers added to FXU (V3.07 or later) are
CONNECTION DESTINATION
SETTING PROGRAMMABLE
written to the programmable controller CPU program memory. The programmable
controller CPU assumes that these instructions are non-processing instructions and
CONTROLLER CPU
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.
When using FXU
(V2.1 to V2.30) If an element number specified as an operand of application instructions is not 12
supported by FXU (V2.1 to V2.30), the instruction is written to the programmable
WRITING/READING
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
DATA
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 13
program contains an instruction or device not supported for Online program change.
PROGRAMMABLE
When using FX0N (V1.10 or later)
PROTECTING
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
When using FX0N, FX1S, FX1N,
FXU, FX2N, FX3U, FX1NC, FX2C,
steps after editing (adding/deleting) must be within 127 (including an NOP immediately
after the ladder block and excluding the end ladder).
14
FX2NC or FX3UC (earlier than V2.00)
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 MONITORING
When using FX3G, FX3U, FX3GC or
the start ladder block to the end ladder after editing must be within 256 steps (including
FX3UC (V2.00 or later)
unchanged ladders). To change programs with more than 256 steps, use the Batch-
transfer function.
*1 : Each deteriorated function can be recovered by switching the programmable controller CPU from STOP to
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
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.
( 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 such as the PLC memory format function.
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 on 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.
File list
9
Operating procedure
SETTING DEVICE
1. Set the items on the screen.
COMMENTS
Item 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.
Target Memory/Memory Card
Type
QCPU User's Manual (Hardware Design, Maintenance and Inspection)
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and
10
Inspection)
SEARCH/REPLACE
File list
Target Select data of which the size is to be calculated.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Screen button
CONTROLLER CPU
For the buttons on the screen, refer to Section 12.1.
WRITING/READING
Display the result of memory size calculation. Additionally, the offline calculation and online calculation
can be switched each other.
DATA
Screen display
13
Select [Tool] [Confirm Memory Size] .
PROGRAMMABLE
PROTECTING
14
Target section
Calculation
result section Sum total section MONITORING
Memory status
graph section
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
<Online calculation>
Display contents
Item Description
Display the target memory and IC card type selected on the Confirm
Target Memory
Memory Size screen.
Select the unit (Byte/Step/%) used for displaying the file size and memory
Display Option
size.
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.
<<Offline>>/<<Online>>
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)'.
Calculation result section
Display the size of the data selected on the Confirm Memory Size screen in
Target section
units of files.
Enter the memory size of system files.
The default value is "0" at the offline calculation.
System file memory size entry field Enter the memory size when using system files.
(Offline calculation only) When the exact memory size is required, it can be confirmed by the online
calculation.
The memory size of system files may differ depending on target memory.
Display the calculation result according to conditions of the target memory,
Sum total section
IC card type, and files specified in the Confirm Memory Size screen.
Display the calculation result in a circle graph.
Memory status graph section
It is displayed in red when there is no available memory.
Display the detailed information of the result of the memory size
Detail
calculation.
Screen button
For the buttons on the screen, refer to Section 12.1.
SETTING DEVICE
File size of symbolic information
COMMENTS
The symbolic information in a project (with labels) is compressed every memory size calculation/Write to PLC
operation. The memory size may vary because date information is added every time, even though the symbolic
information itself is not changed.
File size units for programmable controller CPUs
Memory of a programmable controller CPU is occupied by file size units. Therefore, the required memory size may 10
be larger than the actual file size.
SEARCH/REPLACE
For details of file size units, refer to the following manuals.
User's Manual (Function Explanation, Program Fundamentals) of the CPU module to be used
Memory size required for parameters and system files
Parameters/system files consist of multiple files.
The memory size required to store parameters/system files is the total of memory areas occupied by each files.
Display example of "System File" (for Q12HCPU with a serial number whose first file digits are "04122") 11
<Sampling trace>
CONNECTION DESTINATION
SETTING PROGRAMMABLE
File size : 2422 bytes
Memory size : 3072 bytes
CONTROLLER CPU
<Error history data>
File size : 5472 bytes
Memory size : 6144 bytes
<Display of "System File">
File size : 7894 bytes 12
Memory size : 9216 bytes
WRITING/READING
The following table shows files included in parameters and system files.
File Parameter
Parameter file PLC parameter and the network parameter
DATA
Parameters Boot file Created when the boot file setting is configured.
Remote password Created when the remote password setting is configured.
Sampling trace file For details of each file, refer to the following manuals.
13
PROGRAMMABLE
User setting system An area specified when the programmable controller CPU memory is formatted.
PROTECTING
System files
area (For formatting programmable controller CPU memory, Section 17.2)
PLC user data User-optional data
Graphic data for PX
User-created graphic data
Developer
14
Memory capacity
The memory capacity may be displayed smaller than it really is.
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
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.
Screen display
Select [Tool] [Confirm Memory Size].
Display contents
Item Description
Display compilation status.
Status
"---" is displayed for Simple projects (without labels).
Display the number of current program steps.
Program Size
"---" is displayed when the program is uncompiled.
Display the value set for "Program Capacity" on the <<Memory Capacity>> tab of PLC
Program Capacity
parameter of the project.
Error Information Display error information regarding the program size and capacity.
Confirm Symbolic Information*1 Select this to calculate the symbolic information size and capacity.
Select a memory type used on the programmable controller CPU.
Memory Type
The symbolic information capacity increases/decreases according to the memory type.
Display the current symbolic information size in byte unit.
Symbolic Information Size
"---" is displayed when the program is uncompiled.
Display the symbolic information capacity in byte unit.
The symbolic information capacity increases/decreases according to the memory type
Symbolic Information Capacity
used on the programmable controller CPU or the memory capacity set in the PLC
parameter.
Error Information Display error information regarding the symbolic information size and capacity.
*1 : This item is displayed only for FX3U and FX3UC projects with labels.
SETTING DEVICE
COMMENTS
The following explains the precautions on calculating memory size.
SEARCH/REPLACE
system file memory size entry field.
Without using the value calculated by the online calculation, an accurate result may not be
ensured.
CONNECTION DESTINATION
memory size calculation ignores the limit.
SETTING PROGRAMMABLE
Set target data so that the number of files including those stored on the programmable controller
CONTROLLER CPU
CPU is less or equal to the limit.
For the number of files which can be stored on a programmable controller CPU, refer to the
following manuals.
QCPU User's Manual (Hardware Design, Maintenance and Inspection)
12
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)
WRITING/READING
3) Specifying a range of file registers
At the online calculation, when a range smaller than that of file registers written on the
DATA
programmable controller CPU is specified for the target data of the memory size calculation, the
difference from the written file registers is displayed as "Use Volume".
13
PROGRAMMABLE
For High Performance model QCPU, a memory size of a Flash card/standard ROM can be
PROTECTING
confirmed only using the offline calculation.
For Universal model QCPU/LCPU, a memory size of a Flash card/SD memory card can be
confirmed only using the offline calculation. A memory size of a standard ROM can also be
confirmed using the online calculation. 14
To confirm a memory size required when writing data using the export to ROM function, select
'Program Memory' for "Target Memory".
MONITORING
For Q2MEM-8/16/32MBA, confirm an accurate drive capacity using the online calculation.
Depending on the versions of the Q2MEM-8/16/32MBA and CPU module, the offline calculation
may be based on a drive capacity smaller than it really is.
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
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
12 - 60
12.11 Writing/Reading Data to/from Memory Cards
SETTING DEVICE
*1
COMMENTS
Q CPU L CPU Remote Head FX
SEARCH/REPLACE
Insert to card reader or card slot
11
MITSUBISHI
CONNECTION DESTINATION
SETTING PROGRAMMABLE
MELSEC
CONTROLLER CPU
Writing/reading data
Screen display
Select [Tool] [IC Memory Card] [Write IC Memory Card]/[Read IC Memory Card].
<Screen for writing IC memory card> 12
WRITING/READING
DATA
13
Item Description
Drive/Path Click the button and select a drive on the Browse for Folder screen.
If a folder is selected, it cannot be used on a programmable controller CPU.
Enter title of the target memory when writing data to the IC memory card. 15
Title
Display the title of the target memory when reading data from the IC memory card.
Select data to be written from the data list.
Edit Data
Display the data list of the open project.
SIMULATING
PROGRAMS
For the Read IC Memory Card function, the specified data are read from the memory card.
12 WRITING/READING DATA
Screen button
Sets a password to a specified data when writing data to an IC memory card.
The set password is validated after data are written to the IC memory card.
For details of setting a password, refer to the following sections.
For QCPU (Q mode) Section 13.1.1
For LCPU Section 13.2.1
< Create/Change Password (Target Project Data) screen (For QCPU (Q mode)) >
Cancels a set password when writing data to an IC memory card.
The set password is canceled after data are written to the IC memory card.
For details of canceling a password, refer to the following sections.
For QCPU (Q mode) Section 13.1.2
For LCPU Section 13.2.2
< Delete Password (Target Project Data) screen (For QCPU (Q mode)) >
Canceling a password
The password cancellation on the Delete Password screen can only be performed while the project is opened after
the password is set.
To cancel the password after the project is reopened, overwrite the data by writing data to the IC memory card
without setting a password.
Precautions when reading program files with the Read IC Memory Card function 9
SETTING DEVICE
Perform the following operations when reading program files with the Read IC Memory Card function.
COMMENTS
When parameters are written to the IC memory card along with the program files
Read parameters along with the program files.
When parameters are not written to the IC memory card along with the program files
Before reading the program files, open the project at the time of writing data to the IC memory
10
card.
SEARCH/REPLACE
Import the parameters used to write data to the IC memory card from the programmable controller
CPU.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 WRITING/READING DATA
*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.
Operating procedure
1. Select [Online] [Local Device Batch Read + Save CSV].
The Local Device Batch Read + Save CSV screen is displayed.
12 - 64
12.12 Reading Data of Local Devices
SETTING DEVICE
Saved CSV files are displayed as shown below when they are opened by Excel.
COMMENTS
(Example) The following tables show the settings of this example.
Setting for programs and file usability
Program name File usability setting
10
MAIN Based on PLC file settings
SEARCH/REPLACE
SUB Not used
SUB2 Based on PLC file settings
CONNECTION DESTINATION
SETTING PROGRAMMABLE
D 100 to 149
CONTROLLER CPU
<CSV file>
Program name
File usability setting
12
WRITING/READING
Local devices of
program MAIN
DATA
For T, ST, and C, contacts,
coils, and current values
are read respectively.
13
Device names and
local device values
MONITORING
Local devices of
Device names and program SUB2
local device values
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
12 - 65
GX Works2
12 WRITING/READING DATA
MEMO
12 - 66
9
SETTING DEVICE
COMMENTS
13 PROTECTING 10
PROGRAMMABLE
SEARCH/REPLACE
CONTROLLER CPU DATA
11
This chapter explains the function for setting a password (a keyword for FXCPU) to protect the programmable
CONNECTION DESTINATION
SETTING PROGRAMMABLE
controller CPU data against such as falsification and leak.
CONTROLLER CPU
13.1 Registering/Changing Password (QCPU (Q mode)). . . . . . 13-2
12
WRITING/READING
13.2 Registering/Changing Password (LCPU) . . . . . . . . . . . . . . 13-6
13.3 Registering/Changing Keyword (FXCPU) . . . . . . . . . . . . . 13-12
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
13 - 1
GX Works2
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
Registering/changing/canceling passwords when writing data to an IC memory card
When the Create/Change Password screen or the Delete Password screen is opened from the IC Memory Card
Operation screen, passwords of data in the project are registered/changed/canceled. Therefore, "Target Memory"
is not displayed.
Operating procedure
1. Select the target memory.
2. Select the target data for registering/changing a password in the data list.
9
SETTING DEVICE
3. Click the button.
COMMENTS
The Input Password screen is displayed.
10
SEARCH/REPLACE
4. Set the items on the screen.
11
Item Description
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Registration Condition Select a condition for password check.
CONTROLLER CPU
Select this to check a password when data are read in addition to the "Write
Read/Write Protection
Protection".
Select this to check a password when data are written to the programmable
Write Protection
controller CPU.
New Password Enter a new password or a password after change.
Re-enter Password Enter the new password again for confirmation.
12
WRITING/READING
5. Click the button.
The screen returns to the Create/Change Password screen.
DATA
Symbol is appended to the data for which a password is registered.
13
MONITORING
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.
15
Universal model QCPU
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)
SIMULATING
PROGRAMS
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.
16
DEBUGGING
PROGRAMS
Cancel the password set to the data on the programmable controller CPU.
Screen display
Select [Online] [Password/Keyword] [Delete].
Operating procedure
1. Select data whose password is to be canceled in the data list.
SETTING DEVICE
COMMENTS
Unlock a password temporarily, set to the data on the programmable controller CPU, by authenticating
it.
When the password is unlocked, the corresponding data on the programmable controller CPU can be
accessed freely until the project is closed.
This function does not cancel the password set for the data on the programmable controller CPU. 10
SEARCH/REPLACE
Screen display
Select [Online] [Password/Keyword] [Disable].
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
Operating procedure
DATA
1. Select data whose password is to be temporarily unlocked in the data list.
13
PROGRAMMABLE
The Input Disable Password screen is displayed.
PROTECTING
3. Enter the password set to the data.
14
4. Click the button.
The screen returns to the Disable Password screen.
MONITORING
16
DEBUGGING
PROGRAMS
Q FX
CPU L CPU Remote
FX 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
Registering/changing/canceling passwords when writing data to an IC memory card
When the Create/Change Password screen or the Delete Password screen is opened from the IC Memory Card
Operation screen, passwords of data in the project are registered/changed/canceled. Therefore, "Target Memory"
is not displayed.
Operating procedure
1. Select the target memory.
2. Select the target data for registering/changing a password in the data list.
9
3. Click the button.
SETTING DEVICE
The Input Password screen is displayed.
COMMENTS
10
SEARCH/REPLACE
4. Set the items on the screen.
11
Item Description
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Registration Condition Select a condition for password check.
Select this to check a password when data are read from the programmable
CONTROLLER CPU
Read protection
controller CPU.
Select this to check a password when data are written to the programmable
Write protection
controller CPU.
Read protection/Write Select this to check a password when data are written in addition to the "Read
protection protection". 12
Use the same password for read Select this to use the same password for the read protection and write protection
WRITING/READING
protection/write protection when Read protection/Write protection is selected in Registration Condition.
New Password Enter a new password or a password after change.
(Read Protection) The password enables the read protection.
Re-enter Password
Enter the new password again for confirmation.
DATA
(Read Protection)
Enter a new password or a password after change.
New Password The password enables the write protection. 13
(Write Protection) This item cannot be set when "Use the same password for read protection/write
PROGRAMMABLE
Re-enter Password
This item cannot be set when "Use the same password for read protection/write
PROTECTING
(Write Protection)
protection" is selected.
15
6. Click the button.
The password is registered or changed for the data on the programmable controller CPU.
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
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.
SETTING DEVICE
COMMENTS
Cancel the password set to the data on the programmable controller CPU.
Screen display
Select [Online] [Password/Keyword] [Delete].
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Operating procedure
1. Select data whose password is to be canceled in the data list. 12
WRITING/READING
2. Click the button.
The Input Disable Password screen is displayed.
This screen is not displayed when the password has
DATA
already been canceled.
13
PROTECTING
Set the items on the screen.
Item Description
Select the condition for password cancellation when the password registration
Delete Condition
condition of the data selected is "Read Protection/Write Protection". 14
Disable Password
(Read Protection)
Enter the password set to the data.
Disable Password MONITORING
(Write Protection)
16
DEBUGGING
PROGRAMS
Unlock a password temporarily, set to the data on the programmable controller CPU, by authenticating
it.
When the password is unlocked, the corresponding data on the programmable controller CPU can be
accessed freely until the project is closed.
This function does not cancel the password set for the data on the programmable controller CPU.
Screen display
Select [Online] [Password/Keyword] [Disable].
Operating procedure
1. Select data whose password is to be temporarily unlocked in the data list.
9
4. Click the button.
SETTING DEVICE
The screen returns to the Disable Password screen.
COMMENTS
5. Click the button.
The password set to the data on the programmable
controller CPU is temporarily unlocked.
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
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.
Screen display
Select [Online] [Password/Keyword] [New].
9
Operating procedure
SETTING DEVICE
1. Select the function. (FX3G, FX3GC, FX3U, and FX3UC only)
COMMENTS
Select either the terminable limitation or permanent limitation.
Item Description
Set the keyword for the limitation.
Keyword Protection
Limitation can be canceled. 10
Setting the keyword is unnecessary.
SEARCH/REPLACE
Permanent PLC Lock
Limitation cannot be canceled.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Keyword (8 digits) This item can be set when "Keyword Protection" is selected and '8 digits' is selected.
The Read/Write Protection is available.
CONTROLLER CPU
Set 16 digits using characters 0-9 and/or A-F.
This item can be set when "Keyword Protection" is selected and '16 digits' is selected.
Keyword (16 digits) This item is supported only by FX3G, FX3GC, FX3U, and FX3UC.
The protection level can be selected from "Read/Write Protection", "Write Protection", and
"All Online Operation Protection".
Set 16 digits using characters 0-9 and/or A-F.
12
This item can be set when "Keyword (16 digits)" is set and "Customer keyword is used (16
WRITING/READING
Customer
digits)" is selected.
Keyword*1 This item is supported only by FX3G, FX3GC, FX3U, and FX3UC.
The protection level is the same as that for "Keyword (16 digits)".
DATA
*1 : Set this item combining with "Keyword (16 digits)" as necessary. The customer keyword can be
disabled temporarily but it cannot be changed or canceled.
13
3. Select the protection level.
PROGRAMMABLE
Level" is fixed to 'Read/Write Protection'.
PROTECTING
Item Description
Read/Write Protection Limit the read, write, and verify operations.
Write Protection Limit the write operation.
14
All Online Operation Protection Limit the read, write, verify, and device monitor operations.
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
Cancel the keyword set to the data on the programmable controller CPU.
Screen display
Select [Online] [Password/Keyword] [Delete].
Operating procedure
1. Enter the keyword being registered.
Enter only the first 8 digits when 'Keyword Protection (8 digits)' is registered. The customer
keyword cannot be canceled.
SETTING DEVICE
COMMENTS
Unlock a password temporarily, set to the data on the programmable controller CPU, by authenticating
it.
When the keyword is unlocked, the corresponding data on the programmable controller CPU can be
accessed freely until the project is closed.
This function does not cancel the keyword set for the data on the programmable controller CPU. 10
SEARCH/REPLACE
Screen display
Select [Online] [Password/Keyword] [Disable].
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
Operating procedure
1. Set the items on the screen.
DATA
Item Description
Keyword Disable Select this to unlock the keyword temporarily.
Enter the keyword registered to the programmable controller CPU. Enter only
13
PROGRAMMABLE
customer keyword.*1
PROTECTING
*1 Select this to get the keyword unlocked status to the locked status.
Keyword Protect
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
MEMO
SETTING DEVICE
COMMENTS
14 MONITORING 10
SEARCH/REPLACE
This chapter explains how to monitor the execution status of the programmable controller CPU connected to
the personal computer.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
14.1 Monitoring Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-2
12
WRITING/READING
14.2 Monitoring Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-6
14.3 Batch Monitor of Devices/Buffer Memory . . . . . . . . . . . . . . 14-7
14.4 Monitoring Program List. . . . . . . . . . . . . . . . . . . . . . . . . . . 14-11
14.5 Monitoring Interrupt Program List . . . . . . . . . . . . . . . . . . . 14-14
DATA
14.6 Registering and Monitoring Devices . . . . . . . . . . . . . . . . . 14-15
14.7 Monitoring Intelligent Function Modules . . . . . . . . . . . . . 14-21 13
PROGRAMMABLE
PROTECTING
14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
14 - 1
GX Works2
14 MONITORING
Section 14.2
Program monitoring (Simple)
(Structured)
Device/buffer memory batch monitoring Section 14.3
SETTING DEVICE
When monitoring multiple projects using a single personal computer
COMMENTS
When monitoring multiple projects using a single personal computer, and if an communication error occurs in
one of the projects, the monitoring speed of the other projects may become slow.
The operation will be back to normal when the error message displayed in the project in which the
communication error occurred is closed.
When monitoring multiple projects using a single personal computer, the following functions may not be 10
performed normally.
SEARCH/REPLACE
Program list monitoring
Interrupt program list monitoring
Monitoring condition setting
Monitoring stop condition setting
Scan time measurement
Monitoring devices that cannot be monitored
When devices that cannot be monitored are specified in the program monitoring or the watch execution, the
monitoring result is displayed as "FFFFH(-1)".
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
14 MONITORING
Screen display
USER status
ERR. status
RUN/STOP status
Connection status
During simulation
Scan time status Local device monitor target selection field
USER status
ERR. status
RUN/STOP status Unsupported instructions
Connection status
Display contents
Item Description
Display the connection status between a programmable controller
Connection status 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
RUN/STOP status key switch on the programmable controller CPU or the remote
operation from GX Works2.
RUN
STOP
*1 STEP-RUN
Item Description
9
Display the error status of the programmable controller CPU.
SETTING DEVICE
ERR. status The PLC Diagnostics screen is displayed when the icon is clicked.
PLC diagnostics screen ( Section 18.1)
COMMENTS
ERR. is OFF.
ERR. is ON.
ERR. is flashing.
10
SEARCH/REPLACE
Display the error status of the programmable controller CPU.
USER status*1, 2 The PLC diagnostics screen is displayed when the icon is clicked.
PLC diagnostics screen ( Section 18.1)
USER is OFF.
USER is ON.
11
USER is flashing.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Status of device test with execution condition*1 Display the status of the device test with execution condition.
CONTROLLER CPU
Flash when data on the programmable controller CPU and one
being edited are not identical. The registered information on the
programmable controller CPU is read out when the monitor is
restarted.
Return to ON when the both data are identical.
12
Execution program status*3 RAM,EPROM,EEPROM(FX3UC : FLROM)
WRITING/READING
Display the maximum scan time of the monitor target
Scan time status programmable controller CPU.
For QCPU (Q mode), the display is given in units of 0.1ms.
Select the name of the program for which local device monitor is
DATA
performed.
Local device monitor target selection field*1, 2 If "Auto setting" is selected, the local devices in the program on
the active screen are automatically monitored.
Not displayed by Q00UJ. 13
PROGRAMMABLE
Unsupported instructions The Instructions Unsupported by Simulation screen is displayed
PROTECTING
when the icon is clicked.
Checking unsupported instruction/device ( Section 15.3)
15
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
SIMULATING
PROGRAMS
devices are cleared in the programs selected in 'Local device monitor target selection field'.
16
DEBUGGING
PROGRAMS
14 MONITORING
This section explains how to monitor the execution status of the programmable controller CPU.
The monitored items differ according to 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)
Screen display
Select [Online] [Monitor] [Start Monitoring] ( ).
14 - 6
14.3 Batch Monitor of Devices/Buffer Memory
9
14.3 Batch Monitor of Devices/Buffer Memory
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote Head FX
SEARCH/REPLACE
Screen display
Select [Online] [Monitor] [Device/Buffer Memory Batch] ( ).
Decimal/Hexadecimal selection
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
DATA
13
PROGRAMMABLE
1.
PROTECTING
Set the items on the screen.
Item Description
Device Select this to monitor devices in batch.
Device Name Select this to enter the name of a device to be monitored in batch. 14
T/C Set Value Specify the program whose setting value is to be displayed when monitoring
Reference Program*1 timer (T) or counter (C) in batch.
Buffer Memory Select this to monitor buffer memory in batch. MONITORING
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)
Module Start FX0N-3A, FX2N-2AD and FX2N-2DA cannot be the target of the buffer
memory monitor.
15
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
SIMULATING
PROGRAMS
14 - 7
GX Works2
14 MONITORING
Screen button
(Not supported by remote I/O module)
Displays the T/C Set Value Reference Program screen.
Operation
Set the items on the screen.
Item Description
Program Reference Selection/POU Set the reference of POU.
Reference Selection In Simple project, selection is fixed at "Project".
Project Select this to reference a program in the project.
User Library Select this to reference a POU in the user library by clicking .
Select the POU to be referenced.
Projects selected by "POU Reference Selection" or POU in "User Library" is
displayed.
Program/POU_Pool
Items to be displayed are as follows:
Simple project: Program file
Structured project: POU
Displays the Modify Value screen. ( Section 16.1)
14 - 8
14.3 Batch Monitor of Devices/Buffer Memory
SETTING DEVICE
Set the monitor display format.
COMMENTS
The screen displays the set contents as an example. Setting is possible while confirming the
display.
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
Operation
DATA
Set the items on the screen.
Item Description 13
Monitor Format Select the monitor format.
PROGRAMMABLE
Bit and Word Select this to monitor both bits and words in unit of one point.
PROTECTING
Bit Multi-point Select this to monitor bits in unit of multiple points.
Word Multi-point Select this to monitor words in unit of multiple points.
Select the data type of the value stored in word device/buffer memory when
Display
"Bit and Word" or "Word Multi-point" is selected for "Monitor Format".
16bit Integer Select this to monitor in 16-bit integer. 14
32bit Integer Select this to monitor in 32-bit double word (signed) 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). MONITORING
ASCII Select this to monitor in character string.
Select either decimal or hexadecimal display format for 16-bit or 32-bit
Value
integer.
DEC Select this to monitor in decimal number.
HEX Select this to monitor in hexadecimal number. 15
Select the alignment sequence of bits to be monitored when "Bit and Word"
Bit Order
or "Bit Multi-point" is selected for "Bit".
Select this to monitor bit information from the left to the right on the screen.
SIMULATING
PROGRAMS
0-F
This method is appropriate for monitoring bit devices.
Select this to monitor bit information from the right to the left on the screen.
F-0
This method is appropriate for monitoring word devices or buffer memory.
Switch No. of Points*1 Select the number of points to be monitored per row.
16 Points (8 Points) Select this to monitor 8 points of word device or 16 points of bit device per row.
16
10 Points (10 Points) Select this to monitor 10 points per row.
*1 : For FXCPU, the display can be switched between 8 points and 16 points when an X/Y device is
DEBUGGING
PROGRAMS
selected.
14 - 9
GX Works2
14 MONITORING
Utilizes the saved display formats.
Saves the current display format in the file.
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.
Restrictions
FXCPU that support the buffer memory batch monitor function
FX1N, FX1NC, FX2N, FX2NC, FX3G, FX3GC, FX3U, and FX3UC support the buffer memory batch monitor function.
14 - 10
14.4 Monitoring Program List
9
14.4 Monitoring Program List
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote
FX Head
FX FX
This section explains how to monitor the processing time of programs being executed.
Screen display 10
Select [Online] [Monitor] [Program List].
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
Display contents
DATA
Item Description
Entire Scan Time Display the time set in the WDT setting of PLC RAS setting of PLC parameter.
13
Display each monitoring time of the scan program, initial program, and low-
PROGRAMMABLE
Display the total time of each item of "Detail of Scan Time for Scan
PROTECTING
Total Scan Time
Execution".
Display the processing time of each item. "Constant Wait" displays the waiting
Detail of Scan Time for Scan Execution 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.
Display the execution status of programs specified in the program setting of
14
Execution Status of Programs
PLC parameter.
Program Display the program names in the input order in PLC parameter.
Execution Display the execution type of the programs specified in PLC parameter. MONITORING
Display the actual scan time (current value). Display '0.000' ms in the
Scan Time
program stop (standby) status.
Display the number of executions, counted from 0 at the point of turning the
Execution Count programmable controller CPU to the RUN status. After reaching 65536, it
returns to 0. It is stored even after the program stops.
15
Screen button
SIMULATING
PROGRAMS
Displays the Start Program screen. ( Starting programs)
16
Displays the Stop Program screen. ( Stopping programs)
DEBUGGING
PROGRAMS
14 - 11
GX Works2
14 MONITORING
Starting programs
Screen display
Select Program List screen
Operating procedure
1. Set the items on the screen.
Item Description
Program Name Select the name of a program to be started from .
Start Mode Select the execution type.
Scan execution Set the execution type to the scan execution.
Low speed execution Set the execution type to the low-speed execution.
Set the execution type to the fixed scan execution. The time input area in "Fixed scan
Fixed scan execution execution" displays the value set in "Fixed Scan Interval" on the <<Program>> tab of
PLC parameter. Change it as necessary.
Starting programs
This function is supported only by High Performance model QCPU.
14 - 12
14.4 Monitoring Program List
Stopping programs 9
SETTING DEVICE
Screen display
COMMENTS
Select Program List screen
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Operating procedure
1. Set the items on the screen.
Item Description 12
Program Name
WRITING/READING
Select the name of a program to be stopped from .
Stop Mode Select the stop mode.
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.
Stop output after stop (The same behavior as the POFF instruction)
DATA
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
13
Hold output after stop
PROGRAMMABLE
2. Click the button.
PROTECTING
The selected program turns in the stopped status.
14
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 MONITORING
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)
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
14 - 13
GX Works2
14 MONITORING
This section explains how to display the number of executions of interrupt programs used in a program.
Screen display
Select [Online] [Monitor] [Interrupt Program List].
Interrupt pointer
monitor list
Operating procedure
Input the interrupt pointer number whose execution counts are to be displayed in "Interrupt
Pointer".
Display contents
Item Description
Interrupt pointer monitor list -
Interrupt Pointer Display the interrupt pointer entered in "Interrupt Pointer" on the top.
Start counting when the programmable controller CPU turns to the RUN
Execution Count
status and display the execution counts. When reaching 65536, returns to 0.
Comment Display the device comment.
14 - 14
14.6 Registering and Monitoring Devices
9
14.6 Registering and Monitoring Devices
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote Head FX
10
14.6.1 Registering and monitoring devices
SEARCH/REPLACE
Register multiple devices/labels in one screen and monitor them simultaneously.
Screen display
Select [View] [Docking Window] [Watch1] to [Watch4].
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
Display contents
DATA
Item Description
Device/Label Display the device/label name. 13
Display the current value of the device/label.
PROGRAMMABLE
PROTECTING
Data Type Display the data type of the device/label.
Class Display the class of the label. Nothing is displayed for the devices.
Display the device, or device assigned to the label.
Device For the labels with the class of VAR_CONSTANT or VAR_GLOBAL_CONSTANT, the initial value set on
the label editor is displayed. 14
Address*1 Display the address of the device/label.
Comment Display the comments of the device/label.
MONITORING
*1 : Structured projects only
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
14 MONITORING
SETTING DEVICE
COMMENTS
Register devices to the Watch window.
SEARCH/REPLACE
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 to Watch] from the shortcut menu. 11
The devices/labels are registered to the Watch window.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
DATA
Registering devices/labels from the label editor 13
When registering devices/labels to the Watch window from the label editor, right-click a target row and select
PROGRAMMABLE
With the shortcut menu, devices/labels are registered to the foreground Watch window.
PROTECTING
When more than two Watch windows are displayed in the foreground, devices/labels are registered to the Watch
window with the younger Watch window number.
When the Watch window is not displayed, the Watch window 1 is opened and devices/labels are registered to it.
14
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.
15
Operation
Select devices/labels to be registered to the Watch window, and drag and drop them on to the
SIMULATING
Watch window.
PROGRAMS
16
Drag and drop
DEBUGGING
PROGRAMS
14 MONITORING
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 "Setting for Automatic Registration to Watch
Window" under [Tool] [Options] "Monitor" "Ladder".
2. Open the Watch window which is specified as an automatic registration destination.
3. Select [Online] [Watch] [Start Watching].
4. Move the cursor to the ladder block which is to be registered to the Watch window.
Devices/labels in the ladder block at the cursor position are displayed on the Watch window
which is specified as an automatic registration destination. The displayed devices/labels are
overwritten with the devices/labels in the ladder block to which the cursor is moved.
SETTING DEVICE
COMMENTS
Change the display format (decimal/hexadecimal) of the current values.
Operating procedure 10
SEARCH/REPLACE
Right-click on the Watch window, and select [Change Value Format (Decimal)]/[Change
Value Format (Hexadecimal)] from the shortcut menu.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Switch to the hexadecimal display Switch to the decimal display
12
WRITING/READING
DATA
13
Changing current values
PROGRAMMABLE
bit devices, select a row and press the and keys or press the key and double-click the
PROTECTING
row to change the current value.
14
MONITORING
16
DEBUGGING
PROGRAMS
14 MONITORING
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.
Operating procedure
1. Enter a file name, or select a file to be opened.
9
14.7 Monitoring Intelligent Function Modules
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote Head FX
For the method how to monitor input/output signals and buffer memory of intelligent function modules, refer to
the following manual.
10
GX Works2 Version 1 Operating Manual (Intelligent Function Module)
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
14 - 21
GX Works2
14 MONITORING
Operating procedure
Select [Online] [Monitor] [Start Monitoring (All Windows)]/[Stop Monitoring (All Windows)].
14 - 22
9
SETTING DEVICE
COMMENTS
15 SIMULATING PROGRAMS 10
SEARCH/REPLACE
This chapter explains how to debug programs offline using the simulation function.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
15.1 Simulation Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-2
12
WRITING/READING
15.2 Starting/Stopping Simulation . . . . . . . . . . . . . . . . . . . . . . . . 15-4
15.3 Checking unsupported instructions/devices . . . . . . . . . . . 15-9
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
15 - 1
GX Works2
15 SIMULATING PROGRAMS
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.
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.
The following table shows the GX Works2 functions that are available for the simulation function.
Function Description Reference
Write parameter files and program files to the virtual programmable
Write to PLC Section 12.1
controller.
Online program change*1,*2 Write programs to a virtual programmable controller in RUN status. Section 12.9
Verify with PLC Verify data in the virtual programmable controller against project data. Section 12.2
For QCPU (Q mode)/LCPU, delete data in the virtual programmable
Delete PLC Data Section 12.3
controller.
Monitor Monitor the status of operation processing. Section 14.2
Monitor status Display the monitoring status of the virtual programmable controller. Section 14.1.2
Device memory/Buffer memory Batch-monitor the device memory/buffer memory of the virtual
Section 14.3
batch monitor programmable controller.
For QCPU (Q mode)/LCPU, monitor the processing time of programs
Program list monitor Section 14.4
being executed on the virtual programmable controller.
Register ladder blocks on the Entry Ladder Monitor screen, and
Entry Ladder Monitor (Simple)
monitor them.
Register and monitors data such as virtual programmable controller
Watch Section 14.6
devices.
9
Function Description Reference
SETTING DEVICE
Local Device Batch Read + Save
Read local device data and save them to a personal computer. Section 12.12
COMMENTS
CSV
Device memory backup in Save and read device memory/buffer memory of the virtual Section 15.2.1
simulation programmable controller. Section 15.2.2
Modify value Modify the current value of the virtual programmable controller. Section 16.1
Forced input output registration/ For QCPU (Q mode)/LCPU, register/cancel the forced input/output of
Section 16.2
10
cancellation X/Y devices of the virtual programmable controller.
SEARCH/REPLACE
Device Test with Execution For QCPU (Q mode)/LCPU, register devices of the virtual
Section 16.3
Condition programmable controller to the device test with execution condition.
For QCPU (Q mode)/LCPU, trace the device value of the virtual
Sampling trace Section 16.4
programmable controller.
Step Execution*3 Debug the program by executing it partially. Section 16.6
Switch the execution status of the virtual programmable controller,
Remote Operation
such as STOP and PAUSE.
Section 17.1 11
CONNECTION DESTINATION
Section 17.2
SETTING PROGRAMMABLE
Perform memory format, memory clear, memory arrangement for the
PLC Memory Operation Section 17.3
virtual programmable controller.
CONTROLLER CPU
Section 17.4
PLC Diagnostics Check the virtual programmable controller status and errors. Section 18.1
Simulate operations of external devices using the virtual
I/O System Setting Chapter 19
programmable controller.
WRITING/READING
*3 : Not supported by FXCPU.
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
15 SIMULATING PROGRAMS
Display contents
Item Description
Switch 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
Display the operating status of the virtual programmable controller.
For details of the LED, refer to the following manuals.
For QCPU (Q mode)/LCPU
User's Manual (Hardware Design, Maintenance and Inspection) of each CPU module
LED For FXCPU
User's Manual - Hardware Edition of each FXCPU
HARDWARE MANUAL of each FXCPU
For the operating status error, the icon on the upper left corner of the screen is displayed
in red.
15 - 4
15.2 Starting/Stopping Simulation
9
Screen button
SETTING DEVICE
/
COMMENTS
Switches between display/hide of all project names during the simulation.
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
Simulations of multiple projects
WRITING/READING
The maximum of 4 projects can be simulated simultaneously by starting the simulation of other project during the
simulation.
Simulation of FXCPU
For FXCPU, more than one project cannot be simulated simultaneously.
DATA
Precautions when changing project names
If a project name is changed during the simulation, the project name on the GX Simulator2 screen is not changed.
To display the changed project name on the GX Simulator2 screen, exit the simulation, and then start the 13
simulation again.
PROGRAMMABLE
activated.
PROTECTING
To start up the GX Simulator2 screen in minimized mode, select "Start in minimized status" from [Options] on the
GX Simulator2 screen. From the next start up, the GX Simulator2 screen is not displayed but becomes in taskbar
icon mode.
14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
15 - 5
GX Works2
15 SIMULATING PROGRAMS
Read out the temporarily saved device memory/buffer memory to the virtual programmable controller.
Operating procedure
1. Switch the operating status of the GX Simulator2 screen to STOP.
SETTING DEVICE
COMMENTS
This section explains device memory/buffer memory that can be saved and read with the virtual
programmable controller.
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)
Y (DY) 11
M
CONNECTION DESTINATION
SETTING PROGRAMMABLE
L
CONTROLLER CPU
F
V
Bit
S
B
SB 12
Internal user device
T (contact)
WRITING/READING
ST (contact)
C (contact)
T (current value)
DATA
ST (current value)
C (current value)
Word
D (including Extended D) 13
W (including Extended W)
PROGRAMMABLE
FX
PROTECTING
Bit FY
Internal system device SM
FD
Word
SD 14
Index register Word Z (including ZZ)
R
File register Word
ZR MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
15 SIMULATING PROGRAMS
FXCPU
Category Type Device
X
Y
M
Bit
S
Device T (contact)
C (contact)*1
T (current value)
Word C (current value)*1
D
Bit M (special M)
Special device
Word D (special D)
V
Index register Word
Z
Extended register Word R*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] on the programmable controller CPU cannot be saved/
read.
For LCPU/FXCPU, all buffer memory can be saved/read.
9
15.3 Checking unsupported instructions/devices
SETTING DEVICE
COMMENTS
Q CPU L CPU Remote
FX 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
Screen display
SEARCH/REPLACE
Select [Debug] [Instructions Unsupported by Simulation].
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
Display of unsupported instructions
DATA
Unsupported instructions are not displayed when the programmable controller does not become in RUN status
because of the CPU module error at the start of the simulation.
A status without a CPU module error is required for unsupported instructions to be displayed.
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
15 - 9
GX Works2
15 SIMULATING PROGRAMS
MEMO
15 - 10
9
SETTING DEVICE
COMMENTS
16 DEBUGGING PROGRAMS 10
SEARCH/REPLACE
This chapter explains how to debug sequence programs.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
16.1 Changing Current Values . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-2
12
WRITING/READING
16.2 Registering/Canceling Forced Input/Output . . . . . . . . . . . . 16-6
16.3 Device Test with Execution Condition. . . . . . . . . . . . . . . . . 16-9
16.4 Sampling Trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-13
16.5 Measuring Scan Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-29
DATA
16.6 Debugging Programs with Simulation Function . . . . . . . 16-30
16.7 Using LCPU Logging Configuration Tool . . . . . . . . . . . . . 16-46 13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
16 - 1
GX Works2
16 DEBUGGING PROGRAMS
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 on the programmable controller CPU from
the monitoring screen and also changing the current value of the word device and buffer memory.
Screen display
Select [Debug] [Modify Value] ( ).
9
Operating procedure
SETTING DEVICE
1. Set the items on the screen.
COMMENTS
Item Description
Display the device or label selected on the monitoring screen.
Device/Label
Also enter the device or label.
Data Type
Display the data type of the device or label.
10
Also select the data type from .
SEARCH/REPLACE
Enter a new value according to the data type as shown below:
Data Type Entry
Word [Signed],
Double Word [Signed], Enter a value in decimal or hexadecimal
Word [Unsigned]/Bit String [16-bit], format.
Double Word [Unsigned]/Bit String [32-bit]
Enter a value in decimal or exponential 11
form.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Value FLOAT (Single Precision) Example)
(For word device) Decimal form: -1.23456
CONTROLLER CPU
Exponential form: -1.23456E + 01
FLOAT (Double Precision)*1 Enter a value in decimal form.
Enter a character string.
String
(Quotation marks (" ") are not necessary.)
Enter a value in the time format. 12
Time T#0s
WRITING/READING
(Applicable to Structured projects only)
2.
DATA
For bit devices, click the / / button.
For word devices, click the button. 13
The current value of the programmable controller CPU is changed, and the result is displayed in
PROGRAMMABLE
PROTECTING
Restrictions 14
Devices whose current values cannot be changed
The current values of indirectly specified devices (@D0) cannot be changed.
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
16 DEBUGGING PROGRAMS
Screen display
Select [Debug] [Modify Value] ( ).
Operating procedure
1. Set the items on the screen.
Item Description
Module Start (HEX) Enter the start I/O number of the intelligent function module.
Address Enter the address of the intelligent function module.
Display the data type of the buffer memory.
Data Type
Also select the data type from .
Enter a new value according to the data type as shown below.
SETTING DEVICE
Modify Value screen
COMMENTS
When the Modify Value screen is open, a device/label is displayed on the Modify Value screen if it is selected on
the editor.
The Modify Value screen of device/label and buffer memory can be switched by clicking tabs.
Execution result of current value change
Display/hide of the execution result of current value change can be switched by / . 10
A device/label can be displayed in "Device/Label" area by selecting the device/label and clicking the
SEARCH/REPLACE
button or double-clicking it in "Execution Result".
Selecting devices/labels used in instructions that handle multiple devices
When an instruction that uses multiple devices (such as FROM/TO instruction) is selected, all devices/labels used
in the instruction are displayed in the "Device/Label" combo box.
Select a device from the combo box and then execute the Modify Value function.
Forcibly turning contacts ON/OFF on the ladder monitor
A contact on the ladder monitor can be forcibly switched ON/OFF by double-clicking the contact (or press the 11
key) while pressing the key.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
16 DEBUGGING PROGRAMS
Screen display
Select [Debug] [Forced Input Output Registration/Cancellation].
Registration status
display area
Screen button
Cancels the forced ON/OFF of a device registered to the programmable controller CPU.
Reads the registration status from the programmable controller CPU.
9
Cancels all forced input/output registered to the programmable controller CPU.
SETTING DEVICE
COMMENTS
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.
10
SEARCH/REPLACE
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 such as forced input/output, for the exclusion control is not executed on the programmable
controller CPU side.
Forced ON/OFF status
The ON/OFF status can be inverted by double-clicking the ON/OFF cell.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Double-click
12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
16 DEBUGGING PROGRAMS
Screen display
Select [Debug] [Forced Input Output Registration/Cancellation].
Registration status
display area
Operating procedure
1. Click the / button.
A disabled/enabled refresh of X/Y device is registered to the remote I/O module.
The current registration status of disabled/enabled refresh is displayed in the 'registration status
display area'.
Screen button
Reads the current registration status of the remote I/O module.
Cancels all disabled refreshes registered to the remote I/O module.
9
16.3 Device Test with Execution Condition
SETTING DEVICE
COMMENTS
*1
Q CPU L CPU Remote Head FX
SEARCH/REPLACE
This function can be executed only in a ladder program of Simple project.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Screen display
CONTROLLER CPU
Select [Debug] [Device Test with Execution Condition] [Register Device Test with Execution
Condition].
<For bit device> <For word device>
12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
16 DEBUGGING PROGRAMS
Operating procedure
1. Set the items on the screen.
Item Description
Display the device or label selected on the monitoring screen.
Device/Label
Also enter the device or label.
Display the data type of the device or label.
Data Type
Also select the data type from .
Enter a new value according to the data type as shown below.
Specify the program name for the timing of the forced ON/OFF and current value
Program Name
change.
Execute Specify the step number in the program for the timing of the forced ON/OFF and
Step No.
Condition current value change.
Execution Select 'before' or 'after' the instruction in the step number in the program for the timing
Timing of the forced ON/OFF and current value change.
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)
SETTING DEVICE
COMMENTS
Check the registration of the device test with execution condition, write it to a file, read it out from a file,
and disable it.
Screen display 10
SEARCH/REPLACE
Select [Debug] [Device Test with Execution Condition] [Check/Disable Register Device Test with
Execution Condition].
11
CONNECTION DESTINATION
Registration
SETTING PROGRAMMABLE
information
list
CONTROLLER CPU
12
WRITING/READING
Display contents
DATA
Item Description
Display whether the data being displayed is read from the programmable
Status of Displayed Data
controller CPU or from a file. 13
Display the registration of the device test with execution condition. Display up to
PROGRAMMABLE
PROTECTING
Screen button
Reads the registration information from the programmable controller CPU. 14
Disables the registration selected in 'registration information list'.
MONITORING
Registers the registration information data to the programmable controller CPU in batch.
15
Disables the registration information data on the programmable controller CPU in batch.
SIMULATING
PROGRAMS
Saves the registration information data being displayed in 'registration information list' to a file. 16
DEBUGGING
PROGRAMS
16 DEBUGGING PROGRAMS
9
16.4 Sampling Trace
SETTING DEVICE
COMMENTS
*1
Q CPU L CPU Remote Head FX
SEARCH/REPLACE
For details of the sampling trace function, refer to the manual of each CPU module.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Operating procedure
CONTROLLER CPU
Select [Debug] [Sampling Trace] [Open Sampling Trace].
12
WRITING/READING
DATA
13
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
16 DEBUGGING PROGRAMS
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] ( ) <<Setting of Executing and Saving>>.
Operating procedure
Set the items on the screen.
Item Description
Trace Execution Method 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 Select this to execute sampling trace using the trace setting stored on the
in the PLC programmable controller CPU.
Set the memory and the file name where the trace data set on the
Trace Data (setting+result) Storage
<<Condition Setting>> tab and the trace result after execution are stored.
Select this to perform the sampling trace automatically when the
Trace Auto Startup Setting programmable controller CPU is in RUN. (Universal model QCPU/LCPU
only*1)
*1 : 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
Set the sampling trace conditions such as the number of traces and the trigger condition.
COMMENTS
Screen display
Select [Debug] [Sampling Trace] [Trace Setting] ( ) <<Condition Setting>>.
10
SEARCH/REPLACE
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
Operating procedure
DATA
Set the items on the screen.
Item Description
13
PROGRAMMABLE
Trace Count Setting Select a value using the combo box or enter a value directly.
PROTECTING
Setting range: Count Before Trigger Total Count 8192
Additional Information Set the information to be added to the trace result.
Data Acquisition Timing Setting Set the trace data acquisition timing.
Each Scan Select this to acquire the data every scan. 14
Select this to acquire the data in the set intervals.
Specified Interval
Setting range: 1 to 5,000 (can be set in units of 1ms)
Each Multiple CPU Select this to acquire the data in the Each multiple CPU high-speed transfer MONITORING
High Speed Transfer cycle.
Cycle*1 Setting range: 1 to 50
Select this to set the data acquisition timing depending on the device
Detail Setting condition.
Use the button to set the conditional expression. 15
Set the trigger (condition) that is taken as the start point (0 point) of
Trigger Condition Setting
sampling trace execution.
Select this to generate a trigger when the TRACE instruction in the
SIMULATING
PROGRAMS
16 DEBUGGING PROGRAMS
Screen button
Displays the Detail Setting screen.
Setting of the conditional expression can be changed in the "Data Get Timing screen" or "Trigger
Condition screen".
<Data Get Timing> <Trigger Condition>
Operation
Set the items on the screen.
Item Description
Device /Label Enter a device, address or label. Section 16.4.6
Device Display the device corresponds to "Device /Label".
*1 Display the address corresponds to "Device /Label".
Address
Comment Display the device comment of "Device /Label".
Select the timing condition.
For the data get timing setting
The data are collected at the end processing of one scan or when the condition of the specified
device/label is satisfied.
Device Condition Description
Collect data at the rising of the specified device/label.
Bit device
Collect data at the falling of the specified device/label.
Collect data when the current value of the specified device
=
becomes the specified condition value.
Word device
Collect data when the current value of the specified device
Change*2 changes.
Condition
SETTING DEVICE
COMMENTS
Register the devices/labels on the Sampling Trace screen.
Operating procedure
Register the devices/labels to which the sampling trace is performed. 10
Devices/labels can be registered by entering them directly or copying them from the program editor
SEARCH/REPLACE
or label editor by the drag-and-drop operation.
Display title
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Item Description
Display title -
Set the device, address, label, structure, array, and function block to which the sampling
12
Device/Label trace is performed.
WRITING/READING
50 bit devices and 50 word devices can be registered.
Device*1 Display the device corresponds to "Device /Label".
*1,*2 Display the address corresponds to "Device /Label".
Address
DATA
Display the device comment for the address or device/label which are entered in "Device /
Comment*1 Label".
Data Type*1
Display the data type of "Device /Label". 13
The data type of the word device can be changed after registration.
PROGRAMMABLE
Radix*1 "Binary", "Decimal", "Hexadecimal" or "ASCII". If the device entered in "Device /Label" is
PROTECTING
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.
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
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.
SETTING DEVICE
COMMENTS
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>
10
SEARCH/REPLACE
Select the device, instruction
and ladder block.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Select the device and
ladder block.
CONTROLLER CPU
<ST editor>
12
Select the device and line.
WRITING/READING
<Label editor>
DATA
Select the device by a unit of row. 13
MONITORING
15
SIMULATING
PROGRAMS
16 DEBUGGING PROGRAMS
Operating procedure
Select [Debug] [Sampling Trace] [Start Trace] ( ).
Sampling trace starts.
The Trace Data Storage Status screen is displayed when the sampling trace is started.
Item Description
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".
Total Data
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
Data After Trigger 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 on the
Trace data file name
programmable controller CPU.
After the stop or completion of sampling trace, the trace result is displayed on the Sampling Trace
screen.
Chart Timing chart scale Trigger position
Display title
Vertical axis
Trend graph registration target information
line
Trend graph
9
Display contents
SETTING DEVICE
Item Description
COMMENTS
Display title -
Vertical Axis Display the device value of the selected cell position, on the 'vertical axis information line'.
Chart Display the acquired data in chart.
One block corresponds to one data acquisition. The number of scale indicates the number 10
of data acquisitions.
To change the display width, select [View] [Timing Chart Scale] [-: Narrow Scale]
SEARCH/REPLACE
Timing chart scale
( )/[+: Wide Scale] ( ), or move a scroll wheel on a mouse while pressing the
key.
A red mark is displayed at the position corresponding to the trigger generated timing on
Trigger position
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".
11
Vertical axis information line
CONNECTION DESTINATION
SETTING PROGRAMMABLE
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.
CONTROLLER CPU
Switching screen to the sampling trace (detailed data) screen
Trend graph registration target Register the selected word device to the trend graph.
Display the changes of the word device values on the trend graph.
Trend graph
Displaying trace results on trend graphs
12
WRITING/READING
Starting sampling trace from sequence program
Select [Debug] [Sampling Trace] [Register Trace].
To start sampling trace, execute the Trace start command (SM801) in a program.
DATA
Displaying only the trace result stored on the programmable controller CPU without executing sampling
trace
Select [Debug] [Sampling Trace] [Read from PLC]. ( Section 16.4.5)
13
PROGRAMMABLE
devices with the required points are registered as the trace data.
PROTECTING
Example)
If the sampling trace is performed to D0, D1, D2 and D3, the data type of D0 can be changed to the double word
type.
If the data type of D2 is changed to the data type that uses multiple devices, such as the double word and single-
precision real number, the data type of D0 cannot be changed as it has no consecutive 4-words devices. 14
Performing sampling trace from other peripherals during performing sampling trace
For Universal model QCPU/LCPU, the sampling trace currently being performed can be stopped by other
peripherals and perform another sampling trace. When the sampling trace is performed by other peripherals,
MONITORING
select [Debug] [Sampling Trace] [Forced Execution Registration Effective] to activate the forced registration.
Trace ready status (SM800) after sampling trace is completed
In GX Developer, the trace ready status (SM800=1) is held until the trace results are read, even if the sampling
trace is completed. In GX Works2, the trace results are automatically read and displayed when the sampling trace
is completed, and then the trace ready status (SM800=0) is canceled.
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
16 DEBUGGING PROGRAMS
Detailed data
Display contents
Item Description
Display the additional information set for "Additional Information" on the <<Condition
Additional information Setting>> tab on the Trace Setting screen.
Select [View] [Additional Information] [Past Time]/[Program Name].
Confirm the device values.
In the case of a bit device, '*' is displayed for ON, nothing is displayed (blank) for OFF.
Detailed data
In the case of a word device, numeric values are displayed.
The registered "Device /Label" are linked with the Sampling Trace screen (chart).
SETTING DEVICE
Display the changes of the word device values on the trend graph.
COMMENTS
Operating procedure
Select the check box(es) of the 'trend graph registration target' on the Sampling Trace
screen. 10
The selected word device is registered on the trend graph.
SEARCH/REPLACE
Clear the check box to cancel the registration on the trend graph.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
DATA
Trend graph line color
13
Display contents
PROTECTING
Change the background color of cell under 'trend graph line color' to the line color of the
Trend graph line color trend graph. Double-click the cell, and the Color screen is displayed to allow changing of
the trend graph line color.
14
Wide scale
PROGRAMS
Narrow scale
16
Moving trend graphs
Double-click the trend graph to move the graph up or down with the double-clicked point as the center.
DEBUGGING
PROGRAMS
16 DEBUGGING PROGRAMS
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 on 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.
SETTING DEVICE
Trace numbers when saving trace data in CSV file
COMMENTS
For the trace numbers of the sampling trace when the trace data are output to the CSV file, the number at the time
of the trigger execution is set to 0, and the numbers are displayed with the negative values for the numbers before
the trigger execution and positive values for the numbers after the trigger execution.
Example)
If M0, which was obtained at the fifth time after the trigger execution, is ON, M0 with the trace number '4' is 10
displayed as 'ON' in the CSV file.
SEARCH/REPLACE
Before trigger execution
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
After trigger execution
CONTROLLER CPU
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, select "Transpose" in "Paste Special", and then paste them on to Excel.
12
Writing/reading trace data to/from programmable controller CPU
WRITING/READING
Write/read the trace data to/from a programmable controller CPU.
Operating procedure
DATA
Select [Debug] [Sampling Trace] [Read from PLC]/[Write to PLC]. 13
The Write to PLC function writes the trace data to the target memory set on the <<Setting of
PROGRAMMABLE
PROTECTING
Reading trace data to programmable controller CPU
The word data, which was read by the Read from PLC function, is read as the word (signed) type regardless of the
data type settings at the time of writing the data. 14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
16 DEBUGGING PROGRAMS
Data
Sampling Trigger
Category Device type Device acquisition
trace screen condition
timing
Input X *1 *1
Output Y *1 *1
Internal relay M *1 *1
Latch relay L *1 *1
Annunciator F *1 *1
Edge relay V *1 *1
Step relay S
Link relay B *1 *1
Current value T
Internal user device Timer Contact TS *2 *2 *2
Coil TC *2
Current value C
Counter Contact CS *2 *2 *2
Coil CC *2
Current value ST
Retentive *2 *2 *2
Contact STS
timer
Coil STC *2
Data register D *1 *1 *1
Link register W *1 *1 *1
Function input FX
Function output FY
Internal system device Special relay SM *1 *1
Function register FD *1 *1 *1
Special register SD *1 *1 *1
Link input J \X *1 *1
Link output J \Y *1 *1
Link register J \W *1 *1
Link direct device
Link special register J \SW *1 *1
Link relay J \B *1 *1
Link special relay J \SB *1 *1
R *1 *1 *1
File register File register
ZR *1 *1 *1
Z
Index register Index register
ZZ
Data
9
Sampling Trigger
Category Device type Device acquisition
trace screen condition
SETTING DEVICE
timing
Pointer P
COMMENTS
Pointer
Interrupt pointer I
SFC block device BL
SFC transition device TR
Network number specifying
J 10
Others device
SEARCH/REPLACE
I/O number specifying device U
Macro instruction argument
VD
device
Decimal constant K
Hexadecimal Constant H
Single-precision
Constant floating-point data
E 11
Real constant
Double-precision
CONNECTION DESTINATION
SETTING PROGRAMMABLE
E
floating-point data
CONTROLLER CPU
String constant ""
: Applicable : Not applicable
WRITING/READING
Index setting (not available under the trigger condition)
*2 : Structured projects only
DATA
Applicable label types for sampling trace
13
Label type Description Example
PROGRAMMABLE
POU_01/
Local label*1 Register and display as 'program/label name'.
PROTECTING
Label1
Register and display as 'label name.member name'.
Structure*1 Register all members when the whole structure labels are registered.
G_data.AAA
Nested function Register and display structures when the nest function block contains structure FB1_01.FB2_
PROGRAMS
16 DEBUGGING PROGRAMS
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.
3. Select [Debug] [Sampling Trace] [Write to PLC].
Write the file for the trace data, which was read in the procedure 1, to the standard RAM.
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.
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.
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.
9
16.5 Measuring Scan Time
SETTING DEVICE
COMMENTS
*1
Q CPU L CPU Remote Head FX
SEARCH/REPLACE
This function can be performed in Simple projects only.
Screen display
Select [Debug] [Scan Time Measurement].
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
Operating procedure
1.
DATA
Set the items on the screen.
Item Description 13
Measurement Limit Set the measurement range.
PROGRAMMABLE
*2 Display the SFC block number.
Block No.
PROTECTING
*2 Display the SFC block name.
Block Name
Set the start step.
Start Step
For SFC program, set the SFC step number.
End Step
Set the end step. 14
For SFC program, set the SFC step number.
16 - 29
GX Works2
16 DEBUGGING PROGRAMS
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 Description
Execute a program until set break conditions are satisfied.
Break execution
Break conditions are set with break points or break devices.
Step execution Execute a program one step at a time.
Execute a program partially from the specified point.
Partial execution A partial execution is executed by executing a break execution with set break points and break
devices.
The following are program editors in a debugging process with the step execution functions.
<Example of step execution in ladder program>
16 - 30
16.6 Debugging Programs with Simulation Function
SETTING DEVICE
Online functions which can be performed during step execution
COMMENTS
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 10
Delete PLC Data function
SEARCH/REPLACE
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 11
In a ladder program, the step execution may not be executed normally in ladder blocks with yellow background
CONNECTION DESTINATION
SETTING PROGRAMMABLE
which indicates a program cannot be displayed as a ladder.
Programs with "Standby" execution type
CONTROLLER CPU
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.
12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
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 ST program Operation
1 FOR W10 := 0 TO 3 DO -
2 CASE W10 OF -
3 0: -
4 D0 := D0 + 1; -
5 1..3: -
When W10=0, this line is not processed but the break
6 D1 :=D1 +1;
execution is executed.
7 END_CASE; -
8 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 Operation
1 W0 := 0; -
2 IF X0 THEN -
The break execution is not executed in the RETURN
3 RETURN; syntax when X0=ON in the step execution. (The break
execution is executed in the first line.)
4 END_IF; -
5 -
6 FOR W0 := 0 TO 4 DO -
7 IF X1 THEN -
The break execution is not executed in the EXIT
8 EXIT; syntax when X1=ON in the step execution. (The break
execution is executed in the 11th line.)
9 END_IF; -
10 END_FOR; -
11 W0 := 0; -
16 - 32
16.6 Debugging Programs with Simulation Function
SETTING DEVICE
COMMENTS
The following flow chart explains the procedure to debug programs.
Start
SEARCH/REPLACE
Set break points. Set break devices. Set a skip range.
( *2) ( *3) ( *4)
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Is the setting of the break No
condition completed?
CONTROLLER CPU
Yes
WRITING/READING
and break devices.
No
Is break condition satisfied?
DATA
Yes
13
PROGRAMMABLE
PROTECTING
No
Was the problem solved?
14
Yes
*1 : Section 15.2
*2 : Section 16.6.2
*3 : Section 16.6.3
*4 : Section 16.6.4 16
*5 : Section 16.6.6
*6 : Section 16.6.7
DEBUGGING
PROGRAMS
*7 : Section 16.6.5
*8 : Section 16.6.9
16 DEBUGGING PROGRAMS
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.
SETTING DEVICE
Enable/disable set break points.
COMMENTS
The break point function is executed at the position with enabled break point.
The break point function is not executed when the break point is disabled.
Operating procedure
10
1. Move the cursor to the break point to be enabled/disabled.
SEARCH/REPLACE
2. Select [Debug] [Break Setting] [Enable/Disable Break Point] ( ).
The break point at the cursor position is enabled/disabled.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
Disabled break point
WRITING/READING
Canceling all break points
DATA
Cancel all break points.
13
Operating procedure
PROGRAMMABLE
PROTECTING
All break points are canceled.
14
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
16 DEBUGGING PROGRAMS
Operating procedure
Set the items on the screen.
Item Description
Display enabled/disabled status of break points.
Enable/Disable : Enabled
: Disabled
Data Name Display program names to which break point is set.
Display positions of set break points in a program.
Position For ladder: Step numbers displayed on the editor.
For ST: Line numbers
Display program content of set break points.
Program Content For ladder: Instructions (list format), pointers (P), or interrupt pointers (I)
For ST: ST text
Set break conditions.
Break Condition
This item can be set for ladder programs only.
Execute the break execution when scans are completed for a set number of
Always
times.
Execute the break execution when the specified step/pointer is ON after scans
ON
are completed for a set number of times.
Execute the break executions when the specified step/pointer is OFF after scans
OFF
are completed for a set number of times.
Execute the break execution when the specified step/pointer turns ON from OFF
Rising
after scans are completed for a set number of times.
Execute the break execution when the specified step/pointer turns OFF from ON
Falling
after scans are completed for a set number of times.
Set the number of scans until break execution is executed.
Execution Count
This item can be set for ladder programs only.
9
Screen button
SETTING DEVICE
COMMENTS
Jumps to the selected break point.
SEARCH/REPLACE
Cancels the selected break point.
11
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Counting and resetting number of execution counts
The number of execution counts is counted/reset according to the following rules.
CONTROLLER CPU
When more than two break points are passed in one scan, the passed number of times is counted as the
number of execution counts.
Break points which are not passed by an instruction such as the jump instruction are not counted as the number
of execution counts.
The execution count of all break points is reset for each break.
When changing the number of execution counts, the corresponding execution count of break point is reset. 12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
16 DEBUGGING PROGRAMS
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.
9
Operating procedure
SETTING DEVICE
1. Click the button.
COMMENTS
A blank row is added to the last row of the break device information list.
SEARCH/REPLACE
Combination -
Select this to execute the break execution when any condition of break devices is
Judge each break device (OR condition)
satisfied.
Select this to execute the break execution when conditions of all break devices
Judge all break devices (AND condition)
are satisfied.
Enable/disable the break device.
Enable/Disable Selected: Enabled 11
Cleared: Disabled
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Enter the comparative source device/label.
Comparative Source (Device/Label)
For a local label, enter data in a 'program name/label name' format.
CONTROLLER CPU
Select the comparative condition.
Condition The condition selection changes according to the comparative source device/
label.
Rising Execute the break execution when the comparative device/label rises.
Falling Execute the break execution when the comparative device/label falls. 12
Execute the break execution when the value of comparative source device/label
WRITING/READING
=
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
DATA
>
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. 13
PROGRAMMABLE
Execute the break execution when the value of comparative source device/label
<>
PROTECTING
does not match with the value of comparative target device/label.
Comparative Target (Value/Device/Label) Enter a comparative target device/label.
Comparative Type Set the data type to compare comparative source and comparative target.
14
Screen button
MONITORING
Cancels the selected break device.
Cancels all break points.
15
16 DEBUGGING PROGRAMS
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.
SETTING DEVICE
Cancel all skip ranges.
COMMENTS
Operating procedure
Select [Debug] [Skip Setting] [Cancel All Skip Ranges] ( ).
All skip ranges are canceled. 10
SEARCH/REPLACE
Displaying Skip Range window
CONNECTION DESTINATION
Select [View] [Docking Window] [Debug Window] [Skip Range Window] ( ).
SETTING PROGRAMMABLE
CONTROLLER CPU
12
WRITING/READING
Display contents
Item Description
DATA
Enable/disable the skip range.
Enable/Disable : Enabled
: Disabled 13
Data Name Display the program name to which the skip range is set.
PROGRAMMABLE
End Display the end position of the skip range with a step number.
PROTECTING
Screen button
14
Jumps to the start position of the selected skip range.
MONITORING
Enables/disables the selected skip range.
Cancels the selected skip range.
15
Cancels all skip ranges.
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
16 DEBUGGING PROGRAMS
SETTING DEVICE
COMMENTS
Cancel the step execution.
Operating procedure
Select [Debug] [Step Execution] [Cancel] ( ). 10
The step execution is canceled.
SEARCH/REPLACE
The canceled-position cursor is displayed at the canceled position.
<Example of canceled-position cursor (for ladder)>
11
Canceled-position cursor
CONNECTION DESTINATION
SETTING PROGRAMMABLE
CONTROLLER CPU
<Example of canceled-position cursor (for ST)>
Canceled-position cursor
12
WRITING/READING
Canceled-position cursor
The canceled-position cursor is displayed on the program editor in which the step execution is executed as
described below.
DATA
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. 13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
16 DEBUGGING PROGRAMS
Operating procedure
1. Set the items on the screen.
Item Description
Set the execution position of the step execution.
Execution Start Position 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
From start
set on the <<Program>> tab of PLC parameter.
From canceled position Execute the step execution from the canceled position.
Execute the step execution from the current cursor position on the active
program editor.
From current cursor position
When the program editor is not active, the operation is the same as that of "From
start".
Automatic Step Execution -
Select this to execute the step execution automatically.
Execute step execution automatically The automatic step execution is executed by executing the step execution after
setting this item.
Set the number of times the step execution is executed automatically.
When this item is blank, the step execution is executed repeatedly until the break
Repetition Count
condition is satisfied or the step execution is canceled.
This item is applicable when "Execute Step execution automatically" is selected.
Set the cycle of automatic step execution in 100ms unit.
Execution Interval
This item is applicable when "Execute Step execution automatically" is selected.
SETTING DEVICE
Setting execution start position
COMMENTS
The setting of the execution start position will be changed depending on the last operation that is performed.
The following table shows the execution start position corresponding to the operation that is performed.
Last-performed operation Execution Start Position
Simulation start, step execution stop From start 10
Cancellation, break execution, step execution From canceled position
SEARCH/REPLACE
16.6.9 Stopping step execution
11
Stop the step execution.
CONNECTION DESTINATION
SETTING PROGRAMMABLE
Operating procedure
CONTROLLER CPU
Select [Debug] [Step Execution] [Stop] ( ).
The step execution is stopped.
The canceled-position cursor on the program editor is hidden.
12
WRITING/READING
DATA
13
MONITORING
15
SIMULATING
PROGRAMS
16
DEBUGGING
PROGRAMS
16 DEBUGGING PROGRAMS
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
17
CONTROLLER CPU
PROGRAMMABLE
OPERATING
17 OPERATING 18
PROGRAMMABLE
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
CONTROLLER CPU
19
This chapter explains how to change the execution status and setting the clock of the programmable
EXTERNAL DEVICES
controller CPU from GX Works2.
OPERATIONS OF
SIMULATING
17.1 Remote Operation of Programmable Controller CPU . . . . 17-2
20
17.2 Formatting Programmable Controller CPU Memory . . . . . 17-4
17.3 Clearing Programmable Controller Memory . . . . . . . . . . . . 17-6
PRINTING
17.4 Arranging Programmable Controller Memory . . . . . . . . . . 17-9
17.5 Setting Clock on Programmable Controller CPU . . . . . . . 17-10
17.6 Registering/Canceling Display Module Menu. . . . . . . . . . 17-12
17.7 Start Ethernet Adapter Module Configuration Tool . . . . . 17-14 21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
17 - 1
GX Works2
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. Set the items on the screen.
Item Description
Connection Channel List Display the information of the connection destination.
Specify Execution Target*1,*2 Set the target station of remote operation.
Select this to perform the remote operation only upon the station specified in the
Currently Specified Station
connection destination setting.
Select this to perform the remote operation to the station specified in the connection
All Stations destination setting and all the stations on the same network.
Set a target network with "Specify Module No."*3 or "Specify Network No.".
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.
Specified Group
Set a target network with "Specify Module No." or "Specify Network No.", and set a
group number with "Specify Group No.".
Operation Select the operation details.
RUN
STOP
PAUSE*2 Select this to switch the operating status of the programmable controller CPU.
*2
Latch Clear
RESET*2
Remove Memory Card*2,*3 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
Operation during RUN*2 CPU is switched to RUN.
Device Memory Select whether to clear the device memory.
Signal Flow Select whether to retain the 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 : Not supported by FXCPU.
*3 : Not supported by LCPU.
17 - 2
17.1 Remote Operation of Programmable Controller CPU
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Remote operation and RUN/STOP switch for QCPU (Q mode)/LCPU
When operation to the programmable controller CPU differs among controls by the remote operation, RUN/STOP
switch, and remote RUN/PAUSE contact, the programmable controller CPU operates according to the priority 18
shown below:
CONTROLLER STATUS
PROGRAMMABLE
Operation to the programmable
Priority
DIAGNOSING
controller CPU
STOP 1
PAUSE 2
RUN 3
The following table shows the operating status after RUN/STOP switching on the programmable controller CPU or
19
remote RUN/PAUSE contact operation.
EXTERNAL DEVICES
OPERATIONS OF
Programmable controller CPU switch Remote RUN/STOP contact is ON.
SIMULATING
-
RUN STOP (The programmable controller CPU is in STOP.)
RUN RUN STOP STOP
STOP STOP STOP STOP
Remote
operation
PAUSE PAUSE STOP STOP 20
Latch clear Inoperable*2 Latch clear Latch clear
*1 : The remote reset must be enabled on the <<PLC System>> tab of PLC parameter.
PRINTING
*2 : Operable when the programmable controller CPU is switched to STOP by remote operation.
Precautions on removing a memory card
Turn OFF SM605 to allow the memory card removal.
If the memory card is removed when not allowed, the programmable controller CPU becomes in an error status.
21
Counting modules to set "Specify Module No."
SETTING OPTIONS
Physically count the module from the programmable controller side, and specify the number.
However, note that the target modules to be counted are MELSECNET/H network modules and CC-Link IE
Controller Network modules only. Do not include other modules such as Ethernet modules, CC-Link modules, and
CC-Link IE Field Network modules.
The following figure shows an example of counting modules.
2nd module
3rd module
4th module
22
1st module
CC IE Control
controller CPU
MNET/10(H)
MNET/10(H)
MNET/10(H)
CC IE Field
FX1S, FX1N, FX2N, FX1NC, FX2NC, FX3G, FX3GC, FX3U, and FX3UC
Restrictions I
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
INDEX
17 - 3
GX Works2
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. Set the items on the screen.
Item Description
Connection Channel List Display the information of the connection destination setting.
Target Memory Set the memory to be formatted.
Format Type Select the format type.
Do not create a user setting system area
Select this to create the necessary system area only.
(the required system area only)
Select this to create the necessary system area, the area for high-
Create a user setting system area speed monitoring from another station, and the area for enabling
Online program change of multiple blocks.
17 - 4
17.2 Formatting Programmable Controller CPU Memory
Format types 17
CONTROLLER CPU
The system area is an area created on the programmable controller CPU memory. The system area
PROGRAMMABLE
consists of the 'Necessary system area' automatically created upon formatting the programmable
OPERATING
controller CPU memory and 'User setting system area' created by the user.
In the necessary system area, data such as local devices are stored.
The user setting system areas are set for the following purposes: 18
CONTROLLER STATUS
Area for enabling high-speed monitoring from another station
PROGRAMMABLE
The area is set to accelerate monitoring from peripheral such as GX Works2 connected to a serial
DIAGNOSING
communication module and 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. 19
The setting range for Basic model QCPU, and Universal model QCPU (Q00UJ/Q00U/Q01U) is 0 to
EXTERNAL DEVICES
3k steps.
OPERATIONS OF
The setting range for High Performance model QCPU, Universal model QCPU (excluding Q00UJ/
SIMULATING
Q00U/Q01U), and LCPU is 0 to 15k steps.
Area for enabling Online program change of multiple blocks
This area is set to enable Online program change of multiple locations (multiple blocks)
simultaneously. 20
The following table shows the restrictions on Online program change of multiple blocks according to
the capacity.
This setting is not required for Universal model QCPU and LCPU since 4k steps are secured
PRINTING
automatically other than for the program memory.
Secured system area capacity for Online program change of multiple blocks
Description
Basic model QCPU
High Performance model 21
Function QCPU
Function version B or later
version A
SETTING OPTIONS
0k steps 1.25k steps 2.5k steps 0k steps 2k steps 4k steps
The number of blocks for Online Max. 32 Max. 64 Online Max. 32 Max. 64
simultaneous writing program blocks blocks program blocks blocks
Online program
change of change of Max.
The number of steps per change of Max. 512 Max. 1024 Max. 512
multiple multiple 1024
block for writing multiple blocks steps steps steps
is not possible.
blocks is
not
blocks is
not
steps
22
The number of used pointers
possible. Not limited possible. Max. 50 Max. 100
(P, I) per block for writing
USING LIBRARIES
Device memory
The device memory values cannot be cleared with the Memory format function.
A
To clear the device memory values, execute [Online] [PLC Memory Operation] [Format PLC Memory].
( Section 17.3)
Formatting a memory card
APPENDIX
To format an SRAM card, ATA card or SD memory card to be used on the programmable controller CPU, select
[Online] [PLC Memory Operation] [Format PLC Memory].
If it is formatted using other functions such as the Windows, the card may not be usable when it is installed to a
programmable controller CPU.
I
Memory in which user setting system areas can be created
The areas can be created only in the program memory.
INDEX
17 - 5
GX Works2
This section explains how to initialize device memory data on 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 on 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. Set the items on the screen.
Item Description
Connection Channel List Display the information of the connection destination setting.
Clear Device's whole Memory
Select this to clear the device memory data.
17 - 6
17.3 Clearing Programmable Controller Memory
17
CONTROLLER CPU
PROGRAMMABLE
Operation of the PLC Memory Clear function during the monitoring of local devices
OPERATING
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'.
18
CONTROLLER STATUS
FXCPU
PROGRAMMABLE
DIAGNOSING
Initialize device memory data in FXCPU and resetting them to '0'.
Screen display
Select [Online] [PLC Memory Operation] [Clear PLC Memory].
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
Operating procedure
SETTING OPTIONS
1. Set the items on the screen.
Item Description
Connection Channel List Display the information of the connection destination setting.
Target Data Select the device memory to be cleared.
Select this to clear all data. 22
PLC Memory (Programs, comments, parameters, file registers, device memory, and extended
USING LIBRARIES
file registers)
Select this to clear all registers.
Data Device (Data registers, file registers, RAM file registers, special registers, extended
registers, and extended file registers)
Select this to clear all bit devices.
Bit Device (X, Y, M, S, T, and C)
Additionally, the current values of 'T' and 'C' are reset to '0'. A
I
INDEX
17 - 7
GX Works2
17 - 8
17.4 Arranging Programmable Controller Memory
17
17.4 Arranging Programmable Controller Memory
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote
FX 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 18
CONTROLLER STATUS
PLC Data.
PROGRAMMABLE
However, the Memory arrangement function is not available for standard ROM/Flash cards/SD memory cards.
DIAGNOSING
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 A
8K
19
EXTERNAL DEVICES
Program B Free area Program C
OPERATIONS OF
6K 6K 6K
28K
Delete PLC data Memory format
SIMULATING
Program C Program C
6K (Delete program B.) 6K Free area
Free area Free area 14K
8K 8K
Total free space 8K
Maximum consecutive 8K
Total free space 14K
Maximum consecutive 8K
Total free space 14K
Maximum consecutive 14K
20
free space free space free space
Screen display
PRINTING
Select [Online] [PLC Memory Operation] [Arrange PLC Memory].
21
SETTING OPTIONS
22
Operating procedure
1. Set the items on the screen. USING LIBRARIES
Item Description
Connection Channel List Display the information of the connection destination setting.
Target Memory Set the memory to be arranged.
A
2. Click the button.
The target memory is arranged.
APPENDIX
I
INDEX
17 - 9
GX Works2
This section explains how to set the clock on 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. Set the items on the screen.
Item Description
Date and time Set the date and time.
Specify Execution
Set the target station whose clock is to be set.
Target*1,*2
Currently Select this to set the clock only upon the station specified in the connection destination
Specified Station setting.
Select this to perform the remote operation to the station specified in the connection
All Stations destination setting and all the stations on the specified network.
Set a target network with "Specify Module No."*3 or "Specify Network No.".
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.
Specified Group 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 : Not supported by FXCPU.
*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 : Not supported by LCPU.
17 - 10
17.5 Setting Clock on Programmable Controller CPU
17
CONTROLLER CPU
PROGRAMMABLE
Clock setting for QCPU (Q mode)/LCPU
For QCPU (Q mode)/LCPU, the clock setting can be set regardless of the ON/OFF status of the clock setting
OPERATING
device 'SM1028'.
Note that the ON/OFF status of 'SM1028' does not change upon clock setting.
Precaution on the clock setting
In the clock setting, a time-lag error may appear due to the span of transfer. 18
Counting modules to set "Specify Module No."
CONTROLLER STATUS
Refer to the Point in Section 17.1.
PROGRAMMABLE
DIAGNOSING
Restrictions
Performing clock setting to other stations
When performing the clock setting to other stations with "All Stations" or "Specified Group", the clock setting cannot
be performed to the following modules.
19
ACPU/QnACPU
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
17 - 11
GX Works2
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. Set the items on the screen.
Item Description
Select the target memory to which the display module menu items are to be registered/
Target Memory
canceled.
Register/Cancel Menu Select registration/cancellation of the menus.
Target Module Select the target module of the menu items to be registered.
Menu Language Select the language of the menu items.
17 - 12
17.6 Registering/Canceling Display Module Menu
17
CONTROLLER CPU
PROGRAMMABLE
Modules and corresponding GX Works2 versions
OPERATING
The following table shows the modules and corresponding GX Works2 versions for registering/canceling the
display module menu.
Module type Module name Version
Analog
L60AD4
GX Works2 Version 1.24A 18
L60DA4
CONTROLLER STATUS
L60TCTT4
PROGRAMMABLE
L60TCTT4BW
Temperature control GX Works2 Version 1.62Q
DIAGNOSING
L60TCRT4
L60TCRT4BW
LD62
Counter GX Works2 Version 1.31H
LD62D
Serial communication
LJ71C24
LJ71C24-R2
19
GX Works2 Version 1.24A
CC-Link LJ61BT11
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
17 - 13
GX Works2
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. Select [Tool] [Ethernet Adapter Module Configuration Tool].
The Ethernet Adapter Module Configuration Tool screen is displayed.
17 - 14
17
CONTROLLER CPU
PROGRAMMABLE
OPERATING
18 DIAGNOSING 18
PROGRAMMABLE
PROGRAMMABLE
CONTROLLER
DIAGNOSING
CONTROLLER STATUS
19
This chapter explains how to display system status and error codes of the programmable controller CPU.
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
18.1 Diagnosing Programmable Controller CPU . . . . . . . . . . . . 18-2
20
18.2 Diagnosing MELSECNET . . . . . . . . . . . . . . . . . . . . . . . . . . 18-11
18.3 Diagnosing CC-Link IE Controller Network . . . . . . . . . . . 18-24
PRINTING
18.4 Diagnosing CC-Link IE Field Network . . . . . . . . . . . . . . . . 18-33
18.5 Diagnosing CC-Link and CC-Link/LT. . . . . . . . . . . . . . . . . 18-46
18.6 Diagnosing Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-59
18.7 System Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-80 21
18.8 Changing Modules Online . . . . . . . . . . . . . . . . . . . . . . . . . 18-96
SETTING OPTIONS
18.9 Built-in I/O Module Tools . . . . . . . . . . . . . . . . . . . . . . . . . . 18-98
22
USING LIBRARIES
A
APPENDIX
I
INDEX
18 - 1
GX Works2
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
18.1 Diagnosing Programmable Controller CPU
CONTROLLER CPU
PROGRAMMABLE
OPERATING
CPU operating status
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
Image of programmable
controller CPU
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
<Remote I/O module>
20
PRINTING
21
SETTING OPTIONS
Image of programmable
controller CPU
22
USING LIBRARIES
A
APPENDIX
I
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 Display the current monitor status.
Connection Channel List Display the connection route which has been set.
Single CPU system
Display the operating status and switch status of the programmable
controller CPU.
CPU operating status
Multiple CPU system (QCPU (Q mode) only)
Display the operating status and the switch status of CPU No. 1 to No. 4.
"Uninstallable/Blank" is displayed for a slot with no module mounted.
Perform online operations of the programmable controller CPU.
Image of programmable controller CPU
(For details, 18.1.4 Online operations.)
Select this to display the current error information of the programmable
Error Information
controller CPU.
Select this to clear user specified errors and minor errors.
To clear errors, select the errors and click the button.
Change the window size and position after Select this to downsize the PLC Diagnostics screen and move it to the upper
error jump left of the entire screen when the error jump is executed.
Error History Display the latest error history by clicking the button.
Occurrence Order Display Sorts error history in ascending/descending order.
Display the status icons on the screen.
Status Icon Legend
( 18.1.3 Error icons)
*1 : LCPU only
*2 : Q00UJ/Q00U/Q01U/Q02U/QnUD(H)CPU only
18 - 4 18.1.1 Diagnosing QCPU (Q mode), LCPU, communication head module, and remote I/O module
18.1 Diagnosing Programmable Controller CPU
17
Screen button
CONTROLLER CPU
PROGRAMMABLE
Displays the illustration of the connection route which has been set.
OPERATING
/ (Not supported by 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.
18
However, jump is not applicable in the following cases.
PROGRAMMABLE
The error is not a program error.
CONTROLLER
DIAGNOSING
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.
19
EXTERNAL DEVICES
OPERATIONS OF
Clears the current error information.
SIMULATING
/
Displays the explanation screen corresponding to the error number of the selected error item/error
history item. 20
PRINTING
Saves the currently displayed error history in a file in the CSV file format.
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
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" check box
When "Change the window size and position after error jump" is selected 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
18.1 Diagnosing Programmable Controller CPU
CONTROLLER CPU
PROGRAMMABLE
Q CPU L CPU Remote Head FX
OPERATING
Display the programmable controller CPU status.
Screen display 18
Select [Diagnostics] [PLC Diagnostics].
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
Display contents
Item Description
Connection Channel List Display the connection route which has been set.
Display errors being occurring. 22
The corresponding error help is displayed by double-clicking the row of error
Error Information information.
USING LIBRARIES
(It is also displayed by clicking the button.)
PLC Panel Display the status of the connection destination CPU module.
Display the memory type and version of the connection destination CPU
PLC Information
module.
Monitor Status Display the current monitor status.
A
Screen button
For the screen buttons, refer to Section 18.1.1.
APPENDIX
Switches the execution status of the programmable controller CPU to RUN.
Not supported by FX0, FX0S, FX1, FXU, and FX2C.
I
Switches the execution status of the programmable controller CPU to STOP.
Not supported by FX0, FX0S, FX1, FXU, and FX2C.
INDEX
Displays the Clear PLC Memory screen.
Displays the Set Clock screen.
Not supported by FX0S, FX0, and FX1.
The following table shows the details of the error information icons of the programmable controller CPU.
Icon Programmable controller CPU status
Serious error RESET and others
Minor error Errors that allow RUN status such as battery low and annunciator ON
CONTROLLER CPU
PROGRAMMABLE
Q CPU L CPU Remote Head FX
OPERATING
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 18
expanded. Click the figure of programmable controller CPU to display the items to be set.
Screen display
PROGRAMMABLE
CONTROLLER
DIAGNOSING
<QCPU (Q mode)>
<Remote Operation>
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
<Set Clock/Write Title>
PRINTING
<Ethernet Diagnostics>
21
SETTING OPTIONS
<LCPU>
<Remote Operation/
<PLC Memory Operation> PLC Module Change>
22
USING LIBRARIES
A
APPENDIX
I
INDEX
<MELSEC Diagnostics>
Display contents
Item Reference
Memory format Section 17.2
(Type of memory
PLC Memory Operation Memory clear Section 17.3
operation)
Memory arrangement Section 17.4
17
18.2 Diagnosing MELSECNET
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote Head FX
This section explains how to check the MELSECNET/10(H) status connected to the selected module.
Screen display 18
Select [Diagnostics] [MELSECNET Diagnostics].
PROGRAMMABLE
CONTROLLER
Link module
DIAGNOSING
selection tab
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
Display contents
Item Description
Switch the MELSECNET diagnostics result display screen for each link modules from 1 to 4.
Link module selection tab
PRINTING
The information whether a link module is mounted or not is acquired from the mounted status.
Network Information Display the network information of the selected module.
Link Information Display the network status.
Communication Information Display the communication status of the target network. 21
SETTING OPTIONS
Screen button
Displays the Network Test screen. ( Section 18.2.1)
22
Displays the Loop Test screen. ( Section 18.2.2)
USING LIBRARIES
Displays the Setting Confirmation Test screen. ( Section 18.2.3)
Displays the Station Order Check Test screen. ( Section 18.2.4) A
Displays the Communication Test screen. ( Section 18.2.5)
APPENDIX
Displays the Error History Monitor screen. ( Section 18.2.6)
I
Displays the Network Monitor Details screen. ( Section 18.2.7)
INDEX
18 - 11
GX Works2
Displays the Other Station Information screen. ( 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
18.2 Diagnosing MELSECNET
CONTROLLER CPU
PROGRAMMABLE
Perform link start/stop (cyclic transmission stop/restart) on the host station, specified station, and all
stations in MELSECNET/10(H).
OPERATING
Use this function to avoid receiving data from another stations or to avoid sending data from host
station when starting up (debugging) the system.
Screen display 18
Click the button on the MELSECNET Diagnostics screen.
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
Display contents
PRINTING
Item Description
Network Information Display the network information on the host station of the selected module.
Monitor Status Display the current monitor status.
Host Status Display the operating status of the host station for the selected module.
21
SETTING OPTIONS
Operation Status of All Stations Display the link status of all stations on the tested network.
Operating procedure
1. Set the items on the screen.
Item Description 22
Link Start/Stop Set the test contents to be executed.
USING LIBRARIES
Select this to start the station that was stopped by the host station.
Link Start
The station that was stopped by another station cannot be started.
Link Stop Select this to stop a station from the host/another station.
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
Operation not possible while all stations are stopped.
To check whether the station is stopped by stop specification of all stations, check
A
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.
APPENDIX
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 Select the object module of the network test. I
2. Click the button.
The network test is executed according to the settings.
INDEX
CONTROLLER CPU
PROGRAMMABLE
Check the loop status of MELSECNET/10(H).
OPERATING
Use this function to perform the loop test in the forward loop/reverse loop status with the completion of
the optical loop system wiring.
Wiring status of data link cables (IN/OUT) can be checked.
18
Screen display
PROGRAMMABLE
Click the button on the MELSECNET Diagnostics screen.
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
Display contents
PRINTING
Item Description
Network Information 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.
21
Operating procedure
SETTING OPTIONS
1. Set the items on the screen.
Item Description
Loop Test Set the test contents to be executed.
Parameter
Select this to test all the (slave) stations specified by the network parameter
(excluding reserved stations). 22
Designation
Test Method All stations are tested, if network parameter does not exist.
USING LIBRARIES
All Stations
Select this to test all stations.
Designation
Object Module Select the module for which loop test is executed.
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
Click the button on the MELSECNET Diagnostics screen.
Display contents
Item Description
Network Information Display the network information on the host station of the selected module.
Execute Results Display the test result.
Display the station number of the stations for which the setting verification test was executed.
Station No.
Up to 64 stations are displayed.
Control Station No. Display " " symbol at the target station if control station is set at two or more places.
Duplicated Station No. Display " " symbol at the target station if the same station number is set at two or more places.
Display the network number of the stations for which the setting verification test was executed.
Network No.
If the network number differs from that of the host station, it is identified by red.
Display the group number of the stations for which the setting verification test was executed.
Group No.
For the remote I/O network, the station in error is blank.
Display " " symbol for the station reserved by parameter setting.
Reserved Station
(When "Parameter Designation" is set in the test execution method.)
Display " " symbol for the station when it is reserved by parameter setting or if a module is
Error Station
faulty in all station specification.
Network Type Error Display " " symbol for the station where the parameter setting and the actual connection type
Station disagree.
Duplex R Sub M Station Display " " symbol for the station where multiple sub-master stations exist on the same
Duplication network.
Parallel R Sub M Station Display " " symbol for the station where multiple sub-master stations exist on the same
Duplication network.
17
Operating procedure
CONTROLLER CPU
1.
PROGRAMMABLE
Set the items on the screen.
OPERATING
Item Description
Setting Check Test Set the test contents to be executed.
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.
18
Test Method
All Stations
Select this to test all stations.
PROGRAMMABLE
Designation
CONTROLLER
DIAGNOSING
Object Module Select the module for which setting verification test is executed.
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Precautions on executing the test
The test cannot be executed to multiple stations simultaneously.
If executed, cyclic transmission stops.
When another station is set in the connection destination setting
The setting verification test cannot be executed when the connection destination setting is set to other than "No 20
Specification".
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Check the station number of the connected stations in the optical loop system of MELSECNET/10(H).
Screen display
Click the button on the MELSECNET Diagnostics screen.
Display contents
Item Description
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
Network Information status.
"No. of Stations" indicates the number of stations that have been checked, including the
reserved station.
Display the station number in "Forward Loop Direction from Host Station" and "Reverse Loop
Destination from Host Station".
Execute Results
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. Set the items on the screen.
Item Description
Station Order Check Test Set the test contents to be executed.
Select this to test all the (slave) stations specified by the network parameter
Parameter Designation (excluding reserved stations).
Test Method All stations are tested, if network parameter does not exist.
All Stations Designation Select this to test all stations.
Object Module Select the module for which station order check test is executed.
CONTROLLER CPU
PROGRAMMABLE
Perform the communication test between networks on MELSECNET/10(H).
OPERATING
Use this function to check whether communication can be performed between the host station and the
communication target.
Especially, when the communication target is located on another network, the routing parameter setting
can be checked by the relayed network numbers and station numbers displayed on the screen. 18
Screen display
PROGRAMMABLE
CONTROLLER
DIAGNOSING
Click the button on the MELSECNET Diagnostics screen.
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
Display contents 21
Item Description
SETTING OPTIONS
Execute Results Display the result of communication test executed between networks.
Operating procedure
1. Set the items on the screen.
Item Description
22
Communication Test Set the test contents to be executed.
USING LIBRARIES
Destination Set the network number and station number.
Set the data length (1 to 900 bytes), number of communications (1 to 100
Communication Data
times), and monitoring time (1 to 100 seconds) to execute the test.
The following shows an example of the communication test between the host station (network
number 1, station number 1) and the communication target (network number 3, station number 2)
with the network configuration described below.
GX Works2
Network number 2
Station
number 1
CONTROLLER CPU
PROGRAMMABLE
Display the error history of MELSECNET/10(H).
OPERATING
Screen display
Click the button on the MELSECNET Diagnostics screen.
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Display contents 20
Item Description
Network Information Display the network information of the selected host station.
PRINTING
Loop Switching Display the number of times that a loop is switched.
Transient Transmission Errors Display the number of occurrences of transient transmission error.
F.Loop/R.Loop Display the items during monitoring.
21
Screen button
SETTING OPTIONS
Displays the Error History Detail Monitoring screen that lists the details of loop switching and
transient transmission error.
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Displays the Clear of Error History screen. Select the items to be cleared and click the
button.
Display contents
Item Description
Network Information Display the network information of the selected host station.
Display the control station information.
Control Station Information For the remote I/O master station, the information is displayed only for PLC to PLC network.
LX/LY assignment is displayed only for the remote I/O network.
Data Link Information Display the data link information.
Display the host station status.
Status of Self Station
Parameter setting is displayed only for PLC to PLC network.
CONTROLLER CPU
PROGRAMMABLE
Monitor other station connected to MELSECNET/10(H).
OPERATING
Screen display
Click the button on the MELSECNET Diagnostics screen.
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
Error details
display field
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Display contents
Item Description
Network Information Display the network information of the selected host station. 20
Display detailed 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.
Other Station Information "RSV" is displayed in the error information display field if a reserved station exists.
PRINTING
"PWR" is displayed in the error information display field if a power is supplied to a module
with external power supply.
Error details display field 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). 21
Applicable Not applicable (masked)
SETTING OPTIONS
MELSECNET/10(H)
PLC to PLC network Remote I/O network
Control station Normal station Master station
Loop Bus Loop Bus Loop Bus
Communication Status of each Station
Data-Link Status of each Station 22
Parameter Status of each Station*2
USING LIBRARIES
CPU Operation Status of each Station
CPU RUN Status of each Station*2
Loop Status of each Station
Reserved Station Designation of each
Station
Power Operation Status of each
A
Station External*2
Search Status of Local Station Error*2
Each Station PLC Operation Mode
APPENDIX
Status*1,*2
Each Station Pairing Status*1,*2
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 button.
Diagnostics screen
Screen display
Select [Diagnostics] [CC IE Control Diagnostics].
Network information
18 - 24
18.3 Diagnosing CC-Link IE Controller Network
17
Display contents
CONTROLLER CPU
Item Description
PROGRAMMABLE
Display the network information of the selected module. The status is displayed by icons shown below.
OPERATING
Icon
Station status
Module Board
PROGRAMMABLE
Focusing (icon enclosed by dotted line)
CONTROLLER
DIAGNOSING
Selected station
EXTERNAL DEVICES
OPERATIONS OF
Module whose shared group is different
SIMULATING
Network information
- Reserved station (gray)
PRINTING
Number unspecified station (Although "Specify Station No. by
- Program" is selected in parameter (normal station only), a
station number is not set in the program.)
Clicking an icon sets the corresponding station as the selected station and displays the details 21
in "Selected Station's Network Equipment Status". The selected station can also be determined
SETTING OPTIONS
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.
Selected Station's Network Display the status of the CC-Link IE Controller Network module in the station selected in the
Equipment Status network information display field and the status of the connecting cable.
22
Screen button
USING LIBRARIES
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" A
is assigned. The status of the selected station is displayed in "Selected Stations Network
Equipment Status".
APPENDIX
/
Switches the screen display of the network information when the total number of station is 61 or
more.
I
Displays the Communication Test screen. The communication path from the connected station to
the specified destination station can be confirmed. ( Section 18.3.1)
INDEX
18 - 25
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
18.3 Diagnosing CC-Link IE Controller Network
Display on the "Selected Station's Network Equipment Status" field when an error 17
occurs
CONTROLLER CPU
PROGRAMMABLE
When an error occurs on a CC-Link IE Controller Network module or connection cable, the button is
OPERATING
displayed on the "Selected Station's Network Equipment Status" field as shown below. The detailed
information, error factor, and troubleshooting can be displayed by clicking the button.
The icon ( ) is displayed as shown below when a destination station is disconnected.
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
Click the button.
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
18 - 27
GX Works2
Operating procedure
1. Set the items on the screen.
Item Description
Communication Test
Set the contents of the test to be executed.
Parameters
Target Station Set the network number and station number.
Communication Data Set the data length (1 to 900 bytes), the number of communications (1 to 100 times),
Setting and monitoring time (1 to 100 seconds) to execute the test.
Display contents
Item Description
Display the result of inter-network communication test.
Networks and stations routed from the own station (connected station) to the target station are
Communication Test Result
displayed on the <<Outward>> tab and those routed from the target station to the own station
(connected station) are displayed on the <<Inward>> tab.
CONTROLLER CPU
PROGRAMMABLE
Start/stop the data link of individual stations on CC-Link IE Controller Network.
OPERATING
Screen display
Click the button on the CC IE Control Network Diagnostics screen.
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
Operating procedure 21
SETTING OPTIONS
1. Set the items on the screen.
Item Description
Network Information Display the network information of the connected station.
Display the link status of all stations on the same network which are performing the data link
All Station Status with the connected station. Target stations of the link start/stop operation can be selected in
"Selective Status". 22
Link Start/Stop
USING LIBRARIES
Link Start Select this to start the data link.
Link Stop Select this to stop the data link.
Select this to forcibly start the data link of a station which has been stopped by another
Forced Link Start
station or a special relay/special register.
I
INDEX
18.3.3 Logging 17
CONTROLLER CPU
PROGRAMMABLE
Display the communication route switch information and transient transmission error information of the
selected station.
OPERATING
Screen display
Select the button on the CC IE Control Network Diagnostics screen. 18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
Display contents
Item Description
Display Station Display the network information of the currently selected station.
22
Displaying the communication route switch information and transient transmission
USING LIBRARIES
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
A
oldest one.
Display contents
Item Description
APPENDIX
Display the loop status of communication route, the number of station where loopback
Switch Transmission Path
occurred, and the date when communication route switching occurred.
Display the error code, network number and station number of the transient request target, and
Transient Transmission Errors
the date of error occurrence if transient transmission error occurs. I
INDEX
18.3.3 Logging 18 - 31
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
1. Select the item to be cleared.
18 - 32 18.3.3 Logging
18.4 Diagnosing CC-Link IE Field Network
17
18.4 Diagnosing CC-Link IE Field Network
CONTROLLER CPU
PROGRAMMABLE
*1
OPERATING
Q CPU L CPU Remote Head FX
PROGRAMMABLE
When another station is set in the connection destination setting
CONTROLLER
DIAGNOSING
When another station is set in the connection destination setting, the function cannot be executed.
Details of CC-Link IE Field Network diagnostics
Refer to the Users Manual of each module.
19
EXTERNAL DEVICES
Selecting the diagnostics target
OPERATIONS OF
SIMULATING
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.
Select a network to be diagnosed and click the button. 20
PRINTING
21
SETTING OPTIONS
Diagnostics screen
22
Screen display
USING LIBRARIES
Select [Diagnostics] [CC IE Field Diagnostics].
The following is an example of setting screen when QCPU (Q mode) is selected.
Network information
Data link
unexecuted
A
Network configuration stations
APPENDIX
I
INDEX
18 - 33
GX Works2
Display contents
Item Description
Select Diagnostics
Destination
Module Display the module and network number of the diagnostics target.
Display the station number of the station selected in the network information.
Select Station*1 When the connected station is communication head module, this item is fixed to the own
station.
Network Status*1
Display the total number of slave stations, the link scan time (in units of ms), and the number of
Network information
station error detected on the network being displayed.
Display the state of the network. The status of each station is displayed with icons.
Descriptions of displayed icons can be checked by clicking the button.
Clicking an icon sets the corresponding station as the selected station and displays the details
Network configuration in "Selected Station Communication Status Monitor". The selected station can also be
determined by moving the focus with the right and left arrow keys and pressing the
or key.
Display stations on which the data link is not established among the stations set to the
Data link unexecuted parameter.
stations The disconnected stations which are deleted by the "Hide Disconnected Station" function are
also displayed.
Selected Station
Communication Status Display the communication status of the own station.
Monitor
Screen button
(Not supported by communication head module)
Displays the Select Diagnostics Destination screen. The diagnostic target module can be changed.
( Selecting the diagnostics target)
Deletes the disconnected station from the network configuration.
Displays the explanation for icons displayed on the diagnostics screen.
18 - 34
18.4 Diagnosing CC-Link IE Field Network
17
Displays the Communication Test screen. The communication path from the connected station to
CONTROLLER CPU
PROGRAMMABLE
the specified destination station can be confirmed. ( Section 18.4.1)
OPERATING
Displays the IP Communication Test screen. The IP communication path from the connected
station to the communication target station can be confirmed. ( Section 18.4.2) 18
PROGRAMMABLE
Displays the Cable Test screen. The cable connection status can be tested. ( Section 18.4.3)
CONTROLLER
DIAGNOSING
(Not supported by communication head module)
Displays the Link Start/Stop screen. The data link start/stop can be performed to the specified
station. ( Section 18.4.4)
19
(Not supported by communication head module)
EXTERNAL DEVICES
Displays the Network Event History screen. Displays the history of events that have occurred on
OPERATIONS OF
the own station and the network, and the various network information. ( Section 18.4.5)
SIMULATING
(Not supported by communication head module)
Displays the Reserved Station Function Enable screen. The reserved stations can temporarily be 20
disabled, and the temporarily disabled reserved stations can be enabled. ( Section 18.4.6)
PRINTING
Displays the Enable/Disable Ignore Station Errors screen. The temporary error invalid stations can
be set, and the registered temporary error invalid stations can be canceled.
( Section 18.4.7)
21
(Not supported by Ethernet adapter module/CC-Link IE Field Network board/
SETTING OPTIONS
CC-Link IE Field Network communication unit)
Displays the System Monitor screen. The system status of the selected station can be confirmed.
( Section 18.7)
USING LIBRARIES
(Not supported by Ethernet adapter module/CC-Link IE Field Network
board/CC-Link IE Field Network communication unit)
Displays the Remote Operation screen. The remote operation can be performed to the
programmable controller CPU of the selected station. ( Section 17.1)
A
APPENDIX
I
INDEX
18 - 35
GX Works2
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 - 36
18.4 Diagnosing CC-Link IE Field Network
CONTROLLER CPU
PROGRAMMABLE
When an error occurs on a CC-Link IE Field Network master/local module, communication head
OPERATING
module, Ethernet adapter module, or connection cable, the button is displayed on the "Selected Station
Communication Status Monitor" field as shown below. The detailed information, error factor, and
troubleshooting can be displayed by clicking the button.
The icon ( ) is displayed as shown below when a destination station is disconnected.
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
Click the button
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
Setting a station number of communication head module
A station number of communication head module can be set or changed when connecting a communication head
module whose station number is not set.
Specify "Communication Head Module" for "Select Station" on the CC IE Field Diagnostics screen for the master
station, and click the button displayed in "Selected Station Communication Status Monitor". A
Station numbers of the following modules used in the master station can be reset.
QJ71GF11-T2 (With a serial number whose first five digits are "12072" or higher)
LJ71GF11-T2
For details of setting station numbers, refer to the following manual.
APPENDIX
I
INDEX
18 - 37
GX Works2
Operating procedure
1. Set the items on the screen.
Item Description
Communication Test
Set the information for the test.
Parameters
Connected Station (Own) Display the network number and station number of the connected station.
Target Station Set the network number and station number.
Communication Data Set the data length (1 to 900 bytes), the number of communications (1 to 100 times),
Setting and monitoring time (1 to 100 seconds) to execute the test.
Display contents
Item 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.
Communication Test Result
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.
CONTROLLER CPU
PROGRAMMABLE
Perform the IP communication test on CC-Link IE Field Network.
OPERATING
Screen display
Click the button on the CC IE Field Diagnostics screen.
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
Operating procedure
PRINTING
1. Set the items on the screen.
Item Description 21
IP Communication Test
Set the information for the test.
SETTING OPTIONS
Parameters
IP Address Input Select the input format (decimal/hexadecimal) of the IP address.
Connected Station (Own) Display the IP address of the Built-in Ethernet port QCPU.
Communication Target Set the IP address of the target station.
USING LIBRARIES
*1 : A maximum of two minutes may be required for the cancellation processing when the module is not
connected with the serial/USB cable.
Display contents
Item Description
Display the result of the IP communication test between the networks.
A
Network numbers and station numbers routed from the own station to the target station are
IP Communication Test Result
displayed on the <<Outward>> tab and those routed from the target station to the own station
are displayed on the <<Inward>> tab.
APPENDIX
I
INDEX
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 button on the CC IE Field Diagnostics screen.
Operating procedure
1. Set the items on the screen.
Item Description
Cable Test Contents
Set the network number and station number of the station which executes the cable
Testing Station Setting
test.
Display contents
Item Description
Cable Test Result Display the cable test result, error factor, and troubleshooting of each port.
CONTROLLER CPU
PROGRAMMABLE
Start/stop the data link of a specified station. This function can be used for debugging purposes to stop
OPERATING
the station from receiving data from other stations and sending its own data.
The data link cannot be started/stopped to the stations other than the own station when the connected
station is the master station operating as a sub-master station.
18
Screen display
PROGRAMMABLE
Click the button on the CC IE Field Diagnostics screen.
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
Operating procedure 21
SETTING OPTIONS
1. Set the items on the screen.
Item Description
Network Information
Connected Station
Display the network information of the connected station.
Information
Link Start/Stop Setting
22
Contents
USING LIBRARIES
Display the link status of all stations on the same network which are performing the
All Stations Information data link with the connected station. Target stations of the link start/stop operation can
be selected in "Selected Status".
Select "Link Start"/"Link Stop".
Link Start/Stop Executing
To forcibly start the data link of a station which has been stopped by another station or
Contents
a special relay/special register, select "Forced Link Start".
A
2. Click the button.
The link start/stop is executed for all selected stations at once.
When the process is completed, "Selected Status" are cleared and the contents of "Link Status" are
APPENDIX
updated.
I
INDEX
Screen button
Selects all stations displayed in the list.
Cancels the selection status of all stations selected in the list.
Display the list of event history occurred on the own station and on the network.
Screen display
Click the button on the CC IE Field Diagnostics screen.
Display contents
Item Description
Display the list of network event history.
Network Event History List
Each column can be sorted in ascending/descending order by clicking on the column header.
Detailed Information Display the detailed information of an event selected in "Network Event History List".
17
Screen button
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Clears the network event history exists on the programmable controller CPU.
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
All events displayed in the list are selected by clicking the button.
The selection status of all events selected in the list are canceled by clicking the
button.
22
USING LIBRARIES
Saves the network event history in CSV file format.
A
APPENDIX
I
INDEX
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 or the master station
operating as a sub-master station.
Screen display
Click the button on the CC-Link IE Field Diagnostics screen.
Operating procedure
1. Select reserved stations to be disabled temporarily/enabled from "Reserved Station
List".
CONTROLLER CPU
PROGRAMMABLE
Set/cancel temporary error invalid stations.
OPERATING
This function cannot be performed when the connected station is a local station or the master station
operating as a sub-master station.
Screen display 18
Click the button on the CC-Link IE Field Diagnostics screen.
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
Operating procedure 21
SETTING OPTIONS
1. Select stations to be set/canceled as temporary error invalid stations from "Ignore
Station Error List".
USING LIBRARIES
A
APPENDIX
I
INDEX
Module list/
diagnostic
target selection
Station list
17
Display contents
CONTROLLER CPU
Item Description
PROGRAMMABLE
Diagnostics Result Display the number of all errors/warnings being occurring in the modules.
OPERATING
Display CC-Link and CC-Link/LT modules exist in the connected station. The number of errors
Module list/diagnostic target
(errors and warnings) is also displayed.
selection
The diagnostic target can be changed by clicking a desired module.
Display the icons of stations configuring the CC-Link network. 18
In the detail display, the 33rd station and later are displayed by clicking the
button.
PROGRAMMABLE
Station list
The display can be switched by the / button. The information of all stations
CONTROLLER
DIAGNOSING
are displayed on the screen at once in the all-station display.
Click the button to check the description of each icon.
<<Connecting Station
Display such as the data link status of the connecting station (host station).
Information>>
Display such as the data link status of the station (another station) selected in the station list. 19
EXTERNAL DEVICES
OPERATIONS OF
<<Selected Station
Information>>
SIMULATING
Display the error information of the station selected in the station list.
20
<<Selected Station Error
Information>>
PRINTING
Screen button 21
SETTING OPTIONS
Updates the module list/diagnostic target list.
22
Reset the icon layout in the station list to the station number order.
USING LIBRARIES
For the layout edit of the station list, refer to the Point in this section.
I
INDEX
/
Displays/hides the related function buttons.
For details of related functions, refer to the following sections.
Loop Test*1 Section 18.5.2 Loop test/transmission speed test
Status Logging*2 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 Section 18.5.5 Starting/stopping data link
*1 : Not supported by remote I/O module.
*2 : Not supported by FXCPU.
Displays the explanation for icons displayed on the diagnostics screen.
The following is an example of setting screen when QCPU (Q mode) is selected.
17
CONTROLLER CPU
PROGRAMMABLE
Update of the number of errors and warnings displayed in "Diagnostics Result"
OPERATING
During the monitoring, the number of errors/warnings being occurring on the network of a module selected in
"Module list/diagnostic target selection" is only updated.
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 with the drag-and-drop operation.
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
Move icons by drug
and drop. 19
EXTERNAL DEVICES
OPERATIONS OF
Diagnostic target
SIMULATING
For QCPU (Q mode)/LCPU, only QJ61BT11, QJ61BT11N, and LJ61BT11 are diagnosed in the CC-Link system
configuration, and only QJ61CL12 and LJ61CL12 are diagnosed in the CC-Link/LT system configuration.
For FXCPU, the diagnostic target is CC-Link system only. Remote I/O, remote device stations, and intelligent
device stations are diagnosed.
Diagnosing CC-Link bridge modules (Not supported by FXCPU) 20
When a CC-Link bridge module is selected in the station list, the bridge diagnostics can be executed by right-
clicking it and selecting [Bridge Diagnostics] from the shortcut menu.
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
To return to the CC-Link Diagnostics screen, click the button.
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 A
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)
APPENDIX
Restrictions I
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.
INDEX
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.
CONTROLLER CPU
1) The field displays the company name or maker code of the device connected in CC-Link.
PROGRAMMABLE
2) The field displays the maker code if company name is not entered in the maker code list.
OPERATING
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 18
4) The company names can be edited on the diagnostics screen, however, changes are not reflected
PROGRAMMABLE
to partner_English.dat.
CONTROLLER
DIAGNOSING
For some makers, maker codes are not listed. Edit the file according to the following file format
specifications.
Maker code Company name 19
Max. number of
5 255
EXTERNAL DEVICES
characters
OPERATIONS OF
Alphanumeric characters
Usable characters*1 0 to 9
SIMULATING
Symbols
Maker code other Display differs depending on the screen width.
Remarks than 5 digits is With small fonts, up to 75 characters are displayed, characters exceeding the
ignored. limit are not displayed.
*1 : If "," is used in a company name, enclose the company name by double quotations (" ").
20
Example: "xxxxx Co., Ltd"
PRINTING
21
SETTING OPTIONS
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.
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Check operating status of lines for all stations or specified stations, and checking the transmission
speed settings of all stations.
Screen display
Test result
Operating procedure
1. Set the items on the screen.
Item 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 stations.
QCPU (Q mode)/LCPU : 64 stations
FXCPU : 16 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.
Loop Test <Example>
When four occupied stations and two occupied stations are connected
4 stations occupied 2 stations occupied
CONTROLLER CPU
PROGRAMMABLE
in the 'Test result'.
OPERATING
Check 'Legends' for the descriptions of the icons displayed in the 'Test result'.
18
Precaution on executing the test
Do not execute the loop test/acquisition of the transmission speed setting by a sequence program or peripheral at
PROGRAMMABLE
the same time. If executed, the loop test/acquisition of the transmission speed setting may not be executed
CONTROLLER
correctly.
DIAGNOSING
In addition, when executing the acquisition of the transmission speed setting, do not execute the acquisition of the
transmission speed setting in the Check Sheet Creation Wizard at the same time.
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Collect logs of the station information (the data link status of other stations, date of acquisition).
Screen display
<Q series CC-Link module whose serial number is lower than 12032>
Log data
display area
Log data
display area
17
Operating procedure
CONTROLLER CPU
1.
PROGRAMMABLE
Set the items on the screen.
OPERATING
Item Description
Specify the period of time to collect the log on the second time scale.
Time of Logging Acquisition The log is collected during the time of period between when the logging starts and when
the specified time elapses.
Specify the logging storage destination.
18
Select "RAM + Flash ROM" to keep the log stored because the log which is stored in a
Log Storage Area in CC-Link
PROGRAMMABLE
RAM is deleted when the programmable controller CPU is turned from OFF to ON or reset.
Module
The log in a flash ROM can remain stored even if the programmable controller CPU is
CONTROLLER
DIAGNOSING
turned from OFF to ON or reset.
EXTERNAL DEVICES
The log collection stops when the number of log records reaches 5000.
OPERATIONS OF
When '0' is specified, the log collection continues until the button is clicked or the number
SIMULATING
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'.
20
Screen button
PRINTING
Clears the log in the module.
Also clears the log stored in a flash ROM when "RAM + Flash ROM" is selected.
/
21
Saves information of the log list in CSV format. Also reads out a log file saved in CSV format and
SETTING OPTIONS
displays in "Log List".
USING LIBRARIES
The log stored in a flash ROM is transferred to a RAM when the programmable controller CPU is turned from OFF
to ON or reset. The log stored in the flash ROM can be displayed in "Log List" by reopening the Status Logging
screen.
Log collection
In the case where GX Works2 cannot always be connected, select "RAM + Flash ROM".
The log (up to 45 records) stored in a flash ROM can be displayed when GX Works2 is reconnected after the
logging. A
In the case where GX Works2 can always be connected, up to 5000 records of the log can be collected whichever
"RAM" or "RAM + Flash ROM" is selected.
APPENDIX
I
INDEX
CONTROLLER CPU
PROGRAMMABLE
OPERATING
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
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, Local station,
station number 0 station number 1
CC-Link
GX Works2
17
18.6 Diagnosing Ethernet
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote Head
FX FX
This section explains how to check various setting status of Ethernet module and Built-in Ethernet port QCPU/
LCPU.
18
PROGRAMMABLE
18.6.1 Q series-compatible E71 module
CONTROLLER
DIAGNOSING
Check Q series-compatible E71 module parameter status, error history, status of each connection,
status of each protocol, LED status, received e-mail information, and send e-mail information.
For details of each displayed item, refer to the following manual.
19
EXTERNAL DEVICES
Q Corresponding Ethernet Interface Module User's Manual (Basic)
OPERATIONS OF
Screen display
SIMULATING
Select [Diagnostics] [Ethernet Diagnostics].
Monitoring Information 20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Display contents
Item Description
Select "Module No.", and specify an Ethernet module to be monitored. Setting range is module
Target Module Setting
number 1 to 4.
Change IP Address Display Switch decimal/hexadecimal notation of IP address display.
The following Ethernet module information can be monitored.
Parameter status ( Monitoring the parameter status)
Error history ( Monitoring the error history)
Status of each connection ( Monitoring the status of each connection)
Monitoring information
Status of each protocol ( Monitoring the status of each protocol)
LED status ( Monitoring the LED status)
Received e-mail information ( Monitoring the received e-mail information)
Send e-mail information ( Monitoring the send e-mail information)
Screen button
Displays the PING Test screen. ( Section 18.6.3)
CONTROLLER CPU
Monitor the error history area.
PROGRAMMABLE
OPERATING
Screen display
Select the <<Error History>> tab on the Ethernet Diagnostics screen.
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Screen button 20
Clears the error history.
PRINTING
Monitoring the status of each connection
21
Monitor the status of each connection.
SETTING OPTIONS
Screen display
Select the <<Status of Each Connection>> tab on the Ethernet Diagnostics screen.
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Precautions on monitoring
If RAM test or ROM test is set with the switch setting of an Ethernet module, programmable controller
communication error occurs.
CONTROLLER CPU
Monitor the received e-mail information.
PROGRAMMABLE
OPERATING
Screen display
Select the <<Received E-mail Information>> tab on the Ethernet Diagnostics screen.
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Screen button 20
Clears the number of times set in each item by '0'.
PRINTING
Clears the "Number of Error Log Writes" by '0' and the contents of "Error Log".
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Screen button
Clears the number of times set in each item by '0'.
Clears the "Number of Error Log Writes" by '0' and the contents of "Error Log".
CONTROLLER CPU
PROGRAMMABLE
Check Built-in Ethernet port QCPU/LCPU parameter status, error history, status of each connection,
OPERATING
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)
18
QnUCPU User's Manual (Communication via Built-in Ethernet Port)
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)
PROGRAMMABLE
CONTROLLER
DIAGNOSING
MELSEC-L CPU Module User's Manual (Built-in Ethernet Function)
Screen display
Select [Diagnostics] [Ethernet Diagnostics].
19
EXTERNAL DEVICES
OPERATIONS OF
Monitoring
information
SIMULATING
20
PRINTING
Display contents 21
Item Description
SETTING OPTIONS
*1 Select "CPU", and specify the CPU to be monitored. Setting range is CPU number 1 to 4.
Target Module Setting
Change IP Address Display Switch decimal/hexadecimal notation of IP address display.
The following built-in Ethernet port information can be monitored.
Parameter status ( Monitoring the parameter status)
Error history ( Monitoring the error history)
Monitoring information
Status of each connection ( Monitoring the status of each connection) 22
Connection status ( Monitoring the connection status)
USING LIBRARIES
Time status setting ( Monitoring the time setting status)
Screen button
For the buttons on the screen, refer to Section 18.6. A
APPENDIX
I
INDEX
Screen button
Clears the error history.
CONTROLLER CPU
Monitor the status of each connection.
PROGRAMMABLE
OPERATING
Screen display
Select the <<Status of Each Connection>> tab on the Ethernet Diagnostics screen.
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Screen button 20
Clears the error codes.
PRINTING
Clears the "Unlock Error Count".
21
SETTING OPTIONS
Allows the connection of the selected row.
Cancels the connection of the selected row.
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Screen button
Clears the number of receive buffer overflows and broadcast information.
CONTROLLER CPU
Monitor the time setting status.
PROGRAMMABLE
OPERATING
Screen display
Select the <<Time Setting Status>> tab on the Ethernet Diagnostics screen.
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Screen button 20
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
Setting time
21
For Built-in Ethernet port QCPU/LCPU, the time on a programmable controller CPU can be set automatically by
SETTING OPTIONS
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)
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Screen button
The Details screen which shows detailed information of each setting is displayed.
CONTROLLER CPU
PROGRAMMABLE
A PING test is a test to check the existence of Ethernet modules to which the initial processing has
OPERATING
been completed, or devices with specified IP address on the same Ethernet line.
The following checks are performed when the PING test is executed on Ethernet module, Built-in
Ethernet port QCPU or LCPU. 18
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.
PROGRAMMABLE
Whether the initial processing has been completed correctly for the Ethernet module on host station.
CONTROLLER
DIAGNOSING
(For Ethernet module only)
19
Required setting items
Make sure to check the following before executing the PING test when using an Ethernet module.
EXTERNAL DEVICES
"Station No. IP Information" of Ethernet parameter is set.
OPERATIONS OF
RUN LED and INT LED on the Ethernet module are ON.
SIMULATING
System configuration where the PING test can be executed
A PING test is valid for the system configured with Ethernet, MELSECNET/10(H), and CC-Link IE Controller
Network. It cannot be executed via CC-Link, CC-Link IE Field Network, and serial communication.
A PING test can only be executed to the Ethernet module on the same segment as the target station. However,
it cannot be executed to a host station. 20
Administrator authority required to execute the PING test
To execute the PING test, the user must log on Windows as the user having the administrator authority.
PRINTING
PING test overview 21
SETTING OPTIONS
A PING test can be executed either by the Ethernet module connection (via Ethernet board) or the
programmable controller CPU direct connection (via serial/USB or Ethernet board).
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Station number: 3
CONTROLLER CPU
PROGRAMMABLE
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
OPERATING
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.
18
PROGRAMMABLE
A PING test can be executed only when the Ethernet module (station number 1 on network number 1
CONTROLLER
DIAGNOSING
in the system shown below) of the connection destination is Q series-compatible E71 module
(function version B or later).
19
Ethernet
EXTERNAL DEVICES
Station number: 1
module
OPERATIONS OF
Ethernet
SIMULATING
Network number 1
Ethernet Ethernet Station number: 1
module module
Station number: 2 20
Ethernet
Network number 2
PRINTING
Ethernet Station number: 2
module (192.168.0.3)
(PING test target station)
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Screen display
Perform any of the following operations.
Click the button on the Ethernet Diagnostics screen.
Click the button the Ethernet Diagnostics screen and click the button on the Loop
Test screen.
PING test
information
PING test
information
17
Operating procedure
CONTROLLER CPU
1.
PROGRAMMABLE
Set the items on the screen.
OPERATING
Item Description
Address Specification Set the IP address of the target Ethernet module for PING test.
Transfer Setup Specify the connection destination of the PING test.
Execution Station Set the network number and station number of the Ethernet module which executes the PING 18
Input of PING test.
Item Target of PING Set the IP address of the Ethernet module which is a target of the PING test.
PROGRAMMABLE
Set whether to display a host name in the result. Also set data size (1 to 8,192 bytes),
CONTROLLER
DIAGNOSING
Setting Options communication time check (1 to 30 seconds), number of transmissions (1 to 50 times, or until
interrupted).
EXTERNAL DEVICES
OPERATIONS OF
Display contents
SIMULATING
Item Description
PING test information 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
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)
PRINTING
When unsuccessful
Request timed out.
Completion of data transmission
Packets transmitted
Received
21
Lost
SETTING OPTIONS
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.
When "Module No." is selected for "Target Module Setting" (Programmable controller CPU direct connection (via serial/USB,
Ethernet board))
Transmitting data 22
When successful
Success
USING LIBRARIES
When unsuccessful
Time Out
Completion of data transmission
Packets transmitted
Received
Lost
"Packets transmitted" and "Received" are updated each time a packet is sent. A
Sub status bar Display the number of send successes and total number of packet transmissions.
Screen button
APPENDIX
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.
CONTROLLER CPU
A loopback test can be executed either by the Ethernet module connection (via Ethernet board) or the
PROGRAMMABLE
programmable controller CPU direct connection (via serial/USB or Ethernet board).
OPERATING
Ethernet module connection (via Ethernet board)
Station number 1 Station number 3 Station number 5 Station number 7 Station number 9
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
Set the confirmation
station numbers from 1
to 5 on the Loopback
Test screen.
Station number 2 Station number 4 Station number 6 Station number 8
19
EXTERNAL DEVICES
A loopback test is executed to the network number specified on the Loopback Test screen when
OPERATIONS OF
accessing the programmable controller CPU via Ethernet module.
SIMULATING
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
Network number 1
PRINTING
Station number 4
The response is
treated as "No
Response".
Network number 2 21
SETTING OPTIONS
Station number 3
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Station number 1 Station number 3 Station number 5 Station number 7 Station number 9
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.
Station number 2
Target station
Station number 2
17
Screen display
CONTROLLER CPU
Click the button on the Ethernet Diagnostics screen.
PROGRAMMABLE
OPERATING
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Display contents
Item Description
Set the network number for which the loopback test is executed. 20
Network No.
Setting range: 1 to 239
Number of Confirmation Set the station number to be checked.
Nodes Setting range: 1 to 64
PRINTING
Setting range: 1 to 99 seconds.
Check at of Ethernet parameter includes TCP Resend Timer. The communication
Communication Time time check value of loopback test must be larger than the value set for TCP Resend Timer. If not, the
tested Ethernet module may be judged inexistent even if it is connected correctly.
The loopback test is executed in order from the start station number and whether or not the response
21
is returned within the set communication time check value is displayed in the order of station
SETTING OPTIONS
Result
numbers.
If an IP address is duplicated, such IP address is displayed in red.
IP Address Input Style Switch decimal/hexadecimal notation of IP address display.
22
USING LIBRARIES
A
APPENDIX
I
INDEX
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 - 80
<Remote I/O module>
18.7 System Monitor
18 - 81
SIMULATING DIAGNOSING OPERATING
OPERATIONS OF PROGRAMMABLE PROGRAMMABLE
I
INDEX APPENDIX USING LIBRARIES SETTING OPTIONS PRINTING EXTERNAL DEVICES CONTROLLER CONTROLLER CPU
A
22
21
20
19
18
17
GX Works2
Display contents
Item Description
Monitor Status Display the current monitor status.
Connection Channel List Display the information of the route to the connection destination.
Main Base*1 Display the operating status of the module, and I/O address.
Mode*2 Select this to perform either system monitor or online module change function.
System Monitor Execute the system monitor.
Online Module Change Execute the online module change. (For details, refer to Section 18.8)
Operation to Selected Display the name, slot number, and model name of the base unit to which the selected module is
Module mounted.*2
Display the extension base unit in every two rows. The third row and later are displayed by
Extension Base*1, *4 pressing the arrow button on the right. The base unit, operating status of the module and I/O
address are displayed.
Base Information List*1 Display the status of each base unit.
*1 Display the status of the base unit.
Base
Module Display the error status of each module mounted to the base unit.
Display the base name set to the parameter on the programmable controller CPU.
Base Model Name*1 If the parameter is not set, "Main Base", "Extension Base 1" to "Extension Base 7" are displayed.
Power Supply Display whether there is power supply.
Base Type*5, *6 Display the type of the base unit (Q or QA).
*5 Display the slot number.
Slots
*5 Display the number of modules mounted to the base unit.
Installed Modules
Number Of Total Modules
Display the total number of modules counted for all mounted modules.*8
Occupations*7
Module Information List Display the module information on the base unit where the selected module is mounted.
Status Display the status of each module.
Base-Slot*1 Display the slot number of each module.
*3 Display the series of each module.
Series
*3 Display the model name of each module.
Model Name
*3 Display the number of occupied I/O points of each module.
Point
Type Display the type/points of each module set to the parameter on the programmable controller CPU.
Parameter
Point*3 If the parameter is not set, type/points of the mounted module is displayed.
I/O Address*3 Display the I/O address of each module set to the parameter on the programmable controller CPU.
*3 Display the network number and the station number set to each module.
Network No. Station No.
Display the programmable controller CPU number that controls each module in a multiple CPU
Master PLC*5 configuration. "-" is displayed for the programmable controller CPU or the blank slot.
Number Of Module
Display the number of modules counted for each module.*8
Occupied*7
Legend Display the legend of the icon displayed on the screen.
18 - 82
18.7 System Monitor
17
*1 : Each item is displayed as shown below according to the programmable controller series.
QCPU (Q mode) LCPU
CONTROLLER CPU
PROGRAMMABLE
Main Base Main Block
OPERATING
Extension base Extension block
Base Information List Block Information List
Base Block
Base Model Name Block Name 18
Base-Slot Block-Slot
PROGRAMMABLE
*2 : "*****", "-", and "**" are displayed if the module is not mounted or the parameter is different with the
CONTROLLER
mounting status.
DIAGNOSING
*3 : Displayed only when an extension base unit exists.
*4 : QCPU (Q mode) only
*5 : LCPU only
19
*6 : "QA" is displayed for QA extension base unit. "Q" is displayed for other base units.
EXTERNAL DEVICES
*7 : LCPU only
OPERATIONS OF
*8 : A module with width exceeding 28.5mm logically counts as two modules.
SIMULATING
Be sure that "Number Of Total Modules Occupations" does not exceed the number of modules that can be
mounted.
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)
20
PRINTING
QA extension base unit
The following are the precautions when using a QA extension base unit.
High Performance model QCPU and Universal model QCPU with a serial number whose first digits are '12102'
or higher support QA extension base unit, and for those programmable controller CPUs which do not support it, 21
QA extension base unit is not displayed on the System Monitor screen.
SETTING OPTIONS
When it is mounted on A series module or QnA series module, the images are common on the system monitor of
both A series and QnA series modules. Furthermore, a module type is displayed for Model Name of Module
Information List.
When A series or QnA series module is selected, the functions under "Operation to Selected Module" cannot be
performed.
System monitor when a GOT is connected via bus
When a GOT is connected via bus, a single row of extension base unit (16 points x 10 slots) is displayed on the
System Monitor screen, and the GOT is displayed as an intelligent function module with 16 I/O points. 22
The displayed slot position is the position set on the GOT side.
USING LIBRARIES
For details of GOT bus connection, refer to the following manuals.
GOT1000 Series Connection Manual
GOT-A900 Series User's Manual (Connection System Manual)
A
APPENDIX
I
INDEX
18 - 83
GX Works2
Screen button
Displays the illustration of the connection route.
( Section 11.1.1)
Displays the module information of the selected module.
The following is an example of the Module's Detailed Information screen when QJ71LP21-25 is
selected. ( Section 18.7.1)
18 - 84
18.7 System Monitor
17
Displays the hardware LED information and the hardware switch information.
CONTROLLER CPU
PROGRAMMABLE
The display contents of the H/W Information differ according to module version.
For details, refer to the User's Manual of each module.
OPERATING
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
Displays the diagnostic information of the selected module.
The following is the PLC Diagnostics screen when the programmable controller CPU module is
selected. ( Section 18.1)
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
18 - 85
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)
Prints the figure of the system configuration.
18 - 86
18.7 System Monitor
17
Displays the product information of each module mounted to the base unit.
CONTROLLER CPU
PROGRAMMABLE
OPERATING
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Clicking the button saves the product information data in CSV file format.
20
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
PRINTING
supports the module error history collection function. ( Section 18.7.2)
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
18 - 87
GX Works2
18 - 88
18.7 System Monitor
Error icons 17
CONTROLLER CPU
The following table shows the details of the error status icons of the programmable controller CPU and
PROGRAMMABLE
the modules.
OPERATING
Module Icon Error Programmable controller CPU status
Serious error MAIN CPU down RESET and others
Moderate
Stop error STOP due to error in parameter or instruction codes
18
error
Programmable
controller CPU Error allowing Errors that allow RUN status such as battery low and annunciator
PROGRAMMABLE
Minor error
operation ON
CONTROLLER
DIAGNOSING
Assignment
Assignment error Assignment errors such as multiple CPU setting is not set.
error
Error H/W error H/W errors in the base or the power supply
Module system
Serious error
error
H/W errors in modules 19
Moderate
EXTERNAL DEVICES
Module error No appropriate environment for executing the functions of modules
error
OPERATIONS OF
Module Minor error Module warning Impropriety in programs or user's operations
SIMULATING
The assigning status of the module is different with the mounting
Assignment
Assignment error status of the module.
error
(The status that the module type and points cannot be obtained.)
Illegal
The assigning status of the module is different with the mounting 20
Illegal assignment status of the module.
assignment
(The status that the module type and points can be obtained.)
PRINTING
Display when mounted modules do not match with the I/O assignment setting on
PLC parameter
21
The following shows the "Module Information List" on the System monitor function according to the I/O
SETTING OPTIONS
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.
22
USING LIBRARIES
A
APPENDIX
I
INDEX
18 - 89
GX Works2
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. ( Section 18.7)
Updates the error history of the module.
(Supported by LCPU only)
Deletes the error history of the module.
Clears the error displayed in "Latest Error Code".
CONTROLLER CPU
PROGRAMMABLE
Screen display
OPERATING
Select a built-in I/O module on the System Monitor screen and click the button.
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
Screen button
SETTING OPTIONS
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 22
High-speed counter monitor Section 18.9.2
USING LIBRARIES
I/O monitor Section 18.9.3
A
APPENDIX
I
INDEX
Screen display
Select a built-in CC-Link module on the System Monitor screen and click the button.
Screen button
For the buttons on the screen, refer to Modules of QCPU (Q mode)/LCPU.
CONTROLLER CPU
PROGRAMMABLE
Check error history of the programmable controller CPU and modules.
OPERATING
Error history of a specified module can be displayed by using the refine search function.
Screen display
Select [Diagnostics] [System Monitor] / .
18
<Error history (when programmable controller CPU is selected>
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
<System error history>
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Display contents
Item Description
Monitor Status Display the current monitor status.
Connection Channel List Display the information of the connection destination setting.
Display the refinement criteria for the error history list.
Refine Search
Not displayed when no refinement criterion is specified.
Error History List
Error Code Notation Select the display format of error codes (DEC/HEX).
No. Display the error history number. Errors are numbered in order of occurring.
Error Code Display the error code that indicates details of the error.
Date and Time Display date and time of the error occurrence.
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.
Error Details
Model Name Display the model name of the module selected in the error history list.
Display the start I/O number of the module selected in the error history list.
Start I/O
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
<<Error and Solution>>
history list.
<<Intelligent Module Display the module information at the error occurrence of the intelligent function module
Information>> being selected in the error history list.
Screen button
For the buttons on the screen, refer to Section 18.7.
Clears all refinement criteria.
Displays the Enter Refine Criteria screen.
To start refining the search, click the button.
Clears the error history saved on the programmable controller CPU.
Updates information displayed in the error history list.
Exports information displayed in the error history list to a file in CSV format.
17
CONTROLLER CPU
PROGRAMMABLE
Programmable controller CPUs and modules that support the function to display detailed error history
OPERATING
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.
18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Operating procedure
1. Double-click the module to be exchanged on the System Monitor screen.
The Online Module Change screen is displayed.
18 - 96
18.8 Changing Modules Online
17
CONTROLLER CPU
PROGRAMMABLE
Products compatible with Online module change
OPERATING
Use remote I/O module (function version D or later) to execute Online module change.
For the method for checking the function version, refer to the following manual.
Q Corresponding MELSECNET/H Network System Reference Manual (Remote I/O network)
Canceling Online module change
18
Online module change can be suspended by clicking the button during the process of Online module
change to check the system status with monitoring or current value change.
PROGRAMMABLE
Online module change can be continued from the suspended status by selecting [Diagnostics] [Online
CONTROLLER
Module Change].
DIAGNOSING
Online module change can also be continued when GX Works2 is terminated during the process of Online
module change by restarting GX Works2 and performing the same operation above.
Executing Online module change on a single programmable controller CPU from two personal computers
The authority to execute Online module change can be transferred to the personal computer which executed the
function later. 19
Online module change during monitoring
EXTERNAL DEVICES
Stop monitoring before executing Online module change.
OPERATIONS OF
Online module change can be executed without stopping the monitoring, however, the following message will be
SIMULATING
displayed.
20
PRINTING
Restrictions
Restrictions on Online module change
Online module change cannot be executed to multiple modules simultaneously. 21
Online module change cannot be continued when the programmable controller CPU is reset, or the power is
SETTING OPTIONS
turned OFF during the process of Online module change.
22
USING LIBRARIES
A
APPENDIX
I
INDEX
18 - 97
GX Works2
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).
Display contents
Item Description
Monitor Display the current status.
Test
Error Reset Click to select an axis to execute the error reset.
OPR OFF Click to select an axis to execute the OPR OFF.
Screen button
Executes the error reset of the selected axis.
Executes the OPR OFF of the selected axis.
CONTROLLER CPU
PROGRAMMABLE
Monitor the operating status of the high-speed counter function.
OPERATING
The methods for executing the current value preset and error reset are also explained.
Screen display
Select [Tool] [Built-In I/O Module Tool] [High-Speed Counter Monitor]. 18
PROGRAMMABLE
CONTROLLER
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
Display contents
Item Description 21
Monitor Display the current status.
SETTING OPTIONS
Test
Click to select a channel.
Current Value Preset
After selecting the channel, enter the preset value.
Error Reset Click to select a channel to execute the error reset.
Screen button 22
USING LIBRARIES
Reflects the preset value of the selected channel to the programmable controller CPU.
Executes the error reset of the selected channel.
A
APPENDIX
I
INDEX
Display contents
Item Description
Input Signal Display the status of each input signal.
Output Signal Display the status of each output signal.
CONTROLLER CPU
PROGRAMMABLE
OPERATING
19 SIMULATING OPERATIONS 18
OF EXTERNAL DEVICES
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
This chapter explains debugging operations using the I/O system setting function.
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
19.1 I/O System Setting Function . . . . . . . . . . . . . . . . . . . . . . . . 19-2
20
19.2 Operating Procedure of I/O System Setting Function . . . . 19-7
19.3 Screen Configuration of I/O System Setting Function. . . . 19-8
PRINTING
19.4 Setting by Inputting Device Values . . . . . . . . . . . . . . . . . . 19-10
19.5 Setting Using Timing Charts . . . . . . . . . . . . . . . . . . . . . . . 19-14
19.6 Performing I/O System Setting Function . . . . . . . . . . . . . 19-26
19.7 Monitoring I/O System Setting . . . . . . . . . . . . . . . . . . . . . . 19-27 21
19.8 Operating I/O System Setting Files . . . . . . . . . . . . . . . . . . 19-29
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
19 - 1
GX Works2
This section explains differences between conventional debugging and debugging with the I/O system
setting function.
Conventional debugging
19 - 2 19.1.1 Differences between conventional debugging and debugging with I/O system setting function
19.1 I/O System Setting Function
Example) Simulating operations of program when Y0 is turned ON, and 5 seconds later X1 is turned 17
ON to stop running
CONTROLLER CPU
PROGRAMMABLE
<Conventional debugging> <Debugging using the I/O system setting function>
OPERATING
1) Devices need to be rewritten 1) Devices do not need to be rewritten
X0-M0 X1-M1 X0 X1
Y0 Y0 18
CONTROLLER STATUS
Start Stop Run Start Stop Run
Y0 Y0
PROGRAMMABLE
DIAGNOSING
2) A sequence program for debugging
2) A sequence program for debugging
is not required
is required
Y0 K50
<Setting on the I/O System Setting screen>
19
T0
EXTERNAL DEVICES
OPERATIONS OF
T0
SIMULATING
M1
<Image of operation>*1 20
Settings set in the I/O system setting screen are saved
in a file as a sequence program shown below.
Y0 5 sec. timer
PRINTING
5 sec. timer
setting
SET X1
21
SETTING OPTIONS
*1: The program is an image of operation.
22
USING LIBRARIES
A
APPENDIX
I
INDEX
19.1.1 Differences between conventional debugging and debugging with I/O system setting function 19 - 3
GX Works2
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 selecting/clearing "Enable" on the I/O
system setting screen.
Example) Settings on the I/O system setting screen using the device value input
By selecting/clearing "Enable",
sequence actions for debugging can be
switched easily.
Combinations of conditions and examples of settings on the I/O system setting screen 17
Table 19.1.2-1 Combination of conditions and setting examples
CONTROLLER CPU
PROGRAMMABLE
Combination of conditions Condition setting on the I/O system setting screen
OPERATING
1
18
CONTROLLER STATUS
PROGRAMMABLE
2
DIAGNOSING
3
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
4
20
5
PRINTING
6
21
SETTING OPTIONS
7
22
USING LIBRARIES
A
APPENDIX
I
INDEX
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"
17
19.2 Operating Procedure of I/O System Setting Function
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote
FX Head
FX FX
The following shows the operating procedure of the I/O system setting function.
18
Start simulation
CONTROLLER STATUS
( Section 15.2)
PROGRAMMABLE
DIAGNOSING
Start the I/O system setting
from the GX Simulator2 screen
( Section 19.3)
19
EXTERNAL DEVICES
OPERATIONS OF
Do you want to set
the I/O system
YES
SIMULATING
by inputting device
values?
Enter device values
NO ( Section 19.4)
20
PRINTING
Do you want to set
the I/O system
YES
using timing
charts?
Use timing charts 21
NO ( Section 19.5)
SETTING OPTIONS
Save the I/O system setting
( Section 19.8.3)
22
USING LIBRARIES
Execute the I/O system setting
( Section 19.6)
End simulation
I
( Section 15.2)
INDEX
19 - 7
GX Works2
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 Display menu options for executing each function. Section 1.3.9
Toolbar Display tool buttons for executing each function. Appendix 1.8
File under Editing Display the name of a file being edited.
File under Execution Display the name of a file being executed.
Select a setting method for the I/O system setting.
Timing Chart Input
To set the I/O system setting in timing chart format, double-click the number
to be set. Section 19.4
I/O system setting tree
Device Value Input Section 19.5
To set the I/O system setting by setting device values, double-click the
number to be set.*1
Edit/monitor the I/O system setting.
At timing chart input
Section 19.4
Edit/monitor screen
Section 19.5
At device value input
19 - 8
19.3 Screen Configuration of I/O System Setting Function
17
CONTROLLER CPU
PROGRAMMABLE
Target Simulator Setting screen (QCPU (Q mode)/LCPU)
OPERATING
If simulation has been started from multiple projects at startup of the I/O system setting function, the Target
Simulator Setting screen is displayed to specify a simulator (virtual programmable controller) on which the I/O
system setting is performed.
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
Restrictions
SIMULATING
Startup of the I/O system setting
The I/O system setting of GX Simulator Version 7 and the I/O system setting of GX Works2 cannot be started up
simultaneously.
Startup the I/O system setting of GX Works2 after disabling the I/O system setting of GX Simulator Version 7.
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
19 - 9
GX Works2
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.
Double-
click
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.
Set a period of time from when the specified condition is satisfied until the sequence
Timer ms action is issued.
The setting range is 1 to 1000 (10 to 10000ms).
Set a bit device to be turned ON/OFF or a word device of which the value is to be
Sequence Action
changed after the specified condition is satisfied. Labels cannot be set.
Setting Set whether each setting is to be enabled/disabled. Select this to enable the setting.
19 - 10
19.4 Setting by Inputting Device Values
CONTROLLER CPU
PROGRAMMABLE
Conditions can be entered directly, or set on the Device Specification screen.
OPERATING
For devices that can be entered for conditions, refer to the following.
( Appendix 2.2)
18
Data entry method (direct data entry)
CONTROLLER STATUS
PROGRAMMABLE
Operation
DIAGNOSING
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 19
EXTERNAL DEVICES
Data entry method (set on the Device Specification screen)
OPERATIONS OF
SIMULATING
<When a bit device is selected> <When a word device is selected>
20
PRINTING
21
Operation
SETTING OPTIONS
Set the items on the screen.
Item Description
Compare Source
<<Device>>
Device Set a device.
<<Buffer Memory>> *1
22
Module Start (HEX) Enter a start I/O number of the intelligent function module in hexadecimal.
USING LIBRARIES
Address Enter a buffer memory address in decimal/hexadecimal.
Decimal/Hexadecimal Select an input form (decimal/hexadecimal) of the buffer memory address.
Select a comparison condition when the compare source is other than a
Condition
bit device.
Compare Destination
<<Value>> A
Select ON/OFF Specify ON/OFF when the compare source is a bit device.
Value Enter a value when the compare source is a word device.
<<Device>>
APPENDIX
*1 : For FXCPU, these items are supported by FX3U and FX3UC only.
INDEX
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.2)
Operation
Enter devices directly.
<Example>
For bit devices: X2-4, M5, M7
For word devices: D12=234, D20=10
Operation
Set the items on the screen.
Item Description
Bit Device List Display the list of bit devices being set.
Bit Device Setting
Device (from) Set a bit device.
Device No. (to) Set an end bit device number for the range specification.
CONTROLLER CPU
PROGRAMMABLE
OPERATING
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
Operation
SIMULATING
Set the items on the screen.
Item Description
Word Device List Display the list of word devices being set.
<<Device>> 20
Device Set a word device.
Setting Value/Device Set a device value or device.
<<Buffer memory>>*1
PRINTING
Module Start (HEX) Enter a start number of the module in hexadecimal.
Address Enter a buffer memory address in decimal/hexadecimal.
Decimal/Hexadecimal Select an input form (decimal/hexadecimal) of the buffer memory address.
21
*1 : For FXCPU, these items are supported by FX3U and FX3UC only.
SETTING OPTIONS
Data entry method for direct data entry
Enter a device of which a value is to be changed when the specified condition is satisfied.
22
For setting multiple devices, separate each device with ",".
For setting consecutive devices, connect the start device number and end device number with "-".
USING LIBRARIES
<Example>
X0, X2, M10-20
D0=100, W0=100
A
Number of device points that can be executed simultaneously
Up to 25000 device points can be executed simultaneously in the device input of the I/O system setting.
Setting conditions and sequence operation
APPENDIX
Index settings (Example: D0Z0), bit-specified word device (Example: D0.0), and digit-specified bit device
(Example: K4X0) cannot be set in the conditions and sequence operation.
The I/O system setting does not support local devices. When local devices are set, the I/O system setting may
not perform properly.
Cutting/copying/pasting I/O system setting by unit of setting number
I
The I/O system setting can be cut/copied/pasted by unit of setting number.
To cut/copy/paste the I/O system setting, click a setting number of the I/O system setting and select [Edit] [Cut]/
[Copy]/[Paste].
INDEX
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.
Double-
click
19 - 14
19.5 Setting Using Timing Charts
CONTROLLER CPU
PROGRAMMABLE
The following shows the setting procedure on the Edit Timing Chart Format screen.
OPERATING
Start setting
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
Do you want to read YES
a timing chart data file saved
with GX Simulator?
19
NO
EXTERNAL DEVICES
Read a timing chart data file
OPERATIONS OF
( Section 19.5.6)
SIMULATING
20
Register devices
( Section 19.5.3)
PRINTING
Set/edit timings
21
( Section 19.5.4)
SETTING OPTIONS
Do you want to repeat YES
22
scans for the specified
USING LIBRARIES
number of times?
A
APPENDIX
End setting
I
INDEX
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
Display contents
Item Description Reference
Menu bar Display menu options for executing each function.
Toolbar Display tool buttons for executing each function.
Display devices specified in the Enter Device screen.
Bit device
The device name is displayed in yellow when the device is ON at the timing
of the cursor position.
Word device
Device name/device value The device value at timing of the cursor position is displayed in a text box
on the right of the device name.
When a word device is specified as 32-bit integer, (D) is added at the end
of the device name, and when a word device is specified as single
precision real number, (E) is added at the end of the device name.
(Example) D0(D), W6(D), D10(E), W60(E)
Display the number of scans at the timing.
To repeat a scan for the specified number of times, set the number of scans.
( Section 19.5.5)
When "Keep" below the button is selected, enabled
scans can be repeated while the condition is satisfied.
(Example: Keep scanning for 6 scans, which is the specified number of
Number of scans scans)
Status *4 *3
CONTROLLER CPU
PROGRAMMABLE
Register devices for setting timing.
OPERATING
Operating procedure
1. Select [Device] [Enter Device] from the Edit Timing Chart Format screen. 18
CONTROLLER STATUS
<Bit device> <Word device>
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
<Buffer memory>
20
PRINTING
21
SETTING OPTIONS
2. Set the items on the screen.
Item Description
<<Device>> Select this tab to register devices.
Device Set a device to be registered.
Set the initial value of the device.
22
Initial Value For a bit device, select ON/OFF of the bit.
USING LIBRARIES
For a word device, set the initial value.
<<Buffer Memory>>*1 Select this tab to register buffer memory.
Module Start (HEX) Set a start address of a module to be registered.
Address Set the address of the buffer memory to be registered.
Decimal/Hexadecimal Select the input form of the buffer memory address.
Initial Value Set the initial value of the buffer memory to be registered. A
Display Format
Value Select the display format of the value.
View Select the display format of the device.
APPENDIX
I
Deleting registered devices
To delete a registered device, select the device displayed in device name/device value on the Edit Timing Chart
Format screen, and select [Device] [Delete Device].
INDEX
CONTROLLER CPU
Setting the ON/OFF cycle
PROGRAMMABLE
Set continuous ON/OFF repeated for the specified period after the specified timing.
OPERATING
<Example> Set the following value to scan 1 (cursor position).
Cycle: 2
18
Operation
CONTROLLER STATUS
1. Select a cell corresponding to a scan of a bit device to be changed.
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
2. Select [Edit] [Timing Setting].
OPERATIONS OF
SIMULATING
20
PRINTING
3. Set an ON/OFF cycle of the bit device.
4. Click the button.
ON/OFF of the bit device is cyclically set.
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Scan
Operation
1. Select a cell corresponding to a word device to be changed.
CONTROLLER CPU
PROGRAMMABLE
OPERATING
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19.5.5 Setting number of scans of timing chart
Set the number of scans of a timing chart input from an external device.
19
Screen display
EXTERNAL DEVICES
Select Edit Timing Chart Format screen [Scan] [Scan Setting]
OPERATIONS OF
SIMULATING
20
PRINTING
Operating procedure
1. Enter "No. of Scans". 21
SETTING OPTIONS
2. Click the button.
Columns of disabled scans are shaded on the timing chart.
22
USING LIBRARIES
A
APPENDIX
I
INDEX
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.
CONTROLLER CPU
PROGRAMMABLE
Display a list of registered devices.
OPERATING
Screen display
Select Edit Timing Chart Format screen [Device] [Device List].
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Display contents 20
Item Description
Device List Display devices registered on the Edit Timing Chart Format screen.
PRINTING
Screen button
Displays the Enter Device screen, and adds a device to the Edit Timing Chart Format screen.
21
SETTING OPTIONS
Deletes the device being selected from the Edit Timing Chart Format screen.
Displays the device being selected on the Edit Timing Chart Format screen.
22
/
USING LIBRARIES
Moves the display position of a device being selected up/down on the Edit Timing Chart Format
screen.
A
APPENDIX
I
INDEX
Exchange the display positions of devices by dragging and dropping a device name.
Operating procedure
1. Drag a device name on the Edit Timing Chart Format screen.
Drag
CONTROLLER CPU
PROGRAMMABLE
Change the display format of devices registered in the Edit Timing Chart Format screen.
OPERATING
This function is not applicable to bit devices.
Operating procedure
18
1. Select the Edit Timing Chart Format screen [Device] [Property].
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
2. Set the items on the screen.
Item Description
Display Format
20
Value Select the display format of values.
View Select the display format of devices.
PRINTING
3. Click the button.
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
This section explains the operations of simulation using the I/O system setting function.
Execute simulation with settings configured using the I/O system setting function.
Operating procedure
1. Select the I/O System Setting screen [File] [Open] ( ), and open an I/O system
setting file (*.IOS).
2. Select the I/O System Setting screen [File] [Execute I/O System Setting] ( ).
The confirmation message is displayed.
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] ( ).
17
19.7 Monitoring I/O System Setting
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote
FX 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. 18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19.7.1 Starting/stopping monitoring
EXTERNAL DEVICES
OPERATIONS OF
Start monitoring
SIMULATING
Start monitoring on the I/O System Setting screen.
Operating procedure
20
Select [Online] [Start Monitoring] ( ) on the I/O System Setting screen.
Monitoring starts.
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
Stop monitoring A
I
INDEX
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.
Operating procedure
Set the items on the screen.
Item Description
For a bit device 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.
17
19.8 Operating I/O System Setting Files
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote
FX Head
FX FX
This section explains how to operate an I/O system setting file (*.IOS).
18
CONTROLLER STATUS
19.8.1 Creating I/O system setting files
PROGRAMMABLE
DIAGNOSING
Create a new I/O system setting file.
Operating procedure
Select [File] [New] ( ).
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
19.8.2 Opening existing I/O system setting files
PRINTING
2. Select a file to be opened and click the button.
21
SETTING OPTIONS
Supported existing applications
I/O system setting files created with GX Simulator Version 6 or later can also be opened.
Restrictions
'Push Button'/Always ON' set with existing GX Simulator
22
When an I/O system setting file in which a `Push Button'/'Always ON' is set with GX simulator is read with GX
USING LIBRARIES
Works2, a 'Push Button' is converted to a '(blank)' and a 'Always ON' is converted to a 'SM400=ON' by QCPU (Q
mode). A 'Push Button' is converted to a '(blank)' and an 'Always ON' is converted to an 'M8000=ON' by FXCPU.
Save an I/O system setting file being open under a specified name.
APPENDIX
Operating procedure
1. Select [File] [Save As].
I
2. Enter a name of the file to be saved and click the button.
INDEX
MEMO
CONTROLLER CPU
PROGRAMMABLE
OPERATING
20 PRINTING 18
CONTROLLER STATUS
PROGRAMMABLE
This chapter explains how to print sequence programs and device data created with GX Works2.
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20.1 Print Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-2
20
20.2 Setting Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-4
20.3 Batch Printing Project Data . . . . . . . . . . . . . . . . . . . . . . . . . 20-5
PRINTING
20.4 Page Set Up for Batch Print . . . . . . . . . . . . . . . . . . . . . . . . . 20-8
20.5 Setting Details of Batch Print . . . . . . . . . . . . . . . . . . . . . . . 20-10
20.6 Displaying Batch Print Preview . . . . . . . . . . . . . . . . . . . . . 20-38
20.7 Printing Data Displayed on Screen . . . . . . . . . . . . . . . . . . 20-39 21
20.8 Setting Print Details for Data Displayed on Screen . . . . . 20-40
SETTING OPTIONS
20.9 Previewing Print Images . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-43
20.10 Printing Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-44
20.11 Precautions on Printing . . . . . . . . . . . . . . . . . . . . . . . . . . 20-52
22
USING LIBRARIES
A
APPENDIX
I
INDEX
20 - 1
GX Works2
20 PRINTING
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.
PLC parameter
Network parameter
Task registration
Ladder
SFC (MELSAP3)
SFC (MELSAP-L)*1
ST
Structured ladder/FBD
Function/Function block program
Label
Device comment
Device memory
Device list
Cross reference
Statement/Note
System monitor*1
Verification result
20 - 2
20.1 Print Function
17
CONTROLLER CPU
PROGRAMMABLE
Print items on the batch print screen
OPERATING
Data supported by the batch print function are displayed on the batch print screen in the order shown in the table
on the previous page, and changed data are saved in the project. Therefore, when a project created in the old
version of GX Works2 is opened in the new version, the listed order of the print items may be changed.
Change the order of the print items with "Set Print Order".
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
20 - 3
GX Works2
20 PRINTING
Operating procedure
1. Set the items on the screen.
Item Description
Name Select the printer to be used.
Paper Set the paper size and paper feed method of the printer.
Size Select the size of paper.
Source Select the paper feed method.
Orientation Set the page orientation.
Portrait Select this to print the page in portrait mode.
Landscape Select this to print the page in landscape mode.
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
20.3 Batch Printing Project Data
17
20.3 Batch Printing Project Data
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote Head FX
CONTROLLER STATUS
Select [Project] [Print].
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
Operating procedure
USING LIBRARIES
1. Set the items on the screen.
Item Description
Setting by Item Set details of print settings for each data. ( Section 20.5)
APPENDIX
20 - 5
GX Works2
20 PRINTING
Screen button
/
Moves the selected item up/down under "Print Item".
Displays the Print Setup screen.( Section 20.3.1)
Displays the Page Setup screen. ( Section 20.4)
Set a header/footer of the paper on which data is printed.
Displays a print preview of the item selected under "Print Item". ( Section 20.6)
20 - 6
20.3 Batch Printing Project Data
CONTROLLER CPU
PROGRAMMABLE
For batch print, the printer can also be set on the Print screen.
OPERATING
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.
Screen display 18
CONTROLLER STATUS
Select the button on the Print screen.
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
Operating procedure
1. Set the items on the screen.
21
Item Description
SETTING OPTIONS
Name Select the printer to be used.
Paper Set the paper size and paper feed method of the printer.
USING LIBRARIES
Portrait Select this to print the page in portrait mode.
Output Method Select whether to print all print items as one print job or to print each print item separately.
A
2. Click the button.
APPENDIX
20 PRINTING
This section explains how to set the page setup for batch print.
Screen display
Select the Print Screen .
Operating procedure
1. Set the items on the screen.
Item Description
Paper -
Headers/Footers -
Select "Continue from previous page" or "Include chapter number" for the page
Page Number Format
numbers printed in header/footer.
Set a page number for the first page to be printed when "Continue from Previous
Start at:
Page" is selected.
20 - 8
20.4 Page Set Up for Batch Print
17
2. Click the button.
CONTROLLER CPU
PROGRAMMABLE
Screen button
OPERATING
CONTROLLER STATUS
PROGRAMMABLE
Printing chapter numbers
DIAGNOSING
By selecting "Include chapter number", page numbers are displayed with: the numbered item in "Print Item", the
numbered item in "Print", and the page number of each data. Even when there is no actual data to be printed in
"Print Item" or "Print", the numbers with the chapter number format will be assigned in order.
The following figure shows an example of page number assignment with the chapter number format.
3-2-1 19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Numbered item in "Print Item" Numbered item in "Print" Page number of each data
1
2 20
1 3
2
3
PRINTING
When characters which exceed the maximum number of characters are entered to header/footer 21
When the project is opened in GX Works2 with a language different from the opened project data, characters
SETTING OPTIONS
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. 22
USING LIBRARIES
A
APPENDIX
I
INDEX
20 - 9
GX Works2
20 PRINTING
This section explains how to set items for the batch print function.
Operating procedure
Set the items on the screen.
Item Description
Layout Display print area of the item(s) selected for "Print Selection".
17
CONTROLLER CPU
Displays a print preview of items selected in "Print Item".
PROGRAMMABLE
OPERATING
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
20 PRINTING
Operating procedure
Set the items on the screen.
Item Description
Screen button
For the screen buttons, refer to Section 20.5.1.
Selects all items.
Clears the selection of all items.
CONTROLLER CPU
PROGRAMMABLE
Set items to print the network parameter.
OPERATING
Screen display
Select "Network Parameter" in "Print Item" on the Print screen.
The following is an example of setting screen when QCPU (Q mode) is selected. 18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
Operating procedure 21
SETTING OPTIONS
Set the items on the screen.
Item Description
Screen button 22
For the screen buttons, refer to Section 20.5.1.
USING LIBRARIES
A
APPENDIX
I
INDEX
20 PRINTING
Operating procedure
Set the items on the screen.
Item Description
Print Display data names to be printed. Data are printed in the order from the top.
Display Mode of Program*1 Select whether to print data in label display or device display.
Select this to append contact usage destination. Set the print position and print range.
Contact To specify the print range, click the button, and set the device range on the
Device Range Setting (Contact) screen.
17
Item Description
CONTROLLER CPU
PROGRAMMABLE
Ladder Contact Set the number of ladder contacts to be printed.
OPERATING
Check this to print the NOPLF instructions.
Print NOPLF*2 (Data will be printed on the new page at the NOPLF instruction in the program with or
without this item is selected.)
18
Delete blank rows of
CONTROLLER STATUS
Select this to print programs with blank rows of contact usage destination closed up. When
contacts and specify the
this item is selected, the number of columns of contact usage destination can be selected.
PROGRAMMABLE
number of column
DIAGNOSING
Delete blank rows above
Select this to print programs with blank rows of coil usage destination closed up.
and under coil
Page break by ladder Select this to print data on the new page in ladder block unit.
block When this item is cleared, data is printed on the new page in ladder row unit.
19
Print ladder blocks
Select this to print hidden ladder blocks.
EXTERNAL DEVICES
include hidden ones*3
OPERATIONS OF
Print blank rows with no
SIMULATING
Select this to print blank rows which do not contain device comments.
device comment
Print lines in bold Select this to print programs with bold lines.
*1 : For FXCPU Simple projects (with labels), when a block password with the validated setting for "Read-
PRINTING
protect the execution program" exists, , , ,
and cannot be used with the device display.
*2 : Not supported by FXCPU. 21
*3 : For projects with labels, this item can be selected only when "Print in Label Display" is selected for
SETTING OPTIONS
"Display Mode of Program".
Screen button
For the screen buttons, refer to Section 20.5.1.
22
Moves data selected in "Do Not Print" to "Print".
USING LIBRARIES
/
Moves data selected in "Print" up/down.
I
INDEX
20 PRINTING
Displays the Device Range Setting screen.
CONTROLLER CPU
Contact usage destination and coil usage destination are output as shown below.
PROGRAMMABLE
OPERATING
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
Indicates the number of steps of coil usage destination
EXTERNAL DEVICES
Indicates the number of steps of
OPERATIONS OF
contact usage destination
SIMULATING
The following shows an example of contact usage destination.
Example) Contact usage destination of Y0
Open contact
The number of steps of
20
Source
Y0 used for source
PRINTING
21
Destination The number of steps of
SETTING OPTIONS
Closed contact Y0 used for destination
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 "Delete blank rows of contacts and specify the number of column".
< Without the item selected (5 columns) > < With the item selected (5 columns) > 22
USING LIBRARIES
A
APPENDIX
I
INDEX
20 PRINTING
Operating procedure
Set the items on the screen.
Item Description
Print Display data names to be printed. Data are printed in the order from the top.
Display Mode of Block List/ Select whether to print data in label display or device display.
This item can be selected only when "Block List" or "Action/Transition" is selected in
Action/Transition*1 "SFC Diagram Print Item".
SFC Diagram Print Item Select the item(s) to be printed in SFC diagram.
SFC Diagram
Block List*2
Comment List
Select the item(s) to be printed.
Action/Transition
Note List
17
Item Description
CONTROLLER CPU
PROGRAMMABLE
SFC Diagram -
OPERATING
SFC Step/Transition
Select this to append SFC steps/transition comments to the SFC diagram.
Comment
Block List *3 - 18
CONTROLLER STATUS
SFC Block List Comment Select this to append SFC block list comments to the block list.
PROGRAMMABLE
Start Destination Block Select this to append start destination block to the block list.
DIAGNOSING
Action/Transition -
EXTERNAL DEVICES
OPERATIONS OF
Specify the number of columns of SFC diagram to be printed on a single page.
Number of Print Column of
SIMULATING
The program is printed with reducing the size to fit the specified number of columns on a
SFC Diagram
single page.
Number of Action/Transition
Set the number of contacts to be printed.
Contacts
20
Specify Print Range -
PRINTING
*1 : For Simple projects (without labels), this item is fixed to "Print in Device Display".
*2 : For Structured projects, this item cannot be selected.
*3 : Not supported by FXCPU. 21
SETTING OPTIONS
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
22
USING LIBRARIES
A
APPENDIX
I
INDEX
20 PRINTING
Operating procedure
Set the items on the screen.
Item Description
Print Display data names to be printed. Data are printed in the order from the top.
SFC Diagram Print Item Select the item(s) to be printed in SFC diagram.
SFC Diagram
Block List
Select the item(s) to be printed.
Comment List
SFC Diagram -
SFC Step/Transition
Select this to append SFC steps/transition comments to the SFC diagram.
Comment
Block List -
SFC Block List Comment Select this to append SFC block list comments to the block list.
Start Destination Block Select this to append start destination block to the block list.
17
Item Description
CONTROLLER CPU
PROGRAMMABLE
Specify the number of columns of SFC diagram to be printed on a single page.
OPERATING
Number of Print Column of
The program is printed with reducing the size to fit the specified number of columns on a
SFC Diagram
single page.
CONTROLLER STATUS
Print Range
To specify the print range, select "Specify Range" and set a start step and an end step.
PROGRAMMABLE
DIAGNOSING
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
20 PRINTING
Operating procedure
Set the items on the screen.
Item Description
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.
CONTROLLER CPU
PROGRAMMABLE
Set items to print structured ladder/FBD programs.
OPERATING
Screen display
Select "Structured Ladder/FBD" in "Print Item" on the Print screen.
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
Operating procedure
Set the items on the screen. 21
SETTING OPTIONS
Item Description
Print Display data names to be printed. Data are printed in the order from the top.
22
Screen button
USING LIBRARIES
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
A
APPENDIX
I
INDEX
20 PRINTING
Operating procedure
Set the items on the screen.
Item Description
Print Selection -
Print Display data names to be printed. Data are printed in the order from the top.
Select this to append contact usage destination. Set the print position and print range.
Contact To specify the print range, click the button, and set the device range on the
Device Range Setting (Contact) screen.
17
Item Description
CONTROLLER CPU
PROGRAMMABLE
Ladder Contact Set the number of ladder contacts to be printed.
OPERATING
Select this to print the NOPLF instructions.
Print NOPLF*1 (Data will be printed on the new page at the NOPLF instruction in the program with or
without this item is selected.)
18
Delete blank rows of
CONTROLLER STATUS
Select this to print programs with blank rows of contact usage destination closed up. When
contacts and specify the
this item is selected, the number of columns to be printed can be selected.
PROGRAMMABLE
number of column
DIAGNOSING
Delete blank rows above
Select this to print programs with blank rows of coil usage destination closed up.
and under coil
Page break by ladder Select this to print data on the new page in ladder block unit.
block When this item is cleared, data is printed on the new page in ladder row unit.
19
Print ladder blocks
Select this to print hidden ladder blocks.
EXTERNAL DEVICES
include hidden ones*2
OPERATIONS OF
Print blank rows with no
SIMULATING
Select this to print blank rows which do not contain device comments.
device comment
Print lines in bold Select this to print programs with bold lines.
PRINTING
*2 : For projects with labels, this item can be selected only when "Print in Label Display" is selected for
"Display Mode of Program".
21
Screen button
SETTING OPTIONS
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
USING LIBRARIES
A
APPENDIX
I
INDEX
20 PRINTING
Operating procedure
Set the items on the screen.
Item Description
Select the label type(s) to be printed. Data are printed in the order from the top.
Label List
The item is displayed in gray when data to be printed do not exist.
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.
CONTROLLER CPU
PROGRAMMABLE
Set items to print device comment data.
OPERATING
Screen display
Select "Device Comment" in "Print Item" on the Print screen.
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
Operating procedure
Set the items on the screen. 21
SETTING OPTIONS
Item Description
Select the device comment to be printed. Data are printed in the order from the top.
Device Comment List
The item is displayed in gray when data to be printed do not exist, or all data are read protected.
USING LIBRARIES
Print Display data names to be printed. Data are printed in the order from the top.
Print Conditions -
Print title only for the Select this to print only titles of data to which device comments are not registered.
APPENDIX
device comment with no When this item is selected, only header, footer, and/or title are printed for each data on one
comment. page.
20 PRINTING
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
CONTROLLER CPU
PROGRAMMABLE
Set items to print device memory data.
OPERATING
Screen display
Select "Device Memory" in "Print Item" on the Print screen.
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
Operating procedure
Set the items on the screen. 21
SETTING OPTIONS
Item Description
Print Display data names to be printed. Data are printed in the order from the top.
Print Conditions - 22
Print rows that all device
USING LIBRARIES
Select this to print rows in which device values are all 0.
value are 0.
Print title only for the Select this to print only titles of device memory data in which devices to be printed are not
device memory with no set.
device set. When this item is selected, only header/footer/titles are printed on a single page per data. A
Screen button
APPENDIX
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
I
INDEX
20 PRINTING
Operating procedure
Set the items on the screen.
Item Description
Print Display data names to be printed. Data are printed in the order from the top.
Print Selection -
Device Initial Value Select this to print device initial values (device values).
Print Type Select a bit unit for handling device initial values for printing.
Print Form Select a data format of device initial value for printing.
Print Conditions -
Print device that value is 0. Select this to print devices whose value is 0.
Print title only for the data Select this to print only titles of data to which the device initial value range is not set, or data
that is not set device which do not contain devices to be printed.
initial value and range. When this item is selected, only header/footer/titles are printed on a single page per data.
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
CONTROLLER CPU
PROGRAMMABLE
Set items to print TC setting values.
OPERATING
Screen display
Select "TC Setting" in "Print Item" on the Print screen.
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
Operating procedure
Set the items on the screen. 21
SETTING OPTIONS
Item Description
Print Display data names to be printed. Data are printed in the order from the top.
USING LIBRARIES
Timer setting value
printed.
Retentive timer setting Select this to print retentive timer setting values. Labels to which retentive timer is set as a
value*1 data type are also printed.
Select this to print counter setting values. Labels to which counter is set as a data type are
Counter setting value
also printed. A
Additional Information Append the selected item to the devices to be printed.
Print Conditions -
20 PRINTING
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
CONTROLLER CPU
PROGRAMMABLE
Set items to print the device list.
OPERATING
Screen display
Select "Device List" in "Print Item" on the Print screen.
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
Operating procedure
Set the items on the screen. 21
SETTING OPTIONS
Item Description
USING LIBRARIES
Used devices Select this to search devices used for contacts, coils, and parameters.
Unused devices Select this to search devices which are not used.
Print Conditions -
A
Print title only when no Select this to print only titles even when the program does not contain any devices.
find result returns. When this item is selected, only header/footer/titles are printed on a single page.
APPENDIX
I
INDEX
20 PRINTING
Item Description
Select this to include ZR devices in the print target when "Whole Range" is specified for
Include ZR device
"Specify Print Range".
Include extension Select this to include extended devices in the print target when "Whole Range" is specified
device (e.g. U0\G0, for "Specify Print Range".
J1\X0) (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.
CONTROLLER CPU
PROGRAMMABLE
Set items to print cross reference information created on the Cross Reference window.
OPERATING
Screen display
Select "Cross Reference" in "Print Item" on the Print screen.
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
Operating procedure
Set the items on the screen. 21
SETTING OPTIONS
Item Description
USING LIBRARIES
Print title only when a
cross reference Select this to print only titles when the cross reference information is not created.
information is not When this item is selected, only header/footer/table titles are printed on a single page.
created.
Screen button A
For the screen buttons, refer to Section 20.5.1.
APPENDIX
I
INDEX
20 PRINTING
Operating procedure
Set the items on the screen.
Item Description
Print Display data names to be printed. Data are printed in the order from the top.
Note List
Select the item(s) to be printed.
P Statement List
I Statement List
Print Conditions -
Print title only for the Select this to print only titles of data in which statements/notes do not exist.
program with no When this item is selected, only header, footer, and/or title are printed for each data
Statement/Note. on one page.
Screen button
For the screen buttons, refer to Section 20.5.1 and Section 20.5.4.
CONTROLLER CPU
PROGRAMMABLE
Set items to print the product information list created on the System Monitor screen.
OPERATING
This setting is not supported by FXCPU.
Screen display
Select "Product Information List" in "Print Item" on the Print screen. 18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
Operating procedure
21
Set the items on the screen.
SETTING OPTIONS
Item Description
USING LIBRARIES
Screen button
For the screen buttons, refer to Section 20.5.1.
A
Printable product information list files
Only the product information list files created on the System Monitor screen in GX Works2 can be printed.
Product information list files created in GX Developer cannot be printed.
APPENDIX
I
INDEX
20 PRINTING
This section explains how to check the print image of each data.
Operating procedure
1. Select [Project] [Print Preview].
The Print screen is displayed. ( Section 20.3)
3. Select items in "Print Item" and "Data Name" to change the data and check the print
image.
Screen button
Prints data.
/
Displays the previous page/next page.
/
Changes the display size of print image.
20 - 38
20.7 Printing Data Displayed on Screen
17
20.7 Printing Data Displayed on Screen
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote Head FX
CONTROLLER STATUS
PROGRAMMABLE
Select [Project] [Print Window].
DIAGNOSING
The Print Window function cannot be executed from the menu for the following data.
Execute the Print Window function as described below for each data.
Parameters 19
Click the button on the PLC parameter setting screen or the network parameter setting
EXTERNAL DEVICES
screen.
OPERATIONS OF
SIMULATING
Device initial value
Click the button on the Device Initial Value screen.
Device list or cross reference
20
Select rows to be printed, and click the button on each screen.
PRINTING
21
SETTING OPTIONS
22
A
2. Click the / button.
Printing starts.
APPENDIX
Printer settings
Click the or button to make detailed settings for the printer. I
Printing ladder screens
When printing a ladder screen, the Print Window (Ladder) screen is displayed. For SFC (Zoom), the Print Window
(Ladder) screen is not displayed.
For details, refer to Section 20.8.1.
INDEX
20 - 39
GX Works2
20 PRINTING
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.
Operating procedure
1. Set the items on the screen.
Item Description
Additional Information Append selected items to the ladder.
Select this to append device comments.
Device comment Set the number of comment columns to be printed.
The number of comment rows is fixed.
Statement/Note Select this to append statements and notes.
Select this to append contact usage destination. Set the print position and print range.
Contact To specify the print range, click the button, and set the device range on
the Device Range Setting (Contact) screen.
Select this to append coil usage destination. Set the print range.
Coil To specify the print range, click the button, and set the device range on
the Device Range Setting (Coil) screen.
Specified Print Range
Set the ladder print range.
Print Range To specify the print range, select "Specified Range" and set a start step and an end
step.
CONTROLLER CPU
PROGRAMMABLE
For the Print Window Preview function, the Print Window Preview screen is displayed.
OPERATING
( Section 20.9)
Screen button
For the screen buttons, refer to Section 20.5.4. 18
CONTROLLER STATUS
PROGRAMMABLE
Displays a print preview.
DIAGNOSING
Contact/coil usage destination
19
For details of contact/coil usage destination, refer to Section 20.5.4.
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
20 PRINTING
Set print details such as print items and print range of device initial values.
Screen display
Click the button on the Device Initial Value screen.
Operating procedure
1. Set the items on the screen.
Item Description
Print Item
Device Initial Value Range Select this to print specified range of device initial values.
Device Initial Value Select this to print device initial values (device values).
Device Initial Value Output Setting Set the items to print device initial values (device values).
Print Range
Whole Range Select this to print all devices registered as device values
Select this to specify a the print range.
Specified Range The method to specify a range is the same as that of device initial value
setting. ( Section 8.2)
Print Type Select a bit unit for handling device initial values at printing.
Print Form Select a data format of device initial value at printing.
Print Condition
Print device with value of
Select this to print devices whose value is 0.
zero
17
20.9 Previewing Print Images
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote Head FX
This section explains how to check print images of data displayed on the screen.
Screen display 18
CONTROLLER STATUS
Select [Project] [Print Window Preview].
PROGRAMMABLE
DIAGNOSING
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
Click the button on the PLC parameter setting screen or the network parameter 19
setting screen.
EXTERNAL DEVICES
OPERATIONS OF
Device initial value
SIMULATING
Click the button on the Device Initial Value screen.
Device list or cross reference
Select rows to be printed, and click the button on each screen. 20
<For Structured ladder/FBD>
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
20 - 43
GX Works2
20 PRINTING
Cover
PLC parameters
Network parameters
20 - 44
Ladder
Tasks
Programs
Intelligent function modules
20.10 Printing Examples
20 - 45
SIMULATING DIAGNOSING OPERATING
OPERATIONS OF PROGRAMMABLE PROGRAMMABLE
I
INDEX APPENDIX USING LIBRARIES SETTING OPTIONS PRINTING EXTERNAL DEVICES CONTROLLER STATUS CONTROLLER CPU
A
22
21
20
19
18
17
GX Works2
20 PRINTING
ST
Structured ladder/FBD
20 - 46
Labels
Local labels
Global labels
Structured data
Function/function block labels
20.10 Printing Examples
20 - 47
SIMULATING DIAGNOSING OPERATING
OPERATIONS OF PROGRAMMABLE PROGRAMMABLE
I
INDEX APPENDIX USING LIBRARIES SETTING OPTIONS PRINTING EXTERNAL DEVICES CONTROLLER STATUS CONTROLLER CPU
A
22
21
20
19
18
17
GX Works2
20 PRINTING
Device comments
20 - 48
Device list
Device initial values
TC setting values
Device initial value ranges
Device initial values
20.10 Printing Examples
20 - 49
SIMULATING DIAGNOSING OPERATING
OPERATIONS OF PROGRAMMABLE PROGRAMMABLE
I
INDEX APPENDIX USING LIBRARIES SETTING OPTIONS PRINTING EXTERNAL DEVICES CONTROLLER STATUS CONTROLLER CPU
A
22
21
20
19
18
17
GX Works2
20 PRINTING
Cross reference
Statements/Notes
20 - 50
20 - 51
SIMULATING DIAGNOSING OPERATING
OPERATIONS OF PROGRAMMABLE PROGRAMMABLE
I
INDEX APPENDIX USING LIBRARIES SETTING OPTIONS PRINTING EXTERNAL DEVICES CONTROLLER STATUS CONTROLLER CPU
A
22
21
20
19
18
17
GX Works2
20 PRINTING
20 - 52
20.11 Precautions on Printing
CONTROLLER CPU
the <<Condition Setting>> tab.
PROGRAMMABLE
"+" and "-" are not printed.
OPERATING
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.
18
CONTROLLER STATUS
<Cross reference information displayed on screen>
PROGRAMMABLE
DIAGNOSING
19
<Printed cross reference information>
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
Precautions on using the print function with 64-bit edition Windows operating system
USING LIBRARIES
When the print result is output with the Print or Print Window function, the Save As screen may not
be displayed in the foreground.
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". A
Do not select "Close the program". Unsaved data will be lost.
APPENDIX
I
INDEX
20 - 53
GX Works2
20 PRINTING
20 - 54
20.11 Precautions on Printing
CONTROLLER CPU
Uncompiled ladders in a program
PROGRAMMABLE
Uncompiled ladders in a program are not printed or reflected to the print preview.
OPERATING
Print data or display the print preview after converting the program.
NOPLF instruction
The NOPLF instruction is not supported. 18
CONTROLLER STATUS
Structured ladder/FBD
PROGRAMMABLE
If a bend point is created in a structured ladder/FBD program, it will be printed as shown below. If the
DIAGNOSING
bend point is unnecessary to be printed, delete it on the structured ladder/FBD editor.
For details of bend points GX Works2 Version 1 Operating Manual (Structured Project)
Bend point
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Page feed in ladder program
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.
20
PRINTING
<Print result>
<First page> <Second page> 21
SETTING OPTIONS
22
USING LIBRARIES
A
Printing the structure/label setting editor
Because the screen width is adjusted automatically to fit the page size when the structure/label
setting editor is printed, the printing may be difficult to read depending on the column width of the
APPENDIX
screen.
In order to improve the printing quality, adjust the column width of the structure/label setting editor.
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, I
the content in that cell cannot be printed completely.
INDEX
20 - 55
GX Works2
20 PRINTING
MEMO
20 - 56
17
CONTROLLER CPU
PROGRAMMABLE
OPERATING
21 SETTING OPTIONS 18
CONTROLLER STATUS
PROGRAMMABLE
Option settings such as screen display format setting and detailed operation settings of each function are
DIAGNOSING
available.
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
21.1 Basic Operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-2
20
21.2 Option Setting List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-3
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
21 - 1
GX Works2
21 SETTING OPTIONS
Screen display
Select [Tool] [Options].
Operating procedure
Set the items on the screen.
When the cursor is placed on a setting item, an explanation of the item is displayed on the
"Explanation" field.
Screen button
Restores the initial settings.
Restores the user default settings.
Stores the current settings as the user default and applies them to a new project.
21 - 2
21.2 Option Setting List
17
21.2 Option Setting List
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote Head FX
CONTROLLER STATUS
(Simple).................GX Works2 Version 1 Operating Manual (Simple Project)
PROGRAMMABLE
(FB) .......................GX Works2 Version 1 Operating Manual (Simple Project, Function Block)
(Structured) ...........GX Works2 Version 1 Operating Manual (Structured Project)
DIAGNOSING
(Intelligent) ............GX Works2 Version 1 Operating Manual (Intelligent Function Module)
Tree item Item Description Default Reference
EXTERNAL DEVICES
system*1 Note) or device comment.
OPERATIONS OF
Common Dedicated Instruction for GX Developer,
SIMULATING
Setting GX IEC Developer (Instructions that their
Use Dedicated Instruction
name ends with '_M' and '_MD') can be Section
for GX Developer, GX IEC Cleared
used in the projects using the following 4.7.1
Developer
function. Open Other Project, Read from
PLC or PLC Type change. 20
Select whether to save the project
Save project after writing
automatically after writing to the Cleared Section 12.1
to PLC
programmable controller CPU.
Select whether to save the project
PRINTING
Save project after online automatically after completing online Section
Automatic Cleared
change change to the programmable controller 12.9.1
Save
Project CPU.
Select whether to save the project
Save project after
automatically after changes in TC setting 21
changes in TC setting Cleared (Simple)
values have been written to the
SETTING OPTIONS
values are written to PLC
programmable controller CPU.
Revision is not Registered
Selected
when Save Project Select whether to register the revision
Revision is registered after saving a project.
Cleared
when Save Project
Display confirmation Select whether to display a confirmation
Change message showing message of the revision registration after Cleared Section 22
History whether to register history saving a project. 4.2.3
USING LIBRARIES
Select whether to automatically set
revision titles at revision registration after
Automatically set revision
saving a project. Automatically-set titles Cleared
titles
can be changed on the Revision List
window.
A
APPENDIX
I
INDEX
21 - 3
GX Works2
21 SETTING OPTIONS
21 - 4
21.2 Option Setting List
17
Tree item Item Description Default Reference
CONTROLLER CPU
Select whether to use the automatic indent
PROGRAMMABLE
when beginning a new line after entering
OPERATING
Auto Indention ST control syntax such as IF or FOR, and Selected
when displaying template of inline
structured text.
Select whether to display listed label
ST
Instruction/label name
names starting with the input character (Structured) 18
when a character is input. (Structured text: Selected
CONTROLLER STATUS
prediction
label name, inline structured text:
PROGRAMMABLE
instruction and label name)
DIAGNOSING
Set tabulator length.
Tabulator Length in ST It is not available with inline structured 4
text.
Select whether to check duplicated coils
Check duplicated coil
when entering instruction. Unconverted
ladder is not the object for duplicated coil
Cleared 19
check.
EXTERNAL DEVICES
Select whether to enter label comment or (Simple)
OPERATIONS OF
Device Enter label comment and
device comment continuously after Cleared
device comment
SIMULATING
entering instructions.
Do not display note in
Select whether to display note in ladder
ladder input window when Cleared
input window when edit coil instructions.
Program edit coil instructions.
Editor Program/Program File
MAIN
20
Ladder/ Name Set a reference/reflection target for device
SFC comment of each program/program file.
Specify the reference/
Global
reflection target
When it is checked, the behavior of each
PRINTING
device will be the one as follows:
(1) Refer the comment (Global/Local) Section
Comment
specified in device comment field. 9.1.1
Reference/reflect the
other, when device
(2) If device comment does not exist, the
behavior will be the one as follows:
Cleared 21
comment is not set.
When specified to Global Comment:
SETTING OPTIONS
Refer Local Comment.
When specified to Local Comment:
Refer Global Comment.
Select whether to display the label
Device comment comment or the device comment at ladder Cleared
editor.
Note
Select whether to display the note
Cleared
22
Ladder Comment comment at ladder editor. (Simple)
USING LIBRARIES
Select whether to display the statement
Statement Cleared
comment at ladder editor.
Device Comment Display Set the display rows and columns for label Row: 4
Format comment or device comment. Column: 8
A
APPENDIX
I
INDEX
21 - 5
GX Works2
21 SETTING OPTIONS
21 - 6
21.2 Option Setting List
17
Tree item Item Description Default Reference
CONTROLLER CPU
Number of Device
PROGRAMMABLE
Set the number of input and display
Device Comment Editor Comment Edit/Display 32 Section 9.1
characters for device comment.
OPERATING
Characters
Automatic copy and Select whether to copy the texts in the
increment when inserting upper row after incrementing it when Selected
a row inserting a row.
Copy data type/comment Select if the data type, comment, and 18
Selected
CONTROLLER STATUS
items remark shall be object for auto copy.
Default Length of String Set the default string length for string data (Simple)
PROGRAMMABLE
Label Setting Editor 32
Data Type type. (Structured)
DIAGNOSING
Select whether to delete last blank row.
This setting is valid for global label and
Delete last blank row local label except the local label of Cleared
function block, function and structured
data type. 19
Use user defined Display the User Defined Parameter
EXTERNAL DEVICES
parameter Setting button and able to set it. Once the
Parameter Cleared
OPERATIONS OF
*Only applies to the user set parameter is set, it will remain
QCPU and LCPU even after checking off the selection box.
SIMULATING
Display Format of Select whether to display monitored value
Decimal
Monitoring Value in Decimal or Hexadecimal.
Monitor buffer memory Select whether to monitor buffer memory
Structured Ladder/FBD/ and link memory
ST *Only applies to the
and link memory during monitoring. Scan
time of PLC will be lengthened depending
Cleared (Structured) 20
QCPU, LCPU, FX3U(C) on the setting.
Set the number of displayable characters
Significant Characters 16
to monitor character-string data.
PRINTING
Display Format of Select the display format of the monitored
Decimal
Monitoring Value value in decimal or hexadecimal.
Monitor buffer memory Select whether to monitor buffer memory
and link memory and link memory during Ladder-
*Only applies to the monitoring. Scan time of PLC will be
Cleared 21
Monitor QCPU, LCPU, FX3U(C) lengthened depending on the setting.
SETTING OPTIONS
FXGP format Ladder PLS/PLF instruction is displayed in (Simple)
monitor GP(DOS) and FXGP(WIN) formats. If it is
Cleared
*Only applies to the not checked, it is displayed in GX
FXCPU Developer form.
Ladder
Select whether to display rows of the
Display lines for Show
current value monitor during Ladder-
monitoring current value Always
monitoring. 22
Ladder block label or device contained in
cursor will be registered to watch window
USING LIBRARIES
in automatic registration destination while
Set automatic registration Not
monitoring watch window. Section 14.6
destination Specified
(Caution1:Cursor move will be slow when
setting is enabled. 2:Select FB instance
for function block.)
Select whether to display a warning dialog
Watch Step Not
Transferring within
when detect a step that does not transfer
Cleared
A
even if specified time passes while
Watching Time
monitoring.
(SFC
Program/Program File
Select watch target program/program file. program
APPENDIX
Name
name)
Monitor SFC*2 Target All Blocks Specify watch target block. Selected (Simple)
Specify the Block Specify watch target block. Cleared
21 - 7
GX Works2
21 SETTING OPTIONS
21 - 8
21.2 Option Setting List
17
Tree item Item Description Default Reference
CONTROLLER CPU
Enable calling function block from ladder
PROGRAMMABLE
to ST or vice versa, from ladder to
OPERATING
Structured Ladder/FBD or vice versa,
(FB)
Function Block Call*2 using inline ST in ladder, reducing steps Selected
(Structured)
when using function block. * Input label for
VAR_IN_OUT remains equal to output
label. 18
Check when program check is not needed
CONTROLLER STATUS
after Build or Online Program Change. It
Program Check Selected
PROGRAMMABLE
can reduce the compile time depending on
the setting.
DIAGNOSING
(Simple)
Basic Setting
Select whether to use the same label (Structured)
name in global label and local label. When
Operational Setting Cleared
the same label is selected, local label will
be given priority.
Creating cross reference information after
19
compiling enables to reduce find time. The
EXTERNAL DEVICES
information can be found in uncompiled
Create Cross Reference Section
OPERATIONS OF
project. Specified find condition is treated Cleared
Information 10.1.1
SIMULATING
as filter condition.
The setting will be canceled if find mode is
'Fast Find'.
Error: 25
Set the number of error and warning to
Stop Build
stop the compile.
Warning;
100 (Simple)
20
Output Result
Register warning codes to invalidate. The (Structured)
Compile (No
Disable Warning Message registered warning codes shall not be
setting)
displayed in output window.
PRINTING
Select whether to display warnings or not
Make sure that the when ladder/SFC program instruction is
instruction is not used using devices out of device range
Ladder/ Compile
assigned by the labels in instruction. Able Cleared (Simple)
SFC Condition beyond the device range
assigned by the label. *2 to detect instructions that may use devices 21
out of range and may overwrite other
SETTING OPTIONS
labels value.
Select whether to use device names typed
Use lower-case device with lower case characters as labels.
Compile Cleared
names as labels*5 Only the device name outside device
Condition range is valid for Inline Structured Text.
1
Select whether to connect directly from the
Function Output Setting Selected
(D)INT_TO_BOOL_E,
objective function output to other input.
22
Structured (D)WORD_TO_BOOL_E, Selected
USING LIBRARIES
Ladder/ TIME_TO_BOOL_E (Structured)
FBD/ST
NOT_E Check the box to generate code that holds Selected
Compile
LIMITAION_E, the output (SET). When unchecked, the
Condition
MAXIMUM_E, instruction word output will be treated as a Selected
2
MINIMUM_E coil (OUT).
EQ_E, NE_E, GT_E,
GE_E, LT_E, LE_E
Selected A
AND_E, OR_E, XOR_E Selected
APPENDIX
I
INDEX
21 - 9
GX Works2
21 SETTING OPTIONS
21 - 10
21.2 Option Setting List
17
CONTROLLER CPU
PROGRAMMABLE
Options supported by communication head module and remote I/O module
OPERATING
The following option items are supported by projects for communication head module and remote I/O module.
Project
Parameter
PLC Read/Write
Intelligent Function Module 18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
21 - 11
GX Works2
21 SETTING OPTIONS
MEMO
21 - 12
17
CONTROLLER CPU
PROGRAMMABLE
OPERATING
22 USING LIBRARIES 18
CONTROLLER STATUS
PROGRAMMABLE
This chapter explains the overview of library function in GX Works2.
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
22.1 Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-2
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
22 - 1
GX Works2
22 USING LIBRARIES
22.1 Libraries
FB library and user library are the libraries of GX Works2.
Work hours for creating programs can be reduced by using functions of library.
This section explains the overview of libraries.
The following table shows the applicability of libraries according to the project type.
Structured project
Section 22.1.1 Section 22.1.2
22 - 2
22.1 Libraries
22.1.1 FB libraries 17
CONTROLLER CPU
PROGRAMMABLE
Q CPU L CPU Remote
FX Head
FX FX
OPERATING
FB libraries are the collection of function blocks prepared as MELSOFT Library and they can be used in
projects with labels.
Contact your local Mitsubishi representative to obtain MELSOFT Library. 18
To use the FB library in a Structured project, import the library to a Simple project (with labels), and
CONTROLLER STATUS
change the project type to a Structured project by selecting [Project] [Change Project Type].
PROGRAMMABLE
DIAGNOSING
Programs can be created efficiently by using the FB libraries.
The following shows an example of using the FB library of QD70 positioning module (QD70P4).
< Without FB libraries > < With FB libraries >
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
For details of using the FB libraries, refer to the following manual.
GX Works2 Version 1 Operating Manual (Simple Project, Function Block)
A
APPENDIX
I
INDEX
22.1.1 FB libraries 22 - 3
GX Works2
22 USING LIBRARIES
User libraries are components which can be shared between multiple projects and they can be used in
a Structured project only.
User libraries are created by a user.
Task Task
POU POU
FB/FUN FB/FUN
Structure Structure
CONTROLLER CPU
PROGRAMMABLE
OPERATING
APPENDIX 18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Appendix 1 List of Toolbars and Shortcut Keys . . . . . . . . . . . . . . . App-2
20
Appendix 2 Simulation Function. . . . . . . . . . . . . . . . . . . . . . . . . . . App-21
Appendix 3 ASCII Code Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . App-56
PRINTING
Appendix 4 Precautions on GX Works2 and Differences with GX Developer . . . . App-57
Appendix 5 Compatibility with Projects Created with Existing Applications . . . . App-72
Appendix 6 Compatibility of Data Read from Programmable Controller CPU. . . . App-74
Appendix 7 Compatibility with Existing Applications . . . . . . . . . . App-80 21
Appendix 8 Restrictions When Saving Projects in GX Developer Format . . . App-87
SETTING OPTIONS
Appendix 9 Character Strings that cannot be Used for Label Names and Data Names . . . . App-90
Appendix 10 Restrictions When Changing Programmable Controller . . . . . . . . App-93
Appendix 11 Instruction Conversion Lists . . . . . . . . . . . . . . . . . . .App-114
Appendix 12 Functions Added Since Previous Versions . . . . . . .App-116
Appendix 13 Procedure to Use GX Works2 Unsupported Programmable Controller Type . App-127 22
Appendix 14 Precautions on Installation . . . . . . . . . . . . . . . . . . . App-129
USING LIBRARIES
Appendix 15 USB driver installation . . . . . . . . . . . . . . . . . . . . . . . App-132
Appendix 16 Precautions When Using English Version of GX Works2 . . . . App-136
Appendix 17 Precautions for Selecting Project Language . . . . . . . . . . . . App-142
Appendix 18 Modifying instructions of projects in other formats. . . . . . . . App-144
A
APPENDIX
I
INDEX
App - 1
GX Works2
APPENDIX
This section shows the list of toolbars and shortcut keys that can be used for GX Works2.
For (Simple), (FB), (Structured), and (Intelligent) indicated in the Reference column, refer to the following
manuals respectively:
(Simple).................GX Works2 Version 1 Operating Manual (Simple Project)
(FB) .......................GX Works2 Version 1 Operating Manual (Simple Project, Function Block)
(Structured) ...........GX Works2 Version 1 Operating Manual (Structured Project)
(Intelligent) ............GX Works2 Version 1 Operating Manual (Intelligent Function Module)
The following explains the toolbars that are available regardless of the editing target and the
corresponding shortcut keys.
The following table shows the "Standard" toolbar icons and the corresponding shortcut keys.
Toolbar
Shortcut key Corresponding menu Description Reference
icon
Section
+ New Create a new project.
4.2.1
Section
+ Open Open an existing project.
4.2.2
Section
+ Save Save the project.
4.2.3
GX Works2 Help Display the GX Works2 Help screen.
Section
Search for help items with an entered 3.4.1
Find Help for GX Works2
keyword on the GX Works2 Help screen.
CONTROLLER CPU
The following table shows the "Program Common" toolbar icons and the corresponding shortcut keys.
PROGRAMMABLE
OPERATING
Toolbar
Shortcut key Corresponding menu Description Reference
icon
+ Cut Cut the selected data.
CONTROLLER STATUS
+ Paste
position.
PROGRAMMABLE
+ Undo Cancel the previous operation.
DIAGNOSING
Perform the operation canceled by
+ Redo
[Undo].
Section
+ Find Device Search for a device.
10.3.1
Find Instruction Search for an instruction.
19
Section
EXTERNAL DEVICES
Search for a contact or coil 10.3.2
++ Find Contact or Coil
OPERATIONS OF
corresponding to a specified device.
SIMULATING
Write data to the programmable
Write to PLC
controller CPU.
Section 12.1
Read data from the programmable
Read from PLC
controller CPU.
Start Monitoring (All Start monitoring all windows being 20
Windows) opened.
Stop Monitoring (All Stop monitoring all windows being
Windows) opened.
Section 14.2
Start monitoring the window being
PRINTING
Start Monitoring
operated.
Stop monitoring the window being
+ Stop Monitoring
operated.
Device/Buffer Memory
Batch monitor device/buffer memories. Section 14.3
21
Batch Monitor
SETTING OPTIONS
For ladder and SFC (Zoom) programs,
+ Modify Value change the ON/OFF and value of a Section 16.1
device/label used in a program.
Build Compile/convert a program being edited.
Compile/convert a program and write it
+ Online Program Change Section 5.4
to the programmable controller CPU.
Compile/convert all programs in a 22
++ Rebuild All
project.
USING LIBRARIES
Start/Stop Simulation Start/stop simulation. Section 15.2
A
APPENDIX
I
INDEX
APPENDIX
The following table shows the "Intelligent Function Module" toolbar icons.
Toolbar
Shortcut key Corresponding menu Description Reference
icon
QD75/LD75 Positioning Execute a wave trace of the QD75/LD75
Module Wave Trace positioning module.
QD75/LD75 Positioning Execute a location trace of the QD75/
Module Location Trace LD75 positioning module.
Serial Communication Execute a circuit trace of the serial
Module Circuit Trace communication module.
QD75/LD75 Positioning Execute a positioning monitor of the
(Intelligent)
Module Test Monitor QD75/LD75 positioning module.
QD75/LD75 Positioning Execute a positioning test of the QD75/
Module Test LD75 positioning module.
Offset/Gain Setting of Execute offset/gain setting of the
Temperature Input Module temperature input module.
Offset/Gain Setting of Execute offset/gain setting of the analog
Analog Module module.
CONTROLLER CPU
The following table shows the "Debug Function" toolbar icons.
PROGRAMMABLE
OPERATING
Toolbar
Shortcut key Corresponding menu Description Reference
icon
Section
Stop Stop the step execution.
16.6.9
CONTROLLER STATUS
Section
PROGRAMMABLE
Break Execution Execute the break execution.
16.6.6
DIAGNOSING
Section
Step Execution Execute the step execution.
16.6.5
Display the "Execution Option" screen of Section
Execution Option
the step execution. 16.6.8
EXTERNAL DEVICES
Enable/Disable Break Enable/disable the break point at the Section
OPERATIONS OF
Point cursor position. 16.6.2
SIMULATING
Cancel All Break Points Cancel all break points.
Break Point Window Display the Break Point window.
Cancel All Break Devices Cancel all break devices. Section
Break Device Window Display the Break Device window. 16.6.3 20
Set a skip range, or cancel the set skip
Set/Cancel Skip Range
range.
Enable/Disable Skip Enable/disable the skip range at the Section
Range cursor position.
PRINTING
16.6.4
Cancel All Skip Ranges Cancel all skip ranges.
Skip Range Window Display the Skip Range window.
21
Other shortcut keys
SETTING OPTIONS
The following table shows other shortcut keys that are available regardless of the editing target.
Toolbar
Shortcut key Corresponding menu Description Reference
icon
Change the name of the selected data or Section
Rename
library in the Navigation window. 4.3.3 22
Section
Delete Delete the selected data.
USING LIBRARIES
4.3.4
++ Copy Copy data in the project. Section
++ Paste Paste the copied data to a folder. 4.3.2
Add the intelligent function module data
++ Add New Module (Intelligent)
to the project being edited.
Close the project being edited and exits
+ Exit
GX Works2.
Section 3.1 A
+ Cross Reference Create the cross reference information. Section 10.1
+ Device List Display the device list. Section 10.2
After creating cross reference
APPENDIX
APPENDIX
Toolbar
Shortcut key Corresponding menu Description Reference
icon
Section
+ Find Device Search for a device/label in the program.
10.3.1
Section
++ Find String Search for a string.
10.3.3
Section
+ Replace Device Replace a device/label in the program.
10.3.1
Section
++ Replace String Replace a string.
10.3.3
After performing the search/replace
++ function once, search for an item in the
downward direction.
Section 10.3
After performing the search/replace
++ function once, search for an item in the
upward direction.
Start monitoring the current values of
+ Start Watching registered devices/labels and intelligent
function module.
Section 14.6
Stop monitoring the current values of
++ Stop Watching registered devices/labels and intelligent
function module.
Register Device Test with Register the device test with execution
+ Section 16.3
Execution Condition condition.
Close the window displayed on the
+
uppermost position.
+ Move to the next uppermost window.
Toolbar
Shortcut key Corresponding menu Description Reference
icon
Section
Add New Data Add data to the project.
4.3.1
Section
Property Display a property of the selected data.
4.3.6
Expand All Uncompiled Expand all uncompiled data in the tree on the
Data Project view and the User Library view. Section
3.2.5
Collapse all data in the tree on the Project view
Collapse All
and the User Library view
Appendix 1.3 Toolbar icons and shortcut keys for setting labels 17
CONTROLLER CPU
PROGRAMMABLE
The following explains the toolbar icons and the corresponding shortcut keys for setting labels.
OPERATING
"Label" toolbar icons
18
CONTROLLER STATUS
The following table shows the "Label" toolbar icons and the corresponding shortcut keys.
PROGRAMMABLE
Toolbar
DIAGNOSING
Shortcut key Corresponding menu Description Reference
icon
+ New Declaration (Before) Add a row above the cursor position.
EXTERNAL DEVICES
Read from CSV File Read label settings from the CSV file.
OPERATIONS OF
Write to CSV File Write label settings to the CSV file.
SIMULATING
Reflect system label information (Simple)
Confirm Update of System (Structured)
changed in another project on global
Label Database
labels.
Import system label information and
Import System Label
reflect it on global labels. 20
Register Device Name of Register a selected global label as a
System Label system label.
Disable System Label Disable the relation between a selected
Relation global label and a system label.
PRINTING
Other shortcut keys 21
SETTING OPTIONS
The following table shows other shortcut keys for setting labels.
Toolbar
Shortcut key Corresponding menu Description Reference
icon
+ Select All Select all rows.
+ Display all lines of comment and remark
+ Num *1 of the selected line.
(Simple)
(Structured)
22
+ Display only the first line of comment and
USING LIBRARIES
+ Num *1 remark of the selected line.
A
APPENDIX
I
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
Shortcut key Corresponding menu Description Reference
icon
Display Mode/Binary Display data in binary.
Display Mode/String
Display data in ASCII string.
(ASCII only)
Register/16-bit Display data in units of words.
The following table shows other shortcut key for setting device memory.
Toolbar
Shortcut key Corresponding menu Description Reference
icon
Insert Row Insert a row at the cursor position. Section 7.2
App - 8 Appendix 1.4 Toolbar icons and shortcut keys for setting device memory
Appendix 1 List of Toolbars and Shortcut Keys
Appendix 1.5 Toolbar icons and shortcut keys for verification result 17
CONTROLLER CPU
PROGRAMMABLE
The following table shows the toolbar icons and the corresponding shortcut keys for the verification
OPERATING
result.
Toolbar
Shortcut key Corresponding menu Description Reference
icon
+ Next Unmatch Move to the next mismatched data.
18
CONTROLLER STATUS
+ Previous Unmatch Move to the previous mismatched data.
PROGRAMMABLE
+ Return to Result List Display the <<Verify Result List>>. Section
DIAGNOSING
Close the <<Detail Verify Result>> being 4.2.7
+ Close Detail Result Section 12.2
displayed.
++ Close All Detail Result Close all <<Detail Verify Result>>.
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Appendix 1.6 Toolbar icons for executing sampling trace
The following table shows the toolbar icons for executing sampling trace. 20
Toolbar
Shortcut key Corresponding menu Description Reference
icon
Section
Trace Setting Display the Trace Setting screen.
16.4.2
PRINTING
Start sampling trace. To start sampling
Start Trace trace, the trace ready signal (SM800)
must be ON.
Section
Stop Trace Stop sampling trace. 16.4.4 21
Display Trace Buffer Display the Trace Data Storage Status
SETTING OPTIONS
Condition screen.
Display the current sampling trace status
Displayed when the trace data have
Buffer Status been acquired up to the specified total
number of samplings.
Trigger Occurrence
Displayed when a trigger is generated
during sampling trace.
22
USING LIBRARIES
Zoom Out Timing Chart
Zoom the scale of timing chart
Zoom In Timing Chart
I
INDEX
Appendix 1.5 Toolbar icons and shortcut keys for verification result App - 9
GX Works2
APPENDIX
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
Shortcut key Corresponding menu Description Reference
icon
Insert an open contact at the cursor
Open Contact
position.
Insert an open contact branch at the
+ Open Branch
cursor position.
Insert a closed contact at the cursor
Close Contact
position.
Insert a closed contact branch at the
+ Close Branch
cursor position.
Coil Insert a coil at the cursor position.
Insert an application instruction at the
Application Instruction
cursor position.
Insert a horizontal line at the cursor
Horizontal Line
position.
Insert a vertical line at the cursor
+ Vertical Line
position.
Delete the horizontal line at the cursor
+ Delete Horizontal Line
position.
Delete the vertical line at the cursor
+ Delete Vertical Line
position.
Insert a rising pulse at the cursor
+ Rising Pulse
position.
Insert a falling pulse at the cursor
+ Falling Pulse
position. (Simple)
Insert a rising pulse branch at the cursor
+ Rising Pulse Branch
position.
Insert a falling pulse branch at the cursor
+ Falling Pulse Branch
position.
Insert a rising pulse close at the cursor
++ Rising Pulse Close
position.
Insert a falling pulse close at the cursor
++ Falling Pulse Close
position.
Insert a rising pulse close branch at the
++ Rising Pulse Close Branch
cursor position.
Insert a falling pulse close branch at the
++ Falling Pulse Close Branch
cursor position.
Operation Result Rising Insert an operation result rising pulse at
+
Pulse the cursor position.
Operation Result Falling Insert an operation result falling pulse at
++
Pulse the cursor position.
Insert an operation result inversion at the
++ Invert Operation Results
cursor position.
Edit Line Input a line at the cursor position.
+ Delete Line Delete the line at the cursor position.
Insert Inline Structured
+ Insert an inline structured text box.
Text Box
App - 10 Appendix 1.7 Toolbar icons and shortcut keys for program editors
Appendix 1 List of Toolbars and Shortcut Keys
17
Toolbar
Shortcut key Corresponding menu Description Reference
icon
CONTROLLER CPU
PROGRAMMABLE
Section
Device Comment Edit device comments.
OPERATING
9.2.2
Statement Edit statements.
Note Edit notes.
Statement/Note Batch Edit Batch-edit statements/notes.
(Simple) 18
CONTROLLER STATUS
Display the list of line statements used in
+ Line Statement List
the program.
PROGRAMMABLE
Insert a template corresponds to the
DIAGNOSING
++ Display Template
instruction/function/control syntax.
Set an argument of the template in the
+ Mark Template (Left) selected status from the left by selecting
(Structured)
the menu each time.
Set an argument of the template in the 19
+ Mark Template (Right) selected status from the right by
EXTERNAL DEVICES
selecting the menu each time.
OPERATIONS OF
Switch the mode of the open window to
+ Read Mode
SIMULATING
"Read Mode".
Switch the mode of the open window to
Write Mode
"Write Mode".
Switch the mode of the open window to
Monitor Mode
"Monitor Mode" during monitoring. 20
Switch the mode of the open window to
+ Monitor (Write Mode) "Monitor (Write Mode)" during
monitoring.
Display devices assigned by
PRINTING
++ Device Display
compilation.
Change the display magnification ratio of
Zoom
the ladder.
Increment the device number of device 21
++ Continuous Paste in the cut/copied ladder and paste it
SETTING OPTIONS
consecutively.
+ Insert Row Insert a row at the cursor position.
+ Delete Row Delete the row at the cursor position.
+ Insert Column Insert a column at the cursor position.
+ Delete Column Delete the column at the cursor position.
Connect Line to Right-Side Connect a horizontal line to the ladder
++
Symbol symbol at the right of the cursor position.
(Simple)
22
Connect Line to Left-Side Connect a horizontal line to the ladder
++
USING LIBRARIES
Symbol symbol at the left of the cursor position.
Enter/Delete HLine Enter/delete a line at the right of the
+
Rightward cursor position.
Enter/Delete HLine Enter/delete a line at the left of the
+
Leftward cursor position.
Enter/Delete VLine Enter/delete a line at the downward of
+
Downward the cursor position. A
Enter/Delete VLine Enter/delete a line at the upward of the
+
Upward cursor position.
Switch Open/Close Switch a open contact to closed contact,
+
APPENDIX
Appendix 1.7 Toolbar icons and shortcut keys for program editors App - 11
GX Works2
APPENDIX
Toolbar
Shortcut key Corresponding menu Description Reference
icon
Increment/decrement a device/label on
+/
the Enter Symbol screen.
Display options of instruction/label on the
+
Enter Symbol screen.
Move the cursor on the editing screen
+/// while the Enter Symbol screen is
displayed.
+ Jump Display the specified row.
Jump to Next Ladder Block Jump a cursor from the current position
++
Start to the start of the next ladder block.
Jump to Previous Ladder Jump a cursor from the current position
++
Block Start to the start of the previous ladder block. (Simple)
+ Comment Display device comments.
+ Statement Display statements.
+ Note Display notes.
+
Non-Display Ladder Block Hide a ladder block.
+ Num *1
+ Num *1 Display Ladder Block Display hidden a ladder block.
+ turn mouse scroll Change the display size of text larger on
Bigger
wheel upward the editing screen.
+ turn mouse scroll Change the display size of text smaller
Smaller
wheel downward on the editing screen.
Tile the ladder editor and the function
++ Tile FB Horizontally (FB)
block program editor horizontally.
Open the SFC diagram corresponds to
+ Back to Zoom SFC Block
the program on the Zoom editor window.
++/ Move a cursor toward up/down/left/right
Moves up/down/left/right (Simple)
// of the SFC diagram.
+ Open Instruction Help Display the Instruction Help screen.
Display the Find screen.
Section
Instruction Help Display details of instructions.
3.4.2
Enter an assignment operator (:=) when
++ (Structured)
editing the inline structured text program.
App - 12 Appendix 1.7 Toolbar icons and shortcut keys for program editors
Appendix 1 List of Toolbars and Shortcut Keys
CONTROLLER CPU
The following table shows the toolbar icons and the corresponding shortcut keys for the ST editor.
PROGRAMMABLE
OPERATING
Toolbar
Shortcut key Corresponding menu Description Reference
icon
Display the Label Registration/Selection
List Operands
screen.
Insert a template corresponds to the 18
+ Display Template
instruction/function/control syntax.
CONTROLLER STATUS
Set an argument of the template in the
PROGRAMMABLE
++ Mark Template (Left) selected status from the left by selecting
DIAGNOSING
the menu each time.
Set an argument of the template in the
++ Mark Template (Right) selected status from the right by
selecting the menu each time.
Set a bookmark at the cursor line. If a 19
+ Toggle Bookmark bookmark has already been set, delete
EXTERNAL DEVICES
the set bookmark.
OPERATIONS OF
Jump to the specified bookmark from the
- Bookmark List
bookmark list.
SIMULATING
(Structured)
Next Bookmark Display the next bookmark position.
PRINTING
Zoom Header/Body Open the label setting editor of the
+
Header selected POU.
+ Copy Copy the selected data.
+ Cut Cut the selected data.
21
SETTING OPTIONS
Paste the cut/copied data at the cursor
+ Paste
position.
Section
Instruction Help Display details of instructions.
3.4.2
Enter an assignment operator (:=) when
++ (Structured)
editing the inline structured text program.
USING LIBRARIES
A
APPENDIX
I
INDEX
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 Shortcut key Corresponding menu Description Reference
icon
++ New Ladder Block Before Insert a new ladder block in front of the
ladder block being edited.
++ New Ladder Block After Insert a new ladder block in back of the
ladder block being edited.
Input Instruction Display the Input Instruction screen.
App - 14 Appendix 1.7 Toolbar icons and shortcut keys for program editors
Appendix 1 List of Toolbars and Shortcut Keys
17
Toolbar
Shortcut key Corresponding menu Description Reference
icon
CONTROLLER CPU
PROGRAMMABLE
+ Num *1 Increase Zoom Zoom in the screen one level.
OPERATING
*1 Decrease Zoom Zoom out the screen one level.
+ Num
Narrow and widen the width of ladder
+/ block in the Guided mode.
++
Signal Configuration/
Set the type of contact and coil.
18
Configure
CONTROLLER STATUS
Change the type of contact and coil in
PROGRAMMABLE
the order shown below:
DIAGNOSING
Signal Configuration/ Contact: Open Contact Close
++
Toggle Contact
Coil: Normal Negation Set
Reset
+ Jump
Jump to the specified ladder block
number.
19
Change Label-Device- Switch the display format in order (label,
EXTERNAL DEVICES
++
Address Mode device, address).
OPERATIONS OF
(Structured)
Change Label-Comment Switch the display between label and
++
SIMULATING
Mode comment.
Zoom Header/Body/ Open the label setting editor screen for
+
Header the selected POU.
+ Copy Copy the selected data.
+ Cut Cut the selected data.
20
Paste the cut/copied data at the cursor
+ Paste
position.
Connect the start and end points to draw
+ Auto Connect
PRINTING
a line.
Guided Mode Switch the input mode between
/Overwrite, Insert Mode Overwrite/Insert in the Guided mode.
Change the input mode for drawing lines
+ Guided Mode/Line Mode
in Guided editing. 21
+ Scroll a ladder block to the right.
SETTING OPTIONS
+ Scroll a ladder block to the left.
Section
Instruction Help Display details of instructions.
3.4.1
22
USING LIBRARIES
A
APPENDIX
I
INDEX
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
Shortcut key Corresponding menu Description Reference
icon
[STEP] New Step Insert at the cursor position.
[B] Block Start Step (with
Insert at the cursor position.
END check)
[BS] Block Start Step
+ Insert at the cursor position.
(without END check)
[JUMP] Jump Insert at the cursor position.
[END] END Step Insert at the cursor position.
+ [DUMMY] Dummy Step Insert at the cursor position.
[TR] Transition Insert at the cursor position.
[--D] Selection Divergence Insert a selection divergence.
[==D] Simultaneous
Insert a simultaneous divergence.
Divergence
[--C] Selection
Insert a selection convergence.
Convergence
[==C] Simultaneous
Insert a simultaneous convergence.
Convergence
+ [|] Vertical Line Insert a vertical line.
App - 16 Appendix 1.7 Toolbar icons and shortcut keys for program editors
Appendix 1 List of Toolbars and Shortcut Keys
17
Toolbar
Shortcut key Corresponding menu Description Reference
icon
CONTROLLER CPU
PROGRAMMABLE
Scroll the screen to display active steps
OPERATING
SFC Auto Scroll automatically when they are out of the
screen during monitoring.
Switch the mode of the open window to
+ Read Mode
"Read Mode".
Switch the mode of the open window to 18
Write Mode
CONTROLLER STATUS
"Write Mode".
Switch the mode of the open window to
PROGRAMMABLE
Monitor Mode
"Monitor Mode" during monitoring.
DIAGNOSING
Switch the mode of the open window to
+ Monitor (Write Mode) "Monitor (Write Mode)" during
monitoring.
Change the display magnification ratio of
Zoom
the SFC diagram. 19
+ Insert Row Insert a row at the cursor position.
EXTERNAL DEVICES
+ Delete Row Delete a row at the cursor position.
OPERATIONS OF
+ Insert Column Insert a column at the cursor position. (Simple)
SIMULATING
+ Delete Column Delete a column at the cursor position.
Move a cursor to the SFC step number/
+ Jump
transition number in the specified block.
PRINTING
SFC Step/Transition Display the SFC step/transition
+
Comment comments.
+/ Open Zoom/Start Display the Zoom editor window or the
+ double-click Destination Block start destination block. 21
Display the start destination block.
SETTING OPTIONS
+ Back to Start SFC Block Display the start source block.
Display programs on the SFC diagram
++ Program Display
when editing in MELSAP-L.
USING LIBRARIES
The following table shows the shortcut keys for the SFC block list.
Toolbar
Shortcut key Corresponding menu Description Reference
icon
Jump to the specified block number/data
+ Jump
name.
(Simple)
Numeric key Jump to the selected block number.
A
+ SFC Block List Comment Display comments of the SFC block list.
APPENDIX
I
INDEX
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 Corresponding
Shortcut key Description Reference
icon menu
/// Move the cursor in the arrow direction.
Scroll up the screen.
Scroll down the screen.
+ Scroll the screen to the left.
+ Scroll the screen to the right.
Move the cursor to its leftmost position in
the row.
Move the cursor to its rightmost position
in the row.
(Structured)
Move the cursor to the start of the
+
program.
Move the cursor to the end of the
+
program.
+/// Set a range.
Select the range from the current
++
position up to the start of the program.
Select the range from the current
++
position down to the end of the program.
Delete the selected target.
App - 18 Appendix 1.7 Toolbar icons and shortcut keys for program editors
Appendix 1 List of Toolbars and Shortcut Keys
Appendix 1.8 Toolbar icons and shortcut keys for I/O system setting 17
function
CONTROLLER CPU
PROGRAMMABLE
OPERATING
The following table shows the toolbar icons and the corresponding shortcut keys for the I/O system
setting function.
Toolbar
Shortcut key Corresponding menu Description Reference
18
icon
CONTROLLER STATUS
Section
+
PROGRAMMABLE
New Create a new I/O system setting.
19.8.1
DIAGNOSING
Section
+ Open Open an existing I/O system setting.
19.8.2
+ Save Save the I/O system setting.
+ Cut Cut the selected data.
19
+ Copy Copy the selected data. Section
EXTERNAL DEVICES
19.4.2
Paste the cut/copied data at the cursor
OPERATIONS OF
+ Paste
position.
SIMULATING
Execute I/O System Execute the I/O system setting function Section
Setting and starts simulation. 19.6.1
Disable the execution of the I/O system Section
Disable I/O System Setting
setting function. 19.6.2
Start monitoring the I/O System Setting 20
Start Monitoring
screen. Section
Stop monitoring the I/O System Setting 19.7.1
Stop Monitoring
screen.
PRINTING
+ Exit I/O System Settings Exit the I/O system setting.
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Appendix 1.8 Toolbar icons and shortcut keys for I/O system setting function App - 19
GX Works2
APPENDIX
The following explains the toolbar icons and the corresponding shortcut keys for editing intelligent
function module data.
The following table shows the toolbar icons for the positioning monitor function.
Toolbar
Shortcut key Corresponding menu Description Reference
icon
Monitor the operating status of
- -
positioning module.
- - Monitor the start history.
- - Monitor the error history. (Intelligent)
- - Monitor the warning history.
- Start the positioning monitor.
+ - Stop the positioning monitor.
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
Shortcut key Corresponding menu Description Reference
icon
+ New Create a new communication protocol.
Open an existing communication
+ Open
protocol.
+ Save Save the protocol information.
App - 20 Appendix 1.9 Shortcut keys for operating intelligent function module
Appendix 2 Simulation Function
17
Appendix 2 Simulation Function
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote
FX Head
FX FX
The simulation function debugs sequence programs on the virtual programmable controller on the personal
computer.
The created sequence programs can be debugged without connecting the personal computer to the 18
CONTROLLER STATUS
programmable controller CPU.
PROGRAMMABLE
This section explains the simulation function and the restrictions.
DIAGNOSING
Appendix 2.1 Supported CPU functions
19
This section explains the programmable controller CPU functions that are supported by GX Works2
EXTERNAL DEVICES
simulation function.
OPERATIONS OF
The following tables show the functions that are supported by the simulation function.
SIMULATING
: Supported U: Supported with restrictions : Not supported
Supported/Not
Function name Function detail Remarks
supported
20
Programming
Program memory
Program cache memory
PRINTING
Memory card (RAM)
Memory
Memory card (ROM)
Standard RAM
Standard ROM 21
I/O number assignment
SETTING OPTIONS
(automatic)
I/O number assignment
I/O number (specified)
Number of points occupied by
empty slots
Number of base slots U QCPU (Q mode) only
Interrupt program 22
Program executing order
USING LIBRARIES
setting
Initial execution type
Scan execution type
Multiple program execution
Standby type
Fixed scan execution type
Change (Set) by parameter
A
Change by instruction
Boot operation
APPENDIX
Ladder
List
Programming language
SFC (MELSAP3, MELSAP-L) U*1
ST I
Communication with intelligent function module
INDEX
APPENDIX
Supported/
Function name Function detail Remarks
Not supported
Programmable controller function
No operation is performed in
Constant scan U
actual time.
Watch dog timer (WDT) U 30,000,000 instructions per scan
Supported by device backup
Latch function U
function.
Device initial value
Service processing setting
Output mode setting at STOP to RUN
Input response time selection
Error time output mode setting
CPU operation mode at hardware error
Switch setting of intelligent function module
Monitor function
Monitor condition setting
Monitoring/testing local devices
Remote password
CPU module system display
LED display
Interrupt from intelligent function module
Serial communication function
Remote RUN/STOP
Remote PAUSE
Remote RESET
Remote latch clear
Scan time measurement
No operation is performed in
Program list monitoring U
actual time.
Interrupt program list monitoring
Monitoring/testing devices
Forced ON/OFF of external I/O
Device test with execution condition
Sampling trace
SFC file batch online program
Online program change U
change is not supported.
Debugging by multiple programming tools
Self-diagnostic function
Breakdown history
System protection
Password registration
Error reset
LED control function
Module error history collection function
Local device batch read function
Backing up latch data to standard ROM
Supported by device backup
Writing/Reading device data to standard ROM U
function.
Reading module name
17
Supported/Not
Function name Function detail Remarks
supported
CONTROLLER CPU
PROGRAMMABLE
Programmable controller CPU function
OPERATING
Clock setting is not supported.
Clock function U Extended clock setting (1/1000
seconds) is not supported.
Battery long-life operation
Memory check function
18
CONTROLLER STATUS
Only trigger logging is supported
LCPU data logging function U
PROGRAMMABLE
by sampling trace function.
DIAGNOSING
LCPU built-in I/O function
LCPU built-in Ethernet function
LCPU built-in CC-Link function
QCPU multiple CPU system
QCPU network 19
Device, Constant
EXTERNAL DEVICES
A series CPU compatibility setting
OPERATIONS OF
(Special relay, special register)
SIMULATING
16-bit indexing
Device indexing
32-bit indexing
Pointer Local/Common pointer
Local device 20
Floating point arithmetic processing
U Rounding error occurs.
(Internal precision)
Device setting
PRINTING
Indirect specification
File register setting
Extended data register, extended link register
(Use file registers)
21
Extension of bit device points
SETTING OPTIONS
*1 : The following functions are not supported.
Periodic execution program setting
Operation mode at block/step concurrent start
Step transition monitoring timer
Control SFC type program
Step/Transition comment read (instruction) 22
USING LIBRARIES
A
APPENDIX
I
INDEX
APPENDIX
17
Range set by
Category Type Device name Support Remarks
parameter
CONTROLLER CPU
PROGRAMMABLE
Function input (FX)
OPERATING
Function output (FY)
Bit device
For the supported special relays, refer to the
Internal system Special relay (SM)
Not applicable Special relay list.
device
Word
Function register (FD) 18
CONTROLLER STATUS
device For the supported special registers, refer to the
Special register (SD)
Special register list.
PROGRAMMABLE
Link input (Jn\X)
DIAGNOSING
Link output (Jn\Y)
Bit device
Link direct Link relay (Jn\B)
Not applicable
device Link special relay (Jn\SB)
Word Link register (Jn\W) 19
device Link special register (Jn\SW)
EXTERNAL DEVICES
Intelligent
Word Intelligent function module I/O assignment setting in PLC parameter is
OPERATIONS OF
function Not applicable
device device (Un\G) required.
module device
SIMULATING
Word
Index register Index register (Z) Not applicable
device
File register setting in PLC parameter is required.
Word 0 to 1017k points
File register
device
File register (ZR)
(in units of 1k)
For Universal model QCPU and LCPU, 0 to
4086k points
20
Nesting Nesting (N) Not applicable
Pointer (P)
Pointer Not applicable
PRINTING
Interrupt pointer (I)
SFC block device (BL)
Bit device
SFC transition device (TR)
Network number specifying
device (J)
21
SETTING OPTIONS
I/O number specifying device
(U)
Others Not applicable
Macro instruction argument
device (VD)
Memory for reading/writing data among CPU
modules in a multiple CPU system.
CPU shared memory (Un\G) Enabled only when multiple CPU settings are
made.
22
Not supported by LCPU.
USING LIBRARIES
K-2147483648 to
Decimal constant
2147483647
Hexadecimal constant H0 to FFFFFFFF
E1.17550-38 to
Constant
E3.40282+38
Real constant
E2.22507-308 to
E1.79770+308
A
String constant "ABC", "123" Up to 32 characters per instruction
*2 : Timer/Retentive timer/Counter: Contact and coil are bit devices and current value is a word device.
I
INDEX
APPENDIX
Annunciator type*3
Latched type *3
100ms
10ms
100ms/10ms
Internal user Timer (T)
device Retentive type for 1ms*3
1ms *3
16-bit up-counter *1
16-bit up-counter *2
Counter (C) 32-bit bidirectional counter *1
17
Category Type Device name Purpose Support Remarks
CONTROLLER CPU
Nesting (N) Master control
PROGRAMMABLE
Pointer (P) JUMP or CALL branch
OPERATING
Pointer
Interrupt pointer (I) Interruption
16 bits
Decimal constant
32 bits
18
16 bits
CONTROLLER STATUS
Hexadecimal constant
32 bits
PROGRAMMABLE
Real number constant
DIAGNOSING
Character string constant
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
APPENDIX
SM202 LED OFF command OFFON: LED OFF SM410*1 0.1 second clock 0.05 sec 0.05 sec
SM203 STOP contact STOP status SM411*1 0.2 second clock 0.1 sec 0.1 sec
SM204 PAUSE contact PAUSE status SM412*1 1 second clock 0.5 sec 0.5 sec
OFF: Ignored
SM213 Clock data read request
ON: Read request SM414*1 2n second clock n sec n sec
OFF: Ignored
SM250 Max. loaded I/O read
ON: Read SM415*1 2n (ms) clock n (ms) n (ms)
17
No. Name Description No. Name Description
CONTROLLER CPU
PROGRAMMABLE
OFF: Write not executed/
Program memory write
SM431 User timing clock No. 6 SM680 normal
error
OPERATING
ON: Write error
n2 n2
scan scan Program memory writing OFF: Write not executed
SM432 User timing clock No. 7 SM681
flag ON: During writing
CONTROLLER STATUS
OFF: Ascending order
SM434 User timing clock No. 9 SM703 Sort order
PROGRAMMABLE
ON: Descending order
DIAGNOSING
OFF: Completed or not
Low speed program OFF: Non-match found
SM510 executed SM704 Block comparison
execution flag ON: All match
ON: Execution under way
OFF: Error detection
SM600
Memory card usable
flags
OFF: Unusable
ON: Use enabled
SM722
BIN/DBIN instruction error
disabling flag
performed
ON: Error detection not
19
performed
EXTERNAL DEVICES
OPERATIONS OF
OFF: Local device
OFF: No drive 1 Enable/disable local device
SM602 Drive 1 flag SM776 disabled
SIMULATING
ON: Drive 1 present at CALL
ON: Local device enabled
Enable/disable setting for OFF: Local device
OFF: No drive 2
SM603 Drive 2 flag SM777 local devices in interrupt disabled
ON: Drive 2 present
program ON: Local device enabled
20
OFF: Not used OFF: Not ready
SM604 Memory card in-use flag SM800 Trace preparation
ON: In use ON: Ready
OFF: Unusable OFF: Suspend
SM620 Drive 3/4 usable flags SM801 Trace start
ON: Use enabled ON: Start
PRINTING
OFF: Not protected Trace execution in OFF: Suspend
SM621 Drive 3/4 protect flag SM802
ON: Protected progress ON: Start
OFF: No drive 3
SM622 Drive 3 flag SM803 Trace trigger OFF ON: Start
ON: Drive 3 present 21
OFF: No drive 4 OFF: Not after trigger
SM623 Drive 4 flag SM804 After trace trigger
SETTING OPTIONS
ON: Drive 4 present ON: After trigger
OFF: Not used OFF: Not completed
SM624 Drive 3/4 in-use flag SM805 Trace completed
ON: In use ON: End
OFF: File register
OFF: Normal
SM640 File register use not used SM826 Trance error
ON: Error
ON: File register in use
Forced registration
OFF: Forced registration 22
OFF: Comment not used disabled
SM650 Comment use SM829 specification of trace
USING LIBRARIES
ON: Comment in use ON: Forced registration
setting
enabled
Memory card file register OFF: Within access range
SM672
access range flag ON: Outside access range
*1 : 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.
A
APPENDIX
I
INDEX
APPENDIX
0.1-second clock
Clock ON/OFF
inversion and
value of special
ON OFF ON OFF ON OFF
relay
50ms
(Scan)
0 1 2 3 4 5 6
Example: Equal to integral multiple
The following figure shows the behavior of the 0.1-second clock when the constant scan is 100ms (default).
The value of the special relay is OFF every scan.
0 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
OFF OFF OFF
relay
100ms
(Scan)
0 1 2 3
Contact scan setting
To set the constant scan setting value, select [PLC Parameter] <<PLC RAS>> and set it.
CONTROLLER CPU
PROGRAMMABLE
FXCPU Structured Programming Manual [Device & Common]
OPERATING
No. Name Description No. Name Description
RUN monitor OFF: STOP OFF: Hold
M8000 M8038 RAM file clear command
NO contact ON: RUN ON: Clear
M8001
RUN monitor
NC contact
OFF: RUN
ON: STOP
M8039 Constant scan mode
OFF: Normal scan
ON: Constant mode
18
CONTROLLER STATUS
Initial pulse ON for only 1 scan after OFF: Enable transfer
M8002 M8040 Transfer disable
PROGRAMMABLE
NO contact RUN ON: Disable transfer
DIAGNOSING
Initial pulse OFF for only 1 scan after Transfer start (for IST OFF: Stop transfer
M8003 M8041
NC contact RUN instruction) ON: Start transfer
ON while either one among Start pulse (for IST ON: IST instruction start
M8004 Error occurrence M8042
M8060 to M8067 is ON instruction) command
Zero point return ON: IST instruction zero 19
M8011 10ms clock 5ms 5ms M8043 complete (for IST point return complete
instruction) command
EXTERNAL DEVICES
OPERATIONS OF
ON: Zero point
Zero point condition (for
M8012 100ms clock 50ms 50ms M8044 OFF: Zero point return is
SIMULATING
IST instruction)
undetermined
PRINTING
ON when the addition or ON while either one among
M8020 Zero M8048 Annunciator ON
subtraction result is 0 S900 to S999 is ON
ON when the subtraction
ON: Enable D8049
M8021 Borrow result is less than the M8049 Annunciator enable
maximum negative value
OFF: Disable D8049 21
ON when "carry" occurs in ON: Operation error
SETTING OPTIONS
M8022 Carry M8067 Operation error
the addition result OFF: No operation error
Floating-point calculation ON: Carry out floating-point
M8023 M8068 Operation error latch Hold occurrence of M8067
command calculation
BMOV instruction ON: Write ON: Use setting
M8024 M8074 RAM file register setting
execution direction OFF: Read OFF: Not use setting
ON: Comparison result
M8026 RAMP mode
ON: Hold output value
M8090
BKCMP instruction: matches 22
OFF: Reset value at output Block comparison signal OFF: Comparison result
USING LIBRARIES
does not match
OFF: 100ms timer Output character quantity ON: Change nothing
M8028 Timer switch command M8091
ON: 10ms timer selector signal OFF: Write 00H (NULL)
Instruction execution OFF: During executing XCH instruction: SWAP ON: 8-bit conversion
M8029 M8160
complete ON: Execution completed function OFF: Normal mode
Processing mode in the
M8031
Non-latched memory all
clear
OFF: Hold
ON: Clear
M8161 8-bit processing mode ASC, ASCI, and HEX A
instructions
FROM and TO
OFF: Hold Transfer points switch
M8032 Latched memory all clear M8164 instructions: Transfer
ON: Clear command
points variable mode
APPENDIX
SMOV instruction:
Memory holding against OFF: Clear
M8033 M8168 Hexadecimal data Data shift in 4-bit units
STOP mode ON: Hold
handling function
APPENDIX
CONTROLLER CPU
PROGRAMMABLE
User's Manual (Function Explanation, Program Fundamentals) of the CPU module to be
used
OPERATING
No. Name Description No. Name Description
SD0 Diagnostic error Diagnostic error code SD72
SD1
Clock time for diagnosis Clock time for diagnosis
SD73 18
SD2 SD74
CONTROLLER STATUS
error occurrence error occurrence
SD3 SD75
PROGRAMMABLE
Table of detected Annunciator detection
Error information Error information category annunciator numbers number
SD4 SD76
DIAGNOSING
categories code
SD5 SD77
SD6 SD78
SD7 SD79
SD8 SD200 Status of switch Status of CPU switch
19
SD9 SD201 LED status Status of CPU-LED
EXTERNAL DEVICES
OPERATIONS OF
Error common Bit pattern of LED that is
SD10 Error common information SD202 LED OFF command
information turned OFF
SIMULATING
SD11 SD203 Operating status of CPU Operating status of CPU *3
SD12 SD204 LED display color CPU-LED display color
SD13 SD207 Priorities 1 to 4
SD14 SD208
LED display priority
ranking
Priorities 5 to 8 20
SD15 SD209 Priorities 9 to 11
SD16 SD210 Clock data Clock data (year, month)
SD17 SD211 Clock data Clock data (day, hour)
PRINTING
Clock data
SD18 SD212 Clock data
(minute, second)
Clock data
SD19 SD213 Clock data (higher digits of year, day
of week)
21
Error individual
Error individual information
SETTING OPTIONS
SD20 information SD220
SD21 SD221
SD22 SD222
SD23 SD223
LED display data LED display data
SD24 SD224
SD25 SD225
SD26 SD226
22
SD50 Error reset Error code to be reset SD227
USING LIBRARIES
0: Automatic mode
SD62 Annunciator number Annunciator number SD240 Base mode
1: Detail mode
0: Main base only
SD63 Number of annunciators Number of annunciators SD241 Extension stage number 1 to 7: Extension stage
number
APPENDIX
Number of counts in
SD420 Scan counter SD645
each scan
Number of counts in
SD430 Low speed scan counter SD646
each scan
Program number in
SD500 Execution program No. SD647 File register capacity File register capacity
execution
17
No. Name Description No. Name Description
CONTROLLER CPU
File register block
PROGRAMMABLE
SD648 File register block number SD655
number Comment file name Comment file name
OPERATING
SD650 Comment drive Comment drive number SD656
Parameter enable drive Parameter enable drive
SD651 SD670
information number
CONTROLLER STATUS
SD653 SD840 Debug function usage Debug function usage
PROGRAMMABLE
SD654
DIAGNOSING
*1 : Values are derived from the constant scan setting value and the number of scans.
*2 : All values are equal to the constant scan setting value.
*3 : SD203 supports the operating status of CPU only. STOP/PAUSE cause is fixed to 0.
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
APPENDIX
*1 : Initialized to 200ms on every programmable controller type. The watchdog timer time can be changed, but the WDT
check is never performed.
17
*2 : The value of D8001 differs according to the programmable controller type.
Programmable controller CPU Value
CONTROLLER CPU
PROGRAMMABLE
FX0, FX0S 20000
OPERATING
FX0N 20000
FX1 21000
FXU, FX2C 20000
FX1S 22000 18
FX1N, FX1NC 26000
CONTROLLER STATUS
FX2N, FX2NC 24000
PROGRAMMABLE
FX3G, FX3GC 26000
DIAGNOSING
FX3U, FX3UC 24000
EXTERNAL DEVICES
OPERATIONS OF
*6 : The value of D8101 differs according to the programmable controller type.
SIMULATING
Value
Programmable controller CPU '***' indicates a
version.
FX0, FX0S
FX0N
20
FX1
FXU, FX2C 0
FX1S
PRINTING
FX1N, FX1NC
FX2N, FX2NC
FX3G, FX3GC 26***
FX3U, FX3UC 16***
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
APPENDIX
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
Category Device name Symbol QCPU (Q mode)/LCPU
Input X
Output Y
Internal relay M
Latch relay L
Annunciator F
Edge relay V
Step relay S
Link relay B
Link special relay SB
Current value TN
Timer Contact TS
Internal user device Coil TC
Current value CN
Counter Contact CS
Coil CC
Current value STN(SN)
Retentive timer Contact STS(SS)
Coil STC(SC)
Data register D
Link register W
Link special register SW
Direct input DX
Direct output DY
Function input FX
Function output FY
Internal system device Special relay SM
Function register FD
Special register SD
Link input J \X
Link output J \Y
Link register J \W
Link direct device
Link special register J \SW
Link relay J \B
Link special relay J \SB
Intelligent function module
Intelligent function module device U \G
device
Index register Index register Z
R
File register File register
ZR
Nesting Nesting N
Pointer P
Pointer
Interrupt pointer I
17
Category Device name Symbol QCPU (Q mode)/LCPU
CONTROLLER CPU
SFC block device BL
PROGRAMMABLE
Others
SFC transition device TR
OPERATING
Decimal constant K
Constant Hexadecimal constant H
Real constant E
18
Device list (FXCPU)
CONTROLLER STATUS
PROGRAMMABLE
: Supported : Not supported
DIAGNOSING
Category Device name Symbol FXCPU
Input X
Output Y
Auxiliary relay M
19
State S
EXTERNAL DEVICES
Current value TN
OPERATIONS OF
Device Timer Contact TS
SIMULATING
Coil TC
Current value CN
Counter Contact CS
Coil CC 20
Data register D
Direct specification of buffer memory U \G *1
PRINTING
Index register Index register
Z
Extension register Extension register R *2
Nesting Nesting N 21
JUMP or CALL branch P
Pointer
SETTING OPTIONS
Interrupt pointer I
Decimal constant K
Constant Hexadecimal constant H
Real number constant E
USING LIBRARIES
A
APPENDIX
I
INDEX
APPENDIX
QCPU (Q mode)/LCPU
Sequence instructions
Category Symbol Restrictions
LD, LDI, AND, ANI, OR, ORI, LDP, LDF, ANDP, ANDF, ORP, ORF, LDPI,
Contact instruction
LDFI, ANDPI, ANDFI, ORPI, and ORFI
Bond instruction ANB, ORB, MPS, MRD, MPP, INV, MEP, MEF, EGP, and EGF
OUT, OUT T, OUT C, OUT F, OUTH T, SET, RST, SET F, RST F, PLS,
Output instruction
PLF, and FF
Shift instruction SFT(P)
Master control instruction MC and MCR
End instruction FEND and END
Other instruction STOP, NOP, NOPLF, and PAGE
Basic instructions
Category Symbol Restrictions
=, <>, >, , <, , D=, D<>, D>, D , D<, D , E=, E<>, E>,
Comparison operation
E , E<, E , and BKCMP(P)
instruction
$=, $<>, $>, $<=, $<, and $>= Not supported by Basic model QCPU.
+(P), (P), D+(P), D(P), *(P), /(P), D*(P), D/(P), B+(P), B(P), DB+(P),
Arithmetic operation DB(P), B*(P), B/(P), DB*(P), DB/(P), E+(P), E(P), E*(P), E/(P),
instruction BK+(P), BK(P), INC(P), DEC(P), DINC(P), and DDEC(P)
$+(P) Not supported by Basic model QCPU.
BCD(P), DBCD(P), BIN(P), DBIN(P), INT(P), DINT(P), FLT(P), DFLT(P),
Data conversion instruction DBL(P), WORD(P), GRY(P), DGRY(P), GBIN(P), DGBIN(P), NEG(P),
DNEG(P), ENEG(P), BKBCD(P), and BKBIN(P)
MOV(P), DMOV(P), EMOV(P), $MOV(P), CML(P), DCML(P), BMOV(P),
Data transfer instruction
FMOV(P), XCH(P), DXCH(P), BXCH(P), and SWAP(P)
Program branch instruction CJ, SCJ, JMP, and GOEND
Other convenient instruction MTR Not supported by Basic model QCPU.
Application instructions 17
Category Symbol Restrictions
CONTROLLER CPU
PROGRAMMABLE
Logical operation WAND(P), DAND(P), BKAND(P), WOR(P), DOR(P), BKOR(P),
instruction WXOR(P), DXOR(P), BKXOR(P), WXNR(P), DXNR(P), and BKNXR(P)
OPERATING
ROR(P), RCR(P), ROL(P), RCL(P), DROR(P), DRCR(P), DROL(P), and
Rotation instruction
DRCL(P)
SFR(P), SFL(P), BSFR(P), BSFL(P), DSFR(P), DSFL(P), SFTBR(P),
Shift instruction
SFTBL(P), SFTWR(P), and SFTWL(P) 18
Bit processing instruction BSET(P), BRST(P), TEST(P), DTEST(P), and BKRST(P)
CONTROLLER STATUS
SER(P), DSER(P), SUM(P), DSUM(P), DECO(P), ENCO(P), SEG(P),
PROGRAMMABLE
DIS(P), UNI(P), NDIS(P), NUNI(P), WTOB(P), BTOW(P), MAX(P), The SORT and DSORT instructions
Data processing instruction
DIAGNOSING
MIN(P), DMAX(P), DMIN(P), SORT, DSORT, WSUM(P), and are executed in one scan.
DWSUM(P)
FOR, NEXT, BREAK(P), CALL(P), RET, FCALL(P), and XCALL
Structured instruction
ECALL(P) and EFCALL(P)
Data table operation
FIFW(P), FIFR(P), FPOP(P), FINS(P), and FDEL(P)
19
instruction
EXTERNAL DEVICES
Buffer memory access
OPERATIONS OF
FROM(P), DFRO(P), TO(P), and DTO(P)
instruction
SIMULATING
STR(P), DSTR(P), VAL(P), DVAL(P), ESTR(P), and EVAL(P)
PRINTING
BCOS(P), BTAN(P), BASIN(P), BACOS(P), and BATAN(P)
Data control instruction LIMIT(P), DLIMIT(P), BAND(P), DBAND(P), ZONE(P), and DZONE(P)
The QDRSET(P) instruction is not
Switch instruction RSET(P) and QDRSET(P) supported by Basic model QCPU/
LCPU. 21
The DATERD(P) instruction reads the
SETTING OPTIONS
Clock instruction DATERD(P), DATE+(P), DATE(P), SECOND(P), and HOUR(P)
personal computer clock data.
Program control instruction PSTOP(P), POFF(P), and PSCAN(P) Not supported by Basic model QCPU.
Display instruction LEDR
The RBMOV instruction operates as
the BMOV instruction.
Other instruction
DUTY, ZRRDB(P), ZRWRB(P), ADRSET(P), ZPUSH(P), ZPOP(P),
The TRACE, TRACER, and
RBMOV(P) are not supported by
22
TIMCHK, WDT(P), TRACE, TRACER, and RBMOV(P)
Basic model QCPU.
USING LIBRARIES
The RBMOV(P) instruction is not
supported by LCPU.
A
APPENDIX
I
INDEX
APPENDIX
FXCPU 17
CONTROLLER CPU
For details of the instructions, refer to the following manual.
PROGRAMMABLE
FXCPU Structured Programming Manual [Basic & Applied Instruction]
OPERATING
Sequence instructions
Category Symbol Restrictions
Contact instruction LD, LDI, AND, ANI, OR, ORI, LDP, LDF, ANDP, ANDF, ORP, and ORF 18
CONTROLLER STATUS
ANB, ORB, MPS, MPP, and INV
Bond instruction
MEP and MEF
PROGRAMMABLE
Output instruction OUT, SET, RST, PLS, and PLF
DIAGNOSING
Master control instruction MC and MCR
Step ladder instruction STL and RET
Other instruction END and NOP
19
Application instructions
EXTERNAL DEVICES
: Supported : Not supported
OPERATIONS OF
Category Symbol 32-bit instruction Pulse instruction execution
SIMULATING
CJ
CALL
SRET
Program flow
FEND 20
FOR
NEXT
CMP
PRINTING
ZCP
MOV
SMOV
21
CML
Move and compare
SETTING OPTIONS
BMOV
FMOV
XCH
BCD
BIN
ADD 22
SUB
USING LIBRARIES
MUL
DIV
INC
Arithmetic and logical operation
DEC
WAND A
WOR
WXOR
NEG
APPENDIX
I
INDEX
APPENDIX
17
Category Symbol 32-bit instruction Pulse instruction execution
CONTROLLER CPU
ESUB
PROGRAMMABLE
EMUL
OPERATING
EDIV
EXP
LOGE
18
LOG10
CONTROLLER STATUS
ESQR
PROGRAMMABLE
ENEG
DIAGNOSING
INT
SIN
COS
Floating point TAN 19
ASIN
EXTERNAL DEVICES
OPERATIONS OF
ACOS
SIMULATING
ATAN
RAD
DEG
WSUM 20
WTOB
BTOW
UNI
PRINTING
DIS
SWAP
TCMP
TZCP
21
SETTING OPTIONS
TADD
TSUB
Real time clock control
HTOS
STOH
TRD
HOUR 22
GRY
USING LIBRARIES
External device
GBIN
BK+
BK-
BKCMP=
BKCMP>=
I
INDEX
APPENDIX
CONTROLLER CPU
PROGRAMMABLE
Some parameter setting items of GX Works2 are not applicable to the simulation function.
The following table shows the parameter setting items applicable to the simulation function.
OPERATING
The remote password is not supported.
18
QCPU (Q mode)/LCPU
CONTROLLER STATUS
PROGRAMMABLE
PLC parameter setting applicability
DIAGNOSING
: Applicable : Not applicable
Parameter Item Applicability
Label
PLC Name
Comment
19
Timer Limit Setting
EXTERNAL DEVICES
OPERATIONS OF
RUN-PAUSE Contacts
SIMULATING
Latch Data Backup Operation Valid Contact
Remote Reset Fixed to 'Allow'
Output Mode at STOP to RUN
PRINTING
PLC System
Built-in CC-Link Setting
Common Pointer No.
Points Occupied by Empty Slot
System Interrupt Settings
21
SETTING OPTIONS
High Speed Interrupt Settings
Interrupt Program/Fixed Scan Program Setting
A-PLC Compatibility Setting
Fixed to 'Execute it while waiting
Service Processing Setting
for contact scan setting'
PLC Module Change Setting
File Register 22
Transfer to Standard ROM at Latch data backup operation
USING LIBRARIES
Comment File Used in a Command
PLC File
Initial Device Value
File for Local Device
File used for SP.DEVST/S.DEVLD Instruction
WDT error occurs if 30,000,000 or
WDT (Watchdog Timer) Setting more instructions are executed A
during one scan.
Error Check
Operating Mode When There is an Error *2
PLC RAS
APPENDIX
Constant Scanning
Breakdown History
Low Speed Program Execution Time
Module Error History Collection
I
Boot Option
Boot File
Boot File Setting
INDEX
APPENDIX
*1 : Internal operations are performed with double precision. However, the processing speed does not change.
*2 : Supports "Computation Error" and "Intelligent Module Program Execution Error".
*3 : There are restrictions for "Low Speed" and "Fixed Scan" type programs. ( Appendix 2.5)
Network parameter setting applicability
: Applicable : Not applicable
Parameter Item Applicability
Ethernet / CC IE / MELSECNET
Network Parameter
CC-Link
FXCPU 17
CONTROLLER CPU
PLC parameter setting applicability
PROGRAMMABLE
OPERATING
: Applicable : Not applicable
Parameter Item Applicability
Memory Capacity
Comments Capacity 18
CONTROLLER STATUS
Memory Capacity File Register Capacity
PROGRAMMABLE
Program Capacity
DIAGNOSING
Special Function Memory Capacity
Device Device
PLC Name Title
Battery Less Mode
PLC System (1) MODEM Initialized
19
RUN Terminal Input
EXTERNAL DEVICES
OPERATIONS OF
Channel Setting
Operate Communication Setting
SIMULATING
Protocol
Data Length
Parity
Stop Bit 20
Transmission Speed
Header
PLC System (2)
Terminator
PRINTING
Control Line
H/W Type
Control Mode
Sum Check 21
Transmission Control Procedure
SETTING OPTIONS
Station Number Setting
Time Out Judge Time
Unit Name
Address
Value
Size/Type 22
Special Function Check the identification code before initializing
USING LIBRARIES
Block
Identification Code
(Built-in CC-Link/LT
Setting) Transmission Speed
Point Mode
Station Type
I/O Points
Specify Reserved Station A
APPENDIX
I
INDEX
APPENDIX
CONTROLLER CPU
This section explains the restrictions and precautions on debugging programs using the simulation
PROGRAMMABLE
function.
OPERATING
QCPU (Q mode)/LCPU
No. Item Debugging using the simulation function
1 Time processing
Time processing of the timer instruction/function is performed by assuming that the scan time is 100ms. 18
If the constant scan time is set in parameter, the set constant scan time is used as the scan time.
CONTROLLER STATUS
Supported Some instructions including the data refresh instruction are not supported by the simulation function.
2
PROGRAMMABLE
instructions Unsupported instructions are processed as NOP. (Supported instructions Appendix 2.3)
DIAGNOSING
The time set for constant scan is used for updating the timer current value.
Constant scan 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
SM400
19
K10
T0
3 Processing time
300ms Scan1
T0=3 Scan1
T0=6 Scan1
T0=9 T0=12
Scan1 T0=15
Scan1
EXTERNAL DEVICES
In the virtual programmable controller, the number of counts per scan of the timer instruction changes
OPERATIONS OF
depending on the constant scan setting. When the constant scan time is set to 100ms, the count of the
SIMULATING
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.
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
4 Monitoring
type programs processed at the end of each scan if these types of program are included in the programs 20
for simulation. For details, refer to 5 and 6 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.
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
APPENDIX
Low-speed execution
type program A
Low-speed execution
type program B
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
6 scan execution type
Scan execution
programs type program
Low-speed execution
type program
At the start of simulation, PLC parameters and programs registered in the program setting of PLC parameter
Automatic write at
are written to the virtual programmable controller.
7 the start of
The file register specified in "Use the following file" on the <<PLC File>> tab of PLC parameter is
simulation
automatically created.
Not supported by the simulation function.
8 Interrupt programs
Even created, an interrupt program is not processed.
17
No. Item Debugging using the simulation function
CONTROLLER CPU
Floating point Since a rounding error always occurs in the operation result of an instruction using floating point numbers, the
PROGRAMMABLE
9
numbers result does not match with the result of the operation executed on the programmable controller CPU.
OPERATING
The simulation is performed in the following capacity according to the programmable controller type.
High Performance model QCPU : 2M
10 Using memory card
Universal model QCPU : 8M
11 I/O module
For LCPU, a memory card cannot be used.
Not supported by the simulation function.
18
CONTROLLER STATUS
12 Network Not supported by the simulation function.
PROGRAMMABLE
The virtual programmable controller has a buffer memory area of 64k points for 64 modules to be used for
Intelligent function
DIAGNOSING
accessing intelligent function modules. This buffer memory can be used for saving and reading data.
13 module (Intelligent
To use intelligent function modules in the simulation function, the I/O assignment must be set on the <<I/O
parameters)
Assignment>> tab of PLC parameter.
Double-precision
The double-precision operation of the simulation function performs the internal operation with double
14
operation for the
floating-point
precision and converts the final result to the single precision. 19
The processing speed is not changed even if the double-precision operation is set not to be performed on the
arithmetic
EXTERNAL DEVICES
<<PLC System>> tab of PLC parameter.
processing
OPERATIONS OF
Clock data can be read out to SD210-SD213 by the clock data read request (SM213).
15 Clock data
SIMULATING
However, the set clock function is not supported.
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
16
Intelligent function specified points. 20
module 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.
PRINTING
When the program loops endlessly (when 30,000,000 or more instructions are executed during one scan), a
17 Watchdog timer
WDT error may occur.
SD393, SD395, and SD396 are only supported.
Name/Description Device
Supported/
Description
21
Not supported
SETTING OPTIONS
No. 1 CPU reset flag SM240 Fixed to 'OFF'
No. 2 CPU reset flag SM241 Fixed to 'OFF'
No. 3 CPU reset flag SM242 Fixed to 'OFF'
No. 4 CPU reset flag SM243 Fixed to 'OFF'
No. 1 CPU error flag SM244 Fixed to 'OFF'
No. 2 CPU error flag SM245 Fixed to 'OFF' 22
No. 3 CPU error flag SM246 Fixed to 'OFF'
USING LIBRARIES
No. 4 CPU error flag SM247 Fixed to 'OFF'
Operating status Number of multiple CPUs SD393
18
monitor
CPU mounting
SD394 Fixed to '0'
information
Multiple CPU number SD395 Fixed to '1'
status
No. 4 CPU operation
SD399 Fixed to '0'
status
: Supported : Not supported I
INDEX
APPENDIX
*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.
Precautions on At Online program change, fall instructions are executed regardless of options.
20 Online program Secured steps for Online program change are 500 steps by default at the start up of the simulation function.
change Secured steps can be changed at "Allocate Memory for 'Online Change' (Write to PLC only)".
In ladder programs, line monitor is available even though the program written to the programmable controller
21 Line monitor
CPU and one being edited are different.
When 'Initial start' is selected for "SFC program start mode" and a set of operations 'STOPWrite to
Initial start for SFC
22 PLCRUN' is performed, not 'Initial start' but 'Resume start' is adopted if programs written to the
programs
programmable controller CPU have no change.
In the following cases, file batch online change cannot be performed.
Precautions on file
23 Program memory does not have free space larger than the program to be written.
batch online change
The maximum number of files has already been stored in program memory.
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
24 Operation error
model QCPU but occurs with High Performance model QCPU and virtual programmable controller CPU.)
Operation errors are No. 4100 at any time.
When "-0" is
specified as the
25 No error occurs. (Processed as '0' in operation.)
floating-point type
real number
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
Monitoring local
26 processed at the end of each scan if these types of program are included in the programs for simulation. If a
devices
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.
FXCPU 17
No. Item Debugging using the simulation function
CONTROLLER CPU
PROGRAMMABLE
In the simulation function of FXCPU, the CPU-specific functions and device range operate according
to the specifications of the selected FXCPU.
OPERATING
Application instructions can operate in the simulation function even they are not supported by the
selected FXCPU.
Selection of programmable
Since a program may contain unsupported instructions after changing its programmable controller
1 controller CPU and
type from a top model to a low model, the program may cause a program error when it is written to
operation of FX series CPU
the FXCPU even it can be performed in the simulation function. 18
For example, even the pulse execution type application instructions are not supported by FX0, FX0S,
CONTROLLER STATUS
and FX0N they can be performed in the simulation function. However, a program error may occur due
PROGRAMMABLE
to the unsupported instructions when the program is written to the FXCPU.
DIAGNOSING
The program check function at STOP to RUN detects a program error only when an MC/MCR exists
Program check at STOP to in the STL instruction or the RET instruction is not input in response to the STL instruction. Note that
2
RUN 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.
19
EXTERNAL DEVICES
Parameter Setting item
OPERATIONS OF
Memory Capacity All items are enabled
SIMULATING
Enable/disable setting of Device All items are enabled
3
parameter items PLC Name All items are disabled
PLC Parameter PLC System (1) All items are disabled
PLC System (2) All items are disabled 20
Special Function Block All items are disabled
Positioning All items are disabled
4 Program memory capacity The simulation function is performed with the maximum step capacity of each model.
PRINTING
The watchdog timer (D8000) operates in 200ms with all CPUs. The setting value can be changed but
5 Watchdog timer
the change is not reflected to its operation.
In the simulation function, the buffer memory of a special extension device operates as a general
6 Buffer memory monitor register which can be read/written by the FROM/TO instruction. It does not have functions specific to
the special extension device.
21
The data register (D8030/D8031), which stores the value of the variable analog potentiometer built in
SETTING OPTIONS
Variable analog
7 FX0, FX0S, FX0N, FX1S, FX1N, and FX3G, operates as a general data register. Write a value between 0
potentiometer
and 255 and test the operation using GX Works2.
8 High-speed counter The high-speed counter is not supported by the simulation function.
The SORT/SORT2 instruction is executed over multiple scans on FXCPU. In the simulation function,
9 SORT/SORT2 instruction however, its execution is always completed in one scan and M8029 (Instruction execution complete)
turns ON immediately.
A latched type device keeps holding its value when the simulation function is in STOP status.
22
10 Latched type device
It clears its value when the simulation function is ended.
USING LIBRARIES
11 Non-latch type device 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
12 Clear PLC Memory function.
Execute it too when the operation of the simulation function is not stable.
Up to 16 characters can be processed as a character string constant in a program.
The 17th and later characters are ignored when the length of characters is 17 or more.
(Example) $+ "12345678901234567" "abcdefghijklmnopq" D0 A
13 Character string constant When the operation shown above is processed, the following data are stored in the devices starting
from D0.
D0 to D15 = "1234567890123456abcdefghijklmnop"
(The 17th and later characters of each character string constant (7 and q) are ignored.)
APPENDIX
The Write to PLC function does not support the device memory listed below.
Input (X)
Write to PLC of device
14 Output (Y)
memory
Special relay (M8000 and later)
Special register (D8000 and later) I
15 Special Function Block Only the buffer memory of the special function block is supported by the simulation function.
INDEX
APPENDIX
MSD
0 1 2 3 4 5 6 7
000 001 010 011 100 101 110 111
0 0000 NUL DLE (SP) 0 @ P ` p
1 0001 SOH DC1 ! 1 A Q a q
2 0010 STX DC2 " 2 B R b r
3 0011 ETX DC3 # 3 C S c s
4 0100 EOT DC4 $ 4 D T d t
5 0101 ENQ NAK % 5 E U e u
6 0110 ACK SYN & 6 F V f v
7 0111 BEL ETB 7 G W g w
LSD
8 1000 BS CAN ( 8 H X h x
9 1001 HT EM ) 9 I Y i y
A 1010 LF SUB * : J Z j z
B 1011 VT ESC + ; K [ k {
C 1100 FF FS , < L \( ) l |
D 1101 CR GS - = M ] m }
E 1110 SO RS . > N ^ n ~
F 1111 SI US / ? O _ o DEL
App - 56
Appendix 4 Precautions on GX Works2 and Differences with GX Developer
17
Appendix 4 Precautions on GX Works2 and Differences with GX Developer
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote Head FX
This section describes the precautions when using GX Works2 and the differences between GX Works2 and
GX Developer.
18
CONTROLLER STATUS
PROGRAMMABLE
Appendix 4.1 Before using GX Works2
DIAGNOSING
Compared with GX Developer, GX Works2 has some differences in supported CPU modules, features,
and operability. Please review the following precautions prior to use.
For (Intelligent) indicated in the Reference column, refer to the following manual.
19
EXTERNAL DEVICES
GX Works2 Version 1 Operating Manual (Intelligent Function Module)
OPERATIONS OF
Item to be confirmed Reference
SIMULATING
Supported CPU modules Appendix 4.2
Unsupported features Appendix 4.3
Supported project types
Using project functions
Appendix 4.4
20
Programming languages supported by each project type
Using ladder language
Using SFC language Appendix 4.5
PRINTING
Using labels
Using function blocks
Using device comments Appendix 4.6
Using device memory Appendix 4.7 21
Using device initial values Appendix 4.8
SETTING OPTIONS
Using search/replace function Appendix 4.9
Using online function Appendix 4.10
Using monitor/debug function Appendix 4.11
Using printing function Appendix 4.12
Copying saved project data Appendix 4.13
Using change programmable controller type function Appendix 4.14 22
Using program check function Appendix 4.15
USING LIBRARIES
Using IC memory card function Appendix 4.16
Compatibility with GX Developer Appendix 4.17
Compatibility with GX IEC Developer Appendix 4.18
Compatibility with GX Configurator-QP (Intelligent)
Key operation Appendix 4.19
A
APPENDIX
I
INDEX
APPENDIX
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 Programmable controller type
Process CPU
(Q02PH, Q06PH, Q12PH, Q25PH)
QCPU (Q mode)
Redundant CPU
(Q12PRH, Q25PRH)
QCPU (A mode) All programmable controller types
QSCPU All programmable controller types
QnACPU All programmable controller types
ACPU All programmable controller types
Motion controller (SCPU) All programmable controller types
CNC (M6, M7) All programmable controller types
CONTROLLER CPU
PROGRAMMABLE
The following table shows the features that are not supported in GX Works2.
OPERATING
Use GX Developer, GX Simulator, or GX Configurator for the following features.
Unsupported feature Alternate S/W
Timing chart monitoring function
18
Debug function for ladder program Serial communication function GX Simulator
CONTROLLER STATUS
Device manager function
PROGRAMMABLE
Intelligent function module
Protocol FB support GX Configurator-SC
DIAGNOSING
programming function
Device initial value Device memory registration
Password Password registration for data in project
Interaction with GX Explorer Boot by GX Explorer GX Developer
Interaction with PX Developer Boot by PX Developer
19
MEDOC print format import Import in MEDOC print format
EXTERNAL DEVICES
GX Developer
OPERATIONS OF
Online Intelligent module diagnostics from system monitor
GX Configurator
SIMULATING
Sampling trace Sampling trace conditionally on step number GX Developer
* In addition to the features mentioned above, the following features are not supported by FXCPU.
Configuration function
Sampling trace function
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
APPENDIX
Before using the project functions in GX Works2, please review the following precautions.
Description (differences between GX Developer and GX Works2)
Function
GX Developer GX Works2
By installing as 'monitoring only',
By setting projects as 'read-only' with the 'Security'
Protect projects projects were protected on each
function, project-by-project protection is now available.
personal computer.
The following project type changes are now available.
(1) Project type change from 'Simple project (without
Project types cannot be changed from labels)' to 'Simple project (with labels)'
Change project types
"Do not use label" to "Use label". (2) Project type change from 'Simple project (with labels)'
to 'Structured project'*1
Selecting [Project] [Open Other Data] [Open Other
Project] enables GX Developer format projects to be read
out.
Read GX Developer *GX Developer starts and a project is opened when a
format projects project of the following CPU types is specified: ACPU,
QnACPU, QCPU (A mode), Motion Controller (SCPU),
CNC (M6/M7), Process CPU, Redundant CPU, and
Safety CPU.
*1 : Direct project type change from 'Simple project (without labels)' to 'Structured project' is not available.
*2 : Not supported by FXCPU.
CONTROLLER CPU
PROGRAMMABLE
The following table shows the programming languages that are supported by each project type of GX
OPERATING
Works2.
Project type Supported programming language
Simple project
18
Without labels Ladder, SFC (MELSAP3, MELSAP-L)*1, SFC (FXCPU)*2
CONTROLLER STATUS
Ladder, SFC (MELSAP3, MELSAP-L)*1, ST*1
PROGRAMMABLE
With labels Supported program element
DIAGNOSING
Label, structure, function block
EXTERNAL DEVICES
OPERATIONS OF
*1 : Not supported by FXCPU.
SIMULATING
*2 : Not supported by QCPU (Q mode)/LCPU.
PRINTING
(2) If GX Developer reads out a program created with ladder in GX
Works2, it can be displayed or edited in list.
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
APPENDIX
Before using the ladder language in GX Works2, please review the following precautions.
Description (differences between GX Developer and GX Works2)
Function
GX Developer GX Works2
Program giving devices an
It was enabled by the 'Alias' function. Please use 'Label'.
alias
Segment a part of program It was enabled by the 'Macro definition/
Please use 'Function Block'.
into POUs (macros) import' function.
Pressing the key on the ladder editor allows the
simple find.
Find/Replace instructions/ Find was enabled by directly typing an The mode can be switched to the "Read Mode" by setting
the option.
devices/labels instruction/device/label in 'Read mode'.
Select "Use the Switching Ladder Edit Mode (Read,
Write, Monitor, Monitor (Write))" under "Program Editor"
"Ladder" "Ladder Diagram" in the option setting.
It was enabled by the 'Cross Reference
Check use status of Please select [Find/Replace] [Cross Reference], or
List' function and 'List of Used Devices'
device/label [Find/Replace] [Device List].
function.
Select the range specified
It was enabled by left-clicking the Selecting the frame of the target range enables the drag-
with the drag-and-drop
mouse while pressing the key. and-drop operation.
operation
Select the range starting
from the cursor specified It was enabled using the mouse while The range can be selected using only the mouse without
by mouse under read pressing the key. pressing the key.
status
The verify result window clearly shows the following:
'unmatched area of the programs', 'only verify source
Verify
contains the program' and 'only verify destination
contains the program'.
Devices/labels in the ladder block at the cursor position
are automatically registered to the Watch window.
Register to Watch window To use this function, set "Setting for Automatic
Registration to Watch Window" under "Monitor"
"Ladder" in the option setting.
CONTROLLER CPU
Before using the SFC (MELSAP3) language, SFC (MELSAP-L) language or SFC (FXCPU) language in
PROGRAMMABLE
GX Works2, please review the following precautions.
OPERATING
Description (differences between GX Developer and GX Works2)
Function
GX Developer GX Works2
Each block data is displayed in the Navigation window,
and the block number can be changed in the property of
18
It was enabled by the 'copy and paste'
CONTROLLER STATUS
Change block number each block data.
function in block list.
Selecting [View] [Open SFC Blocklist] can display
PROGRAMMABLE
the block list equivalent to that of GX Developer.
DIAGNOSING
Open a start source block
No corresponding function. Selecting [View] [Back to Start SFC Block] can open it.
by block start
Online change using SFC In SFC program, online change is possible in SFC block
No corresponding function.
program unit. Please execute from the menu of "Online Change".
Monitor during MELSAP-L Device monitor was enabled by a split Can monitor the device by registering to the Watch 19
display format display. window.
EXTERNAL DEVICES
Select the range specified
OPERATIONS OF
It was enabled by left-clicking the Selecting the frame of the target range enables the drag-
with the drag-and-drop
mouse while pressing the key. and-drop operation.
SIMULATING
operation
Select the range starting
from the cursor specified It was enabled using the mouse while The range can be selected using only the mouse without
by mouse under read pressing the key. pressing the key.
status 20
Multiple Zooms (operation output/transition condition
Open operation output/ data) can be simultaneously displayed.
transition condition Changing the "Setting of Zoom Display" option can
programs switch the display in a window in the same way as GX
PRINTING
Developer.
Copy and paste ladder in Ladder can be pasted.
Ladder could not be pasted.
Zoom editor However, ladder block may not be displayed properly.
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
APPENDIX
Using labels
Before using function blocks in GX Works2, please review the following precautions.
Function Description
Function blocks created with ladder can be used for ladder program,
structured ladder/FBD program, ST program, and SFC program operation
outputs.
For FXCPU, they can be used for ladder programs only.
Use function blocks created with ladder
*When using function blocks created with ladder language for structured
ladder/FBD or ST programs, select [Tool] [Options], and select "Enable
function block call 'from ladder to Structured Ladder/FBD or ST' and 'from
Structured Ladder/FBD or ST to ladder'" under "Compile" "Basic Setting".
Function blocks created with structured ladder/FBD can be used for ladder
programs, structured ladder/FBD programs and ST programs.
Use function blocks created with structured
*When using function blocks created with structured ladder/FBD language
ladder/FBD
for ladder programs, select [Tool] [Options], and select "Enable function
block call 'from ladder to Structured Ladder/FBD or ST' and 'from Structured
Ladder/FBD or ST to ladder'" under "Compile" "Basic Setting".
Function blocks created with ST can be used for ladder programs,
structured ladder/FBD programs, and ST programs.
For FXCPU, they can be used for structured ladder/FBD programs and ST
programs.
Use function blocks created with ST
*When using function blocks created with ST language for ladder programs,
select [Tool] [Options], and select "Enable function block call 'from ladder
to Structured Ladder/FBD or ST' and 'from Structured Ladder/FBD or ST to
ladder'" under "Compile" "Basic Setting".
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
Set function block call option
value.
This function is not supported by FXCPU.
CONTROLLER CPU
PROGRAMMABLE
Before using device comments in GX Works2, please review the following precautions.
OPERATING
Description (differences between GX Developer and GX Works2)
Function
GX Developer GX Works2
The Delete Unused Comment button is added on the
Device List screen displayed by selecting [Find/Replace]
18
Delete unused device It was enabled by the 'Delete unused
CONTROLLER STATUS
[Device List].
comments comments' function.
(Select a program for "Find In" and the search operation
PROGRAMMABLE
needs to be performed in advance.)
DIAGNOSING
Comments of special relay/special register and intelligent
Sample comments of special relay/
function module can be imported by the 'Import from
Sample comment special register were provided in
Sample Comment' function on the device comment
project format.
editor.
19
EXTERNAL DEVICES
Appendix 4.7 Using device memory
OPERATIONS OF
SIMULATING
Before using the device memory in GX Works2, please review the following precautions.
Function Description
20
Multiple device ranges can be displayed in a window.
Device memory display
*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.
PRINTING
Copy and past device memory data to To copy and paste device memory data to Excel, please select [Tool] [Read from
Excel Excel File] / [Write to Excel File].
21
Appendix 4.8 Using device initial values
SETTING OPTIONS
Before using device initial values in GX Works2, please review the following precautions.
Description (differences between GX Developer and GX Works2)
Function
GX Developer GX Works2
Maximum amount of 22
device initial value data to Only 1 data was able to be created. Up to 800 data can be created.
USING LIBRARIES
be created
It was able to create within the range of
Restriction of device It now can be created within the range of PLC parameter
maximum points for each
number device setting.
programmable controller of devices.
PLC write/read
Only 1 data was able to be read and
IC memory card write/ Selected multiple data can be read and written.
written.
read A
APPENDIX
I
INDEX
APPENDIX
Before using the search/replace function in GX Works2, please review the following precautions.
Description (differences between GX Developer and GX Works2)
Function
GX Developer GX Works2
The batch search function was not
All Find The batch search function is enabled by "All Find".
available.
Specified Range The replace function is enabled within a The replace function is enabled within the selected range
Replacing range of the specified step numbers. in a ladder program.
The search targets are added as follows:
1. Statements
The following were the search targets: 2. Notes
Find String 1. Statements 3. Device/Label names
2. Notes 4. Device/Label comments
5. Instruction names
6. Data types
The following devices could not be The following devices can be specified for "Find Device"
specified for "Find Device" or "Replace or "Replace Device":
Replace Device
Device": devices with digit, index setting, or indirect specification.
Device Batch Replace
devices with digit, index setting, or Note that, however, one of the specification needs to be a
indirect specification. label.
The device batch replace function is
enabled by specifying a device for
1 is the only value that can be set for the number of points
"Find Device" and a label for "Replace
Device Batch Replace to be replaced when a label is specified for "Replace
Device", and specifying more than two
Device".
points for the number of points to be
replaced.
CONTROLLER CPU
PROGRAMMABLE
Before using the online function in GX Works2, please review the following precautions.
OPERATING
Description (differences between GX Developer and GX Works2)
Function
GX Developer GX Works2
CONTROLLER STATUS
setting 'transfer setup' information. To change 'connection destination' information, select
'Connection Destination' in the Navigation window.
PROGRAMMABLE
Selecting [Online] [Write to PLC], allows simultaneous
DIAGNOSING
data write for CPU modules and intelligent function
Data write/read was not able to be
Data write/read for modules.
executed for CPU modules and
intelligent function module Selecting [Online] [Read from PLC], allows
intelligent function modules at once.
simultaneous data read for CPU modules and intelligent
function modules. 19
The 'PLC write (Flash ROM)' function is now integrated in
Flash ROM data write of It was enabled by the 'PLC write (Flash
EXTERNAL DEVICES
the 'Write to PLC' function.
CPU module ROM)' function.
Please select [Online] [Write to PLC].
OPERATIONS OF
Selecting [Online] [Remote Operation] and
SIMULATING
[Diagnostics] [System Monitor] / [PLC Diagnostics] can
Remote operation
display the module image and the programmable
PLC diagnostics
controller CPU operation status is now easy to see.
System monitor
The remote operation, memory operation, and clock
setup can be started from the PLC Diagnostics screen. 20
As the system monitor function was not The system monitor function has been supported by
System Monitor supported by LCPU, [Diagnostics] LCPU and the module image can be displayed by
[System Monitor] could not be selected. selecting [Diagnostics] [System Monitor].
PRINTING
The continuation error information
Continuation error information can be displayed using the
PLC Diagnostics display function of "PLC Diagnostics"
"PLC Diagnostics" function of LCPU.
was not supported by LCPU.
Registration/cancellation function of display module
Register/Cancel Display
Registration /cancellation function of
display module menus was not
menus has been supported by LCPU. 21
Module Menu Select [Online] [Register/Cancel Display Module
supported by LCPU.
SETTING OPTIONS
Menu].
Symbolic information in GX Developer format does not
include SFC programs.
Please read on the 'Simple project (without labels)'.
If symbolic information of GX Developer or GX IEC
Developer is read out, the project becomes uncompiled.
The Read from PLC function in Simple projects (with 22
labels) and Structured projects is supported by FXCPU of
Read from PLC the following models only.
USING LIBRARIES
For FX3U/FX3UC (Version 3.00 or later)
GX Developer starts and a new project is created with
data read from the programmable controller CPU when a
programmable controller series of the following CPU
types is specified: ACPU, QnACPU, QCPU (A mode),
Motion Controller (SCPU), CNC (M6/M7), Process CPU,
Redundant CPU, and Safety CPU. A
Writing symbolic information to programmable controller
CPU is supported by FXCPU of the following models
Write to PLC
only.
For FX3U/FX3UC (Version 3.00 or later)
APPENDIX
I
INDEX
APPENDIX
Before using the monitor/debug function in GX Works2, please review the following precautions.
Function 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.
Entry data monitor 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
Device batch monitoring integrated to realize the same operability.
Buffer batch monitoring 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
Debug function*1
function toolbar.
The STEP-RUN switch is not displayed on the GX Simulator2 screen. The
operating status of the simulation switches to STEP-RUN automatically by
executing the debug function from the debug function toolbar.
The Monitor Stop Condition screen cannot be closed while setting the monitor stop
condition.
The 'monitor stop condition' function cannot be performed when the monitoring
function is not being executed.
The Monitor Condition Setting screen or the Monitor Stop Condition Setting screen
cannot be opened when the following function is being performed or the screen is
being opened.
Online program change/program memory transfer
Monitor Condition Setting/Monitor Stop Intelligent function module monitoring
Condition Setting Program list monitoring
Interrupt program list monitoring
SFC all block batch monitoring
The Modify Value screen
The Forced Input Output Registration/Cancellation screen
Sampling trace
The CC-Link Diagnostics screen
The Monitor Condition Setting screen or the Monitor Stop Condition Setting screen
cannot be opened in MELSAP-L.
Before using the printing function in GX Works2, please review the following precautions.
Function Description
For the Print Window function, displayed image is subject to print/print window
preview.
Additional information print such as
To print with additional information such as statement and device comment, please
statement and device comment
put the desired information on the screen and then select [Project] [Print
Window] / [Print Window Preview].
CONTROLLER CPU
PROGRAMMABLE
Before copying project data saved in GX Works2, please review the following precautions.
OPERATING
Description (differences between GX Developer and GX Works2)
Function
GX Developer GX Works2
Please copy all the workspace name folders and
"workspacelist.xml" created in the same hierarchy as the
18
CONTROLLER STATUS
workspace name folders.
PROGRAMMABLE
*When only workspace name folders or project name
Save project data was able to be
DIAGNOSING
folders are copied, it is enabled to open the project in the
Copy saved project data copied by copying files under the copy destination.
project name folder. However, if saving after editing, the workspace name and
the project name need to be specified again.
A project data can be copied by saving data as a single
project with the "Save as a Single File Format Project"
19
function on the Save As screen.
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Appendix 4.14 Using PLC type change function
Before using the PLC type change function in GX Works2, please review the following precautions.
20
Description (differences between GX Developer and GX Works2)
Function
GX Developer GX Works2
PRINTING
Use PLC type change Intelligent function module data could Intelligent function module data can be transmitted in
function not be transmitted. PLC type conversion of Q series PLC and L series PLC.
21
Appendix 4.15 Using program check function
SETTING OPTIONS
Before using the program check function in GX Works2, please review the following precautions.
Description (differences between GX Developer and GX Works2)
Function
GX Developer GX Works2
USING LIBRARIES
Programs which follow the END instruction and do not
control were checked.
affect sequence control are not checked.
GX Developer GX Works2
Read IC Memory Card Symbolic information could not be read. Symbolic information can be read.
Symbolic information could not be
Symbolic information can be written.
Write IC Memory Card written. I
Passwords could not be set for LCPU. Passwords can be set for LCPU.
INDEX
APPENDIX
For the compatibility between GX Developer and GX Works2, please review the following precautions.
An error may occur at a compilation when a project which contains ST programs created in GX
Developer is opened in GX Works2. For modifying instructions which cause a compilation error, refer to
Appendix 18.
Function 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.
Function names of ST language are different between GX Developer and
GX Works2. Please compile and correct errors.
For a program which contains a utilized FB, the compiled program is not
identical with the program compiled with GX Developer.
To conform the compiled program to that compiled with GX Developer,
select [Tool] [Options] "Compile" "Basic Setting" and clear "Enable
function block call 'from ladder to Structured Ladder/FBD or ST' and 'from
Structured Ladder/FBD or ST to ladder'" in "Function Block Call".
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.
Open other project
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.
Local labels of timer, counter, retentive timer, and pointer cannot be used
for function blocks of ladder to be utilized in an ST program.
Change local labels to global labels.
Before opening a project in which constants are set to the structures,
delete the constants with GX Developer.
Target projects are:
(1) Simple project (without labels)
(2) Compiled Simple project (with labels)*1
Note: Projects using labels in SFC language are executed.
To execute, the following requirements must not be satisfied in the global
label settings.
(1) No device is set.
(2) The lengths of label name exceeds 16 characters.
Export to GX Developer format file
(3) Label name contains a device name or reserved word.
(4) An invalid character is used.
(5) Data type that is not supported by GX Developer is used.
(6) A value that is not constant is used in the constant.
Data registered to the global label is set as "Auto External" for all the local
labels.
Projects which include inline structured text cannot be saved in GX
Developer format.
CONTROLLER CPU
PROGRAMMABLE
For the compatibility between GX IEC Developer and GX Works2, please review the following
precautions. Projects for FXCPU created with GX IEC Developer cannot be opened with GX Works2.
OPERATING
Function Description
Function names of ST language are different between GX IEC Developer and GX Works2.
Open other project
Please compile and correct errors. 18
Before using GX IEC Developer user libraries with passwords enabled, please disable the
CONTROLLER STATUS
User library
passwords in GX IEC Developer.
PROGRAMMABLE
DIAGNOSING
Appendix 4.19 Key operation
This section explains the differences of key operation between GX Developer and GX Works2. 19
Shortcut key
EXTERNAL DEVICES
Function Description
GX Developer GX Works2
OPERATIONS OF
+ + *1
SIMULATING
Read mode Change to the read mode.
Edit
Write mode Change to the write mode. *1
Find/ Cross reference Display the cross reference. +
Replace Device List
Convert Block conversion
Display the device list.
Convert the SFC block being
+
20
++
Block (SFC block being edited) edited.
Switch display/non-display of
Project data list +
project data list.
PRINTING
Switch between project data list Switch the project data list and
View +
and window each window.
Switch the ladder window/list
Switch ladder/list +
window.
21
Start Monitor (all Execute the ladder monitoring
+
windows) for all the opened programs.
SETTING OPTIONS
Change to the write mode
Monitor Monitor (write mode)
during ladder monitoring.
+ + *1
Online
Device test ON/OFF or the current value
modification.
+
22
Run selected sequence
USING LIBRARIES
Skip execution +
Debug programs in skip execution.
Run sequence programs
Partial execution +
partially.
Run the programmable
Step run +
controller CPU in step run.
Remote operation Perform remote operations. +
A
*1 : In GX Works2, select "Use the Switching Ladder Edit Mode (Read, Write, Monitor, Monitor (Write))" 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.
APPENDIX
I
INDEX
APPENDIX
This section explains the compatibility of GX Works2 projects with projects created with existing applications.
Q03UDE, Q04UDEH, Q06UDEH, Q13UDEH, and GX Developer Version 8.68W or later U*1
Q26UDEH GX IEC Developer Version 7.03D
Q00UJ, Q00U, Q01U, Q10UDH, Q10UDEH,
Q20UDH, and Q20UDEH
GX Developer Version 8.76E or later U*1
*1 : When MELSAP-L format SFC programs are read with Version 1.24A or earlier, they are opened
in the MELSAP3 format.
CONTROLLER CPU
To use GX Configurator flash ROM setting saved files in GX Works2, write the data to the intelligent
PROGRAMMABLE
function module with GX Configurator, and then read the data using GX Works2.
OPERATING
(Reading intelligent function module data Section 12.1.4)
18
CONTROLLER STATUS
Reading projects created with GX Works2 to existing applications
PROGRAMMABLE
DIAGNOSING
Reading projects using GX Developer and IEC Developer
Projects created with GX Works2 can be read to GX Developer by saving them using "Export to GX
Developer Format File". ( Section 4.7)
Reading projects to GX IEC Developer or non-Windows applications such as GPPQ is not possible. 19
EXTERNAL DEVICES
When reading projects with GX Developer, application versions that can read projects differ
OPERATIONS OF
according to the programmable controller type of the project. The following table shows the relation
SIMULATING
between the programmable controller types of project and the read-applicable versions.
: Applicable
U: Applicable with restrictions
PRINTING
Q02U GX Developer Version 8.48A or later U*1
Q13UDH and Q26UDH GX Developer Version 8.62Q or later U*1
Q03UDE, Q04UDEH, Q06UDEH, Q13UDEH, and
GX Developer Version 8.68W or later U*1
21
Q26UDEH
SETTING OPTIONS
Q00UJ, Q00U, Q01U, Q10UDH, Q10UDEH,
Q20UDH, and Q20UDEH
GX Developer Version 8.76E or later U*1
USING LIBRARIES
*1 : For the restrictions in reading, refer to "SW D5C-GPPW Compatibility" of the GX
Developer Operating Manual.
I
INDEX
APPENDIX
This section explains the compatibility between the data written on the programmable controller CPU using
GX Developer or GX IEC Developer and the data read using GX Works2.
The following table shows the applicability of reading data written on 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
Reading
Programmable controller type Application
applicability
Q03UDE, Q04UDEH, Q06UDEH, Q13UDEH, and GX Developer Version 8.68W or later U*1
Q26UDEH GX IEC Developer Version 7.03D
Q00UJ, Q00U, Q01U, Q10UDH, Q10UDEH,
Q20UDH, and Q20UDEH
GX Developer Version 8.48A or later U*1
*1 : When MELSAP-L format SFC programs are read with Version 1.24A or earlier, they are opened
in the MELSAP3 format.
CONTROLLER CPU
PROGRAMMABLE
The following table shows the applicability of reading data written on the programmable controller CPU
OPERATING
using GX Works2 to existing applications.
Data created with the CPU types or programming languages not supported in existing applications
cannot be read.
18
U: Applicable with restrictions
CONTROLLER STATUS
Reading
PROGRAMMABLE
Programmable controller type Application
applicability
DIAGNOSING
Basic model QCPU GX Developer Version 8.00A or later U*1, *2, *4
High Performance model QCPU GX IEC Developer Version 7.00A or later U*3
GX Developer Version 8.45X or later U*1, *2, *4
Q03UD, Q04UDH, and Q06UDH
GX IEC Developer Version 7.03D U*3 19
GX Developer Version 8.48A or later U*1, *2, *4
EXTERNAL DEVICES
Q02U
U*3
OPERATIONS OF
GX IEC Developer Version 7.03D
SIMULATING
GX Developer Version 8.62Q or later U*1, *2, *4
Q13UDH and Q26UDH
GX IEC Developer Version 7.03D U*3
PRINTING
FX3U and FX3UC GX Developer Version 8.25B or later U*1, *5
FX3G GX Developer Version 8.72A or later U*1
FX1S, FX1N, FX1NC GX Developer Version 6.00A or later U*1
FX0, FX0S, FX0N, FX1, FXU, FX2C, FX2N, and
21
FX2NC
GX Developer Version 2.00A or later U*1
SETTING OPTIONS
*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. 22
*3 : Only execution programs can be read.
USING LIBRARIES
They can be displayed/edited as MELSEC-IL programs.
*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.
A
*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.
APPENDIX
I
INDEX
APPENDIX
The following table shows the reading applicability depending on the label setting when reading data
written on 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.
*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.
*5 : 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.
CONTROLLER CPU
PROGRAMMABLE
U: Applicable with restrictions
: Not applicable
OPERATING
Project type of GX Works2
Data Simple project Structured
Without labels With labels project
Ladder program 18
Program
CONTROLLER STATUS
SFC program U*1, *2
PROGRAMMABLE
PLC/Network/Remote password
Parameter
DIAGNOSING
Intelligent function module parameter
Common comment
(Global device comment)
Device comment
Comment by program
(Local device comment) 19
Device memory Device memory
EXTERNAL DEVICES
Device initial value Device initial value
OPERATIONS OF
SIMULATING
*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.
PRINTING
Data Simple project Structured
Without labels With labels project
Parameter PLC parameter
Program Program
21
SETTING OPTIONS
Common comment
(Global device comment)
Device comment
Comment by program
(Local device comment)
Device memory Device memory
22
USING LIBRARIES
A
APPENDIX
I
INDEX
APPENDIX
The following table shows the applicability of reading data written on 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.
QCPU (Q mode)
: Applicable
U: Applicable with restrictions
: Not applicable
Project type of GX Works2
Data Simple project Structured
Without labels With labels project
PLC parameter
Parameter Network parameter
Intelligent function module parameter
Program Program file *1
Symbolic
information U*2
(Symbolic data)
FXCPU
: Applicable
: Not applicable
Project type of GX Works2
Data Simple project
Structured project
(Without labels)
Parameter PLC parameter
Program Program file
Symbolic
information
(Symbolic data)
CONTROLLER CPU
PROGRAMMABLE
The following table shows the applicability of reading data written on the programmable controller CPU
OPERATING
using GX Works2 to existing applications.
Data created with the CPU types or programming languages not supported by existing applications
cannot be read.
18
QCPU (Q mode)
CONTROLLER STATUS
PROGRAMMABLE
: Applicable
U: Applicable with restrictions
DIAGNOSING
: Not applicable
Existing applications
Data
GX Developer GX IEC Developer
Symbolic information
19
Program/Program file U*1, *2, *4 U*3
Program
EXTERNAL DEVICES
SFC program/ SFC program file U *2, *5
OPERATIONS OF
PLC/Network/Remote password
SIMULATING
Parameter
Intelligent function module parameter
Global device comment
(Common comment)
Device comment
Local device comment
20
(Comment by program)
Device memory Device memory
PRINTING
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 : Only execution programs can be read. 21
They can be displayed/edited as MELSEC-IL programs.
SETTING OPTIONS
*4 : When structured ladder/FBD or ST programs are read from a programmable controller CPU using existing
applications, they are read as ladders, but there may be cases where the 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 : SFC block titles set in "Simple project (with labels)" are not restored when programs are read from a
programmable controller CPU in GX Developer. They are restored when the device comments are read 22
using GX Developer, after they have been set to the BL device and written in GX Works2.
USING LIBRARIES
FXCPU
: Applicable
: Not applicable
Existing applications
Data
GX Developer GX IEC Developer
Symbolic information
A
Program Program file *1
(Common comment)
Device comment
Local device comment
(Comment by program)
Device memory Device memory I
*1 : Only execution programs can be read.
They can be displayed/edited as MELSEC-IL programs.
INDEX
APPENDIX
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, depending on 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'.
Function Precaution
Projects for Q00UJ, Q00U, Q01U, Q10UDH, Q10UDEH, Q20UDH, Q20UDEH, and FXCPU cannot
be opened in GX Works2 Version 1.05F.
Open 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 (;).
The project revision function cannot be used when the length the full path of the project file
(Project.gd2) exceeds 256 bytes.
Project Revision
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.
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 selected in the serial communication setting with Q02U.
Parameter
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
Instruction '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.
App - 80
Appendix 7 Compatibility with Existing Applications
CONTROLLER CPU
PROGRAMMABLE
Function Precaution
OPERATING
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
Open
or earlier. 18
Simple projects (with labels) for FXCPU or projects for the FXCPU containing the SFC language
CONTROLLER STATUS
cannot be opened in GX Works2 Version 1.08J or earlier.
PROGRAMMABLE
Newly added items in data of Q62AD-DGH/Q66AD-DG module cannot be displayed and changed in
DIAGNOSING
Intelligent function module
GX Works2 Version 1.08J or earlier. In addition, data of items newly added since Version 1.10L or
data
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
Write to PLC/Read from
written to the programmable controller CPU in GX Works2 Version 1.12N or later cannot be read from
PLC
the programmable controller CPU. 19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Handling GX Works2 Version 1.15R projects in GX Works2 Version 1.12N or
earlier 20
Function Precaution
When a project is opened in GX Works2 Version 1.12N or earlier, system labels are read as global
PRINTING
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.
Open 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
21
executing the verification synchronous function.
SETTING OPTIONS
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.
When a project is opened in GX Works2 Version 1.12N or earlier, the connection destination setting
Connection destination
to use the GOT (Ethernet) transparent is changed. Reconfigure the connection destination setting
setting
according to the actual communication route.
22
Symbolic information of projects which contain contact instructions newly added for structured ladder
Write to PLC/Read from
and ST cannot be read from the programmable controller CPU in GX Works2 Version 1.12N or
USING LIBRARIES
PLC
earlier.
A user library which contains contact instructions newly added for structured ladder and ST cannot be
Library
opened in GX Works2 Version 1.12N or earlier.
A
APPENDIX
I
INDEX
App - 81
GX Works2
APPENDIX
Function Precaution
When a project which contains the switch setting of Q62DA-FG/Q66DA-G module set to "4 to 20mA
Intelligent function module
(extended mode)" or "1 to 5V (extended mode)" is opened in GX Works2 Version 1.15R or earlier, the
data
setting is reset to default ("4 to 20mA").
When a project for FX3U/FX3UC is opened in GX Works2 Version 1.15R or earlier, the connection
Connection destination
destination setting which is set for the Ethernet connection is reset to default.
setting
Reconfigure the connection destination setting according to the actual communication route.
Function Precaution
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
Open
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.
Projects cannot be handled in GX Works2 Version 1.24A or earlier when "CC IE Field (Master
Parameter
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.
Intelligent function module
Projects cannot be handled in GX Works2 Version 1.24A or earlier when the following parameters
data
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
App - 82
Appendix 7 Compatibility with Existing Applications
CONTROLLER CPU
PROGRAMMABLE
Function Precaution
OPERATING
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. 18
Be aware the following precautions when handling a project in which system labels are used for
CONTROLLER STATUS
FXCPU,
PROGRAMMABLE
System labels are read as global labels when a project is opened in GX Works2 Version 1.12N or
Open
earlier. If a project in which rows of global label are moved or deleted is saved in GX Works2
DIAGNOSING
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 19
executing the verification synchronous function.
EXTERNAL DEVICES
When a project in which the communication route via Ethernet adapter module is set is opened in GX
OPERATIONS OF
Connection destination
Works2 Version 1.31H or earlier, the communication route is changed to programmable controller
setting
SIMULATING
direct connection setting.
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.
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, 20
the setting is deleted.
For Universal model QCPU, when a project in which bit-specified word device comments are set is
Device comment
opened in GX Works2 Version 1.31H or earlier, the bit-specified word device comments are deleted.
PRINTING
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.
Build
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
21
changing the devices not to overlap with the ones set for Device/Label Automatic-Assign Setting.
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
App - 83
GX Works2
APPENDIX
Function Precaution
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.
Open 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.
Intelligent function module When a project which contains QD65PD2 or LD77MH16 is opened in GX Works2 Version 1.44W or
data earlier, the module becomes a reserved module.
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 connection setting.
Connection destination When a project in which the communication route via GOT from Ethernet board is set is opened in
setting 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
Write to PLC/Read from program is displayed as an improper ladder program.
PLC 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.
When a project with a condition described as follows is opened in GX Works2 Version 1.44W or
earlier, the operation is not ensured.
Language selection 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.
Function Precaution
A project in which multiple devices are selected in the device/label automatic-assign setting cannot
Open
be opened in GX Works2 Version 1.49B or earlier.
Intelligent function module When a project which contains QJ71MT91 or QJ71MB91 is opened in GX Works2 Version 1.49B or
data earlier, the module becomes a reserved module.
When a project in which the communication route via CC-Link IE Field Network master/local module
Connection destination
is set for LCPU is opened in GX Works2 Version 1.49B or earlier, the communication route is
setting
changed to programmable controller direct connection setting.
When a project in which "CC IE Field (Master Station)" and "CC IE Field (Local Station)" are set in the
Parameter network parameter of LCPU is opened in GX Works2 Version 1.49B or earlier, the network
parameters are changed to default settings.
Write to PLC/Read from A project in which multiple devices are selected in the device/label automatic-assign setting cannot
PLC be read from a programmable controller CPU in GX Works2 Version 1.49B or earlier.
App - 84
Appendix 7 Compatibility with Existing Applications
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Function Precaution
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.
Open
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.
18
CONTROLLER STATUS
A project which contains Q64TCTTN, Q64TCTTBWN, Q64TCRTN, or Q64TCRTBWN opens as a
PROGRAMMABLE
project of Q64TCTTN, Q64TCTTBWN, Q64TCRTN, Q64TCRTBWN respectively.
Intelligent function
DIAGNOSING
Added items cannot be displayed or changed in GX Works2 Version 1.55H or earlier.
module data
When a project which contains L60TCTT4, L60TCTT4BW, L60TCRT4, or L60TCRT4BW is
opened in GX Works2 Version 1.55H or earlier, those modules become reserved modules.
When the simple PLC communication setting is set in the PLC parameter of LCPU, the project
Parameter
cannot be handled in GX Works2 Version 1.55H or earlier. 19
When the serial communication setting is set in the PLC parameter of QnUD(H)CPU, the project
EXTERNAL DEVICES
cannot be handled in GX Works2 Version 1.55H or earlier.
OPERATIONS OF
SIMULATING
Handling GX Works2 Version 1.64S projects in GX Works2 Version 1.62Q or
earlier
20
Function Precaution
Projects cannot be handled in GX Works2 Version 1.62Q or earlier when the following parameters
Parameter are set.
PRINTING
When "Branch Module" is set for the I/O assignment setting on PLC parameter of LCPU.
SETTING OPTIONS
For LCPU, when a project in which bit-specified word device comments are set is opened in GX
Device comment
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
Print header/footer is opened in GX Works2 Version 1.62Q or earlier. Delete the entered string patterns
and set the setting again.
Write to PLC/Read from For projects of LCPU, device comment files which contain bit-specified comments cannot be read
PLC from the programmable controller CPU in GX Works2 Version 1.62Q or earlier. 22
USING LIBRARIES
A
APPENDIX
I
INDEX
App - 85
GX Works2
APPENDIX
Function Precaution
When a project which contains Q64ADH is opened in GX Works2 Version 1.64S or earlier, the
module becomes a reserved module.
A project in which the auto refresh parameter of temperature control module is set in the Setting
Open
item reduction mode cannot be opened in GX Works2 Version 1.64S or earlier.
A project in which parameters are set in the FXCPU network parameter cannot be opened in GX
Works2 Version 1.64S or earlier.
Projects cannot be handled in GX Works2 Version 1.64S or earlier when the following parameters
are set.
Parameter
When the station information of CC-Link is set on the CC-Link configuration window.
When "Branch Module" is set on the <<I/O Assignment>> tab of PLC parameter for LCPU.
An error occurs when a program in which function blocks of ladder program are used in a structured
Compile ladder/FBD program, or function blocks of structured ladder/FBD program are used in a ladder
program, is opened and compiled in GX Works2 Version 1.64S or earlier.
IC memory card write/ IC memory card data to which a password is set cannot be read in GX Works2 Version 1.64S or
read earlier.
Function Precaution
Open Projects for FX3GC cannot be opened in GX Works2 Version 1.75D or earlier.
Projects cannot be handled in GX Works2 Version 1.75D or earlier when the following parameters
are set.
When "Use" is selected for the IP Packet Transfer setting on the <<Built-in Ethernet Port Setting>>
Parameter tab of PLC parameter.
When "CC IE Field (Sub-Master Station)" is selected for "Network Type" in the network parameter.
When "Sub-Master Station" is selected for "Station Type" of "Network Configuration Settings".
When the IP address is set for "Network Operation Settings".
When a project which contains Q68CT, QD77MS2, QD77MS4, QD77MS16, LD75P1, LD75P2,
Intelligent function
LD75D1, or LD75D2 is opened in GX Works2 Version 1.75D or earlier, these modules become
module data
reserved modules.
App - 86
Appendix 8 Restrictions When Saving Projects in GX Developer Format
17
Appendix 8 Restrictions When Saving Projects in GX Developer Format
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote 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. 18
CONTROLLER STATUS
GX Works2 data Restrictions
PROGRAMMABLE
Title The 33rd and later characters are deleted.
DIAGNOSING
Project
Comment Deleted.
Data other than intelligent function module parameters (initial setting, auto 19
refresh) are deleted.
Intelligent function
Intelligent function module data QD75P1N, QD75P2N, QD75P4N, QD75D1N, QD75D2N, and QD75D4N are
EXTERNAL DEVICES
module
saved as QD75P1, QD75P2, QD75P4, QD75D1, QD75D2, and QD75D4
OPERATIONS OF
respectively.
SIMULATING
Comment Deleted.
Structured Data
Types*1 The 65th and later characters are deleted.
Label Comment
If a line feed is entered, delete anything following the line feed.
Title Deleted.
PRINTING
Comment Deleted.
Global Label*1 The 65th and later characters are deleted.
Comment
If a line feed is entered, delete anything following the line feed.
Label
21
Remarks Deleted.
SETTING OPTIONS
FB instance Deleted.
Comment Deleted.
USING LIBRARIES
Comment Deleted.
Comment Deleted.
Device Memory
Duplicated devices Latter device is preferred.
I
*1 : Not supported by FXCPU.
*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.
INDEX
App - 87
GX Works2
APPENDIX
Instructions that can be used in ST programs differ in between GX Works2 and GX Developer. As a
result, an error may occur when a project that includes an ST program and is saved in GX Developer
format is read and compiled with GX Developer. In such case, correct the ST program according to the
following table.
GX Works2 GX Developer GX Works2 GX Developer GX Works2 GX Developer
ACOS *1 DFLT DFLT_M INC INC_M
ACOS
ASIN ASIN*1 DFRO DFRO_M LEFT LEFT*1
ATAN ATAN*1 DGBIN DGBIN_M LEN LEN*1
BACOS BACOS_MD DGRY DGRY_M LIMITATION LIMIT
BAND BAND_MD DI DI_M MAXIMUM MAX
BASIN BASIN_MD DINC DINC_M MIDR MIDR_M
BATAN BATAN_MD DIS DIS_M MIDW MIDW_M
BCD BCD_M DLIMIT DLIMIT_MD MINIMUM MIN
BCOS BCOS_MD DMAX DMAX_M NDIS NDIS_M
BDSQR BDSQR_MD DMIN DMIN_M NEG NEG_M
BIN BIN_M DNEG DNEG_M NUNI NUNI_M
BKAND BKAND_M DOR DOR_M OUT OUT_M
BKBCD BKBCD_M DRCL DRCL_M PLOW PLOW_M
BKBIN BKBIN_M DRCR DRCR_M POFF POFF_M
BKOR BKOR_M DROL DROL_M PSCAN PSCAN_M
BKRST BKRST_M DROR DROR_M PSTOP PSTOP_M
BKXNR BKXNR_M DSER DSER_M QCDSET QCDSET_M
BKXOR BKXOR_M DSFL DSFL_M QDRSET QDRSET_M
BMOV BMOV_M DSFR DSFR_M RCL RCL_M
BRST BRST_M DSORT DSORT_M RCR RCR_M
BSET BSET_M DSUM DSUM_M RFS RFS_M
BSFL BSFL_M DTEST DTEST_MD RIGHT RIGHT*1
BSFR BSFR_M DTO DTO_M RND RND_M
BSIN BSIN_MD DWSUM DWSUM_M ROL_E ROL*1
BSQR BSQR_MD DXCH DXCH_M ROR_E ROR*1
BTAN BTAN_MD DXNR DXNR_M RSET RSET_MD
BTOW BTOW_MD DXOR DXOR_M RST RST_M
BXCH BXCH_M DZONE DZONE_MD SECOND SECOND_M
CML CML_M EI EI_M SEG SEG_M
COM COM_M EMOD EMOD_M SER SER_M
COS COS*1 ENCO ENCO_M SET SET_M
DATERD DATERD_MD ENEG ENEG_M SFL SFL_M
DATEWR DATEWR_MD EREXP EREXP_M SFR SFR_M
DBAND DBAND_MD ESTR ESTR_M SFT SFT_M
DBCD DBCD_M EVAL EVAL_M SIN SIN*1
DBIN DBIN_M EXP EXP*1 SORT SORT_M
DBL DBL_M FLT FLT_M SRND SRND_M
DCML DCML_M FMOV FMOV_M STOP STOP_M
DDEC DDEC_M FROM FROM_M SUM SUM_M
DEC DEC_M GBIN GBIN_M SWAP SWAP_MD
DECO DECO_M GRY GRY_M TAN TAN*1
DELTA DELTA_M HOUR HOUR_M TEST TEST_MD
CONTROLLER CPU
PROGRAMMABLE
WAND WAND_M WTOB WTOB_MD ZONE ZONE_MD
WDT WDT_M WXNR WXNR_M
OPERATING
WOR WOR_M WXOR WXOR_M
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
APPENDIX
Appendix 9 Character Strings that cannot be Used for Label Names and Data Names
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
5 Task name
7 Structure name
8 POU name
9 Label name
App - 90
Appendix 9 Character Strings that cannot be Used for Label Names and Data Names
17
Character string 1 2 3 4 5 6 7 8 9
CONTROLLER CPU
LD, LDN, ST, STN, S, S1, R, R1, AND, ANDN, OR, ORN,
PROGRAMMABLE
XOR, XORN, ADD, SUB, MUL, DIV, GT, GE, EQ, NE, LE, LT,
OPERATING
JMP, JMPC, JMPCN, CAL, CALC, CALCN, RET, RETC,
RETCN
IL operator
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, U*1 18
STOP, PAGE, NOP, NOPLF
CONTROLLER STATUS
Application instructions such as DMOD, PCHK, and INC(P)
PROGRAMMABLE
Application instruction MELSEC-Q/L Programming Manual (Common
U*1
DIAGNOSING
in GX Works2 Instructions), MELSEC-Q/L Structured Programming Manual
(Common Instructions)
SFCP, SFCPEND, BLOCK, BEND, TRANL, TRANO,
TRANA, TRANC, TRANCA, TRANOA, SEND, TRANOC,
TRANOCA, TRANCO, TRANCOC, STEPN, STEPD, 19
SFC instruction STEPSC, STEPSE, STEPST, STEPR, STEPC, STEPG, U*1
STEPI, STEPID, STEPISC, STEPISE, STEPIST, STEPIR,
EXTERNAL DEVICES
TRANJ, TRANOJ, TRANOCJ, TRANCJ, TRANCOJ,
OPERATIONS OF
TRANCOCJ
SIMULATING
RETURN, IF, THEN, ELSE, ELSIF, END_IF, CASE, OF,
END_CASE, FOR, TO, BY, DO, END_FOR, WHILE,
END_WHILE, REPEAT, UNTIL, END_REPEAT, EXIT, TYPE,
END_TYPE, STRUCT, END_STRUCT, RETAIN,
ST code body
VAR_ACCESS, END_VAR, FUNCTION, END_FUNCTION, 20
FUNCTION_BLOCK, END_FUNCTION_BLOCK, STEP,
INITIAL_STEP, END_STEP, TRANSITION,
END_TRANSITION, FROM, UNTIL, WHILE
Function name in Function names in application functions such as AND_E and
PRINTING
application function NOT_E
Function block name Function block names in application functions such as CTD
in application function and CTU
/, \, *, ?, <, >, |, ", :, [, ], ,, =, +, %, ', ~, @, {, }, &, ^, ., tab
character
21
Symbol
SETTING OPTIONS
;
!, #, $, `
Date and time literal DATE, DATE_AND_TIME, DT, TIME, TIME_OF_DAY, TOD
ACTION, END_ACTION, CONFIGURATION,
END_CONFIGURATION, CONSTANT, F_EDGE, R_EDGE,
AT, PROGRAM, WITH, END_PROGRAM, TRUE, FALSE,
READ_ONLY, READ_WRITE, RESOURCE, 22
Others END_RESOURCE, ON, TASK, EN, ENO, BODY_CCE,
BODY_FBD, BODY_IL, BODY_LD, BODY_SFC, BODY_ST,
USING LIBRARIES
END_BODY, END_PARAMETER_SECTION,
PARAM_FILE_PATH, PARAMETER_SECTION, SINGLE,
RETAIN, INTERVAL
String that starts with
Such as K1AAA U*1
K1 to K8
Address Such as %IX0
A
;FB BLK START, ;FB START, ;FB END, ;FB BLK END, ;FB
Statement in ladder
IN, ;FB OUT, ;FB_NAME, ;INSTANCE_NAME,
language
;FB, ;INSTANCE
Common instruction Such as MOV U*3
APPENDIX
App - 91
GX Works2
APPENDIX
In a function, the same name as the function cannot be used for a label.
A space cannot be used.
A numeral cannot be used at the beginning of label name.
A label name is not case-sensitive. An error may occur at compilation when the same label names
with different cases (example: 'AAA' and 'aaa') are declared.
In structured ladder/FBD and ST programs, the same label name can be used for a global label
and local label by setting the following option*1.
*1 : Select "Use the same label name in global label and local label" under [Tool] [Options] "Compile"
"Basic Setting".
An underscore (_) cannot be used at the beginning or end of label name.
Consecutive underscores (_) cannot be used for a data name or a label name.
For Simple projects, function names and function block names in common instructions and
application functions can be used.
App - 92
Appendix 10 Restrictions When Changing Programmable Controller
17
Appendix 10 Restrictions When Changing Programmable Controller
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote
FX 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. 18
CONTROLLER STATUS
For the restrictions applied when changing a programmable controller type between QCPU (Q mode)/LCPU
PROGRAMMABLE
and communication head module, refer to Appendix 10.8.
DIAGNOSING
For the restrictions applied when changing a programmable controller type of FXCPU, refer to Appendix 10.9.
New programmable controller type
Old Q00U,
programmable High Built-in
controller type
Basic model
QCPU
Performance QnUD(H)CPU
Q00UJ,
Q01U,
Ethernet port LCPU 19
model QCPU QCPU
Q02U
EXTERNAL DEVICES
Basic model Table App.10.3-1 Table App.10.7-1
OPERATIONS OF
Table App.10.6-1 Table App.10.5-2 Table App.10.2-4 Table App.10.4-3
QCPU Table App.10.3-5 Table App.10.7-6
SIMULATING
High
Table App.10.6-1 Table App.10.3-1 Table App.10.7-1
Performance Table App.10.2-1 Table App.10.4-1
Table App.10.6-2 Table App.10.3-2 Table App.10.7-2
model QCPU
Table App.10.6-1 Table App.10.3-1 Table App.10.7-1
QnUD(H)CPU
Table App.10.6-3
Table App.10.5-1
Table App.10.3-3
Table App.10.7-3 20
Q00U,
Q00UJ, Table App.10.6-1 Table App.10.7-1
Table App.10.5-1 Table App.10.2-2 Table App.10.3-1 Table App.10.4-2
Q01U, Table App.10.6-3 Table App.10.7-4
Q02U
PRINTING
Built-in
Table App.10.6-1 Table App.10.3-1 Table App.10.7-1
Ethernet port Table App.10.5-1 Table App.10.2-3
Table App.10.6-3 Table App.10.3-4 Table App.10.7-5
QCPU
LCPU
Table App.10.6-1
Table App.10.5-3 Table App.10.2-5
Table App.10.3-1
Table App.10.4-4 Table App.10.7-1 21
Table App.10.6-4 Table App.10.3-6
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
App - 93
GX Works2
APPENDIX
The following table shows the common restrictions applied when changing a programmable controller
series or type.
Table App.10.1-1
U: With restrictions
Project type
Simple project Struct
Item Restrictions
Without With ured
labels labels project
Connection destination data other than "Connection 1"
are deleted. Connection 1 is changed to the setting for
accessing the programmable controller CPU directly
coupled to a personal computer.
Connection destination
If the changed programmable controller type is Basic U U U
setting model QCPU/FXCPU, 'RS-232' is set to "PC side IF".
If the changed programmable controller type is other
than Basic model QCPU/FXCPU, 'USB' is set for "PC
side IF".
Compilation status Programs are set in the uncompiled status. U U
Saved project status Programs are changed in the project-unsaved status. U U U
Password/Keyword status Passwords returns to the registered status if unlocked. U U U
Devices with unsupported instructions and those outside
Program the range are changed to SM1255 or SD1255 (SM999 or U
SD999).
If a program exceeds the program capacity of the
changed programmable controller type, the exceeding U
ladder blocks are deleted.
Ladder language A ladder block containing an unsupported instruction is
displayed in yellow.
(Motion dedicated sequence instructions for changing U U
from QnUD(H)CPU or Built-in Ethernet port QCPU to
LCPU are excluded.)
Structured ladder/FBD An x mark is appended on a ladder symbol of an
U
language unsupported instruction.
Common instructions/application functions are changed
Library to libraries appropriate for the changed programmable U
controller type.
Global Device Comment
Local Device Comment Devices not supported by the changed programmable
U U U
Device Memory controller type and those outside the range are deleted.
Device Initial Value
Settings are changed to those appropriate for the
changed programmable controller type.
The default values in the changed programmable
controller series/type are set to the data which cannot be
edited in the changed programmable controller series/
type.
Network types which cannot be set for the changed
PLC Parameter programmable controller type are deleted.
U U U
Network Parameter When the module set as "Valid Module During Other
Station Access" is to be deleted at the programmable
controller type change (module not supported by the
changed programmable controller type), the first module
is set as the valid module.
If the number of device points set for the refresh device is
outside the range or the device is not available, the
setting for the refresh device is deleted.
App - 94 Appendix 10.1 Common restrictions when changing programmable controller series/types
Appendix 10 Restrictions When Changing Programmable Controller
U: With restrictions
17
Project type
CONTROLLER CPU
PROGRAMMABLE
Simple project Struct
Item Restrictions
ured
OPERATING
Without With
labels labels project
Settings are changed to those appropriate for the
changed programmable controller type.
Device/Label Automatic-
Assign Setting
The default values in the changed programmable
controller series/type are set to the data which cannot be
U U 18
CONTROLLER STATUS
edited in the changed programmable controller series/
type.
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Appendix 10.1 Common restrictions when changing programmable controller series/types App - 95
GX Works2
APPENDIX
The following tables show the restrictions applied when changing a programmable controller series/
type to QnUD(H)CPU.
Table App.10.2-1
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project
labels labels
If "Convert motion dedicated sequence instruction" is selected,
Program S.instructions are converted to D.instructions. U
( Appendix 11)
The property settings "SFC Program Type Setting", "Periodic
SFC language Execution Block", "Act at Block Multi-Activated", and "Act at U U U
Step Multi-Activated" are deleted.
PLC Parameter
If the constant scan time is set in the PLC RAS setting,
PLC System "Execute it while waiting for constant scan setting" is set to the U U U
service processing setting in the PLC System setting.
If "Low Speed" is set to "Execute Type" in the Program setting, it
Program U U U
is changed to "Standby".
If "Standard ROM" is set to "Transfer from", it is changed to
Boot File U U U
"Memory Card (ROM)".
Table App.10.2-2
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project
labels labels
A series-compatible SM/SD devices (SM/SD1000 to SM/SD1255)
are changed to the corresponding devices for Q series.
Program U
If "Convert motion dedicated sequence instruction" is selected,
S.instructions are converted to D.instructions. ( Appendix 11)
Remote Password Any existing settings are cleared. U U U
CONTROLLER CPU
Table App.10.2-3
PROGRAMMABLE
OPERATING
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project 18
labels labels
CONTROLLER STATUS
Only the settings of Built-in Ethernet port QCPU are cleared. (The
Remote Password U U U
PROGRAMMABLE
settings of QJ71E71 and QJ71C24/CMO are not cleared.)
DIAGNOSING
Changing from Basic model QCPU
19
Table App.10.2-4
EXTERNAL DEVICES
U: With restrictions
OPERATIONS OF
Project type
SIMULATING
Simple project
Item Restrictions Structured
Without With project
labels labels
If "Convert motion dedicated sequence instruction" is selected, 20
Program S.instructions are converted to D.instructions. U
(Excluding Q00J. Appendix 11)
PLC Parameter
When changing from Q00 or Q01, "Use the following file" is
PRINTING
selected and "Corresponding Memory: Standard RAM", "File
PLC File U U U
Name: MAIN", and "Capacity: 64K Points" are set in the file register
setting.
If "Do boot from standard ROM" is selected before changing the 21
programmable controller type, "Type: Sequence", "Data Name:
Boot File U U U
SETTING OPTIONS
MAIN", "Transfer From: Memory Card (ROM)", and "Transfer To:
Program Memory" are set.
Table App.10.2-5
22
USING LIBRARIES
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project
labels labels
When changing from L02/L02-P, any existing settings are cleared.
When changing from L26-BT/L26-PBT, the settings of the built-in
A
Remote Password U U U
Ethernet are cleared. The settings of LJ71C24 are replaced to the
settings of QJ71C24/CMO.
Network Parameter
APPENDIX
If the number of modules is one and "Start I/O No." is outside the
CC-Link IE Field
range, its maximum value is set. If the number of modules is two, U U U
Network
"Start I/O No." is set starting from 0000.
I
INDEX
APPENDIX
Table App.10.3-1
U: With restrictions
Project type
App - 98 Appendix 10.3 Restrictions when changing to Q00U, Q00UJ, Q01U, or Q02U
Appendix 10 Restrictions When Changing Programmable Controller
CONTROLLER CPU
Table App.10.3-2
PROGRAMMABLE
OPERATING
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project 18
labels labels
CONTROLLER STATUS
Program
PROGRAMMABLE
The property settings "SFC Program Type Setting", "Periodic
DIAGNOSING
SFC language Execution Block", "Act at Block Multi-Activated", and "Act at U U U
Step Multi-Activated" are deleted.
PLC Parameter
If the constant scan time is set in the PLC RAS setting,
PLC System "Execute it while waiting for constant scan setting" is set to the U U U 19
service processing setting in the PLC System setting.
EXTERNAL DEVICES
If the number of programs exceeds the allowable number, the
OPERATIONS OF
exceeding settings are deleted.
Program U U U
If "Low Speed" is set to "Execute Type" in the Program setting,
SIMULATING
it is changed to "Standby".
If "Standard ROM" is set to "Transfer from", it is changed to
Boot File U U U
"Memory Card (ROM)". (Q02U only)
20
Changing from QnUD(H)CPU
PRINTING
Table App.10.3-3
U: With restrictions
Project type
21
Simple project
Item Restrictions Structured
SETTING OPTIONS
Without With project
labels labels
If "Convert motion dedicated sequence instruction" is selected,
Program D.instructions are converted to S.instructions. U
(Excluding Q00UJ. Appendix 11)
PLC Parameter
If "Capacity" exceeds 16K points in "File used for SP.DEVST/ 22
PLC File S.DEVLD Instruction", the setting is set to 16K points for Q02U, U U U
and 1K points for Q00U, Q00UJ, and Q01U.
USING LIBRARIES
If the number of programs exceeds the allowable number, the
Program U U U
settings are set to default.
If the points exceeding 8K points are specified for S device, the
Device U U U
setting is set to 8K points.
A
APPENDIX
I
INDEX
Appendix 10.3 Restrictions when changing to Q00U, Q00UJ, Q01U, or Q02U App - 99
GX Works2
APPENDIX
Table App.10.3-4
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project
labels labels
If "Convert motion dedicated sequence instruction" is selected,
Program D.instructions are converted to S.instructions. U
(Excluding Q00UJ. Appendix 11)
PLC Parameter
If a device that exceed the range of the Device setting is set to
PLC System "Latch Data Backup Operation Valid Contact", the setting is U U U
deleted.
If the capacity exceeds 16K points in "File used for SP.DEVST/
PLC File S.DEVLD Instruction", the setting is set to 16K points for Q02U, U U U
and 1K points for Q00U, Q00UJ, and Q01U.
If the number of programs exceeds the allowable number, the
Program U U U
settings are set to default.
If the points exceeding 8K points are specified for S device, the
Device U U U
setting is set to 8K points.
Table App.10.3-5
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project
labels labels
PLC Parameter
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
PLC File U U U
the File Register setting.
When changing from Q00 or Q01 to Q00UJ, "Not Used" is selected
in the File Register setting
Device/Label
When changing from Q00 or Q01 to Q00UJ, the default value is
Automatic-Assign U U
set.
Setting
App - 100 Appendix 10.3 Restrictions when changing to Q00U, Q00UJ, Q01U, or Q02U
Appendix 10 Restrictions When Changing Programmable Controller
CONTROLLER CPU
Table App.10.3-6
PROGRAMMABLE
OPERATING
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project 18
labels labels
CONTROLLER STATUS
When changing from L02/L02-P, the settings of the built-in Ethernet
PROGRAMMABLE
are cleared. The settings of LJ71C24 are replaced to the settings
DIAGNOSING
Remote Password of QJ71C24/CMO. U U U
When changing from the L26-BT/L26-PBT, any existing settings
are cleared.
PLC Parameter
PLC System
If "Start I/O No." in the interrupt point setting of the intelligent
function module setting is outside the range, the setting is deleted.
U U U 19
EXTERNAL DEVICES
When changing to Q00U, Q00UJ, or Q01U, if an item other than
"Program Memory" or "Standard ROM" is set to "Corresponding
OPERATIONS OF
PLC File U U U
Memory" in the initial device value setting, it is changed to
SIMULATING
"Program Memory".
When changing to Q00UJ, "System Memory" is set to
PLC RAS U U U
"Corresponding Memory".
Network Parameter
If the number of modules is one and "Start I/O No." is outside the
20
CC-Link IE Field
range, its maximum value is set. If the number of modules is two, U U U
Network
"Start I/O No." is set starting from 0000.
If "H/W Test" or "Loop Test" is set to "Mode", the setting is deleted.
PRINTING
If the number of modules is one and "Start I/O No." is outside the
CC-Link U U U
range, its maximum value is set. If the number of modules is two,
"Start I/O No." is set starting from 0000.
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Appendix 10.3 Restrictions when changing to Q00U, Q00UJ, Q01U, or Q02U App - 101
GX Works2
APPENDIX
The following tables show the restrictions applied when changing a programmable controller series/
type to built-in Ethernet port QCPU.
Table App.10.4-1
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project
labels labels
If "Convert motion dedicated sequence instruction" is selected,
Program S.instructions are converted to D.instructions. U
( Appendix 11)
The property settings "SFC Program Type Setting", "Periodic
SFC language Execution Block", "Act at Block Multi-Activated" and "Act at Step U U U
Multi-Activated" are deleted.
PLC Parameter
If the constant scan time is set in the PLC RAS setting,
PLC System "Execute it while waiting for constant scan setting" is set to the U U U
service processing setting in the PLC System setting.
If "Low speed" is set to "Execute Type" in the Program setting, it
Program U U U
is changed to "Standby".
If "Standard ROM" is set to "Transfer from", it is changed to
Boot File U U U
"Memory Card (ROM)".
Table App.10.4-2
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project
labels labels
A series-compatible SM/SD devices (SM/SD1000 to SM/SD1255)
are changed to the corresponding devices for Q series.
Program U
If "Convert motion dedicated sequence instruction" is selected,
S.instructions are converted to D.instructions. ( Appendix 11)
Remote Password Any existing settings are cleared. U U U
App - 102 Appendix 10.4 Restrictions when changing to built-in Ethernet port QCPU
Appendix 10 Restrictions When Changing Programmable Controller
CONTROLLER CPU
Table App.10.4-3
PROGRAMMABLE
OPERATING
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project 18
labels labels
CONTROLLER STATUS
If "Convert motion dedicated sequence instruction" is selected,
PROGRAMMABLE
Program S.instructions are converted to D.instructions. U
DIAGNOSING
(Excluding Q00J. Appendix 11)
PLC Parameter
When changing from Q00 or Q01, "Use the following file" is
selected and "Corresponding Memory: Standard RAM", "File
PLC File U U U
Name: MAIN", and "Capacity: 64K Points" are set in the file
register setting.
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
Changing from LCPU
Table App.10.4-4
U: With restrictions 20
Project type
Simple project
Item Restrictions Structured
Without With project
PRINTING
labels labels
When changing from L02/L02-P, any existing settings are cleared.
When changing from L26-BT/L26-PBT, the settings of Ethernet
Remote Password
module are deleted. The settings of the built-in Ethernet are
replaced to the settings appropriate for the changed programmable
U U U 21
controller type. The settings of LJ71C24 are replaced to the
SETTING OPTIONS
settings of QJ71C24/CMO.
Network Parameter
CC-Link If "H/W Test" or "Loop Test" is set to "Mode", the setting is deleted. U U U
If the number of modules is one and "Start I/O No." is outside the
CC-Link IE Field
range, its maximum value is set. If the number of modules is two, U U U
Network
"Start I/O No." is set starting from 0000.
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Appendix 10.4 Restrictions when changing to built-in Ethernet port QCPU App - 103
GX Works2
APPENDIX
The following tables show the restrictions applied when changing a programmable controller series/
type to High Performance model QCPU.
App - 104 Appendix 10.5 Restrictions when changing to High Performance model QCPU
Appendix 10 Restrictions When Changing Programmable Controller
CONTROLLER CPU
Table App.10.5-2
PROGRAMMABLE
OPERATING
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project 18
labels labels
CONTROLLER STATUS
PLC Parameter
PROGRAMMABLE
When changing from Q00 or Q01, "Use the following file" is
DIAGNOSING
selected and "Corresponding Memory: Standard RAM", "File
PLC File U U U
Name: MAIN", and "Capacity: 64K Points" are set in the file
register setting.
19
Changing from LCPU
EXTERNAL DEVICES
OPERATIONS OF
Table App.10.5-3
SIMULATING
U: With restrictions
Project type
Item Restrictions
Simple project
Structured 20
Without With project
labels labels
Device comment Bit-specified word device comments are deleted. U U U
When changing from L02/L02-P, any existing settings are cleared.
PRINTING
When changing from L26-BT/L26-PBT, the settings of the built-in
Remote Password U U U
Ethernet are cleared. The settings of LJ71C24 are replaced to the
settings of QJ71C24/CMO.
PLC Parameter 21
If "Standard ROM" is set to "Transfer To", it is changed to "Program
SETTING OPTIONS
Boot File Memory". U U U
If Symbolic Information is set to "Type", the setting is deleted.
Network Parameter
CC-Link If "H/W Test" or "Loop Test" is set to "Mode", the setting is deleted. U U U
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Appendix 10.5 Restrictions when changing to High Performance model QCPU App - 105
GX Works2
APPENDIX
The following tables show the restrictions applied when changing a programmable controller series/
type to Basic model QCPU.
Table App.10.6-1
U: With restrictions
Project type
App - 106 Appendix 10.6 Restrictions when changing to Basic model QCPU
Appendix 10 Restrictions When Changing Programmable Controller
CONTROLLER CPU
Table App.10.6-2
PROGRAMMABLE
OPERATING
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project 18
labels labels
CONTROLLER STATUS
Program
PROGRAMMABLE
If instructions not supported by the changed programmable
Ladder language U U
DIAGNOSING
controller type are used, they are deleted and displayed in yellow.
The property settings "SFC Program Type Setting", "Periodic
Execution Block", "Act at Block Multi-Activated" and "Act at Step U U U
Multi-Activated" are deleted.
SFC language
The block title in the property setting is deleted. 19
If device points not supported by Q00J/Q00/Q01 are used for U
EXTERNAL DEVICES
"Block Information" in the property setting, the setting is deleted.
OPERATIONS OF
PLC Parameter
SIMULATING
The setting values of "Fixed Scan Interval" are rounded out to the
PLC System U U U
one in "System Interrupt Settings".
If "Type: Sequence", "Data Name: MAIN", "Transfer From:
Standard ROM", and "Transfer To: Program Memory" are set
Boot File U U U
before changing the programmable controller type, "Do boot from
standard ROM" is selected.
20
PRINTING
Table App.10.6-3
U: With restrictions 21
Project type
SETTING OPTIONS
Simple project
Item Restrictions Structured
Without With project
labels labels
If "Convert motion dedicated sequence instruction" is selected,
Program D.instructions are converted to S.instructions. U
(Excluding Q00U, Q00UJ, Q01U, and Q02U. Appendix 11) 22
If instructions not supported by the changed programmable
Ladder language U U
controller type are used, they are deleted and displayed in yellow.
USING LIBRARIES
The property setting "Act at Block Multi-Activated" is deleted. U U U
I
INDEX
Appendix 10.6 Restrictions when changing to Basic model QCPU App - 107
GX Works2
APPENDIX
Table App.10.6-4
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project
labels labels
Device comment Bit-specified word device comments are deleted. U U U
PLC Parameter
If "Start I/O No." in the interrupt point setting of the intelligent
PLC System U U U
function module setting is outside the range, the setting is deleted.
Network Parameter
If "H/W Test" or "Loop Test" is set to "Mode", the setting is deleted.
If the number of modules is one and "Start I/O No." is outside the
CC-Link U U U
range, its maximum value is set. If the number of modules is two,
"Start I/O No." is set starting from 0000.
App - 108 Appendix 10.6 Restrictions when changing to Basic model QCPU
Appendix 10 Restrictions When Changing Programmable Controller
CONTROLLER CPU
PROGRAMMABLE
The following tables show the restrictions applied when changing a programmable controller series/
OPERATING
type to LCPU.
CONTROLLER STATUS
PROGRAMMABLE
U: With restrictions
DIAGNOSING
Project type
EXTERNAL DEVICES
function module setting is outside the range, the setting is deleted.
OPERATIONS OF
PLC System When changing to L02/L02-P, if "Backup Start Setup Contact" and U U U
SIMULATING
"Backup Start Contact" in the PLC module change setting are
outside the range, the device settings are deleted.
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 20
PLC File set to "Corresponding Memory" in the comment file used in a U U U
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)".
PRINTING
If "Low Speed" is set to "Execute Type" in the Program setting, it is
Program U U U
changed to "Standby".
If the capacity of the file register setting is outside the range, the
Device Device setting is set to default. In this case, all extended device U U U
points are assigned to file registers. 21
Network Parameter
SETTING OPTIONS
When changing to L02/L02-P, if the number of modules is one and
CC-Link "Start I/O No." is outside the range, its maximum value is set. If the U U U
number of modules is two, "Start I/O No." is set starting from 0000.
Device/Label If the Device setting or the setting for the file register capacity in the
Automatic-Assign PLC File setting in the PLC parameter is changed, the default value U U
Setting is set.
22
USING LIBRARIES
Changing from High Performance model QCPU
Table App.10.7-2
U: With restrictions
Project type A
Simple project
Item Restrictions Structured
Without With project
labels labels
APPENDIX
APPENDIX
Table App.10.7-3
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project
labels labels
When changing to L02/L02-P, any existing settings are cleared.
When changing to L26-BT/L26-PBT, the settings of Ethernet
Remote Password U U U
module are deleted. The settings of QJ71C24/CMO are replaced to
the settings of LJ71C24.
PLC Parameter
The setting of "Transfer From" in the Boot File setting is changed to
Boot File U U U
"Memory Card (SD)".
If the points between 1K and 7K or exceeding 8K points are
Device U U U
specified for S device, the setting is set to 8K points.
Network Parameter
If the number of modules is one and "Start I/O No." is outside the
CC-Link IE Field
range, its maximum value is set. If the number of modules is two, U U U
Network
"Start I/O No." is set starting from 0000.
Table App.10.7-4
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project
labels labels
When changing from Q00U or Q01U to L02/L02-P, the settings of
the Ethernet module are deleted. The settings of QJ71C24/CMO
are replaced to the settings of LJ71C24.
Remote Password When changing from Q00UJ or Q02U to L02/L02-P, any existing U U U
settings are cleared.
When changing to L26-BT/L26-PBT, any existing settings are
cleared.
PLC Parameter
When changing from Q02U, the setting of "Transfer From" in the
Boot File U U U
Boot File setting is changed to "Memory Card (SD)".
If the points between 1K and 8K are specified for S device, the
Device U U U
setting is set to 8K points.
Network Parameter
If the number of modules is one and "Start I/O No." is outside the
CC-Link IE Field
range, its maximum value is set. If the number of modules is two, U U U
Network
"Start I/O No." is set starting from 0000.
CONTROLLER CPU
Table App.10.7-5
PROGRAMMABLE
OPERATING
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without With project 18
labels labels
CONTROLLER STATUS
When changing to L02/L02-P, any existing settings are cleared.
PROGRAMMABLE
When changing to L26-BT/L26-PBT, the settings of Ethernet
DIAGNOSING
module are deleted. The settings of the built-in Ethernet are
Remote Password U U U
replaced to the settings appropriate for the changed programmable
controller type. The settings of QJ71C24/CMO are replaced to the
settings of LJ71C24.
PLC Parameter
If a device that exceeds the range of the Device setting is set to
19
PLC System "Latch Data Backup Operation Valid Contact", the setting is U U U
EXTERNAL DEVICES
deleted.
OPERATIONS OF
The setting of "Transfer From" in the Boot File setting is changed to
SIMULATING
Boot File U U U
"Memory Card (SD)".
If the points between 1K and 7K or exceeding 8K points are
Device U U U
specified for S device, the setting is set to 8K points.
Built-in Ethernet If the IP address is outside the range of 0.0.0.1 to
Port Setting 223.255.255.254, the default is set.
U U U 20
Network Parameter
If the number of modules is one and "Start I/O No." is outside the
CC-Link IE Field
range, its maximum value is set. If the number of modules is two, U U U
Network
PRINTING
"Start I/O No." is set starting from 0000.
SETTING OPTIONS
Table App.10.7-6
U: With restrictions
Project type
Simple project
Item Restrictions Structured
Without
labels
With
labels
project 22
Remote Password Any existing settings are cleared. U U U
USING LIBRARIES
PLC Parameter
When changing from Q00 or Q01, "Use the following file" is
selected and "Corresponding Memory: Standard RAM" and "File
Name: MAIN" are set in the file register setting.
PLC File U U U
If "Used" is set in the initial device value setting, "Use the following
file" is selected and "Corresponding Memory: Program Memory"
and "File Name: MAIN" are set. A
APPENDIX
I
INDEX
APPENDIX
The following tables show the restrictions applied when changing QCPU (Q mode)/LCPU to
communication head module and when changing communication head module to QCPU (Q mode)/
LCPU.
Table App.10.8-1
U: With restrictions
Project type
Table App.10.8-2
U: With restrictions
Project type
App - 112 Appendix 10.8 Restrictions when changing between QCPU (Q mode)/LCPU and communication head module
Appendix 10 Restrictions When Changing Programmable Controller
CONTROLLER CPU
PROGRAMMABLE
OPERATING
The following tables show the restrictions applied when changing FXCPU to FXCPU.
Table App.10.9-1
18
U: With restrictions
CONTROLLER STATUS
Project type
PROGRAMMABLE
Simple project
Item Restrictions
DIAGNOSING
Structured
Without With project
labels labels
Program
Ladder language
Programs which exceed the program capacity of the changed
programmable controller type are deleted.
U 19
Global Device Comment
EXTERNAL DEVICES
OPERATIONS OF
Local Device Comment Devices not supported and these outside the range are deleted. U U U
SIMULATING
Device Initial Value
If the program capacity set before changing the programmable
controller type is not supported by the changed programmable
PLC Parameter U U U
controller type, it is changed to the maximum value of the
changed programmable controller type.
20
FX3G, FX3GC, FX3U, and FX3UC whose projects contain system
System label labels cannot be changed to FX0, FX0S, FX0N, FX1, FXU, FX2C, U U
FX1S, FX1N, FX1NC, FX2N, or FX2NC.
A project in which a block password with the validated setting
PRINTING
Block password for "Read-protect the execution program" exists can be used in U U
FX3U and FX3UC only.
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Appendix 10.9 Restrictions when changing to FXCPU (FXCPU FXCPU) App - 113
GX Works2
APPENDIX
This section shows the lists of instructions which are converted based on selecting/clearing "Convert motion
dedicated sequence instruction" when the programmable controller type of a Simple project (without label) is
changed.
App - 114
Appendix 11 Instruction Conversion Lists
CONTROLLER CPU
Basic model QCPU (Excluding Q00J),
PROGRAMMABLE
Universal model QCPU High Performance model QCPU,
OPERATING
(Excluding Q00U, Q00UJ, Q01U, Q02U) Universal model QCPU
(Q00U, Q01U Q02U)
After conversion
Before conversion
Selected Cleared 18
D(P).SFCS *1 SM1255
S(P).SFCS
CONTROLLER STATUS
D(P).SVST S(P).SVST*2 SM1255
PROGRAMMABLE
S(P).CHGV*2
DIAGNOSING
D(P).CHGV SM1255
D(P).CHGT *2 SM1255
Motion dedicated S(P).CHGT
instruction D(P).CHGA S(P).CHGA *2 SM1255
D(P).DDWR S(P).DDWR*3 SM1255
19
D(P).DDRD S(P).DDRD*3 SM1255
EXTERNAL DEVICES
D(P).GINT S(P).GINT*4 SM1255
OPERATIONS OF
SIMULATING
*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
20
controller type is changed.
*4 : When the number of arguments is 3 or more, correct the arguments after the programmable
controller type is changed.
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
App - 115
GX Works2
APPENDIX
App - 116
Appendix 12 Functions Added Since Previous Versions
Major function
17
Version Description Reference
added/changed
CONTROLLER CPU
With the shortcut key customize function, shortcut keys can be
PROGRAMMABLE
Shortcut key customize Section 3.2.8
registered arbitrarily.
OPERATING
The socket communication through Ethernet is supported by
Version 1.08J Parameter Section 6.1.1
Built-in Ethernet port QCPU.
Section 22.1.1
FB library FB libraries are supported.
(FB)
Programmable controller
18
Q00J, Q00, and Q01 are supported.
CONTROLLER STATUS
type
PROGRAMMABLE
Intelligent function module Q64AD2DA and Q61LD are supported.
ST language is supported by Simple projects (with labels) of
DIAGNOSING
QCPU (Q mode).
Programming language
SFC language is supported by Simple projects (without labels) (Simple)
of FXCPU.
Project type Simple projects (with labels) are supported by FXCPU.
The Project window is modified, and its name is changed to
19
Navigation window
Navigation window.
EXTERNAL DEVICES
Motion dedicated instructions can be converted when the
OPERATIONS OF
Change PLC Type programmable controller type of a Simple project (without label) Section 4.2.8
SIMULATING
is changed.
Print Device initial value can be printed. Chapter 20
Saving projects The project compression/unpacking function is supported. Section 4.2.4
Parameter
The module error history collection function for the intelligent
function module is supported by Universal model QCPU.
Section 6.1.1 20
Program editor The default font color of labels is changed.
The following instructions are supported.
Rising pulse close instruction
PRINTING
Falling pulse close instruction
Rising pulse close branch instruction
Falling pulse close branch instruction
Simplified edit of devices/labels is supported by the Enter
Version 1.12N Symbol screen. 21
An undefined label can be registered following a ladder entry
SETTING OPTIONS
operation.
Ladder A list of possible candidates of instructions/labels can be
displayed at entering ladders.
A tool hint for arguments of an instruction can be displayed at (Simple)
entering instructions.
The line statement list function is supported.
A cursor can jump to the start of the next ladder block or the start
of the previous ladder block.
22
The change TC setting function is supported.
USING LIBRARIES
The Inline structured text function is supported.
The SFC editor window and the Zoom editor window can be
displayed vertically at opening the SFC window.
SFC
An SFC block can be displayed automatically at auto scroll
monitoring.
ST The bookmark list function is supported. A
A list of possible candidates of instructions/labels can be (Structured)
Structured ladder
displayed at entering ladders.
In a ladder program or structured ladder program, the display of
All Device Display labels on all program editors being opened can be switched to (Simple)
APPENDIX
App - 117
GX Works2
APPENDIX
Major function
Version Description Reference
added/changed
A character string can be entered to device memory. Section 7.2.3
Device Memory
The FILL function is supported. Section 7.2.4
In a project (with labels), file sizes can be displayed/hidden on
Write to PLC Section 12.1
the Write to PLC screen.
The memory size required when data is written to the
Confirm Memory Size Section 12.10
programmable controller CPU can be calculated.
Detailed information of such as an error can be confirmed from
Monitoring Section 14.7
the Intelligent Function Module Monitor screen.
The minimized display at start up of simulation is supported. Section 15.2
The saving/reading device memory/buffer memory function is Section 15.2.1
Simulation function
supported. Section 15.2.2
The I/O system setting function is supported. Chapter 19
Scan Time Measurement The scan time measurement function is supported. Section 16.5
CC-Link IE Control
The Logging screen of another station can be displayed. Section 18.3
Diagnostics
CC-Link / Up to 64 modules can be displayed.
Version 1.12N Section 18.5
CC-Link/LT Diagnostics The system configuration can be output in a check sheet.
The module information at time of the error occurrence can be
System monitor Section 18.7
displayed in the error history list.
User-created shortcut key settings can be registered to a
Shortcut key customize Section 3.2.8
template.
The Q61LD two-point calibration setting of the analog module
is supported.
The auto tuning function of the temperature control module is
supported.
The preset function of the counter module is supported.
Intelligent function module
The positioning test, wave trace, location trace, offline (Intelligent)
tool
simulation, automatic command speed calculation, and
automatic sub arc calculation of QD75 positioning module are
supported.
The circuit trace function of the serial communication module
is supported.
Components of the FB libraries can be imported to a project Chapter 22
FB library
being edited using the function to obtain the libraries to a project. (FB)
The parameter reflection function of MELSOFT Navigator is
Parameter Section 6.1
supported.
Transfer setting The GOT (Ethernet) transparent mode is supported. Section 11.8.1
The following instructions are supported.
ST Negated rising edge instruction
Negated falling edge instruction
The following contact symbols are added.
Version 1.15R Rising edge
Falling edge (Structured)
Negated rising edge
Structured ladder Negated falling edge
The following instructions are supported.
Negated rising edge instruction
Negated falling edge instruction
(Simple)
Global label System labels are supported.
(Structured)
App - 118
Appendix 12 Functions Added Since Previous Versions
Major function
17
Version Description Reference
added/changed
CONTROLLER CPU
Programmable controller
PROGRAMMABLE
L02 and L26-BT are supported.
type
OPERATING
Intelligent function module L64AD4, L60DA4, LJ71C24, and LJ71C24-R2 are supported. (Intelligent)
The Inline structured text function is supported by FXCPU.
The following functions are supported by the Inline structured
Section 4.2.7
text function.
Ladder
Verifying projects
Section 4.6
Section 10.3.3
18
Verifying revisions
CONTROLLER STATUS
Replacing character strings
PROGRAMMABLE
The compilation result can be displayed in list format.
ST (Simple)
DIAGNOSING
The ST control syntax templates are supported.
The compilation result can be displayed in list format.
Structured ladder Function blocks can be dragged and dropped from the Project (Structured)
view.
EXTERNAL DEVICES
The number of uses of a coil which uses the device can be
OPERATIONS OF
Device List displayed. Section 10.2
Devices which are used in the parameters can be indicated.
SIMULATING
Colors and fonts The color and font settings can be reset to default. Section 3.2.7
A project can automatically be saved after it is written to the
Write to PLC Chapter 12
programmable controller CPU.
Chapter 15 20
Simulation function The simulation function is supported by FXCPU. Chapter 19
Appendix 2
The offset/gain setting can be performed from the menu.
Intelligent function module
The predefined protocol support function of the serial (Intelligent)
tools
PRINTING
communication module is supported.
The detailed explanation of instructions can be opened from the
Help Section 3.4.2
program editor or the Function Block Selection window.
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
App - 119
GX Works2
APPENDIX
Major function
Version Description Reference
added/changed
Programmable controller
Q50UDEH, Q100UDEH, and LJ72GF15-T2 are supported.
type
Intelligent function module LD62, LD62D, LD75P4, LD75D4, and LD77MH4 are supported. (Intelligent)
In projects (with labels), the function which enables the device
Ladder
display in uncompiled state is supported.
The display format "MELSAP-L (Instruction Format)" / "MELSAP-
SFC (Simple)
L (Start Conditions Format)" are supported.
(Simple)
Global labels System labels are supported by LCPU.
(Structured)
The programmable controller type of a project which contains
Change PLC Type intelligent function modules can be changed between Section 4.2.8
programmable controller series.
In the network parameter, "CC IE Field (Master Station)" and "CC
Parameter IE Field (Local Station)" are supported by Universal model Section 6.2
QCPU.
The disconnection detection mode setting and Disconnection
detection setting value setting are supported by Q62DA-FG.
Version 1.31H The following settings are supported by QJ71C24N/
QJ71C24N-R2.
Intelligent function module The echo back permit/prohibit specification and the
(Intelligent)
data execution history option specification are supported by the
various control specification.
The predefined protocol function error code, the send data
storage area, and the receive data storage area are
supported by the auto refresh.
In projects (with labels), the cross reference information can be
Cross Reference Section 10.1
displayed in uncompiled state.
The function which reads local device data from the
Local Device Batch Read programmable controller CPU and saves the data to the personal Section 12.12
computer is supported by Universal model QCPU.
The CC-Link IE Field Network diagnostics is supported by
CC IE Field Diagnostics Section 18.4
Universal model QCPU.
The following option is added. Section 12.1.6
[Tool] [Options] "PLC Read/Write" "When writing to PLC Section 12.2
Options
after a Rebuild All operation, clear the device ranges set in the (Simple)
Device/Label Auto-Assign setting to 0." (Structured)
Operating environment Windows 7 is supported.
Programmable controller
Remote I/O module is supported.
type
Ethernet adapter module
Ethernet adapter module configuration tool is supported. Section 17.7
configuration tool
Version 1.40S The Read from CSV File and Write to CSV File functions are (Simple)
Label
supported. (Structured)
Bit-specified word device comments are supported by Universal Section 9.2.1
Device comment
model QCPU. Section 12.1.3
The template function in the inline structured text program is
(Simple)
Ladder supported.
The drag-and-drop operation from the ladder editor is changed. Section 14.6.2
App - 120
Appendix 12 Functions Added Since Previous Versions
Major function
17
Version Description Reference
added/changed
CONTROLLER CPU
"Act at Block Multi-Activated" can be set for Universal model
PROGRAMMABLE
SFC (Simple)
QCPU.
OPERATING
The menu title [Create Template] is changed to [Display
ST (Structured)
Template].
The line connection function in the "Select Mode" is supported. (Structured)
Structured ladder The automatic line connection function when entering ladder
symbols is supported.
(Structured) 18
CONTROLLER STATUS
A compilation error does not occur when the same name is used
PROGRAMMABLE
for label name and data name.
Compile The option to check whether devices are used exceeding the
DIAGNOSING
device range assigned to labels in the data transfer instruction Section 21.2
such as DMOV is added.
Projects in the workspace folder/project folder which is copied or
Opening existing projects Section 4.2.2
moved using Windows Explorer can be forcibly opened.
19
GX Developer option setting "Copy source/display source of
Opening projects in other reference during comment edit" is utilized to GX Works2 option
EXTERNAL DEVICES
Section 4.7.1
formats setting: "Program Editor" "Ladder/SFC" "Comment"
OPERATIONS OF
"Reference of Device Comment".
SIMULATING
Intelligent function module parameters (initial setting, auto
refresh), QD75/LD75 positioning module set data can be verified
Section 4.2.7
in the following verification function.
Verification Section 4.6.5
Project verification
Revision verification
Section 12.2
20
Programmable controller CPU data verification
Version 1.40S
The extended setting of step relay (S device) is supported by
Universal model QCPU.
"CC IE Control Ext. Mode (Control station)" and "CC IE Control
PRINTING
Parameter
Ext. Mode (Normal Station)" are added.
The loopback function setting is added to the supplementary
setting of CC-Link IE Field.
Cross Reference The Cross Reference window can be displayed vertically. Section 10.1 21
Section 10.3.1
SETTING OPTIONS
The focus is not moved to the editor side after executing the Section 10.3.2
search/replace function. Section 10.3.3
Section 10.3.4
The device search/replace function can be executed for indexed
Section 10.3.1
devices without canceling "Digit" or "Double Word" option.
Find/Replace
The search function can be executed on different items when the
devices are being displayed on the ladder editor. 22
Find Device, Replace Device, Find Instruction, Replace
Instruction, Change Open/Close Contact, and Device Batch
USING LIBRARIES
Section 10.3
Replace functions are supported by the inline structured text
function.
SFC block Online program change is supported by Universal
Online Program Change Section 12.9.1
model QCPU.
Simulation function Local device data can be read. Section 12.12
Global label System labels are supported by FX3G, FX3U, and FX3UC.
(Simple)
(Structured)
A
APPENDIX
I
INDEX
App - 121
GX Works2
APPENDIX
Major function
Version Description Reference
added/changed
Intelligent function module QD65PD2 and LD77MH16 are supported. (Intelligent)
Titles set in the property are displayed on the Navigation
window.
Navigation window Section 3.2.5
The color of the characters on the title bar is displayed in red
when an uncompiled data exists.
The secured steps for Online program change and the writing
Open other project Section 4.6.1
range of device comment set in GX Developer can be utilized.
Section 2.2
CC-Link IE Field Network board is supported. Section 2.3
Transfer setting Section 11.1
Ethernet connection between personal computer and GOT is Section 11.8.1
supported. Section 11.8.2
Sample comments of input/output signals can be utilized for
Device comment Section 9.4.2
intelligent function module.
The number of displayed contacts in a ladder program can be
set to 13, 17, or 21 contacts.
Ladder (Simple)
For FXCPU Simple project (with labels), execution program
can be divided into multiple programs.
The following functions are supported on the Verify Result
screen.
Verify Section 4.2.7
Copy data
Write data to CSV file
The following information can be added when printing a ladder
program.
Version 1.48A Device comment Section 20.8.1
Print Statement/note
Contact/coil usage destination
The print preview and the print functions are supported on the Section 20.9
Device List screen. Section 20.7
For project without labels, a device on which a cursor is placed in
Cross reference Section 10.1
the program editor can be searched automatically.
'High-speed mode' is supported when writing symbolic
Write to PLC/Online information to a programmable controller CPU.
Section 12.1.5
program change A default setting of target memory can be set in the option
setting for Online program change.
The automatic registration function is supported.
Section 14.6.2
Watch window The list of devices/labels registered to Watch window can be
Section 14.6.4
write to/read from CSV files.
When the error jump is executed from the PLC Diagnostics
PLC diagnostics screen, the PLC Diagnostics screen is down sized to be able to Section 18.1
specify the error location in the program easily.
The monitoring function (positioning monitor) dedicated to
Intelligent function module QD75/LD75 positioning module is supported.
(Intelligent)
tool The user protocol library function is supported for the
predefined protocol support function.
Characters of the following languages are not corrupted by
selecting a project language.
Section 3.3
Language selection English
Appendix 17
Chinese (simplified characters)
Korean
App - 122
Appendix 12 Functions Added Since Previous Versions
Major function
17
Version Description Reference
added/changed
CONTROLLER CPU
GX Developer can be installed at the same time as installation of
PROGRAMMABLE
Appendix 13
GX Works2.
OPERATING
GX Developer is used for the following functions when the
Incorporation with GX programmable controller type is not supported in GX Works2.
Developer Creating a new project Section 4.2.1
Opening a project Section 4.2.2
Opening a project in other formats Section 4.7.1 18
Creating a new project with data read from programmable
CONTROLLER STATUS
controller CPU
PROGRAMMABLE
Intelligent function module QJ71MT91 and QJ71MB91 are supported. (Intelligent)
DIAGNOSING
Changes of function block names and deletions of function
blocks are automatically reflected to the target program.
Ladder
Changes of the function block label setting is reflected to the
target program at compilation.
When copying and pasting SFC block data, whether to overwrite 19
SFC block data with the same block number, or to add data with
EXTERNAL DEVICES
unused block number can be selected.
OPERATIONS OF
Operability of the Label Registration/Selection screen is
Structured ladder (Structured)
improved.
SIMULATING
The print function to batch print project data is supported. Chapter 20
Print The print preview and the print functions are supported on the
Section 10.1
Cross Reference screen.
Version 1.53F
Parameter
In the network parameter, "CC IE Field (Master Station)" and "CC
Section 6.2
20
IE Field (Local Station)" are supported by LCPU.
The search/replace function can be executed for digit-specified
bit devices, devices with index setting, and devices with indirect
specification.
PRINTING
Note that either a searched device or a replaced device needs to
Search/Replace be a label when replacing devices. Section 10.3
Devices, instructions, strings, contacts, and coils can be
searched from the shortcut menu by right-clicking the ladder
editor or SFC (Zoom) editor. 21
The default setting for "Find In" is changed to "(Entire Project)".
SETTING OPTIONS
The debugging function can be executed during the program
Debug Section 16.6
simulation.
LJ71GF11-T2 is supported.
CC IE Field Diagnostics "Selected Station Communication Status Monitor" function is Section 18.4
supported by Ethernet adapter module.
Device/label automatic-
assign setting
Multiple devices can be set in the device/label automatic assign
setting for QCPU (Q mode) and LCPU.
(Simple)
(Structured)
22
The applicability of data names and label names to be used in a
USING LIBRARIES
language-changed project is checked when selecting the
Language selection language.
The applicability of language of the data name in a copy
destination is checked when data are copied between projects.
A project can be overwritten when a project is saved with an
Section 4.2.3
Project existing project name.
A project can be saved in the single file format. Section 4.2
A
Change PLC Type L02-P and L26-PBT are supported.
Q64TCTTN, Q64TCRTN, Q64TCTTBWN, Q64TCRTBWN,
Version 1.62Q Intelligent function module L60TCTT4, L60TCTT4BW, L60TCRT4, and L60TCRT4BW are (Intelligent)
APPENDIX
supported.
The automatic start function which converts the language at the
Comment Section 21.2
entry of device comments, statements and notes is supported.
When a device comment is edited in a ladder or SFC program, I
Device comment the edited information is reflected to the referred device Section 9.2.2
comment.
INDEX
App - 123
GX Works2
APPENDIX
Major function
Version Description Reference
added/changed
"Read Mode", "Write Mode", "Monitor Mode", and "Monitor (Write
Mode)" are supported.
Line statements can be displayed on the Navigation window.
Ladder The initial value for the Enter HLine screen and the Delete HLine (Simple)
screen can be set to "1".
Entry or deletion of horizontal line can be stopped at the
instruction or vertical line.
"Read Mode", "Write Mode", "Monitor Mode", and "Monitor (Write
Mode)" are supported.
SFC (Simple)
An SFC diagram and a Zoom editor can be tiled horizontally.
The jump step search function is added.
The display of the program language name is changed from
"Structured Ladder" to "Structured Ladder/FBD".
Structured ladder/FBD The function to display/hide the left power rail is added. (Structured)
Labels and devices assigned to labels can be displayed
simultaneously.
The program does not become in an uncompiled status even (Simple)
Label when information in "Comment" and "Remark" is changed. (Structured)
Cells can be selected and copied on the label editor.
The following data can be batch printed.
Cover
PLC parameter
Network parameter
Structured ladder/FBD
Device memory
Device initial value
Print TC setting value Chapter 20
Version 1.62Q
Device list
Cross reference
Project content list
Product information list
When printing ladder programs, blank device comment lines are
not printed in the default setting.
The simple PLC communication setting is supported by LCPU. Section 6.1
Parameter
The serial communication setting is supported by QnUD(H)CPU. Section 6.1.1
When searching for devices in a specified program, device
comments can be entered in the device list.
Device List When searching for devices in a specified program, device Section 10.2
comments of devices which are not used in the program can be
deleted.
The function to search/replace devices/labels/instructions
Section 10.3
downward from the top of the editor is added.
Search/Replace
Data can also be searched in other programs in the project with
(Simple)
the space key search function on the ladder editor.
Symbolic information can be written to/read from a
Write to PLC/Read from
programmable controller CPU with FX3U/FX3UC version 3.00 or Section 12.1
PLC
later.
The configuration including CC-Link IE Field Network
CC IE Field Diagnostics Section 18.4
communication units can be diagnosed.
Execution programs can be protected on FX3U/FX3UC version
Block password Section 4.11
3.00 or later.
Intelligent Function Module The sensor correction function of temperature control module is
(Intelligent)
Tool supported.
Help The MELSOFT help function is supported. Section 3.4
App - 124
Appendix 12 Functions Added Since Previous Versions
Major function
17
Version Description Reference
added/changed
CONTROLLER CPU
Product Makeup Data are supplied with two CD-ROMs. GX Works2
PROGRAMMABLE
Required HDD free space for the installation is changed to 2.5GB Installation
Operation Environment
OPERATING
or more. Instructions
QD75P1N, QD75P2N, QD75P4N, QD75D1N, QD75D2N, and
Intelligent Function Module (Intelligent)
QD75D4N are supported.
Print job output can be selected.
Print conditions for device memory data are added.
18
CONTROLLER STATUS
Whether to print or not to print 'start destination block' can be
Print Chapter 20
selected on the SFC block list.
PROGRAMMABLE
Setting values of timer, retentive timer, and counter can be
DIAGNOSING
printed according to devices when printing TC setting values.
For LCPU, "Branch Module" can be selected for the I/O
Version 1.64S Parameter Section 6.1.1
assignment setting on PLC parameter.
Intelligent Function Module QD75/LD75 positioning module data can be saved to/read from
Data the file.
(Intelligent)
19
For LCPU, bit-specified word device comment is supported. Section 9.2.1
Device comment
EXTERNAL DEVICES
Device comments can be saved to/read from the file. Section 12.1.3
OPERATIONS OF
A personal computer can be connected to a programmable
Transfer setting Section 11.9
SIMULATING
controller CPU via a phone line.
Verification of device comments and device memory data is
Section 4.2.7
supported by the project verification and revision verification.
Verify Section 4.6.5
Verification of device comments, device memory data, and file
Section 12.2
registers is supported by the Verify with PLC function. 20
System monitor For LCPU, extension blocks can be monitored. Section 18.7
Q64ADH is supported.
Intelligent Function Module (Intelligent)
A parameter item is added for Q62HLC.
For FX3U and FX3UC, programmable controller CPU connections
PRINTING
Section 11.3
via CC-Link are supported.
Transfer Setup
For FXCPU, the Ethernet connection between a personal
Section 11.8
computer and a GOT is supported.
Ladder blocks can be pasted consecutively with incremented 21
device numbers on the ladder editor.
Ladder
SETTING OPTIONS
Ladder programs can be saved to/read from CSV files in list
format. (Simple)
USING LIBRARIES
Version 1.73B Assignment information of CC-Link refresh devices can be Section 6.2.2
checked easily on the Acknowledge CC-Link Device Section 6.2.4
Assignment window. Section 6.6
Parameter Default parameters can be set in batch to the PLC parameter
and the network parameter.
For FXCPU, the CC-Link setting is supported in the network
Section 6.2
parameter. A
The I/O assignment setting and the acknowledge XY assignment
Section 6.5
of PLC parameter can be saved to CSV files.
Device comment Device comment data being displayed can be deleted in batch. Section 9.3.2
For Simple projects (with labels), the time to create cross
APPENDIX
App - 125
GX Works2
APPENDIX
Major function
Version Description Reference
added/changed
The Entry Ladder Monitor function to monitor registered ladder
blocks is supported by Simple project (without labels).
Monitoring (Simple)
For QCPU (Q mode)/LCPU, monitoring condition/monitoring
stop condition can be set.
CC-Link /
For FXCPU, the CC-Link/CC-Link/LT diagnostic is supported. Section 18.5
CC-Link/LT Diagnostics
A password can be set to data when writing data to an IC
memory card.
Write/read IC memory card Data can be written to/read from an IC memory card by Section
Version 1.73B data specifying a folder. 12.11.1
Symbolic information can be written to/read from an IC
memory card.
The setting to enable compilation when opening a project
Options Section 21.2
contains ST programs of GX Developer is added.
Multiple ladder program data or device comment data can be
Merge Data Section 4.3.5
merged and added to the project.
Intelligent function module The Setting item reduction mode can be set for the auto refresh
(Intelligent)
data parameter of temperature control.
Programmable controller
FX3GC is supported.
type
Q68CT, LD75P1, LD75P2, LD75D1, LD75D2, QD77MS2,
Intelligent function module (Intelligent)
QD77MS4, and QD77MS16 are supported.
The IP Packet Transfer setting can be set on the <<Built-in
Section 6.1.1
Ethernet Port Setting>> tab of PLC parameter.
CC IE Field (sub-master station) is supported by Universal
model QCPU in the network parameter.
The IP Packet Transfer setting can be set in the network Section 6.2.1
Parameter
parameter for Built-in Ethernet port QCPU in CC-Link IE Field
Network.
The operation at reconnection can be set in "Network
Version 1.77F Configuration Settings" for Universal model QCPU when "CC-IE
Filed (Master Station)" is selected for "Network Type".
Intelligent function module Positioning module data can be saved as a GX Configurator-QP
(Intelligent)
data format project file.
Labels can be sorted in ascending or descending order.
(Simple)
Label Blank rows below the last row to which the label is set on the
(Structured)
label setting editor can be deleted to a single blank row.
When a project, in which the setting of "Compile" under [Tool]
Read from PLC [Options] has been changed, is read from a programmable
controller CPU, the project will not be an uncompiled project.
Sub-master stations are supported. Section 18.4
CC IE Field Diagnostics
The IP communication test is supported. Section 18.4.2
App - 126
Appendix 13 Procedure to Use GX Works2 Unsupported Programmable Controller Type
17
Appendix 13 Procedure to Use GX Works2 Unsupported Programmable Controller Type
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote 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 18
CONTROLLER STATUS
selection of an unsupported programmable controller type, GX Developer starts automatically and a new
PROGRAMMABLE
project is created. ( Section 4.2.1)
DIAGNOSING
Appendix 13.1 Installing GX Developer
19
GX Developer can be installed at the same time as the installation of GX Works2.
EXTERNAL DEVICES
OPERATIONS OF
Operating procedure
SIMULATING
1. Select "Install GX Developer" on the following screen displayed during the
installation of GX Works2.
Select the items under "Select Components" as necessary. 20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
APPENDIX
Install GX Developer included on the GX Works2 CD-ROM (Disc 1) by the following procedure.
Operating procedure
Execute '\SUPPORT\GXD1\Setup.exe' on the CD-ROM (Disc 1).
The installation of GX Developer starts.
For details of the installation procedure, refer to the following manual.
Use the product ID of GX Works2 for the installation.
GX Developer Version 8 Operating Manual (Startup)
Programs of GX Works2 unsupported programmable controller type created with GX Developer can be
utilized in GX Works2 by the following procedure.
The following is an example of utilizing an ACPU program created with GX Developer in the QCPU (Q
mode) project of GX Works2.
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].
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]. ( Section 4.7.1)
17
Appendix 14 Precautions on Installation
CONTROLLER CPU
PROGRAMMABLE
OPERATING
Q CPU L CPU Remote Head FX
18
CONTROLLER STATUS
Installing a MELSOFT product for the first time
PROGRAMMABLE
DIAGNOSING
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.) 19
The Software Installation screen may be displayed behind another screen. Press the + keys
EXTERNAL DEVICES
to bring it to the front.
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
App - 129
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 - 130
Appendix 14 Precautions on Installation
17
Precautions when installing on Windows Vista
CONTROLLER CPU
PROGRAMMABLE
When installing on Windows Vista, the following screen may be displayed after the completion of the
OPERATING
installation. In this case, select "This program installed correctly" and restart the personal computer.
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
When "Reinstall using recommended settings" is erroneously selected, the Windows XP SP2
SIMULATING
compatibility mode is automatically set. Disable the Windows XP SP2 compatibility mode by following
the procedure described below, and perform the reinstallation.
Operating procedure 20
1. Right-click on the setup.exe icon of the installation
target in the Windows explorer.
PRINTING
The setup Properties screen is displayed.
SETTING OPTIONS
22
3. Clear "Run this program in compatibility mode for:"
USING LIBRARIES
and click the button.
A
APPENDIX
I
INDEX
App - 131
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".
App - 132
Appendix 15 USB driver installation
CONTROLLER CPU
PROGRAMMABLE
OPERATING
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
Operating procedure
EXTERNAL DEVICES
1.
OPERATIONS OF
Connect the personal computer and the programmable controller CPU with a USB
SIMULATING
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)". 20
3. Select "Search for the best driver in these locations" on the displayed screen.
Select "Include this location in the search", and then set "Easysocket\USBdrivers"
PRINTING
in the folder where GX Works2 has been installed. If multiple MELSOFT products
are installed previously, refer to their installed location.
21
SETTING OPTIONS
Precautions when installing USB driver
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.
22
USING LIBRARIES
A
APPENDIX
I
INDEX
App - 133
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.
App - 134
Appendix 15 USB driver installation
CONTROLLER CPU
PROGRAMMABLE
OPERATING
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
Operating procedure
SIMULATING
1. Connect the personal computer and the programmable controller CPU with a USB
cable, and then turn on the programmable controller CPU.
20
2. From Windows Control Panel, select [System and Security] - [Device Manager].
Right-click "Unknown device" and click "Update Driver Software".
PRINTING
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. 21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
App - 135
GX Works2
APPENDIX
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.
The following tables show all data to which double byte characters are applicable. When data described
in the following table contains a double byte character, any symptom described in Appendix 16.2 occur.
When using Japanese version of GX Works2 Version 1.42U or earlier, or English version of GX Works2
Version 1.44W or earlier, refer to the precautions in Appendix 16.2.
However, if a project data created in Japanese version of GX Works2 satisfies the following conditions,
the project can be used in English version of GX Works2 Version 1.48A or later without any symptom
described in Appendix 16.2.
When the language used for data with indicated in the 'Project language is unchangeable' column
of the following table matches with the project language set for "Language Selection".
When the font of the specified project language is installed to the operating system.
Note that; however, when data other than alphanumeric character is used for the data with indicated
in the 'Project language is unchangeable' column of the following table, an error occurs at the change of
project language for Japanese version of GX Works2 Version 1.45X or later. Change the project
language after correcting the data name to match the changed project language.
Data to which double byte character and half-width Japanese kana character are applicable
: Unchangeable -: Changeable
Changeable/
Item Data name unchangeable
project language
Workspace Workspace name -
GX Works2 project name -
GX Developer project name -
Project
Compressed project name -
Property (Title/Comment) -
Project revision Detailed information (Title/Comment) -
App - 136 Appendix 16.1 Data to which double byte character and half-width Japanese kana character are applicable
Appendix 16 Precautions When Using English Version of GX Works2
17
: Unchangeable -: Changeable
Changeable/
CONTROLLER CPU
PROGRAMMABLE
Item Data name unchangeable
project language
OPERATING
Program Program name
Statement/Note/Comment/Label name -
Ladder, ST, Structured ladder/FBD, SFC (Zoom)
FB instance name -
18
SFC block name
CONTROLLER STATUS
SFC SFC step/Transition comment -
PROGRAMMABLE
Property (Block information) -
DIAGNOSING
PLC parameter data -
Parameter Network parameter data -
Property (Title/Comment) -
Intelligent function module data Intelligent function module data - 19
Local device comment name -
EXTERNAL DEVICES
Device comment
Device comment -
OPERATIONS OF
Device memory name -
SIMULATING
Device memory
Property (Title/Comment) -
Device initial value name -
Device initial value
Comment -
Global label name/Structured data name
20
Label name
PRINTING
Data type -
Comment -
Remark -
SETTING OPTIONS
Property (Result Type) -
Comment -
User library
User library name
22
(Structured project) Library file name (*.SUL) -
USING LIBRARIES
Property (Help path) -
Intelligent function module tool - -
Wave trace file name -
QD75/LD75 positioning module
Location trace file name -
Circuit trace data -
Protocol setting file name
- A
(Predefined protocol support function)
Serial communication module
Manufacturer/Model/Protocol name/Packet
name/Element name -
(Predefined protocol support function)
APPENDIX
Appendix 16.1 Data to which double byte character and half-width Japanese kana character are applicable App - 137
GX Works2
APPENDIX
: Unchangeable -: Changeable
Changeable/
Item Data name unchangeable
project language
Product information in System monitor -
CSV file that can be created in Diagnostic function PLC diagnostics -
Module error history -
Shortcut key Template file name -
App - 138 Appendix 16.1 Data to which double byte character and half-width Japanese kana character are applicable
Appendix 16 Precautions When Using English Version of GX Works2
CONTROLLER CPU
PROGRAMMABLE
Changeable/
Tab name Item Data name unchangeable
OPERATING
project language
Label -
PLC Name -
Comment -
PLC System PLC Module Change Setting Title Setting -
18
CONTROLLER STATUS
File Register File Name -
PROGRAMMABLE
Comment File Used in a
File Name -
Command
DIAGNOSING
PLC File
Initial Device Value File Name -
File for Local Device File Name -
PLC RAS Breakdown History File Name -
Boot File - Data Name - 19
Program - Program Name -
EXTERNAL DEVICES
I/O Assignment Type -
OPERATIONS OF
Model Name -
SIMULATING
I/O Assignment
Base Setting Power Model Name -
Extension Cable -
20
Network parameter data
: Unchangeable -: Changeable
Changeable/
PRINTING
Type Item Data name unchangeable
project language
Network Range Assignment Parameter Name -
SETTING OPTIONS
Network Operation Settings Parameter Name -
Ethernet/CC IE/MELSECNET Station Inherent Parameters Parameter Name -
FTP Parameters Login Name -
SMTP Server Name -
E-mail Setting
POP Server Name -
News Setting Attached File Name - 22
CC-Link Operation Setting Parameter Name -
USING LIBRARIES
Intelligent function module data
: Unchangeable -: Changeable
Changeable/
Module type Item Data name unchangeable A
project language
Positioning module Positioning Data Positioning Comment -
Initialization command -
APPENDIX
Telephone number -
Serial communication module/ Modem Function
Message -
Modem interface module
Comment -
User Register Frame Content User registration frame - I
FL-net (OPCN-2) interface module Parameter Node name (Equipment name) -
INDEX
Appendix 16.1 Data to which double byte character and half-width Japanese kana character are applicable App - 139
GX Works2
APPENDIX
The English version of GX Works2 (SW1DNC-GXW2-E) does not support double byte character and
half-width Japanese kana character. Therefore, when using the project data, which has been created in
the Japanese version of GX Works2 (SW1DNC-GXW2-J) using double byte character or half-width
Japanese kana character, in the English version of GX Works2, change all the double byte character
and half-width Japanese kana character to single byte alphanumeric character in the Japanese version
of GX Works2. After characters are changed, execute [Compile] [Rebuild All] or [Build] in the
Japanese version of GX Works2 and save the project in a condition without any errors.
The following are the precautions when reading project data, in which double byte character or half-
width Japanese kana character is used, from the programmable controller CPU.
The symbolic information created in the Japanese version of GX Works2 and written to the
programmable controller CPU, cannot be read to the English version of GX Works2. In this case,
save the project created in the Japanese version of GX Works2 using the English version of GX
Works2, then write the symbolic information to the programmable controller CPU.
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.
CONTROLLER CPU
they are displayed as garbled characters.
PROGRAMMABLE
OPERATING
<Japanese version of GX Works2> <English version of GX Works2>
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
Data name is not displayed
When double byte character or half-width Japanese kana character is used in data names of user 19
library files, data names cannot be displayed and user library cannot be operated.
EXTERNAL DEVICES
<Japanese version of GX Works2> <English version of GX Works2>
OPERATIONS OF
SIMULATING
20
PRINTING
Data cannot be opened
When opening saved project data in which double byte character or half-width Japanese kana 21
character is used in workspace names or project names, the message shown below is displayed
SETTING OPTIONS
and the workspace cannot be opened.
22
USING LIBRARIES
Compilation error
A
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.
APPENDIX
I
INDEX
APPENDIX
App - 142
Appendix 17 Precautions for Selecting Project Language
17
Category Item Precautions
CONTROLLER CPU
PROGRAMMABLE
Korean is selected for project language. Including fixed characters such as menus, some of the
(Regarding the font 'BatangChe' which is characters of Japanese and Chinese (simplified
OPERATING
set automatically.) characters) are displayed in smaller size.
Displayed characters may be different between the ones
on the screen in which font can be changed and the ones
Font
Displayed characters are different
on the screen in which font cannot be changed. Change
the font on the Color and Font screen.
18
depending on the font even when they
CONTROLLER STATUS
Example: With Korean is selected as the project
are the same character.
language, when " " is entered in the label editor and a
PROGRAMMABLE
compile error is performed, " " is displayed on the
DIAGNOSING
Output window.
When the same character strings with double-byte
[Verify]
character are verified, the result will be a match, however,
Projects whose project languages are
the character strings may not be displayed normally.
different are verified.
Select the same language for projects to be verified. 19
The operation of user library import is ensured when the
EXTERNAL DEVICES
project language set for the language selection is used for
[Install]
OPERATIONS OF
user library file names and data in the user library.
User library which contains characters of
User library which contains file names and data with
SIMULATING
different language is imported to project.
alphanumeric characters and one-byte symbol can be
used in a project in any language.
The operation of Read from PLC or Read IC Memory
[Read from PLC], [Read IC Memory
Card function is ensured when the project language set
for the language selection is used for characters in a
20
Function Card]
target data.
Data contains characters in different
Set the same language as the one used in a target data to
language is imported, and the Read from
be read.
PLC or Read IC Memory Card is
Target data of the data read function which contains
PRINTING
executed.
alphanumeric characters and one-byte symbol can be
used in a project in any language.
[Open Other Project]
Other format projects which can be opened in GX Works2:
The project language selected for
"Language Selection" and the operating
projects whose data name and label name are written in 21
alphanumeric code.
system language are different.
SETTING OPTIONS
[Read from CSV File] The operation is ensured only when the project languages
(When reading a program which is for the Write to CSV File function and Read from CSV File
written in list format.) function are the same.
Screens which are opened from the Project view and the
User Library view are closed automatically when a
A language is selected while the project
language is selected. Close all other open screens.
is being displayed.
The selected language is applied by reopening the 22
screens.
USING LIBRARIES
When characters other than alphanumeric characters are
used for data names and label names in a project before
Data names, label names
Project selecting a project language, the operation is not ensured
language after the language is selected.
selection Simulation function
Interaction with LCPU logging
configuration tool A
Interaction with Ethernet adapter module Project language setting is invalidated.
configuration tool
Predefined protocol support function
Interaction with iQ Works
APPENDIX
App - 143
GX Works2
APPENDIX
This section explains instructions which require modification and how to modify them when using projects in
other formats in GX Works2.
An X mark may appear on a POU or an error may occur at a compilation when a project which contains ST
programs or structured ladder/FBD programs created in GX Developer or GX IEC Developer is opened in GX
Works2. In this case, instructions or arguments need to be modified.
The following table shows the modification methods and reference sections. For instructions which require
modification, read the corresponding reference.
App - 144
Appendix 18 Modifying instructions of projects in other formats
CONTROLLER CPU
PROGRAMMABLE
When using any of the following GX Developer or GX IEC Developer instruction, replace the instruction
OPERATING
with the GX Works2 instruction.
Instruction to be replaced
GX Works2 instruction
GX Developer instruction GX IEC Developer instruction
18
LIMIT LIMIT LIMITATION
CONTROLLER STATUS
MAX MAX MAXIMUM
PROGRAMMABLE
MIN MIN MINIMUM
DIAGNOSING
Replacing an instruction in structured ladder/FBD program
Operation
1. Select an instruction to be modified. 19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
2. Select [Edit] [Input Instruction].
The Input Instruction [Replace] screen is displayed.
20
PRINTING
3. Enter a GX Works2 instruction name.
21
4. Click the button.
SETTING OPTIONS
The instruction is replaced with the GX Works2 instruction.
APPENDIX
When using any of the following GX Developer or GX IEC Developer instruction, add or change device/
label according to the argument of the GX Works2 instruction.
For structured ladder/FBD programs, instructions also need to be changed.
Instruction to be modified
GX Works2 instruction
GX Developer instruction GX IEC Developer instruction
COS COS COS
LEFT LEFT LEFT
LEN LEN LEN
RIGHT RIGHT RIGHT
ROL ROL ROL_E
ROR ROR ROR_E
SIN SIN SIN
TAN TAN TAN
ACOS ACOS ACOS
ASIN ASIN ASIN
ATAN ATAN ATAN
EXP EXP EXP
Operation
1. Replace the instruction with the GX Works2 instruction. ( Appendix 18.1)
4. Select [Edit] [ladder Symbol] [Input Label] ( ), and add an input label to EN.
5. Set TRUE to EN.
Operation
Adjust the position of the argument, and add TRUE to EN.
CONTROLLER CPU
Var_Real := Var_cos_Real + 1.23;
PROGRAMMABLE
OPERATING
18
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
APPENDIX
When using any of the following GX IEC Developer instruction, replace the instruction with the GX
Works2 instruction, and change the position of device/label according to the corresponding argument.
Instruction to be modified Argument
GX Works2 instruction with different New position for argument
GX IEC Developer instruction position
GETE_M G_GETE s2
GETEP_M GP_GETE s2 Change the position of the device/
label from the right side to the left side
BUFRCV_M ZP_BUFRCV s2
of the POU according to the position
BUFSND_M ZP_BUFSND s3 of the argument.
CLOSE_M ZP_CLOSE s2
RISEND_MD G_RISEND d1
Change the position of the device/
RISEND_P_MD GP_RISEND d1 label from the left side to the right side
RITO_MD G_RITO d of the POU according to the position
of the argument.
RITO_P_MD GP_RITO d
Operation
1. Replace the instruction with the GX Works2 instruction. ( Appendix 18.1)
2. Change the position of the device/label according to the argument of the instruction.
If an input label or output label does not exist at the position of argument, add it by selecting
[Edit] [Ladder Symbol] [Input Label] ( )/[Output Label] ( ).
For G_GETE in the following example, move "D12" of the argument d to s2 , and move
"M12" which is not connected to the argument d .
Operation
Replace the instruction with the GX Works2 instruction.
Only for RISEND(_P)_MD, switch the positions of 4th argument and 5th argument.
CONTROLLER CPU
PROGRAMMABLE
When using any of the following GX IEC Developer instruction, replace the instruction with the GX
OPERATING
Works2 instruction, and change the data type of argument to constant.
Instruction to be modified Argument to which constant is
GX Works2 instruction
to be set
GX IEC Developer instruction
18
MEAN_M MEAN n
CONTROLLER STATUS
MEANP_M MEANP n
PROGRAMMABLE
BMOV_E BMOV_E n
DIAGNOSING
Modifying an instruction in structured ladder/FBD program
Operation
1. Replace the instruction with the GX Works2 instruction. ( Appendix 18.1) 19
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
2. Change the argument n to constant. When a label is set to the argument n, change the class
of the label to "VAR_CONSTANT" or "VAR_GLOBAL_CONSTANT" on the label setting editor. 20
PRINTING
Operation
1. Replace the instruction with the GX Works2 instruction.
21
SETTING OPTIONS
2. Change the argument n to constant. When a label is set to the argument n, change the class
of the label to "VAR_CONSTANT" or "VAR_GLOBAL_CONSTANT" on the label setting editor.
22
USING LIBRARIES
A
APPENDIX
I
INDEX
APPENDIX
When using any of the following GX IEC Developer instruction, replace the instruction with the GX
Works2 instruction, and change the data type of argument to double-precision real number.
Instruction to be modified Argument to which double-
GX Works2 instruction
GX IEC Developer instruction precision real number is to be set
LD_EDEQ_M LDED=*1
LD_EDGE_M LDED>=*1
LD_EDGT_M LDED>*1
LD_EDLE_M LDED<=*1
LD_EDLT_M LDED<*1
LD_EDNE_M LDED<>*1
AND_EDEQ_M ANDED=*1
AND_EDGE_M ANDED>=*1
AND_EDGT_M ANDED>*1
s1, s2
AND_EDLE_M ANDED<=*1
AND_EDLT_M ANDED<*1
AND_EDNE_M ANDED<>*1
OR_EDEQ_M ORED=*1
OR_EDGE_M ORED>=*1
OR_EDGT_M ORED>*1
OR_EDLE_M ORED<=*1
OR_EDLT_M ORED<*1
OR_EDNE_M ORED<>*1
EDPLUS_M *2
s1, s2
EDPLUSP_M *2
EDPLUS_3_M ED+*1
s1, s2, d
EDPLUSP_3_M ED+P*1
EDMINUS_M *2
s, d
EDMINUSP_M *2
EDMINUS_3_M ED-*1
s1, s2, d
EDMINUSP_3_M ED-P*1
EDDIV_M ED/*1
EDDIVP_M ED/P*1
s1, s2, d
EDMUL_M ED**1
EDMULP_M ED*P*1
FLTD_M FLTD
FLTDP_M FLTDP
DFLTD_M DFLTD
d
DFLTDP_M DFLTDP
EDNEG_M EDNEG
EDNEGP_M EDNEGP
EDMOV_M EDMOV
s, d
EDMOVP_M EDMOVP
*1 : For ST program, the instruction does not need to be changed to a GX Works2 instruction.
*2 : The instruction does not need to be changed to a GX Works2 instruction.
App - 150 Appendix 18.5 Changing label data types to double-precision real number
Appendix 18 Modifying instructions of projects in other formats
CONTROLLER CPU
PROGRAMMABLE
1. Replace the instruction with the GX Works2 instruction. ( Appendix 18.1)
OPERATING
18
2. Change the class of the label to "FLOAT (Double Precision)" on the label setting editor.
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
Modifying an instruction in ST program
Operation
19
1. Replace the instruction with the GX Works2 instruction.
EXTERNAL DEVICES
OPERATIONS OF
SIMULATING
2. Change the class of the label to "FLOAT (Double Precision)" on the label setting editor.
20
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Appendix 18.5 Changing label data types to double-precision real number App - 151
GX Works2
APPENDIX
When using any of the following GX IEC Developer instruction, replace the instruction with the GX
Works2 instruction, and change the data type according to the data type of the argument.
Instruction to be Argument Argument data type
modified GX Works2 whose data
GX IEC Developer instruction type is to be
changed Before change After change
instruction
FLTD_M FLTD s ANY16 Word [signed]
FLTDP_M FLTDP s ANY16 Word [signed]
DFLTD_M DFLTD s ANY32 Double word [signed]
DFLTDP_M DFLTDP s ANY32 Double word [signed]
OUT_M OUT d ANY_SIMPLE Bit
Operation
1. Replace the instruction with the GX Works2 instruction. ( Appendix 18.1)
2. Change the data type of the label to the corresponding data type on the label setting editor.
Operation
1. Replace the instruction with the GX Works2 instruction.
2. Change the data type of the label to the corresponding data type on the label setting editor.
Appendix 18.7 Changing number of array elements of array data type labels 17
CONTROLLER CPU
PROGRAMMABLE
When using any of the following GX IEC Developer instruction, replace the instruction with the GX
OPERATING
Works2 instruction, and change the number of array elements according to the data type of the
argument.
Instruction to be modified
GX Works2
Argument whose
number of array
Argument data type
18
GX IEC Developer
CONTROLLER STATUS
instruction elements is to be Before change After change
instruction changed
PROGRAMMABLE
JP_REQ s2 ARRAY[1..7] OF ANY16
DIAGNOSING
REQ_JP_M
JP_REQ d1 ARRAY[1..4] OF ANY16
ANY16(0..5)*1
GP_REQ s2 ARRAY[1..7] OF ANY16
REQ_UP_M
GP_REQ d1 ARRAY[1..4] OF ANY16
*1 : The index of the array does not need to be started from 0 if the number of array elements matches. A 19
change of the program is not necessary when the index of the array is set to 1 to match with the previous
EXTERNAL DEVICES
index.
OPERATIONS OF
Modifying an instruction in structured ladder/FBD program
SIMULATING
Operation
1. Replace the instruction with the GX Works2 instruction. ( Appendix 18.1)
20
PRINTING
2. Change the number of array element of the array data type label on the label setting editor.
21
SETTING OPTIONS
Modifying an instruction in ST program
Operation
1. Replace the instruction with the GX Works2 instruction.
22
2. Change the number of array element of the array data type label on the label setting editor.
USING LIBRARIES
I
INDEX
Appendix 18.7 Changing number of array elements of array data type labels App - 153
GX Works2
APPENDIX
When using any of the following GX IEC Developer instruction, replace the instruction with the GX
Works2 instruction, and change the data type of the argument to the array data type.
Instruction to be modified Argument whose Argument data type
GX Works2 data type is to be
GX IEC Developer instruction instruction changed to array Before change After change
data type
TEACH1_P_M ZP_TEACH1 s
TEACH2_P_M ZP_TEACH2 s
ANY16 ANY16(0..3)
TEACH3_P_M ZP_TEACH3 s
TEACH4_P_M ZP_TEACH4 s
PSTRT1_P_M ZP_PSTRT1 s
PSTRT2_P_M ZP_PSTRT2 s
ANY16 ARRAY[0..2] OF ANY16
PSTRT3_P_M ZP_PSTRT3 s
PSTRT4_P_M ZP_PSTRT4 s
BIDIN_M G_BIDIN d2
BIDINP_M GP_BIDIN d2
BIDOUT_M G_BIDOUT d
BIDOUTP_M GP_BIDOUT d
INPUT_M G_INPUT d2
ONDEMAND_M G_ONDEMAND d
ONDEMANDP_M GP_ONDEMAND d
OUTPUT_M G_OUTPUT d
OUTPUTP_M GP_OUTPUT d
PRR_M G_PRR d
PRRP_M GP_PRR d
PUTE_M G_PUTE d
PUTEP_M GP_PUTE d
READ_JP_M JP_READ d2
READ_UP_M GP_READ d2
RECV_JP_M JP_RECV d2
RECV_UP_M GP_RECV d2
REMFR_MD Z_REMFR d2 BOOL ARRAY[0..1] OF BOOL
REMFR_P_MD ZP_REMFR d2
REMTO_MD Z_REMTO d2
REMTO_P_MD ZP_REMTO d2
REQ_JP_M JP_REQ d2
REQ_UP_M GP_REQ d2
SEND_JP_M JP_SEND d
SEND_UP_M GP_SEND d
SREAD_JP_M JP_SREAD d2
SREAD_UP_M GP_SREAD d2
SWRITE_JP_M JP_SWRITE d2
SWRITE_UP_M GP_SWRITE d2
WRITE_JP_M JP_WRITE d2
WRITE_UP_M GP_WRITE d2
ZNRD_J_M J_ZNRD d2
ZNRD_JP_M JP_ZNRD d2
ZNWR_J_M J_ZNWR d2
ZNWR_JP_M JP_ZNWR d2
App - 154 Appendix 18.8 Changing label data type to array data type
Appendix 18 Modifying instructions of projects in other formats
CONTROLLER CPU
PROGRAMMABLE
1. Replace the instruction with the GX Works2 instruction. ( Appendix 18.1)
OPERATING
18
2. Change the label data type to array data type on the label setting editor.
CONTROLLER STATUS
PROGRAMMABLE
DIAGNOSING
Modifying an instruction in ST program
Operation
1. Replace the instruction with the GX Works2 instruction. 19
EXTERNAL DEVICES
OPERATIONS OF
2. Change the label data type to array data type on the label setting editor.
SIMULATING
20
Precautions when changing data type
Since the label data type is changed to array data type, labels used in the program needs to be modified
according to the array data type.
PRINTING
21
SETTING OPTIONS
22
USING LIBRARIES
A
APPENDIX
I
INDEX
Appendix 18.8 Changing label data type to array data type App - 155
GX Works2
APPENDIX
MEMO
App - 156 Appendix 18.8 Changing label data type to array data type
INDEX
Index - 1
SIMULATING DIAGNOSING OPERATING
OPERATIONS OF PROGRAMMABLE PROGRAMMABLE
I
INDEX APPENDIX USING LIBRARIES SETTING OPTIONS PRINTING EXTERNAL DEVICES CONTROLLER STATUS CONTROLLER CPU
A
22
21
20
19
18
17
GX Works2
INDEX
Index - 2
Diagnosing CC-Link and CC-Link/LT .....................18-46 [I]
Diagnosing CC-Link IE Controller Network ...........18-24 instruction conversion list .................................... App-114
17
Diagnosing CC-Link IE Field Network ....................18-33 intelligent function module ............................. 4-40, 12-13
CONTROLLER CPU
Diagnosing Ethernet .................................................18-59
PROGRAMMABLE
IP communication test ..............................................18-39
Diagnosing Programmable Controller CPU .. 18-2, 18-7 I/O system setting file ................................... 19-26, 19-29
OPERATING
digit .................................................................. 10-16, 10-18
direct data entry .........................................................19-11 [K]
disabled scans ...........................................................19-21 keep .............................................................................19-14 18
Display Format .............................................................21-7
CONTROLLER STATUS
Display Lines of Monitored Current Value ...............21-7 [L]
PROGRAMMABLE
display size ...................................................................7-12 L series ........................................................................ A-31
DIAGNOSING
docking windows .........................................................3-15 Label Names ........................................................... App-90
double word .................................................... 10-18, 10-22 label programming ........................................................1-5
duplicated coil ..............................................................21-5 ladder editing mode ....................................................9-11
Latch Data Backup ....................................................12-32 19
[E] LED status ..................................................................18-62
EXTERNAL DEVICES
edit timing chart format ................................. 19-14, 19-16 link memory ..................................................................21-7
OPERATIONS OF
enabling high-speed monitoring from another Link start/stop .............................................................18-29
SIMULATING
station ............................................................................17-5 Local comments ............................................................9-4
enabling Online program change of multiple local device comment ...................................................9-3
blocks ............................................................................17-5 Logging .......................................................................18-31
English Version of GX Works2 ........................... App-136 Logging in projects ......................................................4-63
20
Enter Device screen ..................................................19-16 logs .................................................................. 10-29, 10-31
Error History ...............................................................18-61 Loop test .....................................................................18-15
error history monitoring ............................................18-21 loop test/transmission speed test ...........................18-52
PRINTING
Error icons ..................................................................18-89 Loopback test .............................................................18-76
Error Information ..........................................................18-4
[M]
Ethernet adapter module ........................................... A-32 21
Ethernet Adapter Module Configuration Tool .......17-14 Managing block passwords .......................................4-67
SETTING OPTIONS
examples of device search ......................................10-18 MELSECNET Diagnostics .......................................18-11
examples of instruction search ................................10-22 module error history collection function ..... 18-86, 18-87
execution type ........................................................ 4-5, 4-7 Monitoring Interrupt Program List ...........................14-14
Export CSV Data .......................................................16-24 Monitoring line (host station) ...................................18-46
Export to GX Developer Format File .............. 4-54, 4-55 Monitoring Program List ...........................................14-11
Export to ROM Format .............................................12-27 Monitoring Value .........................................................21-7 22
Multiple word ..............................................................10-16
USING LIBRARIES
[F]
FB libraries ...................................................................22-3 [N]
file under execution .....................................................19-8 Navigation window .............................................. 3-4, 3-18
Filtering condition ......................................................10-12 Network .......................................................................18-22
Filtering display ..........................................................10-11 network event history ................................................18-42
Find ................................................................................7-14
A
network parameter ......................................................6-16
find option .....................................................................10-9 CC-Link ........................................................ 6-23, 6-25
Format types ................................................................17-5 CC-Link IE .............................................................6-20
Formatting a memory card .........................................17-5 Ethernet .................................................................6-22
APPENDIX
MELSECNET/10 ..................................................6-21
FX series ...................................................................... A-31
MELSECNET/H ....................................................6-21
Remote I/O ............................................................6-22
[G]
Network route ...............................................................11-4 I
global device comment .................................................9-2
Network test ...............................................................18-13
GOT transparent function ........................................11-28
New ...............................................................................4-31
GX Simulator .........................................19-9, 19-22, 19-29
number of contacts .....................................................21-6
GX Simulator2 ............................................................. A-31
INDEX
Index - 3
GX Works2
INDEX
Index - 4
special debugging sequence program .....................19-2 [V]
Split into volumes of the following size ....................4-15 Verify with PLC ..........................................................12-21
17
SRAM card .................................................................12-61 Verifying project data ..................................................4-18
CONTROLLER CPU
standard ROM ............................................................12-28
PROGRAMMABLE
Verifying revisions .......................................................4-46
Start Monitoring ...........................................................14-6
OPERATING
Start Trace ..................................................................16-20 [W]
Station order check test ............................................18-18 warning .........................................................................21-9
status bar ......................................................................3-21 warning codes ..............................................................21-9 18
status logging .............................................................18-54 Watch ..........................................................................14-15
CONTROLLER STATUS
status of each connection ............................ 18-61, 18-67 windows ........................................................................3-14
PROGRAMMABLE
status of each protocol .............................................18-62 word .............................................................................10-22
DIAGNOSING
Structured project ....................................................... A-33 Word Device Setting screen ....................................19-13
Switch Chart/Detail ....................................................16-22 work window ...................................................................3-9
Switching display format ............................................7-12 Write Device Memory to PLC ....................................7-15
Symbolic information ................................................12-16 Write PLC User Data ................................................12-28 19
System image(s) ..........................................................11-5 Write to CSV File .........................................................9-15
EXTERNAL DEVICES
System Monitor .............................................. 18-80, 18-93 Write to PLC .................................................................12-2
OPERATIONS OF
Write to PLC (trace data) ............................. 16-25, 16-28
SIMULATING
[T]
target simulator setting ...............................................19-9 [Extension]
template .............................................................. 3-25, 3-26 *.DAT ...........................................................................19-22
temporary error invalid station setting/restore ......18-45 *.IOS ................................................................ 19-26, 19-29
20
timing chart .................................................................19-14
timing chart data file ..................................................19-22
timing chart input ............................................. 19-8, 19-14
PRINTING
timing setting ..............................................................19-19
timings of bit devices ................................................19-19
timings of word devices ............................................19-20 21
Tool hint ..........................................................................3-9
SETTING OPTIONS
toolbars ...............................................................3-5, App-2
Trace Setting .................................................. 16-14, 16-15
trigonometric function ...............................................19-20
[U]
Unlocking a remote password ...................................12-5 22
Unlocking block passwords .......................................4-69
USING LIBRARIES
unlocking keyword temporarily ................................13-15
unlocking password temporarily .................... 13-5, 13-10
unpacking ........................................................... 4-15, 4-16
unpacking divided compressed files ........................4-17
update ...........................................................................11-4
A
USB cables .....................................................................2-4
FX3U/FX3UC .............................................................2-5
QCPU (Q mode)/LCPU .........................................2-4
USB/Serial Port ..............................................................2-2
APPENDIX
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.