Simulating System Errors - Omron CP1L Operation Manual

Sysmac cp series
Hide thumbs Also See for CP1L:
Table of Contents

Advertisement

Failure Diagnosis Functions
6-8-3

Simulating System Errors

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
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
Error Code
FAL Error Flag
FALS Error Flag
Executed FAL Num-
ber Flags
Error Log Area
Error Log Pointer
Error Log Pointer
Reset Bit
FPD Teaching Bit
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,2,3...
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
#0004
&100
D01000
Carry Flag
(ON for timeout)
Error-processing block
C (Diagnostic output)
Address
A400
When an error occurs, the error code is stored in
A400.
A402.15
Turns ON when FAL(006) is executed.
A401.06
Turns ON when FALS(007) is executed.
A360 to
The corresponding flag turns ON when an
A391
FAL(006) error occurs.
A100 to
The Error Log Area contains information on the
A199
most recent 20 errors.
A300
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).
A500.14
Turn this bit ON to reset the Error Log Pointer
(A300) to 00.
A598.00
Turn this bit ON when you want the monitoring
time to be set automatically when FPD(269) is
executed.
Section 6-8
Control data
(FAL 004, bit address output for failure)
Monitoring time (0.1-s units): 10 s
First register word of diagnostics output
Operation
415

Advertisement

Table of Contents
loading

Table of Contents