On 9 May 2012 06:36, Mike Bennett <mjb1...@gmail.com> wrote: > For now just linking a button to perform touch off zero would be good, but I > need a way to control which axis. I have several buttons spare so I could > use one for each axis.
Touch-off is equivalent to G10, so you could link a button to an MDI_COMMAND pin in HAL. http://www.linuxcnc.org/docview/html/config/ini_config.html#_halui_section_a_id_sub_halui_section_a That isn't as clear as it could be, but every entry in that section creates a HAL pin called halui.mdi-command-NN and any time the pin is taken high the specified G-code will run. -- atp The idea that there is no such thing as objective truth is, quite simply, wrong. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users