Welcome to Our Community

Some features disabled for guests. Register Today.

Prompt Grbl for position

Discussion in 'Other Software' started by benet116, Oct 25, 2019.

Tags:
  1. benet116

    benet116 New
    Builder

    Joined:
    Oct 25, 2019
    Messages:
    1
    Likes Received:
    0
    Hey everyone,

    I was wondering if anyone knew how to use python to prompt Grbl for its current position (x,y,z)? The goal is to send all my g-code via python (can already do that with existing codes), and I want to periodically prompt GRBL for its current position, then write these to a file such that in the .txt file you would have an large matrix of all your [ x | y | z ].
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Project Maker Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    5,328
    Likes Received:
    1,798
    Just send "?"

    See gnea/grbl - the grbl interface is described in great detail for developers on the Wiki
     
    David the swarfer and sharmstr like this.

Share This Page

  • About Us

    The OpenBuilds Team is dedicated helping you to Dream it - Build it - Share it! Collaborate on our forums and be sure to visit the Part Store for all your Maker needs.


    [email protected]

  • Follow us on Instagram

  • Support Open Source FairShare Program!

    OpenBuilds FairShare Give Back Program provides resources to Open Source projects, developers and schools around the world. Invest in your future by helping others develop their future.

    Donate to Open Source
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice