EasyManuals Logo
Home>Allen-Bradley>Controller>Logix5000

Allen-Bradley Logix5000 Reference Manual

Allen-Bradley Logix5000
708 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #406 background imageLoading...
Page #406 background image
406 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 9 Array (File)/Shift Instructions (BSL, BSR, FFL, FFU, LFL, LFU)
Bit Shift Right (BSR)
The BSR instruction shifts the specified bits within the Array one position right.
Operands:
Relay Ladder
CONTROL Structure
Operand Type Format Description
Array DINT Array tag Array to modify
Specify the element where to begin the shift
Do not use CONTROL.POS in the subscript
Control CONTROL Tag Control structure for the operation
Source bit BOOL Tag Bit to load
Length DINT Immediate Number of bits in the array to shift
Mnemonic Data Type Description
.EN BOOL The enable bit indicates that the BSR instruction is enabled.
.DN BOOL The done bit is set to indicate that bits shifted one position to the right.
.UL BOOL The unload bit is the instruction’s output. The .UL bit stores the status of the bit that was
shifted out of the range of bits.
.ER BOOL The error bit is set when .LEN < 0.
.LEN DINT The length specifies the number of array bits to shift.

Table of Contents

Other manuals for Allen-Bradley Logix5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals