641
Auxiliary Area Allocations by Address
Appendix D
A100
to
A199
All
Error Log
Area
When an error has occurred, the
error code, error contents, and
error’s time and date are stored in
the Error Log Area. Information on
the 20 most recent errors can be
stored.
Each error record occupies 5 words;
the function of these 5 words is as
follows:
1) Error code (bits 0 to 15)
2) Error contents (bits 0 to 15)
3) Minutes (bits 8 to 15),
Seconds (bits 0 to 7)
4) Day of month (bits 8 to 15),
Hours (bits 0 to 7)
5) Year (bits 8 to 15),
Month (bits 0 to 7)
Errors generated by FAL(006) and
FALS(007) will also be stored in this
Error Log.
The Error Log Area can be reset
from the CX-Programmer.
If the Error Log Area is full (20
records) and another error occurs,
the oldest record in A100 to A104 will
be cleared, the other 19 records are
shifted down, and the new record is
stored in A195 to A199.
Error code
Error con-
tents:
Address of
Aux. Area
word with
details or
0000.
Seconds:
00 to 59, BCD
Minutes:
00 to 59, BCD
Hours:
00 to 23, BCD
Day of month:
01 to 31, BCD
Year:
00 to 99, BCD
Retained
Retained Refreshed
when error
occurs.
A500.14
A300
A400
A200
A200.11 First Cycle
Flag
ON for one cycle after PLC operation
begins (after the mode is switched
from PROGRAM to RUN or MONI-
TOR, for example).
ON for the
first cycle
---
---
---
---
A200.12 Step Flag
ON for one cycle when step execu-
tion is started with STEP(008). This
flag can be used for initialization pro-
cessing at the beginning of a step.
ON for the
first cycle
after execu-
tion of
STEP(008).
Cleared
---
---
---
A200.14 Task Started
Flag
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 A200.15 is that this flag also
turns ON when the task switches
from WAIT to RUN status.
ON: ON for
first cycle
(including
transitions
from WAIT
and IN)
OFF: Other
Cleared
Cleared
---
---
A20015
First Task
Startup Flag
ON when a task is executed for the
first time. This flag can be used to
check whether the current task is
being executed for the first time so
that initialization processing can be
performed if necessary.
ON: First exe-
cution
OFF: Not exe-
cutable for the
first time or
not being exe-
cuted.
Cleared
---
---
---
A201
A201.10 Online Editing
Wait Flag
ON when an online editing process is
waiting.
(If another online editing command is
received while waiting, the other
command won’t be recorded and an
error will occur.)
ON: Waiting
for online edit-
ing
OFF: Not
waiting for
online editing
Cleared
Cleared
---
A527
A201.11 Online Editing
Flag
ON when an online editing process is
being executed.
ON: Online
editing in
progress
OFF: Online
editing not in
progress
Cleared
Cleared
---
A527
Address
Name
Function
Settings
Status
after
mode
change
Status
at star-
tup
Write
timing
Related
flags, set-
tings
Words
Bits
Содержание 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...