Hello Guest it is June 22, 2021, 11:01:00 AM

Author Topic: Mach4 driver for NextWave Piranha FX  (Read 457 times)

0 Members and 1 Guest are viewing this topic.

Mach4 driver for NextWave Piranha FX
« on: February 24, 2019, 07:42:30 PM »
I have a NextWave Automation Piranha FX CNC from mid-2015 that I've been very happy with and have developed a couple of custom applications for. I am going to write a driver plugin for Mach4 that will run the CNC - let's face it, the NextWave Control Panel was a bad joke but it at least let me figure out how to communicate directly with the Piranha CNC. I have been playing around with Mach4 and it seems to do what I want as an application. Now I just need to glue the two parts (Piranha CNC and Mach4) together.

I understand I can script Mach4 in Lua. I also understand there is an SDK/API for Mach4. I am assuming that the Lua script API has certain limitations such as creating a new hardware driver so the native SDK will be a better option.

I've poked around the Mach4 website, and I am probably overlooking something obvious, but I don't see any mention of an SDK or anywhere to download an SDK. Google search doesn't seem to throw anything up either, other than these forums.

Anybody have a "click this link dumb****" for a next step?
Re: Mach4 driver for NextWave Piranha FX
« Reply #1 on: February 24, 2019, 07:45:38 PM »
Please ignore my message. I seem to have found it by simply looking in the Program Files directory.
Re: Mach4 driver for NextWave Piranha FX
« Reply #2 on: February 24, 2019, 10:39:56 PM »
That was surprisingly easy. Mach4 jog function controlling Piranha FX implemented. On to the next task, touch plate detection.
Re: Mach4 driver for NextWave Piranha FX
« Reply #3 on: February 25, 2019, 04:01:12 AM »
Jog, GCode download, all four axes, touch plate detection, Idle, Hold, E-stop, and a few other bits all done and working on the Piranha FX. I am not sure what else I need to add at this point.

I should probably go and buy a copy of Mach4 Hobby now.

Thank you New Fangled for making an API that was easy to work with.