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.
    • chrishammundefined
      chrishamm administrators @tom33
      last edited by

      @tom33 I'm sorry but I cannot reproduce this problem in SBC or standalone mode. Do you perhaps have anything else in your tool change macros or daemon.g? If no, share the output of M122 after the print resumes in "idle" state.

      Duet software engineer

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

        @chrishamm
        M122

        M122
        === Diagnostics ===
        RepRapFirmware for Duet 3 MB6HC version 3.4.1 (2022-06-01 21:09:01) running on Duet 3 MB6HC v1.01 or later (standalone mode)
        Board ID: 08DJM-9P63L-DJ3T0-6J1F2-3SJ6N-KA3BA
        Used output buffers: 3 of 40 (32 max)
        === RTOS ===
        Static ram: 151000
        Dynamic ram: 99552 of which 0 recycled
        Never used RAM 96568, free system stack 112 words
        Tasks: NETWORK(ready,71.3%,219) ETHERNET(notifyWait,44.8%,157) HEAT(notifyWait,3.1%,321) Move(notifyWait,130.5%,233) CanReceiv(notifyWait,6.3%,772) CanSender(notifyWait,1.4%,346) CanClock(delaying,0.8%,339) TMC(notifyWait,146.9%,58) MAIN(running,50.7%,1085) IDLE(ready,0.0%,30), total 456.0%
        Owned mutexes:
        === Platform ===
        Last reset 64:04:33 ago, cause: software
        Last software reset at 2022-06-27 17:21, reason: User, GCodes spinning, available RAM 96712, slot 0
        Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
        Error status: 0x00
        Step timer max interval 224
        MCU temperature: min 33.8, current 34.2, max 43.2
        Supply voltage: min 20.7, current 23.7, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
        12V rail voltage: min 11.9, current 12.0, max 12.0, under voltage events: 0
        Heap OK, handles allocated/used 99/8, heap memory allocated/used/recyclable 2048/1556/1418, gc cycles 2159
        Events: 0 queued, 0 completed
        Driver 0: standstill, SG min 0, mspos 8, reads 7124, writes 11 timeouts 0
        Driver 1: stalled, SG min 0, mspos 58, reads 7093, writes 43 timeouts 0
        Driver 2: standstill, SG min 0, mspos 8, reads 7115, writes 21 timeouts 0
        Driver 3: standstill, SG min 0, mspos 8, reads 7115, writes 21 timeouts 0
        Driver 4: standstill, SG min 0, mspos 8, reads 7115, writes 21 timeouts 0
        Driver 5: standstill, SG min 0, mspos 8, reads 7125, writes 11 timeouts 0
        Date/time: 2022-06-30 09:26:11
        Slowest loop: 142.48ms; fastest: 0.03ms
        === Storage ===
        Free file entries: 9
        SD card 0 detected, interface speed: 25.0MBytes/sec
        SD card longest read time 3.4ms, write time 111.8ms, max retries 0
        === Move ===
        DMs created 125, segments created 29, maxWait 24673819ms, bed compensation in use: mesh, comp offset 0.000
        === MainDDARing ===
        Scheduled moves 5260, completed 5253, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 5], CDDA state 3
        === AuxDDARing ===
        Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
        === Heat ===
        Bed heaters 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters 3 -1 -1 -1, ordering errs 0
        Heater 0 is on, I-accum = 0.0
        Heater 1 is on, I-accum = 0.1
        === GCodes ===
        Segments left: 1
        Movement lock held by null
        HTTP is idle in state(s) 0
        Telnet is idle in state(s) 0
        File is doing "G1 X513.495 Y250.567 E10.62088" in state(s) 0 0
        USB is idle in state(s) 0
        Aux is idle in state(s) 0
        Trigger is idle in state(s) 0
        Queue is idle in state(s) 0
        LCD is idle in state(s) 0
        SBC is idle in state(s) 0
        Daemon is idle in state(s) 0
        Aux2 is idle in state(s) 0
        Autopause is idle in state(s) 0
        Code queue is empty
        === CAN ===
        Messages queued 4837621, received 10150753, lost 0, boc 0
        Longest wait 2ms for reply type 6023, peak Tx sync delay 561, free buffers 50 (min 15), ts 1153368/1153367/0
        Tx timeouts 0,0,0,0,0,0
        === Network ===
        Slowest loop: 112.37ms; fastest: 0.02ms
        Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions
        HTTP sessions: 1 of 8
        - Ethernet -
        State: active
        Error counts: 0 0 1 0 0
        Socket states: 5 2 2 2 2 0 0 0
        
        1 Reply Last reply Reply Quote 0
        • tom33undefined
          tom33 @chrishamm
          last edited by

          @chrishamm
          daemon.g

          M98 P/macros/Machine/Safety/01_ATU.g
          M98 P/macros/Machine/Safety/02_Moteur.g
          M98 P/macros/Machine/Led/01_State.g
          var Time = {state.upTime}
          set global.CumulativeTime = {var.Time + global.Timeant}
          echo >"0:/macros/myUpTime.g" "set global.Timeant = "^{var.Time + global.Timeant}^""
          if state.status = "processing"
          	set global.CumulativeTimePrint = {job.duration + global.TimeantPrint}
          	echo >"0:/macros/myUpTimePrint.g" "set global.TimeantPrint = "^{job.duration + global.TimeantPrint}^""
          else
          
          chrishammundefined 1 Reply Last reply Reply Quote 0
          • chrishammundefined
            chrishamm administrators @tom33
            last edited by

            @tom33 Please share the macro files you invoke from daemon.g. Is your daemon.g truncated or why is there an "else" statement a the end? Does the problem persist if you disable daemon.g, e.g. by renaming it to daemon-disabled.g?

            Duet software engineer

            tom33undefined 2 Replies Last reply Reply Quote 0
            • 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