#Parse The GRBL Status
The command i poll via python serial
# Poll GRBL for status .2 seconds max
[login to view URL]("?".encode())
gstatus_out = [login to view URL]().decode() # Wait for GRBL response with status return message
grbl_rawstatus = [login to view URL]()
print(grbl_rawstatus) # Debugging
The response i get from GRBL
What i need from the data.
grbl_status = "Idle" It always appears.
grbl_wpos = "-0.3543" It always appears.
grbl_wco = "0.3543" It only appears sometimes.
I need to store these into variables as strings for later use in my program.