Step Run and Break
Section 4-3
110
Executing Only Specific Rung (Partial Execution)
When debugging only a specific rung, set a start point at the top of the rung
and a break point at the top of the next rung (shown by the hatching in the
diagram) to execute the specified range of the rung.
However, when repeating executing a specific rung continuously, reset a start
point, which is automatically cleared on execution, after stopping at the break
point.
Program
Address
Instruction Word
(Mnemonic)
Operand
000000
LD
000000
000001 AND
000001
000002 LD
000002
000003 AND
NOT 000003
000004 LD
NOT 000100
000005 AND
000101
000006 OR
LD
000007 AND
LD
000008 OUT
000200
000009
END
Block Run of Task
When the Ladder Engine is in stop (the Program mode), if a task is executed
from the pop-up menu after selecting the task in the [Task Control], Step Run
will be executed with a start point set at the top of the task and a break point at
the bottom of the task automatically. (While the program is being executed, an
interrupt will occur at the timings: when a task execution flag is set for a Cyclic
Task and when the interruption occurs for an interrupt task.)
Note
In the Block Run, the following operation will be performed after stopped by an
End instruction:
(1) For a cycle task, the next executable task is executed,
(2) For an interrupt task, a cyclic task in the next cycle is executed.
4-3-5 I/O Break Condition Setting
The setting expression of I/O break condition is a logic expression combining
multiple I/O break conditions. If an I/O break condition is set, the I/O break
pauses the program execution when the contents of the I/O memory area get
to satisfy the specified condition. Only one condition can be set for the setting
expression.
0000
00
0000
01
0000
02
0000
03
0002
00
0001
00
0001
01
END
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: ......