• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Canceling Print Difference Between DWC and PanelDue

Scheduled Pinned Locked Moved Solved
PanelDue
6
8
337
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    mwolter
    last edited by mwolter 31 Jan 2020, 18:02

    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!

    1 Reply Last reply Reply Quote 0
    • ?
      A Former User
      last edited by 31 Jan 2020, 18:38

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

      1 Reply Last reply Reply Quote 0
      • undefined
        dc42 administrators
        last edited by 31 Jan 2020, 20:58

        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.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 1
        • undefined
          Phaedrux Moderator
          last edited by 1 Feb 2020, 01:54

          btw, stop.g is called by M0 if it's present.

          https://duet3d.dozuki.com/Wiki/Gcode#Section_M0_Stop_or_Unconditional_stop

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • undefined
            mwolter
            last edited by 1 Feb 2020, 02:39

            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.

            1 Reply Last reply Reply Quote 0
            • undefined
              Hornetrider
              last edited by Hornetrider 14 Apr 2020, 17:59

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

              undefined undefined 2 Replies Last reply 14 Apr 2020, 19:18 Reply Quote 0
              • undefined
                mwolter @Hornetrider
                last edited by mwolter 14 Apr 2020, 19:18

                @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).

                1 Reply Last reply Reply Quote 0
                • undefined
                  garyd9 @Hornetrider
                  last edited by 14 Apr 2020, 19:32

                  @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.
                  

                  "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA