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

Strange Behavior , after "Pause" 'Cancel ""print again"

Scheduled Pinned Locked Moved Solved
Beta Firmware
4
47
1.9k
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
    moth4017 @OwenD
    last edited by 7 Mar 2022, 08:01

    @owend

    ; pause.g
    ; called when a print from SD card is paused
    ;
    ; generated by RepRapFirmware Configuration Tool v3.3.10 on Thu Dec 30 2021 11:07:38 GMT+1300 (New Zealand Daylight Time)
    M83 ; relative extruder moves
    G1 E-10 F3600 ; retract 10mm of filament
    G91 ; relative positioning
    G1 Z5 F360 ; lift Z by 5mm
    G90 ; absolute positioning
    G1 X0 Y0 F6000 ; go to X=0 Y=0
    ; stop.g
    ; called when M0 (Stop) is run (e.g. when a print from SD card is cancelled)
    ;
    ; generated by RepRapFirmware Configuration Tool v3.3.10 on Thu Dec 30 2021 11:07:38 GMT+1300 (New Zealand Daylight Time)
    No Cancel.g
    Start script
    M104 S[first_layer_temperature] ; set extruder temp
    M109 S[first_layer_temperature] ; wait for extruder temp
    G28 ; home all

    <

    undefined undefined 2 Replies Last reply 7 Mar 2022, 09:24 Reply Quote 0
    • undefined
      OwenD @moth4017
      last edited by 7 Mar 2022, 09:24

      @moth4017
      I don't see anything out of the ordinary in those files.
      Your M569 V parameter seems very low compared to the documentation, but I've never used that so I don't know enough to comment.

      1 Reply Last reply Reply Quote 0
      • undefined
        gloomyandy @moth4017
        last edited by 7 Mar 2022, 10:02

        @moth4017 What current are you expecting the steppers to be set to? Your home z seems to leave it set to 600mA (which is significantly lower than the 1000mA initially set in config.g). You might want to try running M906 from the console before your initial print and then after you have hit pause and again after cancel to see what current is set at the various stages.

        Not totally sure if it will help but you might also want to reconfigure the stall threshold to be higher after you have completed your homing just in case that is causing problems.

        I notice that you also have M84 at the end of your zhome code, this is unusual. What are you expecting it to do?

        undefined 1 Reply Last reply 7 Mar 2022, 10:12 Reply Quote 0
        • undefined
          moth4017 @gloomyandy
          last edited by moth4017 3 Jul 2022, 10:12 7 Mar 2022, 10:12

          @gloomyandy
          Hi i have also tried setting current to 1000ma still the same issue.

          Ill try the M906 later
          M84 is at the end of the home Z as i send the bed to Max Z and then turn off the motors ,

          <

          1 Reply Last reply Reply Quote 0
          • undefined
            Phaedrux Moderator
            last edited by 7 Mar 2022, 19:48

            I think what's happening is that you're moving the Z axis to the max position and reducing the current. When it tries to move again it's stalling or maybe binding.

            Return your motor current to normal before trying to move the axis again and see if it's able to move.

            Z-Bot CoreXY Build | Thingiverse Profile

            undefined 1 Reply Last reply 8 Mar 2022, 04:02 Reply Quote 0
            • undefined
              moth4017 @Phaedrux
              last edited by 8 Mar 2022, 04:02

              @phaedrux
              Hi when i do "pause print" "cancel" "print again" the bed has remained at the top position so it has not done the sensorless homing at Z max

              <

              1 Reply Last reply Reply Quote 0
              • undefined
                Phaedrux Moderator @moth4017
                last edited by 8 Mar 2022, 18:09

                @moth4017 said in Strange Behavior , after "Pause" 'Cancel ""print again":

                No Cancel.g

                Can you create a cancel.g file? Either put in some commands you want to happen when the print is canceled, or leave it blank for it to do nothing. The default cancel behaviour may be your problem.

                https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m0-stop-or-unconditional-stop

                Z-Bot CoreXY Build | Thingiverse Profile

                undefined 2 Replies Last reply 9 Mar 2022, 06:22 Reply Quote 0
                • undefined
                  moth4017 @Phaedrux
                  last edited by 9 Mar 2022, 06:22

                  @phaedrux

                  i should have done this before sorry

                  in the console when i press "print again"
                  i get these error messages
                  Error: Homing failed
                  Error: Driver 0.4 error: over temperature shutdown
                  Error: Driver 0.5 error: over temperature shutdown
                  Error: Driver 0.4 error: over temperature shutdown
                  Error: Driver 0.5 error: over temperature shutdown
                  Warning: Driver 0.4 warning: over temperature warning

                  <

                  undefined 1 Reply Last reply 9 Mar 2022, 08:31 Reply Quote 0
                  • undefined
                    gloomyandy @moth4017
                    last edited by 9 Mar 2022, 08:31

                    @moth4017 Did you try running M906 so that you can see what current setting the drivers are using when they generate errors?

                    undefined 1 Reply Last reply 9 Mar 2022, 08:49 Reply Quote 0
                    • undefined
                      moth4017 @gloomyandy
                      last edited by moth4017 3 Sept 2022, 08:50 9 Mar 2022, 08:49

                      @gloomyandy

                      M906 pre test X,y,Z 1000ma
                      after Cancel print
                      M906Motor current (mA) - X:1000, Y:1000, Z:1000, E:1400, idle factor 10%

                      <

                      undefined 1 Reply Last reply 9 Mar 2022, 09:03 Reply Quote 0
                      • undefined
                        gloomyandy @moth4017
                        last edited by 9 Mar 2022, 09:03

                        @moth4017 Very odd? Do you always get those driver temperature errors when you have this problem?

                        undefined 1 Reply Last reply 9 Mar 2022, 09:15 Reply Quote 0
                        • undefined
                          moth4017 @gloomyandy
                          last edited by 9 Mar 2022, 09:15

                          @gloomyandy
                          Hi Yes , but i can print ok if i send new G code , it only hppend after the above sequency

                          <

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            moth4017 @Phaedrux
                            last edited by moth4017 3 Oct 2022, 19:42 10 Mar 2022, 19:40

                            @phaedrux
                            If i add the cancel.g file when pressing "cancel" button the cancel.g file does not run, cancel.g file in system directory

                            ;cancel.g
                            M98 P/macros/home_max_Z
                            ; home_max_Z
                            M400 ; make sure everything has stopped before we make changes
                            ;G91 ; relative positioning
                            ;;M915 P0.4:0.5:0.6 S3 F0 R0 ; Configure Z-Axis Stall Detection
                            ;M913 Z80 ; Lower motor current by 50%
                            ;M574 Z2 S4 ; Configure Z-Axis stall detection homing
                            ;G91 ; relative positioning
                            M98 P/macros/sensorless_Z
                            G1 F3000 ;
                            G1 H1 Z350 ; Home Z-Axis actuators independently
                            M400 ; make sure everything has stopped before we make changes
                            M913 Z100 ; Reset motor current
                            G90 ; absolute positioning
                            G92 Z290
                            ;sensorless_z
                            M915 P0.4:0.5:0.6 S3 F0 R0 ; Configure Z-Axis Stall Detection
                            M906 Z300 ; Lower motor current by 50%
                            M574 Z2 S4 ; Configure Z-Axis stall detection homing
                            M400 ; make sure everything has stopped before we make changes
                            M906 Z1000 ; Reset motor current
                            M400

                            <

                            undefined 1 Reply Last reply 15 Mar 2022, 19:23 Reply Quote 0
                            • undefined
                              Phaedrux Moderator
                              last edited by 10 Mar 2022, 21:45

                              Can you share the results of sending M122 and M98 P"config.g" ?

                              Z-Bot CoreXY Build | Thingiverse Profile

                              undefined 2 Replies Last reply 10 Mar 2022, 22:01 Reply Quote 0
                              • undefined
                                moth4017 @Phaedrux
                                last edited by 10 Mar 2022, 22:01

                                @phaedrux ```
                                3/11/2022, 11:01:06 AM M122
                                === Diagnostics ===
                                RepRapFirmware for Duet 3 Mini 5+ version 3.4.0rc2 (2022-02-22 17:07:31) running on Duet 3 Mini5plus WiFi (standalone mode)
                                Board ID: 3R9YY-6T9RL-D65J0-40KMN-2UW2Z-RHYT0
                                Used output buffers: 3 of 40 (15 max)
                                === RTOS ===
                                Static ram: 103652
                                Dynamic ram: 110396 of which 0 recycled
                                Never used RAM 27592, free system stack 132 words
                                Tasks: NETWORK(ready,49.2%,228) HEAT(notifyWait,0.1%,356) Move(notifyWait,0.0%,292) CanReceiv(notifyWait,0.0%,942) CanSender(notifyWait,0.0%,356) CanClock(delaying,0.0%,339) TMC(notifyWait,3.6%,114) MAIN(running,44.5%,428) IDLE(ready,0.0%,29) AIN(delaying,2.5%,264), total 100.0%
                                Owned mutexes: WiFi(NETWORK)
                                === Platform ===
                                Last reset 02:17:44 ago, cause: power up
                                Last software reset at 2022-03-09 19:21, reason: User, GCodes spinning, available RAM 24040, slot 2
                                Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
                                Error status: 0x00
                                MCU revision 3, ADC conversions started 8264987, completed 8264987, timed out 0, errs 0
                                Step timer max interval 754
                                MCU temperature: min 28.5, current 30.2, max 32.7
                                Supply voltage: min 23.8, current 23.9, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
                                Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
                                Events: 0 queued, 0 completed
                                Driver 0: pos 0, standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 30414, writes 9, timeouts 0, DMA errors 0, CC errors 0
                                Driver 1: pos 0, standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 30414, writes 9, timeouts 0, DMA errors 0, CC errors 0
                                Driver 2: pos 96320, standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 30414, writes 9, timeouts 0, DMA errors 0, CC errors 0
                                Driver 3: pos 0, standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 30413, writes 9, timeouts 0, DMA errors 0, CC errors 0
                                Driver 4: pos 0, standstill, SG min 174, read errors 0, write errors 0, ifcnt 16, reads 30407, writes 16, timeouts 0, DMA errors 0, CC errors 0
                                Driver 5: pos 0, standstill, SG min 16, read errors 0, write errors 0, ifcnt 16, reads 30407, writes 16, timeouts 0, DMA errors 0, CC errors 0
                                Driver 6: pos 0, standstill, SG min 26, read errors 0, write errors 0, ifcnt 16, reads 30407, writes 16, timeouts 0, DMA errors 0, CC errors 0
                                Date/time: 2022-03-11 11:01:05
                                Cache data hit count 4294967295
                                Slowest loop: 5.52ms; fastest: 0.13ms
                                === Storage ===
                                Free file entries: 10
                                SD card 0 detected, interface speed: 22.5MBytes/sec
                                SD card longest read time 14.1ms, write time 0.0ms, max retries 0
                                === Move ===
                                DMs created 83, segments created 3, maxWait 624ms, bed compensation in use: none, comp offset 0.000
                                === MainDDARing ===
                                Scheduled moves 2, completed 2, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                                === 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, chamber heaters -1 -1 -1 -1, ordering errs 0
                                === GCodes ===
                                Segments left: 0
                                Movement lock held by null
                                HTTP is idle in state(s) 0
                                Telnet is idle in state(s) 0
                                File is idle in state(s) 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 74382, received 0, lost 0, boc 0
                                Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 18 (min 18), ts 41325/0/0
                                Tx timeouts 0,0,41324,0,0,33056 last cancelled message type 30 dest 127
                                === Network ===
                                Slowest loop: 16.87ms; fastest: 0.00ms
                                Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
                                HTTP sessions: 1 of 8

                                • WiFi -
                                  Network state is active
                                  WiFi module is connected to access point
                                  Failed messages: pending 0, notready 0, noresp 0
                                  WiFi firmware version 1.25
                                  WiFi MAC address f0:08:d1:02:a1:0b
                                  WiFi Vcc 3.34, reset reason Power up
                                  WiFi flash size 2097152, free heap 25512
                                  WiFi IP address 192.168.0.19
                                  WiFi signal strength -49dBm, mode 802.11n, reconnections 0, sleep mode modem
                                  Clock register 00002002
                                  Socket states: 0 0 0 0 0 0 0 0
                                HTTP is enabled on port 80
                                FTP is disabled
                                TELNET is disabled

                                <

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  moth4017 @Phaedrux
                                  last edited by 15 Mar 2022, 07:34

                                  @phaedrux
                                  hi any thourghts?

                                  <

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    Phaedrux Moderator @moth4017
                                    last edited by 15 Mar 2022, 19:23

                                    @moth4017 said in Strange Behavior , after "Pause" 'Cancel ""print again":

                                    @phaedrux
                                    If i add the cancel.g file when pressing "cancel" button the cancel.g file does not run, cancel.g file in system directory

                                    ;cancel.g
                                    M98 P/macros/home_max_Z
                                    ; home_max_Z
                                    M400 ; make sure everything has stopped before we make changes
                                    ;G91 ; relative positioning
                                    ;;M915 P0.4:0.5:0.6 S3 F0 R0 ; Configure Z-Axis Stall Detection
                                    ;M913 Z80 ; Lower motor current by 50%
                                    ;M574 Z2 S4 ; Configure Z-Axis stall detection homing
                                    ;G91 ; relative positioning
                                    M98 P/macros/sensorless_Z
                                    G1 F3000 ;
                                    G1 H1 Z350 ; Home Z-Axis actuators independently
                                    M400 ; make sure everything has stopped before we make changes
                                    M913 Z100 ; Reset motor current
                                    G90 ; absolute positioning
                                    G92 Z290
                                    ;sensorless_z
                                    M915 P0.4:0.5:0.6 S3 F0 R0 ; Configure Z-Axis Stall Detection
                                    M906 Z300 ; Lower motor current by 50%
                                    M574 Z2 S4 ; Configure Z-Axis stall detection homing
                                    M400 ; make sure everything has stopped before we make changes
                                    M906 Z1000 ; Reset motor current
                                    M400

                                    Can you try a simplified cancel.g? Maybe just a G28 XY

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    undefined 1 Reply Last reply 16 Mar 2022, 06:58 Reply Quote 0
                                    • undefined
                                      moth4017 @Phaedrux
                                      last edited by 16 Mar 2022, 06:58

                                      @phaedrux

                                      ;cancel.g
                                      G28 X Y

                                      The console displayed this after cancel print:-
                                      M0
                                      Printing paused at X128.9 Y78.9 Z0.3
                                      Cancelled printing file 0:/gcodes/shark-v2-0-a_0.35mm_PLA__2h32m.gcode, print time was 0h 5m

                                      the Cancel.g file didnt run, so i put "G28 X Y" in the command line , this ran perfectly , but then i got this error in the console , only happens when i do the "Cancel"

                                      3/16/2022, 7:56:33 PM Error: Driver 0.4 error: over temperature shutdown
                                      3/16/2022, 7:56:33 PM Emergency stop, attemping to reconnect...
                                      3/16/2022, 7:56:31 PM Error: Driver 0.6 error: over temperature shutdown
                                      3/16/2022, 7:56:31 PM Error: Driver 0.5 error: over temperature shutdown
                                      3/16/2022, 7:56:30 PM Error: Driver 0.4 error: over temperature shutdown

                                      <

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        Phaedrux Moderator
                                        last edited by 16 Mar 2022, 17:47

                                        It seems like it's not picking up your files.

                                        Can you get a fresh SD card out and set it up with fresh files entirely? Get a clean basic config from the config tool.

                                        Maybe post some screen shots of your file structure? Or zip up your entire SD card minus the gcodes folder and post that?

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        undefined 2 Replies Last reply 16 Mar 2022, 18:18 Reply Quote 0
                                        • undefined
                                          moth4017 @Phaedrux
                                          last edited by moth4017 16 Mar 2022, 18:18

                                          @phaedrux
                                          Is there a reason it would not read the cancel.g only as if i change any macro files they are being read.

                                          i will try i new install though

                                          <

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