Set Bit-of-Word (SETB)
The Set Bit-of-Word instruction sets or turns on a bit in a
DS5
Used
V-memory location. Once the bit is set it will remain on until it
HPP
Used
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 (RSTB)
The Reset Bit-of-Word instruction resets or turns off a bit in a
DS5
Used
V-memory location. Once the bit is reset it is not necessary for the
HPP
Used
input to remain on.
⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠A
V-memory ⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠B
Pointer ⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠⸠PB
DirectSOFT 5
DirectSOFT32
X1
Handheld Programmer Keystrokes
STR
SET
In the following example when X1 turns on, bit 1 in V1400 is set to the on state.
DirectSOFT 5
DirectSOFT32
X2
Handheld Programmer Keystrokes
STR
RST
In the following example when X2 turns on, bit 1 in V1400 is reset to the off state.
Operand Data Type
1
ENT
SHFT
B
K
1
ENT
2
ENT
SHFT
B
1
ENT
K
DL05 Micro PLC User Manual, 6th Edition, Rev. D
Chapter 5: Standard RLL Instructions
aaa
See memory map
See memory map
B1400.1
SET
V
1
4
B1400.1
RST
V
1
4
Aaaa.bb
SET
A aaa.bb
RST
DL05 Range
bb
BCD, 0 to 15
BCD, 0 to 15
0
0
0
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
10
11
11
12
12
13
13
14
14
A
a
b
B
c
C
D
D
5-23
Need help?
Do you have a question about the DL05 and is the answer not in the manual?