Standard
RLL Instructions
5–18
Standard RLL Instructions
Boolean Instructions
The Set instruction sets or turns on an
image register point/memory location or
a consecutive range of image register
points/memory locations. Once the
point/location is set it will remain on until it
is reset using the Reset instruction. It is
not necessary for the input controlling the
Set instruction to remain on.
A aaa
SET
aaa
Optional
memory range
The Reset instruction resets or turns off
an image register point/memory location
or a range of image registers
points/memory locations. Once the
point/location is reset it is not necessary
for the input to remain on.
A aaa
RST
aaa
Optional
memory range
Operand Data Type DL05 Range
A aaa
Inputs X 0–377
Outputs Y 0–377
Control Relays C 0–777
Stage S 0–377
Timer T 0–177
Counter CT 0–177
In the following example when X1 is on, Y2 through Y5 will energize.
SET
X1
Y2 Y5
Handheld Programmer KeystrokesDirectSOFT
STR
$
1
B
ENT
SET
X
ENT
2
C
5
F
In the following example when X1 is on, Y2 through Y5 will be reset or de–energized.
STR
$
1
B
ENT
RST
S
2
C
RST
X1
Y2 Y5
Handheld Programmer KeystrokesDirectSOFT
ENT
5
F
Set
(SET)
Reset
(RST)