Generating Virtual External Inputs
Section 8-3
175
8-3-7 Ladder Program for Debugging
The CX-Simulator can run a ladder program for debugging on the program
area for debugging (UM2) besides the program area for applications (UM1),
dynamically creating input data for virtual external inputs.
The program area for debugging is independent of that for applications,
sharing the I/O memory area with for applications. Thus the outputs from the
program area for debugging can be used as inputs to that for applications.
Note
Refer to
9 CPU Unit Operation
for the operation of the program areas for
applications/debugging.
Restrictions when Using Program Area for Debugging
Not possible to overlap with
the program area for
applications.
Do not overlap the task number with that of ladder program for applications. If
the task number overlaps, the task in the UM2 will not be executed. Besides, if
the following items overlap, a program error will occur.
•
The jump number of JMP
•
The subroutine number of subroutine/macro instructions
•
The block number of block programming instructions
Not possible to use interrupt
tasks
Do not use interrupt tasks in the program area for debugging (UM2). The
interrupt tasks in the UM2 will not be executed.
Program Area for Debugging
and I/O Break Condition
Setting
The program area for debugging is not displayed on the [Step Run] window. If
the I/O break condition holds whole executing a ladder program on the pro-
gram area for debugging, the [Step Run] window displays as if an I/O break
occurred at the end of the ladder program for applications (END).
Ladder program for applications
Ladder program for debugging
I/O memory area
Top
Input
END
END
Output
Top
Summary of Contents for CX-Simulator 1.9
Page 1: ...Cat No W366 E1 10 CX Simulator Ver 1 9 SYSMAC WS02 SIMC1 E OPERATION MANUAL...
Page 2: ......
Page 3: ...SYSMAC WS02 SIMC1 E CX Simulator Ver 1 9 Operation Manual Revised December 2009...
Page 24: ...xxv...
Page 30: ...xxxi...
Page 35: ...xxxvi...
Page 39: ......
Page 63: ...Comparison of the CX Simulator and SYSMAC CS CJ series PLCs Section 1 6 24...
Page 75: ...Installing and Uninstalling the Software Section 2 1 36...
Page 157: ...Task Debugging Section 4 4 118...
Page 195: ...Connection with Application Programs Section 7 2 156...
Page 225: ...Checking the Result Section 8 5 186...
Page 277: ...Other Functions Section 9 4 238...
Page 289: ...Other Tips for Troubleshooting Section 10 3 250...
Page 304: ......
Page 305: ......