Page 1 of 1

G Code Interpreter Development

PostPosted: Thu Dec 13, 2012 7:12 pm
by vegipete
It's been quite a long time in the making but my interpreter is finally getting close to being useful. I was using it previously to draw with a pen on paper with synthetic feedrates but now that real feedrates are working, it is already quite usable. There are a few more features I want to implement before general release but it's getting close.

The current version functions as a 2.5 axis machine. Z moves are performed before X and/or Y moves if they're together in the same block. Units can be inches or millimeters. Each axis can be individually calibrated for the number of steps per inch. Maximum step rate is near 100kHz - yes, one hundred thousand steps per second.
So far, only lines are done - no arcs yet.

Here's something silly done with it:

(The stepper driver in this video is the new THB6064AH driver from MassMind.)

Anyone have any specific requests?

Re: G Code Interpreter Development

PostPosted: Sat Nov 16, 2013 12:20 pm
by Embedded_robots

I'm trying to make a g-code interpreter on the PIC32. Could you possibly share the code? I'll be using it as a reference.

Thank you!