Standard
RLL Instructions
5–29
Standard RLL Instructions
Immediate Instructions
The Set Immediate instruction
immediately sets, or turns on an output or
a range of outputs in the image register
and the corresponding output point(s) at
the time the instruction is executed. Once
the outputs are set it is not necessary for
the input to remain on. The Reset
Immediate instruction can be used to
reset the outputs.
aaaY aaa
SETI
aaaY aaa
The Reset Immediate instruction
immediately resets, or turns off an output
or a range of outputs in the image register
and the output point(s) at the time the
instruction is executed. Once the outputs
are reset it is not necessary for the input to
remain on.
RSTI
Operand Data Type DL05 Range
aaa
Outputs Y 0–377
In the following example, when X1 is on, Y2 through Y5 will be set on in the image
register and on the corresponding output points.
1
B
ENT
X1 Y2
SETI
Y5
DirectSOFT
Handheld Programmer Keystrokes
STR
$
SET
X
SHFT
8
I
ENT
2
C
5
F
In the following example, when X1 is on, Y5 through Y22 will be reset (off) in the
image register and on the corresponding output module(s).
1
B
ENT
X1 Y2
RSTI
Y5
DirectSOFT
Handheld Programmer Keystrokes
STR
$
SHFT
8
I
RST
S
ENT
2
C
5
F
Set Immediate
(SETI)
Reset
Immediate
(RSTI)