High−level Instructions
3 − 73
Outline Subtracts 32-bit data from the minuend and stores the result in the
specified area.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
“P28 (PD−)” is not available.
Program example
Boolean
Ladder Diagram
Address Instruction
10
F28 D− , DT 10 , DT 20 , DT 30
S1
DS2
R0
Trigger
10
11
ST R 0
F28 (D−)
DT 10
DT 20
DT 30
S1 32-bit equivalent constant or lower 16-bit area of 32-bit data (for minuend)
S2 32-bit equivalent constant or lower 16-bit area of 32-bit data
(for subtrahend)
D Lower 16-bit area of 32-bit data (for result)
Operands
modifier
S1 A A A A A A A A A A N/A A A A
S2 A A A A A A A A A A N/A A A A
D N/A A A A A A A A A A N/A N/A N/A A
(*1) This cannot be used with the FP0 and FP−e.
(*2) This cannot be used with the FP0, FP−e, FP0R, FPΣ, FP−X.
(*3) With the FP0R, FPΣ,FP−X, FP2, FP2SH, and FP10SH, this is I0 to IC.
(*4) With the FP0R, FPΣ,FP−X, FP2, FP2SH, and FP10SH, this is ID.
F28
P28
(D−)
(PD−)
32-bit data subtraction
[(S1+1, S1) − (S2+1, S2) → (D+1, D)]
A: Available
N/A: Not Available