GX Simulator
GX Simulator
GX Simulator
Operating Manual
-SW7D5C-LLT-E
SAFETY PRECAUTIONS
(Read these precautions before using this product.)
Before using this product, please read this manual and the relevant manuals carefully and pay full
attention to safety to handle the product correctly.
In this manual, the safety precautions are classified into two levels: " WARNING" and " CAUTION".
Under some circumstances, failure to observe the precautions given under " CAUTION" may lead to
serious consequences.
Observe the precautions of both levels because they are important for personal and system safety.
Make sure that the end users read this manual and then keep the manual in a safe place for future
reference.
A-1 A-1
[Security Precautions]
WARNING
To maintain the security (confidentiality, integrity, and availability) of the programmable
controller and the system against unauthorized access, denial-of-service (DoS) attacks,
computer viruses, and other cyberattacks from external devices via the network, take
appropriate measures such as firewalls, virtual private networks (VPNs), and antivirus solutions.
A-2 A-2
CONDITIONS OF USE FOR THE PRODUCT
(1) MELSEC programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or
serious accident; and
ii) where the backup and fail-safe function are systematically or automatically provided outside of the
PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general
industries.
MITSUBISHI ELECTRIC SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT
NOT LIMITED TO ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT,
WARRANTY, TORT, PRODUCT LIABILITY) FOR ANY INJURY OR DEATH TO PERSONS OR
LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR
USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS, PRECAUTIONS,
OR WARNING CONTAINED IN MITSUBISHI ELECTRIC USER'S, INSTRUCTION AND/OR
SAFETY MANUALS, TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT.
("Prohibited Application")
Prohibited Applications include, but not limited to, the use of the PRODUCT in;
Nuclear Power Plants and any other power plants operated by Power companies, and/or any other
cases in which the public could be affected if any problem or fault occurs in the PRODUCT.
Railway companies or Public service purposes, and/or any other cases in which establishment of a
special quality assurance system is required by the Purchaser or End User.
Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as Elevator
and Escalator, Incineration and Fuel devices, Vehicles, Manned transportation, Equipment for
Recreation and Amusement, and Safety devices, handling of Nuclear or Hazardous Materials or
Chemicals, Mining and Drilling, and/or other applications where there is a significant risk of injury to
the public or property.
Notwithstanding the above restrictions, Mitsubishi Electric may in its sole discretion, authorize use of
the PRODUCT in one or more of the Prohibited Applications, provided that the usage of the
PRODUCT is limited only for the specific applications agreed to by Mitsubishi Electric and provided
further that no special quality assurance or fail-safe, redundant or other safety features which exceed
the general specifications of the PRODUCTs are required. For details, please contact the Mitsubishi
Electric representative in your region.
(3) Mitsubishi Electric shall have no responsibility or liability for any problems involving programmable
controller trouble and system trouble caused by DoS attacks, unauthorized access, computer viruses,
and other cyberattacks.
A-3 A-3
REVISIONS
* The manual number is given on the bottom left of the back cover.
Print Date * Manual Number Revision
Sep., 2004 SH (NA)-080468ENG-A First edition
Nov., 2004 SH (NA)-080468ENG-B Correction
Section 11.1
Feb., 2005 SH (NA)-080468ENG-C Correction
Section 1.2, Section 3.4.3, Section 3.4.6
Aug., 2005 SH (NA)-080468ENG-D Correction
Chapter 1, Section 1.1, Section 1.2, Section 2.2, Section 2.3,
Section 3.1, Section 3.2, Section 3.4.4, Section 3.4.6, Section 4.1,
Section 4.3, Chapter 7, Appendix 4
Nov., 2005 SH (NA)-080468ENG-E Addition mode
FX3UCPU, FX3UCCPU
Correction
About the Generic Terms and Abbreviations, Section 1.1,
Section 1.2, Section 3.4.1, Section 3.4.4, Section 7.1.4, Section 9.2,
Section 11.1, Appendix 1.3, Appendix 1.5, Appendix 2.3,
Appendix 3.1, Appendix 3.2, Appendix 4
Apr., 2006 SH (NA)-080468ENG-F Correction
Section 3.4.1, Section 3.4.3, Section 3.4.6, Section 4.3,
Appendix 3.1, Appendix 3.2
May., 2007 SH (NA)-080468ENG-G Correction
Appendix 2.2, Appendix 2.5
Feb., 2008 SH (NA)-080468ENG-H Correction
About the Generic Terms and Abbreviations, Section 2.3,
Section 3.4.6, Appendix 4
Apr., 2008 SH (NA)-080468ENG-I Addition mode
Q02PHCPU, Q06PHCPU
Correction
About the Generic Terms and Abbreviations, Appendix 5
Jul., 2008 SH (NA)-080468ENG-J Addition mode
FX3GCPU
Correction
About the Generic Terms and Abbreviations, Section 3.4.4,
Appendix 1.3, Appendix 1.5, Appendix 2.3, Appendix 5
A-4 A-4
Print Date * Manual Number Revision
Dec., 2008 SH (NA)-080468ENG-K Addition mode
Q00UJCPU, Q00UCPU, Q01UCPU, Q02UCPU, Q03UDCPU,
Q03UDECPU, Q04UDHCPU, Q04UDEHCPU, Q06UDHCPU,
Q06UDEHCPU, Q10UDHCPU, Q10UDEHCPU, Q13UDHCPU,
Q13UDEHCPU, Q20UDHCPU, Q20UDEHCPU, Q26UDHCPU,
Q26UDEHCPU
Correction
About the Generic Terms and Abbreviations, Section 1.2,
Section 3.2, Section 3.4.1, Section 3.4.6, Section 5.5.3,
Section 5.5.6, Section 7.1.4, Section 7.1.5, Section 7.1.6,
Section 7.1.7, Section 7.2.8, Appendix 1.5, Appendix 2.5,
Appendix 5 changed to Appendix 4
Deletion
Appendix 4
Sep., 2009 SH (NA)-080468ENG-L Correction
SAFETY PRECAUTIONS, About Manuals, Product Makeup,
Appendix 1.1, Appendix 1.2, Appendix 1.5, Appendix 2.3
Deletion
SOFTWARE USER REGISTRATION
Dec., 2010 SH (NA)-080468ENG-M Addition
CONDITIONS OF USE FOR THE PRODUCT
Correction
About the Generic Terms and Abbreviations, Section 1.2,
Section 2.2, Section 2.3, Section 3.1, Section 3.4.1, Section 3.4.6,
Chapter 5, Section 5.5.6, Section 7.2.6, Section 11.1,
Appendix 1.5, Appendix 2.5, Appendix 4
Dec., 2012 SH(NA)-080468ENG-N Correction
Appendix 1.1, Appendix 1.5
Jul., 2017 SH(NA)-080468ENG-O Correction
Section 3.4.6
Oct., 2021 SH(NA)-080468ENG-P Correction
SAFETY PRECAUTIONS,
CONDITIONS OF USE FOR THE PRODUCT, About Manuals,
About the Generic Terms and Abbreviations, Section 2.3,
Appendix 1.3
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.
2004 MITSUBISHI ELECTRIC CORPORATION
A-5 A-5
INTRODUCTION
CONTENTS
1. OUTLINE OF GX Simulator 1- 1 to 1- 12
2. SYSTEM CONFIGURATION 2- 1 to 2- 3
3. SPECIFICATIONS 3- 1 to 3-26
A-6 A-6
5. SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM SETTING FUNCTIONS 5- 1 to 5-35
A-7 A-7
7.2 Using Timing Chart .................................................................................................................................. 7-15
7.2.1 Operation procedure of timing chart ................................................................................................. 7-15
7.2.2 Starting/Exiting timing chart .............................................................................................................. 7-16
7.2.3 Using timing chart.............................................................................................................................. 7-17
7.2.4 Entering/Deleting device to be monitored ........................................................................................ 7-20
7.2.5 Starting/Stopping monitoring ............................................................................................................ 7-23
7.2.6 Operating file ..................................................................................................................................... 7-24
7.2.7 Setting sampling period .................................................................................................................... 7-26
7.2.8 Other operations................................................................................................................................ 7-27
9. SAVING AND READING THE DEVICE AND BUFFER MEMORIES, OPTION SETTING
- TOOL FUNCTIONS 9- 1 to 9- 6
A-8 A-8
APPENDICES App- 1 to App-71
A-9 A-9
About Manuals
The following manuals are related to this product.
Refer to the following table and request the necessary manuals.
Related Manuals
Manual Number
Manual Name
(Model Code)
GX Simulator Version 7 Operating Manual SH-080468ENG
Describes the functions and operation methods of GX Simulator. (this manual) (Sold separately) (13JU51)
REMARK
The GX Simulator Version 7 Operating Manual is included in the software package
in PDF file.
For the user who wants the GX Simulator Version 7 Operating Manual as a single
item, it is available in a printed form as an option.
A - 10 A - 10
About the Generic Terms and Abbreviations
Unless otherwise specified, the following generic terms and abbreviations are
used in this manual.
A - 11 A - 11
Generic Term/Abbreviation Description
Generic term of the Q2ACPU, Q2ASCPU, Q2ASCPU-S1, Q2ASHCPU, Q2ASHCPU-S1,
QnA series CPU
Q3ACPU, Q4ACPU and Q4ARCPU.
Generic term of the FX0CPU, FX0SCPU, FX0NCPU, FX1CPU, FX2CPU, FX2CCPU,
FX series CPU FX1SCPU, FX1NCPU, FX1NCCPU, FX2NCPU, FX2NCCPU, FX3GCPU, FX3UCPU and
FX3UCCPU.
Generic term of the A171SHCPU, A172SHCPU, A173UHCPU, A173UHCPU-S1,
Motion controller
A273UHCPU and A273UHCPU-S3.
Q series CPU (A mode) Generic term of the Q02CPU-A, Q02HCPU-A and Q06HCPU-A.
Generic term of the Q00JCPU, Q00UJCPU, Q00CPU, Q00UCPU, Q01CPU, Q01UCPU,
Q02CPU, Q02HCPU, Q02PHCPU, Q02UCPU, Q03UDCPU, Q03UDECPU, Q04UDHCPU,
Q04UDEHCPU, Q06HCPU, Q06PHCPU, Q06UDHCPU, Q06UDEHCPU, Q10UDHCPU,
Q series CPU (Q mode)
Q10UDEHCPU, Q12HCPU, Q12PHCPU, Q12PRHCPU, Q13UDHCPU, Q13UDEHCPU,
Q20UDHCPU, Q20UDEHCPU, Q25HCPU, Q25PHCPU, Q25PRHCPU, Q26UDHCPU and
Q26UDEHCPU.
R
Windows Vista or later Generic term for Windows Vista and Windows 7.
A - 12 A - 12
Product Makeup
GX Simulator is made up of the following products.
1: The number of included license agreements are packed with the product which is equivalent to the number of licenses.
NOTICES
• We do not guarantee the commercially-available Microsoft Windows Operating
R R
A - 13 A - 13
MEMO
A - 14 A - 14
1 OUTLINE OF GX Simulator
MELSOFT
1. OUTLINE OF GX Simulator
1
This operating manual describes the functions and operation of the GX Simulator
Version 7.
Operating System.
Offline debugging is possible by adding the GX Simulator to a computer in which the
GX Developer is installed. The offline debugging functions include the monitor and the
test of the host station/other station devices and simulated operation of external device
I/Os.
As the GX Simulator allows sequence programs to be developed and debugged on a
single computer, checking a modified program is quick and easy.
GX Developer must be installed before these functions can be used.
GX GX
Developer Simulator
Device monitor and test, simulated operation
of machine side I/Os, etc. are possible.
Install
Connection of PLC
is not necessary.
1-1 1-1
1 OUTLINE OF GX Simulator
MELSOFT
Conventional debugging
GX Developer
Ladder monitor
Batch monitor (device memory)
Batch monitor (buffer memory)
Communication
Special
Power
CPU I/O module function
supply
module
1-2 1-2
1 OUTLINE OF GX Simulator
MELSOFT
Communication
GX Simulator
1) Basic
screen
3) Device 4) Buffer
memory memory
simulation simulation
2) CPU function function
simulation
function
5) 6) 7) 8) 9) 10)
Device batch Timing chart I/O system Serial Device Tool function
monitor settings communication manager
function function
1-3 1-3
1 OUTLINE OF GX Simulator
MELSOFT
To debug the
X0 X1
program shown
Y0 on the left
Start Stop Run
Y0
Conventional debugging: Debugging program created
Y0 5s timer
5s timer setting
SET X1
<Conventional debugging>
Debugging was performed with the external device connected with the serial
communication module (computer link module) actually.
Serial communication module
PLC (computer link module)
Serially connectable
external device
Frame transmission
Response
1-4 1-4
1 OUTLINE OF GX Simulator
MELSOFT
Serially connectable
external device
GX Simulator
Frame transmission
Response
1-5 1-5
1 OUTLINE OF GX Simulator
MELSOFT
End Sub
Device read/write
GX Simulator
1-6 1-6
1 OUTLINE OF GX Simulator
MELSOFT
(8) Can analyze the situation of trouble in a design room and quickly
identify incorrect places (Device memory write function)
The PLC status in the field can be recreated based on the device memory data at
the occurrence of trouble in a design room. The sequence program operation
that cannot be checked in the field (e.g. device test) can be confirmed.
Therefore, incorrect places of sequence program can be quickly identified and
the modification and the operation check are smoothly proceeded.
trouble
1-7 1-7
1 OUTLINE OF GX Simulator
MELSOFT
The specifications for debugging using the GX Simulator differ from those for
debugging with an actual PLC connected.
The main differences between debugging using the GX Simulator and debugging with
an actual PLC connected are shown below.
Refer to Section 3.4 for details.
R device File
range register
R32767
ZR device range
1-8 1-8
1 OUTLINE OF GX Simulator
MELSOFT
LEDR
END
• A series CPU
• QnA series CPU
• FX series CPU
Time concept Actual time As per constant scan setting.
• Motion controller
• Q series CPU (Q mode)
• Q series CPU (A mode)
• A series CPU
Since data refresh instructions, PID control instructions • QnA series CPU
Supported All instructions can be (QnA series, FX series CPUs), etc. cannot be used, they • FX series CPU
instructions used. are processed as NOPs. • Motion controller
(Refer to Appendix-2 for supported instructions.) • Q series CPU (Q mode)
• Q series CPU (A mode)
• Operates as A4UCPU when A series CPU, motion
controller or Q series CPU (A mode) is selected. • A series CPU
• Operates as Q4ACPU when QnA series CPU is • QnA series CPU
Operating CPU According to CPU type selected. • FX series CPU
type used. • Operates as FX series CPU when FX series CPU is • Motion controller
selected. • Q series CPU (Q mode)
• Operates as Q25HCPU when Q series CPU (Q mode) • Q series CPU (A mode)
is selected.
• A series CPU
Special function • QnA series CPU
Not supported.
module • FX series CPU
Supported Only the buffer memory area of a special function module
(special function • Motion controller
(special function block) is supported.
block) • Q series CPU (Q mode)
• Q series CPU (A mode)
1-9 1-9
1 OUTLINE OF GX Simulator
MELSOFT
1 - 10 1 - 10
1 OUTLINE OF GX Simulator
MELSOFT
1 - 11 1 - 11
1 OUTLINE OF GX Simulator
MELSOFT
1 - 12 1 - 12
2 SYSTEM CONFIGURATION
MELSOFT
2. SYSTEM CONFIGURATION
GX Developer GX Simulator
or
GT Simulator (This product)
(option)
Parsonal computer
later is required.
2-1 2-1
2 SYSTEM CONFIGURATION
MELSOFT
Item Description
Installation (Add-in) destination Added in to GX Developer (SW2D5C-GPPW-E or later, SW8D5C-GPPW-C).
2
Computer main unit Personal computer on which Windows operates.
R
CPU Refer to the following table "Applicable operating system and required PC
Required memory performance".
Hard disk free space 70MB or more 1
Disk drive CD-ROM disk drive
Display 800 600 dot or more resolution. 2
Windows 7 (Starter, Home Premium, Professional, Ultimate, Enterprise) 3
R
Windows 98R
Windows R
95
1: 1MB is required to use a file register.
Make sure that the required space is secured within the driven in which this product has been installed, before using file
register.
2: Resolution 1024 × 768 pixels or higher is recommended for Windows Vista or Windows 7. R R
2-2 2-2
2 SYSTEM CONFIGURATION
MELSOFT
POINT
When using PDF data or online manuals, adding memory of the personal
computer enables more comfortable operation.
2-3 2-3
3 SPECIFICATIONS
MELSOFT
3. SPECIFICATIONS
3-1 3-1
3 SPECIFICATIONS
MELSOFT
Tools
Writes device memory data to a file.
Backup Device Memory..................................... Section 9.1
Backup Buffer Memory...........................................
Writes buffer memory data to a file. Section 9.1
Restore Device Memory.....................................
Reads the saved device memory data. Section 9.2
Restore Buffer Memory...........................................
Reads the saved buffer memory data. Section 9.2
Option
Selects how to display the initial screen
Display as minimized next time............................ Section 9.3
at the start of GX Simulator.
Help
Product information.........................................Shows the product information.
Online
Specifies the station to be monitored.
Transfer setup........................................................................ Section 7.1.3
Device write................................................................ Conducts a device test. Section 7.1.7
3-3 3-3
3 SPECIFICATIONS
MELSOFT
Open File.........................................................................
Reads the saved monitor device data. Section 7.2.6
Writes the device data currently
Save File As......................................................................... Section 7.2.6
monitored.
Save Timing Data...........................................Saves as the timing chart data file. Section 7.2.6
Exit.........................................................................
Exits from Timing Chart. Section 7.2.2
Device
Enter Device......................................................................
Registers the devices to be monitored. Section 7.2.4
Deletes the selected devices.
Delete Device........................................................................ Section 7.2.4
Lists the devices being monitored.
List Device........................................................................ Section 7.2.8
Property.......................................................................
Change the display format of the Section 7.2.8
selected device.
Monitor
Start/Stop......................................................................
Starts/stops monitor. Section 7.2.5
Sampling period..............................................To change the Data accumulation Section 7.2.7
interval.
3-4 3-4
3 SPECIFICATIONS
MELSOFT
New.........................................................................
Creates the new I/O system setting file. Section 5.8.1
Open.........................................................................
Opens current I/O system setting file. Section 5.8.1
Save................................................................Overwrites and saves file being opened. Section 5.8.1
Save As.........................................................................
Gives the name to the file being opened Section 5.8.1
and saves it.
Execute I/O System Settings.........................................................................
Executes the I/O system setting. Section 5.7
Cancel I/O system setting.........................................................................
Cancels the I/O system setting. Section 5.7
Import Earlier Version of I/O System File.......Reads I/O system setting files from Section 5.8.5
SW2 to SW5.
Exit I/O System Settings.................................Exits the I/O system setting. Section 5.2
Edit
Cut......................................................................
Cuts the selected setting No.. Section 5.8.2
Copies the selected setting No..
Copy........................................................................ Section 5.8.2
Pastes the setting No. cut or copied.
Paste........................................................................ Section 5.8.2
Online
Monitor Mode......................................................................
Starts monitor. Section 5.8.4
Edit Mode........................................................Stops monitor. Section 5.8.4
View
Tool Bar......................................................................
Set whether tool bar is displayed or not.
Set whether status bar is displayed or
Status Bar........................................................................
not.
Window
Cascade......................................................................
Cascades currently open screens.
Tiles currently open screens.
Tile.....................................................................
Arranges screens reduced to icons.
Arrange..................................................................
3-5 3-5
3 SPECIFICATIONS
MELSOFT
Open File.........................................................................
Opens the timing chart data file. Section 5.5.6
Exit.........................................................................
Exits from timing format input. Section 5.5.2
Device
Enter Device......................................................................
Registers the devices to be setting. Section 5.5.3
Deletes the registered devices.
Delete Device........................................................................ Section 5.5.3
Lists the registered devices.
List Device........................................................................ Section 5.5.6
Changes the display format of the
Property........................................................................ Section 5.5.6
selected device.
Edit
Undo......................................................................
Returns to previous status one step Section 5.5.6
before execution.
Sets status of bit device.
Bit Device........................................................................ Section 5.5.4
Sets status of word device.
Word Device........................................................................ Section 5.5.4
Activates setting of wizard screen.
Wizard........................................................................ Section 5.5.4
Inserts timing to selected section.
Insert........................................................................ Section 5.5.4
Deletes timing of selected section.
Delete........................................................................ Section 5.5.4
Scan
Scan Setting......................................................................
Specifies scan number. Section 5.5.5
3-6 3-6
3 SPECIFICATIONS
MELSOFT
Edit
Undoes the last operation.
Undo.......................................................................................... Section 8.7.2
Redoes the undone operation.
Redo.......................................................................................... Section 8.7.2
Cut.....................................................................................Cuts the specified line. Section 8.7.2
Copies the specified line.
Copy..................................................................................... Section 8.7.2
Pastes the cut or copied line.
Paste......................................................................................... Section 8.7.2
Inserts a line into the specified area.
Insert....................................................................................... Section 8.7.2
Deletes the specified line.
Delete...................................................................................... Section 8.7.2
Clears the specified line.
Clear.................................................................................... Section 8.7.2
Sorts the settings in ascending order.
Sort by Ascending............................................................... Section 8.7.2
Sorts the settings in descending order.
Sort by Descending................................................................ Section 8.7.2
Searches for the log information and/or
Find............................................................................................ Section 8.7.4
setting information.
Operation
Starts each function of Device Manager.
Start..................................................................................... Section 8.5
Stops the function being executed.
Stop....................................................................................... Section 8.5
Export Log......................................................................Saves the log result into the specified file. Section 8.7.5
Clears the log result.
Clear Log................................................................................... Section 8.7.6
3-7 3-7
3 SPECIFICATIONS
MELSOFT
GX Simulator operates in the following device ranges and with the following
instructions.
However, some devices and instructions are restricted or are not supported.
Unsupported devices and instructions are not processed (NOP). These NOP
instructions are shown on the initial screen of the GX Simulator as unsupported
information. (Refer to Section 4.3)
POINT
In this manual, the PLC portion of the motion controller is described as a function of
the motion controller.
In addition, the A171SH, A172SH, A173UH(S1), and A273UH(S3) are included in
the device/instruction support range of the A2SH, A2SH(S1), A3U, and A3U
respectively.
3-8 3-8
3 SPECIFICATIONS
MELSOFT
The restrictions and cautions when debugging with the GX Simulator are described
below.
300ms Scan1
T0=3 Scan1
T0=6 Scan1
T0=9 T0=12
Scan1 T0=15
Scan1
(To change the time, you can use D9020 for the A series CPU/Q series CPU (A
mode)/motion controller functions, parameter setting for the QnA series CPU/Q
series CPU (Q mode) functions, or D8039 for the FX series CPU functions.)
In the GX Simulator, the count made by the timer instruction during one scan
changes with the constant scan setting. At the constant scan setting of 100ms,
the 100ms timer counts +1 during one scan. At the constant scan setting of
300ms, the 100ms timer counts +3 during one scan.
3-9 3-9
3 SPECIFICATIONS
MELSOFT
(7) Comments
Not supported by the GX Simulator.
settings, the task bar is hidden and not displayed at the bottom of the screen if
the GX Developer screen is displayed at its maximum size and the GX Simulator
initial screen is active.
The task bar is displayed when the GX Developer screen is reduced or the GX
Developer screen is set active.
3 - 10 3 - 10
3 SPECIFICATIONS
MELSOFT
When the SD device read from PLC CPU is written to GX Simulator in STOP
status, the display changes as the following.
GX Simulator the Initial Screen GX Developer the monitor status dialog box
1: The PLC CPU status in monitor status dialog box is displayed based on the
information of SD device.
3 - 11 3 - 11
3 SPECIFICATIONS
MELSOFT
Parameter Setting
Memory capacity Disabled other than Sequence and "File register" of "program capacity".
PLC system "Output modes except for STOP RUN" are disabled.
• "Annunciator display mode" is disabled.
PLC parameter PLC RAS • Only "Operation error" and "Special function module access error" in
the "operating mode when there is an error" are enabled.
I/O assignment All valid.
Device "Latch Start" is disabled.
Network Parameter All disabled.
3 - 12 3 - 12
3 SPECIFICATIONS
MELSOFT
3 - 13 3 - 13
3 SPECIFICATIONS
MELSOFT
3.4.3 Restrictions and cautions for the QnA series CPU functions
Parameter Setting
PLC name All disabled.
PLC system Disabled, except for "Output mode at STOP to RUN" and "Common pointer No."
• The corresponding memory for the "file register" is disabled.
• The "comment file used in a command" is disabled.
PLC file
• The "corresponding memory" for the "device initial value" is disabled.
• The "corresponding memory" for the "file for local device" is disabled.
• "Error Check" is disabled.
PLC • Only "Operation error" and "Special function module access error" in the
PLC RAS "operating mode when there is an error" are enabled.
parameter
• "Annunciator display mode" is disabled.
• "Break down history" and "Lowspeed program execution time” are disabled.
I/O assignment "Standard settings" (base, Power supply unit, Increase cable) are all disabled.
Device "Latch Start" is disabled.
Program All valid.
Boot file All disabled.
SFC All disabled.
Network Parameter All disabled.
(4) Monitoring
• When the [Local device monitor non-execution] monitor status is selected in the
local device monitor of GX Developer, GX Simulator monitors the devices of
the program executed at the end of each scan.
However, when a low-speed execution type program is used, it is always
executed at the end of each scan. Therefore, GX Simulator monitors the
devices processed by the low-speed execution type program. Refer to (5) in
this section for details.
• When monitoring devices by specifying the program in the local device monitor
of GX Developer, GX Simulator monitors the local devices of the specified
program, regardless of whether a scan execution type program exists or not.
3 - 14 3 - 14
3 SPECIFICATIONS
MELSOFT
Scan execution type 2 (Assume 1 scan uses 100 ms, then execution of 5 scans
500 ms. Changing of a reference time is possible by changing
the constant scan time (Refer to Section 3.4.1, (1)).
Low-speed type i
During each scan, all scan execution type programs are executed before one
low-speed execution type program is executed. Consequently, if N low-speed
execution type programs are set, N scans are required to execute them all.
POINT
Since a low-speed execution type program is always completed within one scan,
the monitor value of SM510 is always OFF.
3 - 15 3 - 15
3 SPECIFICATIONS
MELSOFT
3 - 16 3 - 16
3 SPECIFICATIONS
MELSOFT
3 - 17 3 - 17
3 SPECIFICATIONS
MELSOFT
(6) Debugging
The step execution, skip execution and partial execution functions are only valid
when using the GX Simulator.
They cannot be used when an actual PLC is connected.
3 - 18 3 - 18
3 SPECIFICATIONS
MELSOFT
3 - 19 3 - 19
3 SPECIFICATIONS
MELSOFT
REMARK
Any restrictions and cautions other than the ones described above are the same as
those for the A series CPU functions. For the restrictions and cautions for the A
series CPU functions, refer to Section 3.4.2.
For details of the motion controller, refer to the Motion Controller User's Manual.
3 - 20 3 - 20
3 SPECIFICATIONS
MELSOFT
1) A mode
For the Q series CPU (A mode) functions, the A series CPU functions perform as
equivalent to those of the A4U, and therefore, refer to the restrictions on the A series
CPU.
2) Q mode
(1) Compatibility with the special function module
The GX Simulator does not support the special function module.
However, it has the area of 64k points 64 modules for the buffer memory of the
special function module. This area can be accessed, but access beyond that will
result in an error.
3 - 21 3 - 21
3 SPECIFICATIONS
MELSOFT
(4) Monitoring
• When the [Local device monitor non-execution] monitor status is selected in the
local device monitor of GX Developer, GX Simulator monitors the devices of
the program executed at the end of each scan.
However, when a low-speed execution type program or cyclic execution type
program is used, GX Simulator may monitor the devices processed by the low-
speed execution type program or cyclic execution type program at the end of
each scan. Refer to (5) or (6) in this section for details.
• When monitoring devices by specifying the program in the local device monitor
of GX Developer, GX Simulator monitors the local devices of the specified
program, regardless of whether a scan execution type program exists or not.
Scan execution type 2 (Assume 1 scan uses 100 ms, then execution of 5 scans
500 ms. Changing of a reference time is possible by changing
the constant scan time (Refer to Section 3.4.1, (1)).
Low-speed type i
During each scan, all scan execution type programs are executed before one
low-speed execution type program is executed. Consequently, if N low-speed
execution type programs are set, N scans are required to execute them all.
POINT
Since a low-speed execution type program is always completed within one scan,
the monitor value of SM510 is always OFF.
3 - 22 3 - 22
3 SPECIFICATIONS
MELSOFT
Scan execution
type program
Low-speed execution
type program A
When the cycle of cyclic execution type program is shorter than the constant
scan time of 100 milliseconds, the processing timing is once per scan.
Elapse of 400 millisec.
Elapse of 300 millisec.
Elapse of 100 millisec.
3 - 23 3 - 23
3 SPECIFICATIONS
MELSOFT
3 - 25 3 - 25
3 SPECIFICATIONS
MELSOFT
The safety and handling precautions for the GX Simulator are described below.
(2) The calculated results may differ from actual operation because the
GX Simulator does not access the I/O modules or special function
modules and do not support some instructions and devices.
POINT
After debugging has been performed by GX Simulator, it is necessary to execute
normal debugging by connecting the PLC CPU before starting actual operation.
3 - 26 3 - 26
4 COMMON OPERATIONS FOR THE GX Simulator
MELSOFT
GX GX
Developer Simulator
4
Install
Procedure 3 In GX Developer, set the parameters to assign the I/Os (for A/QnA/Q series CPU
functions) and make the program settings (for QnA series/ Q series (Q mode) CPU
functions).
Refer to the GX Developer Operating Manual.
POINTS
(1) Always do the program settings for the QnA series/Q series CPU function.
If you do not make the program settings and the GX Developer is of version
later than SW2D5 -GPPW-E the following will occur.
1) The ladder sequence (list) of the active screen of GX Developer will be
written.
2) The sequence program will not be written, if the active screen is not a ladder
(list) screen or if there are no active screens.
(2) Please set the I/O assignments (for A/QnA/Q series CPU function) before
reading/writing the buffer memory of special function module.
Refer to Section 4.2 (4).
(To next page)
4-1 4-1
4 COMMON OPERATIONS FOR THE GX Simulator
MELSOFT
Procedure 5 Set various devices that support the offline debugging of the user application.
Refer to "Chapter 8 Device Manager Function".
Debug the sequence program using the GX Simulator and GX Developer functions. 4
Procedure 6 Debugging is possible by using the device monitor, changing arbitrary device values,
or simulation of machine operation.
Refer to "Chapter 5 I/O SYSTEM SETTING FUNCTIONS"
and "Chapter 7 MONITOR FUNCTION".
Refer to the GX Developer Operating Manual.
Connection of actual
PLC is not necessary
When checking the operation of the frame sent from the external device, you can use
the serial communication function for debugging.
Refer to "Chapter 6 SERIAL COMMUNICATION FUNCTION".
Procedure 9 Select the [Online] [Write to PLC] GX Developer menu items to write the modified
program to the GX Simulator. Refer to the GX Developer Operating Manual.
POINTS
After debugging has been performed by GX Simulator, it is necessary to execute
normal debugging by connecting the PLC CPU before starting actual operation.
4-2 4-2
4 COMMON OPERATIONS FOR THE GX Simulator
MELSOFT
This section describes the GX Developer operations required before debugging with
the GX Simulator.
Conduct the operations described below before debugging a program with the GX
Simulator.
POINT
Always do the program settings for the QnA series CPU function.
If you do not make the program settings and the GX Developer is of version later
than SW2D5 -GPPW-E the following will occur.
(1) The ladder sequence (list) of the active screen of GX Developer will be written.
(2) The sequence program will not be written, if the active screen is not a ladder
(list) screen or if there are no active screens.
4-3 4-3
4 COMMON OPERATIONS FOR THE GX Simulator
MELSOFT
(4) When making I/O assignment on the <I/O assignment> tab screen
in the [PLC Parameters] dialog box of GX Developer, set the types
and the numbers of points of all modules.
"SP. UNIT LAY ERR." occurs if any of the following settings has been made.
1) Any of settings (a) to (c) on the following screen has been made.
(a) The type has been set but the number of points has not been set.
(b) With the settings made to slot 2 and later, the type and the number of
points of slot 1 have not been set.
(c) The number of points has been set but the type has not been set.
2) X/Y settings are overlapped.
Setting screen example (Q series CPU (Q mode))
(a)
(b)
(c)
(5) Select the [Tools] [Start ladder logic test] GX Developer menu
items to start the GX Simulator. An initial screen as shown below is
displayed.
The sequence program and parameters are automatically written to the GX
Simulator when the GX Simulator are started by GX Developer.
Offline debugging of the sequence program using the GX Simulator is now
possible.
4-4 4-4
4 COMMON OPERATIONS FOR THE GX Simulator
MELSOFT
13) 5) 6)
4)
1)
2)
11)
3)
8)
7)
9) Task bar
12)
10)
13)
Error occurrence
4-5 4-5
4 COMMON OPERATIONS FOR THE GX Simulator
MELSOFT
Note when unsupported devices are included in the I/O system setting, "iosys"
and "0" are displayed in the Program Name area and Step No. area respectively.
In case online change is processed during the display of unsupported instruction
list screen, the displayed information will not be renewed. For displaying the
latest information, close the screen and open the screen again.
A series CPU/FX series CPU/Motion controller QnA series CPU/Q series CPU (Q mode)
/Q series CPU (A mode) (Displays a file name)
4-6 4-6
4 COMMON OPERATIONS FOR THE GX Simulator
MELSOFT
[Purpose]
To end the GX Simulator.
[Operation procedure]
POINT
Before exiting from GX Simulator, save the I/O System setting data and Device
Manager setting data.
If the setting data are not saved, they will be deleted at exit from GX Simulator.
Click!
4-7 4-7
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
X0 M0 X1 M1 X0 X1
Y0 Y0
Start Stop Run Start Stop Run
Y0 Y0
Y0 K50
T0
T0
M1
<Operation image> 1 Solution 2: Pseudo-sequence program is
created in a separate file
Y0 5s timer
5-1 5-1
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
X0
X0 X1
X0
X2
X0 X1
X2
5
X0 X1
X2
X0 X1
X3
X0 X1
X2 X3
5-2 5-2
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
POINT
After starting timer, the operation becomes for changing the specified device value,
does not pause the timer even though changed the status to unsatisfied condition.
5-3 5-3
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
Start
(Refer toSection 5.2)
Set I/O
YES
system by inputting
device value?
Save file.
(Refer to Section 5.8.1)
NO Start monitoring.
(Refer to Section 5.8.3)
End
(Refer to Section 5.2)
5-4 5-4
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
[Operation procedure]
Select [Start] - [I/O System Settings] from the initial screen.
[Operation procedure]
Select [File] - [Exit I/O System Settings] from I/O system settings screen.
5-5 5-5
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
I/O system settings screen is opened by clicking [Start] - [I/O System Settings] of initial
screen. Configuration of I/O system settings screen is shown below.
1)
2)
3) 4)
5)
6)
1) Menu bar
Name of menu that can be used in I/O system settings is displayed.
When menu has been selected, drop-down menu will be displayed and various
functions from this menu can be used.
2) Tool bar
From functions assigned by menu bar, those most frequently used are displayed
with buttons.
5-6 5-6
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
6) Edit/monitor screen
Editing and monitoring of I/O system settings are performed using this screen.
• In timing chart input mode (Refer to Section 5.4)
5-7 5-7
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
This section describes how to perform I/O system settings using timing chart.
[Operation procedure]
(1) Select [Start] - [I/O System Settings] from initial screen.
(2) Double-click column of number to set timing chart as shown below.
[Setting screen]
Make the setting below in I/O system setting dialog box.
1) 2) 3) 4)
[Description of items]
1) No.
The number of settings in the I/O system setting dialog box.
Up to 40 settings can be chosen.
When clicked, set No. is made object of Cut, Copy or Paste.
2) Condition
Designates the input condition from GX Simulator.
The input conditions can be designated as either a bit device or a word device.
For a bit device, designation condition is ON/OFF; for a word device, designation
condition is a comparison (=,<>,<,>,<=,>=) with a constant or another word
device.
In addition, relational conditions can be set by specifying AND/OR operation.
AND condition
OR condition
AND...... The condition will be fulfilled if both designated conditions on the left and
right are achieved. Otherwise, the condition will not be fulfilled.
OR ........ The condition will be fulfilled if either or both of designated conditions in
upper and lower columns are achieved.
5-8 5-8
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
POINT
Index representation (eg. D0Z0), representation of a word device in bits form (eg.
D0,0), and sets of bits device representation (eg. K4X0) are not allowed in the
Condition area.
4) Setting
Designates enable or disable for each setting.
Apply a check mark to enable the setting.
5-9 5-9
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
The operation procedure of timing chart format input screen is indicated below.
Start
Register device.
(Refer to Section 5.5.3)
Set/edit timing.
(Refer to Section 5.5.4)
YES
Change scan number?
End
5 - 10 5 - 10
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
1)
2)
4)
3)
5) 6) 7)
1) Menu bar
Name of menu, which can be used in timing chart format input screen, is
displayed.
When menu has been selected, drop-down menu will be displayed and various
functions from this menu can be used.
2) Tool bar
From functions assigned by menu bar, those most frequently used will be
displayed with buttons.
5 - 11 5 - 11
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
POINT
(1) Buffer register and extension file register are displayed as shown below.
<Buffer register > <Extension file register>
The first I/O number of
a special function module Block No.
U \G ER \R
Address Address
When first I/O No. is 4, and address When block No. is 2, and address is
is K30, "U4\G30" will be displayed. K30, "ER2\R30" will be displayed.
(2) When a word device is designated as a 32-bit integer, (D) is added to the device
name.
Example: D0(D), W6(D)
4) Scan number
Shows scan number of timing.
When scan number is set by selecting [Scan] - [Scan setting], disabled scans will
be displayed with shading.
When applying check mark to "Keep" on the right of Edit-Timimg Chart Format
button, the enabled scans can be repeated while the condition is being fulfilled.
Example: For continuation with 6 scans designated:
5) OK button
Defines settings and exits from this screen.
6) Cancel button
Cancels settings and exits from this screen.
7) Status
Displays state of timing chart being set.
1 2
1: Shows that object device was turned
ON from OFF.
2: Shows that object device was turned
OFF from ON.
3: Shows that object device remains
4 3
unchanged.
4: Shows that object device has
changed.
5 - 12 5 - 12
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
[Operation procedure]
(a) Select [Device] - [Enter Device].
(b) Dialog shown below will appear. After setting each item, click
Enter button.
A maximum of 16 devices can be entered.
[Bit device selected] [Word device selected]
Item Contents
Device name Selects name of device to be entered.
Device No. Enters device No.
Displayed when "U" is selected with device name. Enter the higher two digits when
Unit initial address initial I/O No. is expressed in three digits.
Example: In case of X/YIF0, enter "IF".
Sets initial value.
Initial value For a bit device, select ON/OFF.
For a word device, enter value.
Sets display format of word device to be displayed.
Both decimal and hexadecimal numbers can be set.
Displayed format
Display can be selected from 16 Bit integers, 32 Bit integers, real numbers (single
precision), and real numbers (double precision).
Enter button Enters device.
5 - 13 5 - 13
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
[Operation procedure]
(a) Select device to be deleted.
Deleting Y1F is described here, as example.
5 - 14 5 - 14
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
Tool Short-cut
Operation Menu Timing
button key
To turn ON • [Edit] - [Bit Device] - [Device ON]
designated timing • Right-click, then [Device ON]
(Also can be done by double-clicking F1
cursor position.)
5 - 15 5 - 15
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
[Operation procedure]
1) Select initial bit device timing.
5 - 16 5 - 16
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
[Operation procedure]
1) Select timing of word device to be changed.
5 - 17 5 - 17
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
Item Contents
Value setting
Set value Enter set value of word device.
Continuation Apply check mark when setting is to be performed continuously.
(Example) Cursor position is scan No. 3, set value is 10, scan number is 4, changed value is 20
increased.
Value
70
50
30
10
0 Scan
3 4 5 6
50 50
0 100 0 100
-50 -50
Number of scans Number of scans
5 - 18 5 - 18
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
[Operation procedure]
1) Select word device timing that is not to be changed.
[Operation procedure]
1) Select the timing at the right side of the position where
timing is to be inserted.
5 - 19 5 - 19
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
After timing has been inserted, timing will shift to the right.
[Operation procedure]
1) Select timing of the position to be deleted.
5 - 20 5 - 20
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
[Purpose]
To set scan number of timing input from external device.
[Operation procedure]
(1) Select [Scan] - [Scan Setting].
(2) Scan number setting screen will appear: Enter scan number.
(Example)
When Scan number is set to 5, and timing chart is set to "Keep", scanning from 0
to 4 will be repeated as long as the condition is fulfilled.
5 - 21 5 - 21
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
(1) Reading data saved using timing chart of device memory monitor
[Purpose]
To read and use timing chart data file (*.DAT) saved with timing chart.
When the file is read, device and timing will be automatically registered. It is not
necessary to re-enter them.
[Operation procedure]
Select [File] - [Open File].
[Setting screen]
Designate optional file with "Look in", click file to be opened and click Open
button.
POINT
• Device points that can be read with timing chart data file
The timing chart data which can be saved with the timing chart function is for 16
points from the point which is registered on the screen.
Therefore, when creating timing chart data, move the data within 16 points from
the point which is registered on the screen beforehand, then save the data.
• The number of scan times which are read with timing chart data file
0 to 99 scans are validated in a timing chart format edit screen chart of I/O
system setting.
When after 100 scan chart data exist in timing chart data file which is created with
the timing chart function scans after 100 scans will be deleted.
[Operation procedure]
Select [Edit] - [Undo].
5 - 22 5 - 22
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
• Click Add button. Device registration dialog will be displayed. Refer to Section
5.5.3 (1) for details.
• By clicking Delete button, the device is deleted from object of monitoring.
Two or more devices can be deleted by using " Shift key + Select" or " Ctrl
key + Select".
• By clicking Jump To button, display of timing chart format input screen jumps
to device being selected.
• By clicking UP / Down button, device being selected moves up or down.
• Selecting Two or more devices
(Two or more devices cannot be selected and moved simultaneously.)
• Value
Selects decimal or hexadecimal number display.
• View
Selects 16 Bit, 32 Bit, real number (single precision) or real number (double
precision).
5 - 23 5 - 23
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
Drag!
Stop dragging.
5 - 24 5 - 24
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
[Operation procedure]
(1) Select [Start] - [I/O System Settings] from initial screen.
(2) Double-click column of number to which device value is to be
set.
[Setting screen]
Perform setting in I/O system setting dialog box as shown below.
1) 2) 3) 4) 5)
[Description of items]
1) No.
Number of settings in I/O system setting dialog box.
Maximum 100 settings can be chosen.
Once the set No. has been clicked, it can be cut, copied or pasted.
2) Condition
Since the conditions are the same as those when timing chart is used, refer
to Section 5.4 2).
3) Timer
Sets the time from the point when designated condition is fulfilled until the
input is issued. Enter the time in 10 ms units. The setting range is 1 to 1000
(×10 ms).
4) Input No.
Designates the bit device which is turned ON/OFF once designated
condition has been fulfilled. Also designates word device whose value is to
be changed.
Sets bit device ON/OFF when
condition has been fulfilled.
5 - 25 5 - 25
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
Entered device
will be displayed.
5) Setting
Designates whether each setting is to be enabled or disabled. Apply check mark
to check box for the setting to be enabled.
POINT
Set the device point that can be executed (valid setting) at a time to 25000 point or
less, for device value input on I/O system setting dialog box.
The following error message displays if "Execute I/O System Settings" is executed
when the device point exceeds 25001 points.
st
The cursor moves to 25001 point device setting area where "Enable" is set on
"Edit/monitor" screen.
5 - 26 5 - 26
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
Refer to "Section 10.3 Using I/O System Settings for Debugging" for example of
simulation.
[Operation procedure]
(a) Select [File] - [Open] to open I/O system setting file (*.IOS).
Refer to Section 5.8.1 for details of operation.
POINT
After changing I/O system setting of a file being opened, the file can automatically
be saved by executing the I/O system settings.
If I/O system setting file is not to be saved, save the file under a different file name
and execute I/O system settings.
5 - 27 5 - 27
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
POINT
For FX series CPU: If settings are made in RUN status, the status must be
switched to STOP once before returning to RUN, to enable the new settings.
[Operation procedure]
(a) Select [File] - [Cancel I/O System Settings].
Also (White) can be clicked instead of above.
POINT
When I/O System Settings are not being executed, the I/O system setting LED on
the initial screen will turn off.
5 - 28 5 - 28
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
[Operation procedure]
Select [File] - [New].
Also can be clicked instead of above.
[Operation procedure]
Select [File] - [Open].
Also can be clicked instead of above.
[Setting screen]
Designate optional holder with "Look in", click the file to be opened, then click
Open button.
5 - 29 5 - 29
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
[Operation procedure]
Select [File] - [Save].
can also be clicked instead of above.
If file being opened has not been saved, "Save As" dialog will be displayed:
Save with optional name entered. Refer to (4) for details.
[Operation procedure]
Select [File] - [Save As].
[Setting screen]
Designate optional folder with "Save in", and enter file name to be saved in "File
name".
If setting is to be over-written on existing file, select the file to be saved by
clicking: Then click Save button.
5 - 30 5 - 30
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
5.8.2 Cutting, copying and pasting all settings in the set No.
[Operation procedure]
(a) Select the set No. to be cut/copied by clicking.
[Operation procedure]
(a) Select the set No. to be pasted by clicking.
POINT
The set No. copied or cut by device value input cannot be pasted by timing chart
input.
In addition, the set No. copied or cut by timing chart input cannot be pasted by
device value input, either.
5 - 31 5 - 31
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
1) 2)
[Operation procedure]
Choose [Edit] - [Enable/Disable Settings] - [Enable All].
[Operation procedure]
Choose [Edit] - [Enable/Disable Settings] - [Disable All].
5 - 32 5 - 32
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
[Operation procedure]
(a) Select [Online] - [Monitor mode].
can also be clicked instead of above.
[Operation procedure]
Select [Online] - [Edit mode].
can also be clicked instead of above.
5 - 33 5 - 33
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
3) 5)
1)
2)
4)
1) Bit device
The status of displayed bit device can be inverted by clicking.
As shown on the screen, when "Y4=ON" is indicated, yellow display will
show ON status.
If "Y4=OFF" is indicated, yellow display will show OFF status.
2) Word device
Following dialog box is displayed by clicking: Displayed value can be
changed.
3) Normally ON
Since ON is normally set, nothing changes even if clicked.
4) Push button
Push button state is inverted by clicking.
If there are push buttons with the same number, all buttons are linked for
operation.
5 - 34 5 - 34
5 SIMULATION OF EXTERNAL DEVICE OPERATION - I/O SYSTEM
SETTING FUNCTIONS
MELSOFT
5.8.5 Reading I/O system setting file for SW5 or earlier versions
[Purpose]
To read I/O system setting file for SW2D5 -LLT-E to SW5D5C-LLT-E.
[Operation procedure]
Select [File] - [Import Earlier Version of I/O System File].
[Setting screen]
Specify any folder in "Look in", click the file to be opened (*.TXT, *.LIM), and then
click the Open button.
POINT
When reading a SW5D5 format file, specify a LIM file (*.LIM).
5 - 35 5 - 35
6 COMMUNICATION WITH EXTERNAL DEVICE - SERIAL
COMMUNICATION FUNCTION
MELSOFT
Conventionally, the serial communication module (computer link module) was actually
connected with the external device to check operation. Using this function, however,
you can easily check the message format and device contents between GX Simulator
and external device.
<Conventional debugging>
Debugging was performed with the external device connected with the serial
communication module (computer link module) actually.
Serial communication module
PLC (computer link module)
Serially connectable
external device
6
Frame transmission
Response
Serially connectable
external device
GX Simulator
Frame transmission
Response
POINT
The serial communication function does not support the serial communication
module's no-procedure protocol created by sequence programming.
6-1 6-1
6 COMMUNICATION WITH EXTERNAL DEVICE - SERIAL
COMMUNICATION FUNCTION
MELSOFT
The following are the operation procedures for the serial communication function.
Start
(Refer to Section 6.2) Start
NO NO
Has debugging ended? Has debugging ended?
YES YES
End
(Refer to Section 6.2) End
6-2 6-2
6 COMMUNICATION WITH EXTERNAL DEVICE - SERIAL
COMMUNICATION FUNCTION
MELSOFT
[Operation procedure]
Choose [Start] - [Serial Communication Function] on the initial screen.
[Operation procedure]
Click the End button on the Serial Communication Function screen.
6-3 6-3
6 COMMUNICATION WITH EXTERNAL DEVICE - SERIAL
COMMUNICATION FUNCTION
MELSOFT
This section describes the layout of the Serial Communication Function screen that
opens when you click [Start] - [Serial Communication Function].
4)
1)
5)
6)
2) 3)
2) Open button
Used to open the COM port as set in the communication settings.
Open the COM port first before starting communication with the external device.
3) Close button
Used to close the opened COM port.
6-4 6-4
6 COMMUNICATION WITH EXTERNAL DEVICE - SERIAL
COMMUNICATION FUNCTION
MELSOFT
4) Communication Status
Displays the communication result. Refer to Section 6.7 for details.
6) End button
Used to clear the communication status.
6-5 6-5
6 COMMUNICATION WITH EXTERNAL DEVICE - SERIAL
COMMUNICATION FUNCTION
MELSOFT
The following are the transmission specifications of the serial communication function.
POINT
When the PLC series is the FX series CPU, the serial communication function is
unavailable.
6-6 6-6
6 COMMUNICATION WITH EXTERNAL DEVICE - SERIAL
COMMUNICATION FUNCTION
MELSOFT
This section describes the frames usable with the serial communication function.
Device Type
Remarks
Bit devices Word devices
For extended registers, access can always be made
A-compatible X, Y, M, L, S, B, F, M, TS, TN, CN, D, W, R, to a maximum of 64 blocks regardless of the CPU.
1C frame TC, C, S, CC, Special M D, Special D Note that the capacity depends on the parameter
setting.
QnA-compatible
X ,Y, M, L, F, V, B, TS,
3C frame D, W, TN, SN,
TC, SS, SC, CS, CC, SB, DX/DY is similar to X/Y.
QnA-compatible CN, SW, Z, R, ZR
DX, DY
4C frame
6-7 6-7
6 COMMUNICATION WITH EXTERNAL DEVICE - SERIAL
COMMUNICATION FUNCTION
MELSOFT
The following are the A-compatible 1C frame commands usable with GX Simulator.
6-8 6-8
6 COMMUNICATION WITH EXTERNAL DEVICE - SERIAL
COMMUNICATION FUNCTION
MELSOFT
The following are the QnA-compatible 3C/4C frame commands usable with GX
Simulator.
6-9 6-9
6 COMMUNICATION WITH EXTERNAL DEVICE - SERIAL
COMMUNICATION FUNCTION
MELSOFT
The following are the statuses displayed in Communication Status on the Serial
Communication Function screen.
Communication Status shows the latest status at top and can display up to 100
communication logs.
6 - 10 6 - 10
6 COMMUNICATION WITH EXTERNAL DEVICE - SERIAL
COMMUNICATION FUNCTION
MELSOFT
This section explains the codes, definitions and corrective actions of errors that may
occur during communication.
The following table indicates the error codes that may occur when the A-compatible 1C
frame is used.
Error Code
Error Item Error Definition Corrective Action
(Hexadecimal)
• The calculated sum check does not • Reexamine the sum check on the
02H Sum check error
match the sent sum check. other end device.
• The frame format is incorrect.
(When the data length is shorter than • Restart communication after checking
03H Protocol error the header length) and correcting the message sent by
• Data does not exist in the character the other end device.
part.
• A non-existing command was
specified.
• The requested number of points
exceeded the range permitted for the
command.
• A non-existing device was specified.
06H Character part error • The command of the
AnACPU/AnUCPU was sent to the
• Restart communication after checking
AnNCPU.
and correcting the message sent by
• The device unusable in the instruction
the other end device.
was specified.
• Monitor read was executed without
monitor registration.
• Unusable data was received.
1. The data outside the range usable
07H Character error with the instruction was received.
2. The bit device is not headed by a
multiple of 16.
Special function module • The specified position is not I/O- • Make I/O assignment of the specified
12H
specifying error assigned correctly. position.
6 - 11 6 - 11
6 COMMUNICATION WITH EXTERNAL DEVICE - SERIAL
COMMUNICATION FUNCTION
MELSOFT
Error Code
Error Item Error Definition Corrective Action
(Hexadecimal)
• The requested number of points exceeded
the range permitted for the command.
• A word device was specified for the bit unit
command.
• The last device number exceeded the
range.
• Last number of corresponding device
• Restart communication after checking and
specified starting device number + specified
correcting the message sent by the other
number of points
end device.
7140H Request data error • The command size is illegal.
• The device name is NULL.
• The number of device points exceeded the
maximum.
• The bit device is not headed by a multiple of
16 in the word unit random read command
or multiple block batch read command.
• Buffer memory read/write was executed
• Make I/O assignment and access the
with a non-existing module number
existing module number.
specified (without I/O assignment).
• Restart communication after checking and
• The device that could not be specified was
7142H Device name error correcting the message sent by the other
specified in the corresponding command.
end device.
• A monitor request was made before monitor • Make a monitor request after registering the
7144H Monitor registration error
registration. device to be monitored.
• Restart communication after checking and
Monitor registration point • The number of points for monitor
7147H correcting the message sent by the other
count excess error registration exceeded the range.
end device.
• A non-existing command or sub command
was specified.
• F8 (QnA-compatible 4C frame) was
• Restart communication after checking and
specified as the frame identification number
7E40H Command error correcting the message sent by the other
of the QnA-compatible 3C frame, or F9
end device.
(QnA-compatible 3C frame) was specified
as the frame identification number of the
QnA-compatible 4C frame.
• Restart communication after checking and
7E43H Device error • A non-existing device was specified. correcting the message sent by the other
end device.
• Restart communication after checking and
• The limit of the device point count was
7E4FH Device point count error correcting the message sent by the other
exceeded.
end device.
• A character unconvertible into binary was • For communication in ASCII-binary
ASCII-binary conversion
7F20H used in the command. conversion, always send data in an even
error
• The sub command is illegal. byte unit.
• After the character part, data (e.g. ETX, CR- • Restart communication after checking and
MC protocol message
7F23H LF) does not exist or incorrect data was correcting the message sent by the other
error
specified. end device.
• The calculated sum check does not match • Reexamine the sum check on the other end
7F24H Sum check error
the received sum check. device.
6 - 12 6 - 12
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
The operation method for monitoring, testing the device memory will be explained
below.
This section describes the device batch monitor, buffer memory monitor and entry
device monitor functions that are executed from the GX Simulator menu.
POINT
(1) After changing the PLC parameter value or other station device setting during
monitor, perform the following operation.
• After changing the PLC parameter value during monitor of the host station,
7 perform PLC write and restart monitor.
• After changing the other station device setting during monitor of the other
station, restart monitor.
(2) When monitoring the other station devices, only the devices set in the "Other
station device setting" can be monitored. The monitor range is only the preset
number of consecutive points.
(3) Transfer Setup cannot be made during monitor.
7-1 7-1
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
Start
(Refer to Section 7.1.2)
NO
End
(Refer to Section 7.1.2) 7
7-2 7-2
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
[Operation procedure]
Select [Start] - [Monitor Function] - [Device Memory Monitor] from initial screen.
POINT
(1) When Device Memory Monitor starts, the Transfer Setup screen of GX
Simulator appears. Specify the station to be monitored. Refer to Section 7.1.3
for Transfer Setup.
(2) Up to eight Device Memory Monitor screens can be started.
[Operation procedure]
Select [Menu] - [Exit] from Device Memory Monitor screen.
7-3 7-3
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
[Purpose]
Specify the station of monitor target.
[Operation procedure]
Choose [Online] - [Transfer Setup] on the Device Memory Monitor screen.
[Setting screen]
1)
2)
[Explanation]
1) Host Station
Select here when reading/writing the devices of the host station.
7-4 7-4
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
[Purpose]
Specify and batch-monitor devices.
[Operation procedure]
Choose [Menu] - [Device batch monitor] on the Device Memory Monitor screen.
Alternatively, click the <<Device Batch>> Tab.
[Setting screen]
1)
3)
2)
4)
5)
6)
7)
8)
9)
11) 10)
[Explanation]
1) Device
Specify the device name and device number.
• Indexing, digit specification, word device bit specification and indirect
designation cannot be executed.
For the A series CPU, specify the extension file register in the ER \R
format.
Refer to Appendix 1 for the supported devices.
Take the following precautions when monitoring the bit devices of the other
station.
• If three or less devices are set, they cannot be batch-monitored.
• As the device number, enter a multiple of 16 into the Device field.
(Example) X0, X10, M0, M16, etc.
7-5 7-5
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
5) Monitor format
Set the monitor format.
When the timer (T), counter (C) or retentive timer (ST) is specified, the
monitor format is automatically set to the Timer/Counter format.
Bit & Word .... Devices are monitored in both bit and word formats.
Bit ................. Devices are monitored in bit format.
Word ............. Devices are monitored in word format.
7-6 7-6
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
6) Display
When the monitor format is "Bit & Word" or "Word", set the word device
(buffer memory) display format.
Make selection from among 16 bit integer, 32 bit integer, Real number
(single precision), Real number (double precision) and ASCII character.
7) Data format
When the display format is "16 bit integer" or "32 bit integer", set the value
display format.
Make selection from between "DEC" and "HEX".
8) Bit order
Set the order of the bit devices being monitored.
F-0 The bit devices are arranged in order of F, E to 1, 0 from left to right.
0-F The bit devices are arranged in order of 0, 1 to E, F from left to right.
9) Exit button
Ends Device Memory Monitor.
POINT
When specifying the timer (T), counter (C) or retentive timer (ST), enter T** (C**,
ST**).
7-7 7-7
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
[Purpose]
Batch-monitor the buffer memory.
[Operation procedure]
Choose [Menu] - [Buffer memory monitor] on the Device Memory Monitor screen.
Alternatively, click the <<Buffer Memory>> Tab.
[Setting screen]
1)
2)
4)
3)
5)
6)
7)
8)
9)
10)
12) 11)
[Explanation]
1) Module I/O
Enter the starting I/O number of the special function module to be
monitored.
When making access to the FX series CPU, enter the block No. of the
special expansion device into Module I/O.
2) Memory address
Specify the buffer memory address.
Selection can be made between "DEC" and "HEX".
7-8 7-8
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
6) Monitor format
Set the monitor format.
Bit & Word .... Devices are monitored in both bit and word formats.
Bit ................. Devices are monitored in bit format.
Word ............. Devices are monitored in word format.
Word format
7) Display
When the monitor format is "Bit & Word" or "Word", set the word device
(buffer memory) display format.
Make selection from among 16 bit integer, 32 bit integer, Real number
(single precision), Real number (double precision) and ASCII character.
8) Data format
When the display format is "16 bit integer" or "32 bit integer", set the value
display format.
Make selection from between "DEC" and "HEX".
9) Bit order
Set the order of the bit devices being monitored.
F-0 The bit devices are arranged in order of F, E to 1, 0 from left to right.
0-F The bit devices are arranged in order of 0, 1 to E, F from left to right.
7-9 7-9
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
POINT
(1) When monitoring the buffer memory, make the following setting in advance.
• When monitoring the host station
Set the I/O assignment on the [PLC Parameters] - <<I/O assignment>> Tab
screen of GX Developer.
• When monitoring the other station
Set the buffer memory to be monitored in the other station device setting of
GX Simulator.
Refer to Section 8.3.1 for the other station device setting.
7 - 10 7 - 10
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
[Operation procedure]
Choose [Menu] - [Entry device monitor] on the Device Memory Monitor screen.
Alternatively, click the <<Entry Device>> Tab.
[Setting screen]
1)
2)
3)
6) 4)
5)
7)
9) 8)
[Explanation]
1) Register device button
Register the device to be monitored in the Register device dialog box.
a) Device
Set the device to be registered.
• Word device bit specification and bit device digit specification can
also be executed.
Enter the device as described below.
Word bit specification:
[Word device].[Bit No.] Example: D0.5
Bit word specification:
[Number of digits] Bit device starting number Example: K1X0
For the A series CPU, specify the extension file register in the ER \R
format.
Refer to Appendix 1 for the entry method.
7 - 11 7 - 11
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
b) Value
Set the input format when monitoring the word device.
Make selection from between "DEC" and "HEX".
c) Display
Set the display format when monitoring the word device.
• Devices T, C are displayed in only "16 bit integer" format. (For the
FXCPU, C200 and later are displayed in only "32 bit integer" format.)
• When "Real number" is selected, the value is "Decimal".
Make selection from among 16 bit integer, 32 bit integer, Real number
(single precision), Real number (double precision) and ASCII character.
The set display format is displayed in the Device registration display
field as shown below.
16 bit integer → "Device" Example: D0
32 bit integer → "Device (D)" Example: D0(D)
Real number (single precision) → "Device (E)" Example: D0(E)
Real number (double precision) → "Device (ED)" Example: D0(ED)
ASCII character → "Device (S)" Example: D0(S)
d) Register button
Registers the set device.
7) Exit button
Ends Device Memory Monitor.
7 - 12 7 - 12
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
[Purpose]
Change the ON/OFF status of a bit device or the current value of a word device
or buffer memory.
[Operation procedure]
Choose [Online] - [Device write] on the Device Memory Monitor screen.
Alternatively, double-click the device being displayed during monitor.
[Setting screen]
1)
2)
3)
4)
[Explanation]
1) Bit device
Enter the bit device.
Click Force ON , Force OFF or Toggle Force to change the status of
the specified device.
7 - 13 7 - 13
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
3) Setting value
Specify the value to be written to the specified word device or buffer
memory.
Any of the following values can be set.
16 bit integer ..................................-32768 to 32767
32 bit integer ..................................-2147483648 to 2147483647
Real number (single precision).......Decimal number with 16 digits or less
including a sign and decimal number
Real number (double precision) .....Decimal number with 16 digits or less
including a sign and decimal number
4) Set button
When the word device or buffer memory is specified, write to device is
executed.
POINT
When specifying the timer (T), counter (C) or retentive timer (ST), enter T** (C**,
ST**).
7 - 14 7 - 14
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
By using timing chart, timing of ON/OFF for bit device and change in word device value
can be confirmed easily.
Start
(Refer to Section 7.2.2 (1))
Start monitoring.
(Refer to Section 7.2.5)
NO Save in file.
(Refer to Section 7.2.6 (2))
End
(Refer to Section 7.2.2 (2))
REMARK
When sampling period is to be set, refer to Section 7.2.7.
Refer to Section 7.2.6 (3) if saved as timing chart data file.
7 - 15 7 - 15
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
[Operation procedure]
Select [Monitor Function] - [Timing Chart Display] from the initial screen.
Maximum 4 timing charts can be started.
[Operation procedure]
Select [File] - [Exit] from timing chart screen.
7 - 16 7 - 16
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
1)
2)
6)
5)
8) 7)
1) Menu bar
Names of menu that can be used in timing chart are displayed.
When menu is selected, drop-down menu will be displayed and you can use
various functions from this menu.
2) Status button
By clicking the "Status" button, you can start/stop monitoring.
For the details, refer to Section 7.2.5.
3) Device Entry
Selects auto or manual entry of device to be monitored.
For the details, refer to Section 7.2.4.
7 - 17 7 - 17
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
POINTS
(1) The expressions in the timing chart are timer (T), counter (C), and retentive
timer (ST), and each of them has three types; contact, coil, and present value.
In the timing chart, they are expressed as follows.
Expressions used in the timing chart
Timer Counter Retentive timer
Contact TS CS STS (SS)
(2) Buffer register and extension file register are displayed as follows.
<Buffer register > <Extension file register>
The first I/O number of
a special function module Block No.
U \G ER \R
Address Address
When the first I/O number is 4 When the block No. is 2 and the
and the address is K30, they are address is K30, they are displayed
displayed as "U4\G30". as "ER2\R30".
(3) When word device is designated as 32 bit integer, (D) is added to the end of
device name.
Example: D0(D), W6(D)
6) Reference line/scale
The scale displayed indicates the past scan count.
Clicking the scale moves the reference line (vertical line) and shows the
device values at that scan in 5).
7) Scroll bar
Up to 1000 sampled past states of devices area saved.
By operating the scroll bar, you can confirm the past states of devices.
7 - 18 7 - 18
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
8) Status display
Shows the states of the monitor devices.
1 2
3 4
7 - 19 7 - 19
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
[Operation procedure]
1) Make sure that device entry is set to "Auto":
If set to "Manual", switch to "Auto".
7 - 20 7 - 20
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
POINTS
(1) If devices registered using GX Developer do not appear in the timing chart
screen, switch the device entry setting from Auto to Manual , and execute
device entry.
(2) For any instruction whose argument occupies double-word positions, two word
devices will be displayed on the timing chart screen.
(For DINC D0, D0 and D1 are entered.)
(3) When batch monitor of GX Developer is used to monitor a bit device, this bit
device will not be entered.
(4) When the A series/FX series /Q series (A mode) CPU/motion controller is
selected, the bit digit-specified/index-qualified device will not be entered.
(5) When QnA series /Q series CPU (Q mode)is selected, directly designated
buffer memory will not be entered.
(6) When FX series CPU is selected, the following instructions displayed on GX
Developer circuit monitor screen will not be entered.
RST T, RST C
PLS Y, PLS M
PLF Y, PLF M
[Operation procedure]
1) Select [Device] - [Enter Device].
Directly enters
Selects device name device name.
to be entered. Designates
device No.
7 - 21 7 - 21
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
[Operation procedure]
(a) Select the device to be deleted:
For example, X0 is deleted here.
7 - 22 7 - 22
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
[Operation procedure]
After registering device, select [Monitor] - [Start/Stop] while monitor is stopped.
You can also click Monitor Stop button instead of above.
However, if device is registered in auto mode, monitoring will start when device is
registered.
[Operation procedure]
Select [Monitor] - [Start/Stop] during monitoring.
You can also click Monitoring button instead of above.
7 - 23 7 - 23
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
[Operation procedure]
Select [File] - [Open file].
[Setting screen]
Designate optional folder with "Look in", click file to be opened, then click Open
button.
[Operation procedure]
Select [File] - [Save File As].
7 - 24 7 - 24
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
[Setting screen]
Designate optional folder with "Save in", and enter new file name in "File name".
If data is to be overwritten on existing file, select the file by clicking.
After setting, click Save button.
[Operation procedure]
Select [File] - [Save Timing data].
[Setting screen]
Designate optional folder with "Save in", and enter new file name in "File name".
If data is to be overwritten on existing file, select the file by clicking.
After setting, click Save button.
7 - 25 7 - 25
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
[Purpose]
To set collection interval of device value in the range between 1 and 20 scans.
[Operation procedure]
(1) Select [Monitor] - [Sampling Period].
<Example>
When Data Accumulation Interval is set to 5 scans, the device value will
be collected every 5 scans and displayed in the timing chart display
screen.
(The default value is 1 scan.)
REMARK
Every time you change the sampling period, the data displayed in the timing chart
will be cleared.
7 - 26 7 - 26
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
• Value
Changes between decimal and hexadecimal.
• View
Changes between 32 bit integer, Real number (single precision), and Real
number (double precision).
(Effective only when selected device is a double word)
7 - 27 7 - 27
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
Drag!
Stop dragging.
7 - 28 7 - 28
7 MONITORING, TESTING DEVICE MEMORY - MONITOR FUNCTION
MELSOFT
(c) By clicking "-260", the device status of 260 scans before will
appear in 1.
In 1, the bit device ON/OFF status and word device value are displayed.
7 - 29 7 - 29
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
Network No. 3
Station No. 2
MELSOFT product
User application
Public Sub Command 1 Click()
End Sub
Device read/write
GX Simulator
Maximum value
Host station Other station Other station Other station Minimum value
1-1 2-1 3-2
X YD D
X
X YM D
D10
8-1 8-1
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
8-2 8-2
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
Start
(Refer to Section 8.2)
Is access made to NO
the other stations?
YES
Start simulation.
(Refer to Section 8.5)
Log display
Display the result of access to the
host station/other station devices.
(Refer to Section 8.6)
YES
Is an error displayed Correct the user application.
in the log?
NO
Start simulation.
(Refer to Section 8.5)
End
(Refer to Section 8.2)
8-3 8-3
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
[Operation procedure]
Choose [Start] - [Device Manager] on the initial screen.
8-4 8-4
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
Set the device memories of the other stations to be accessed by the user application.
[Purpose]
Set the device memories of the other stations.
[Operation procedure]
Choose the <<Other station device setting>> Tab on the Device Manager
screen.
[Setting screen]
1) 2) 3) 4) 5)
[Explanation]
1) Network No.
Specify the network No. of the station to be accessed.
The input range is 1 to 255.
2) Station No.
Specify the station No. of the station to be accessed.
The input range is 0 to 64.
3) PLC series
Specify the PLC series of the station to be accessed.
8-5 8-5
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
4) Device
Specify the starting device of the station to be accessed.
• When the T, C or ST device is set, the contact, coil and current value
device memories are batch-created.
• When the buffer register is set, it can be specified in the U \G format.
When the extension file register is set, it can be specified in the ER \R
format.
Refer to Appendix 1 for the input method.
5) Number of points
Specify how many points will be secured from the starting device of the
specified device.
The input range is 1 to 32767.
POINT
(1) Make a registration in the other station device setting within the following range:
Number of stations: 1 to 1024
Number of device points: 1 to 1000k
Make sure that the total number of bit device
points and word device points is within 1000k.
Count one point of timer, retentive time or
counter as 3 points.
(2) Different ranges of the same device can be set separately.
Set the device range that the simulation target user application will access.
Example: Setting different ranges of data register
No.1: 100 points starting from D0 (D0 to D99),
No.2: 100 points starting from D200 (D200 to D299).
(3) Any cell that has wrong input data is displayed red.
8-6 8-6
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
Set the change pattern or device value range to the specified device.
A change pattern is to set the change of a word device value while a bit device is
ON/OFF within any predetermined time.
[Purpose]
The operation of the user application using the change pattern-set device can be
checked.
The following tables indicate whether setting can be input to each setting field or
not according to the change pattern and the range where setting can be input to
each setting field in the device control setting.
List of whether setting can be input to each setting field or not according to the change pattern
Data type
Change Units of OFF Rising ON Falling Source Source
32 bit 16 bit Min. Max. Constant Cycle Preview
pattern Bit time time time time time station device
int int
Sine wave
Cosine wave
Trapezoidal
wave
Constant
Copy
ON/OFF
ON
OFF
8-7 8-7
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
[Operation procedure]
Choose the <<Device control setting>> Tab on the Device Manager screen.
[Setting screen]
1) 2) 3) 4) 5) 6) to 17)
[Explanation]
1) Station (Nw. - St. No.)
Specify the station of the device whose change pattern will be set.
To set the other station, set the information on the other station in the
"Other station device setting" of Device Manager in advance.
Refer to Section 8.3.1 for the other station device setting.
2) PLC series
Displays the PLC series of the PLC CPU on the specified station.
When the host station is selected:
Series of the station set on GX Developer
When the other station is selected:
Series of the station set in "Other station device setting"
3) Device
Specify the device whose change pattern will be set.
Enter the device set in the other station device setting.
4) Data type
Specify the data type of the device whose change pattern will be set.
Make selection from among Bit, 16 bit int and 32 bit int.
8-8 8-8
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
5) Change
Specify the change pattern of the value of the specified device.
Make selection from among Sine wave, Cosine wave, Trapezoidal wave,
Constant, Copy, ON/OFF, ON and OFF.
Refer to 17) for details of each change pattern.
6) Units of time
Specify the unit of the cycle, OFF time, rising time, ON time or falling time.
Make selection from between "sec." and "min.".
7) Min.
Specify the minimum value of the change pattern of the specified device.
Set the minimum value to satisfy the following condition: minimum value <=
maximum value.
8) Max.
Specify the maximum value of the change pattern of the specified device.
Set the maximum value to satisfy the following condition: minimum value
<= maximum value.
9) OFF time
Specify the time when the minimum value continues.
11) ON time
Specify the time when the maximum value continues.
13) Constant
Specify the data to be stored into the device.
16) Cycle
Specify the time of one cycle of the change pattern.
17) Preview
Clicking the Preview button displays the change pattern selected in 5) in
graph format.
The value of the item in the displayed dialog box can be changed.
Details of each change pattern will be provided on the next page.
8-9 8-9
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
8 - 10 8 - 10
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
POINT
• Any cell that has wrong input data is displayed red.
• An error will occur if "0" is entered into all of the OFF time, rising time, ON time
and falling time.
• In the device control setting, the update interval of the device value is 500ms.
8 - 11 8 - 11
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
[Operation procedure]
Choose the <<Device value check setting>> Tab on the Device Manager screen.
[Setting screen]
1) 2) 3) 4) 5) 6) to 8) 6) 7) 8)
[Explanation]
1) Station (Nw. – St. No.)
Specify the station of the device to be set.
When specifying the other station, set the information on the other station in
the "Other station device setting" of Device Manager in advance.
Refer to Section 8.3.1 for the other station device setting.
8 - 12 8 - 12
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
2) PLC series
Displays the PLC series of the PLC CPU on the specified station.
When the host station is selected:
Series of the station set on GX Developer
When the other station is selected:
Series of the station set in "Other station device setting"
3) Device
Specify the device on which a device value check will be made.
4) Data type
Specify the data type when the set device value will be displayed.
Make selection from among Bit, 16 bit int and 32 bit int.
5) Check method
Select how to specify the value to be set as the minimum value or
maximum value from Range (Unsigned Dec), Range (Signed Dec), Range
(Hex) and Pattern.
6) Min.
Specify the minimum value of the valid range handled by the specified
device.
7) Max.
Specify the maximum value of the valid range handled by the specified
device.
8) Pattern
Specify as 0 the bit position that must not be turned ON when a value is
stored, and as 1 the bit position that may be turned ON/OFF.
Example: 16 bit integer
To cause an error when a negative value is stored, specify
7FFFH in Pattern.
POINT
Any cell that has wrong input data is displayed red.
8 - 13 8 - 13
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
[Operation procedure]
POINT
When a log result is being displayed on the log display screen, save the log result
before starting simulation.
The log result is deleted when simulation starts.
After setting the setting information of each function, choose [Operation] - [Start]
on the Device Manager screen.
After selection, start the user application.
When simulation starts, the operating status of the function is displayed on the
status bar of the Device Manager dialog box.
When an error occurs, an error message is displayed.
[Operation procedure]
After stopping the user application, choose [Operation] - [Stop] on the Device
Manager screen that is executing the function.
8 - 14 8 - 14
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
[Purpose]
Display the error details detected by GX Simulator in the setting device value
check.
This enables a check for an illegal value written to the set device.
[Operation procedure]
Select the <<Log display>> Tab on the Device Manager screen.
[Setting screen]
1) 2) 3) 4) 5) 6) 7) 8)
[Explanation]
1) Year/Month/Day
The year, month and day when an error occurred are displayed.
2) Time
The time of day when the error occurred is displayed.
3) Network No.
The network No. of the station being accessed when the error occurred is
displayed.
4) Station No.
The station No. of the station being accessed when the error occurred is
displayed.
5) PLC series
The series of the PLC CPU on the station where the error occurred is
displayed.
8 - 15 8 - 15
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
6) Device
The device specified as the access destination is displayed.
7) Device value
The device value at error occurrence is displayed.
8) Error code
The code number for error classification is displayed.
Refer to 9) for the error code number.
9) Message
The details of the error that occurred are displayed.
The error details are described below.
POINT
• Log display is not provided if an error occurs during a stop.
• A maximum of 100 pieces of information are displayed. However, when more
information is generated, older error information is deleted.
• At exit from Device Manager, the displayed log information is deleted.
When saving the log information, export the log (refer to Section 8.7.5).
8 - 16 8 - 16
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
[Operation procedure]
Choose [File] - [New] on the Device Manager screen.
[Operation procedure]
Choose [File] - [Open] on the Device Manager screen.
[Setting screen]
Specify any folder in "Look in", click the file to be opened, and then click the
Open button.
For "Files of type", only Device manager setting file (*.DMS) is available.
8 - 17 8 - 17
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
(3) Save
[Purpose]
Save the open setting data file.
[Operation procedure]
Choose [File] - [Save] on the Device Manager screen.
When the open file has not been saved, the "Save As" dialog box appears.
Attach a name and save the file.
Refer to (4) for details.
(4) Save As
[Purpose]
Save the open setting data file with a new name.
[Operation procedure]
Choose [File] - [Save As] on the Device Manager screen.
[Setting screen]
8 - 18 8 - 18
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
[Operation procedure]
(a) Click and select the line of the setting No. to be cut or copied.
[Operation procedure]
(a) Click and select the No. of the paste destination line.
8 - 19 8 - 19
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
[Operation procedure]
(a) Select the No. of the insertion destination line.
[Operation procedure]
(a) Select the line of the setting No. to be deleted.
8 - 20 8 - 20
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
[Operation procedure]
When sorting the lines in ascending order, choose [Edit] - [Sort by Ascending].
When sorting the lines in descending order, choose [Edit] - [Sort by Descending].
[Operation procedure]
Choose [Edit] - [Undo].
[Operation procedure]
Choose [Edit] - [Redo].
8 - 21 8 - 21
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
[Setting screen]
1)
2)
3)
5) 6)
4)
[Explanation]
1) All items
Log information and/or setting information (other station device setting,
device control setting, device value check setting) is to be printed.
2) Item selection
Only the selected item is to be printed.
3) Item specification
Select the target of print.
• Log info.
The data displayed on the log screen are printed.
• Other station device setting
The settings on the other station device setting screen are printed.
• Device control setting
The settings on the device control setting screen are printed.
• Device value check setting
The settings on the device value check setting screen are printed.
8 - 22 8 - 22
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
4) Printer setting
The Windows standard printer setting dialog box is displayed.
R
• Print button
Closes the print preview and prints the item specified in the print dialog.
•
Changes the preview display page to the first page.
•
Changes the preview display page to the previous page.
•
Changes the preview display page to the next page.
•
Changes the preview display page to the last page.
•
Changes the preview display format and display size.
8 - 23 8 - 23
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
[Purpose]
From the error details output to the log, search for the character string entered in
the Search dialog box.
[Operation procedure]
Choose [Edit] - [Find] on the Device Manager screen.
[Setting screen]
[Explanation]
1) Find what
Enter the character string to be searched for.
2) Match case
When the entered character string is searched for, the characters are
discriminated between uppercase and lowercase.
3) Direction
Set the searching direction.
8 - 24 8 - 24
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
[Purpose]
Save the log information into the specified place.
[Operation procedure]
Choose [Operation] - [Export Log] on the Device Manager screen.
[Setting screen]
8 - 25 8 - 25
8 SETTING THE DEVICES FOR SIMULATION - DEVICE MANAGER
FUNCTION
MELSOFT
[Purpose]
Clear the log information.
[Operation procedure]
Choose [Operation] - [Clear Log] on the Device Manager screen.
8 - 26 8 - 26
9 SAVING AND READING THE DEVICE AND BUFFER MEMORIES,
OPTION SETTING - TOOL FUNCTIONS
MELSOFT
With these functions, the contents of the GX Simulator device memory or special
function module buffer memory can be saved midway through debugging and the
saved data can be read onto GX Simulator when debugging is restarted, allowing
debugging to be continued from the status when the data was saved.
With this function, whether the initial window displayed at the start of GX
Simulator is minimized or not can be selected.
[Purpose]
To temporarily save the contents of the device memory and buffer memory to
allow debugging to continue after the personal computer is re-booted.
[Operation procedure]
1) Set the execution status in the initial window to STOP when
the device memory or buffer memory contents are to be
saved.
9-1 9-1
9 SAVING AND READING THE DEVICE AND BUFFER MEMORIES,
OPTION SETTING - TOOL FUNCTIONS
MELSOFT
[Setting screen]
Click on the Yes button, to save the entire device memory or the buffer memory
for the slots allocated to special function modules in the I/O assignment settings.
The buffer memory data is saved to the following directories:
[Example]
If C:\MELSEC is designated as the directory where the GX Simulator are
installed, then the buffer memory data is saved to the following directories:
A series CPU Functions C:\Melsec\LLT\Acpu\Devmem
QnA series CPU Functions C:\Melsec\LLT\QnAcpu\Devmem
FX series CPU Functions C:\Melsec\LLT\FXcpu\Devmem
Motion controller Functions C:\Melsec\LLT\Acpu\Devmem
Q series CPU Functions C:\Melsec\LLT\Qcpu\Devmem
POINTS
(1) If the execution status is RUN, device memory/buffer memory cannot be
saved.
To save the device memory/buffer memory, change the status to STOP.
(2) The GX Simulator can save only one file.
9
If data already exists in the GX Simulator, the new file overwrites the existing
data (file).
9-2 9-2
9 SAVING AND READING THE DEVICE AND BUFFER MEMORIES,
OPTION SETTING - TOOL FUNCTIONS
MELSOFT
[Purpose]
To read the stored data of device memory and buffer memory.
[Operation procedure]
Set the execution status in the initial window to STOP. Select [Tools] [Restore
device memory] or [Restore buffer memory].
[Setting screen]
Reading device memory
<A series CPU, Motion controller and Q series CPU (A Mode)> <QnA series CPU and Q serise CPU (Q Mode )>
1)
3) 4) 5)
3) 4) 5)
1)
3) 4) 5)
9-3 9-3
9 SAVING AND READING THE DEVICE AND BUFFER MEMORIES,
OPTION SETTING - TOOL FUNCTIONS
MELSOFT
2)
3) 4) 5)
2)
3) 4) 5)
9-4 9-4
9 SAVING AND READING THE DEVICE AND BUFFER MEMORIES,
OPTION SETTING - TOOL FUNCTIONS
MELSOFT
[Description]
1) Read Device Check Boxes
Click in the check boxes to select the devices read to GX Simulator.
Click on a check box again to cancel a selection.
All devices are selected by default.
3) Clear button
Click to clear all device or special function module selections.
5) OK button
Click this button after completing all settings.
POINTS
(1) Device memory/buffer memory read is not allowed while the execution status
is RUN.
Change the execution status to STOP before reading device memory/buffer
memory.
(2) With the A series CPU function, QnA series CPU function, Q series CPU
function or Motion controller function, selection of a slot that is not assigned to
a special function module using the GX Developer I/O assignment setting is
not possible.
Before reading buffer memory, set the GX Developer I/O assignment.
9-5 9-5
9 SAVING AND READING THE DEVICE AND BUFFER MEMORIES,
OPTION SETTING - TOOL FUNCTIONS
MELSOFT
[Purpose]
Selects how to display the initial window at the start of GX Simulator.
[Operation procedure]
Choose [Tools] - [Option] - [Display as minimized next time].
Every time it is chosen, the check box on the left of the menu alternates between
ON and OFF.
When you exit from GX Simulator with the check box ON, starting GX Simulator
next time displays the initial window on the task bar in the minimized status.
POINT
(1) The initial setting is a "check box OFF" status.
(2) Making selection merely turns the check box ON/OFF in the menu. At this
time, the initial window is not minimized.
9-6 9-6
10 EXAMPLES OF GX Simulator APPLICATIONS
MELSOFT
[Simulation example]
The following shows the system where sheet is fed using roller and cut by cutter.
Rotation amount of roller is taken into high-speed counter unit (Channel 1 is
used), roller stops when the value reaches "1000" and sheet is cut by Y20 (cut
request).
Roller turns again by X10 (cut completion) from cutter to feed sheet.
[System configuration]
Cutter
Roller Sheet
X10 (cut
Motor
completion)
D0
Encoder
Power supply
Q Q Q Q
C D X Y
module
P 6 1 1
U 2 0 0
X/Y0 to X/YF
X10 to X1F
X20 to X2F
POINT
Program, device registration file (*.mon), and I/O system setting file (*.IOS) are
stored in "Manual" folder of CD-ROM for the product. 10
When using them, copy them once onto the hard disk.
Since the sample files copied are read-only, cancel the read-only settings of all
files.
10 - 1 10 - 1
10 EXAMPLES OF GX Simulator APPLICATIONS
MELSOFT
[Sequence program]
10
10 - 2 10 - 2
10 EXAMPLES OF GX Simulator APPLICATIONS
MELSOFT
[Devices used]
Device No. Signal name Contents
X0 Unit ready Turns ON when high-speed counter unit is ready for start.
Turns ON when present value matches the preset value of
Counter value matching
X2 matching output point. Turns ON when value reaches "1000"
(point No.1)
in this example.
Matching signal No. 1
Y0 Turns ON to turn X2 OFF.
High-speed reset command
counter unit Turns ON when executing preset functions.
signals Y1 Preset command In this example, present value is set to "0" when preset is
executed.
Matching signal enable Turns ON when matching signal is output to external terminal.
Y2
command In this example, it can be ignored.
Starts high-speed counter unit.
Y4 Count enable command
Count can be executed only when this signal is turned ON.
Turns ON when cutting of sheet is completed.
Cutter operation X10 cutting complete
Turns OFF when Y20 is turned OFF.
control signals
Y20 Cut request Turns ON when sheet cutting is to be executed.
X15 Count operation start Turns ON when executing count with high-speed counter unit.
Turns ON when reading present value of high-speed counter
Signals for X16 Present value reading
unit.
ON/OFF by user
Matching output data Turns ON when matching signal is externally output.
X17
setting Normally turns ON when matching signal is used.
M10 Initial setting complete Signal to inhibit initial setting at scan 2 or after.
Other devices
D0 to D1 Present value storage Device to store present value.
10 - 3 10 - 3
10 EXAMPLES OF GX Simulator APPLICATIONS
MELSOFT
Running the program on page 10-2 and turning on X0 causes "SP. UNIT ERROR" to
occur.
Carry out step execution to find out the step at which the error has taken place.
2) Turn on X0.
3) Move the cursor to the position where step execution will be
started (step 0).
4) Select [Online] [Debug] [Debug] on GX Developer.
In addition, select [Online] [Debug] [Step execution] on GX Developer.
The Step Execution dialog box then appears.
10 - 4 10 - 4
10 EXAMPLES OF GX Simulator APPLICATIONS
MELSOFT
5) Every time you click the Step execute button in the Step
Execution dialog box, one instruction is executed.
POINT
"SP. UNIT ERROR" occurred because you attempted to write a value to the buffer
memory using the TO instruction, without making I/O assignment.
Section 9.2 gives a debugging example in which I/O assignment is made and the
buffer memory is used.
10 - 5 10 - 5
10 EXAMPLES OF GX Simulator APPLICATIONS
MELSOFT
This section explains how to check device value changing timings with the timing chart
which displays the device chart using the GX Simulator.
POINT
The timing chart retains data of up to 1000 scans.
10 - 6 10 - 6
10 EXAMPLES OF GX Simulator APPLICATIONS
MELSOFT
Double-click here
to change between
ON and OFF.
Turning on X15,
turns on Y4.
Turning on X0,
turns on M10.
Turning on X17,
turns on Y12.
Sheet
Motor
Turnning on X2,
turns off Y4 and turns on Y20.
10 - 7 10 - 7
10 EXAMPLES OF GX Simulator APPLICATIONS
MELSOFT
Motor
Motor
10 - 8 10 - 8
10 EXAMPLES OF GX Simulator APPLICATIONS
MELSOFT
Sheet
Motor
10 - 9 10 - 9
10 EXAMPLES OF GX Simulator APPLICATIONS
MELSOFT
10 - 10 10 - 10
10 EXAMPLES OF GX Simulator APPLICATIONS
MELSOFT
10 - 11 10 - 11
10 EXAMPLES OF GX Simulator APPLICATIONS
MELSOFT
10 - 12 10 - 12
10 EXAMPLES OF GX Simulator APPLICATIONS
MELSOFT
By clicking Push
button 0, X15 and
X17 are turned ON.
Y2 is turned ON by
turning X17 ON.
Y4 is turned ON by
turning X15 ON.
By turning Y4 ON,
D0 is counted up.
10 - 13 10 - 13
10 EXAMPLES OF GX Simulator APPLICATIONS
MELSOFT
Motor
Motor
10 - 14 10 - 14
10 EXAMPLES OF GX Simulator APPLICATIONS
MELSOFT
Turning on X10,
turns on Y0 and turns off Y20.
Motor
10 - 15 10 - 15
11 TROUBLESHOOTING
MELSOFT
11. TROUBLESHOOTING
11
If wrong sequence programs or parameters are used, GX Simulator displays the
relevant error messages on the initial window, in the following order, (1), (2).
(1) When an error occurs and the program is stopped, the error
message is displayed that indicates the cause of program stop.
(2) If errors occur when the operating mode is set to "Continue", the
error message for the first error is displayed.
This section describes error messages and error codes occurring in the GX Simulator,
gives a description and cause of the error, and suggests remedies.
11 - 1 11 - 1
11 TROUBLESHOOTING
MELSOFT
11 - 2 11 - 2
11 TROUBLESHOOTING
MELSOFT
1 Characters in parentheses ( ) indicate the special register number where the information is saved.
11 - 3 11 - 3
11 TROUBLESHOOTING
MELSOFT
11 - 4 11 - 4
11 TROUBLESHOOTING
MELSOFT
11 - 5 11 - 5
11 TROUBLESHOOTING
MELSOFT
Errors not displayed on the LED indicators are stored as operation error codes in
the special data register D8067.
11 - 6 11 - 6
11 TROUBLESHOOTING
MELSOFT
11 - 7 11 - 7
11 TROUBLESHOOTING
MELSOFT
MEMO
11 - 8 11 - 8
APPENDICES
MELSOFT
APPENDICES
Appendix 1 List of Supported Devices
The GX Simulator supports the devices for an A series CPU, QnA series CPU, Q
series CPU, and FX series CPU.
For the motion controller, refer to the compatible devices of the A series CPU. For the
App compatible CPU, refer to Section 3.3.
The devices supported by the GX Simulator are listed in Appendix Table 1.1 to
Appendix Table 1.15.
App - 1 App - 1
APPENDICES
MELSOFT
APP
App
The GX Simulator supports the devices for an A series CPU, QnA series CPU, Q
series CPU, and FX series CPU.
For the motion controller, refer to the compatible devices of the A series CPU. For the
compatible CPU, refer to Section 3.3. App
The devices supported by the GX Simulator are listed in Appendix Table 1.1 to
Appendix Table 1.15.
APP
(1) Device list
: Compatible, ×: Incompatible, ---: Irrelevant
Compatibility with functions
Serial Remarks
Monitor I/O system Device Device
communication
function 5 settings backup manager
function
7 ----
Refer to (2) Special relay list for the supported special relays.
----
----
6 6 6 8 No operation is performed in real time.
6 6 6 8 ----
----
Refer to (3) Special register list for the supported special registers.
----
----
----
----
----
----
---- ---- ---- ---- ---- ----
App - 2 App - 2
APPENDICES
MELSOFT
8: On the Other station device setting tab, only T/C can be represented. In the device control setting or device value check setting, only Contact/Coil/Current
Value (refer to *6 for representations) can be represented.
9: How to enter the extension file register data
Entry in ER \R format is applicable to only Device Batch monitor, Entry Device monitor, Timing Chart Display and Device Manager.
<Extension file register> Block No.
Address
10: How to enter buffer register data
Entry in U \G format is applicable to only Timing Chart Display, I/O System Settings and Device Manager.
<Buffer register> Starting I/O No. of special function module
Address
App - 3 App - 3
APPENDICES
MELSOFT
App - 4 App - 4
APPENDICES
MELSOFT
Link relay (B) B0 to B1FFF (8192 points) Changeable B0 to B7FFF (32768 points)
Special relay (SM) SM0 to SM2047 (2048 points) Fixed SM0 to SM2047 (2048 points)
When program is used: When program is used:
9 FX0 to FX4 (5 points) FX0 to FX4 (5 points)
Function input (FX) Fixed
Other than above: Other than above:
FX0 to FXF (16 points) FX0 to FXF (16 points)
When program is used: When program is used:
FY0 to FY4 (5 points) FY0 to FY4 (5 points)
Function output (FY) 9 Other than above:
Fixed
Other than above:
FY0 to FYF (16 points) FY0 to FYF (16 points)
Data register (D) 4 D0 to D12287 (12288 points) Changeable D0 to D32767 (32768 points)
Special register (SD) SD0 to SD2047 (2048 points) Fixed SD0 to SD2047 (2048 points)
Link register (W) W0 to W1FFF (8192 points) Changeable W0 to W7FFF (32768 points)
Link special register (SW) SW0 to SW7FF (2048 points) Fixed SW0 to SW7FFF (32768 points)
Retentive timer (ST) 4 From ST0 on (none) Changeable ST0 to ST32767 (32768 points)
App - 5 App - 5
APPENDICES
MELSOFT
App
(1) Device list
----
----
----
----
Refer to (3) Special register list for the
supported special registers.
----
----
No operation is performed in real time.
6 6 8 8 High-speed timer can be set in 0.1ms
units (by parameter).
No operation is performed in real time.
6 6 8 8 High-speed timer can be set in 0.1ms
units (by parameter).
6 6 8 8 ----
----
File register setting of parameter is
required.
----
----
----
---- ---- ---- ---- ---- ----
---- ---- ---- ---- ---- ----
---- ---- ---- ---- ---- ----
---- ---- ---- ---- ---- Up to 16 characters per instruction
1: Devices S, Jn\X, Jn\Y, Jn\B, Jn\SB, Jn\W, Jn\SW, I, BL and TR are not supported.
2: Cannot be monitored in Device Memory Monitor of GX Simulator. Execute the monitor/test function from GX Developer.
3: If index qualification is added to the module number, e.g. "U0Z0\G0", in the ladder, it is ignored and processed as U0\G0.
4: Device applicable as local device.
5: DX/DY can be specified.
6: Contact/Coil/Current Value can be set.
Representations are as follows. Timer: TS/TC/TN, Retentive timer: SS/SC/SN. However, STS/STC/STN can also be set.
Counter: CS/CC/CN
7: On the Entry Device monitor tab and timing chart, bit data digit specification, word data bit specification, and index qualification are
available. Indirect specification is unavailable.
8: On the Other station device setting tab, only T/C can be represented. In the device control setting or device value check setting, only
Contact/Coil/Current Value (refer to *6 for representations) can be represented.
9: The function input (FX), function output (FY) and function register (FD) of only the host station are supported.
App - 6 App - 6
APPENDICES
MELSOFT
ON
User timing
SM432
SM400 Normally ON OFF clock No.7
User timing
ON SM433
SM401 Normally OFF OFF clock No.8
User timing
ON one scan only ON SM434
SM402 1 scan clock No.9
after RUN OFF
OFF :Complete or no
OFF one scan only ON Low-speed prog-
1 scan SM510 execution
SM403 ram execution flag
after RUN OFF ON :Executing
App - 7 App - 7
APPENDICES
MELSOFT
Appendix Table 1.5 List of Special Relays Supported by the GX Simulator (cont.)
Number Name Description Number Name Description
Memory card B OFF :Unusable SM1032 1-second clock 0.5s 0.5s
SM620
usability flag ON :Usable
SM1033 2-second clock 1s 1s
Memory card B OFF :Without protection
SM621
protection flag ON :With protection ns ns
SM1034 2n-second clock
OFF :Without drive 3
SM622 Drive 3 flag ON
ON :With drive 3 SM1036 Normally ON OFF
OFF :Without drive 4
SM623 Drive 4 flag ON
ON :With drive 4
SM1037 Normally OFF OFF
OFF :File registers not
used ON one scan only ON
SM640 Use file register SM1038 1 scan
ON :File registers after RUN OFF
used OFF one scan only ON
SM1039 1 scan
OFF :Carry OFF after RUN OFF
SM700 Carry flag
ON :Carry ON
OFF :Not stop status
OFF :Ascending SM1042 Stop status contact
SM703 Sort order ON :Stop status
ON :Descending
ON :STEP RUN
OFF :Some do not SM1054 STEP RUN flag
OFF :Not STEP RUN
SM704 Block comparison match
1: When the constant scan set value is an integral
ON :All match
multiple of the clock time, the special relay status is
OFF :DI
SM715 EI flag OFF for every scan. For the ON/OFF setting of the
ON :EI
special relay clock, refer to the POINT in Appendix
OFF :No error
SM1008 Self-diagnostic error 5.1.
ON :Error
Annunciator OFF :Not detected
SM1009
detected ON :Detected
OFF :Normal
SM1011 Operation error flag
ON :Operation error
User timing
SM1020
clock No.0
User timing
SM1021
clock No.1
n2 scan n2 scan
User timing
SM1022
clock No.2 n1 scan
User timing
SM1023
clock No.3
User timing
SM1024
clock No.4
App - 8 App - 8
APPENDICES
MELSOFT
SD6 SD77
SD7 SD78
SD8 SD79
App - 9 App - 9
APPENDICES
MELSOFT
Appendix Table 1.6 List of Special Registers Supported by the GX Simulator (cont.)
Number Name Description Number Name Description
No. of ST points SD532 Minimum low-speed
SD300
assigned 2 Minimum low-speed scan time (1 ms units)
No. of C points SD533 scan time Minimum scan time
SD301
assigned 2 (1 s units)
No. of D points SD534 Maximum scan time
SD302 Device assignment
assigned 2 Maximum low- (1 ms units)
No. of W points SD535 speed scan time Maximum scan time
SD303
assigned 2 (1 s units)
No. of SW points File register
SD304 SD647 File register capacity
assigned capacity
SD412 Number of counts in File register block File register block
1-second counter SD648
1 1-second intervals number number
SD414 2n-second clock Self-diagnostic error
2n-second clock units SD1008 Self-diagnostic error
1 setting number
Number of scans SD1009 Annunciator No. Annunciator No.
SD420 Scan counter
counted CPU operation
Low-speed scan Number of scans SD1015 CPU operation status
SD430 status
counter counted SD1017 Minimum scan time
Executed program Program execution Scan time
SD500 2 (10 ms units)
number type. SD1018 Scan time
Low-speed program Current low-speed Scan time
SD510 2 (10 ms units)
number execution file name SD1019 Maximum scan time
SD520 Present scan time Scan time
2 (10 ms units)
2 (1 ms units) SD1021 Scan time
Present scan time Scan time
SD521 Present scan time 2 (1 ms units)
2 (1 s units) SD1022 Number of counts of
SD522 Initial scan time 1-second counter
2 1-second units
2 (1 ms units) Extension file
Initial scan time SD1035 Used block number
SD523 Initial scan time register
2 (1 s units) Number of annun- Number of annun-
SD524 Minimum scan time SD1124
ciators detected ciators detected
2 (1 ms units)
Minimum scan time SD1125
SD525 Minimum scan time
SD1126
2 (1 s units)
SD1127
SD526 Maximum scan time
2 (1 ms units) SD1128 Number of annun- Number of annun-
Maximum scan time SD1129 ciators detected ciators detected
SD527 Maximum scan time
2 (1 s units) SD1130
SD528 Current scan time SD1131
2 Current low-speed (1 ms units) SD1132
SD529 scan time Current scan time 1: Value derived from the constant scan setting value and
2 (1 s units) number of scans.
2: Values equal to all constant scan setting values.
3: SD203 supports the CPU operation status only.
STOP/PAUSE cause is fixed at 0.
POINT
Special relays/registers that have contents different from those of Q4ACPU will
operate by the contents of special relays/registers of Q4ACPU.
App - 10 App - 10
APPENDICES
MELSOFT
Counter (C)
16 bit up 1 C14 to C15 (2 points)
16 bit general D0 to D29 (30 points)
Data register (D) 16 bit latched 1 D30 to D31 (2 points)
(32 bits when used in pairs) 16 bit special D8000 to D8255 (27 points)
16 bit index V, Z (2 points)
Nesting (N) For master control N0 to N7 (8 points)
For JUMP, CALL
Pointer (P) P0 to P63 (64 points)
branch
16 bit -32768 to 32767 ---- ----
Decimal constant (K)
32 bit -2147483648 to 2147483647 ---- ----
App - 11 App - 11
APPENDICES
MELSOFT
App
(1) Device list
: Compatible, : Incompatible, ---: Irrelevant
Compatibility with functions
Serial communication Remarks
Device backup Device Manager
function
---- ----
---- ----
----
---- ----
---- ----
---- ----
----
---- ----
---- ----
App - 12 App - 12
APPENDICES
MELSOFT
Appendix Table 1.8 List of Devices Supported by the GX Simulator (CPU type: FX0N)
Compatibility with functions
Device range
Device Monitor I/O system
(Number of points)
function 2 settings
Total number of points for
Input (X) X000 to X177 (128 points)
combined use with extension
Total number of points for
Output (Y) Y000 to Y177 (128 points)
combined use with extension
Bit device
Counter (C)
16 bit up 1 C16 to C31 (16 points)
App - 13 App - 13
APPENDICES
MELSOFT
---- ----
---- ----
---- ----
----
---- ----
---- ----
T32 to T62 are changed by M8028 drive.
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ----
---- ----
App - 14 App - 14
APPENDICES
MELSOFT
Appendix Table 1.9 List of Devices Supported by the GX Simulator (CPU type: FX1)
Compatibility with functions
Device range
Device Monitor I/O system
(Number of points)
function 4 settings
Total number of points for
Input (X) X000 to X177 (128 points)
combined use with extension
Total number of points for
Output (Y) Y000 to Y177 (128 points)
combined use with extension
General M0 to M499 (500 points)
Bit device
Counter (C)
16 bit up 2 C100 to C125 (36 points)
App - 15 App - 15
APPENDICES
MELSOFT
---- ----
---- ----
---- ----
---- ----
----
---- ----
---- ----
---- ----
----
---- ----
---- ----
----
---- ----
---- ----
---- ----
----
---- ----
---- ----
1: Area not backed up for interruption. However, this area can be changed to area backed up for interruption by using
parameter settings.
2: Area backed up for interruption. This area can be changed to area not backed up for interruption by using parameter
settings.
3: Area fixed to back up for interruption: This area cannot be changed.
4: Bit data digit specification and word data bit specification are available.
In device memory monitor, however, they are limited to the Entry Device tab and Timing Chart.
App - 16 App - 16
APPENDICES
MELSOFT
Appendix Table 1.10 List of Devices Supported by the GX Simulator (CPU type: FX2/FX2C)
Compatibility with functions
Device range
Device Monitor I/O system
(Number of points)
function 4 settings
Total number of points for
Input (X) X000 to X377 (256 points)
combined use with extension
Total number of points for
Output (Y) Y000 to Y377 (256 points)
combined use with extension
General 1 M0 to M499 (500 points)
Latched 2 M500 to M1023 (524 points)
Bit device
App - 17 App - 17
APPENDICES
MELSOFT
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ----
---- ----
---- ----
---- ----
---- ----
1: Area not backed up for interruption. However, this area can be changed to area backed up for interruption by using
parameter settings.
2: Area backed up for interruption. This area can be changed to area not backed up for interruption by using parameter
settings.
3: Area fixed to back up for interruption: This area cannot be changed.
4: Bit data digit specification and word data bit specification are available.
In device memory monitor, however, they are limited to the Entry Device tab and Timing Chart.
App - 18 App - 18
APPENDICES
MELSOFT
Appendix Table 1.11 List of Devices Supported by the GX Simulator (CPU type: FX1S)
Compatibility with functions
Device range
Device Monitor I/O system
(Number of points)
function 2 settings
Total number of points for
Input (X) X000 to X017 (16 points)
combined use with extension
Total number of points for
Output (Y) Y000 to Y015 (14 points)
combined use with extension
Bit device
Counter (C)
16 bit up 1 C16 to C31 (16 points)
16 bit general D0 to D127 (128 points)
16 bit latched 1 D128 to D255 (128 points)
Data register (D)
(32 bits when used in 16 bit special D8000 to D8255 (256 points)
pairs)
File 1 D1000 to D2499 (1500 points)
16 bit index V0 to V7, Z0 to Z7 (16 points)
Nesting (N) For master control N0 to N7 (8 points)
Pointer (P) For JUMP, CALL branch P0 to P63 (64 points)
16 bit -32768 to 32767 ---- ----
Decimal constant (K)
32 bit -2147483648 to 2147483647 ---- ----
App - 19 App - 19
APPENDICES
MELSOFT
---- ----
---- ----
---- ----
----
---- ----
---- ----
T32 to T62 are changed by M8028 drive.
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ----
---- ----
App - 20 App - 20
APPENDICES
MELSOFT
Appendix Table 1.12 List of Devices Supported by the GX Simulator (CPU type: FX1N / FX1NC)
Compatibility with functions
Device range
Device Monitor I/O system
(Number of points)
function 2 settings
Total number of points for
Input (X) X000 to X177 (128 points)
combined use with extension
Total number of points for
Output (Y) Y000 to Y177 (128 points)
combined use with extension
General M0 to M383 (384 points)
Bit device
App - 21 App - 21
APPENDICES
MELSOFT
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ----
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ----
---- ----
---- ----
---- ----
---- ----
D1000 and later can be specified as file
---- ----
registers.
---- ----
---- ----
App - 22 App - 22
APPENDICES
MELSOFT
App - 23 App - 23
APPENDICES
MELSOFT
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ----
---- ----
---- ----
1: Area not backed up for interruption. However, this area can be changed to area backed up for interruption by using
parameter settings.
2: Area backed up for interruption. This area can be changed to area not backed up for interruption by using parameter
settings.
3: Area fixed to back up for interruption: This area cannot be changed.
4: Bit data digit specification and word data bit specification are available.
In device memory monitor, however, they are limited to the Entry Device tab and Timing Chart.
App - 24 App - 24
APPENDICES
MELSOFT
App - 25 App - 25
APPENDICES
MELSOFT
---- ----
---- ---- ----
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ---- ----
---- ----
---- ----
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ----
---- ---- ----
---- ----
---- ----
---- ---- ----
---- ---- ----
---- ---- ----
---- ---- ---- ----
---- ---- ---- ----
---- ---- ---- ----
---- ---- ---- ----
1: Area not backed up for interruption. This area cannot be changed to area backed up for interruption by using
parameter settings.
2: Area backed up for interruption. This area cannot be changed to area not backed up for interruption by using
parameter settings.
3: Area fixed to back up for interruption: This area cannot be changed.
4: Bit data digit specification and word data bit specification are available.
In device memory monitor, however, they are limited to the Entry Device tab and Timing Chart.
App - 26 App - 26
APPENDICES
MELSOFT
Counter (C)
32 bit bidirectional 1 C200 to C219 (20 points)
32 bit bidirectional 2 C220 to C234 (15 points)
16 bit general 1 D0 to D199 (200 points)
Data register (D) 16 bit latched 2 D200 to D511 (312 points)
(32 bits when used 16 bit latched 3 D512 to D7999 (7488 points)
in pairs) 16 bit special D8000 to D8511 (512 points)
16 bit index V0 to V7, Z0 to Z7 (16 points)
App - 27 App - 27
APPENDICES
MELSOFT
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ----
---- ---- ----
---- ----
---- ----
---- ----
---- ----
---- ---- ----
---- ----
---- ----
---- ----
---- ----
----
---- ----
---- ----
---- ----
---- ----
---- ---- ----
---- ----
---- ----
App - 28 App - 28
APPENDICES
MELSOFT
M8011 10 ms clock 5 ms 5 ms
Internal real-
M8018 time clock Normally ON
detected
M8020 Zero ON if counting result is 0
ON if counting result is
M8021 Borrow less than maximum
minus value.
ON if counting result
M8022 Carry
increases a digit.
Decimal-point ON when floating
M8023 operation decimal-point instruction
instruction is executed.
Designate ON : Write
M8024
BMOV direction OFF: Read
RAMP mode ON : Hold output value
M8026
designation OFF: Reset output value
Switch timer OFF: 100 ms base
M8028
instruction ON : 10 ms base
Instruction
OFF: Executing
M8029 execution
ON : Execution complete
complete
Non-hold
OFF: Hold
M8031 memory all clear
ON : Clear
instruction
App - 29 App - 29
APPENDICES
MELSOFT
Appendix Table 1.16 List of Special Relays Supported by the GX Simulator (cont.)
FX0, FX2, FX1N, FX2N, FX3U,
No. Name Description FX0N FX1 FX1S FX3G
FX0S FX2C FX1NC FX2NC FX3UC
Hold memory all OFF: Hold
M8032
clear instruction ON : Clear
Memory hold OFF: Clear
M8033
stop instruction ON : Hold
Disable all
OFF: Output enabled
M8034 outputs
ON : Output OFF
instruction
RAM file clear OFF: Hold
M8038
instruction ON : Clear
Constant scan OFF: Normal scan
M8039 mode ON : Constant scan
designation mode
OFF: Transition enabled
Disable transition
M8040 ON : Transition
instruction
disabled
Transition start
OFF: Stop
M8041 instruction (for
ON : Transition start
IST command)
Start pulse
ON : IST command
M8042 instruction (for
start instruction
IST command)
Home position
ON : IST command
return complete
M8043 home position
instruction (for
return instruction
IST command)
ON : Home position
Home position
OFF: Home position
M8044 condition (for IST
return not
command)
complete
All output reset
ON : Reset disabled
M8045 disabled (for IST
OFF: Reset enabled
command)
STL state ON if any of S0 to S899
M8046
operation operates.
STL monitor ON : D8040 to D8047
M8047
enable enabled
Annunciator ON if any of S900 to
M8048
operation S999 operates.
Annunciator ON : D8049 enabled
M8049
enable instruction OFF: D8049 enabled
Operation error ON : Operation error
M8067
occurred OFF: No operation error
Operation error
M8068 Holds M8067 status
latch
RAM file register ON : Use
M8074
setting OFF: Do not use
BKCMP ON : Comparison result
instruction - block all matched
M8090
comparison OFF: Comparison result
signal unmatched
ON : No change
Output character
M8091 OFF: Storing 00H
number selector
(NULL)
App - 30 App - 30
APPENDICES
MELSOFT
Appendix Table 1.16 List of Special Relays Supported by the GX Simulator (cont.)
FX0, FX2, FX1N, FX2N, FX3U,
No. Name Description FX0N FX1 FX1S FX3G
FX0S FX2C FX1NC FX2NC FX3UC
XCH SWAP ON : 8-bit conversion
M8160
function setting OFF: Normal mode
8-bit processing ASC, ASCI, HEX
M8161
mode processing method
Change number
of FROM/TO Transfer points switch
M8164
instruction transfer instruction
points
SMOV HEX data
M8168 Digit shift in 4-bit unit
handling functions
Counting direction ON : C200 down
M8200
of counter OFF: C200 up
Counting direction ON : C201 down
M8201
of counter OFF: C201 up
Counting direction ON : C202 down
M8202
of counter OFF: C202 up
Counting direction ON : C203 down
M8203
of counter OFF: C203 up
Counting direction ON : C204 down
M8204
of counter OFF: C204 up
Counting direction ON : C205 down
M8205
of counter OFF: C205 up
Counting direction ON : C206 down
M8206
of counter OFF: C206 up
Counting direction ON : C207 down
M8207
of counter OFF: C207 up
Counting direction ON : C208 down
M8208
of counter OFF: C208 up
Counting direction ON : C209 down
M8209
of counter OFF: C209 up
Counting direction ON : C210 down
M8210
of counter OFF: C210 up
Counting direction ON : C211 down
M8211
of counter OFF: C211 up
Counting direction ON : C212 down
M8212
of counter OFF: C212 up
Counting direction ON : C213 down
M8213
of counter OFF: C213 up
Counting direction ON : C214 down
M8214
of counter OFF: C214 up
Counting direction ON : C215 down
M8215
of counter OFF: C215 up
App - 31 App - 31
APPENDICES
MELSOFT
Appendix Table 1.16 List of Special Relays Supported by the GX Simulator (cont.)
FX0, FX2, FX1N, FX2N, FX3U,
No. Name Description FX0N FX1 FX1S FX3G
FX0S FX2C FX1NC FX2NC FX3UC
Counting direction ON : C216 down
M8216
of counter OFF: C216 up
Counting direction ON : C217 down
M8217
of counter OFF: C217 up
Counting direction ON : C218 down
M8218
of counter OFF: C218 up
Counting direction ON : C219 down
M8219
of counter OFF: C219 up
Counting direction ON : C220 down
M8220
of counter OFF: C220 up
Counting direction ON : C221 down
M8221
of counter OFF: C221 up
Counting direction ON : C222 down
M8222
of counter OFF: C222 up
Counting direction ON : C223 down
M8223
of counter OFF: C223 up
Counting direction ON : C224 down
M8224
of counter OFF: C224 up
Counting direction ON : C225 down
M8225
of counter OFF: C225 up
Counting direction ON : C226 down
M8226
of counter OFF: C226 up
Counting direction ON : C227 down
M8227
of counter OFF: C227 up
Counting direction ON : C228 down
M8228
of counter OFF: C228 up
Counting direction ON : C229 down
M8229
of counter OFF: C229 up
Counting direction ON : C230 down
M8230
of counter OFF: C230 up
Counting direction ON : C231 down
M8231
of counter OFF: C231 up
Counting direction ON : C232 down
M8232
of counter OFF: C232 up
Counting direction ON : C233 down
M8233
of counter OFF: C233 up
Counting direction ON : C234 down
M8234
of counter OFF: C234 up
Turns ON when
Unconnected I/O
M8316 designating an
designation error
unconnected I/O.
Instruction Turns ON when
M8329 execution instructions abnormally
abnormal end ended.
: This device or function is supported by the actual PLC.
: This device or function is not supported by the actual PLC.
: This device is supported by actual PLCs with a clock function.
For the GX Simulator, always ON regardless whether the actual PLC has a clock function.
App - 32 App - 32
APPENDICES
MELSOFT
App - 33 App - 33
APPENDICES
MELSOFT
App - 34 App - 34
APPENDICES
MELSOFT
Link special relay (SB) SB0 to SB7FF (2048 points) Fixed SB0 to SB7FFF (32768 points)
Link relay (B) B0 to B1FFF (8192 points) Changeable B0 to B7FFF (32768 points)
Special relay (SM) SM0 to SM2047 (2048 points) Fixed SM0 to SM2047 (2048 points)
Function input When program is used:FX0 to FX4 (5 points) When program is used:FX0 to FX4 (5 points)
Fixed
(FX) 9 Other than above:FX0 to FXF (16 points) Other than above:FX0 to FXF (16 points)
Function output When program is used:FY0 to FY4 (5 points) When program is used:FY0 to FY4 (5 points)
Fixed
(FY) 9 Other than above:FY0 to FYF (16 points) Other than above:FY0 to FYF (16 points)
Data register (D) 4 D0 to D12287 (12288 points) Changeable D0 to D32767 (32768 points)
Special register (SD) SD0 to SD2047 (2048 points) Fixed SD0 to SD2047 (2048 points)
Word device
Link register (W) W0 to W1FFF (8192 points) Changeable W0 to W7FFF (32768 points)
Link special register
SW0 to SW7FF (2048 points) Fixed SW0 to SW7FFF (32768 points)
(SW)
App - 35 App - 35
APPENDICES
MELSOFT
App
(1) Device list
Since the devices of the Q series CPU (A mode) are the same as those of the
A4UCPU, refer to A4U in "Appendix Table 1.1 List of Devices Supported by the
GX Simulator".
App
(1) Device list
----
----
----
Refer to (3) Special Device List for the
supported special registers.
----
----
Retentive timer (ST) 4 From ST0 on (none) Changeable ST0 to ST32767 (32768 points)
App - 37 App - 37
APPENDICES
MELSOFT
----
----
Valid for only multiple PLC setting on the
own machine.
----
----
App - 38 App - 38
APPENDICES
MELSOFT
Link special relay (SB) SB0 to SB7FF (2048 points) Fixed SB0 to SB7FFF (32768 points)
Link relay (B) B0 to B1FFF (8192 points) Changeable B0 to BEFFF (61440 points)
Special relay (SM) SM0 to SM2047 (2048 points) Fixed SM0 to SM2047 (2048 points)
Function input When program is used:FX0 to FX4 (5 points) When program is used:FX0 to FX4 (5 points)
Fixed
(FX) 4 Other than above:FX0 to FXF (16 points) Other than above:FX0 to FXF (16 points)
Function output When program is used:FY0 to FY4 (5 points) When program is used:FY0 to FY4 (5 points)
Fixed
(FY) 4 Other than above:FY0 to FYF (16 points) Other than above:FY0 to FYF (16 points)
Data register (D) 3 D0 to D12287 (12288 points) Changeable D0 to D32767 (32768 points)
Special register (SD) SD0 to SD2047 (2048 points) Fixed SD0 to SD2047 (2048 points)
Word device
Link register (W) W0 to W1FFF (8192 points) Changeable W0 to W7FFF (32768 points)
Link special register
SW0 to SW7FF (2048 points) Fixed SW0 to SW7FFF (32768 points)
(SW)
App - 39 App - 39
APPENDICES
MELSOFT
App - 40 App - 40
APPENDICES
MELSOFT
Retentive timer (ST) 3 From ST0 on (none) Changeable ST0 to ST32767 (32768 points)
Extended data register(D) D0 to D12287 (12288 points) Changeable D0 to D4184063 (4184064 points)
Extended link register(W) W0 to W1FFF (8192 points) Changeable W0 to W3FD7FF (4184064 points)
Module start address (Um) Module start address (Um)
Intelligent function module m = 0 to FE (255 points) m = 0 to FE (255 points)
Fixed
device (Um\Gn) 8 Buffer register address (Gn) Buffer register address (Gn)
n = 0 to 65535 (65536 points) n = 0 to 65535 (65536 points)
Index register (Z) Z0 to Z19 (20 points) Fixed Z0 to Z19 (20 points)
m = 3E0 to 3E3 m = 3E0 to 3E3
n = 0 to 4095 (4096 points) n = 0 to 4095 (4096 points)
CPU shared memory (Um\Gn) Fixed
m = 3E0 to 3E3 m = 3E0 to 3E3
n = 10000 to 24335 (14336 points) n = 10000 to 24335 (14336 points)
Nesting (N) N0 to N14 (15 points) Fixed N0 to N14 (15 points)
Pointer (P) P0 to P4095 (4096 points) Fixed P0 to P4095 (4096 points)
Decimal constant (K) K-2147483648 to K2147483647 Fixed K-2147483648 to K2147483647
Hexadecimal constant (H) H0 to HFFFFFFFF Fixed H0 to HFFFFFFFF
E 1.17549-38 to E 3.40282+38 E 1.17549-38 to E 3.40282+38
App - 41 App - 41
APPENDICES
MELSOFT
App - 42 App - 42
APPENDICES
MELSOFT
App - 43 App - 43
APPENDICES
MELSOFT
Appendix Table 1.20 List of Special Relays Supported by the GX Simulator (cont.)
Number Name Description Number Name Description
Memory card B OFF :Unusable SM1030 0.05s 0.05s
SM620 0.1-second clock
usability flag ON :Usable 2
App - 44 App - 44
APPENDICES
MELSOFT
Appendix Table 1.20 List of Special Relays Supported by the GX Simulator (cont.)
SM1500 to 1501 are for process control instructions.
Process control instructions are only applicable to Process CPU and Redundant CPU.
When writing a program which uses process control instructions in CPU other than
Process CPU and Redundant CPU, INSTRCT.CODE ERR (error code 4002) occurs
and the CPU stops.
Appendix Table 1.20 List of Special Relays Supported by the GX Simulator (cont.)
SM1510 to 1516 can be used only in operation of the Q12PRHCPU or Q25PRHCPU.
In GX Simulator, the values of SM1510 to 1516 are fixed to those enclosed by
parentheses in the following table.
(Fixed to ON)
Debug mode
SM1513 OFF :Not in debug mode
status flag
ON :Debug mode
(Fixed to Control system, SM1515: ON, SM1516: OFF)
SM1515 Indicates operation system status.
Control Standby At the time of TRK.CABLE ERR.(Error code:
Control/Standby system system 6120) occurrence (System not determined.)
system status
SM1515 ON OFF OFF
SM1516
SM1516 OFF ON OFF
1: When the constant scan set value is an integral multiple of the clock time, the special relay status is OFF for every scan.
For the ON/OFF setting of the special relay clock, refer to the POINT in Appendix 1.5 (2).
2: Not compatible with the Universal model QCPUs.
App - 45 App - 45
APPENDICES
MELSOFT
POINT
• To turn ON/OFF the special relay clock, prevent setting the constant scan set
value to be an integral multiple of the clock time as shown in the example (1)
below.
(1) The operation of 0.1-second clock when the constant scan is 50ms. (Example
of non-integral multiple)
The special relay repeats ON and OFF.
(2) The operation of 0.1-second clock when the constant scan is 100ms (initial
value). (Example of integral multiple)
The special relay status is OFF for every scan.
App - 46 App - 46
APPENDICES
MELSOFT
SD6 SD77
SD7 SD78
SD8 SD79
SD200 Switch status CPU switch status
SD9
Error common Error common SD201 LED status CPU LED status
SD10
information information CPU operating CPU operating status
SD11 SD203
status 7
SD12 SD210 Clock data (year,
SD13 1 month)
SD14 SD211
Clock data (day, hour)
1
SD15 Clock data
SD212 Clock data (minute,
SD16 1 second)
SD17 Clock data (higher
SD213
SD18 digits of year, day of
1
week)
SD19
SD220
SD20
Error independent Error independent SD221
SD21
information information SD222
SD22
SD223 Display device data Display device data
SD23 SD224
SD24 SD225
SD25 SD226
SD26 SD227
SD50 Error reset Reset error number SD286
2 Points assigned to
SD62 Annunciator No. Annunciator No.
SD287 M (for extension)
Annunciator 2
SD63 Annunciator quantity Device assignment
quantity
SD288
SD64 2 Points assigned to
SD65 SD289 B (for extension)
SD66 Annunciator 2
Annunciator detected
detected number No. of X points
SD67 number SD290 Device assignment
table assigned
SD68 (Same as
No. of Y points
SD291 parameter contents)
SD69 assigned
App - 47 App - 47
APPENDICES
MELSOFT
Appendix Table 1.21 List of Special Registers Supported by the GX Simulator (cont.)
Number Name Description Number Name Description
SD292 No. of M points Low-speed scan Number of scans
3 assigned SD430
counter counted
No. of L points Executed program Program execution
SD293 SD500
assigned number type.
SD294 No. of B points
Low-speed program Current low-speed
3 assigned SD510
number execution file name
No. of F points
SD295 SD520 Present scan time
assigned
6 (1 ms units)
No. of SB points Present scan time
SD296 SD521 Present scan time
assigned
No. of V points 6 (1 s units)
SD297
assigned SD522 Initial scan time
Device assignment No. of S points 6 (1 ms units)
SD298 Initial scan time
(Same as assigned SD523 Initial scan time
parameter contents) No. of T points 6 (1 s units)
SD299
assigned SD524 Minimum scan time
No. of ST points 6 (1 ms units)
SD300 Minimum scan time
assigned SD525 Minimum scan time
No. of C points 6 (1 s units)
SD301
assigned SD526 Maximum scan time
No. of D points 6 (1 ms units)
SD302 Maximum scan time
assigned SD527 Maximum scan time
No. of W points 6 (1 s units)
SD303
assigned SD528 Current scan time
No. of SW points 6 Current low-speed (1 ms units)
SD304
assigned SD529 scan time Current scan time
16 bit modification No. 6 (1 s units)
SD305 Device assignment
of points assigned for
2 (index register) SD532 Minimum low-speed
Z
6 Minimum low-speed scan time (1 ms units)
SD306 scan time
Device assignment SD533 Minimum scan time
2 No. of points assigned
(Same as 6 (1 s units)
SD307 for ZR (extension)
parameter contents) SD534 Maximum scan time
2
6 Maximum low- (1 ms units)
SD308
No. of points assigned SD535 speed scan time Maximum scan time
2
Device assignment for D 6 (1 s units)
SD309
(Including extended (internal + extension) File register
2 SD647 File register capacity
data register (D) capacity
SD310
and extended link No. of points assigned File register block File register block
2 SD648
register (W)) for W number number
SD311
(internal + extension) Self-diagnostic error
2 SD1008 Self-diagnostic error
number
SD412 Number of counts in
1-second counter SD1009 Annunciator No. Annunciator No.
5 1-second intervals
CPU operation
SD414 2n-second clock SD1015 CPU operation status
2n-second clock units status
5 setting
SD1017 Minimum scan time
SD415 Scan time
2n(ms) clock 2n(ms) clock units 6 (10 ms units)
5
SD1018 Scan time
Number of scans Scan time
SD420 Scan counter 6 (10 ms units)
counted
App - 48 App - 48
APPENDICES
MELSOFT
Appendix Table 1.21 List of Special Registers Supported by the GX Simulator (cont.)
Number Name Description
SD1019 Maximum scan time
Scan time
6 (10 ms units)
SD1021 Scan time
Scan time
6 (1 ms units)
SD1022 Number of counts of
1-second counter
6 1-second units
Extension file
SD1035 Used block number
register
Number of annun- Number of annun-
SD1124
ciators detected ciators detected
SD1125
SD1126
SD1127
SD1128 Number of annun- Number of annun-
SD1129 ciators detected ciators detected
SD1130
SD1131
SD1132
1: Clock data is read by Clock data read request (SM213).
2: Only compatible with Universal mode Q CPUs.
3: K32768(H8000) is stored when the points assigned to M are 32769 points or more in the Universal model QCPUs.
4: K32768(H8000) is stored when the points assigned to B are 32769 points or more in the Universal model QCPUs.
5: Value derived from the constant scan setting value and number of scans.
6: Values equal to all constant scan setting values.
7: SD203 supports the CPU operation status only.
STOP/PAUSE cause is fixed at 0.
Appendix Table 1.21 List of Special Registers Supported by the GX Simulator (cont.)
SD1500 to 1501 are for process control instructions.
Process control instructions are only applicable to Process CPU and Redundant CPU.
When writing a program which uses process control instructions in CPU other than
Process CPU and Redundant CPU, INSTRCT.CODE ERR (error code 4002) occurs
and the CPU stops.
App - 49 App - 49
APPENDICES
MELSOFT
The GX Simulator supports the A series CPU/QnA series CPU/Q series CPU
instructions.
However, some instructions are subject to restrictions and some are not supported.
Unsupported instructions are not processed (NOP).
See Appendices Table 2.1 to 2.4 for the instructions supported by the GX Simulator.
POINT
Unsupported instructions are not processed (NOP), and the "Unsupported
information indicator lamp" lights up on the initial screen of the GX Simulator
functions. (Refer to the display contents in "Section 4.3 Description of the Initial
Window Display".)
App - 50 App - 50
APPENDICES
MELSOFT
Appendix Table 2.1 List of Supported Instructions (A Series CPU Function) (cont.)
App - 51 App - 51
APPENDICES
MELSOFT
Appendix Table 2.2 List of Supported Instructions (QnA series CPU functions)
App - 52 App - 52
APPENDICES
MELSOFT
Appendix Table 2.2 List of supported instructions (QnA series CPU functions) (cont.)
App - 53 App - 53
APPENDICES
MELSOFT
Appendix Table 2.3 List of Supported Instructions (FX series CPU functions)
(1) Sequence Instructions
Class Instruction Symbol Restriction
LD, LDI, LDP, LDF, AND, ANI, ANDP, ANDF, OR,
Contact instructions 1
ORI, ORP, ORF
Coupling instructions ANB, ORB, MPS, MRD, MPP, INV 1
Output instructions OUT, SET, RST, PLS, PLF
Master control instructions MC, MCR
Step ladder instructions STL, RET
Other instructions END, NOP
1: The LDP, LDF, ANDP, ANDF, ORP, ORF, and INV instructions are only compatible with FX1S, FX1N, FX1NC, FX2N,
FX2NC, FX3U and FX3UC PLC.
03 IRET
04 EI
05 DI
06 FEND
07 WDT
08 FOR
09 NEXT
10 CMP YES
11 ZCP YES
Transition/Comparison
12 MOV YES
13 SMOV YES
14 CML YES YES
15 BMOV
16 FMOV YES YES
17 XCH YES YES
18 BCD YES
19 BIN YES
App - 54 App - 54
APPENDICES
MELSOFT
Appendix Table 2.3 List of Supported Instructions (FX series CPU functions) (cont.)
Pulses Applicable PLCs Compatibility
FNC Instruction 32-bit
Class
21 SUB YES
22 MUL YES
23 DIV YES
24 INC YES
25 DEC YES
26 WAND YES
27 WOR YES
28 WXOR YES
29 NEG YES YES
30 ROR YES YES
31 ROL YES YES
32 RCR YES YES
Rotation shift
52 MTR
53 HSCS YES
54 HSCR YES
55 HSZ YES
56 SPD
57 PLSY YES
58 PWM
59 PLSR YES
App - 55 App - 55
APPENDICES
MELSOFT
Appendix Table 2.3 List of Supported Instructions (FX series CPU functions) (cont.)
Pulses Applicable PLCs Compatibility
FNC Instruction 32-bit
Class
62 ABSD YES
63 INCD
64 TTMR
65 STMR
66 ALT
67 RAMP
68 ROTC
69 SORT
70 TKY YES
71 HKY YES
External devices, I/O
72 DSW
73 SEGD YES
74 SEGL
75 ARWS
76 ASC
77 PR
78 FROM YES YES
79 TO YES YES
80 RS
81 PRUN YES YES
External devices, SER
82 ASCI YES
83 HEX YES
84 CCD YES
85 VRRD YES
86 VRSC YES
87 RS2
88 PID
89
90 MNET YES
91 ANRD YES
External devices, F2
92 ANWR YES
93 RMST
94 RMWR YES YES
95 RMRD YES YES
96 RMMN YES
97 BLK YES
98 MCDE YES
99
App - 56 App - 56
APPENDICES
MELSOFT
Appendix Table 2.3 List of Supported Instructions (FX series CPU functions) (cont.)
Pulses Applicable PLCs Compatibility
FNC Instruction 32-bit
Class
App - 57 App - 57
APPENDICES
MELSOFT
Appendix Table 2.3 List of Supported Instructions (FX series CPU functions) (cont.)
Pulses Applicable PLCs Compatibility
Class
186 DUTY
188 CRC YES
189 HCMOV YES
App - 58 App - 58
APPENDICES
MELSOFT
Appendix Table 2.3 List of Supported Instructions (FX series CPU functions) (cont.)
Pulses Applicable PLCs Compatibility
FNC Instruction 32-bit
Class
202 $+ YES
203 LEN YES
204 RIGHT YES
205 LEFT YES
206 MIDR YES
207 MIDW YES
208 INSTR YES
209 $MOV YES
Data processing 3
App - 59 App - 59
APPENDICES
MELSOFT
Appendix Table 2.3 List of Supported Instructions (FX series CPU functions) (cont.)
Pulses Applicable PLCs Compatibility
FNC Instruction 32-bit
Class
271 IVDR
272 IVRD
273 IVWR
274 IVBWR
Extension file register processings 2 processing 3
278 RBFM
Data
279 WBFM
High-speed
App - 60 App - 60
APPENDICES
MELSOFT
Since the supported instructions of the Q series CPU (A mode) are the same as those
of the A series CPU, refer to "Appendix Table 2.1 List of Supported Instructions (A
series CPU Function)".
Appendix Table 2.4 List of Supported Instructions (Q Series CPU (Q Mode) Function)
App - 61 App - 61
APPENDICES
MELSOFT
App - 62 App - 62
APPENDICES
MELSOFT
App - 63 App - 63
APPENDICES
MELSOFT
Some devices designated in the condition setting area and simulation device area by
the I/O system settings are subject to restrictions.
A list of the devices which can be used with the I/O system settings is shown below.
Devices which can be designated in condition area are the same for both timing chart
input and device value input.
Function
Device Name A series QnA series Q series CPU Q series CPU FX series
CPU CPU (A mode) (Q mode) CPU
Input (X)
Output (Y)
Internal relay (M)
Latch relay (L)
Step relay (S)
Step relay (S) (for SFC)
State (S)
Bit device
Annunciator (F)
Edge relay (V)
Link special relay (SB)
Link relay (B)
(M)
Special relay
(SM)
Contacts 1 1 1 1 1
Timer (T)
Coil
App - 64 App - 64
APPENDICES
MELSOFT
Function
Device Name A series QnA series Q series CPU Q series CPU FX series
CPU CPU (A mode) (Q mode) CPU
Contacts 1 1 1 2
Retentive timer (ST)
Coil
Contacts 1 1 1 1 1
Counter (C)
Coil
Function input (FX)
Bit device
App - 65 App - 65
APPENDICES
MELSOFT
Contacts
Timer (T)
Coil
Contacts
Retentive timer (ST)
Coil
Contacts
Counter (C)
Coil
Function input (FX)
Function output (FY)
Link input (Jn\X)
Link output (Jn\Y)
Link relay (Jn\B)
Link special relay (Jn\SB)
SFC block (BL)
SFC transition device(TR)
…………...Can be used.
…………...Cannot be used.
…………...Is not supported.
App - 66 App - 66
APPENDICES
MELSOFT
Function
Device Name A series QnA series Q series CPU Q series CPU FX series
CPU CPU (A mode) (Q mode) CPU
Data register (D)
(D)
Special register
(SD)
Link register (W)
Link special register (SW)
Timer (present value) (T)
Retentive timer (present value) (ST)
Counter (present value) (C)
Word device
App - 67 App - 67
APPENDICES
MELSOFT
Contacts
Timer (T)
Coil
Contacts
Retentive timer (ST)
Coil
Contacts
Counter (C)
Coil
Function input (FX)
Function output (FY)
Link input (Jn\X)
Link output (Jn\Y)
Link relay (Jn\B)
Link special relay (Jn\SB)
SFC block (BL)
SFC transition device(TR)
…………...Can be used.
…………...Cannot be used.
…………...Is not supported.
App - 68 App - 68
APPENDICES
MELSOFT
Function
Device Name A series QnA series Q series CPU Q series CPU FX series
CPU CPU (A mode) (Q mode) CPU
Data register (D)
(D)
Special register
(SD)
Link register (W)
Link special register (SW)
Timer (present value) (T)
Retentive timer (present value) (ST)
Counter (present value) (C)
Word device
App - 69 App - 69
APPENDICES
MELSOFT
The following indicates a history of main functions added to the previous versions.
Distribution
Version Description Reference
Time
Compatible with Windows 7.R
Section 3.1
Compatible with PX Developer simulation function. Section 2.2
7.27D Dec., 2010
(Compatible with GX Developer Version 8.94Y or later.) Appendix 1.5
Compatible with process control instruction. Appendix 2.5
Compatible with Universal model QCPU.
7.23Z Dec., 2008
(Compatible with GX Developer Version 8.78G or later.)
Compatible with FX3GCPU.
7.22Y Jul., 2008
(Compatible with GX Developer Version 8.72A or later.)
Compatible with Q02PHCPU and Q06PHCPU.
7.20W Apr., 2008
(Compatible with GX Developer Version 8.68W or later.)
Ver.7
7.19V Feb., 2008 Compatible with Windows Vista . R
Section 2.3
Section 3.4.4
Compatible with FX3UCPU and FX3UCCPU.
7.08J Nov., 2005 Appendix 1.3
(Compatible with GX Developer Version 8.23Z or later.)
Appendix 2.3
Compatible with online change function. Section 1.1
7.07H Sep., 2005
(Compatible with GX Developer Version 8.27D or later.) Section 3.1
Added function of writing X, Y, SM, SD to device memory from GX
Section 1.1
Developer.
7.00A Sep., 2004 Section 3.4.1
(Compatible with GX Developer Version 8.29F or later.)
Added function of reading/writing other station device from MX series. Section 8.3.1
Section 3.4.6
6.20W Jun., 2004 Compatible with Redundant CPU. Appendix 1.5
Appendix 2.5
Section 3.4.6
Compatible with Basic model QCPU of function version B. Appendix 1.5
6.13P Jan., 2003
Appendix 2.5
Compatible with Windows XP.
R
Section 2.3
6.12N Oct., 2002 Added initial window minimum function. Section 9.3
Ver.6
Section 3.4.6
6.10L Mar., 2002 Compatible with Process CPU. Appendix 1.5
Appendix 2.5
Added serial communication function. Chapter 6
Compatible with Windows 2000/Me.
R
Section 2.3
6.02C Jul., 2001 Section 3.4.6
Compatible with Basic model QCPU. Appendix 1.5
Appendix 2.5
Section 3.4.4
Compatible with FX1SCPU and FX1NCPU. Appendix 1.3
Appendix 2.3
Ver.5 5.01B Feb., 2000
Compatible with SFC program in FX series. Section 3.4.4
Compatible with Motion controller SCPU. Section 3.4.5
Improved I/O system setting functions. Chapter 5
App - 70 App - 70
APPENDICES
MELSOFT
Distribution
Version Description Reference
Time
Section 3.4.6
Ver.4 Aug., 1999 Compatible with High performance model QCPU. Appendix 1.5
Appendix 2.5
Ver.3 Apr., 1999 Added timing chart function. Section 7.2
Section 3.4.4
Compatible with FX series. Appendix 1.3
Appendix 2.3
Ver.2 Nov., 1998
Compatible with Windows NT 4.0.R
Section 2.3
Improved device memory monitor functions. Chapter 7
Improved I/O system setting functions. Chapter 5
App - 71 App - 71
INDEX
Ind
[A] Q series CPU ........................................ App-35
A-compatible 1C frame commands .............. 6- 8 QnA series CPU.................................... App- 5
A series CPU Simulation device area.......................... App-66
Device list...............................................App- 1 Usable with the I/O system settings ..... App-64
List of Supported instruction..................App-50 Device manager.............................................8- 1
Restrictions and cautions .......................... 3-12 Clear log .....................................................8-26
Device control setting.................................8- 7
[B] Device value check setting ........................8-12
Batch-enabling/disabling setting ................... 5-32 Editing settings ...........................................8-19
Buffer memory............................................... 7- 8 Export log ...................................................8-25
Buffer memory monitor ................................. 7- 8 Find.............................................................8-24
Log display .................................................8-15
[C] Other station device setting .......................8- 5
Cautions......................................................... 3- 9 Print ............................................................8-22
A series CPU ............................................. 3-12 Setting data file operation ..........................8-17
Common .................................................... 3- 9 Simulation starting/stopping.......................8-14
FX series CPU........................................... 3-17 Device memory monitor
Handling..................................................... 3-26 Buffer memory monitor ..............................7- 8
Motion controller ........................................ 3-20 Device batch monitor .................................7- 5
Q series CPU............................................. 3-21 Device write................................................7-13
QnA series CPU ........................................ 3-14 Entry device monitor ..................................7-11
Clear log ........................................................ 8-26 Operation procedure ..................................7- 2
Combination with MELSOFT Products ........ 2- 1 Outline ........................................................7- 1
Condition area ...........................................App-64 Starting/ending ...........................................7- 3
Conditions...................................................... 5- 2 Transfer Setup ...........................................7- 4
Configuration of screen Device memory/buffer memory
I/O system settings .................................... 5- 6 Reading ......................................................9- 3
Serial communication function .................. 6- 3 Saving.........................................................9- 1
Timing chart format input screen .............. 5-11 Device selection.............................................7- 4
Timing chart screen................................... 7-15 Device test .....................................................7-13
COS curve ..................................................... 5-18 Device value check setting ............................8-12
Cutting, copying, pasting set No................... 5-31 Device value input..........................................5-25
Devices and instructions................................3- 8
[D]
Device batch.................................................. 7- 5 [E]
Device batch monitor .................................... 7- 5 Ending
Device control setting.................................... 8- 7 Device memory monitor.............................7- 3
Device display position exchange ....... 5-24, 7-28 GX Simulator ..............................................4- 7
Device entering/deleting ...................... 5-13, 7-20 I/O system settings.....................................5- 5
Device list ............................................. 5-23, 7-27 Serial communication function...................6- 3
A series CPU .........................................App- 1 Timing chart................................................7-15
Condition area .......................................App-64 Entry device ...................................................7-11
FX series CPU.......................................App-11 Entry device memory.....................................7-11
Index - 1 Index - 1
Error code lists............................................... 6-11 [M]
A-compatible 1C frame ............................. 6-11 Monitor starting/stopping ...............................7-23
Ind QnA-compatible 3C/4C frame................... 6-12
Error message............................................. 11- 1 Motion controller
Export log....................................................... 8-25 Restrictions and cautions...........................3-20
[F] [O]
Features......................................................... 1- 2 Online Change ..................................... 1-10, 3- 1
Function Added to Upgraded from Previous Operation procedure
Version.......................................................App-70 Common.....................................................4- 1
Function list ................................................... 3- 3 Device memory monitor.............................7- 2
FX series CPU I/O system settings.....................................5- 4
Device list...............................................App-11 Serial communication function...................6- 2
List of supported instruction ..................App-54 Timing chart................................................7-15
Restrictions and precautions..................... 3-17 Timing chart format input screen ...............5-10
Option.............................................................9- 6
[G] Other station device setting ...........................8- 5
GX Developer operations.............................. 4- 3 Outline ............................................................1- 1
[H] [Q]
Handling precautions .................................... 3-26 Q series CPU
Device list .............................................. App-35
[I] List of supported instruction.................. App-61
I/O system settings Restrictions and precautions .....................3-21
Condition area .......................................App-64 QnA-compatible 3C/4C frame commands....6- 9
Configuration of screen ............................. 5- 6 QnA series CPU
Cutting, copying, pasting set No. .............. 5-31 Device list .............................................. App- 5
List of Devices Usable with the I/O System List of supported instruction.................. App-52
Settings ..................................................App-64 Restrictions and cautions...........................3-14
Operation procedure ................................. 5- 4
Outline........................................................ 5- 1 [R]
Reading setting files of SW5 or earlier ..... 5-35 Restrictions ....................................................3- 9
Starting and Ending................................... 5- 1 A series CPU..............................................3-12
Setting file operation.................................. 5-29 Common.....................................................3- 9
Using timing chart...................................... 5- 8 FX series CPU ...........................................3-17
Initial window ................................................. 4- 5 Motion controller.........................................3-20
Instruction list Q series CPU .............................................3-21
A series CPU .........................................App-50 QnA series CPU.........................................3-14
FX series CPU.......................................App-54
Q series CPU.........................................App-61 [S]
QnA series CPU ....................................App-52 Sampling period .............................................7-26
Scan number........................................ 5-12, 5-21
[L] Serial communication function ......................6- 1
Log display .................................................... 8-15 Configuration of screen..............................6- 4
Operation procedure ..................................6- 2
Outline ........................................................6- 1
Simulation device area ............................. App-66
Simulation example .....................................10- 1
Index - 2 Index - 2
SIN curve ....................................................... 5-18
Specifications ................................................ 3- 1
Starting
Device memory monitor ............................ 7- 3
I/O system settings .................................... 5- 5
Timing chart ............................................... 7-15
Supported devices and instructions.............. 3- 8
[T]
Timing chart
Configulation of screen.............................. 7-17
Device display position exchange............. 7-27
Device entering/deleting............................ 7-20
File operation ............................................. 7-24
Monitor starting/stopping........................... 7-23
Operation procedure ................................. 7-15
Sampling period......................................... 7-26
Starting and Exiting ................................... 7-16
Timing chart format input screen
Configulation of screen.............................. 5-11
Device display position exchange............. 5-24
Device entering/deleting............................ 5-13
Device value input ..................................... 5-25
File operation ............................................. 5-29
Operation procedure ................................. 5-10
Scan number .................................... 5-12, 5-21
Simulation starting/stopping ...................... 5-27
Timing setting/editing ................................ 5-15
Timing chart input.......................................... 5- 8
Timing data saving ........................................ 7-25
Timing setting/editing
Bit device ................................................... 5-15
Word device............................................... 5-17
Transfer Setup............................................... 7- 4
Troubleshooting............................................ 11- 1
Index - 3 Index - 3
TRADEMARKS
Microsoft, Windows, Windows NT, Windows Vista, and Windows XP are either registered trademarks or trademarks of
Microsoft Corporation in the United States and/or other countries.
Pentium is either a registered trademark or a trademark of Intel Corporation in the United States and/or other countries.
The company names, system names and product names mentioned in this manual are either registered trademarks or
trademarks of their respective companies.
In some cases, trademark symbols such as '' or '' are not specified in this manual.
SH(NA)-080468ENG-P(2110)KWIX
MODEL: SW7D5-LLT-O-E
MODEL CODE: 13JU51
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN
When exported from Japan, this manual does not require application to the
Ministry of Economy, Trade and Industry for service transaction permission.