Omron CJ - PROGRAMMING MANUAL 08-2008 Programming Manual page 376

Programmable controllers
Hide thumbs Also See for CJ - PROGRAMMING MANUAL 08-2008:
Table of Contents

Advertisement

Diagnostic Functions
FPD(269)
execution
condition
A
Logic diagnosis
execution
condition B
338
Carry Flag can be programmed as the execution condition for an error pro-
cessing block. Also, FPD(269) can be programmed to generate a non-fatal
FAL error with the desired FAL number.
When an FAL error is generated, a preset message will be registered and can
be displayed on a Programming Device. FPD(269) can be set to output the
results of logic diagnosis (the address of the bit preventing the diagnostic out-
put from being turned ON) just before the message.
The teaching function can be used to automatically determine the actual time
required for the diagnostic output to go ON and set the monitoring time.
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.
Carry 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
First register word
(Diagnostics output destination)
Monitoring 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.
Section 6-7
Operation

Advertisement

Table of Contents
loading

Table of Contents