Operating Modes Of The Cpu Module - Delta AH Series Operation Manual

Motion controller
Hide thumbs Also See for AH Series:
Table of Contents

Advertisement

A.3.2

Operating Modes of the CPU Module

Operating Modes
There are two operating modes. They can be used to control a user program and all tasks.
STOP mode: A program is not executed under this mode. Users can download a module table, initialize CPU
configuration and other setting, download a program, check a program, and force a bit ON/OFF.
RUN mode: A program is executed under this mode. Users can not download a module table, and initialize CPU
configuration and other setting.
Statuses and Operation under Different Operating Mode
The STOP mode and the RUN mode are modes for a CPU module. The statuses and operation under these modes are
listed below.
 Basic operation
CPU
Program
mode
The execution
STOP
of the program
stops.
The program is
RUN
executed.
 Relation between the operating modes and the tasks
Mode
STOP
The execution of the loop task stops.
 The tasks which have not been executed are in
the halt state.
 If a task is active, or the instruction TKON is
RUN
executed, the task is executed.
 If a task is not active, or the instruction TKOFF is
executed, the task is not executed.
 Relation between the change of the modes and the program memory
Change of the mode
STOP→RUN
RUN→STOP
A pp e nd ix 3 . O p era t in g Pr i nc i p l es of t he CP U M od u l e
I/O
refreshing
OFF (If users set the I/O module so
The I/O
that the final state of the external
refreshing is
output on the I/O module is retained,
executed.
the final state of the external output
on the I/O module will be retained.)
The I/O
The external output is controlled by
refreshing is
the program.
executed.
Loop task
Non-latched area
Whether the data is cleared or retained depends on user's
setting.
The data is retained.
External output
Interrupt task
The execution of the interrupt task stops.
If the condition of the interrupt is met, the
task is executed.
Program memory
Non-latched
Latched
area
area
The data in the program
memories are retained.
The program memories
are controlled by the
program.
Latched area
The data is retained.
The data is retained.
A - 9
A3_

Advertisement

Table of Contents
loading

Table of Contents