User Manual
High−level Instructions
3 − 192
Outline Converts BCD code that expresses an 8-digit decimal to 32-bit binary
data.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
“P83 (PDBIN)” is not available.
Program example
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
10
F83 DBIN, DT10 , DT20
S
D
Trigger
R20
10
11
ST R 20
F83 (DBIN)
DT 10
DT 20
S 8-digit BCD equivalent constant or lower 16-bit area for 8-digit BCD code
(source)
D Lower 16-bit area for 32-bit data (destination)
Operands
Operand
Relay Timer/Counter Register
Index
register
Constant
Inde
x
Operand
WX WY WR
WL
(*1)
SV EV DT
LD
(*1)
FL
(*2)
IX
(*3)
IY K H
Index
modifier
S A A A A A A A A A A N/A K 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.
Explanation of example
Converts BCD code that expresses an 8−digit decimal of data registers DT11 and DT10 to 32-bit binary data
when trigger R20 turns on. The converted data is stored in data registers DT21 and DT20.
Description
Converts BCD code that expresses an 8-digit decimal specified by S to 32-bit binary data. The converted
data is stored in D+1 and D.
Flag conditions
・Error flag (R9007): Turns on and stays on when:
・Error flag (R9008): Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− The data specified by S is not BCD data.
F83
P83
(PDBIN)
(DBIN)
8-digit BCD data → 32-bit binary data
A: Available
N/A: Not Available
K: K0 to K9