BSL instruction in Micrologix 1500

KEN_KACEL

Member
Join Date
Nov 2002
Location
NORTH COUNTRY
Posts
162
I am using the BSL instructio in a micrologix 1500. It always indexes from the 35th word bit 0. For example N17:35/0 will be where it loads the result. I do need it to be bigger than 2048 bits so I would like to start it at (N17:35/0 +2048)+1 = N17:163/0. How do I get the BSL to start at something other than n17:35/0?
 
Your question is confusing. Please refer to the diagram for the BSL instruction in the manual.

With the information you provided in your second post:

File #n17:1
Control R6:11
Bit address N17:10/0
Length 2048

Each transition of the input will move all the bits in N17:1 through N17:128 one place to the left with bit 15 of each word moving to bit 0 of the next higher word. The current value of N17:10/0 (which is inside the shift register!!!) wis be put in N17:1/0. The previous bit value of N17:128/15 will end up in R6:11/UL.
 
The length limit for the BSL instruction is 2048, so I think you need to cascade two BSL instructions. Have the unload position of the first one end up being the Bit Address for the 2nd one.

How many bits do you need in total?
 
This instruction is nothing like the BSL HELP documents:

The control element:

15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Word 0
EN

DN

ER
UL


Not Used







Word 1
Size of bit array (number of bits)















Word 2
Bit Pointer (currently not used)














 
Each transition of the input will move all the bits in N17:1 through N17:128 one place to the left with bit 15 of each word moving to bit 0 of the next higher word. The current value of N17:10/0 (which is inside the shift register!!!) wis be put in N17:1/0. The previous bit value of N17:128/15 will end up in R6:11/UL.
--------------------------------------------
This is not how it works ....it will move starting at n17:35/0... That is what is confusing
 

Similar Topics

I’m working on a conveyor project for work. We’re trying to install a few diverts to carry product directly to one of two trailer doors. I have...
Replies
5
Views
1,063
Hello everyone! I am in the middle of converting an RSLogix 500 program to RSLogix 5000. I made an array of INTS called B3 and have been using...
Replies
3
Views
1,829
I am experimenting with the BSL instruction in LogixPro and have run into a problem. The goal of my program is as follows: track bad products...
Replies
14
Views
13,773
Ok, I got my BSL instruction doing what I want it to do, kinda. I am using it in a ML1000, in the instruction set reference manual it says "If...
Replies
7
Views
3,013
Hello all, I have a quick question regarding some numbers in my MicroLogix 1500 project. Basically here is the situation. We have a quartech 2800...
Replies
9
Views
5,070
Back
Top Bottom