Simulating System Errors - Omron CP1L CPU UNIT - 06-2007 Operation Manual

Cp1l cpu unit
Table of Contents

Advertisement

Failure Diagnosis Functions
6-8-3

Simulating System Errors

1,2,3...
If the message output is selected, an error message can be displayed on the
CX-Programmer at the same time as a FAL error is generated for time moni-
toring.
FPD(269)
execution condition A
Carry Flag
(ON for timeout)
Logic diagnosis
execution condition B
Time Monitoring
Monitors whether output C goes ON with 10 seconds after input A. If C
doesn't go ON within 10 seconds, a failure is detected and the Carry Flag
is turned ON. The Carry Flag executes the error-processing block. Also, an
FAL error (non-fatal error) with FAL number 004 is generated.
Logic Diagnosis
FPD(269) determines which input bit in block B is preventing output C from
going ON. That bit address is output to D1000 and D1001.
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).
FPD
Control data
#0004
(FAL 004, bit address output for failure)
&100
Monitoring time (0.1-s units): 10 s
D01000
First register word of diagnostics output
Error-processing block
C (Diagnostic output)
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-8
393

Advertisement

Table of Contents
loading

Table of Contents