BCD
- 111 -
Program example
(1) Program to output C4 current value from Y20 to 2F to BCD display.
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
Y2F
Y2E
Y2D
Y2C
Y2B
Y2A
Y29
Y28
Y27
Y26
Y25
Y24
Y23
Y22
Y21
Y20
8000
4000
2000
1000
800
400
200
100
80
40
20
10
8
4
2
1
Coding
No. of
steps
Com-
mand
Device
10 LD M0
11 BCD C4 D4
14 MOV D4 K4Y20
C4BCD D4
M0
10
D4 K4Y20
(ON)
MOV
17