Omron WS02-SIMC1-E V1.9 OPERATION MANUAL

Cat. No. W366-E1-10
SYSMAC WS02-SIMC1-E
CX-Simulator Ver. 1.9
OPERATION MANUAL
Operation Manual
Revised December 2009

Notice:

OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or damage to property.
DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or
serious injury. Additionally, there may be severe property damage.
WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or
serious injury. Additionally, there may be severe property damage.
Caution Indicates a potentially hazardous situation which, if not avoided, may result in minor or
moderate injury, or property damage.
OMRON Product References
All OMRON products are capitalized in this manual. The word "Unit" is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product.
The abbreviation "Ch," which appears in some displays and on some OMRON products, often means "word" and is abbreviated "Wd" in documentation in this sense.
In this manual, "PLC" is used as the abbreviation for Programmable Controller.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of information.
1, 2, 3... 1. Indicates lists of one sort or another, such as procedures, checklists, etc.
OMRON, 2008
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.
Note Indicates information of particular interest for efficient and convenient opera-
tion of the product.
v

About Upgrades:

Version 1.1
The following functions have been added to the CX-Simulator with the upgrade from Version 1.0 to Version 1.1.
Actual Serial Communications Possible
In Ver.1.0, the contents of messages sent by serial communications instruc­tions are displayed on the computer screen. In Ver.1.1, actual serial com­munications to an external serial communications device connected to a COM port on the computer are also possible.
NT Link (1:N Mode) Possible
In Ver.1.1, communications with OMRON’s Programmable Terminal (PT) connected to a COM port on the computer via NT Link are possible.
Multipoint Data Collection Tool Added
Time-series I/O memory data acquired from the actual PLC can be saved as a Data Replay File (CSV format). Unlike Data Trace, data can not be acquired every cycle. However, data of more than 50 words can be acquired.
WindowsMe/2000 Supported
Serial Number Entry on Installing Added
Version 1.2
The following functions have been added to the CX-Simulator with the upgrade from Version 1.1 to Version 1.2.
New PLCs Supported
Simulation is newly supported for the following PLCs.
Series CPU Unit model numbers
CS CS1H-CPU67H/66H/65H/64H/63H
CS1G-CPU45H/44H/43H/42H
CJ CJ1H-CPU66H/65H
CJ1G-CPU45H/44H/43H/42H CJ1G-CPU45/44
Functionality Improved
The following functions have been improved so that the same operation as that performed by the actual PLC is performed by the CX-Simulator. (There were some differences in operation with version 1.1.)
Processing when using index registers for automatic incrementing or decrementing with sequence output instructions.
Processing the current EM bank is changed during execution of the ladder program.
Break processing for nested FOR-NEXT loops.
Processing for decrementing counters in certain ladder program struc-
tures.
vi
Simplified System Exit Processing
When the system is exited while the CX-Simulator is connected, a confirma­tion dialog box will appear and, upon confirmation, the CX-Simulator will be disconnected and the system shut down.
Version 1.3
The following functions have been added to the CX-Simulator with the upgrade from Version 1.2 to Version 1.3.
New PLCs Supported
Simulation is newly supported for the following PLCs.
Series CPU Unit model numbers
CJ CJ1M-CPU23/22/13/12
New Units in the CS and CJ Series are also supported for PLC Unit registra­tion.
Starting and Connecting the CX-Simulator from the CX-Programmer
With CX-Programmer version 3.0 or higher, the CX-Simulator can be started and connected (placed online) from the CX-Programmer. After going online, program transfer to the CX-Simulator can be started immediately.
Windows XP Supported
Version 1.4
The following functions have been added to the CX-Simulator with the upgrade from Version 1.3 to Version 1.4.
New PLCs Supported
Version 1.5
The changes that have been made from version 1.4 to version 1.5 of the CX-Simulator to enable support of new CPU Unit models are explained here.
Simulation is newly supported for the following PLCs.
Series CPU Unit model numbers
CS CS1D-CPU67H/65H
CS1D-CPU67S/65S/44S/42S
CJ CJ1M-CPU23/22/21/13/12/11
New Units in the CS and CJ Series are also supported for PLC Unit registra­tion.
New PLCs Supported
CX-Simulator version 1.5 supports the following new CPU Units.
Series CPU Unit model
CS CJ1H-CPU67H
CPU Unit Version Upgrade Compatibility CX-Simulator version 1.5 supports the following CS/CJ-series CPU Units with unit version 3.0.
Series Device type
CS/CJ CS1G-H, CS1H-H, CJ1G-H, CJ1H-H, CJ1M
vii
Function Block (Ladder Programming Language) Simulation
CX-Simulator version 1.5 can be used to simulate function blocks that are supported for CS/CJ-series CPU Units with unit version 3.0 (function block algorithms can be written in the ladder programming language or in the structured text (ST)). Step execution of instructions contained in ladder programming language or structured text within a function block, however, is not supported.
Precautions
CX-Simulator version 1.5 can simulate the operations of a CS/CJ-series CPU Unit with version 3.0 on a personal computer. The simulation, however, operates differently from the actual CS/CJ-series CPU Unit with unit version 3.0 in the system.
Processing when using index registers for automatic incrementing or decrementing with se­quence output instructions. No-protocol communications instructions sent to the serial port of the Serial Communications Unit will not be executed. CX-Simulator version 1.5 does not support no-protocol instructions (TXDU(256) and RXDU(255)) sent to the serial port of the Serial Communications Unit and will not execute these instructions.
The Comms Instructions Settings in FB field in PLC Settings is disabled. The Comms Instructions Settings in FB field (CPU Settings Tab) is a PLC setting specific to the OMRON FB library. Therefore, this setting is disabled when using CX-Simulator version 1.5.
Free Running Timers in Auxiliary Area words A000 and A001 are disabled. The Auxiliary Area word 10-ms Incrementing Free Running Timer (A000) and 100-ms Incre­menting Free Running Timer (A001) that are supported for CS/CJ-series CPU Units with ver­sion 3.0 or later cannot be used in simulation operations.
Version 1.6
The changes that have been made from version 1.5 to version 1.6 of the CX-Simulator to enable support of new functions are explained here.
New PLCs Supported
CX-Simulator version 1.6 supports the following new CPU Units.
Series CPU Unit model CP CP1H-XA/X NSJ (Controller Section)
CX-Programmer Simulation Functions
If CX-Programmer version 6.1 or higher and CX-Simulator version 1.6 or higher are installed, the following CX-Programmer simulation functions can be used.
Applicability: Ladder programs or programs in function blocks (ladder pro­grams or ST)
Simulation functions: Step execution, continuous step execution, scan execution, and break-point operation (Note: I/O conditions cannot be set.)
Refer to the CX-Programmer Operation Manual (W446) for details.
G5D (Used for the NSJ5-TQ0@-G5D, NSJ5-SQ0@-G5D, NSJ8-TV0@-G5D, NSJ10-TV0@-G5D, and NSJ12-TS0@-G5D)
Version 1.7
The changes that have been made from version 1.6 to version 1.7 of the CX-Simulator to enable support of new functions are explained here.
viii
New PLCs Supported
CX-Simulator version 1.7 supports the following new CPU Units.
Series CPU Unit model
CP
NSJ (Controller Section)
CP1H-XA@@@@-@ CP1H-X@@@@-@ CP1H-Y@@@@-@ M3D (Used for the NSJ5-TQ0@-M3D, NSJ5-SQ0@-M3D, and NSJ8-TV0@-M3D)
Integrated Simulation with Screen Operations for Virtual PT (Programmable Terminal)
The PLC-PT Integrated Simulation icon can be used to perform integrated simulations using CX-Designer version 2.0 or higher and CX-Simulator ver­sion 1.7 or higher. This enables debugging by linking user program execution on a virtual PLC with the CX-Programmer/CX-Simulator with screen opera­tions for a virtual PT using the CX-Designer’s Test Tool.
Starting the CX-Simulator: The CX-Simulator is started by selecting the PLC-PT Integrated Simulation menu item from CX-Designer version 2.0 or higher. (The user program is automatically transferred to the CX-Simulator when it starts.)
Connecting the CX-Simulator to virtual PT screens: Automatically executed.
Refer to the operation manual for CX-Designer version 2.0 or higher for de­tails.
Version 1.8
The changes that have been made from version 1.7 to version 1.8 of the CX-Simulator to enable support of new functions are explained here.
New PLCs Supported
Version 1.9
The changes that have been made from version 1.8 to version 1.9 of the CX-Simulator to enable support of new functions are explained here.
New PLCs Supported
Version 1.91
CX-Simulator version 1.8 supports the following new CPU Units.
Series CPU Unit model
CP
CJ CJ1H-CPU67H-R/66H-R/65H-R/64H-R
CX-Simulator version 1.9 supports the following new CPU Units.
Series CPU Unit model
CJ CJ2H-CPU68-EIP/67-EIP/66-EIP/65-EIP/64-EIP
CP1L-M@@@@-@ CP1L-L@@@@-@
The changes that have been made from version 1.9 to version 1.91 of the CX-Simulator to enable support of new functions are explained here.
New PLCs Supported
CX-Simulator version 1.91 supports the following new CPU Units.
Series CPU Unit model
CJ CJ2H-CPU68/67/66/65/64
ix
Version 1.94
The changes that have been made from version 1.9 to version 1.94 of the CX-Simulator to enable support of new functions are explained here.
Support for Windows 7
Note This upgrade accompanies the upgrade of CX-One version 3.2 to CX-One
version 4.03.
x

