A S S e r i e s O p e r a t i o n M a n u a l11 - 41111.2.2 Status and Operation under Different Operating ModesThe following table lists the status and operation states for RUN and STOP modes. Basic operationCPUmode Program I/Orefreshing External outputProgram memoryNon-latchedareaLatchedareaSTOPThe executionof the programstops.I/O refreshingexecutes.OFF. If you set the I/Omodule so that the finalstate of the external outputon the I/O module isretained, the final state ofthe external output on theI/O module is retained.The data in the programmemories is retained.RUN The programexecutes.I/O refreshingexecutes.The program controls theexternal output.The program controls theprogram memories. Relationship between the operating modes and tasksMode Loop task Interrupt taskSTOP Execution of a loop tasks stops. Execution of an interrupt taskstops.RUN The tasks that have not been executed are in theHALT state. If a task is active, or the instruction TKON isexecuted, the task executes. If a task is not active, or the instruction TKOFFexecutes, the task does not execute.If the condition of the interrupt ismet, the interrupt task executes. Relationship between changing modes and the program memoryChange of the mode Non-latched area Latched areaSTOP→RUN Data is cleared or retained dependingon your setting. The data is retained.RUN→STOP The data is retained. The data is retained.