BSL Instruction (500 vs 5000)

jrsnydley

Member
Join Date
Dec 2014
Location
Minnesota
Posts
155
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 this to address my bits used in the 500 project. I have reached a BSL instruction whose "File" attribute is B3:6 in the 500 project but in 5000 it says you need to use a DINT. Any good ideas on how to accomplish this? I have attached a picture of the original instruction.

BSL.jpg
 
It is possible, there are some places in the code where they clear some of the integers so I was trying to avoid it but I can probably figure that out.
 
FYI: DINT is the atomic data type in Logix based processors, so any INT math operations will involve an INT ->DINT -> INT conversion behind the scenes.

For this reason, I try to convert my B3, N7, etc. files to DINT if at all possible.
 

Similar Topics

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...
Replies
7
Views
3,247
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,004
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,706
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
2,979
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,051
Back
Top Bottom