DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-24
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
In the following example. when X1 turns on, bit 1 in V1400 is set to the on state.
In the following example, when X2 turns on, bit 1 in V1400 is reset to the off state.
Aaaa.bb
SET
A aaa.bb
RST
SET
X1
B1400.1
DirectSOFT32
STR 1
Handheld
Programmer Keystrokes
SET
V 1SHFT 4 0 0
1 ENT
K
B
ENT
RST
X2
B1400.1
Handheld Programmer Keystrokes
STR 2
RST
V 1SHFT 4 0 0
1 ENT
K
B
ENT
Operand Data Type DL06 Range
A
aaa bb
V-memory B See memory map 0 to 15
Pointer PB See memory map 0 to 15
DS Used
HPP Used
DS Used
HPP Used
DirectSOFT
DirectSOFT
Set Bit-of-Word (SET)
The Set Bit-of-Word instruction sets or turns on a bit in a
V-memory location. Once the bit is set, it will remain on until it
is reset using the Reset Bit-of-Word instruction. It is not necessary
for the input controlling the Set Bit-of-Word instruction to
remain on.
Reset Bit-of-Word (RST)
The Reset Bit-of-Word instruction resets or turns off a bit in a
V-memory location. Once the bit is reset. it is not necessary for the
input to remain on.