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
Содержание CP1H CPU UNITS - PROGRAMMING 05-2007
Страница 2: ......
Страница 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Страница 4: ...iv...
Страница 10: ...x...
Страница 18: ...xviii...
Страница 22: ...xxii...
Страница 34: ...xxxiv Conformance to EC Directives 6...
Страница 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Страница 370: ...336 Analog I O XA CPU Units Section 5 5...
Страница 552: ...518 Trouble Shooting Section 8 7...
Страница 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Страница 598: ...564 Sample Application Section 9 12...
Страница 642: ...608 Standard Models Appendix A...
Страница 643: ...609 Appendix B Dimensions Diagrams X XA and Y CPU Units 90 100 110 140 150 8 85 Four 4 5 dia holes...
Страница 652: ...618 Dimensions Diagrams Appendix B...
Страница 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Страница 776: ...742 PLC Setup Appendix G...
Страница 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Страница 786: ...752 Revision History...