Omron CJ2 - 02-2010 User Manual page 589

Cj2 cpu unit software
Table of Contents

Advertisement

Address
Name
Words
Bits
A300
---
Error Log Pointer
A301
---
Current EM
Bank---
A302
A302.00
CPU Bus Unit
to
Initializing Flags
A302.15
A315
A315.12
Tag Memory
Error Flag (Non-
fatal Error)
(CJ2H-CPU6@-
EIP only.)
A315.13
Option Board
Error Flag
A315.15
Backup Memory
Error Flag
A330
A330.00
Special I/O Unit
to
to
Initializing Flags
A335
A335.15
CJ2 CPU Unit Software User's Manual
Function
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.
ON when an error occurs in the tag memory where network sym-
bols are stored.
Turns ON when the Option Board is removed while the power is
being supplied or an Option Board that is not supported is
mounted.
OFF: No error, ON: Error
ON when writing to the backup data area, source memory area,
or comment memory area in the internal flash memory fails.
This bit will turn OFF when writing is completed successfully.
These flags are ON while the corresponding Special I/O Unit is
initializing after its Special I/O Unit Restart Bit (A502.00 to
A507.15) is turned from OFF to ON or the power is turned ON.
The bits in these words correspond to unit numbers 0 to 95 as fol-
lows:
A330.00 to A330.15: Units 0 to 15
A331.00 to A331.15: Units 16 to 31
----
A335.00 to A335.15: Units 80 to 95
Use these flags in the program to prevent the Special I/O Unit's
refresh data from being used while the Unit is initializing. Also,
IORF(097) and FIORF(225) cannot be executed while a Special
I/O Unit is initializing.
OFF: Not initializing
ON: Initializing
(Reset to 0 automatically after initialization.)
These bits are turned OFF automatically when initialization is
completed.
Appendices
Status
Write timing/
Status at
after mode
Related flags, set-
startup
change
tings
Retained
Retained
Refreshed when
error occurs.
A500.14
Cleared
Cleared
---
Retained
Cleared
Written during ini-
tialization
A501.00
Retained
Cleared
---
Cleared
Cleared
• Written when
power is turned
ON.
• Refreshed each
cycle during over-
seeing process.
Retained
Cleared
---
Retained
Cleared
A502.00 to A507.15
A-113

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents