High−level Instructions
3 − 95
Outline Adds two BCD data items that express 8-digit decimal numbers (8-digit
BCD H codes).
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
“P40 (PB+)” is not available.
Program example
Boolean
Ladder Diagram
Address Instruction
10 F40 B+, DT 1 , DT 10
S
D
Trigger
R0
10
11
ST R 0
F 40 (B+ )
DT 1
DT 10
S 4-digit BCD equivalent constant or 16-bit area for 4-digit BCD data (for addend)
D 16-bit area for 4-digit BCD data (for augend and result)
Operands
modifier
S A A A A A A A A A A A K A A
D N/A A A A A A A A A A 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.
F40
P40
(PB+)
(B+)
4-digit BCD data addition
[D + S → D]
A: Available
N/A: Not Available
K: K0 to K9