Omron C200HG Computer Hardware User Manual


 
217
Example The following example shows the data to produce an 8. The lower case letters
show which bits correspond to which segments of the 7-segment display. The
table underneath shows the original data and converted code for all hexadeci-
mal digits.
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
0
1
0
0
0
0
0
1
0
1
1
1
1
0
1
1
0
1
2
3
1
1
1
1
1
1
1
0
S
g
fb
c
d
e
a
D
0
1
0
0
0
0
0
1
0
1
1
1
1
0
1
1
x10
0
x10
1
x10
2
x10
3
Di
1: Second digit
0: One digit
0 or 1:
bits 00 through 07 or
08 through 15.
Not used.
a
b
c
d
e
f
g
Bit 00
or
bit 08
Bit 07
or
bit 15
8
Original data Converted code (segments) Display
Digit Bits g f e d c b a
0 0 0 0 0 0 0 1 1 1 1 1 1
1 0 0 0 1 0 0 0 0 0 1 1 0
2 0 0 1 0 0 1 0 1 1 0 1 1
3 0 0 1 1 0 1 0 0 1 1 1 1
4 0 1 0 0 0 1 1 0 0 1 1 0
5 0 1 0 1 0 1 1 0 1 1 0 1
6 0 1 1 0 0 1 1 1 1 1 0 1
7 0 1 1 1 0 0 1 0 0 1 1 1
8 1 0 0 0 0 1 1 1 1 1 1 1
9 1 0 0 1 0 1 1 0 1 1 1 1
A 1 0 1 0 0 1 1 1 0 1 1 1
B 1 0 1 1 0 1 1 1 1 1 0 0
C 1 1 0 0 0 0 1 1 1 0 0 1
D 1 1 0 1 0 1 0 1 1 1 1 0
E 1 1 1 0 0 1 1 1 1 0 0 1
F 1 1 1 1 0 1 1 1 0 0 0 1
Flags ER: Incorrect digit designator, or data area for destination exceeded
Indirectly addressed DM word is non-existent. (Content of DM word is
not BCD, or the DM area boundary has been exceeded.)
Data Conversion Section 5-18