User Manual

Highlevel Instructions
3 188
Outline Converts BCD code that expresses a 4-digit decimal to 16-bit binary
data.
For the FP0R/FPΣ/FPX/FP0/FPe, the P type highlevel instruction
“P81 (PBIN)” is not available.
Program example
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
10
F81 BIN , DT10 , DT20
S
D
Trigger
R0
10
11
ST R 0
F 81 (BIN)
DT 10
DT 20
S 4-digit BCD equivalent constant or 16-bit area for 4-digit BCD data (source)
D 16-bit area for storing 16-bit binary 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
(*4)
K H
Index
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 FPe.
(*2) This cannot be used with the FP0, FPe, FP0R, FPΣ, FPX.
(*3) With the FP0R, FPΣ,FPX, FP2, FP2SH, and FP10SH, this is I0 to IC.
(*4) With the FP0R, FPΣ,FPX, FP2, FP2SH, and FP10SH, this is ID.
F81
P81
(PBIN)
(BIN)
4-digit BCD data 16-bit binary data
A: Available
N/A: Not Available
K: K0 to K9