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

    M0 not working

    Scheduled Pinned Locked Moved
    General Discussion
    3
    5
    675
    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.
    • Tinchusundefined
      Tinchus
      last edited by

      Hi all. Im using the M0, trying to, into my end gcode for turning off all heaters. But Im noticing that if T1 is being used, it is the one being turned off, and T0 is being left on the stand by temperature (while dual extrusion prints)
      Shoudnt the M0 command turn off all heater as the documentation says?

      1 Reply Last reply Reply Quote 0
      • dhusoloundefined
        dhusolo
        last edited by

        Do you have it defined in cancel.g to turn off T0 and T1 heaters?

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          I think the best way to use M0 is to define your own shutdown sequence in stop.g

          But yes, based on the description you'd think M0 would turn off all tool heaters.

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

          What firmware version are you using?

          Do you have a cancel.g or stop.g present in the sys folder?

          Z-Bot CoreXY Build | Thingiverse Profile

          Tinchusundefined 1 Reply Last reply Reply Quote 0
          • Tinchusundefined
            Tinchus @Phaedrux
            last edited by Tinchus

            @Phaedrux Im using latest stable, 3.1.1?
            Stop.g is in sys with some code in it, cancel.g is not present.
            So I misunderstood the command? M0 does nothing by itself but calls to cancel and stop.g files? Mu confusion comes from:
            "If no H1 parameter is present, the heaters are turned off too. "

            1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by

              M0 only has the default behaviour when cancel.g and stop.g are not present. Since you have a stop.g file with commands in it, it's going to execute that. So try removing the stop.g file to see if it will perform the default behaviour, or modify stop.g to make it do what you want.

              Z-Bot CoreXY Build | Thingiverse Profile

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