Category: PathPilot
Hi folks,
First, apologies as I know this has been discussed before several times, but I can't seem to find enough recent information about what I'm hoping to do. I have a 2024 model Tormach PCNC 440, currently running Pathpilot 2.12, and has a Mesa 7i92tf as controller and Leadshine MX3660 as 3-axis driver. I added a Xoomspeed USB I/O box to enable spindle reversing (mostly for tension/compression tapping) and it works nicely (thanks David Loomes)! I have configured a 4th axis with a 4-wire Nema32 stepper (plus 100:1 harmonic reduction), using a Leadshine DMA860H as a driver. It works nicely too!
What I'm hoping to do next is add a 5th axis, and I already have another DMA860H and 5th axis (one nema23 mounted on another, both with 50:1 harmonic reductions. I talked with someone at Mesa and I believe I understand the wiring and controller firmware updates I need to make (I have a Sainsmart 5-axis breakout board to connect as daughter card to the 7i92tf, Mesa is writing me firmware for this). I also believe I have what I need to program CAM, using Fusion 360 with the manufacturing extension. What I will need help with is configuring Pathpilot to work with a 5th (C) axis, as well as modifying the post processor (ideally David Loomes' Xoomspeed Pathpilot with Probing post since I use in-program probing and prefer that one, especially angle probing for coordinate rotation!).
Now, I know that Tormach apparently removed the 5th axis functionality from Pathpilot. My first question to the forum is: would you recommend adding it back into Pathpilot? Or should I switch to a regular LinuxCNC install? I do like the Pathpilot interface and post processors for Fusion 360 I'm using, plus I'm not very familiar with Linux in general (even though my "Pathpilot computer" is of course running Linux and I have worked with it to add a VistaCNC pendant and the Xoomspeed I/O box, 4th axis, and Samba LAN filesharing. And I'm comfortable modifying ini/hal files and running terminal commands as long as I know what they should be), so I would prefer to stay with Pathpilot. Having a DRO for the C axis in the GUI is a nice-to-have but I think I could live without it, at least for now, so I won't necessarily need to modify the Pathpilot GUI. But if LinuxCNC is the way to go, my second question is: would it be possible to dual-boot on my linux box ("Pathpilot Computer") so that I can use Pathpilot for 3 or 4-axis jobs and switch to LinuxCNC for 5-axis jobs? I like the idea of having a separate partition for LinuxCNC, especially because I'm worried about messing something up and not getting it to work at all, and having to do a full Pathpilot re-install (plus redo all the modifications I've made) just to get back to a usable 3/4axis setup.
For the modify Pathpilot route, my next question is: how exactly do I go about adding the 5th axis (simultaneous 5th, not just indexing of course.. with or without TCP, I still need to figure out exactly what TCP is and if I want/need it.. or if it's even relevant here)? I can't seem to find a tutorial or much documentation about this, can anyone here point me towards a resource, or possibly give me a list of what files I'll need to modify (I might be able to figure out what the modifications are from the LinuxCNC documentation, but it's hard to be sure that I know the full list of what needs to be modified)? I learned that Pathpilot will overwrite any firmware changes to the controller on each startup, but I think I found how to disable that too so that I can use the firmware modified to work with the breakout board. I'll also need to know what to modify (if anything) in either Tormach's post or, preferably David's post, though for testing I'm happy to write the NC code by hand or use MDI. I'm a little familiar with modifying posts from analyzing sections of David's post that were giving me weird g-code (rapid move during expanded tapping?! turned out it was intentional and a clever hack for tension/compression heads) and to add back the code to apply coordinate rotation after angle probing, which David had removed apparently due to some random errors with axes limits he ran into during testing. Anyway, bonus points if you can tell me exactly what the mods would be or give me modified files.. actually, I'd happily pay someone a few hundred dollars for this service if it results in a working 5-axis system (seriously, let me know if you're interested)!
For the LinuxCNC path, other than dual-booting/partitioning I think I can find the documentation I need to configure the 5th axis, and hopefully make the SW connections to my hardware. Actually I can probably figure out the dual booting too, just want to know if it's possible and advisable. But if anyone wants to give any advice on this path here (a list of steps or files to modify, gotchas, workarounds, links to tutorials/helpful documentation/etc.) I would also be very grateful. And a question, maybe for a later time - how easy (or possible) is it to put the Pathpilot GUI onto a generic LinuxCNC install? I don't necessarily need the conversational functionality, but I do really like how probing and ETS works in Pathpilot.
Anyway, thanks for reading and in advance for any replies! Apologies again if people are tired of talking about 5th axes in Pathpilot. I'm a resourceful guy and usually pretty good with research (and retired so I have a lot of time on my hands) so I don't necessarily need step-by-step instructions but I can sense that there are some gaps in what I can find and understand here. Any hints to fill those gaps would be super helpful and very much appreciated!
-Ryan in Mexico