- Posts: 2
- Thank you received: 0
hal and whb04b-06 hand wheel
5 years 9 months ago #196830
by AndiFS
hal and whb04b-06 hand wheel was created by AndiFS
Hi
I'm new to Linux CNC, I walked through the hal tutorial but I'm not sure if I understand everything correctly and I would need help.
I want to attach the whb04b-06 hand wheel to a example machine (HAL and INI files attached).
I use LinuxCNC 2.8.1, and a Mesa 7i76e. The xhc-whb04b-6.hal is from the documentation and i use the included driver and the given udev rule for the dongle.
I modified the ini to load the xhc-whb04b-6.hal and also included some MDI_Commands for the macros.
When I started the machine I had some double assigned signals, for example:
testmachine.hal
net axis-select-x halui.axis.x.select
net axis-select-y halui.axis.y.select
net axis-select-z halui.axis.z.select
xhc-whb04b-6.hal
net pdnt.axis.X.select whb.halui.axis.x.select halui.axis.x.select
net pdnt.axis.y.select whb.halui.axis.y.select halui.axis.y.select
net pdnt.axis.Z.select whb.halui.axis.z.select halui.axis.z.select
The issue in this case seems the halui.axis.*.select signal
I commented out the lines in testmachine.hal and I can start the machine now.
How do I solve this issue correctly?
Because it doesnt work correctly, for example I can't jog the axis, if I try it, I jog the feed controll but not the selected axis.
I checked the show hal config, it seems the axis get selected but the counter doesn't get increased.
Thanks for any help.
Andreas
I'm new to Linux CNC, I walked through the hal tutorial but I'm not sure if I understand everything correctly and I would need help.
I want to attach the whb04b-06 hand wheel to a example machine (HAL and INI files attached).
I use LinuxCNC 2.8.1, and a Mesa 7i76e. The xhc-whb04b-6.hal is from the documentation and i use the included driver and the given udev rule for the dongle.
I modified the ini to load the xhc-whb04b-6.hal and also included some MDI_Commands for the macros.
When I started the machine I had some double assigned signals, for example:
testmachine.hal
net axis-select-x halui.axis.x.select
net axis-select-y halui.axis.y.select
net axis-select-z halui.axis.z.select
xhc-whb04b-6.hal
net pdnt.axis.X.select whb.halui.axis.x.select halui.axis.x.select
net pdnt.axis.y.select whb.halui.axis.y.select halui.axis.y.select
net pdnt.axis.Z.select whb.halui.axis.z.select halui.axis.z.select
The issue in this case seems the halui.axis.*.select signal
I commented out the lines in testmachine.hal and I can start the machine now.
How do I solve this issue correctly?
Because it doesnt work correctly, for example I can't jog the axis, if I try it, I jog the feed controll but not the selected axis.
I checked the show hal config, it seems the axis get selected but the counter doesn't get increased.
Thanks for any help.
Andreas
Please Log in to join the conversation.
5 years 9 months ago #196833
by alkabal
Replied by alkabal on topic hal and whb04b-06 hand wheel
Hi
First, you do the good things with comment out.
Second, i think you only need to push button continuous or step for select the correct mode.
At startup the device is used as feed-rate override
Third, for now it's not possible to use again feed-rate override after using con or step due to a problem added in the driver included in Linuxcnc 2.8/2.8.1
A PR is on the way but we need to wait for acceptance and i think wait for 2.8.2 release (for buildbot install)
After PR accepted you can also use "spindle override" using lead position, after go back from lead you get feed-rate override until you set again continuous/step (or return to lead off course)
Br
First, you do the good things with comment out.
Second, i think you only need to push button continuous or step for select the correct mode.
At startup the device is used as feed-rate override
Third, for now it's not possible to use again feed-rate override after using con or step due to a problem added in the driver included in Linuxcnc 2.8/2.8.1
A PR is on the way but we need to wait for acceptance and i think wait for 2.8.2 release (for buildbot install)
After PR accepted you can also use "spindle override" using lead position, after go back from lead you get feed-rate override until you set again continuous/step (or return to lead off course)
Br
Please Log in to join the conversation.
5 years 9 months ago #196840
by AndiFS
Replied by AndiFS on topic hal and whb04b-06 hand wheel
Thank you very much, the continuous/step button solved the jog question.
The I still can change the feedrate with the buttons, so I'm good for now.
Thanks again.
Best regards,
Andreas
The I still can change the feedrate with the buttons, so I'm good for now.
Thanks again.
Best regards,
Andreas
Please Log in to join the conversation.
5 years 8 months ago #200178
by tecno
Replied by tecno on topic hal and whb04b-06 hand wheel
Please Log in to join the conversation.
Time to create page: 0.379 seconds
