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.
Aaaa.bb
SET
A
aaa.bb
RST
SET
X1
B1400.1
Direct
S
OF
T
ST
R
1
Handheld Programmer Keystrokes
SET
V
1
S
HF
T
4
0
0
1
E
N
T
K
B
E
N
T
RST
X2
B1400.1
Direct
S
OF
T
Handheld Programmer Keystrokes
STR
2
RST
V
1
S
HF
T
4
0
0
1
EN
T
K
B
EN
T
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
ý
ý
þ
þ
230
240
2
5
0
-1
2
6
0
ý
ý
þ
þ
230
240
2
5
0
-1
2
6
0
DS
Used
HPP
Used