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

    problem stop printing

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    5
    19
    905
    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.
    • tom33undefined
      tom33 @chrishamm
      last edited by

      @chrishamm
      moteur.g

      while sensors.gpIn[9].value=0
      	M291 S2 R"warning" P"Défaut Moteur / Reset nécessaire"
      	M150 R255 U0 B0 S60 F0 Y31
      

      ATU

      while sensors.gpIn[0].value=1
      	M150 R255 U0 B0 S120 F0 Y31
      	M112
      	M291 S2 R"warning" P"ATU enfoncé / Armement nécessaire"
      

      led.g

      if !move.axes[0].homed || !move.axes[1].homed || !move.axes[2].homed
      	M150 R0 U0 B255 S17 F1
      	M150 R255 U255 B255 S7 F1
      	M150 R255 U0 B0 S7 F1
      	M150 R255 U0 B0 S89 F0
      elif state.status = "halted"
      	M150 R255 U0 B255 S120 F0
      elif state.status = "idle" ; state.status = "idle"
      	if sensors.gpIn[5].value=1
      		M150 R0 U0 B255 S17 F1
      		M150 R255 U255 B255 S7 F1
      		M150 R255 U0 B0 S7 F1
      		M150 R255 U100 B0 S89 F0
      	else
      		M150 R0 U0 B255 S17 F1
      		M150 R255 U255 B255 S7 F1
      		M150 R255 U0 B0 S7 F1
      		M150 R0 U255 B0 S89 F0
      elif state.status = "paused"
      	M150 R0 U0 B255 S17 F1
      	M150 R255 U255 B255 S7 F1
      	M150 R255 U0 B0 S7 F1
      	M150 R250 U250 B25 S89 F0
      elif state.status = "processing"
      	M98 P/macros/Machine/Led/02_Job.g
      else state.status = "busy"
      	M150 R0 U0 B255 S17 F1
      	M150 R255 U255 B255 S7 F1
      	M150 R255 U0 B0 S7 F1
      	M150 R255 U255 B255 S89 F0
      
      1 Reply Last reply Reply Quote 0
      • tom33undefined
        tom33 @chrishamm
        last edited by

        @chrishamm

        I tryed to rename the daeamon file and remove the else but nothing change.

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

          Does Pause and Cancel in the DWC work?

          Z-Bot CoreXY Build | Thingiverse Profile

          tom33undefined 2 Replies Last reply Reply Quote 0
          • tom33undefined
            tom33 @Phaedrux
            last edited by

            @phaedrux

            The pause / resume work but not the Stop.

            I try to remove the stop.g, resume.g pause.g and also the resurrect & resurrect.prologue but nothing change...

            1 Reply Last reply Reply Quote 0
            • tom33undefined
              tom33 @Phaedrux
              last edited by

              @phaedrux @chrishamm

              I noticed something at the end of a job the printer do not execute the stop.g

              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @tom33
                last edited by

                @tom33 stop.g won't be ran unless you have M0 at the end of your job file

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                tom33undefined 1 Reply Last reply Reply Quote 1
                • tom33undefined
                  tom33 @jay_s_uk
                  last edited by

                  @jay_s_uk @chrishamm @Phaedrux
                  Hi,

                  I found the problem. The problem occurs when my V & W axis are not home.

                  Like I use M584 P3 to hide them there is a way to avoid this ?

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

                    What exactly are your V and W axis? Are they axis which could be forced homed with G92?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    tom33undefined 1 Reply Last reply Reply Quote 0
                    • tom33undefined
                      tom33 @Phaedrux
                      last edited by

                      @phaedrux

                      I have two axis on the Y and Z, I use them to offset the position and make sure all my axis are perprendicular

                      anaghundefined 1 Reply Last reply Reply Quote 0
                      • anaghundefined
                        anagh @tom33
                        last edited by

                        @tom33 @Phaedrux @dc42
                        I am facing the same issue. When one axis is not homed, the pause.g and resume.g files are not being run when I press the pause or resume buttons on the DWC. Has this been resolved or is this a bug of some sort? Please let me know. Thank you!

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