GRBL Based Controller - Modified

442 views
Skip to first unread message

Maple_Dude

unread,
Jun 10, 2019, 5:38:24 PM6/10/19
to OpenPnP
Hey, 

   I've got a GRBL controller for my PnP, not using the "https://github.com/openpnp/grbl" release, that appears to connect and move around when I tell it to jog. However, when I send it a second jog command, it complains "Timeout Waiting for Response to M400: Wait for moves to complete before returning". So I shuffled through the forum for more information and found a few entries. However: 

1. Increasing the command timeout does not response the problem, it just delays how long before the error appears
2. When I send my GRBL "M400" command, it gives me "error 23" as response, and when I look online, I don't see M400 as a defined command for GRBL...

so... What do I do? Is the problem on OpenPnP side? Is it on GRBL Side? Is GRBL not sending back the confirmation properly? It seems to me that it should recognize M400 - but since there is the "https://github.com/openpnp/grbl" page, that suggests to me that GRBL should be able to respond correctly, unless there are more modifications to the GRBL posted online than just 3->4 axis?

I'm scratching my head on this one. 

thanks

James Shelby

unread,
Jun 10, 2019, 7:21:45 PM6/10/19
to ope...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/6e5fce25-3f13-431b-b551-5a1b4e4147f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bert shivaan

unread,
Jun 10, 2019, 7:32:32 PM6/10/19
to OpenPnP
Dont send the M400. It is not needed with GRBL as far as I can tell. GRBL will send "OK" when it is done, so in your move ommand, have it send G4P0 as the last thing. GRBL will not respond to the G4P0 until it is finished moving.
Message has been deleted

Maple_Dude

unread,
Jun 10, 2019, 8:27:56 PM6/10/19
to OpenPnP

That seems to have done the trick - thank you. 
GRBL_G4P0.png
Reply all
Reply to author
Forward
0 new messages