Page 1 of 1

Can a GCode Interpreter and Trajectory Planner run inside Kflop?

Posted: Wed Aug 29, 2018 8:11 pm
by Pilot65
Is it possible to create a GCode Interpreter (and Trajectory Planner) and run it inside Kflop, so that Kflop
executes streaming Gcode from the USB/Serial, line-by-line.

Intended usage is with OpenPNP which is transmitting Gcode one line at a a time.
This is simple Gcode, only 2-axis linear interpolation, and multiple axis non-interpolated.

Re: Can a GCode Interpreter and Trajectory Planner run inside Kflop?

Posted: Wed Aug 29, 2018 9:56 pm
by TomKerekes
Hi Pilot65,

As you may know KFLOP is best driven through the KMotion PC libraries. But I suppose such stand alone capability should be possible but take some work. You would need to create a GCode parser and issue motion commands. I would think with a pick-and-place System all you might need is point-to-point motion which could be achieved with independent axis moves. If multiple axis need to move in a straight line, this can be achieved simply by scaling down the Velocity, Acceleration, and Jerk of the faster Axis to match the slower Axis.