beautypg.com

Delta Electronics Extension Digital I/O Module DOP-EXIO14RAE User Manual

Page 109

background image

Appendix D Use of Application Instructions|DOP-EXIO Series

D-28

Revision March, 2008, Doc. Name: 2007PDD23000014

X0

BIN

D100

K4X0

BCD

D100

K4Y20

10

1

10

0

10

2

6

4

2

X17

X0

8

8

8

10

3

6

8

Y37

Y20

4-digit DIP switch in BCD format

4-digit BCD value

Using BIN instruction to store

the BIN value into D100

Using BCD instruction to convert the

content in D100 into a 4-digit BCD value.

4-digit 7-segment display in BCD format