7-Segment Display Output - 7Seg - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

Advanced I/O Instructions (CQM1 Only)
2-2-4
7-SEGMENT DISPLAY OUTPUT – 7SEG(88)
Hardware
D
0
D
1
D
2
D
3
LE3
Using the Instruction
This instruction outputs word data to a 7-segment display. It utilizes either 8
(for 4 digits) or 12 (for 8 digits) output bits.
The 7-segment display is connected to an Output Unit as shown in the dia-
gram below. For 4-digit display, the data outputs (D0 to D3) are connected to
output points 0 through 3, and latch outputs (CS0 to CS3) are connected to
output points 4 through 7. Output point 12 (for 8-digit display) or output point 8
(for 4-digit display) will be turned ON when one round of data is displayed, but
there is no need to connect them unless required by the application.
V
DD
(+)
V
SS
(0)
LE2
LE1
LE0
The outputs can be connected from a Transistor Output Unit with 8 or more
output points for four digits or 16 or more output points for eight digits.
Note
1. Output Unit outputs normally employ negative logic. (Only the PNP output
type employs positive logic.)
2. The 7-segment display may require either positive or negative logic, de-
pending on the model.
7SEG(88)
If the first word holding the data to be displayed is specified at S, and the out-
put word is specified at O, and the SV taken from the table below is specified
at C, then operation will proceed as shown below when the program is exe-
cuted.
Data Storage Format
D
V
DD
D
(+)
V
D
SS
(0)
D
LE3
LE2
LE1
S: First source word
O: Output word
S
C: Control data
O
C
Leftmost 4 digits
S+1
Section 2-2
0
1
2
3
LE0
Rightmost 4 digits
S
OD212
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DC
COM
127

Advertisement

Table of Contents
loading

Table of Contents