EasyManua.ls Logo

Omron CJ2 CPU UNIT SOFTWARE - Page 608

Omron CJ2 CPU UNIT SOFTWARE
670 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendices
A-124
CJ2 CPU Unit Software User’s Manual
A295 A295.11 No END Error
Flag
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
Cleared Cleared The task number
where the error is
stored in A294 and
the program
address is stored in
A298 and A299.
A295.12 Task Error Flag 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
A295.13 Differentiation
Overflow Error
Flag
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
A295.14 Illegal Instruc-
tion Error Flag
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
A295.15 UM Overflow
Error Flag
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
A298
and
A299
--- Program
Address Where
Program
Stopped
These words contain the 8-digit binary program address of the
instruction where program execution was stopped due to a pro-
gram error.
Cleared Cleared (A294 contains the
task number of the
task where pro-
gram execution was
stopped.)
A300 --- Error Log Pointer 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.
Retained Retained Refreshed when
error occurs.
A500.14
A301 --- Current EM
Bank---
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
Cleared Cleared ---
A302 A302.00
to
A302.15
CPU Bus Unit
Initializing Flags
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.
Retained Cleared Written during ini-
tialization
A501.00
Address
Name Function
Status
after mode
change
Status at
startup
Write timing/
Related flags, set-
tings
Words Bits

Table of Contents

Related product manuals