Moving data into a bit shift

josepa

Member
Join Date
Oct 2006
Location
San Juan
Posts
1
I need some help...I'm trying to input a single bit into a bit register (BSR) from another's bit shift (BSR) unload bit . I configured the bit address of the first with the unload bit of the second one. What I'm trying to do is to after inputing the first bit, run(shift) the first (BSR) 8 times before accepting another input from the second bit shift register's unload bit. Right now is working, is getting the unload bit from the second bit shift and putting it into the load bit of the first, but I want to control when to accept the next incoming bit. Is this the right approach?? Is there a more effiient way to accomplish this?? Could someone point me in the right direction??!! Please!!!
Any help would be greatly appreciated!!!!!

Thanx
 
You don't put in a bit or not into the second, or any, bsr. The bit address is always the same. What you can do, and must do, is to decide when this bit is a one and when it is a zero. Use any ladder logic imaginable to do that.
 
Hi,

Welcome to the forum.

Maybe you should explain what do you want to achieve in detail, solutions maybe around, somebody here can lead you to the right path.

Regards
_______
 

Similar Topics

I'm a Siemens person, and this is one of my first AB programs. The customer wants everything programmed in Ladder. I have a lot of data (3...
Replies
14
Views
206
I have run into a wall. I have one PLC where I have an array of data d_postdetectJobQueue Dint[50] Under d_postdetectJobQueue[6] is the carrier...
Replies
3
Views
1,808
Hello all, I work with internet of things and am not a PLC expert at all - that's why I need your help. I have a customer who's running a mix of...
Replies
31
Views
14,336
Hey guys!! I have never used ANY-pointers or configured larger areas to be moved. As you see, i want to copy whats inside DB1, 256 byte long and...
Replies
16
Views
4,502
Need a little help with a better way to copy data. I am saving data in an array and I want to move the data from the second oldest to the oldest...
Replies
5
Views
1,498
Back
Top Bottom