Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 976

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Failure Diagnosis Instructions
1,2,3...
0.01
Set N to 0 to clear errors.
0
M
#001F
Set M to the desired FAL
number (031(001F)).
Clearing All Non-fatal Errors
When CIO 0.02 is ON in the following example, FAL(006) will clear all of the
non-fatal errors, turn OFF the Executed FAL Number Flags (A360.01 to
A391.15), and turn OFF the FAL Error Flag (A402.15).
0.02
0
Set N to 0 to clear errors.
#FFFF
M
Set M to FFFF to clear all non-fatal errors
(both FAL(006) and system errors).
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.
0.03
Set N to 0 to clear errors.
0
Set M to 0000, another constant between
#0000
M
0200 and FFFE, or a word address to
clear the most serious non-fatal error.
(In this case, M is set to 0000.)
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 (0200) will be written to A400 if it is the most se-
rious 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 Error Flag (A402.07) and CPU Bus Unit Error Flag for
unit number 1 (A417.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
Device indicating that an error has occurred with CPU Bus Unit 1.
Section 3-28
943

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents