Omron CP1E CPU UNIT SOFTWARE User Manual page 407

Cp1e cpu unit software
Table of Contents

Advertisement

Address
Name
Words
Bits
A100 to
Error Log Area
A199
A200
11
First Cycle Flag
12
Step Flag
14
Task Started Flag
15
First Task Startup Flag
A262
Maximum Cycle Time
and
A263
A264
Present Cycle Time
and
A265
CP1E CPU Unit Software User's Manual(W480)
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 fol-
lows:
First word: Error code (bits 0 to 15)
First word + 1: Error contents (bits 0 to
15)
First word + 2: Minutes (upper byte),
Seconds (lower byte)
First word + 3: Day of month (upper
byte), Hours (lower byte)
First word + 4: Year (upper byte),
Month (lower byte)
Note 1 The data will be unstable if the
capacitor becomes discharged.
2 Errors generated by FAL(006)
and FALS(007) will also be
stored in this Error Log.
3 The Error Log Area can be
reset from the CX-Program-
mer.
4 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.
5 In an E-type CPU Unit, the
data will be for 1:01.01 on Sun-
day January 1, 2001.
ON for one cycle after PLC operation
begins (after the mode is switched from
PROGRAM to RUN or MONITOR, for
example).
ON for one cycle when step execution
is started with STEP. This flag can be
used for initialization processing 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.
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 sta-
tus.
ON when a task is executed for the first
time. This flag can be used to check
whether the current task is being exe-
cuted for the first time so that initializa-
tion processing can be performed if
necessary.
These words contain the maximum
cycle time since the start of PLC opera-
tion. The cycle time is recorded in
32-bit binary. The upper digits are in
A263 and the lower digits are in A262.
These words contain the present cycle
time. The cycle time is recorded in
32-bit binary. The upper digits are in
A265 and the lower digits are in A264.
Status
after
Settings
mode
change
Error code
Retained
Retained
Error contents:
Address of Aux. Area
word with details or
0000 hex if there is
no related word.
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
Cleared
ON for the first cycle
Cleared
Cleared
after execution of
STEP.
ON: ON for first cycle
Cleared
Cleared
(including transitions
from WAIT and IN)
OFF: Other
ON: First execution
Cleared
Cleared
OFF: Not executable
or not being exe-
cuted for the first
time.
0 to FFFFFFFF:
0 to 429,496,729.5 ms
(0.1-ms units)
0 to FFFFFFFF:
0 to 429,496,729.5 ms
(0.1-ms units)
Appendices
Related
Status at
Write
flags,
startup
timing
settings
Refreshed
A500.14
when error
A300
occurs.
A400
A-53

Advertisement

Table of Contents
loading

Table of Contents