A-63
Appendices
CP2E CPU Unit Software User’s Manual(W614)
A-2 Auxiliary Area Allocations by Address
App
A-2-1 Read-only Words
A99 00 UM Read Protection
Status
Indicates whether all of the ladder
programs in the PLC are
read-protected.
ON: UM read-
protected.
OFF: UM not
read-protected
Retained Retained When
protection is
set or cleared
A100
to A199
--- 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:
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 Errors generated by FAL(006)
and FALS(007) will also be
stored in this Error Log.
2 The Error Log Area can be
reset from the CX-Program-
mer.
3 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.
4 In an Eîš…îš…-type CPU Unit, the
data will be for 1:01.01 on Sun-
day January 1, 2001.
Error code
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
Retained Retained Refreshed
when error
occurs.
A500.14
A300
A400
A200 11 First Cycle Flag ON for one cycle after PLC operation
begins (after the mode is switched from
PROGRAM to RUN or MONITOR, for
example).
ON for the first cycle ON Cleared ---
12 Step Flag 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.
ON for the first cycle
after execution of
STEP.
Cleared Cleared ---
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.
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: ON for first cycle
(including
transitions from
WAIT and IN)
OFF: Other
Cleared Cleared ---
15 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 execution
OFF: Not executable
or not being
executed for the
first time.
Cleared Cleared ---
Address
Name Function Settings
Status
after
mode
change
Status at
startup
Write
timing
Related
flags,
settings
Words Bits