Unit Versions of CS/CJ/CP/NSJ-series CPU Units

Unit Versions
A “unit version” has been introduced to manage CPU Units in the CS/CJ/CP/NSJ Series according to differences in functionality accompanying Unit upgrades. This applies to the CJ2H, CS1-H, CJ1-H, CJ1M, CS1D, and CP1H CPU Units.
Notation of Unit Versions on Products
The unit version is given to the right of the lot number on the nameplate of the products for which unit versions are being managed, as shown below.
Produce nameplate CS/CJ/CP-series CPU Unit
CS1H-CPU67H
CPU UNIT
Confirming Unit Versions with Support Software
Lot No.
Lot No. 031001 0000 Ver.2.0
OMRON Corporation MADE IN JAPAN
Unit version
Example for unit version 2.0
• CS1-H, CJ1-H, and CJ1M CPU Units manufactured on or before Novem­ber 4, 2003 do not have a unit version given on the CPU Unit (i.e., the lo­cation for the unit version shown above is blank).
• The unit version of the CJ1-H-R CPU Units begins at version 4.0.
• The unit version of the CS1-H, CJ1-H, and CJ1M CPU Units, as well as the CS1D CPU Units for Single-CPU Systems, begins at version 2.0.
• The unit version of the CS1D CPU Units for Duplex-CPU Systems begins at version 1.1.
• The unit version of the CP1H/CP1L CPU Units begins at version 1.0, ex­cept for the CP1H-Y@@@@-@, for which the unit version begins at version
1.1.
• CPU Units for which a unit version is not given are called Pre-Ver. CPU Units, such as Pre-Ver. 2.0 CPU Units and Pre-Ver. 1.1 CPU Units.
CX-Programmer version 4.0 or later can be used to confirm the unit version using one of the following two methods.
• Using the PLC Information
• Using the Unit Manufacturing Information (This method can be used for Special I/O Units and CPU Bus Units as well.)
@.@
Note CX-Programmer version 3.3 or lower cannot be used to confirm unit ver-
sions.
PLC Information
• If you know the device type and CPU type, select them in the Change PLC Dialog Box, go online, and select PLC - Edit - Information from the menus.
• If you don’t know the device type and CPU type, but are connected directly to the CPU Unit on a serial line, select PLC - Auto Online to go online, and then select PLC - Edit - Information from the menus.
In either case, the following PLC Information Dialog Box will be displayed.
xi
Unit version
Use the above display to confirm the unit version of the CPU Unit.
Unit Manufacturing Information
In the IO Table Window, right-click and select Unit Manufacturing informa­tion - CPU Unit.
The following Unit Manufacturing information Dialog Box will be displayed
Unit version
xii
Use the above display to confirm the unit version of the CPU Unit connected online.
Using the Unit Version Labels
The following unit version labels are provided with the CPU Unit.
These labels can be attached to the front of previous CPU Units to differentiate between CPU Units of different unit versions.
Unit Version Notation
Product nameplate
Meaning
Designating individual CPU Units (e.g., the CS1H-CPU67H)
Designating groups of CPU Units (e.g., the CS1-H CPU Units)
Designating an entire series of CPU Units (e.g., the CS-series CPU Units)
In this manual, the unit version of a CPU Unit is given as shown in the following table.
CPU Units on which no unit version is
given
Lot No. XXXXXX XXXX
OMRON Corporation MADE IN JAPAN
Units on which a version is given
(Ver.
@.@)
Lot No. XXXXXX XXXX
OMRON Corporation MADE IN JAPAN
Ver.@.
@
Pre-Ver. 2.0 CS1-H CPU Units
Pre-Ver. 2.0 CS1-H CPU Units
Pre-Ver. 2.0 CS-series CPU Units
CS1H-CPU67H CPU Unit Ver. @.@
CS1-H CPU Units Ver. @.@
CS-series CPU Units Ver. @.@
xiii
Unit Versions
CS Series
Units Models Unit versions
CS1-H CPU Units
CS1D CPU Units
CS1 CPU Units
CS1 Version-1 CPU Units
CJ Series
Units Models Unit versions
CJ2 CPU Units
CJ1-H CPU Units
CJ1M CPU Units
CS1@-CPU@@H
Duplex-CPU Systems CS1D-CPU@@H
Single-CPU Systems CS1D-CPU@@S
CS1@-CPU@@
CS1@-CPU@@-V1
CJ2H-CPU6@-EIP
CJ2H-CPU6@
CJ1H-CPU@@H-R
CJ1@-CPU@@H CJ1@-CPU@@P
CJ1M-CPU12/13 CJ1M-CPU22/23
CJ1M-CPU11/21
Unit version 4.0
Unit version 3.0
Unit version 2.0
Pre-Ver. 2.0
Unit version 1.2
Unit version 1.1
Pre-Ver. 1.1
Unit version 2.0
No unit version.
No unit version.
Unit version 1.1
Unit version 1.0
Unit version 1.1
Unit version 4.0
Unit version 4.0
Unit version 3.0
Unit version 2.0
Pre-Ver. 2.0
Unit version 4.0
Unit version 3.0
Unit version 2.0
Pre-Ver. 2.0
Unit version 4.0
Unit version 3.0
Unit version 2.0
CP Series
Units Models Unit versions
CP1H CPU Units
CP1L CPU Units
CP1H- X@@@@-@
CP1H- XA@@@-@
CP1H- Y@@@@-@
CP1L- M@@@@-@
CP1L- L@@@@-@
Note: CP-series Unit Versions and Supported Functions
Unit version 1.0 or 1.1 of the CP-series CP1H/CP1L CPU Units is equivalent to unit version 3.0 of the CS/CJ-series CPU Units. Functions added for unit version 4.0 or later of the CS/CJ-series CPU Units are not supported by the CP-series CP1H/CP1L CPU Units.
xiv
Unit version 1.1
Unit version 1.0
Unit version 1.1
Unit version 1.0
NSJ Series
Models Unit versions
NSJ@-TQ@@(B)-G5D NSJ@-TQ@@(B)-M3D
Unit version 3.0
Function Support by Unit Version
The following tables show the functions supported by the CX-Programmer and CX-Simulator depending on the unit version of the CPU Unit. Refer to 1-1-4
Summary of CX-Simulator Functions (Comparisons with Actual PLC) and 1-6 Comparison of CX-Simulator and SYSMAC CS/CJ-series PLCs for compari-
sons between CX-Simulator functions and the actual PLC. The functions supported for CJ2 CPU Units with unit version 1.0 correspond to those for CS/CJ Units with unit version 4.0 or later.
Functions Supported for Unit Version 4.0 or Later
The following tables list the functions added for unit version 4.0 and supported by the CX-Programmer. CX-Programmer version 7.0 or higher and CX-Simulator version 1.7 or higher are required to use these functions.
Additional functions are supported if CX-Programmer version 7.2 or higher is used.
CS1-H CPU Units
Function
Unit version 4.0 or
Online editing of function blocks Note: This function cannot be used for simulations on the CX-Simulator.
Input-output variables in function blocks OK ---
Text strings in function blocks OK ---
Number-Text String Conversion Instructions:
instructions
Using ST language programming in tasks OK with CX-
Using SFC programming in tasks OK with CX-
NUM4, NUM8, NUM16, STR4, STR8, and STR16
TEXT FILE WRITE (TWRIT) OK ---
OK ---
OK --- New application
Programmer Ver. 7.2 or higher
Programmer Ver. 7.2 or higher
CS1@-CPU@@H
later
---
---
CS1D CPU Units
Unit version 4.0 is not supported.
Other unit versions
xv
CJ1-H/CJ1M CPU Units
Function
Online editing of function blocks Note: This function cannot be used for simulations on the CX-Simulator.
Input-output variables in function blocks OK ---
Text strings in function blocks OK ---
Number-Text String Conversion Instructions:
instructions
Using ST language programming in tasks OK with CX-
Using SFC programming in tasks OK with CX-
NUM4, NUM8, NUM16, STR4, STR8, and STR16
TEXT FILE WRITE (TWRIT) OK ---
CJ1@-CPU@@H, CJ1G-CPU@@P,
CJ1M-CPU@@
Unit version 4.0 or
later
OK ---
OK --- New application
--­Programmer Ver. 7.2 or higher
--­Programmer Ver. 7.2 or higher
Other unit versions
xvi
Functions Supported for Unit Version 3.0 or Later
The following tables list the functions added for unit version 3.0 and supported by the CX-Programmer. CX-Programmer version 5.0 or higher and CX-Simulator version 1.5 or higher are required to use these functions.
CS1-H CPU Units
Function
Unit version 3.0 or
Function blocks OK ---
Serial Gateway (converting FINS commands to CompoWay/F commands at the built-in serial port)
Comment memory (in internal flash memory) OK ---
Expanded simple backup data
New application instructions
Additional in­struction func­tions
TXDU(256), RXDU(255) (support no-protocol communications with Serial Communications Units with unit version 1.2 or later)
Model conversion instructions: XFERC(565), DISTC(566), COLLC(567), MOVBC(568), BCNTC(621)
Special function block instructions: GETID(286) OK ---
TXD(235) and RXD(236) instructions (support no-protocol communications with Serial Commu­nications Boards with unit version 1.2 or later)
OK ---
OK ---
OK ---
OK ---
CS1@-CPU@@H
later
CS1D CPU Units
Unit version 3.0 is not supported.
Other unit versions
CJ1-H/CJ1M CPU Units
Function
Function blocks
Serial Gateway (converting FINS commands to CompoWay/F commands at the built-in serial port)
Comment memory (in internal flash memory)
Expanded simple backup data
New applica­tion instruc­tions
Additional in­struction func­tions
TXDU(256), RXDU(255) (support no-protocol communications with Serial Communications Units with unit version 1.2 or later)
Model conversion instructions: XFERC(565), DISTC(566), COLLC(567), MOVBC(568), BCNTC(621)
Special function block instructions: GETID(286)
PRV(881) and PRV2(883) instructions: Added high-frequency calculation methods for calculat­ing pulse frequency. (CJ1M CPU Units only)
CJ1@-CPU@@H
CJ1G-CPU@@P
CJ1M-CPU@@
Unit version 3.0 or
later
OK ---
OK ---
OK ---
OK ---
OK ---
OK ---
OK ---
OK ---
Other unit versions
xvii
Functions Supported for Unit Version 2.0 or Later
The following tables list the functions added for unit version 2.0 and supported by the CX-Programmer. CX-Programmer version 4.0 or higher and CX-Simulator version 1.4 or higher are required to use these functions.
CS1-H CPU Units
Function
Downloading and Uploading Individual Tasks
Improved Read Protection Using Passwords
Write Protection from FINS Commands Sent to CPU Units via Networks
Online Network Connections without I/O Ta­bles
Communications through a Maximum of 8 Network Levels
Connecting Online to PLCs via NS-series PTs
Setting First Slot Words
Automatic Transfers at Power ON without a Parameter File
Automatic Detection of I/O Allocation Method for Automatic Transfer at Power ON
CJ1-H CPU Units (CJ1@-CPU@@H)
Unit version 2.0 or
later
OK ---
OK ---
OK ---
OK ---
OK ---
OK OK from lot number
OK for up to 64 groups
OK ---
--- ---
Other unit ver-
sions
030201
OK for up to 8 groups
Operation Start/End Times
New Applica­tion Instruc­tions
MILH, MILR, MILC
=DT, <>DT, <DT, <=DT, >DT, >=DT
BCMP2
GRY
TPO
DSW, TKY, HKY, MTR, 7SEG
EXPLT, EGATR, ESATR, ECHRD, ECHWR
Reading/Writing CPU Bus Units with IORD/IOWR
PRV2
OK ---
OK ---
OK ---
OK ---
OK OK from lot number
030201
OK ---
OK ---
OK ---
OK OK from lot number
030418
--- ---
xviii
CS1D CPU Units
Function
Functions unique to CS1D CPU Units
Downloading and Uploading Individual Tasks
Improved Read Protection Using Passwords
Write Protection from FINS Commands Sent to
CPU Units via Networks
Online Network Connections without I/O Tables
Communications through a Maximum of 8 Net-
work Levels
Connecting Online to PLCs via NS-series PTs
Setting First Slot Words
Automatic Transfers at Power ON without a Pa-
rameter File
Automatic Detection of I/O Allocation Method for
Automatic Transfer at Power ON
Operation Start/End Times
New applica­tion instruc­tions
Duplex CPU Units --- OK OK
Online Unit Replacement OK OK OK
Duplex Power Supply Units OK OK OK
Duplex Controller Link Units OK OK OK
Duplex Ethernet Units --- OK OK
Unit removal without a Program­ming Device
MILH, MILR, MILC
=DT, <>DT, <DT, <=DT, >DT, >=DT
BCMP2
GRY
TPO
DSW, TKY, HKY, MTR, 7SEG
EXPLT, EGATR, ESATR, ECHRD, ECHWR
Reading/Writing CPU Bus Units with IORD/IOWR
PRV2
CS1D CPU Units
for Single-CPU
Systems
(CS1D-CPU@@S)
Unit version 2.0 Unit version 1.1
--- OK (Unit version
OK --- ---
OK --- ---
OK --- ---
OK --- ---
OK --- ---
OK --- ---
OK for up to 64 groups
OK --- ---
--- --- ---
OK OK ---
OK --- ---
OK --- ---
OK --- ---
OK --- ---
OK --- ---
OK --- ---
OK --- ---
OK --- ---
OK --- ---
CS1D CPU Units for Duplex-CPU
Systems (CS1D-CPU@@H)
Pre-Ver. 1.1
or later
---
1.2 or later)
--- ---
xix
CS1-H/CJ1M CPU Units
Function
Downloading and Uploading Individual Tasks
Improved Read Protection Using Pass­words
Write Protection from FINS Commands Sent to CPU Units via Networks
Online Network Connections without I/O Tables
Communications through a Maximum of 8 Network Levels
Connecting Online to PLCs via NS-series PTs
Setting First Slot Words
Automatic Transfers at Power ON with­out a Parameter File
Automatic Detection of I/O Allocation Method for Automatic Transfer at Power ON
Operation Start/End Times
New applica­tion instruc­tions
MILH, MILR, MILC
=DT, <>DT, <DT, <=DT, >DT, >=DT
BCMP2
GRY
TPO
DSW, TKY, HKY, MTR, 7SEG
EXPLT, EGATR, ESATR, ECHRD, ECHWR
Reading/Writing CPU Bus Units with IORD/IOWR
PRV2
CJ1-H CPU Units CJ1M CPU Units
(CJ1@-CPU@@H) (CJ1G-CPU@@P)
Unit version
2.0 or later
OK --- OK --- OK
OK --- OK --- OK
OK --- OK --- OK
OK --- (Supported if
OK --- OK --- OK
OK OK from lot
OK for up to 64 groups
OK --- OK --- OK
OK --- OK --- OK
OK --- OK --- OK
OK --- OK --- OK
OK --- OK --- OK
OK --- OK OK OK
OK OK from lot
OK --- OK --- OK
OK --- OK --- OK
OK --- OK --- OK
OK --- OK --- OK
--- --- OK, but only for
Other unit ver-
sions
I/O tables are automatically generated at startup.)
number 030201
OK for up to 8 groups
number 030201
CJ1M-CPU12/13/22/23 CJ1M-CPU11/21
Unit version
2.0 or later
OK --- (Supported
OK OK from lot
OK for up to 64 groups
OK OK from lot
CPU Units with built-in I/O
Other unit
versions
if I/O tables are automati­cally gener­ated at startup.)
number 030201
OK for up to 8 groups
number 030201
--- OK, but only for
Unit version 2.0
or later
OK
OK
OK for up to 64 groups
OK
CPU Units with built-in I/O
xx
Functions Supported by Unit Version for CP-series CPU Units
Functions Supported by Unit Version 1.0 and 1.1
Functionality is the same as that for CS/CJ-series CPU Units with unit ver­sion 3.0.
The functionality added for CS/CJ-series CPU Unit unit version 4.0 is not supported.
CP1H CPU Units
CX-Programmer version 6.11 or higher is required to use
CP1H-X@@@@-@/XA@@@@-@ with unit version 1.1 or 1.0.
CX-Programmer version 6.20 or higher is required to use
CP1H-Y@@@@-@ with unit version 1.1. CPU Unit CP1H CPU Unit Model CP1H-X@@@@-@
CP1H-XA@@@@-@ (See note 1.)
Unit version
Ver. 1.1 or
Ver. 1.0 Ver. 1.1
CP1H-Y@@@@-
@
(See note 2.)
later Function Pulse outputs
Allocated built-in I/O ter­minals
4 axes at 100 kHz
2 axes at 100 kHz 2 axes at
2 axes at 100 kHz
30 kHz
Special pulse
None 2 axes at 1 kHz output termi­nals
Note 1: The unit version for the CP1H-X@@@@-@/XA@@@@-@ begins at 1.0.
2: The unit version for the CP1H-Y@@@@-@ begins at 1.1. 3: CX-Programmer version 7.11 or higher is required to use CP1L CPU Units
with unit version 1.0.
xxi
Unit Versions and Programming Devices
The following tables show the relationship between unit versions and CX-Programmer versions.
Unit Versions of CS/CJ-series CPU Units and Programming Devices
CX-Programmer CPU Unit Functions
CS/CJ Series, unit version
4.0
unit version
3.0
unit version
2.0
CS1D CPU Units for Sin­gle-CPU Sys­tems, unit ver­sion 2.0
Units for Du­plex-CPU Systems, unit version 1.
Functions added for unit version
4.0
Functions added for unit version
3.0
Functions added for unit version
2.0
Functions added for unit version
2.0
Functions added for unit version
1.1
Using new functions
Not using new functions
Using new functions
Not using new functions
Using new functions
Not using new functions
Using new functions
Not using new functions
Using new functions
Not using new functions
Ver. 3.3 Ver. 4.0 Ver. 5.0
Ver. 6.0
--- --- --- OK
OK OK OK OK OK
--- --- OK OK OK CS/CJ Series,
OK OK OK OK OK
--- OK OK OK OK CS/CJ Series,
OK OK OK OK OK
--- OK OK OK OK
--- OK OK OK OK CS1D CPU
OK OK OK OK OK
Ver. 7.0 Ver. 7.2
or
higher
OK (See note 1.)
(See note
1.)
Note 1: As shown above, there is no need to upgrade the CX-Programmer ver-
sion as long as the functions added newer unit versions are not used.
2: CX-Programmer version 7.0 or higher is required to use functions added
for unit version 4.0. Additional functions are supported if CX-Programmer version 7.2 or higher is used.
Unit Versions of CP-series CPU Units and Programming Devices
CX-Programmer version CPU Unit Model Unit
Ver. 6.11 Ver. 6.20 Ver. 7.11
or higher
CP1H CPU Units
CP1H-X@@@@-@
CP1H-XA@@@@-@
CP1H-Y@@@@-@
CP1L-M@@@@-@ CP1L CPU Units
CP1L-L@@@@-@
version
Ver. 1.1 OK OK OK
Ver. 1.0 OK OK OK
Ver. 1.1 --- OK OK
Ver. 1.0 --- --- OK
Note 1: As shown above, there is no need to upgrade the CX-Programmer ver-
sion as long as the functions added newer unit versions are not used.
2: CX-Programmer version 7.0 or higher is required to use functions added
for unit version 4.0. Additional functions are supported if CX-Programmer version 7.2 or higher is used.
Programming Console
Cannot be used.
xxii
Device Type Setting
The unit version does not affect the setting made for the device type on the CX-Programmer. Select the device type as shown in the following table re­gardless of the unit version of the CPU Unit.
Series CPU Unit group CPU Unit model Device type setting on
CX-Programmer
CS Series
CJ Series
CP Series
CS1G-H CS1-H CPU Units
CS1H-H
CS1D-H (or CS1H-H)
CS1D-S
CJ2H
CJ1G-H CJ1-H CPU Units
CJ1H-H
CJ1M
CP1H
CP1L
CS1D CPU Units for Duplex-CPU Systems
CS1D CPU Units for Single-CPU Systems
CJ2 CPU Units
CJ1M CPU Units
CP1H CPU Units
CP1L CPU Units
CS1G-CPU@@H
CS1H-CPU@@H
CS1D-CPU@@H
CS1D-CPU@@S
CJ2H-CPU6@(-EIP)
CJ1G-CPU@@H CJ1G-CPU@@P
CJ1H-CPU@@H-R CJ1H-CPU@@H
CJ1M-CPU@@
CP1H-X@@@@-@C P1H-XA@@@@-@ CP1H-Y@@@@-@
CP1L-M@@@@-@ CP1L-L@@@@-@
Note Device types not supported by the CX-Programmer version that is being used will not be
displayed on the pull-down list of the Device type Field.
xxiii
Troubleshooting Problems with Unit Versions on the CX-Programmer
Problem Cause Solution
After the above message is displayed, a compiling error will be displayed on the Compile Tab Page in the Output Window.
"????" is displayed in a program transferred from the PLC to the CX-Programmer.
An attempt was made to download a program containing instructions supported only by later unit versions or a CPU Unit to a previous unit version.
An attempt was to download a PLC Setup containing settings supported only by later unit ver­sions or a CPU Unit to a previous unit version.
An attempt was made to upload a program containing instructions supported only by higher ver­sions of CX-Programmer to a lower version.
Check the program or change to a CPU Unit with a later unit version.
Check the settings in the PLC Setup or change to a CPU Unit with a later unit version.
New instructions cannot be uploaded to lower versions of CX-Programmer. Use a higher version of CX-Programmer.
xxiv
xxv
TABLE OF CONTENTS
PRECAUTIONS..............................................................................................XXXVII
1 Intended Audience......................................................................................................................................... xxxviii
2 General Precautions ....................................................................................................................................... xxxviii
3 Safety Precautions .........................................................................................................................................xxxviii
4 Application Precautions................................................................................................................................... xxxix
SECTION 1
INTRODUCTION........................................................................................................1
1-1 What Is the CX-Simulator? ...................................................................................................................................... 2
1-2 Features .................................................................................................................................................................... 9
1-3 Convenient Functions............................................................................................................................................. 13
1-4 Applicable PLC models and Computers ................................................................................................................ 14
1-5 Operation List Arranged by Purpose...................................................................................................................... 16
1-6 Comparison of CX-Simulator and SYSMAC CS/CJ-series PLCs ......................................................................... 18
SECTION 2
SETUP ........................................................................................................................ 25
2-1 Installing and Uninstalling the Software ................................................................................................................ 26
SECTION 3
BASIC OPERATION ............................................................................................... 37
3-1 Starting Methods for the CX-Simulator ................................................................................................................. 38
3-2 Starting and Going Online from the CX-Programmer ........................................................................................... 39
3-3 Starting and Exiting from CX-Simulator Menus.................................................................................................... 42
3-4 Outline of Operation Procedure ............................................................................................................................. 44
3-5 Creating a New PLC............................................................................................................................................... 48
3-6 Each Part of the Windows ...................................................................................................................................... 58
3-7 System Status Setting Window .............................................................................................................................. 60
3-8 Connecting to the CX-Programmer Version 2.1 or Lower .................................................................................... 71
3-9 Debug Console Window ........................................................................................................................................ 76
SECTION 4
DEBUGGING PROGRAMS.................................................................................. 101
4-1 Debugging Using the CX-Programmer................................................................................................................ 102
4-2 Debugging Operation ........................................................................................................................................... 103
4-3 Step Run and Break.............................................................................................................................................. 107
4-4 Task Debugging ................................................................................................................................................... 115
SECTION 5
DEBUGGING SERIAL COMMUNICATIONS.................................................. 119
5-1 Outline of Serial Communications ....................................................................................................................... 120
5-2 Serial Communications Settings........................................................................................................................... 123
5-3 Serial Communications Connection ..................................................................................................................... 127
5-4 Connecting PT via NT Link ................................................................................................................................. 130
xxvi
5-5 Examples of Serial Communications Debugging................................................................................................. 131
SECTION 6
DEBUGGING NETWORK COMMUNICATIONS ........................................... 135
6-1 Outline of Network Communications................................................................................................................... 136
6-2 Network Communications Settings...................................................................................................................... 139
6-3 Network Connection............................................................................................................................................. 142
6-4 Example of Debugging Network Communications.............................................................................................. 143
6-5 Available FINS Commands.................................................................................................................................. 147
SECTION 7
CONNECTION WITH APPLICATION PROGRAMS ..................................... 149
7-1 Outline of Connection .......................................................................................................................................... 150
7-2 Connection with Application Programs ............................................................................................................... 151
SECTION 8
DEBUGGING USING VIRTUAL EXTERNAL INPUTS.................................. 157
8-1 Outline of Virtual External Input Function .......................................................................................................... 158
8-2 Debugging Using Virtual External Inputs............................................................................................................ 159
8-3 Generating Virtual External Inputs ...................................................................................................................... 162
8-4 Running by Virtual External Inputs ..................................................................................................................... 176
8-5 Checking the Result.............................................................................................................................................. 184
SECTION 9
CPU UNIT OPERATION ...................................................................................... 187
9-1 CPU Unit Operation ............................................................................................................................................. 188
9-2 Cycle Time and Time ........................................................................................................................................... 192
9-3 I/O Memory Allocation ........................................................................................................................................ 200
9-4 Other Functions .................................................................................................................................................... 237
SECTION 10
TROUBLESHOOTING.......................................................................................... 239
10-1 Error Processing ................................................................................................................................................. 240
10-2 Alarms and Remedies......................................................................................................................................... 245
10-3 Other Tips for Troubleshooting.......................................................................................................................... 247
APPENDIX
HOW TO USE DATA TRACE RECORDING TOOL ....................................... 251
REVISION HISTORY............................................................................................ 263
xxvii

