Omron CP1H CPU Operation Manual page 675

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

Auxiliary Area Allocations by Address
Address
Name
Words
Bits
A100
All
Error Log
to
Area
A199
A200
A200.11 First Cycle
Flag
A200.12 Step Flag
A200.14 Task Started
Flag
A20015
First Task
Startup Flag
A201
A201.10 Online Editing
Wait Flag
A201.11 Online Editing
Flag
Function
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.
ON for one cycle after PLC operation
begins (after the mode is switched
from PROGRAM to RUN or MONI-
TOR, for example).
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.
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 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 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 when an online editing process is
being executed.
Settings
Status
Status
after
at star-
mode
change
Error code
Retained Retained Refreshed
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
ON for the
---
---
first cycle
ON for the
Cleared
---
first cycle
after execu-
tion of
STEP(008).
ON: ON for
Cleared
Cleared
first cycle
(including
transitions
from WAIT
and IN)
OFF: Other
ON: First exe-
Cleared
---
cution
OFF: Not exe-
cutable for the
first time or
not being exe-
cuted.
ON: Waiting
Cleared
Cleared
for online edit-
ing
OFF: Not
waiting for
online editing
ON: Online
Cleared
Cleared
editing in
progress
OFF: Online
editing not in
progress
Appendix D
Write
Related
timing
flags, set-
tup
tings
A500.14
when error
A300
occurs.
A400
---
---
---
---
---
---
---
---
---
A527
---
A527
641

Advertisement

Table of Contents
loading

Table of Contents