Mitsubishi Electric MELDAS 60 Series Programming Manual page 120

Plc programming
Hide thumbs Also See for MELDAS 60 Series:
Table of Contents

Advertisement

DBIN ... BCD
BIN conversion (32-bit)
Bit device
X
Y
M
L SM F
S
D
DBIN
Function
The BCD data (0 to 99999999) of the device designated with S is BIN converted and transmitted to
the device designated with D.
S side BCD 99999999
D side BIN 99999999
(Note 1)
A minus value cannot be converted correctly.
Usable device
Word device
T
C
D
R
Z
DBIN conversion command
DBIN S
S+1
1
0 0 1 1
0
0
1 1 0
10,000,000th place
100,000th place
1,000,000th place
D+1
0
0 0 0 0
1
0
1 1 1
Always set to 0
- 112 -
Con-
Pointer
Level
stant
K
H
P
N
Setting data
BCD data or head No. of
S
device where BCD data
is stored.
D
Head No. of device to
D
store BIN data
0
1
1
0
0
1 1 0 0
1
1
0
1,000th place
100th place
10,000th place
BIN conversion
1
1
0
1
0
1 1 1 1
0
0
0
DBIN
Digit
No. of
desig-
steps Index
nation
4
S
0
1
1
0
0
1
1 0 0 1
10th place 1st place
D
0
0
1
1
1
1
1 1 1 1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents