Other Errors - Omron CJ2 CPU - REV 10-2010 User Manual

Cj2 cpu unit software
Table of Contents

Advertisement

• The final bank is specified for an indirect EM address in BIN mode and the specified word contains 8000 to
FFFF Hex (example: @EC_00001 contains #8000).
• The current bank is specified for an indirect EM address in BIN mode and the specified words contains 8000
to FFFF Hex (example: @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 operation will stop (fatal error)
and the "Illegal Access Error Flag" (A295.10) will turn ON if an illegal access error occurs and the
AER Flag turns ON.
Additional Information
The Access Error Flag (P_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 P_AER Flag after the entire user program has been executed will be monitored if the AER
Flag is monitored on the CX-Programmer.)

Other Errors

Illegal Instruction Errors
Illegal instruction errors indicate that an attempt was made to execute instruction data other than
that defined in the system. This error will normally not occur as long as the program is created with
CX-Programmer.
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 (A295.14) will turn ON.
User Program Area Overflow Errors
User program area overflow errors indicate that an attempt was made to execute instruction data
stored beyond the last address in the user program area defined as program storage area. This
error will normally not occur as long as the program is created with CX-Programmer.
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 (A295.15) will turn ON.
Additional Information
If the Error Flag (P_ER) or Illegal Access Error Flag (P_AER) turns ON, it will be treated as a
program error and it can be used to stop the CPU Unit from running. Specify operation for pro-
gram errors in the PLC Setup.
CJ2 CPU Unit Software User's Manual
5 Understanding Programming
5
5-103

Advertisement

Table of Contents
loading

Table of Contents