Debugging Operation Section 4-2
99
4-2 Debugging Operation
The Ladder Engine has the execution mode for operating from the [CX-
Simulator Debug Console] as well as the modes in the CS/CJ-series PLC.
Changing the execution mode from the [CX-Simulator Debug Console] allows
more detailed debugging.
4-2-1 CS/CJ-series PLC's Modes and Execution Mode
The Ladder Engine of the CX-Simulator performs the same operation as the
actual PLC. Thus it has the actual PLC's modes (Program/Monitor/Run).
Relationship between Actual PLC's Modes and Execution Mode
The table below shows the relationship between the actual PLC's modes and
the Execution Mode
Mode
Execution Mode
Program
Mode
Monitor
mode
Run mode
Scan Run - ¡
Continuous Scan Run - ¡
Scan
Run
Continuous Run - ¡
Step Run - ¡
Step
Run
Continuous Step Run - ¡
Pause - ¡
Stop ¡ -
Scan Replay - ¡
Reset Follow the settings.
Same as the Moni-
tor mode.
Changed only by the
CX-Programmer
setting.
Note The Ladder Engine runs in the Monitor mode. A Run operation turns the
mode to Monitor even when the mode is changed to Run from the CX-
Programmer.
Mode Change from CX-Programmer
Changing the mode from the CX-Programmer will change the execution
mode of the Ladder Engine as follows.
· Program mode ® Monitor/Run mode : Continuous Run
· Monitor/Run mode ® Program mode : Stop mode
· Monitor mode ® Run mode : No change
· Run mode ® Monitor mode : No change
Execution mode and CX-Simulator Connection
Selecting [Disconnect] in the [Work CX-Simulator] window will automatically
turn the execution mode to the Stop mode. Changing the execution mode
from the [CX-Simulator Debug Console] or changing the mode from the CX-
Programmer can not be performed during Disconnect.
Change the execution mode after [Connect].
AUDIN - 8, avenue de la malle - 51370 Saint Brice Courcelles - Tel : 03.26.04.20.21 - Fax : 03.26.04.28.20 - Web : http: www.audin.fr - Email : info@audin.fr