Chapter 12 CPU Module Operating Principle
12-5
Relationship between the operating modes and tasks
Mode Loop task Interrupt task
STOP Execution of a loop tasks stops.
Execution of an interrupt task
stops.
RUN
The tasks that have not been executed are in the
HALT state.
If a task is active, or the instruction TKON is
executed, the task executes.
If a task is not active, or the instruction TKOFF
executes, the task does not execute.
If the condition of the interrupt is
met, the interrupt task executes.
Relationship between changing modes and the program memory
Change of the mode Non-latched area Latched area
STOP→RUN
Data is cleared or retained depending
on your setting.
The data is retained.
RUN→STOP The data is retained. The data is retained.