3. Instructions
1024
CS/CJ/NSJ Series Instructions Reference Manual (W474)
z Clearing the Most Serious Non-fatal Error
When CIO 0.03 is ON in the following example, FAL(006) will clear the most serious non-fatal error that
has occurred and reset the error code in A400. If the cleared error was originally generated by
FAL(006), the corresponding Executed FAL Number Flag and the FAL Error Flag (A402.15) will be
turned OFF.
z Generating a Non-fatal System Error
When CIO 0.00 is ON in the following example, FAL(006) will generate a CPU Bus Unit Setup Error for
unit number 1. In this case, dummy FAL number 10 is used and the corresponding value (000A hex) is
stored in A529.
1. The specified error code (0400) will be written to A400 if it is the most serious error.
2. The error code and the time/date that the error occurred will be written to the Error Log Area (A100
through A199).
3. The CPU Bus Unit Setup Error Flag (A402.03) and CPU Bus Unit Setup Error Flag for unit number 1
(A427.01) will be turned ON.
4. The CPU Unit’s ERR Indicator will flash.
5. A message (CPU BU ST ERR 01) will be displayed at the Programming Console indicating that an
error has occurred with CPU Bus Unit 1.
M
#0000
0.03
0
Set N to 0 to clear errors.
Set M to 0000, another constant between
0200 and FFFE, or a word address to
clear the most serious non-fatal error.
(In this case, M is set to 0000.)
MOV
#000A
A529
000AA529CH
S: D200
D201
0400
0001
0.00
FAL
10
D200
N
S
Error code: 0400 (CPU Bus Unit Setup Error)
Matching
values
Error unit number: 1