Panasonic FP-E Programming Manual page 369

Fp series
Table of Contents

Advertisement

F46
(DB−)
P46
(PDB−)
Outline
Subtracts one BCD data item that expresses an 8-digit decimal number
(8-digit BCD H code) from another (minuend).
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
"P46 (PDB−)" is not available.
Program example
Trigger
R0
10
S
D
Operands
Relay
Operand
Operand
WX WY WR
S
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.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
8-digit BCD data subtraction
[(D+1, D) − (S+1, S) → (D+1, D)]
Ladder Diagram
Ladder Diagram
F46 DB− , DT10 ,
S
8-digit BCD equivalent constant or lower 16-bit area for 8-digit BCD data (for
subtrahend)
Lower 16-bit area for 8-digit BCD data (for minuend and result)
Timer/Counter
WL
SV
EV
(*1)
A
A
A
A
A
A
A
A
DT20
D
Index
Register
register
LD
FL
IX
DT
IY
(*1)
(*2)
(*3)
A
A
A
A
N/A
A
A
A
A
N/A
High−level Instructions
Boolean
Address
Instruction
10
ST
R
11
F 46
(DB−)
DT
DT
Constant
Index
Index
modifier
K
H
K
A
A
N/A
N/A
A
A:
Available
N/A: Not Available
K:
K0 to K9
3 − 105
0
10
20

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents