Omron CJ - 09-2009 Operation Manual page 441

Programmable controllers
Table of Contents

Advertisement

Auxiliary Area
CPU Bus Unit Flags/Bits
Name
CPU Bus Unit Initialization
Flags
CPU Bus Unit Restart Bits
Special I/O Unit Flags/Bits
Name
Special I/O Unit Initialization
Flags
Special I/O Unit Restart Bits
Flags for Programming
Name
First Cycle Flag
Initial Task Execution Flag
Task Started Flag
(Not supported by CJ1@-
CPU@@ CPU Units.)
10-ms Incrementing Free
Running Timer
(Unit versions 3.0 or later)
Address
A30200 to
These flags correspond to CPU Bus Units 0 to 15. A flag will
A30215
be ON while the corresponding Unit is initializing after the
power is turned ON or the Unit's Restart Bit (in A501) is
turned ON.
A50100 to
These bits correspond to CPU Bus Units 0 to 15. Turn a bit
A50115
from OFF to ON to restart the corresponding Unit.
Address
A33000 to
These flags correspond to Special I/O Units 0 to 95. A flag
A33515
will be ON while the corresponding Unit is initializing after
the power is turned ON or the Unit's Restart Bit is turned
ON. (Restart Bits A50200 to A50715 correspond to Units 0
to 95.)
A50200 to
These bits correspond to Special I/O Units 0 to 95. Turn a bit
A50715
from OFF to ON to restart the corresponding Unit.
Address
A20011
This flag is turned ON for one cycle when program execution
starts (the operating mode is switched from PROGRAM to
RUN/MONITOR).
A20015
When a task switches from INI to RUN status for the first
time, this flag will be turned ON within the task for one cycle
only.
A20014
When a task switches from WAIT or INI to RUN status, this
flag will be turned ON within the task for one cycle only.
The only difference between this flag and A20015 is that this
flag also turns ON when the task switches from WAIT to
RUN status.
A000
This word contains the system timer used after the power is
turned ON.
0000 hex is set when the power is turned ON and this value
is automatically incremented by 1 every 10 ms. The value
returns to 0000 hex after reaching FFFF hex (655,350 ms),
and then continues to be automatically incremented by 1
every 10 ms.
Note: The timer will continue to be incremented when the
operating mode is switched to RUN mode.
Example: The interval can be counted between processing
A and processing B without requiring timer
instructions. This is achieved by calculating the
difference between the value in A000 for process-
ing A and the value in A000 for processing B. The
interval is counted in 10 ms units.
Description
Description
Description
Section 9-11
Access
Read-only
Read/write
Access
Read-only
Read/write
Access
Read-only
Read-only
Read-only
Read-only
393

Advertisement

Table of Contents
loading

Table of Contents