--
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/85f2ac74-ded6-464a-a0de-823693fc4c67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The repetier source is quite clear.
It sends the "ok" when the received line is "plausible" before it is actually processed.
--
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/25e3b2aa-7899-4674-bbab-fe2474e1b443%40googlegroups.com.
But the second M400 doesn't?
It is very easy to test this on a given firmware. Open up a terminal to talk to the controller and send it a long move at a very slow rate. Something like G1 X100 Y100 F10, hit enter to start the move and then immediately enter a M400 and hit enter. See if the "ok" happens immediately or if it happens when the move completes.You can even do this in OpenPnP by using the jog controls and watching the log at TRACE level. The log includes timestamps for each string sent and received, so you can see how long it takes to receive the "ok" for the M400.Here's an example from my machine running Smoothie:2017-07-02 16:26:10 GcodeDriver TRACE: [/dev/tty.usbmodem1A12411] >> G0 X102.5000 F2100 ; Send standard Gcode move2017-07-02 16:26:10 GcodeDriver TRACE: [/dev/tty.usbmodem1A12411] << ok2017-07-02 16:26:10 GcodeDriver TRACE: [/dev/tty.usbmodem1A12411] >> M400 ; Wait for moves to complete before returning2017-07-02 16:26:13 GcodeDriver TRACE: [/dev/tty.usbmodem1A12411] << ok
--
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/7a11cd64-8d1b-43ea-8c5e-0209a0f33acb%40googlegroups.com.