![IDEC OpenNet series User Manual Download Page 225](http://html.mh-extra.com/html/idec/opennet-series/opennet-series_user-manual_617384225.webp)
16: I
NTERFACE
I
NSTRUCTIONS
16-6
O
PEN
N
ET
C
ONTROLLER
U
SER
’
S
M
ANUAL
Example: CDISP
The following example demonstrates a program to display “STOP” on character display units when input I0 is off. When
input I0 of on, “RUN” flashes on the display units.
Output Wiring Diagram
When input I0 is off, decimal values for ASCII character codes
are moved to data registers D0 and D1.
21332 = 5354h “ST”
20256 = 4F20h “OP”
M8121 is the 1-sec clock pulse special internal relay.
When input I0 and M8121 are on, decimal values for ASCII
character codes are moved to data registers D0 and D1.
21077 = 5255h “RU”
20000 = 4E20h “N (space)”
8224 = 2020h “(space)(space)”
M8125 is the in-operation output special internal relay.
S1 specifies data register D0, no conversion, 2 digits, 2 repeats.
The CDISP sends out data from D0 upper byte, D0 lower byte,
D1 upper byte, and D1 lower byte, in this order.
I0
DAT
LAT
H
L
S1
4
D1
Q0
CDISP
I0
REP
S1 –
21332
MOV(W)
D1 –
D0
REP
S1 –
20256
MOV(W)
D1 –
D1
M8121
REP
S1 –
21077
MOV(W)
D1 –
D0
REP
S1 –
20000
MOV(W)
D1 –
D1
I0
REP
2
S1 –
8224
MOV(W)
D1 –
D0
M8121
M8125
S1: <D0 –2 02>
(+)
(–)
24V DC
Power
Supply
16-Transistor Sink Output Module
FC3A-T16K1
Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
COM(–)
+V
Q10
Q11
Q12
Q13
Q14
Q15
Q16
Q17
COM(–)
+V
(+)
(–)
Latch
D0
D1
D2
D3
D4
D5
D6
D7
(+)
(–)
Latch
D0
D1
D2
D3
D4
D5
D6
D7
(+)
(–)
Latch
D0
D1
D2
D3
D4
D5
D6
D7
(+)
(–)
Latch
D0
D1
D2
D3
D4
D5
D6
D7
Character Display Units: IDEC’s DD3S-F57N
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]