About this Manual:

This manual describes operating procedures of the CX-Simulator for SYSMAC CS/CJ/CP/NSJ-series Programmable Controllers (PLCs).
Please read this manual and all related manuals listed in the following table and be sure you understand the information provided before attempting to operate the CX-Simulator.
Name Cat. No. Use Contents
SYSMAC WS02-SIMC1-E CX-Simulator Operation Manual (this manual)
CX-One Setup Manual W463 To install software from
CX-Programmer Ver. 9 Operation Manual
CX-Programmer Ver. 9 Operation Manual Function Blocks/Structured Texts
CXONE-AL@@C-V4/ AL@@D-V4 CX-Integrator Operation Manual
CJ Series CJ2 CPU Unit Hardware User’s Manual CJ2H-CPU6@-EIP, CJ2H-CPU6@
CJ Series CJ2 CPU Unit Software User’s Manual CJ2H-CPU6@-EIP, CJ2H-CPU6@
SYSMAC CS Series CS1G/H-CPU@@-EV1, CS1G/H-CPU@@H Programmable Controllers Operation Manual
SYSMAC CJ Series CJ1H-CPU@@H-R, CJ1G-CPU@@, CJ1G/H-CPU@@H, CJ1M-CPU@@ Programmable Controllers Operation Manual
SYSMAC CS/CJ/NSJ Series CS1G/H-CPU@@-EV1, CS1G/H-CPU@@H, CS1D-CPU@@H, CS1D-CPU@@S, CJ1H-CPU@@H-R, CJ1G-CPU@@, CJ1G/H-CPU@@H, CJ1M-CPU@@, NSJ@-@@@@(B)-G5D, NSJ@-@@@@(B)-M3D Programmable Controllers Programming Manual
SYSMAC CS/CJ/NSJ Series CS1G/H-CPU@@-EV1, CS1G/H-CPU@@H, CS1D-CPU@@H, CS1D-CPU@@S, CJ2H-CPU6@-EIP, CJ2H-CPU6@, CJ1H-CPU@@H-R, CJ1G-CPU@@, CJ1G/H-CPU@@H, CJ1M-CPU@@, NSJ@-@@@@(B)-G5D, NSJ@-@@@@(B)-M3D Programmable Controllers Instructions Reference Manual
W366 To learn how to operate
W446
W447
W464 To make network settings
W472 --- Provides the following information on the CJ2 CPU Units:
W473 --- Provides the following information on the CJ2 CPU Units:
W339 To learn the basic specifi-
W393 To learn the basic specifi-
W394 To learn the functions of
W474 To learn details of the
CX-Simulator for Windows personal computers. To use simulation functions on the CX-Programmer, with CX-Programmer Ver.
6.1 or higher.
CX-One.
To learn how to operate CX- Programmer for Win­dows personal computers.
and monitor.
cations of the CS-series PLCs, including a basic outline, settings, installa­tion, and maintenance.
cations of the CJ-series PLCs, including a basic outline, settings, installa­tion, and maintenance.
the CS/CJ-series PLCs.
instruction language.
Describes the operation of the CX-Simulator.
Use this together with the CX-Programmer Operation Manual (W446), CS Series and CJ Series Operation Manuals (CS Series: W339, CJ Series: W393), and CS/CJ Series Instruc­tions Reference Manual (W340).
Provides an outline of the CX-One FA integration software package, and describes the method for installing CX-One.
Describes the operation of the CX- Programmer.
For programming, use this together with the CJ2H Program-
mable Controllers Hardware User’s Manual (W472), the CJ2H Programmable Controllers Software User’s Manual (W473), and the Programmable Controllers Instructions Reference Manual (W474).
Describes the operation of the CX- Integrator.
Overview, system design, hardware specifications, hardware settings, installation, wiring, maintenance, and troubleshoot­ing.
Use this manual together with the CJ2 CPU Unit Software User’s Manual (W473).
Overview of CPU Unit operation, programming, software settings, CPU Unit functions, and system startup.
Use this manual together with the CJ2 CPU Unit Hardware User’s Manual (W472).
Describes the features, system configuration design, installa­tion, wiring, I/O memory allocation, and troubleshooting of the CS-series PLCs.
Use this together with the Programming Manual (W394).
Describes the features, system configuration design, installa­tion, wiring, I/O memory allocation, and troubleshooting of the CJ-series PLCs.
Use this together with the Programming Manual (W394).
Describes the programming, task functions, file memory func­tions, and other functions of the CS/CJ-series PLCs.
Describes the details of the instruction language.
For programming, use this together with the CS Series and CJ Series Operation Manuals (CS Series: W339, CJ Series: W393), and Programming Manual (W394).
xxviii
Name Cat. No. Use Contents
SYSMAC CS/CJ/CP/NSJ Series CS1G/H-CPU@@-EV1, CS1G/H-CPU@@H, CS1D-CPU@@H, CS1D-CPU@@S, CJ2H-CPU6@-EIP, CJ2H-CPU6@, CJ1H-CPU@@H-R, CJ1G-CPU@@, CJ1M-CPU@@, CJ1G-CPU@@P, CJ1G/H-CPU@@H, CS1W-SCU@@-V1, CS1W-SCB@@-V1, CJ1W-SCU@@-V1, CP1H-X@@@@-@, CP1H-XA@@@@-@, CP1H-Y@@@@-@, NSJ@-@@@@ (B)-G5D, NSJ@-@@@@(B)-M3D Communications Commands Refer­ence Manual
NSJ5-TQ@@(B)-G5D NSJ5-SQ@@(B)-G5D NSJ8-TV@@(B)-G5D NSJ10-TV@@(B)-G5D NS12-TS@@(B)-G5D
NSJ Series NSJ Controllers Operation Manual
CP1H-X@@@@-@, CP1H-XA@@@@-@, CP1H-Y@@@@-@, SYSMAC CP Series
CP1H CPU Unit Operation Manual
CP1L-M@@@@-@, CP1L-L@@@@-@, CP Series CP1L Operation Manual
CP1H-X@@@@-@, CP1H-XA@@@@-@, CP1H-Y@@@@-@, CP1L-M@@@@-@, CP1L-L@@@@-@ SYSMAC CP Series
CP1H/CP1L CPU Unit Programming Manual
W342 To learn about communi-
cations commands ad­dressed to CS/CJ/CP-series CPU Units and NSJ-series Controllers.
W452 To learn the basic specifi-
cations of the NSJ-series NSJ Controllers, including a basic outline, settings, installation, and mainte­nance.
W450 To learn the basic specifi-
cations of the CP-series CP1H CPU Units, includ­ing a basic outline, set­tings, installation, and maintenance.
W462 To learn the basic specifi-
cations of the CP-series CP1L CPU Units, including a basic outline, settings, installation, and mainte­nance.
W451 To learn about program-
ming CP-series CP1H/CP1L CPU Units.
Describes the following information.
C-mode commands
FINS commands
Note: Refer to this manual when sending C-mode or FINS
commands to the CPU Unit. This manual describes commands addressed to the CPU Unit without reference to the communications path. (Commands can be sent via the serial ports on the CPU Unit, ports on a Serial Communications Board or Unit, or ports on Communications Units.)
Describes the following information about the NSJ-series NSJ Controllers:
Overview and features
Designing the system configuration
Installation and wiring
I/O memory allocations
Troubleshooting and maintenance
Use this manual in combination with the following manuals: SYSMAC CS Series Operation Manual (W339), SYSMAC CJ Series Operation Manual (W393), SYSMAC CS/CJ Series Programming Manual (W394), and NS-V1/-V2 Series Setup Manual (V083)
Provides the following information on the CP Series CP1H CPU Unit:
• Overview/Features
• System configuration
• Mounting and wiring
• I/O memory allocation
• Troubleshooting Use this manual together with the CP1H Programmable Con- trollers Programming Manual (W451). Provides the following information on the CP Series CP1L CPU Unit:
• Overview/Features
• System configuration
• Mounting and wiring
• I/O memory allocation
• Troubleshooting Use this manual together with the CP1H Programmable Con- trollers Programming Manual (W451). Provides the following information on the CP Series CP1H/CP1L CPU Unit:
• Programming instructions
• Programming methods
• Tasks
WARNING
Failure to read and understand the information provided in this manual may result in personal injury or death, damage to the product, or product failure. Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given.
xxix
About this Manual, Continued
This manual contains the following sections.
Section 1 introduces the special features and functions of the CX-Simulator and a comparison between SYSMAC CS/CJ/CP/NSJ-series PLCs
Section 2 provides the information on how to setup the CX-Simulator.
Section 3 describes the basic operation of the CX-Simulator.
Section 4 describes how to debug user programs.
Section 5 describes how to debug Serial Communications functions.
Section 6 describes how to debug Network Communications functions.
Section 7 describes how to connect with application programs.
Section 8 provides information on how to debug using virtual external inputs.
Section 9 describes operations of the CPU Unit including cycle times and I/O Memory allocation.
Section 10 provides information on errors and alarms that occur during the operation along with the remedies.
Appendix provides information on how to use the Data Trace Recording Tool.
xxx
xxxi
Loading...
+ 275 hidden pages