geniusintraining
Lifetime Supporting Member + Moderator
Greetings all and Terry:
I was wondering how do you... approach your automatic cycle in your program.
Say we are doing a pick and place…you have all the safeties and everything in place.
Starting with the fun part of the program, (you have already homed your controller) you get a enable (start PB)… next you want to lower your cylinders or move your axes…so you set your output… then what?
Do look for a verification of the part is complete?
Would you pass a bit from that rung to the next?
To enable the next step? Your array? Do you bit shift?
Also where does the scan to scan (time) fall in to play? A couple of months ago I did my first large program that included a fully automatic cycle and motion
I don’t think I considered the scan to scan time factor enough when I was programming
Example…in rung 0000 I would latch a bit B3:10/0, saying that this rung was/is complete, this was not the best example but I think you will understand
But in the next rung I had to put in a timer to delay the next cycle…Is there a better/more stable way? I don’t like using timers in Automatic cycles I think they are unstable to say the least…
The program has ran without interruption, but I don’t like not knowing the “best way” most stable/bullet proof.
I was wondering how do you... approach your automatic cycle in your program.
Say we are doing a pick and place…you have all the safeties and everything in place.
Starting with the fun part of the program, (you have already homed your controller) you get a enable (start PB)… next you want to lower your cylinders or move your axes…so you set your output… then what?
Do look for a verification of the part is complete?
Would you pass a bit from that rung to the next?
To enable the next step? Your array? Do you bit shift?
Also where does the scan to scan (time) fall in to play? A couple of months ago I did my first large program that included a fully automatic cycle and motion
I don’t think I considered the scan to scan time factor enough when I was programming
Example…in rung 0000 I would latch a bit B3:10/0, saying that this rung was/is complete, this was not the best example but I think you will understand
But in the next rung I had to put in a timer to delay the next cycle…Is there a better/more stable way? I don’t like using timers in Automatic cycles I think they are unstable to say the least…
The program has ran without interruption, but I don’t like not knowing the “best way” most stable/bullet proof.