Automationdirect.com DirectLOGIC DL205 Series User Manual page 242

Table of Contents

Advertisement

Set Bit-of-Word (SETB)
The Set Bit-of-Word instruction sets or turns on a bit in a V-memory
230
location. Once the bit is set it will remain on until it is reset using
240
the Reset Bit-of-Word instruction. It is not necessary for the input
250-1
controlling the Set Bit-of-Word instruction to remain on.
260
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
230
on.
240
250-1
Operand Data Type
260
V-memory
Pointer
In the following example when X1 turns on, bit 1 in V1400 is set to the on state.
DS
Used
HPP
Used
DirectSOFT
Handheld Programmer Keystrokes
In the following example when X2 turns on, bit 1 in V1400 is reset to the off state.
DirectSOFT
X1
STR
1
SHFT
B
SET
K
1
X2
Handheld Programmer Keystrokes
STR
2
SHFT
B
RST
K
1
Chapter 5: Standard RLL Instructions - Boolean
DL250-1 Range
A
aaa
bb
B See memory map BCD, 0 to 15 See memory map BCD, 0 to 15
PB See memory map
BCD
B1400.1
SET
ENT
V
1
ENT
B1400.1
RST
ENT
V
1
ENT
DL205 User Manual, 4th Edition, Rev. B
Aaaa.bb
SET
A aaa.bb
RST
DL260 Range
aaa
bb
See memory map
BCD
4
0
0
4
0
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
5–25

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF