Simulating System Errors - Omron CP1H-X40D Operation Manual

Cpu unit sysmac cp series
Hide thumbs Also See for CP1H-X40D:
Table of Contents

Advertisement

Failure Diagnosis Functions
6-7-3

Simulating System Errors

1,2,3...
Auxiliary Area Flags and Words
Name
Address
Error Code
A400
FAL Error Flag
A402.15
FALS Error Flag
A401.06
Executed FAL Num-
A360 to
ber Flags
A391
Error Log Area
A100 to
A199
Error Log Pointer
A300
Error Log Pointer
A500.14
Reset Bit
FPD Teaching Bit
A598.00
FAL(006) and FALS(007) can be used to intentionally create fatal and non-
fatal system errors. This can be used in system debugging to test display
messages on Programmable Terminals (PTs) or other operator interfaces.
Use the following procedure.
1. Set the FAL or FALS number to use for simulation in A529. A529 is used
when simulating errors for both FAL(006) and FALS(007).
2. Set the FAL or FALS number to use for simulation as the first operand of
FAL(006) or FALS(007).
3. Set the error code and error to be simulated as the second operand (two
words) of FAL(006) or FALS(007). Indicate a nonfatal error for FAL(006)
and a fatal error for FALS(007).
To simulate more than one system error, use more than one FAL(006) or
FALS(007) instruction with the same value in A529 and different values for the
second operand.
Operation
When an error occurs, the error code is stored in
A400.
Turns ON when FAL(006) is executed.
Turns ON when FALS(007) is executed.
The corresponding flag turns ON when an
FAL(006) error occurs.
The Error Log Area contains information on the
most recent 20 errors.
When an error occurs, the Error Log Pointer is
incremented by 1 to indicate where the next error
record will be recorded as an offset from the
beginning of the Error Log Area (A100).
Turn this bit ON to reset the Error Log Pointer
(A300) to 00.
Turn this bit ON when you want the monitoring
time to be set automatically when FPD(269) is
executed.
Section 6-7
385

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cp1h-xa40dCp1h-y20dt-dCp1h

Table of Contents