xhc-hb04 homing problem

More
04 Aug 2020 10:25 #177210 by ericg
I recently posted this question but probably did not explain myself well.. I used to run axis through a parallel port on Linux wheezy, I had hard drive issues and rebuilt the software but this time I used Linux Buster and a Mesa card (all working well) now my originally working xhc-hb04 pendant home-all button fails with an error message 'not in joint mode' (or something similar - I'm in my study at night at the moment), all other buttons that were originally working are still working, just not the home-all button, so I don't see where the problem is as the wheel will move each joint, the origin button moves the joints to origin etc.
Can someone assist? or point me to some documentation.
I'm using Linux debian 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux and my hal, ini and pendant hal files are attached.
any help appreciated
Eric
Attachments:

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

More
05 Aug 2020 11:53 #177384 by andypugh
Replied by andypugh on topic xhc-hb04 homing problem
Have you moved from LinuxCNC 2.7.x to 2.8.+ ?
(You appear to be on 2.8.x or 2.9.x now)

linuxcnc.org/docs/2.8/html/man/man1/halui.1.html

Mentions that a valid homing sequence must be defined, but you appear to have that.

What happens if you unhome-all from the GUI and then home-all from the pendant?

In the Axis GUI you can toggle between joint mode and axis mode with the $ key.

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

More
05 Aug 2020 12:49 - 05 Aug 2020 12:52 #177389 by ericg
Replied by ericg on topic xhc-hb04 homing problem
uname -a gives me... Linux linuxcnc 4.19.0-10-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux
but that is none of what you mentioned, perhaps I am using an unsuitable version? homing with the button works when I first turn on, but I normally use the home all button in axis, when a program completes I can use the home all button again (with the usual message saying it is already homed) but the pendant home all no longer works,
How do I unhome all in axis?
I tried the $ shortcut but that also does not seem to work
Tomorrow I was going to try going back to Debian 9 (stretch) with an earlier version of LCNC to see what happens
thanks
Last edit: 05 Aug 2020 12:52 by ericg. Reason: added a bit more info

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

More
05 Aug 2020 12:51 #177390 by andypugh
Replied by andypugh on topic xhc-hb04 homing problem
LinuxCNC has a popup showing the version when it first starts. It is also in the title bar in Axis.
The following user(s) said Thank You: ericg

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

More
05 Aug 2020 23:30 #177441 by ericg
Replied by ericg on topic xhc-hb04 homing problem
Thanks for the feedback, I'm a bit slow at times, I see the version every time I start LCNC up but it never registered, Anyway, I'm using 2.9.0 -pre0, also I used unhome-all from gui menu (never used that before) and the pendant button worked, the $ key seems to have no effect.
Does this suggest I should use a preconfigured LCNC with 2.8.x ?

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

More
06 Aug 2020 00:07 #177445 by andypugh
Replied by andypugh on topic xhc-hb04 homing problem

the $ key seems to have no effect.


That shortcut appears to not exist any more in 2.8+ since the Joints-Axes changes.


Does this suggest I should use a preconfigured LCNC with 2.8.x ?


2.8 is the same, having just tried it.

The answer seems to be
# Home button
net home xhc-hb04.button-home => halui.mode.joint    halui.home-all

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

More
06 Aug 2020 01:43 - 06 Aug 2020 01:52 #177452 by dgarrett
Replied by dgarrett on topic xhc-hb04 homing problem

ericg wrote: the $ key seems to have no effect.
...
That shortcut appears to not exist any more in 2.8+
since the Joints-Axes changes.


In 2.8 and up, the axis gui '$' key binding is available
for non-identity kinematics.

Ref:
github.com/LinuxCNC/linuxcnc/blob/2.8/sr...cripts/axis.py#L4022
github.com/LinuxCNC/linuxcnc/blob/master...cripts/axis.py#L4041


If using trivkins, one can use the module parameter
'kinstype' to force non-identity kinematics
Example: 
[KINS]
KINEMATICS= trivkins coordinates=xyz kinstype=b
...

Ref:
linuxcnc.org/docs/2.8/html/man/man9/trivkins.9.html
Last edit: 06 Aug 2020 01:52 by dgarrett.

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

More
06 Aug 2020 03:45 - 06 Aug 2020 03:46 #177463 by ericg
Replied by ericg on topic xhc-hb04 homing problem
many thanks andypugh, that did fix it, I must try and learn more of LCNC, i do find it a bit overwhelming though not being much of a programmer.
And thanks dgarrett I'll read what you posted.
Last edit: 06 Aug 2020 03:46 by ericg.

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

More
06 Aug 2020 03:52 #177464 by ericg
Replied by ericg on topic xhc-hb04 homing problem
ps. there seems to be a need for an idiots guide to LCNC, I don't understand half the terminology such as kinematics which I had to look up and still don't quite understand and trivkins etc

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

Time to create page: 0.086 seconds
Powered by Kunena Forum