BIN
- 115 -
Program example
(1) Program to BIN convert the X10 to 1B BCD data when X8 turns On, and store in D8.
Digital switch BCD
Can be used
for other
purposes
DI card
Y1F
Y1E
Y1D
Y1C
Y1B
Y1A
Y19
Y18
Y17
Y16
Y15
Y14
Y13
Y12
Y11
Y10
800
400
200
100
80
40
20
10
8
4
2
1
0
0
0
1
1
0
0
1
0
1
1
0
Coding
No. of
steps
Com-
mand
Device
10 LD X8
11 BIN K3X10 D8
K3X10
BIN
D8
X8
10
14