Software improvements?

Home Forums gShield grblShield Feature Requests Software improvements?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1573
    HadleyRille
    Member

    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

    #1574
    alden
    Member

    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

    #1575
    HadleyRille
    Member

    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!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.