6. BASIC INSTRUCTIONS
6
−
42
MELSEC-A
6.3.2 BCD 4-, 8-digit
→
BIN data conversion
(BIN, BINP, DBIN, DBINP)
Available Device
Bit device
Word (16-bit) device
Constant
Pointer
Level
Ca
rr
y
fla
g
Err
o
r
fla
g
X Y M L S B F T C D W R A0
A1
Z V K H P I N
D
igit specification
In
d
e
x
M9012 (M9010, M9011)
(S) O O O O O O O O O O O O O O O O
BIN
(D) O O O O O O O O O O O O O O O
K1
to
K4
(S) O O O O O O O O O O O O O O
DBIN
(D) O O O O O O O O O O O O O
K1
to
K8
O
O
Function BIN
Converts BCD data (0 to 9999) of device specified at (S) into BIN and transfers the
result to the device specified at (D).
Applicable
CPU
All CPUs
(S) (D)
(S) (D)
P
BIN conversion commands
(S)
BCD data or head number
of device which stores
BCD data
(D)
Head number of device
which will store BIN data
Setting data
BIN, DBIN
Indicates the instruction symbol.
Always set to 0.
(S) side BCD 9999
(D) side BIN 9999
BIN conversion
Units
digits
Tens
digits
Hundreds
digits
Thousands
digits
Содержание MELSEC-A series
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 MEMO...
Страница 505: ...APPENDICES APP 100 MELSEC A MEMO...
Страница 507: ......
Страница 508: ......