HI Andy, Yes. I found the appropriate output pins. I couldn't find anything that was an input. It doesn't really matter until the jog feature of a pendent is used for final Z for tool positioning after X or Y was jogged by keyboard or AXIS button. When button on the user interface screen is pressed it does not apply to the Z axis motion.
So far the HB04 and the Shuttle Express have that problem on 2.7 and up. Curious if any other pendants show the same issue and if not what do they do. In the case of the HB04 the '=' button sets the selected axis to 0. However that's done with a G code. From the include cfg file. # synthesized per-axis buttons for zero button: zero-x = halui.mdi-command-12 zero-y = halui.mdi-command-13 zero-z = halui.mdi-command-14 zero-a = halui.mdi-command-15 and then under the [halui] section #12 Set current physical X position to be 0 MDI_COMMAND= G10 L20 P0 X0 #13 Set current physical Y position to be 0 MDI_COMMAND= G10 L20 P0 Y0 #14 Set current physical Z position to be 0 MDI_COMMAND= G10 L20 P0 Z0 #15 Set current physical A position to be 0 MDI_COMMAND= G10 L20 P0 A0 But that doesn't change the AXIS radio button display either although it's equivalent to the Touch Off. I suppose the link shows that a pendant button could also be programmed to do the subroutine here: https://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g10-l10 But what I'd like to see is a prevention of an operator error which happens when keyboard/button click operations are mixed with pendant operations. Guess I have to dig into the AXIS source code. Shudder! John > -----Original Message----- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: July-16-21 6:49 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] AXIS UI Jog Button > > On Thu, 15 Jul 2021 at 18:34, John Dammeyer <jo...@autoartisans.com> wrote: > > > How do I tell the axisui the specific button has been pressed? > > Axis has _output_ pins to control which axis is jogged: > http://linuxcnc.org/docs/2.8/html/gui/axis.html#_axisui_pins > > But I don't think that there is anything to tell axis that you have > just jogged a different axis. > > It is possible that the halui pins might set state that propagates through. > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > � George Fitch, Atlanta Constitution Newspaper, 1912 > > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users