XHC-HB04 pendant for noobs

More
22 Jun 2016 05:40 #76395 by SvenH
I've bought myself the XHC-HB04 pendant and have been trying to get it working for a few days.

I have found the page in the wiki and the very long thread on the forum.
But I can not find my way around the huge amount of information and I am not that savvy when it comes to linux configurations, I would welcome some guidance.

I have found the XHC-HB04 simulator configuration that is available as standard in 2.7 (I'm on 2.7.4), set it up and have the pendant running in this SIM.

As far as I know I now have to copy stuff from the SIM to my own machines configuration files.
But I am totally lost as to copy what to where...

Any help very much appreciated!

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

More
22 Jun 2016 08:58 #76403 by cncbasher
can you post your config files as an archive , and i'll set it up , or email the archive to me
( it's easier to compress the full folder and all contents and makes my life easier lol . )
The following user(s) said Thank You: SvenH

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

More
22 Jun 2016 12:08 #76416 by dgarrett
Replied by dgarrett on topic XHC-HB04 pendant for noobs
There are some instructions in the README file placed in the directory of your sim config

Recommended procedure is to create a new configuration based on an existing configuration.

Copy all files from an existing (working) configuration directory
to a new directory and edit the configuration ini file to:
a) add [HAL]HALFILE = LIB:xhc-hb04.tcl
(this entry should follow other HALFILE entries)
b) (optional) add [APPLICATIONS]APP = xhc-hb04-accels
in order to use [XHC_HB04_CONFIG]mpg_accels
c) (optional) add [APPLICATIONS]APP = monitor-xhc-hb04
to monitor disconnects/connects of pendant
d) add stanza [XHC_HB04_CONFIG] to configure pendant
e) include stanzas [XHC_HB04_BUTTONS] and [HALUI] to
define button actions (these may be in a separate
#INCLUDE file -- see the demo examples)

The entries in the new or updated stanzas should be customized for your machine.

The complete README file is here:
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...ME;hb=refs/heads/2.7

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

More
23 Jun 2016 05:43 - 23 Jun 2016 05:49 #76473 by SvenH
Replied by SvenH on topic XHC-HB04 pendant for noobs
Got it working with the help of cncbasher, thanks!

I have to admit, the information that is available on making the pendant work is a bit overwhelming for a noob.
The readme file itself is overwhelming where as a noob, you would normally can just deal with copy this and put it there, then take your original machines .ini file and add the lines that look like "this" above the other entries.

(or something of that nature)

But still, it is great that a bunch of people put in the effort to make the adaptations, and I am very happy to finally have a pendant!
Last edit: 23 Jun 2016 05:49 by SvenH.

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

More
09 Jul 2016 20:02 #77233 by bartwaw
Replied by bartwaw on topic XHC-HB04 pendant for noobs
Hi,
configuration pendant in 2.7.4 is little bit complicated.
Docs don't cover everything.

Using LinuxCNC over 2 years. Configured (very simple configuration) XHC in 2.6
But after spending few hours it was possible.

But in 2.7.4 it's not so clear thing.

I suppose that i should copy all files (and LIB link) to working configuration.

I've put to INI
[HAL]HALFILE = LIB:xhc-hb04.tcl

Test run to find errors and we got it.
He need also HALUI = halui in [HAL] definition.

Put also in working ini
[XHC_HB04_CONFIG]
and
[XHC_HB04_BUTTONS]

in README was about INCLUDE, but i suppose that will also work

After that get new errors. But now about

std_start_pause
and
motion.probe-input

Read that there is something duplicated in
my-mill.hal

deleted them and he really don't likes me
another thing
spindle-at-speed true

Gave up - lost whole day :)

So if someone can help.

Got also question.

It's possible to use one button to touch off axis that is selected on rotary switch ?

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

More
28 Jul 2016 08:58 #78093 by jaro_p
Replied by jaro_p on topic XHC-HB04 pendant for noobs
Can someone do a detailed as possible simplest instructions on how to install the XHB HB04 Linuxcnc 2.7
Only to operate all basic functions , without unnecessary descriptions of something special ?
Just step by step exactly for the type of 16/18 key.
For clarity , a separate command XHC - hb04 works - returns values ??for all keys.
The simulation configuration XHC - hb04 - layout2_mm works well.
Thank you

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

More
09 Feb 2017 10:31 - 09 Feb 2017 10:32 #87644 by RobertoMFS
Hi guys,
I have an HB04 Pendant for a year and try to install several times with no success :-(
My CNC it's a customer made 1000x600x12mm work area, and I buy it configured (v2.6.x)
I'm Making a new fresh instal for the last version 2.7.8 (i'm newbie for Linux, I can use the LinuxCnc Software, but very limited in linux configurations.
The Sample config work fine (layout2 in mm) but its imposible to me to make work with my machine.

Would be great a detailed step by step configuration guide if its possible.
if not i can upload my CNC files if some experienced user can help me to configure.

I configure the "Probe Screen" following this steps:

the Machine moves, the probe in works, but I don't machine the triple edge finder plate to test it yet.
But it's near impossible to me add the HB04 to my machine.

Thanks in advance
Regards
Rob.
Last edit: 09 Feb 2017 10:32 by RobertoMFS.

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

More
24 Feb 2017 00:24 #88570 by RobertoMFS
Done
I do it my self, a lot of time trying, but works.
I need to configure some buttons now.
Regards
Rob

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

Time to create page: 0.080 seconds
Powered by Kunena Forum