Code to drive a CNC machine via a PC LPT port lookalike 25 pin 'D', experiment in 'PC/Mach3' replacement.
Designed to compile and run on mbed LPC1768, Freescale KL25Z and Freescale KL46Z. Proved on LPC1768 and KL25Z, problem with serial port on KL46Z.
Reads subset of 'G Codes' through usb/serial port and drives 3 stepper/servo drives for X, Y and Z, also similar Step/Dir outputs for spindle motor control. Emulates PC LPT, outputs 'charge pump', proved driving Seig KX3 CNC mill
CNC Machine driver, emulates PC LPT port, docs are wip
As used to produce Lissajous patterns for EiM articles. XYZ axis good, Axis A not implemented, spindle 'S' working. Using MODSERIAL, therefore no longer compatible with KL46Z, good for KL25Z and Mbed LPC1768
Currently creates 3 sets of Step and Dir signals for stepper motor drivers. Accepts via putty etc, as yet minimal set of 'G Codes' for CNC - G0, G1, G2 and G3. Still wip.
First wip, tested on KL25 and KL46