Mitsubishi Electronics C6 Home Safety Product User Manual


 
8. Function Commands
DBIN, DBINP
- 204 -
{ DBIN, DBINP ... BCD BIN conversion (32-bit)
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
S
{
{ { { {
{
{ { { { { { { { {
D
{ { { { { { {
{ {
4/5
Setting data
D
BCD data or head No. of
device where BCD data
is stored.
S
Head No. of device to
store BIN data
BIN conversion command
DBIN
DBINP
DBIN S D
DBINP
S D
Function
The BCD data (0 to 99999999) of the device designated with S is BIN converted and transmitted to
the device designated with D.
1,000th place
100th place
10th place
1st place
101 0110 100101000011 110 0 11100 1001
10,000th place
100,000th place
1,000,000th place
10,000,000th place
S side BCD 99999999
D side BIN 99999999
2
30
2
31
2
29
2
28
2
27
2
26
2
25
2
24
2
23
0
2
22
2
21
2
19
0
2
20
2
18
1
2
17
1
2
16
2
15
2
9
1
2
14
2
13
2
8
1
2
12
2
11
2
7
1
2
10
2
6
1
2
5
1
2
4
2
3
1
2
2
0
2
1
0
2
0
0
0
011110000 111 0 01111
8
8
8
8
8
8
8
8
4
4
4
4
4
4
4
4
2
2
2
2
2
2
2
2
1
1
1
1
1
1
1
1
×10
7
×10
6
×10
5
×10
4
×10
3
×10
2
×10
1
×10
0
BIN conversion
Always set to 0
D
D+1
S+1 S
(Note 1) If the data designated by S is not within 0 to 99999999, it will not be converted correctly.