Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 97

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Using Tasks
Task Number when
Program Stopped (A294)
64
The type of task and the current task number when a task stops execution
due to a program error will be stored as follows:
Type
Cyclic task
0000 to 001F hex (correspond to task numbers 0 to 31)
Interrupt task 8000 to 80FF hex (correspond to interrupt task numbers 0 to 255)
This information makes it easier to determine where the fatal error occurred,
and it will be cleared when the fatal error is cleared. The program address
where task operation stopped is stored in A298 (rightmost bits of the program
address) and in A299 (leftmost bits of the program address).
Section 2-2
A294

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents