XHC-HB04 wireless MPG pendant HAL module

More
10 years 8 months ago #70686 by blacksmith99
dgarret,

From the xhc-hb04.tcl file:

net pendant:spindle-rps <= motion.spindle-speed-out-rps-abs \
=> xhc-hb04.spindle-rps

From the SX3_parallel_hb04.ini file:

net spindle-cmd-rps-abs <= motion.spindle-speed-out-rps-abs
changed to:
#net spindle-cmd-rps-abs <= motion.spindle-speed-out-rps-abs

I commented out the line in the SX3_parallel_hb04.ini file and as you commented it was not connected.

That got it working. Thank you.

Regards,

Matt

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago - 10 years 6 months ago #73142 by dannym
Throwing this into this megathread:

I'm getting "Missing Stanza: [XHC_HB04_BUTTONS]"

[HAL]
HALUI=halui
HALFILE = 7i92_general.hal
HALFILE = xhc-hb04.hal
HALFILE = LIB:xhc-hb04.tcl

xhc-hb04.hal:
loadusr -W xhc-hb04 -I xhc-hb04-layout2.ini -H

xhc-hb04-layout2.ini:
#INCLUDE layout2.inc

layout2.inc:
[XHC_HB04_BUTTONS]
....

all these .ini/.inc files are already copied to linuxcnc/configs. They're unmodified.

Is is saying that XHC_HB04_BUTTONS is required, and can't be found? Why can't it be found?

EDIT: shoot, that that INCLUDE line commented out??
Last edit: 10 years 6 months ago by dannym.

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #73155 by cncbasher
layout 2.inc is your list of buttons. and it cant load or can't find them
#INCLUDE layout2.inc , needs to be included at the top of your ini file

you appear to be mixing the older xhc install , with the newer version .
which version of linuxcnc are you running ? older versions will not have the #INCLUDE function

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago - 10 years 6 months ago #73205 by dannym
It's LinuxCNC 2.7.4, Preempt RTK.

I think all the files came from the linuxcnc directory. I did see online that people had problems where the .ini file used dashes instead of underscores in the names, but there's none of that problem here. All underscores.

Like I say, #INCLUDE layout2.inc is right there at the top of xhc-hb04-layout2.ini, and that is referenced in the xhc-hb04.hal which is referenced from the main .ini. It seems like it should see it!
Last edit: 10 years 6 months ago by dannym.

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago - 10 years 6 months ago #73460 by dannym
OK back at the shop-

I stopped worrying about why the xhc-hb04-layout2.in and layout2.inc didn't get included and just added the relevant contents to my .ini file.

Now I get
monitor-xhc-hb04: xhc-hb04 comp not loaded
monitor-xhc-hb04: <pin or parameter 'xhc-hb04.connected' not found>
monitor-xhc-hb04: exiting

any idea?
Last edit: 10 years 6 months ago by dannym.

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #76314 by vre
No eBay APP ID and/or Cert ID defined in Kunena configurationHas anyone tested this version if works with linuxcnc ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum