reload program through pin
- strykerg
- Offline
- Senior Member
Less
More
- Posts: 53
- Thank you received: 0
05 Nov 2011 12:16 #14591
by strykerg
reload program through pin was created 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
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.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23310
- Thank you received: 4858
05 Nov 2011 22:18 #14598
by andypugh
Replied by andypugh on topic Re:reload program through pin
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.
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.
- strykerg
- Offline
- Senior Member
Less
More
- Posts: 53
- Thank you received: 0
06 Nov 2011 02:51 #14601
by strykerg
Replied by strykerg on topic Re:reload program through pin
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 )
Please Log in or Create an account to join the conversation.
Time to create page: 0.088 seconds