S
ys
te
m
S
et
up
Yo
ur
P
an
el
C
on
fig
ur
in
g
P
ro
gr
am
m
in
g
E
xa
m
pl
es
5--12
Programming Examples
Example Using D3--330/340
The following example assumes that the OP--640 is configured for a base address of
R400/R401. When configuring the panel, enter the messages shown in the previous
section for the DL05, DL105, DL205, D3--350 and DL405 examples.
DSTR
K2
This rung displays message #2 and BCD data
in the second display line.
DOUT
R402
F50
DSTR
K6739
DOUT
R414
F50
IO3
F60
F60
DSTR
R430
This rung remaps the status register
(pushbuttons) into control relays R20/21.
DOUT
R20
F50
C374
F60
First Scan
DSTR
R22
DOUT
R432
F50
C374
F60
First Scan
This rung remaps control relays R22/23 into
the control register (lamps).
Displaying Messages
DSTR
K1
This rung displays message #1 in the top
display line.
DOUT
R400
F50
IO0
F60
Second line message.
Second line data.
C200
IO30
OUT
This rung allows pushbutton F1 to turn on
output IO30.
Pushbutton Example
IO2
C220
OUT
This rung allows input IO2 to turn on
lamp L1.
Lamp Example
Example