Current recommendation for MPG
- kg2v
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 1
28 Sep 2021 20:12 #221777
by kg2v
Current recommendation for MPG was created by kg2v
Hey Gang,
I don't fire up my CNC box that often (a PC using parallel port, to a Gecko driving a Sherline)
Anyway, thinking of adding a MPG, but of course, most of the stuff you see out there is for stuff that is either no longer available, and when you look on say Amazon for a xhc-whb04b-4, they all say "Mach 3 only" etc
So what is the current recommendation for MPGs
I don't fire up my CNC box that often (a PC using parallel port, to a Gecko driving a Sherline)
Anyway, thinking of adding a MPG, but of course, most of the stuff you see out there is for stuff that is either no longer available, and when you look on say Amazon for a xhc-whb04b-4, they all say "Mach 3 only" etc
So what is the current recommendation for MPGs
Please Log in or Create an account to join the conversation.
- Donno
- Offline
- Premium Member
Less
More
- Posts: 137
- Thank you received: 16
29 Sep 2021 04:21 #221798
by Donno
Replied by Donno on topic Current recommendation for MPG
I was searching the same thing last week, seems there is a driver build in LinuxCNC .
Hope this video helps.
Hope this video helps.
Please Log in or Create an account to join the conversation.
- Muzzer
- Offline
- Elite Member
Less
More
- Posts: 262
- Thank you received: 37
29 Sep 2021 10:20 - 29 Sep 2021 10:24 #221817
by Muzzer
Replied by Muzzer on topic Current recommendation for MPG
Confusingly there are several versions of the "WHB04" and several HAL files to suit but they aren't interchangeable. I have one like the example in the video but that seems to be superseded now. So more recently I bought the current version directly from XHC's AliExpress shopfront - the price is fairly consistent but you might as well buy direct from the manufacturer.
www.aliexpress.com/item/1000001956168.ht...e.0.0.5d294edfWLSNyw
They don't support LinuxCNC natively, which is why the descriptions talk about Mach 3 etc - but the LinuxCNC boys have done a great job writing their own HAL driver. For the "current" model, XHC-WHB04-6, the correct HAL file and documentation is here: linuxcnc.org/docs/2.8/html/man/man1/xhc-whb04b-6.1.html
My final HAL file is very close to this example in the end. Note that the -4 and -6 versions support 4 and 6 axes. I actually have a -6 used on my lathe but the unused axes don't cause a problem.
For your reference, here's my current HAL file, as used on my lathe. It may not be a reference quality example but it works with gmocappy and Probe Basic.
They don't support LinuxCNC natively, which is why the descriptions talk about Mach 3 etc - but the LinuxCNC boys have done a great job writing their own HAL driver. For the "current" model, XHC-WHB04-6, the correct HAL file and documentation is here: linuxcnc.org/docs/2.8/html/man/man1/xhc-whb04b-6.1.html
My final HAL file is very close to this example in the end. Note that the -4 and -6 versions support 4 and 6 axes. I actually have a -6 used on my lathe but the unused axes don't cause a problem.
For your reference, here's my current HAL file, as used on my lathe. It may not be a reference quality example but it works with gmocappy and Probe Basic.
Attachments:
Last edit: 29 Sep 2021 10:24 by Muzzer.
Please Log in or Create an account to join the conversation.
Time to create page: 0.051 seconds