reload program through pin

More
05 Nov 2011 12:16 #14591 by strykerg
is it possible to reload the current program through a hal pin?

i'm building a sort of pendant which includes a button for touching off the current axis. the touch-off works however unless the program is reloaded the backplot does not reflect the offset properly. and the only solution I found is to reload program (I guess that's what the touchoff button in axis does?)

or is there some other way to update the backplot?

thanks

Please Log in or Create an account to join the conversation.

More
05 Nov 2011 22:18 #14598 by andypugh
linuxcnc.org/docs/html/man/man1/axis-remote.1.html

Looks like one way. You probably need to make a pin call an MDI_COMMAND that calls a M101 custom-G-code that runs a script that calls axis-remote.
So, it's a bit of a long-winded kludge.
I think that GladeVCP allows you to link actions direct to controls, which is a bit more elegant.

Please Log in or Create an account to join the conversation.

More
06 Nov 2011 02:51 #14601 by strykerg
looks like its not that simple. ill have a deeper look into this, at least now i know what i'm looking for. will feedback once i get some reaults (or get stuck somewhere :p)

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum