391
Failure Diagnosis Functions
Section 6-8
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.
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
6-8-3
Simulating System Errors
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).
Name
Address
Operation
Error Code
A400
When an error occurs, the error code is stored in
A400.
FAL Error Flag
A402.15
Turns ON when FAL(006) is executed.
FALS Error Flag
A401.06
Turns ON when FALS(007) is executed.
Executed FAL Num-
ber Flags
A360 to
A391
The corresponding flag turns ON when an
FAL(006) error occurs.
Error Log Area
A100 to
A199
The Error Log Area contains information on the
most recent 20 errors.
Error Log Pointer
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).
Error Log Pointer
Reset Bit
A500.14
Turn this bit ON to reset the Error Log Pointer
(A300) to 00.
FPD Teaching Bit
A598.00
Turn this bit ON when you want the monitoring
time to be set automatically when FPD(269) is
executed.
C (Diagnostic output)
Carry Flag
(ON for timeout)
Control data
(FAL 004, bit address output for failure)
Monitoring time (0.1-s units): 10 s
First register word of diagnostics output
FPD
#0004
&100
D01000
Error-processing block
FPD(269)
execution condition A
Logic diagnosis
execution condition B
Содержание CP1L - 12-2007
Страница 3: ...iv...
Страница 9: ...x...
Страница 13: ...xiv TABLE OF CONTENTS...
Страница 21: ...xxii...
Страница 33: ...xxxiv Conformance to EC Directives 6...
Страница 65: ...32 Function Blocks Section 1 5...
Страница 428: ...395 Clock Section 6 9...
Страница 429: ...396 Clock Section 6 9...
Страница 523: ...488 Troubleshooting Unit Errors Section 9 4...
Страница 531: ...496 Replacing User serviceable Parts Section 10 2...
Страница 563: ...528 Auxiliary Area Allocations by Function Appendix C...
Страница 611: ...576 Auxiliary Area Allocations by Address Appendix D...
Страница 638: ...603 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 639: ...604 Connections to Serial Communications Option Boards Appendix F...
Страница 669: ...634 Index...
Страница 671: ...636 Revision History...