Omron CP1L-EL20DR-D Operation Manual page 734

Sysmac cp series cp1l-el/em cpu unit
Table of Contents

Advertisement

Auxiliary Area Allocations by Address
Address
Name
Words
Bits
A99
14
IR/DR Opera-
tion between
Tasks
Retained
15
Timer/Counter
PV Refresh
Mode Flag
A100
All
Error Log
to
Area
A199
A200
11
First Cycle
Flag
12
Step Flag
14
Task Started
Flag
15
First Task
Startup Flag
700
Function
ON when index and data registers
are shared between all tasks.
OFF when separate index and data
registers are being used in each
task.
Indicates whether the CPU Unit is
operating in BCD mode or binary
mode.
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.
Settings
Status
Status
after
at star-
mode
change
OFF: Inde-
Retained Retained
pendent
ON: Shared
(default)
OFF: BCD
Retained Retained
mode
ON: Binary
mode
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
Month:
01 to 12, 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
executable for
the first time
or not being
executed.
Appendix D
Write
Related
timing
flags, set-
tup
tings
---
---
A500.14
when error
A300
occurs.
A400
---
---
---
---
---
---
---
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents