Mitsubishi Electric MELDAS C6 Programming Manual page 209

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

DBCD, DBCDP ... BIN
Bit device
X
Y M
L
F
B SB T SM V T
S
D
DBCD
DBCDP
Function
The BIN data (0 to 99999999) of the device designated with S is BCD converted and transmitted to
the device designated with D.
S side BIN 99999999
D side BCD 99999999
(Note 1) If the BIN data designated by S is not within 0 to 99999999, it will not be converted
correctly.
8. Function Commands
DBCD, DBCDP
BCD conversion (32-bit)
Usable device
Word device
C D R W SW Z SD K
BCD conversion command
DBCD
DBCDP S
S+1 (High-order 16-bit)
0
0 0 0 0
1
0
1 1 1
Always set to 0(High-order 5-bit)
1
0 0 1 1
0
0
1 1 0
10,000,000th place
100,000th place
10,000th place
1,000,000th place
High-order 4-digit
D+1 (
- 200 -
Get other manuals https://www.bkmanuals.com
Con-
Pointer
stant
H
Setting data
BIN data or head No. of
S
D
S
device where BIN data is
stored.
Head No. of device to
D
D
store BCD data.
S (Low-order 16-bit)
1
1
0
1
0
1 1 1 1
0
0
0
0
0
1
1
0
0
1 1 0 0
1
1
0
0
1,000th place
100th place
)
D (
Digit
No. of
desig-
Index
steps
nation
P
4/5
1 1 1 1
0
1
1
1
1
BCD conversion
1
1
0
0
1
1 0 0 1
10th place 1st place
Low-order 4-digit
)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents