Using Marlin for Generic CNC Machine Control: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
Line 13: Line 13:


//#define PIDTEMP
//#define PIDTEMP
=Links=
*[[G-code]]

Revision as of 20:59, 29 November 2019

Using Marlin for Machines other than 3D Printers

Marlin is the most common 3D printer firmware in the world.

It is useful to adapt it to other applications so that the toolchain for constructing new civilizations is Degenerate.

Examples

CNC Mill

Use Lulzbot Cura - and turn on loads such as spindle with D8, D9, D10. Use M42 for IO pin control - such as M42 P57 S255 for an 8 bit full on for pin 57.

For D10, turn duty cycle to on/off instead of the PWM preset. To do this, comment out PID temperature control to go into bang-bang (on/off) mode:

//#define PIDTEMP


Links