BSL again

n8dc

Member
Join Date
Sep 2006
Location
Michigan
Posts
59
Micrologix 1200

well ive got my machine up and cycling except fpr the good and bad
Part pickoffs i need to make one work when it sees a 1 and the other work when it sees a 0 but i can make the bit shift work but if i get 2 true's one following directly behind another it only works on the first one? What am i doing wrong??

SOR XIC I:0.0/0 OTL B3:2/0 EOR
SOR XIO I:0.0/2 BST BSL #B3:10 R6:0 B3:2/0 1 NXB OTU B3:2/0 BND EOR
SOR XIC B3:10/1 TON T4:0 1.0 2 2 EOR
SOR XIC T4:0/TT OTE O:0.0/0 EOR
SOR END EOR

This is what ive been trying. i:eek: is my bad part input i:2 shifts the data but like i said if i get 2 1's in a row it only works one of them. why?
Dave
 

Similar Topics

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...
Replies
2
Views
504
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,006
Hello friends, When I trigger once for an application, I want to shift the 15th bit in the word address by 10 bit , so; 1000 0000 0000 0000 ->...
Replies
3
Views
1,642
Hi everyone, we have a working part rejector already. The issue is the new encoder went from 100ppr to 1024ppr. Hardware is compactlogix...
Replies
4
Views
1,884
Sidenote: One of my favorite lessons back in school was learning about BSL in RSLogix 500, and making it work in a simulator. I've been waiting...
Replies
30
Views
7,967
Back
Top Bottom