Omron SYSMAC CS/CJ Series Programming Manual page 320

Table of Contents

Advertisement

Diagnostic Functions
FPD(269)
execution
condition
A
Logic diagnosis
execution condition
B
Logic Diagnosis Function
FPD(269) determines which input bit is causing the diagnostic output to
remain OFF and outputs that bit's address. The output can be set to bit
address output (PLC memory address) or message output (ASCII).
• If bit address output is selected, the PLC memory address of the bit can
be transferred to an Index Register and the Index Register can be indi-
rectly addressed in later processing.
• If the message output is selected, the bit address will be registered in an
ASCII message that can be displayed on a Programming Device.
Carr y Flag
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 D01000 and D01001.
Auxiliary Area Flags and Words
Name
Address
Error Code
A400
FAL Error Flag
A40215
FALS Error Flag
A40106
Executed FAL Num-
A360 to
ber Flags
A391
Error Log Area
A100 to
A199
Error Log Pointer
A300
Error Log Pointer
A50014
Reset Bit
FPD Teaching Bit
A59800
First register word
(Diagnostics output destination)
Monitor ing time (0.1-s units): 10 s
Control data
(FAL 004, bit address output)
Error-processing block
C (Diagnostic output)
When an error occurs, its error code is stored in
A400.
ON when FAL(006) is executed.
ON when FALS(007) is executed.
The corresponding flag is turned ON when an
FAL(006) or FALS(007) 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
Operation
299

Advertisement

Table of Contents
loading

Table of Contents