Chapter 6 Instruction Details
XBC E-Type Main Unit
6-105
Ver. 1
2) DBIN (Double Binary)
(1) It converts specified S+1,S device’s BCD data( 0~99999999) to BIN data and it is saved in D+1,D.
Covert to BIN
D+1 (Higher 16-bit)
D (Lower 16-bit)
S : BCD 99999999
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
2
0
2
1
2
2
2
3
2
0
2
1
2
2
2
3
2
0
2
1
2
2
2
3
x10
6
x10
5
x10
4
x10
2
x10
1
x10
0
S+1 (Higher 4 places)
S (Lower 4 places)
x10
7
x10
3
D :
h
05F5EOFF
1
1
1
0
0
0
0
0
1
1
1
1
1
1
1
1
2
31
2
16
2
15
2
0
2
1
2
2
2
3
0
0
0
0
0
1
0
1
1
1
1
1
0
1
0
1
2
0
2
1
2
2
2
3
3) Program Example
Where P0000 BCD data after conversion to BIN data is saved in D0002 if Input Signal P00020 is On.
BIN P0000 D0002
P00020
0
0
1
0
0
1
1
1
0
0
0
0
1
0
0
1
P0000
h2709
2
0
2
1
2
2
2
3
2
0
2
1
2
2
2
3
2
0
2
1
2
2
2
3
2
0
2
1
2
2
2
3
Convert to BIN
0
0
0
0
1
0
1
0
1
0
0
1
0
1
0
1
D0002
h0A95
x10
3
x10
2
x10
1
x10
0
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...