stefanix / LasaurGrbl

This is grbl for the Lasersaur. Grbl is a g-code-centric CNC controller and Lasersaur is an open source laser cutter.
http://lasersaur.com/
42 stars 14 forks source link

M112 cancel command funky #2

Closed stefanix closed 12 years ago

stefanix commented 13 years ago

While the command does work it shows some strange behavior regarding its arguments. For example "M112X0Y0F10000" should stop any processing and move to 0,0 at F10000.

It seems to move it to 0,0 plus an offset and at whatever speed was current.

stefanix commented 12 years ago

M112 response highly improved in norcham branch, still a bit slow in some situations, eg. very long, highly tesselated, gcode programs that bring the controller to its speed limits

stefanix commented 12 years ago

This got fixed with the ! and ~ control characters and when the code base got aggressively simplified. The main issues where data cross-access from main thread and stepper interrupt. The solution was to simply request certain things and let the part of code that was mainly responsible for a certain data field do the adjustments/deletions/etc.