High−level Instructions
3 − 390
Outline Sets the specified condition as a self-diagnostic error.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
“P148 (PERR)” is not available.
Program example
Boolean
Ladder Diagram
Address Instruction
10
F148 ERR , K 100
n
Trigger
R0
Self−diagnostic error set
20
F148 ERR , K 0
n
R1
Self−diagnostic error clear
Trigger
10
11
20
21
ST R 0
F148 (ERR)
K 100
ST R 1
F148 (ERR)
K0
n Self-diagnostic error code number Range: 0 and 100 to 299
Operands
O
WX WY WR WL SV EV DT LD FL IX IY K H
modifier
n N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A A A N/A
Explanation of example
The self−diagnosis error 100 is set when the execution condition (trigger) R0 turns on. For
FP0/FP−e/FP0R/FPΣ/FP−X, the ERROR (ERROR/ALARM) LED on the control unit blinks and for
FP2/FP2SH/FP10SH, ERROR LED on CPU lights, and operation stops.
(If a situation occurs in which you wish to set the self−diagnosiserror 100, set up the program so that input R0
turns on.)
When the execution condition (trigger) R1 turns on, self−diagnostic errors of error codes 43 and higher are
cleared.
F148
P148
(PERR)
(ERR)
Self-diagnostic error set
A: Available
N/A: Not Available