Make shift register with ladder solution

sis

Member
Join Date
Oct 2005
Location
Reykjavik
Posts
13
Dear specialists,
For several years I read in this forum about solution to make a shift register vith a simple ladder. I can not find it again because there are so many threads about real shift registers. What I am planning to do is making simple solution for a conveyor belt taking out failed product using plc without shift register on board. I whould be greatful if some one knew where the old article is where the ladder was made to act as shift register. I am using a small control relay from Moeller that ladder programming is easy. I have used this control 412 AC RC relay for teaching ladder programming for beginners and if I find the solution for the problem I mention earlier I will gladly post it here if some of you think it is possible to find a solution.
flokkari.jpg
 
You CAN do a shift register in the Moeller Easy, but it can't have too many positions, due to the limited number of internal relays. The user manual gives an example, starting on page 115, of how to program a 4-position shift register.

🍻

-Eric
 
Last edited:
Dear Eric,
Thanks a lot for the user manual. I am so glad that this methode is possible. This will save my course. I never thought it could be so easy like that. I have been reading this great forum from time to time but never had a question until now. And I have to say I am so greatful that Your answer was the perfect solution for me. Many, many, thanks!
 
You can shift the bits left in any binary number by multiplying the number by 2. Then you set the least significant bit or leave it cleared depending on if you want to shift a bit into the register or not.

To shift the bits right, you clear the least significant bit and divide by 2.

0101010101010101 multiplied by 2 becomes
1010101010101010

Now if for example you are tracking parts on a conveyor, and a part is present, then set the least signficant bit so that the register becomes

1010101010101011
 
Last edited:
Dear Alaric,
I have also Hitachi H 252 that I can use this methode. There I am sure that I have on board a real shift register. But there are also some other larger versions of EASY from Moeller that I know that can make some calculation and I am planning to find whether your methode is possible there. Many thanks!
Arithmetic.jpg
 
Last edited:
Ron,

I didn't think that the smart relays had the "smarts" to do math but I re-checked. It looks like the Easy 800 can do Add, Sub, Mul, Div on 32 bit words no less. The FB looks like a pain in the butt to use however.
 

Similar Topics

Can somebody please explain to me the main differences between Shift Register and step Ladder programming also which is the best method to use and...
Replies
8
Views
8,086
Hi guys, I am pretty new when it comes to programming. I am working with CX-Programmer and I am having a problem where I have a sensor on my...
Replies
6
Views
617
Hi all, i have a very slow indexing machine where we are looking to make everything as bulletproof as possible, money is not much of a factor...
Replies
12
Views
3,020
Good morning (EST), I am trying to implement the code below in on an S7-1200. It's barely half a dozen instructions, but I am stuck; I have not...
Replies
26
Views
5,525
Hi everyone I am completely new to using shift registers and am a bit stuck, my shift register works as should, it is for an overhead conveyor...
Replies
55
Views
15,352
Back
Top Bottom