
7-76
SEG(P)
7-segment decode display
Program Example
(1) The following program converts the data from XC to XF to 7-segment display data and
outputs it to Y38 to Y3F when X0 is turned ON.
[Ladder Mode] [List Mode]
[Timing Chart]
Configuration of 7
Segments Display Data
Hexa-
decimal Bit Pattern B7 B6 B5 B4 B3 B2 B1 B0
00000 00111111
10001 00000110
20010 01011011
30011 01001111
40100 01100110
50101 01101101
60110 01111101
70111 00100111
81000 01111111
91001 01101111
A1010 01110111
B1011 01111100
C1100 00111001
D1101 01011110
E1110 01111001
F1111 01110001
Head number of bit device
Lowest bit of word device
SD
B0
B6
B3
B
5 B1
B
4B
2
Step Instruction Device
X0
Y38 to Y3F
*1: The data Y38 to Y3F will not change until the next data is output.
* 1