![background image](http://html1.mh-extra.com/html/omron/cp1h-cpu-units-programming-05-2007/cp1h-cpu-units-programming-05-2007_operation-manual_742081658.webp)
624
Auxiliary Area Allocations by Function
Appendix C
Special I/O Unit Flags/Bits
System Flags
Name
Address
Description
Access
Updated
Special I/O Unit Initializa-
tion Flags
A330.00 to
A335.15
These flags are ON while the corresponding Special I/O
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
Read-only
Special I/O Unit Restart Bits A502.00 to
A507.15
Turn the corresponding bit ON to restart (initialize) the
Special I/O Unit with the corresponding unit number. Bits
A502.00 to A507.15 correspond to unit numbers 0 to 95.
Read/write
Name
Address
Description
Access
Updated
First Cycle Flag
A200.11
ON for one cycle after PLC operation begins (after the
mode is switched from PROGRAM to RUN or MONITOR,
for example).
Read-only
Initial Task Execution Flag
A200.15
ON when a task is executed for the first time, i.e., when it
changes from INI to RUN status.
Read-only
Task Started Flag
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.
Read-only
Maximum Cycle Time
A262 to
A263
These words contain the maximum cycle time since the
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)
Read-only
Present Cycle Time
A264 to
A265
These words contain the present cycle time in 8-digit
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)
Read-only
10-ms Incrementing Free
Running Timer
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.
Read-only
100-ms Incrementing Free
Running Timer
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.
Read-only
Summary of Contents for CP1H CPU UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...