Address
Name
Words
Bits
A294
---
Task Number
when Program
Stopped
A295
A295.08
Instruction Pro-
cessing Error
Flag
A295.09
Indirect DM/EM
BCD Error Flag
A295.10
Illegal Access
Error Flag
CJ2 CPU Unit Software User's Manual
Function
This word contains the task number of the task that was being
executed when program execution was stopped because of a pro-
gram error.
Normal tasks: 0000 to 007F hex
(task 0 to 127)
Interrupt tasks: 8000 to 80FF hex
(task 0 to 255)
A298 and A299 contain the program address where program exe-
cution was stopped.
This flag and the Error Flag (ER) will be turned ON when an
instruction processing error has occurred and the PLC Setup has
been set to stop operation for an instruction error. CPU Unit oper-
ation will stop and the ERR/ALM indicator will light when this flag
goes ON.
ON: Error Flag ON
OFF: Error Flag OFF
This flag and the Access Error Flag (AER) will be turned ON when
an indirect DM/EM BCD error has occurred and the PLC Setup
has been set to stop operation an indirect DM/EM BCD error.
(This error occurs when the content of an indirectly addressed
DM or EM word is not BCD although BCD mode has been
selected.) CPU Unit operation will stop and the ERR/ALM indica-
tor will light when this flag goes ON.
ON: Not BCD
OFF: Normal
This flag and the Access Error Flag (AER) will be turned ON when
an illegal access error has occurred and the PLC Setup has been
set to stop operation an illegal access error. (This error occurs
when a region of memory is access illegally.) CPU Unit operation
will stop and the ERR/ALM indicator will light when this flag goes
ON.
The following operations are considered illegal access:
Reading/writing the system area
Reading/writing EM File Memory
Writing to a write-protected area
Indirect DM/EM BCD error (in BCD mode)
ON: Illegal access occurred
OFF: Normal condition
Appendices
Status
Write timing/
Status at
after mode
Related flags, set-
startup
change
tings
Cleared
Cleared
A298/A299
Cleared
Cleared
PLC Setup (Opera-
tion when instruc-
tion error has
occurred)
The task number
where the error is
stored in A294 and
the program
address is stored in
A298 and A299.
A-123
Need help?
Do you have a question about the CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?
Questions and answers
How do I retrieve fault codes from plc: CJ2M-CPU35