Simulation - Omron CX-PROGRAMMER V9 - REV 12-2009 Operation Manual

Table of Contents

Advertisement

OMRON
In order to enter a comment against a ladder element, enter a comment statement following it - enter the
characters '//' followed by the text.
In order to enter a rung annotation (unattached comment), enter the instruction type 'A' followed by the text.
This type of comment must be at the end of a rung's mnemonics.

Simulation

Work Online to at Simulator
A program can be monitored or debugged by using a simulator rather than connecting to a PLC.
Use the following procedure to go on-line to a simulator.
1, 2, 3...
Simulator Function
When the CX-One Ver 1.1 (CX-Programmer Ver. 6.1 and CX-Simulator Ver. 1.6) is being used, the Step Run,
Continuous Step Run, Scan Run, and Set/Clear Break Point functions can be executed as CX-Programmer
functions (see notes 1 and 2). These functions can also be used with the ladder programs and ST programs
within function blocks.
Note 1: The CX-Simulator Ver. 1.6 (sold separately) must be installed in order to use these functions.
Note 2: I/O break conditions cannot be set.
Previously, it was necessary to start the CX-Simulator by selecting Work Online Simulator from the CX-
Programmer's PLC Menu, transfer the program to the CX-Simulator in the computer, and execute the debugging
operation from the CX-Simulator's debugging console. With the CX-Programmer Ver. 6.1, the debugging
operation can be executed from the CX-Programmer's toolbar.
The display can be made to scroll automatically during Step Run or Continuous Step Run operation. Also, the
break points can be displayed in a list and the display can be made to jump to a specified break point in the list.
Procedure for Simulation Function Operation
1, 2, 3...
Note: For details on the Step In and Step Out commands, refer to the CX-Programmer Ver. 6.1
1. Select the Program object in the project workspace to display the Ladder program in the
Diagram Workspace.
2. Select the Work Online Simulator button from the toolbar. The simulator starts and CX-
Programmer goes on-line. Transferring the program is started.
Note: When a program is on-line to a Simulator, the program will not be able to connect
to a PLC and other programs will not be able to go on-line to this Simulator.
Note: CX-Simulator must be installed to operate this function. CX-Simulator is
supported for CS/CJ/CP-series PLCs.
Select the Work Online Simulator button again to go offline with the Simulator.
Select the Exit Simulator option from the PLC menu to close the simulator.
1. Open the program that you want to debug.
2. Select View - Toolbars and select the Simulator Debug Option in the Toolbars Tab.
3. Select Work Online Simulator from the CX-Programmer's PLC Menu and transfer the
program to the CX-Simulator in the computer.
Note: Steps 2 and 3 can be done in the opposite order.
The following icons will be displayed in the toolbar:
Operation Manual: Function Blocks (catalog number W447). For details on the Step Run,
Continuous Step Run, Scan Run, and Set/Clear Break Point commands, refer to the CX-
Simulator Operation Manual (catalog number W366).
PART 1: CX-Programmer
CHAPTER 4 – Reference
CX-Programmer _Page 101

Advertisement

Table of Contents
loading

Table of Contents