Example: disp – IDEC MicroSmart User Manual
Page 276
![background image](/manuals/350368/276/background.png)
16: I
NTERFACE
I
NSTRUCTIONS
16-2
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
Example: DISP
The following example demonstrates a program to display the 4-digit current value of counter CNT10 on 7-segment dis-
play units (IDEC’s DD3S-F31N) connected to the transistor sink output module.
Output Wiring Diagram
When input I0 is on, the 4-digit current value of counter C10 is dis-
played on 7-segment digital display units.
I0
DAT
LAT
H
L
S1
C10
Q
Q30
DISP
BCD4
(+)
(–)
Latch
A
B
C
D
(+)
(–)
24V DC
Power
Supply
(+)
(–)
Latch
A
B
C
D
(+)
(–)
Latch
A
B
C
D
(+)
(–)
Latch
A
B
C
D
10
3
10
2
10
1
10
0
8-Transistor Sink
Upper Digit
Lower Digit
FC4A-T08K1
Output Module
Q30
Q31
Q32
Q33
Q34
Q35
Q36
Q37
COM(–)
+V