Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 986

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Failure Diagnosis Instructions
Note
1,2,3...
Execution condition
for FPD(269)
Diagnostic output B
Carry Flag
The diagnostic output must go ON within the monitoring time. The teaching
function can be used set the monitoring time automatically.
The following processing will be performed when the Carry Flag is turned ON.
(This processing will not be performed if the FAL number is set to 000 in C.)
1. The FAL Error Flag (A402.15) will be turned ON. (PLC operation contin-
ues.)
2. The Executed FAL Number Flag for the specified FAL number will be
turned ON. (Flags A360.01 to A391.15 correspond to FAL numbers 001 to
1FF.)
3. The corresponding error code will be written to A400. Error codes 4101 to
42FF correspond to FAL numbers 001 to 1FF.
(If a more serious error has occurred (one with a higher error code) at the
same time, the error code of the more serious error will be stored in A400.)
4. The error code and the time/date that the error occurred will be written to
the Error Log Area (A100 through A199).
5. The ERR Indicator on the CPU Unit will flash.
6. If the output mode has been set for bit address and message output (left-
most digit of C set to 8), the ASCII message stored in R+2 through R+10
will be displayed as a non-fatal error message.
Logic Diagnosis Function
Every cycle that the execution condition for FPD(269) is ON, FPD(269) deter-
mines which input bit is causing the diagnostic output to be OFF and writes
the bit's address to the register area beginning at R.
If input bits CIO 0.00 through CIO 0.03 are all ON in the following example,
FPD(269) would determine that the normally closed CIO 0.02 condition is
causing output CIO 100.00 to remain OFF. FPD(269) would turn ON the Bit
Address Found Flag (bit 15 of R) and write the bit address to register words
R+2 to R+4.
0.00
0.02
0.01
0.03
Logic diagnosis block
Logic diagnosis
execution condition
The logic diagnosis function is executed every cycle as long as the execution
condition for FPD(269) is ON. The operation of the logic diagnosis function is
independent of the time monitoring function.
When two or more input bits are preventing the diagnostic output from being
turned ON, the address of the first input bit in the execution condition (on the
highest instruction line and nearest the left bus bar) will be output to R+2
through R+4.
Monitoring
time (T)
Non-fatal error generated.
100.00
Section 3-28
953

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents