Canceling Print Difference Between DWC and PanelDue



  • Hello,
    Wondering if someone can help clarify why canceling a print from DWC will keep the heaters active and canceling from PanelDue will turn the heaters off? I would like for the heaters to remain on from the PanelDue if possible. Would have thought canceling from either would run stop.g but my stop.g does not have anything related to turning off the heaters. I do not have a cancel.g in the /sys folder. Searched through the documentation and haven't been able to find anything.

    Duet 2 with 2.05 and DWC 2.07.

    Thanks!



  • afaik its not configurable, but its doable to change the source and rebuild (a little hassle with eclipse, but instructions are on github)


  • administrators

    When you cancel a print, RRF runs cancel.g not stop.g. If cancel.g exists, heaters won't be turned off unless you turn them off in cancel.g.

    For reasons that I presume are historical, if cancel.g doesn't exist then DWC explicitly leaves the heaters on when cancelling a print. I'll consider changing this in a future RRF release so that the behaviour is consistent.


  • Moderator



  • Confirmed, canceling a print from DWC and PanelDue runs cancel.g if it exists and leaves the heaters on if they are not turned off within cancel.g.



  • so, an empty cancel.g should keep heaters on?
    or should heaters be selected by T0 & T1 within cancel.g?



  • @Hornetrider
    You could remove everything from pause.g cancel.g and stop.g if you wanted. Instead, remove all commands in pause.g, cancel.g or stop.g to set the tool to standby (ie T-1), select a different tool (ie T1, T2, etc.) or commands to turn the tool off (ie G10 P0 S-273.15 R-273.15). The same thing for the bed, make sure there are no commands to turn the bed to standby (ie M144) or to turn it off (ie M140 S-273.15).



  • @Hornetrider said in Canceling Print Difference Between DWC and PanelDue:

    so, an empty cancel.g should keep heaters on?
    or should heaters be selected by T0 & T1 within cancel.g?

    Yes, an empty cancel.g should keep heaters on.

    When I pause/cancel on my delta printer running RRF3, the heaters are left on. Here's the full contents of my cancel.g file (just a single comment):

    ; called when a print is cancelled after a pause.
    

Log in to reply