XHC-HB04 wireless MPG pendant HAL module
I appreciate your help very much! Thank you
Please Log in or Create an account to join the conversation.
xhc-hb04.hal:23: Pin 'axis.3.jog-enable' does not exist
check this line in xhc-hb04.hal line 23 has this pin been renamed or commented out perhaps
or in your main hal file look for any problems with axis.3.jog-enable
also any references to POC FMS LEN DIA COMMENT , either a typo or commented out line etc
Please Log in or Create an account to join the conversation.
In this caseDebug file information:
xhc-hb04.hal:23: Pin 'axis.3.jog-enable' does not exist
It looks like the xhc-hb04.hal file is configured for a 4 axis machine (axes 0, 1, 2, 3) and you probably only have 3 axes.
Comment-out line 23 (using a # character at the beginning of the line) and any other line that mentions axis.3
Please Log in or Create an account to join the conversation.
So I commented all the refernces and then I got this error:
xhc-ho04:47 Pin 'alui.mdi-command-06' does not exist
So I commented out these lines:
# X=0, Y=0, Z=0
# net x0 halui.mdi-command-06 xhc-hb04.button-x0
#net y0 halui.mdi-command-07 xhc-hb04.button-y0
#net z0 halui.mdi-command-08 xhc-hb04.button-z0
#net origin halui.mdi-command-09 xhc-hb04.button-goto-zero
which I am afraid are useful.
And then got this error:
custom_postgui.hal:7 pin 'halui.jog-speed' is connected to a signal2063
sorry to bother you again.... ama I getting close?
Thanks
Please Log in or Create an account to join the conversation.
"alui" or 'halui" ? ie, is it just a typo, or does the halui command not exist?xhc-ho04:47 Pin 'alui.mdi-command-06' does not exist
Those refer to G-code commands in the INI file. See MDI_COMMAND here:# X=0, Y=0, Z=0
# net x0 halui.mdi-command-06 xhc-hb04.button-x0
#net y0 halui.mdi-command-07 xhc-hb04.button-y0
#net z0 halui.mdi-command-08 xhc-hb04.button-z0
#net origin halui.mdi-command-09 xhc-hb04.button-goto-zero
which I am afraid are useful.
www.linuxcnc.org/docs/html/config/ini_co..._sub_halui_section_a
[/quote]custom_postgui.hal:7 pin 'halui.jog-speed' is connected to a signal[/quote]
Yes, in this case almost certainly related to the joystick that you plugged back in already trying to control jog-speed.
Do you intend to keep both the pendant and the joystick? That might be a bit tricky (who wins if they both want to jog at the same time?)
Is the joystick HAL file separate, or mixed up with the main machine hal? If it is a separate file, just comment it out in the INI file.
Please Log in or Create an account to join the conversation.
I will check MDI_COMMAND
You are helping me A LOT. I hardly unterstand all what we have done and I did not know where to look for, THANK YOU
I do not want the pendant and joystick at the same time.
I will look for the place to comment and get back to you.
THANK YOU VERY MUCH
Please Log in or Create an account to join the conversation.
It is finally working!!!!!
THANK YOU ALL!!!!!!
Tomorrow I will test in detail, but today I got to jog and change the jogging speed.
The display shows WC and different coordinates than the computer screen, I imagine it is world coordinates.
I felt like a complete idiot today understanding very little. And I have used computers for 30 years! But never linux.
I would like to learn more about linux and linuxcnc so I am more proficient in cases like this.
Can you guys recommend me where to read?
I imagine I have to learn about HAL and Linuxcnc more. And about installing devices in Linux.
I used Unix 30 years ago a lot, but today I was fighting even with sudo and folders.
Anyway, I will go to sleep today happy. Thanks again guys!
Best regards
Rodolfo
Please Log in or Create an account to join the conversation.
I would like to learn more about linux and linuxcnc so I am more proficient in cases like this.
Can you guys recommend me where to read?
You have already started to learn more. Pretty much all of what I know I learned either from making the mistake myself, or by researching the problem someone else was having (here or on the mailing list or IRC) from a position of slightly more information.
One document well worth reading, though, is:
linuxcnc.org/docs/html/hal/intro.html
linuxcnc.org/docs/html/hal/basic_hal.html
And then the "Realtime components and kernel modules" section here:
linuxcnc.org/docs/html/
Please Log in or Create an account to join the conversation.
The pendant is working but the section for touchoff for x y and z gives me an error at line 47 of zhc-hb04.hal
saying that pin halui.mdi-command-06 does not exist, so I have no tochoff capability from the pendant.
here are the rows that I have to comment out in order to use the pendant:
# X=0, Y=0, Z=0
net x0 halui.mdi-command-06 xhc-hb04.button-x0
net y0 halui.mdi-command-07 xhc-hb04.button-y0
net z0 halui.mdi-command-08 xhc-hb04.button-z0
net origin halui.mdi-command-09 xhc-hb04.button-goto-zero
Please Log in or Create an account to join the conversation.
[HALUI]
MDI_COMMAND=...
MDI_COMMAND=...
MDI_COMMAND=...
MDI_COMMAND=...
MDI_COMMAND=...
MDI_COMMAND=...
MDI_COMMAND=G10 L20 P1 X0
MDI_COMMAND=G10 L20 P1 Y0
MDI_COMMAND=G10 L20 P1 Z0
MDI_COMMAND=G0 X0 Y0 Z0
the last 4 being the important ones , which are in order of buttons x ,y ,z goto zero
i.e command 6 through to 9 ( these in order are 0,1,2,3,4,5,6,7,8,9 )
which can be confusing starting at 0
then uncomment the rows in your xhc hal file
Please Log in or Create an account to join the conversation.