Omron CJ - PROGRAMMING MANUAL 12-2009 Programming Manual page 110

Programmable controllers
Table of Contents

Advertisement

Checking Programs
Address
A294
The type of task and the task number at the
point where operation stopped will be stored
here if operation stops due to a program error.
FFFF Hex will be stored if there are no active
cyclic tasks in a cycle, i.e., if there are no cyclic
tasks to be executed.
A298/A299
The program address at the point where opera-
tion stopped will be stored here in binary if
operation stops due to a program error.
If the END(001) instruction is missing (A29511
will be ON), the address where END(001) was
expected will be stored.
If there is a task execution error (A29512 will be
ON), FFFFFFFF Hex will be stored in A298/
A299.
70
address will be stored in A298/A299. The cause of the program error can be
determined from this information.
Description
Note If the Error Flag or Access Error Flag turns ON, it will be treated as a program
error and it can be used to stop the CPU from running. Specify operation for
program errors in the PLC Setup.
Stored Data
Cyclic task: 0000 to 001F Hex (cyclic tasks 0 to 31)
Interrupt task: 8000 to 80FF Hex (interrupt tasks 0 to 255)
A298: Rightmost portion of program address
A299: Leftmost portion of program address
Section 2-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents