Hey guys, is there any command (or generaly any way) how to get current coordinates? Like where the machine is right now? I am writing code in Python so I don't see coordinates and we need to call functions depending on current coordinates. So I am just looking for something like '$whereareyou' and expect probably 'x10y20' or anything... Thank you for any help or useful hint. Have a nice day. Jakub
Grbl v1.1 Interface ยท gnea/grbl Wiki The realtime command "?" should send back a list of current parameters, including position.
God! Thanks it could really work. I had problem with it but after I sent command '$X' before 'G00X1' and '$?' after that - now it looks that it has information I need... b"[MSG:'$H'|'$X' to unlock]\r\n" b'[MSG:Caution: Unlocked]\r\n' b'ok\r\n' b'<Idle|MPos:1.000,0.000,0.000|FS:0,0|WCO:0.000,0.000,0.000>\r\n' b'[HLP:$$ $# $G $I $N $x=val $Nx=line $J=line $SLP $C $X $H ~ ! ? ctrl-x]\r\n' b'ok\r\n' Thank you very much. P.S.: even the 'IDLE' information could be enough if I knew that machine has finished all commands in queue - so suddenly I have two choices how to work with that. Perfect.