gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
4.04k stars 1.61k forks source link

how can I know when a motion has ended ? #1136

Closed MAK-1966 closed 2 years ago

MAK-1966 commented 2 years ago

hello dear forum,

In my project I send a motion command to GRBL

before sending the next motion command I want to know that the previous motion has ended

Is there a fast and secure way for this ?

thank you

langwadt commented 2 years ago

a short dwell like "G4 P0.1", will reply ok once all movement has finished