EasyManua.ls Logo

Mitsubishi MELSEC-A series

Mitsubishi MELSEC-A series
508 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
Carry
flag
Error
flag
X Y M L S B F T C D W R A0 A1 Z V K H P I N
Digit specification
Index
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

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Related product manuals