Software improvements?

From the original Synthetos forum (2011–2025)

Started by HadleyRille on in grblShield Feature Requests. 2 replies, last activity Jul 12, 2011.

#

I've programmed for other motion control systems before, but this is my first experience with G-code. Please correct me if I'm missing something, but it looks like there is currently not a way to:

1: Immediately stop the motors if something goes wrong or I need to clear chips, etc.

2: Interrogate the grblshield for the current position of the motors and whether a movement command is in progress or complete.

I'm writing a Python program to stream G-code commands to the grblsheild, but I'd like to wait until the current command completes or is near ( maybe 1/2 second ) before issuing the next one. In this case, I could check to see if the user wishes to interrupt the program to make a change. For now, I'm just going to estimate how long I think it'll take and just wait that long, but that's kind of stupid and ugly.

It would be super useful to be able to query the grblshield for the axis positions. It would also be very useful to be able to simply inquire if the motors are moving or not.

Thanks for the consideration.

-John

Thanks

Staff #

John, These are all good ideas. Have you posted your items to Issues on the grbl github? https://github.com/simen/grbl/

We only developed the grblshield to run on top of grbl, and are not the authors of grbl itself. A number of people have forked grbl and are making various modifications, and the project itself moves along as well. You might get better response posting to those forums - and it's also possible that one of the grbl forks is addressing these items.

It's possible to sync on grbl's 'ok' return prompt. When you receive that it's OK to send the next Gcode block (line) without overrunning the buffers Also, I think there's a Ruby script on the grbl site that streams to grbl.

Alden

#

Ah, I see two others have asked for exactly the same thing over there! I'll see about chiming in with a hearty "Me too. What he said."

Thanks!

This topic is from the original forum (July 2011). Your reply starts a new discussion linked to it.

Reply

Different problem? Ask a new question

Back to grblShield Feature Requests or latest activity.