Bit Shift Registers
Chapter 20
20-11
The instruction should look like Figure 20.9:
Figure 20.9
Examine On Bit Shift Example Rung
EXAMINE ON
FILE:
BIT NO.
067
070
00
400
SHIFT BIT
The Set Bit Shift output instruction sets a specified bit in a bit shift register.
You specify the bit number of the bit to be set and the starting address of
the file. The instruction executes upon a true rung condition.
Important: If file is shifted and the Set Bit Shift rung is still true, new
data in the same bit position will be set.
Here are some characteristics of the Set Bit Shift instruction:
Programmed as an output instruction
Key sequence [Shift] [Reg] [1] [6]
Requires 3 words of your program.
Programming a Set Bit Shift Instruction
To program a Set Bit Shift instruction:
The prompt SHIFT REGISTER 12 appears in the lower left hand corner of
the screen.
SET SHIFT BIT
FILE:
BIT NUMBER:
001
020
10
110
16
Set Bit Shift