i try to using uop signal to controll the program. uop start to start and uop hold to hold program. the program running and i turn on uop hold signal to hold( i also try using the uop cstop to stop when i look at uop config, cstop and fault reset is the same) but somehow it keep continue run the program where it left off. (i already set cstop for abort to true). i think it because when i put on hold/cstop the program not fault so it keep where it at(that is my though). so somehow i need to abord the program. is there away to abort the running program when using background logic so i can using uop signal to abort program? or is background logic can create some fault so the uop start can reset the program and call the top of the main job? thanks
question about background logic to abort program
-
lunknowl -
March 17, 2017 at 9:47 PM -
Thread is marked as Resolved.
-
-
This is a quote taken from Sr. Member, bidzej
I have not figured out how to post links to a thread.
In the System -> Config menu you can change the the Use CSTOPI for abort and Abort all programs by CSTOPI to TRUE. In this case, setting the CSTOPI UI will abort the program and the robot will be ready to start another one.I usually program a STOP button on an operator panel so that it pauses the program when it's running (using HOLD) and aborting the program when it is already paused (using CSTOPI). You can determine all conditions necessary for that functionality with UOP signals.
There are other contributors to the same thread that may be helpful to you.
I just did a forum search on the words
cstop abort -
The UOP Start signal will start the program wherever the line cursor is at. If you want to guarantee a start at the top of the program, then use the Production Start signal instead. Make sure in the config CSTOPI for abort = true.
Here is an example sequence to abort a currently running program then restart it from the top of your main program:
Pulse CSTOPI for 0.25 seconds
wait for 0.25 seconds
Pulse Production start for 0.25 secondsIf you have a fault then you will need to pulse reset then wait a couple seconds for it to clear. The HOLD signal should be high during all of this sequence. Timings of the signals may vary depending on your control system but I have found 0.25 seconds is enough for any of the UOP signals, except for fault reset.