Omron CJ2 CPU UNIT SOFTWARE User Manual page 608

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Appendices
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
---
Program
and
Address Where
A299
Program
Stopped
A300
---
Error Log Pointer
A301
---
Current EM
Bank---
A302
A302.00
CPU Bus Unit
to
Initializing Flags
A302.15
A-124
Function
ON when there is not 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.
ON: No END
OFF: Normal condition
ON when a task error has occurred. The following conditions gen-
erate a task error.
There is not even one regular task that is executable (started).
There is not a program allocated to the task.
ON: Error
OFF: Normal
The allowed value for Differentiation Flags which correspond to
differentiation instructions has been exceeded. CPU Unit opera-
tion will stop and the ERR/ALM indicator will light when this flag
goes ON.
ON: Error
OFF: Normal
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: Error
OFF: Normal
ON when the last address in UM (User Memory) has been
exceeded. CPU Unit operation will stop and the ERR/ALM indica-
tor will light when this flag goes ON.
ON: Error
OFF: Normal
These words contain the 8-digit binary program address of the
instruction where program execution was stopped due to a pro-
gram error.
When an error occurs, the Error Log Pointer is incremented by 1
to indicate the location where the next error record will be
recorded as an offset from the beginning of the Error Log Area
(A100 to A199).
00 to 14 hexadecimal
The Error Log Pointer can be cleared to 00 by turning A500.14
(the Error Log Reset Bit) from OFF to 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.
This word contains the current EM bank number in 4-digit hexa-
decimal. The current bank number can be changed with the
EMBC(281) instruction.
0000 to 0018 hexadecimal
These flags are ON while the corresponding CPU Bus Unit is ini-
tializing after its CPU Bus Unit Restart Bit (A501.00 to A501.15) is
turned from OFF to ON or the power is turned ON.
Bits 00 to 15 correspond to unit numbers 0 to 15.
Use these flags in the program to prevent the CPU Bus Unit's
refresh data from being used while the Unit is initializing.
IORF(097) and FIORF(225) (CJ2 and CJ1H-R CPU Units only)
cannot be executed while an CPU Bus Unit is initializing.
OFF: Not initializing
ON: Initializing
(Reset to 0 automatically after initialization.)
These bits are turned OFF automatically when initialization is
completed.
Status
Write timing/
Status at
after mode
Related flags, set-
startup
change
tings
Cleared
Cleared
The task number
where the error is
stored in A294 and
the program
address is stored in
A298 and A299.
Cleared
Cleared
(A294 contains the
task number of the
task where pro-
gram execution was
stopped.)
Retained
Retained
Refreshed when
error occurs.
A500.14
Cleared
Cleared
---
Retained
Cleared
Written during ini-
tialization
A501.00
CJ2 CPU Unit Software User's Manual

Advertisement

Table of Contents
loading

Table of Contents