User manual

Instruction Set
Shift Register 3-32
Shift Register Instructions
Instruction Description
Bit Shift Left
BSL
Status Bits:
EN - Enable
DN - Done Bit
ER - Error Bit
UL - Unload Bit
If the input conditions go from false-to-true, the BSL instruction shifts the number of bits
specified by Length (5) in File (B3), starting at bit 16 (B3:1/0 = B3/16), to the left by one bit
position. The source bit (I:022/12) shifts into the first bit position, B3:1/0 (B3/16). The fifth bit,
B3:1/4 (B3/20), is shifted into the UL bit of the control structure (R6:53).
Bit Shift Right
BSR
Status Bits:
EN - Enable
DN - Done Bit
ER - Error Bit
UL - Unload Bit
If the input conditions go from false-to-true, the BSR instruction shifts the number of bits
specified by Length (3) in File (B3), starting with B3:2/0 (=B3/32), to the right by one bit
position. The source bit (I:023/06) shifts into the third bit position B3/34. The first bit (B3/32)
is shifted into the UL bit of the control element (R6:54).
BIT SHIFT LEFT
File #B3:1
Control R6:53
Bit Address I:022/12
Length 5
BSL
BIT SHIFT RIGHT
File #B3:2
Control R6:54
Bit Address I:023/06
Length 3
BSR