I've followed the directions in this link.
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding_Custom_MDI_Buttons

LinuxCNC fails on start up if I include this line in the postgui.hal file.
net remote-rapid-to-home halui.mdi-command-00 <= pyvcp.rapid-to-home

I am also running the XHC_HB04 Pendant and in the HAL file there is this
[HAL]
HALFILE = LIB:xhc-hb04.tcl

[XHC_HB04_CONFIG]
layout = 2

There's also the xhc-hb04-layout2.cfg
[XHC-HB04]
BUTTON=01:button-goto-zero
BUTTON=02:button-start-pause
BUTTON=03:button-rewind
BUTTON=04:button-probe-z
BUTTON=05:button-macro-3
BUTTON=06:button-half
BUTTON=07:button-zero
BUTTON=08:button-safe-z
BUTTON=09:button-home
BUTTON=0A:button-macro-1
BUTTON=0B:button-macro-2
BUTTON=0C:button-spindle
BUTTON=0D:button-step
BUTTON=0E:button-mode
BUTTON=0F:button-macro-6
BUTTON=10:button-macro-7
BUTTON=16:button-stop
BUTTON=17:button-reset

I can't find how the button-goto-zero is linked to 
MDI_COMMAND = G0 X0 Y0 Z0
Any suggestions?
Thanks
John

"ELS! Nothing else works as well for your Lathe"
Automation Artisans Inc.
www dot autoartisans dot com 




_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to