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

    3.2 SBC cancel print not working w/ missing/blank cancel.g

    Scheduled Pinned Locked Moved Solved
    Beta Firmware
    5
    28
    1.4k
    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.
    • Heartleander81undefined
      Heartleander81
      last edited by Phaedrux

      Hi there. I have a problem.
      If I have to cancel a print and start this or another, the extruder no longer feeds filament.
      Only when I reboot the Raspberry Pi 4 does the pressure go back to normal.
      Use a Duet3 6hc with Raspberry Pi 4.
      It can be reproduced at any time.

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

        Can you post your config.g file along with the pause.g and cancel.g if you have one.
        Can you also confirm the firmware version you are currently running?

        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

        1 Reply Last reply Reply Quote 0
        • Heartleander81undefined
          Heartleander81
          last edited by Heartleander81

          ; Configuration file for Duet 3 (firmware version 3)
          ; executed by the firmware on start-up
          ;
          ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Aug 26 2020 16:14:58 GMT+0200 (Mitteleuropäische Sommerzeit)
          
          ; General preferences
          G90                                                ; send absolute coordinates...
          M83                                                ; ...but relative extruder moves
          M550 P"Duet3"                                      ; set printer name
          M912 P0 S-5                                        ; sstzt CPU Temp korrektur
          
          
          M669 K1                                            ;switch to core X/Y mode
          
          ; Drives
          M569 P0.0 S0 D3 V50 H50                                 ; X physical drive 0.0 goes forwards
          M569 P0.1 S0 D3 V50 H50                                 ; Y physical drive 0.1 goes forwards
          M569 P0.2 S1 D3 V50 H50                                 ; Z1 physical drive 0.2 goes forwards
          M569 P0.3 S1 D3 V50 H50                                 ; Z2 physical drive 0.3 goes forwards
          M569 P0.4 S1 D3 V50 H50                                 ; Z3 physical drive 0.4 goes forwards
          M569 P0.5 S0 D3                                    ; E physical drive 0.5 goes backwards
          
          ; Stealthchop
          M915 P0.0 T50
          M915 P0.1 T50
          M915 P0.2 T50
          M915 P0.3 T50
          M915 P0.4 T50
          
          M584 X0.0 Y0.1 Z0.2:0.3:0.4 E0.5                   ; set drive mapping
          M350 X16 Y16 Z16 E16 I1                            ; configure microstepping with interpolation
          M92 X80.00 Y80.00 Z800.00 E462.10                  ; set steps per mm
          M566 X850.00 Y850.00 Z200.00 E800.00               ; set maximum instantaneous speed changes (mm/min)
          M203 X8000.00 Y8000.00 Z500.00 E5000.00            ; set maximum speeds (mm/min)
          M201 X900.00 Y900.00 Z100.00 E800.00               ; set accelerations (mm/s^2)
          M906 X1075 Y1075 Z1000 E950 I50                    ; set motor currents (mA) and motor idle factor in per cent
          M84 S120                                           ; Set idle timeout
          
          ; Axis Limits
          M208 X0 Y0 Z0 S1                                   ; set axis minima
          M208 X300 Y300 Z295 S0                             ; set axis maxima
          
          ; Endstops
          M574 X1 S1 P"io2.in"                               ; configure active-high endstop for low end on X via pin io2.in
          M574 Y1 S1 P"io1.in"                               ; configure active-high endstop for low end on Y via pin io1.in
          M574 Z1 S2
          
          ; Z-Probe
          M950 S0 C"io7.out"                                                    ; create servo pin 0 for BLTouch
          M558 P9 C"^io7.in" H5 F300 T3000                                      ; set Z probe type to bltouch and the dive height + speeds
          G31 P500 X38.884 Y2.578 Z0.00                                         ; set Z probe trigger value, offset and trigger height
          M557 X40:260 Y40:260 S40                                              ; define mesh grid
          M671 X-33.985:142.224:318.433 Y-16.206:312.004:-16.206 S50            ; Z lift Point Position
          
          ; Heaters
          M308 S0 A"Bett" P"temp0" Y"thermistor" T100000 B4100                  ; configure sensor 0 as thermistor on pin temp0
          M950 H0 C"out0" T0                                                    ; create bed heater output on out0 and map it to sensor 0
          M307 H0 A176.1 C1192.2 D31.2 S1.0 V24.3 B0                            ; disable bang-bang mode for the bed heater and set PWM limit
          M140 H0                                                               ; qmap heated bed to heater 0
          M143 H0 S140                                                          ; set temperature limit for heater 0 to 120C
          M308 S1 A"Vulcano" P"temp1" Y"thermistor" T100000 B4610 C7.060000e-8  ; configure sensor 1 as thermistor on pin temp1
          M950 H1 C"out2" T1                                                    ; create nozzle heater output on out1 and map it to sensor 1
          M307 H1 A367.3 C225.2 D2.8 S0.5 V24.6 B0                              ; disable bang-bang mode for heater  and set PWM limit
          M308 S2 A"Elektro" P"temp3" Y"thermistor" T100000 B4100               ; configure sensor 1 as thermistor on pin temp1
          M308 S3 Y"drivers" A"Stepper"                                         ; configure sensor 3 as temperature warning and overheat flags on the TMC2660 on Duet
          M308 S4 Y"mcu-temp" A"MCU"                                            ; configure sensor 4 as thermistor on pin e1temp
          
          ; Fans
          M950 F1 C"out7" Q500                               ; create fan 1 on pin out7 and set its frequency
          M106 P1 C"Hotend" S1 H1 T50                        ; set fan 1 name and value. Thermostatic control is turned on
          M950 F0 C"out4" Q2500                              ; create fan 0 on pin out4 and set its frequency
          M106 P0 C"Bauteil1" S0 H-1                         ; set fan 0 name and value. Thermostatic control is turned off
          M950 F2 C"out9" Q500                               ; create Light on pin out9 and set its frequency
          M106 P2 C"Licht" S0 H-1
          M950 F3 C"out8" Q500                               ; create fan 3 on pin out8 and set its frequency                        
          M106 P3 H3:4 T38                                   ; set fan 3 value
          
          ; Tools
          M563 P0 S"Vulcano" D0 H1 F0                        ; define tool 0
          G10 P0 X0 Y0 Z0                                    ; set tool 0 axis offsets
          G10 P0 R0 S0                                       ; set initial tool 0 active and standby temperatures to 0C
          
          ; Custom settings are not defined
          M564 S1 H0
          T0
          
          
          ; Miscellaneous
          ;M575 P1 S1 B57600                                 ; enable PanelDue
          M911 S21 R22 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
          M501                                              ; load saved parameters from non-volatile memory
          
          
          
          ; pause.g
          ; called when a print from SD card is paused
          ;
          ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Aug 26 2020 16:14:59 GMT+0200 (Mitteleuropäische Sommerzeit)
          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
          
          
          
          EndGcode when print is finish
          
          M104 S0
          M140 S0
          ;Retract the filament
          G92 E1
          G1 E-5 F200
          G1 X5 Y300 F6000 
          G1 Z290 F500
          M300 S290 P1000
          M84
          M98 P"/macros/LED/LED_gruen"
          G4 S30
          M98 P"/macros/LED/LED_weiss"
          G4 S120
          M98 P"/macros/LED/LED_aus"
          

          I doun't have a cancel.g.

          I use RRF 3.2 stabel.

          fcwiltundefined 1 Reply Last reply Reply Quote 0
          • Vetiundefined
            Veti
            last edited by

            is there an error message in the console?

            1 Reply Last reply Reply Quote 0
            • Heartleander81undefined
              Heartleander81
              last edited by

              No there is no error on console

              1 Reply Last reply Reply Quote 0
              • Heartleander81undefined
                Heartleander81
                last edited by

                M122
                === Diagnostics ===
                RepRapFirmware for Duet 3 MB6HC version 3.2 running on Duet 3 MB6HC v1.01 or later (SBC mode)
                Board ID: 08DJM-956L2-G43S8-6JTDG-3SJ6P-KB0UG
                Used output buffers: 1 of 40 (10 max)
                === RTOS ===
                Static ram: 149788
                Dynamic ram: 63788 of which 64 recycled
                Never used RAM 145192, free system stack 124 words
                Tasks: Linux(ready,71) HEAT(blocked,296) CanReceiv(blocked,927) CanSender(blocked,346) CanClock(blocked,352) TMC(blocked,19) MAIN(running,717) IDLE(ready,19)
                Owned mutexes: HTTP(MAIN)
                === Platform ===
                Last reset 02:30:34 ago, cause: software
                Last software reset at 2021-01-13 09:03, reason: User, none spinning, available RAM 145192, slot 1
                Software reset code 0x0012 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task Linu Freestk 0 n/a
                Error status: 0x00
                Aux0 errors 0,0,0
                Aux1 errors 0,0,0
                MCU temperature: min 34.4, current 35.1, max 42.7
                Supply voltage: min 24.3, current 24.7, max 25.3, under voltage events: 0, over voltage events: 0, power good: yes
                12V rail voltage: min 12.1, current 12.1, max 12.2, under voltage events: 0
                Driver 0: position 0, standstill, reads 17103, writes 43 timeouts 0, SG min/max 0/0
                Driver 1: position 0, standstill, reads 17103, writes 43 timeouts 0, SG min/max 0/0
                Driver 2: position 85642, standstill, reads 17091, writes 55 timeouts 0, SG min/max 0/0
                Driver 3: position 0, standstill, reads 17091, writes 55 timeouts 0, SG min/max 0/0
                Driver 4: position 0, standstill, reads 17092, writes 55 timeouts 0, SG min/max 0/0
                Driver 5: position 0, standstill, reads 17103, writes 44 timeouts 0, SG min/max 0/1023
                Date/time: 2021-01-13 11:34:33
                Slowest loop: 180.92ms; fastest: 0.04ms
                === Storage ===
                Free file entries: 10
                SD card 0 not detected, interface speed: 37.5MBytes/sec
                SD card longest read time 0.0ms, write time 0.0ms, max retries 0
                === Move ===
                DMs created 125, maxWait 1171149ms, bed compensation in use: mesh, comp offset 0.000
                === MainDDARing ===
                Scheduled moves 19083, completed moves 19083, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 11], CDDA state -1
                === AuxDDARing ===
                Scheduled moves 0, completed moves 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, chamberHeaters = -1 -1 -1 -1
                === GCodes ===
                Segments left: 0
                Movement lock held by null
                HTTP* is doing "M122" 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 36177, send timeouts 81349, received 0, lost 0, longest wait 0ms for reply type 0, free buffers 48
                === SBC interface ===
                State: 4, failed transfers: 0
                Last transfer: 2ms ago
                RX/TX seq numbers: 44017/44017
                SPI underruns 0, overruns 0
                Number of disconnects: 2, IAP RAM available 0x2c8a8
                Buffer RX/TX: 0/0-0
                === Duet Control Server ===
                Duet Control Server v3.2.0
                Code buffer space: 4096
                Configured SPI speed: 8000000 Hz
                Full transfers per second: 38.93
                Maximum length of RX/TX data transfers: 2672/1504
                
                1 Reply Last reply Reply Quote 0
                • fcwiltundefined
                  fcwilt @Heartleander81
                  last edited by

                  @Heartleander81 said in Problem after cancel print:

                  I doun't have a Cancel.g to time.

                  What does that mean?

                  Is the code you posted in cancel.g?

                  In the code posted you are setting the temps to zero. When you try to print again do you restore the correct settings?

                  Frederick

                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                  Heartleander81undefined 1 Reply Last reply Reply Quote 0
                  • Heartleander81undefined
                    Heartleander81
                    last edited by

                    The last config is my end GCode afte the print.

                    1 Reply Last reply Reply Quote 0
                    • Heartleander81undefined
                      Heartleander81 @fcwilt
                      last edited by

                      In the code posted you are setting the temps to zero. When you try to print again do you restore the correct settings?

                      Frederick

                      I doun't know. I start the gcode. The bed heats up, the nozzle heats up, then make the printer his homing. Then extrude any filament. After this doun't come filament out the nozzel.

                      1 Reply Last reply Reply Quote 0
                      • Heartleander81undefined
                        Heartleander81
                        last edited by Heartleander81

                        20210113_145053.jpg

                        There is a picture oft the DWC .
                        Print is at layer 71 and filament only used 0.4mm, but must ~100mm used at this layer hight.

                        I hope you understand what i mean. My english is not the best 😊

                        1 Reply Last reply Reply Quote 0
                        • fcwiltundefined
                          fcwilt
                          last edited by

                          Hi,

                          This is a long shot but create an empty cancel.g file and see if that makes a difference.

                          Frederick

                          Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                          Heartleander81undefined 1 Reply Last reply Reply Quote 0
                          • Heartleander81undefined
                            Heartleander81 @fcwilt
                            last edited by

                            @fcwilt Will test it after work. But just think that I have an error somewhere in a file. After successfully printing the file, the problem was that the next print did not work either. It only worked again after restarting the Pi. That's only since I updated from 3.1.1 to 3.2.0

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

                              @Heartleander81 said in Problem after cancel print:

                              If I have to cancel a print and start this or another, the extruder no longer feeds filament.
                              Only when I reboot the Raspberry Pi 4 does the pressure go back to normal.

                              Can you try describing again what exactly this means? I'm having a hard time understanding the problem.

                              Does the printer try to resume the print but the extruder motor doesn't turn?

                              Does it just sit there?

                              Is the heater at temp at that point?

                              Z-Bot CoreXY Build | Thingiverse Profile

                              Heartleander81undefined 1 Reply Last reply Reply Quote 0
                              • Heartleander81undefined
                                Heartleander81 @Phaedrux
                                last edited by Heartleander81

                                @Phaedrux
                                I start a print.
                                For example, a component comes loose.
                                Then press pause and release the pressure.
                                Change something on the slice or try to reprint.
                                Then nothing is extruded during printing.
                                When I restart the Pi, it prints normally.
                                But today I was able to determine that this problem also occurred even after a successful print. That's only since the update from 3.1.1 to 3.2.0

                                After Bed and Nozzle is on temp make my Printer Homing.

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

                                  @Heartleander81 said in Problem after cancel print:

                                  and release the pressure.

                                  What does that mean?

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  1 Reply Last reply Reply Quote 0
                                  • Heartleander81undefined
                                    Heartleander81
                                    last edited by

                                    Sorry. Fu.. Translator. I doun't have check before copy and past.PRESS pause and then cancel i the print

                                    I have a Video on youtube

                                    https://youtu.be/FWr_m28CsAc

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

                                      Did you try creating the missing cancel.g?

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      1 Reply Last reply Reply Quote 0
                                      • Heartleander81undefined
                                        Heartleander81
                                        last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • Heartleander81undefined
                                          Heartleander81
                                          last edited by

                                          Is the same with empty cancel.g

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

                                            Do you have a T0 command in your slicer start gcode?
                                            Is your tool still selected after canceling?
                                            Can you try putting some commands in your cancel.g?

                                            Example:

                                            ; cancel.g
                                            ;
                                            ; Run when the print is paused, and then canceled.
                                            ;
                                            
                                            G10 P0 R0 S0		; Set hotend temp to 0
                                            M140 S0			; Set bed temp to 0
                                            M106 S255 		; Fan at 100 to cool nozzle and bed
                                            M220 S100		; Set speed factor back to 100% in case it was changed
                                            M221 S100		; Set extrusion factor back to 100% in case it was changed
                                            M290 R0 S0              ; clear babystepping
                                            G28 XY			; home XY
                                            M84			; turn off steppers
                                            G4 S60			; wait 1 minute for nozzle to cool
                                            M107			; turn off the fan
                                            

                                            Z-Bot CoreXY Build | Thingiverse Profile

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