John;

I could give you my machine config, but it might be confusing, as it is not
"textbook optimal"

Start here by googling "linuxcnc xhc-hb04" and see what you get.

Basically:
1)
loadusr -W xhc-hb04 -I xhc-hb04-layout2.ini -s 4 -H

There are at least 2 button sets, mine is "layout2"

2)
# Home button
net home halui.home-all <= xhc-hb04.button-home


I'll add text from a file below - you can see that I've had it for a while,
but it shows some button mappings:
--------------------------------------------------------------------------------


XHC HB04 Pendant connected to KC20:

Last updated Sept 04 2015

Row 1:
BUTTON=17:button-reset        halui-estop-activiate
BUTTON=16:button-stop        halui-program.stop

Row 2:
BUTTON=01:button-goto-zero    halui.mdi-command-09
BUTTON=02:button-start-pause    NC
BUTTON=03:button-rewind        halui-program.step
BUTTON=04:button-probe-z    halui.mdi-command-03    If pyvcp.o957 is true.

Row 3:
BUTTON=0C:button-spindle    halui.spindle.forward
BUTTON=06:button-half        NC
BUTTON=07:button-zero        or with selector    zero selected axis
BUTTON=08:button-safe-z        halui.mdi-command-10

Row 4:
BUTTON=09:button-home        halui.home-all
BUTTON=0A:button-macro-1    NC
BUTTON=0B:button-macro-2    halui.machine.on
BUTTON=05:button-macro-3    NC

Row 5:
BUTTON=0D:button-step        xhc-hb04.stepsize-up
BUTTON=0E:button-mode        xhc-hb04-stepsize-down
BUTTON=0F:button-macro-6    halui.spindle.decrease
BUTTON=10:button-macro-7    halui.spindle.increase

Selector:
off, X,Y,Z,A, Spindle.

feed knob - xyza movement; spindle override, feed override?

Display:

shows:
    axis-pos-feedback    pos-absolute
    axis-pos-relative    pos-relative
    spindle-rps
    feed-override



On Mon, May 7, 2018 at 1:33 PM, andy pugh <[email protected]> wrote:

> On 7 May 2018 at 17:47, Ken Strauss <[email protected]> wrote:
> > One can delete all of the tracking garbage starting with the question
> mark:
> > https://www.ebay.ca/itm/CNC-USB-Hand-Wheel-Pulse-
> Generator-MPG-Pendant-for-M
> > ach3-3-Axis-Router/271618047181
>
> You can delete the item description too.
>
> https://www.ebay.ca/itm/271618047181
>
> --
> 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, 1916
>
> ------------------------------------------------------------
> ------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to