RSLogix 5000 BSL to Step7

sledgehmr

Member
Join Date
Oct 2023
Location
Hamilton
Posts
2
Hi all,

I am trying to convert RSLogix 5000 program to Step7. I need to bit shift left my array of double integers for tracking the product on a conveyor. I have to work on array[0..4] of DInt because the length of rows can be as long as 130bits.

Now in RSlogix 5000, I can load the value of source bit in new vacated places and enable shifts the left bits of array[0] onto right bits of array[1]. but this is not happening in step7. Can anyone show me what I am doing wrong?

Capture1.PNG Capture2.PNG Capture3.PNG
 
I remember working with a program in Simatic Manager (Step 7 Classic) where they jumped through a hoop or 2 for this.


Say the array is words A,B,C,D, with D being the least significant. They started with word A with a BSL, loading the most significant bit of word B into bit 0 of word A. Then repeated it until all 4 words were shifted and stuck the "new" bit into bit 0 of word D. Something like that...
I no longer have access to that software, so I can't look at it to refresh my memory.
 
What @joseph_e2 said.

I.e. Siemens ist Deutsch für "some assembly required."

That said, it's six to five and pick'em whether it would be faster to write your own custom FB or find one on Google. Perhaps there is one in the downloads area of this web site.
 

Similar Topics

So I used the migration tool for converting RSlogix 500 to Studio 5000 and the resulting came out. See attached png files. I am having trouble...
Replies
10
Views
3,698
Hi folks, in the alarm manager of Rslogix 5000, the tag-based alarm has been created. But when I tried to change the condition, it was found the...
Replies
2
Views
156
I am completely stuck on building a ladder program that requires a start button to be pressed 3 times to turn on motor 1. Then motor 2 starts...
Replies
20
Views
577
First off, I'm a hobbyist-level programmer, and this program isn't controlling anything anything that could even remotely be considered "life...
Replies
18
Views
517
Back
Top Bottom