Allen Bradley B3 and #B3 bits

boyd_man

Member
Join Date
Oct 2002
Location
South Carolina
Posts
39
I was looking at a BSL instruction example and they used #B3:8 as an example for the file. Could you give me some information on adding the # sign to the B3 file. Also once I added the # sign could I use any other part of the B3:8 file like B3:8/0 any where else in the same program.
 
Hi Boyd Man,

The # sign tells it is the word address used by the shift address the length being one specified in the instruction. For eg, if #B3:8 is specified and length being 16 the shift register starts from bit address B3:8/0 to B3:8/15. It shifts a one when bit address in the BSL instruction is logically true and shifts a zero when the bit address is logically false.

You can make use of other part of the file to collect the status of the shifted bit or even unlatch it so the shifted status is changed from that address onwards

bsl.jpg
 
The # indicates an indexed address (S:24 is the index register). The index register is manipulated by the bit shift instruction.

If the shift register length is not a multiple of 16 bits, then the unused bits in the end of the last word of the shift register should not be used as they will be over-written by the bit shift instruction.
 

Similar Topics

Hi, just wondering if anyone could help me out with an internal reference . . . ?? I'm using a Micrologix 1500 LRP, and it has a BAT. LO LED...
Replies
6
Views
2,655
Hi, I have a ControlLogix system with 1756-IF16 analogue inputs. I can't scale the inputs at the card as there is a requirement to facilitate...
Replies
13
Views
294
Dear community, I am trying to find a tool for Allen-Bradley PLCs similar to SiVArch for Siemens PLCs to automatically generate faceplates and...
Replies
0
Views
84
Hi everyone, new to forum. Since very long time i having issue with 1734-AENT module, after some period of time its keep stuck in error (simmilar...
Replies
14
Views
463
Hello, I am new here. I am trying to find good places to sell some surplus items that I have that isnt through ebay. Does anyone have any sources...
Replies
5
Views
356
Back
Top Bottom