printer keeps pausing during print?



  • my (newly setup) printer keeps pausing during the print and I have no idea what's going on

    here's a quick vid to show it....

    https://www.youtube.com/watch?v=hfy7MmtHg_s

    happens at about 20sec then 1min 20sec

    here's my config...

    pretty default config (from that website that generates them... which I forgot the name of)

    only changes I've made are motor steps/speed/power

    and the 2nd z motor is powered via the 4th driver (normally extruder two)


    ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Wed Jun 13 2018 17:00:33 GMT+0100 (British Summer Time)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; Network
    M550 PMy printer ; Set machine name
    M552 S1 ; Enable network

    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Drives

    ; Define Drives
    ; Physical Drive connection

    M569 P0 S0 ; X Drive 0 goes backwards
    M569 P1 S0 ; Y Drive 1 goes backwards
    M569 P2 S1 ; Z1 Drive 2 goes forwards
    M569 P3 S1 ; Z2 Drive 3 goes forwards
    M569 P4 S0 ; extr Drive 4 goes backwards

    M350 X16 Y16 Z16:16 E16 I1 ; Configure microstepping with interpolation
    M92 X80 Y80 Z2555:2555 E93 ; Set steps per mm
    M566 X900 Y900 Z6:6 E100 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z90:90 E100 ; Set maximum speeds (mm/min)
    M201 X1000 Y1000 Z50:50 E250 ; Set accelerations (mm/s^2)
    M906 X600 Y600 Z900:900 E600 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Motor remapping for dual Z
    M584 X0 Y1 Z2:3 E4

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X200 Y180 Z200 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y1 Z1 S0 ; Set active low endstops

    ; Z-Probe
    ; M558 P1 H5 F120 T6000 ; Set Z probe type to unmodulated and the dive height + speeds
    ; G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
    ; M557 X15:185 Y15:185 S20 ; Define mesh grid

    ; Heaters
    M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S320 ; Set temperature limit for heater 1 to 280C

    ; Fans
    M106 P0 S1 I0 F500 H1 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Tools
    M563 P0 D0 H1 ; 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

    ; Automatic saving after power loss is not enabled

    ; Custom settings are not configured


    any ideas anyone? I'm lost 😮

    p.s. I sliced it with cura... gcode is 100meg... is that right?


  • administrators

    • Please confirm that you are printing from the SD card.
    • Which firmware version are you using?
    • If you repeat the print, do the pauses occur at the same place? If so then that could indicate a problem with the GCode file.

    100Mb is a large GCode file, but not unreasonable.



  • printing from the SD card

    Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
    Firmware Electronics: Duet WiFi 1.02 or later
    Firmware Version: 1.21 (2018-03-21)
    WiFi Server Version: 1.21RC4(08b3)
    Web Interface Version: 1.21-RC4

    I need loads of those things printing... next print will be three at once (instead of two)

    I'll set it going and see how it goes

    it looks like it could be a problem with the filament retraction / feed when it moves from one area to the next ? I've increased the acceleration/max speed on the extruder to see if that helps?

    thanks for the reply 🙂

    EDIT:

    not sure what happened... plastic came up out the top of the extruder... I set extruder settings back to what they were and it's printing again

    still doing the same thing tho... it does seam to be when it moves from one item to the next

    it's printing the same thing now, but 3 of them instead of two, I'm slicing with cura if that makes any difference

    (I'm lost)


  • administrators

    Do you get the pause every time it moves from one item to another, or only sometimes?



  • @alanknight said in printer keeps pausing during print?:

    ..................................

    it looks like it could be a problem with the filament retraction / feed when it moves from one area to the next ?
    ................................

    not sure what happened... plastic came up out the top of the extruder... I set extruder settings back to what they were and it's printing again

    From those two statements, my guess would be that somewhere in the gcode file there might be an M82 to set the extrusion to absolute,. followed by a G1 E0 move to zero the extruder, whereas your config.g has been set such that the Duet expects relative extrusion moves. Check the gcode file for any M82 commands.



  • it happens every time if moves from one area to another

    it's fine when it's printing

    just checked and found...


    G28 Z
    Error: Bad command: 91


    can;t believe I didn't see that before!

    here's my homez


    ; homez.g
    ; called to home the Z axis

    91 ; relative mode
    G1 Z4 F200 S2 ; raise head 4mm to ensure it is above the switch trigger height
    G90 ; back to absolute mode
    ;G1 X0 Y0 S2 F2000 ; put the head wherever you want it to be when you home Z (omit this line if it doesn't matter)
    G91 ; relative mode
    G1 Z-200 S1 F100 ; move Z down until the switch triggers
    G90 ; back to absolute mode
    G92 Z0.3 S2 ; tell the firmware that we are at Z=0.3mm


    and my home all


    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool on Wed Jun 13 2018 17:00:33 GMT+0100 (British Summer Time)
    G91 ; relative positioning
    G1 Z5 F6000 S2 ; lift Z relative to current position
    G1 S1 X-205 Y-205 F3600 ; move quickly to X and Y axis endstops and stop there (first pass)
    G1 X5 Y5 F6000 ; go back a few mm
    G1 S1 X-205 Y-205 F360 ; move slowly to X and Y axis endstops once more (second pass)
    G90 ; back to absolute mode
    G91 ; relative mode
    G1 Z-200 S1 F100 ; move Z down until the switch triggers
    G90 ; back to absolute mode
    G92 Z0.3 S2 ; tell the firmware that we are at Z=0.3mm
    G1 Z5 F100 S2 ; lift the nozzle after homing


    I can't see where it's wrong?



  • awww, it was obvious, missed the G out at the start of the homez code!

    printer is still printing, 24hours in it's 48% done

    onc this finishes I'll set it going again tomorrow and see if this fixed it!

    p.s. I bought a "PanelDue - Integrated" too... how do I make it work? I thought I just had to plug it in... had a google but can't find any info 😮


  • administrators

    @alanknight said in printer keeps pausing during print?:

    p.s. I bought a "PanelDue - Integrated" too... how do I make it work? I thought I just had to plug it in... had a google but can't find any info 😮

    If it was supplied with a 4-way cable then you should just be able to plug it into the PanelDue port on the Duet. if it was supplied with a ribbon cable then you plug that into the CONN_SD header on the Duet instead.



  • screen came with the 4 pin cable... I tired that but it didn't work - the screen looks a bit like it's crashed - I'll try to get a photo later on

    print head still keeps pausing when it moves between different areas

    I don't know if it's relevant at all but it seams to over retract when it finishes printing too, not always but a couple of times I've had to push the abs back in because it's so far out the gear doesn't touch it

    I'm a bit lost with the pausing thing 😞

    (p.s. I tried with a couple of different files to make sure it wasn't me/cura causing it)



  • finished next print today... still doing the same thing..

    checking g-code console I see...


    5:32:39 AMFinished printing file taptop x4 at90mm.gcode, print time was 9h 28m
    5:32:18 AMWarning: Tool 0 was not driven because its heater temperatures were not high enough or it has a heater fault
    8:04:52 PMM32 "taptop x4 at90mm.gcode"
    File taptop x4 at90mm.gcode selected for printing


    no other errors, no idea if this is relevant, watching print head/bed temps while printing they look pretty constant

    this is the gcode file for the last print (17meg)

    https://www.dropbox.com/s/2lotu9rxetakuz9/taptop x4 at90mm.gcode?dl=0

    I've looked through. nothing looks odd to me


  • administrators

    @alanknight said in printer keeps pausing during print?:

    I don't know if it's relevant at all but it seams to over retract when it finishes printing too, not always but a couple of times I've had to push the abs back in because it's so far out the gear doesn't touch it

    That is probably caused by printing either using gcode generated by Cura or with absolute extrusion selected in the slicer, and retracting filament in your slicer end GCode using a G1 E-xxx command. You need to insert either M83 or G92 E0 before that G1 E-xxx command.

    To track down the reason for the pauses, we need to see the GCode around the point where it pauses while moving between areas.



  • I'm struggling to sort out the bit of g-code which is causing the problem, or the g-code at about the same time

    I've made a new g-code, I took a 20mm test cube, duplicated it and shrunk them tiny (my idea bing there's less g-code for me to deal with)

    it still pauses when it finishes a layer, moves to the next cube and then pauses before it prints (then when it finishes it pauses before it moves back to the 1stc, etc. etc.)

    here's the start of the g-code

    ;FLAVOR:Marlin
    ;TIME:74
    ;Filament used: 0.00666575m
    ;Layer height: 0.1
    ;Generated with Cura_SteamEngine 3.3.1
    M190 S90
    M104 S250
    M109 S250
    M82 ;absolute extrusion mode
    G21 ;metric values
    G90 ;absolute positioning
    M82 ;set extruder to absolute mode
    M107 ;start with the fan off
    G28 X0 Y0 ;move X/Y to min endstops
    G28 Z0 ;move Z to min endstops
    G1 Z15.0 F9000 ;move the platform down 15mm
    G92 E0 ;zero the extruded length
    G1 F200 E3 ;extrude 3mm of feed stock
    G92 E0 ;zero the extruded length again
    G1 F9000
    ;Put printing message on LCD screen
    M117 Printing...
    G92 E0
    G1 F1500 E-6.5
    ;LAYER_COUNT:19
    ;LAYER:0
    M106 S255
    G0 F3600 X50.6 Y90.6 Z0.3
    ;TYPE:WALL-OUTER
    G1 F1500 E0
    G1 F600 X49.4 Y90.6 E0.11974
    G1 X49.4 Y89.4 E0.23947
    G1 X50.6 Y89.4 E0.35921
    G1 X50.6 Y90.6 E0.47895
    G0 F3600 X50.2 Y90.6
    G0 X50.06 Y90.223
    ;TYPE:SKIN
    G1 F600 X49.774 Y89.938 E0.49909
    G0 F3600 X49.8 Y89.938
    G1 F1500 E-6.00091
    G0 F3600 X50.58 Y90.53
    G0 X51.665 Y90.53
    G0 X148.335 Y90.53
    G0 X149.42 Y90.53
    G0 X150.53 Y90.53
    G0 X150.6 Y90.6
    ;TYPE:WALL-OUTER
    G1 F1500 E0.49909
    G1 F600 X149.4 Y90.6 E0.61883
    G1 X149.4 Y89.4 E0.73856
    G1 X150.6 Y89.4 E0.8583
    G1 X150.6 Y90.6 E0.97804
    G0 F3600 X150.2 Y90.6
    G0 X150.187 Y90.224
    ;TYPE:SKIN
    G1 F600 X149.774 Y89.811 E1.00717
    G0 F3600 X149.8 Y89.811
    G1 F1500 E-5.49283
    G0 F3600 X149.42 Y90.53
    G0 X148.335 Y90.53
    G0 X51.665 Y90.53
    G0 X50.58 Y90.53
    G0 X50.53 Y90.53
    G0 X50.6 Y90.6
    ;TIME_ELAPSED:13.422841
    ;LAYER:1

    I think that's the g-code for the first layer of both tiny
    cubes

    here's the full gcode file
    0_1529585848738_2sml test cube.gcode (20Kb)


  • administrators

    Thanks for the sample file.

    • Which firmware version are you running?

    • Are you certain that the pause occurs on the first layer, when moving from one part to the other?



  • Software Information
    Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
    Firmware Electronics: Duet WiFi 1.02 or later
    Firmware Version: 1.21 (2018-03-21)
    WiFi Server Version: 1.21RC4(08b3)
    Web Interface Version: 1.21-RC4

    it happens every time it moves from one area to another without printing, so from one part to the next or is a part has two high spots then it happens when moving between them

    do my extruder settings look ok? - I keep thinking it's as it retracts/extrudes as it moves from one area to the next?

    M350 X16 Y16 Z16:16 E16 I1 ; Configure microstepping with interpolation
    M92 X80 Y80 Z2555:2555 E93 ; Set steps per mm
    M566 X900 Y900 Z6:6 E500 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z90:90 E3000 ; Set maximum speeds (mm/min)
    M201 X1000 Y1000 Z50:50 E500 ; Set accelerations (mm/s^2)
    M906 X600 Y600 Z750:750 E1200 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    I increased the power/speed on the extruder and it's still pausing but it seams like it's not for as long?
    I also increased the printing speed in cura so it could be that.... idiot me should have only changed one thing at a time!

    (I'm trying to get these parts printed before the weekend so I can use them)



  • shouldn't flavor be reprap? or doesn't that matter?


  • administrators

    @alanknight said in printer keeps pausing during print?:

    do my extruder settings look ok? - I keep thinking it's as it retracts/extrudes as it moves from one area to the next?

    M350 X16 Y16 Z16:16 E16 I1 ; Configure microstepping with interpolation
    M92 X80 Y80 Z2555:2555 E93 ; Set steps per mm
    M566 X900 Y900 Z6:6 E500 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z90:90 E3000 ; Set maximum speeds (mm/min)
    M201 X1000 Y1000 Z50:50 E500 ; Set accelerations (mm/s^2)
    M906 X600 Y600 Z750:750 E1200 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    I tried printing that GCode file and I get only slight pauses, during which the extruder is retracting or re-priming. You are using a lot of retraction. So I agree that the problem is probably related to retraction. Can you watch a gear or pulley on the extruder drive while it is printing?

    Your extruder acceleration in M201 is a little low (500), but not low enough to cause this problem. But I guess it's possible that you have a non-printing character in the M201 or M203 line that's causing the extruder max speed or acceleration to be read as very low. You could try re-typing those lines.

    You don't need the double Z values in any of those lines, because the Z axis as a whole uses only one set of values.



  • there's no gear/anything to see when it's printing

    I could try printing again without the heatsink/fan on to test the idea out?

    I increased the extruder acceleration to 750

    and decreased the retraction length to 2mm ( hadn't realised it was so high)

    I'll see how that does for the next print

    thanks for all the help

    Alan 🙂


  • administrators

    @alanknight said in printer keeps pausing during print?:

    there's no gear/anything to see when it's printing

    I could try printing again without the heatsink/fan on to test the idea out?

    I increased the extruder acceleration to 750

    and decreased the retraction length to 2mm ( hadn't realised it was so high)

    I'll see how that does for the next print

    thanks for all the help

    Alan 🙂

    Did you resolve the problem?


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.