DL205 User Manual, 4th Edition, Rev. B
5–25
Chapter 5: Standard RLL Instructions - Boolean
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Set Bit-of-Word (SETB)
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 (RSTB)
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.
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.
SET
X1
B1400.1
DirectSOFT
STR 1
Handheld Programmer Keystrokes
SET
V 1SHFT 4 0 0
1 ENT
K
B
ENT
RST
X2
B1400.1
DirectSOFT
Handheld Programmer Keystrokes
STR 2
RST
V 1SHFT 4 0 0
1 ENT
K
B
ENT
Operand Data Type DL250-1 Range DL260 Range
A
aaa bb
aaa
bb
V-memory B See memory map BCD, 0 to 15 See memory map BCD, 0 to 15
Pointer PB See memory map BCD See memory map BCD
DS Used
HPP Used