Mitsubishi Electric MELDAS C6 Programming Manual page 207

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

BCD, BCDP ... BIN
Bit device
X
Y M
L
F
B SB T SM V T
S
D
BCD
BCDP
Function
The BIN data (0 to 9999) of the device designated with S is BCD converted and transmitted to the
device designated with D.
S side BIN 9999
D side BCD 9999
(Note 1) If the BIN data designated by S is not within 0 to 9999, it will not be converted correctly.
Execution conditions
The execution conditions for BCD, BCDP are as follow.
Conversion command OFF
BCD
BCDP
8. Function Commands
BCD, BCDP
BCD conversion (16-bit)
Usable device
Word device
C D R W SW Z SD K
BCD conversion command
BCD
BCDP S
32768 16384 8192 4096 2048 1024 512 256
0
0
1
0
Always set to 0
8000 4000 2000 1000 800 400
1
0
0
1
1000th place
ON
Executed per scan
- 198 -
Get other manuals https://www.bkmanuals.com
Con-
Pointer
stant
H
Setting data
BIN data or No. of device
S
D
S
where BIN data is stored.
No. of device to store
D
BCD data.
D
128
64
32
0
1
1
1
0
0
0
BCD conversion
200
100
80
40
20
1
0
0
1
1
0
0
100th place
10th place
Executed per scan
Digit
No. of
desig-
Index
steps
nation
P
3
16
8
4
2
1
0
1
1
1
1
10
8
4
2
1
1
1
0
0
1
1st place

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents