Gentlemen,
I have been playing with this. I have a 'sort of' answer. It
functions and allows the spindle to be started. You can stop the
spindle at any time and restart it at any time as long as an s number
has been read by the control.
It doesn't inhibit the axis motion for the restart (still working
on it) but it allows the machine to be restarted in the middle of the
program and start the spindle.
You must be using the 'axis' gui.
use a 'pyvcp' button
connect in postgui.hal like this:
net spindle pyvcp.spindle halui.program.pause toggle.0.in
net spinON toggle.0.out halui.spindle.stop not.0.in
net spinOff not.0.out halui.spindle.start
use 'set next line'
restart using 'step'
push the pyvcp button twice
Like I said, this is a 'sort of' workaround. This function needs to
be addressed more complete and in a better fashion but in the interim
this will allow you to restart in the middle of a program.
thanks
Stuart
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users