@markz said in Duet3 as hardware for LinuxCNC?:
@smoe Is there a reason you want to use LinuxCNC?
I am not the OP, but I can give a few reasons, coming from the perspective of someone who learned Fanuc first. (Fanuc is the most common control used on industrial ["real"] CNC machines.) Please do NOT read this as a Duet flame, but a few "reasons" why someone would want it to interface with LinuxCNC.
I have put duets in a handful of benchtop machines, and really like it...for 3d printers or small, limited machines. However, if you learned on a Fanuc or other real cnc controller, compared to LinuxCNC, duet software is like an annoying little toy that does not quite get things right, and always makes you wish for something better. Sure, it's perfect for 3d printers, and for hobbyists who haven't learned otherwise, but there's just those things where Duet fall short.
Here are a few examples.
The Duet "ignores" M0 and M1 for conditional stop. This is unsafe if you do not know it is nonstandard. Every industrial machine on the planet works like LinuxCNC and not like Duet. Every Yasnac, Fanuc, Haas, Fadal, General Dynamics, Flashcut and LinuxCNC machine I have ever used has been predictible with their behavior of M0 and M1, and none of them match Duet, and this is just one rudamentary command that should be simple to implement.
Another example is the need to configure e.g. extruders or heaters when you do not want those. LinuxCNC, for instance, only requires configuring systems or i/o you intend to use.
Duet cannot handle backlash, and that's critical for any application where precision is critical.
LinuxCNC has its flaws, but at least it follows industrial standards. Also, once you get comfortable with its interface, it is more comfortable than yet another new "non-standard" interface that is yet another hobbyists interpretation. And, it has interface choices.
LinuxCNC cannot toggle parallel ports fast enough, so they have used Mesa fpga cards to allow high speeds. I know there's a Raspberry Pi port, but it also has limitations. I could easily see a blend, like RPi & Klipper where the RPi runs the interface, and the Duet handles the I/O, instead of a Mesa card. With the Duet being a dumb pulse generator & I/O hardware, the RPi could make it into a very pleasant cnc experience.