Step 5 - alternate between three places

PontEL

Member
Join Date
Mar 2006
Location
Sthlm
Posts
13
Hello

I hava a system that should sort pieces to three different places (today it is only alternating between two). One output sends the piece to place 1, next output to place 2, etc.

If one of the places is disabled it should only alternate between the other two, and if two is disabled it should only send to one place. If all three is disabled nothing will happen until one is avalible.

Is there any standard way to do this? or any other examples that you could look at and modify?

Best regards
 
Last edited:
who it would sort ? first peace in first place second peace and so on ?

if so u have two alternatives , either using shift instruction , u will have only bit set in byte and it will shift if peace was in place or the position disabled.



the second method , altough may look more difficult , but will be more accurate is to use a fifo table
 
Yes I want to sort something like that.

I am not used to work with shift instruction, at least not in step 5. I have looked at it a little bit in step 7.

But I have now written down a instruction that I think will work. I have only simulated it so far, but I will test it soon on the machine.

I have used some jump instructions, and standard logic. Its probably not the best looking program, but at least its simple for my three stations.
 

Similar Topics

I am having a step7 v5.4 program where the blocks are encrypted and locked. And the manufacturer is stopped the support. Is there any ways to...
Replies
2
Views
177
Good Morning, Hoping someone with some Siemens experience can give me a hand with this one. Customer has a S7-200 cpu, which has a 6GK7...
Replies
0
Views
249
HI! HOW COULD I OBTAIN THE NAMES OF THE STEPS OF A ROUTINE IN SFC LANGUAGE IN STUDIO5000? Or is there a system variable that gives me those...
Replies
0
Views
339
I'm just trying to figure out the right method of adding a DO card to an existing rack. It's not the *next* open slot, but I have to move the AO...
Replies
5
Views
547
Hi Siemens Experts, I am hoping someone can shed some light on my issue. I have uploaded the code from a S7-300 (317-2PN/DP) using Step 7...
Replies
9
Views
676
Back
Top Bottom