Panasonic FP-E Programming Manual page 337

Fp series
Table of Contents

Advertisement

F28
(D−)
P28
(PD−)
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
Trigger
R0
F28 D− , DT 10 , DT 20 , DT 30
10
S1
S2
D
Operands
Relay
Operand
Operand
WX WY WR
S1
A
A
S2
A
A
D
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.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
32-bit data subtraction
[(S1+1, S1) − (S2+1, S2) → (D+1, D)]
Ladder Diagram
Ladder Diagram
S1
S2
32-bit equivalent constant or lower 16-bit area of 32-bit data (for minuend)
32-bit equivalent constant or lower 16-bit area of 32-bit data
(for subtrahend)
Lower 16-bit area of 32-bit data (for result)
Timer/Counter
WL
SV
EV
DT
(*1)
A
A
A
A
A
A
A
A
A
A
A
A
D
Index
Register
register
LD
FL
IX
IY
(*1)
(*2)
(*3)
(*4)
A
A
A
A
N/A
A
A
A
A
N/A
A
A
A
A
N/A
High−level Instructions
Boolean
Address
Instruction
10
ST
R
11
F 28
(D−)
DT
DT
DT
Constant
Index
Index
modifier
K
H
A
A
A
A
A
A
N/A
N/A
A
A:
Available
N/A: Not Available
3 − 73
0
10
20
30

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents