2 instructions, Segment data – Omron SYSMAC CP CP1E-N@@D@-@ User Manual
Page 392

2 Instructions
2-356
CP1E CPU Unit Instructions Reference Manual(W483)
7-segment Data
The following table shows the data conversions from a hexadecimal digit (4 bits) to 7-segment code (8
bits).
Original data
Converted code (segments)
Display Original data
Digit
Bits
–
g
f
e
d
c
b
a
Hex
0
0
0
0
0
0
0
1
1
1
1
1
1
3F
1
0
0
0
1
0
0
0
0
0
1
1
0
06
2
0
0
1
0
0
1
0
1
1
0
1
1
5B
3
0
0
1
1
0
1
0
0
1
1
1
1
4F
4
0
1
0
0
0
1
1
0
0
1
1
0
66
5
0
1
0
1
0
1
1
0
1
1
0
1
6D
6
0
1
1
0
0
1
1
1
1
1
0
1
7D
7
0
1
1
1
0
0
1
0
0
1
1
1
27
8
1
0
0
0
0
1
1
1
1
1
1
1
7F
9
1
0
0
1
0
1
1
0
1
1
1
1
6F
A
1
0
1
0
0
1
1
1
0
1
1
1
77
B
1
0
1
1
0
1
1
1
1
1
0
0
7C
C
1
1
0
0
0
0
1
1
1
0
0
1
39
D
1
1
0
1
0
1
0
1
1
1
1
0
5E
E
1
1
1
0
0
1
1
1
1
0
0
1
79
F
1
1
1
1
0
1
1
1
0
0
0
1
71
1
1
1
1
1
1
1
0
g
c
d
e
b
f
a
a
b
c
d
e
f
g
LSB
MSB
This manual is related to the following products: