M408 response on PanelDue serial port

  • Hi David,
    I came across an issue with the response to M408 on the serial port:
    if I command M25 from serial port to pause the print, there is no response to M408 until the pause.g macro is done executing.

    See the lower part:

    If I command M25 from WebUI there are responses to M408 on the serial port:

    Is this behavior intentional?


    P.S. on resume its identical.
    If I command a macro (P98) I get responses on the serial port while the macro executes.

    Firmware Name: RepRapFirmware for Duet
    Firmware Electronics: Duet 0.85
    Firmware Version: 1.19.2 (2017-09-01)
    Web Interface Version: 1.19

  • administrators

    It's a principle of GCode that each command you send has to complete before the next one is started. So if you send M25 and then M408 from the same channel, the M25 has to complete before the M408 is executed. I guess it would be possible to execute the pause.g macro in the context of the SD card print instead, but pause.g files are usually short anyway so I doubt that it would be worthwhile making the change.

  • Ok, thanks for the answer.

Log in to reply