On 04/05/2017 09:58 AM, Joe Hildreth wrote: > I have a good portion of the manpage written for this user component, > but have a question.
Great! > If one wanted to use the hal_manualtoolchange.change_button as an > external button, should this input be ORed with the > hal_manualtoolchange.changed and then the OR output sent to > iocontrol.0.tool-changed this giving the option of either the dialog > continue button OR an external button? No. hal_manualtoolchange treats its .change_button input pin exactly like it treats a click on the button in its GUI window. The intended use of that pin is for if you want a physical button on the machine's control panel to let the operator signal completion of a manual tool change. You'd bring the physical button into HAL (via a parport input pin or a hostmot2 gpio input or similar), and wire it directly to the .change_button input. Then when LinuxCNC executes M6, hal_manualtoolchange will pop up its GUI window, and *either* a mouse click in the GUI or pushing the physical button will signal to hal_manualtoolchange that the tool change is complete. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users