Omron CP1H CPU Operation Manual page 684

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

Auxiliary Area Allocations by Address
Address
Name
Words
Bits
A295
A295.11 No END Error
Flag
A295.12 Task Error
Flag
A295.13 Differentiation
Overflow Error
Flag
A295.14 Illegal Instruc-
tion Error Flag
A295.15 UM Overflow
Error Flag
A298
All
Program
Address
Where Pro-
gram Stopped
(Rightmost 4
digits)
A299
All
Program
Address
Where Pro-
gram Stopped
(Leftmost 4
digits)
A300
All
Error Log
Pointer
650
Function
ON when there isn't an END(001)
instruction in each program within a
task.
CPU Unit operation will stop and the
ERR/ALM indicator will light when
this flag goes ON.
(The task number where the error
occurred will be stored in A294 and
the program address will be stored in
A298 and A299.)
ON when a task error has occurred.
The following conditions generate a
task error.
There isn't even one regular task that
is executable (started).
There isn't a program allocated to
the task.
(The task number where the error
occurred will be stored in A294 and
the program address will be stored in
A298 and A299.)
The allowed value for Differentiation
Flags which correspond to differenti-
ation instructions has been
exceeded. CPU Unit operation will
stop and the ERR/ALM indicator will
light when this flag goes ON.
(The task number where the error
occurred will be stored in A294 and
the program address will be stored in
A298 and A299.)
ON when a program that cannot be
executed has been stored. CPU Unit
operation will stop and the ERR/ALM
indicator will light when this flag goes
ON.
ON when the last address in UM
(User Memory) has been exceeded.
CPU Unit operation will stop and the
ERR/ALM indicator will light when
this flag goes ON.
These words contain the 8-digit
binary program address of the
instruction where program execution
was stopped due to a program error.
(A294 contains the task number of
the task where program execution
was stopped.)
When an error occurs, the Error Log
Pointer is incremented by 1 to indi-
cate the location where the next error
record will be recorded as an offset
from the beginning of the Error Log
Area (A100 to A199).
The Error Log Pointer can be cleared
to 00 by turning A500.14 (the Error
Log Reset Bit) ON.
When the Error Log Pointer has
reached 14 hex (20 decimal), the
next record is stored in A195 to A199
when the next error occurs.
Settings
Status
Status
after
at star-
mode
change
ON: No END
Cleared
Cleared
OFF: Normal
condition
ON: Error
Cleared
Cleared
OFF: Normal
ON: Error
Cleared
Cleared
OFF: Normal
ON: Error
Cleared
Cleared
OFF: Normal
ON: Error
Cleared
Cleared
OFF: Normal
Right 4 digits
Cleared
Cleared
of the pro-
gram address
Left 4 digits of
Cleared
Cleared
the program
address
00 to 14
Retained Retained Refreshed
hexadecimal
Appendix D
Write
Related
timing
flags, set-
tup
tings
---
A294,
A298/
A299
---
A294,
A298/
A299
---
A294,
A298/
A299
---
A294,
A298/
A299
---
A294,
A298/
A299
---
A294
---
A500.14
when error
occurs.

Advertisement

Table of Contents
loading

Table of Contents