Checking Fatal Errors - Omron CJ - PROGRAMMING MANUAL 12-2009 Programming Manual

Programmable controllers
Table of Contents

Advertisement

Checking Programs
Other Errors
2-3-4

Checking Fatal Errors

• The final bank (example: C) is specified for an indirect EM address in
BIN mode and the specified word contains 8000 to FFFF Hex (exam-
ple: @EC_00001 contains #8000).
• The current bank (example: C) is specified for an indirect EM address
in BIN mode and the specified words contains 8000 to FFFF Hex (ex-
ample: @EC_00001 contains #8000)
• An IR register containing the internal memory address of a bit is used
as a word address or an IR containing the internal memory address of
a word is used as a bit address.
If Instruction Errors are set to Stop Operation in the PLC Setup, then opera-
tion will stop (fatal error) and the "Illegal Access Error Flag" (A29510) will turn
ON if an illegal access error occurs and the AER Flag turns ON.
Note The Access Error Flag (AER Flag) will not be cleared after a task is executed.
If Instruction Errors are set to Continue Operation, this Flag can be monitored
until just before the END(001) instruction to see if an illegal access error has
occurred in the task program. (The status of the final AER Flag after the entire
user program has been executed will be monitored if the AER Flag is moni-
tored on the CX-Programmer or a Programming Console.)
Illegal Instruction Errors
Illegal instruction errors indicate that an attempt was made to execute instruc-
tion data other than that defined in the system. This error will normally not
occur as long as the program is created on a CS/CJ-series Programming
Device (including Programming Consoles).
In the rare even that this error does occur, it will be treated as a program error,
operation will stop (fatal error), and the Illegal Instruction Flag (A29514) will
turn ON.
UM (User Memory) Overflow Errors
UM overflow errors indicate that an attempt was made to execute instruction
data stored beyond the last address in the user memory (UM) defined as pro-
gram storage area. This error will normally not occur as long as the program is
created on a CS/CJ-series Programming Device (including Programming
Consoles).
In the rare even that this error does occur, it will be treated as a program error,
operation will stop (fatal error), and the UM Overflow Flag (A29515) will turn
ON.
The following errors are fatal program errors and the CPU Unit will stop run-
ning if one of these occurs. When operation is stopped by a program error, the
task number where operation stopped will be stored in A294 and the program
Section 2-3
69

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents