Chapter 5 CPU Module
5-
ే్
3) Debug operation conditions
• Two or more of the following four operation conditions can be simultaneously specified.
Operation conditions Description
Executed by the one
(step operation)
Executes just an operation unit ( one step)
Executed to the
specified breakpoint.
Executes user program until the specified step (break point)
Executed according to
the device status
Execute user program until a device (bit or word) assigned is changed to the specified status
Executed by the
specified scan number.
Execute user program for specified number of scans
4) Operation method
(1) Execute the operation after the debug operation conditions have been set in the KGLWIN.
(2) In interrupt programs, each task can be specified to operation enable/disable.(For detailed operation method, refer to
the KGL WIN User’ s Manual Chapter 9.’ Debugging’
5.4.5 Operation mode change
1) Operation mode change methods
The following method is used to change the operation mode.
(1) Change by the mode-setting switch of CPU module.
(2) Change by the KGLWIN connected with the CPU module communications port.
(3) Change by the KGLWIN connected to the remote CPU module through Cnet
(4) Change by the STOP instruction, during program execution.
2) Operation mode change by the mode-setting switch of CPU module
The following shows the operation mode change by the mode-setting switch of CPU module.
Mode setting switch position Operation mode
RUN Local RUN
STOP Local STOP
STOP → PAU / REM Remote STOP
PAU / REM → RUN ∗ 1 Local RUN
RUN → PAU / REM * 2 Local PAUSE
PAU / REM → STOP Local STOP
REMARK
1) ∗ 1: If the operation mode changes from RUN mode to local RUN mode by the mode setting switch, the PLC
operates continuously without stopping.