O
pe
ra
to
r
P
an
el
E
xa
m
ple
s
5--7
Programming Examples
Example Using D3--340
The following example assumes that the OP--406 is configured for a base address of
R20.
The base address starts at R20
(C200), so B1--B4 is assigned to
C240--C243.
Direct
SOFT
B1
This rung uses the Force Function to force
Button 1 ON. IO30 energizes when Button
1 is forced ON (see rung 1). R26 is the
Force Register.
IO1
C240
OUT
IO30
IO0
OUT
C210
C230
OUT
L1--L6 are assigned to C210--C215.
IO0 turns Lamp 1 on. Turning C230 on
makes L1 flash.
This rung clears Forced Button 1.
IO2
C277
OUT
C260
OUT
C275
OUT
C260
OUT
Register Usage