Omron CP1H-CPU - 05-2006 Operation Manual page 541

Cp1h cpu unit
Table of Contents

Advertisement

Auxiliary Area Allocations by Function
Special I/O Unit Flags/Bits
Name
Special I/O Unit Initializa-
tion Flags
Special I/O Unit Restart Bits A502.00 to
System Flags
Name
First Cycle Flag
Initial Task Execution Flag
Task Started Flag
Maximum Cycle Time
Present Cycle Time
10-ms Incrementing Free
Running Timer
100-ms Incrementing Free
Running Timer
510
Address
A330.00 to
These flags are ON while the corresponding Special I/O
A335.15
Unit is initializing after its Special I/O Unit Restart Bit
(A502.00 to A507.15) is turned ON or the power is
turned ON.
The bits in these words correspond to unit numbers 0 to
95 as follows:
A330.00 to A330.15: Units 0 to 15
A331.00 to A331.15: Units 16 to 31
----
A335.00 to A335.15: Units 80 to 95
Turn the corresponding bit ON to restart (initialize) the
A507.15
Special I/O Unit with the corresponding unit number. Bits
A502.00 to A507.15 correspond to unit numbers 0 to 95.
Address
A200.11
ON for one cycle after PLC operation begins (after the
mode is switched from PROGRAM to RUN or MONITOR,
for example).
A200.15
ON when a task is executed for the first time, i.e., when it
changes from INI to RUN status.
A200.14
When a task switches from WAIT or INI to RUN status,
this flag will be turned ON within the task for one cycle
only.
Note The only difference between this flag and
A200.15 is that this flag also turns ON when the
task switches from WAIT to RUN status.
A262 to
These words contain the maximum cycle time since the
A263
start of PLC operation. The cycle time is recorded in 8-
digit hexadecimal with the leftmost 4 digits in A263 and
the rightmost 4 digits in A262.
0 to FFFFFFFF: 0 to 429,496,729.5 ms (0.1-ms units)
A264 to
These words contain the present cycle time in 8-digit
A265
hexadecimal with the leftmost 4 digits in A265 and the
rightmost 4 digits in A264.
0 to FFFFFFFF: 0 to 429,496,729.5 ms (0.1-ms units)
A0
This word contains the system timer used after the power
is turned ON.
A value of 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 automati-
cally 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 A0 for processing A and
the value in A0 for processing B. The interval is counted
in 10 ms units.
A1
This word contains the system timer used after the power
is turned ON.
A value of 0000 hex is set when the power is turned ON
and this value is automatically incremented by 1 every
100 ms. The value returns to 0000 hex after reaching
FFFF hex (6,553,500 ms), and then continues to be
automatically incremented by 1 every 100 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 A0 for processing A and
the value in A0 for processing B. The interval is counted
in 100 ms units.
Description
Description
Appendix C
Access
Updated
Read-only
Read/write
Access
Updated
Read-only
Read-only
Read-only
Read-only
Read-only
Read-only
Read-only

Advertisement

Table of Contents
loading

Table of Contents