Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 407
Array (File)/Shift Instructions (BSL, BSR, FFL, FFU, LFL, LFU) Chapter 9
Description: When enabled, the instruction unloads the value at bit 0 of Array to the .UL bit,
shifts the remaining bits one position right, and loads Source bit into the
uppermost bit of the specified bits.
Arithmetic Status Flags: Not affected
Fault Conditions:
Execution:
You must test and confirm that the instruction doesn’t
change data that you don’t want it to change.
The BSR instruction operates on contiguous memory. If an
Array is a member array, such as contained within a
structure, it is possible that the instruction could shift
beyond the Array’s boundary into other members following
it. You must take care in choosing a length whereby this
does not happen.
A major fault will occur if Fault type Fault code
Length exceeds the size of Array's storage
area.
420
Condition Relay Ladder Action
Prescan The .EN bit is cleared.
The .DN bit is cleared.
The .ER bit is cleared.
The .POS value is cleared.
The rung-condition-out is set to false.
Rung-condition-in is false The .EN bit is cleared.
The .DN bit is cleared.
The .ER bit is cleared.
The .POS value is cleared.
The rung-condition-out is set to false.