Printing stop momentarily



  • Hi all, I have a problem with the head stopping for a second or so about every minute or less depending on the size of the object being printed. All my other printers are a fluid motion, this Duet2 WiFi one appears to be jerking and stopping and starting.
    Any assistance would be greatly appreciated.
    This is the Diagnostics log.
    Thanks

    M122
    

    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 3.0 running on Duet WiFi 1.02 or later
    Board ID: 08DJM-9178L-L2MSD-6J9DJ-3S86L-TBD2N
    Used output buffers: 3 of 24 (9 max)
    === RTOS ===
    Static ram: 30516
    Dynamic ram: 92320 of which 0 recycled
    Exception stack ram used: 560
    Never used ram: 7676
    Tasks: NETWORK(ready,648) HEAT(blocked,1240) MAIN(running,3676) IDLE(ready,156)
    Owned mutexes:
    === Platform ===
    Last reset 03:12:43 ago, cause: power up
    Last software reset at 2020-06-16 21:09, reason: User, spinning module GCodes, available RAM 7724 bytes (slot 3)
    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
    Error status: 0
    Free file entries: 9
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest block write time: 15.5ms, max retries 0
    MCU temperature: min 34.7, current 60.6, max 61.2
    Supply voltage: min 22.8, current 24.0, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
    Driver 0: ok, SG min/max 0/196
    Driver 1: ok, SG min/max 0/186
    Driver 2: standstill, SG min/max 9/190
    Driver 3: ok, SG min/max not available
    Driver 4: standstill, SG min/max not available
    Date/time: 2020-06-22 11:44:03
    Cache data hit count 4294967295
    Slowest loop: 94.97ms; fastest: 0.09ms
    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
    === Move ===
    Hiccups: 0(0), FreeDm: 139, MinFreeDm: 115, MaxWait: 680005ms
    Bed compensation in use: none, comp offset 0.000
    === MainDDARing ===
    Scheduled moves: 317506, completed moves: 317466, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
    === AuxDDARing ===
    Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
    Heater 0 is on, I-accum = 0.0
    Heater 1 is on, I-accum = 0.4
    === GCodes ===
    Segments left: 1
    Stack records: 2 allocated, 0 in use
    Movement lock held by null
    http is idle in state(s) 0
    telnet is idle in state(s) 0
    file is doing "G1 X145.982 Y198.556 E2.9964" in state(s) 0
    serial is idle in state(s) 0
    aux is idle in state(s) 0
    daemon is idle in state(s) 0
    queue is idle in state(s) 0
    autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Slowest loop: 157.86ms; fastest: 0.00ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
    HTTP sessions: 1 of 8

    • WiFi -
      Network state is running
      WiFi module is connected to access point
      Failed messages: pending 0, notready 0, noresp 0
      WiFi firmware version 1.23
      WiFi MAC address bc:dd:c2:57:ad:c0
      WiFi Vcc 3.34, reset reason Turned on by main processor
      WiFi flash size 4194304, free heap 26104
      WiFi IP address 192.168.1.101
      WiFi signal strength -70dBm, reconnections 0, sleep mode modem
      Socket states: 0 0 0 0 0 0 0 0


  • Post your config.g and config-override.g if you have one.



  • My Config.g

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Tue Mar 31 2020 17:50:46 GMT+0700 (Indochina Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"NEW Raise N2" ; set printer name
    M564 H0
    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M569 P0 S1 ; physical drive 0 goes forwards
    M569 P1 S1 ; physical drive 1 goes forwards
    M569 P2 S1 ; physical drive 2 goes forwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M569 P4 S1 ; physical drive 4 goes forwards
    M584 X0 Y1 Z2 E3:4 ; set drive mapping
    M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z800.00 E415.00:415.00 ; set steps per mm
    M566 X900.00 Y900.00 Z22.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z280.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z40.00 E250.00:250.00 ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E700:700 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S10 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X300 Y300 Z300 S0 ; set axis maxima

    ; Endstops
    M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
    M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
    M574 Z1 S1 P"zstop" ; configure active-high endstop for low end on Z via pin zstop

    ; Z-Probe
    M558 P0 H5 F120 T9000 ; disable Z probe but set dive height, probe speed and travel speed
    M557 X15:215 Y15:195 S20 ; define mesh grid

    ; Heaters
    M308 S0 P"bedtemp" Y"pt1000" R4700 ; configure sensor 0 as PT1000 on pin bedtemp
    M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M140 H0 ; map heated bed to heater 0
    M308 S1 P"spi.cs1" Y"rtd-max31865" ; configure sensor 1 as thermocouple via CS pin spi.cs1
    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M143 H1 S280
    M308 S2 P"spi.cs2" Y"rtd-max31865" ; configure sensor 2 as thermocouple via CS pin spi.cs2
    M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
    M143 H2 S280 ; set temperature limit for heater 2 to 280C
    M501

    ; Fans
    M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
    M106 P0 S1 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off

    ; Tools
    M563 P0 S"HOTEND1" D0 H1 F0:1 ; define tool 0
    M221 S100 D1
    G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
    G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
    M563 P1 S"HOTEND2" D1 H2 F0:1 ; define tool 1
    G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
    G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C
    ;M563 P2 S"HOT2" D1 H2 F0:1 ; define tool 2
    ;G10 P2 X0 Y0 Z0 ; set tool 2 axis offsets
    ;G10 P2 R0 S0 ; set initial tool 2 active and standby temperatures to 0C

    ; Custom settings are not defined

    ; Miscellaneous
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
    M501



  • My config-override.g

    ; config-override.g file generated in response to M500 at 2020-04-20 11:32
    ; This is a system-generated file - do not edit
    ; Heater model parameters
    M307 H0 A97.1 C417.0 D1.8 S1.00 V23.2 B0
    M307 H1 A394.1 C133.8 D6.7 S1.00 V23.9 B0
    M307 H2 A282.8 C108.3 D6.7 S1.00 V24.0 B0
    ; Workplace coordinates
    G10 L2 P1 X0.00 Y0.00 Z0.00
    G10 L2 P2 X0.00 Y0.00 Z0.00
    G10 L2 P3 X0.00 Y0.00 Z0.00
    G10 L2 P4 X0.00 Y0.00 Z0.00
    G10 L2 P5 X0.00 Y0.00 Z0.00
    G10 L2 P6 X0.00 Y0.00 Z0.00
    G10 L2 P7 X0.00 Y0.00 Z0.00
    G10 L2 P8 X0.00 Y0.00 Z0.00
    G10 L2 P9 X0.00 Y0.00 Z0.00



  • @Rattlemycage are you using bed mesh compensation and if so, how smooth/flat is your mesh?

    You might be having the same problem as this: https://forum.duet3d.com/topic/17122/jumpy-x-y-movement-on-maestro

    Your Z Jerk and Accel are quite low (note the Jerk units are mm/min, not mm/s!) so might be affecting X/Y movement if the bed can't keep up with the mesh compensation. lf this is the case, fixing the bed/the height map is also a good idea



  • I am not using using bed mesh compensation. What speeds do you suggest i take my Z Jerk and Accel ?

    More so how do I alter it?

    Thank you.



  • @Rattlemycage if you are not using bed mesh compensation, it could also be that you have your slicer set to 'Lift Z' on a retract?

    My Zaxis settings are: 75 mm/min Jerk & 200 mm/s^2 accel

    I have 3 Z-motors wired in series to the Duet so can't run them very hard/fast - they used to be faster/higher accel/Jerk when I only had 2 Z-motors. When setting these, I just kept adjusting the numbers whilst moving the Z axis up and down ~20mm until I found the limit where the Z- motors would start skipping steps. I then set my Jerk/Accel to be a bit less than that to be on the safe side.

    Other thought, It could equally be your extruder motor settings causing slow retractions (exactly as with the Z-axis) as these look a little low (depending on your setup). Try increasing the extruder Jerk and Accel settings and see if that helps.

    On either of these, your motor currents are all set at 800mA. Not sure what your motors are (so check what their limits are!) but you could go higher to get more torque and so allow higher accel and jerk values.

    For all of these, just update the numbers in right lines the config.g file via Duet Web Control, save it and reboot the Duet. Whilst tuning, you can temporarily tweak them by sending the relevant comands via the G-code command line in DWC



  • Thank you so much for your assistance.


  • Moderator

    @Rattlemycage said in Printing stop momentarily:

    M566 X900.00 Y900.00 Z22.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z280.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z40.00 E250.00:250.00 ; set accelerations (mm/s^2)

    These are the lines you would edit by the way.

    Also, what slicer are you using? Could you share a video of the behaviour?


  • administrators

    Are you printing the file from the built-in SD card, or some other way (e.g. via USB or an external SD card)?



  • I am printing the file via the Duet Web Control 2.0.4

    The slicer is Simplify3D.

    When the head stops it leaves small blobs of filament.



  • I increased the speed. without success. Still stopping. What am I missing guys?

    ; Drives
    M569 P0 S1 ; physical drive 0 goes forwards
    M569 P1 S1 ; physical drive 1 goes forwards
    M569 P2 S1 ; physical drive 2 goes forwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M569 P4 S1 ; physical drive 4 goes forwards
    M584 X0 Y1 Z2 E3:4 ; set drive mapping
    M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z800.00 E415.00:415.00 ; set steps per mm
    M566 X900.00 Y900.00 Z200.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z2000.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z250.00 E250.00:250.00 ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E700:700 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S10 ; Set idle timeout

    ; Axis Limits



  • @Rattlemycage Does this momentary stopping coincide with a layer change, or with a retraction, or is it seemingly random? Can you make and post a video of it happening?



  • @Rattlemycage, It is seemly random. On a single layer of an object perimeter, say 4 inches by 5, it might actually come to a stop 7 or more times. I tried to upload a video but my files are larger than the 4mb permitted.


  • Moderator

    For larger files you will need to host them on a file sharing cloud platform like dropbox or google drive or vimeo or youtube.

    Can you also share the sliced gcode file itself?

    Your E speeds are still quite slow at 1200mm/min. That would restrict your retraction speed to 20mm/s. If you have a longer retraction move that can lead to a noticeable pause at travels and layer changes.

    A low E jerk can also cause slow downs when used with pressure advance, but I don't see pressure advance command in your config.

    I would suggest trying these speeds

    M566 X900 Y900 Z200 E3000:3000 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z2000 E6000:6000 ; set maximum speeds (mm/min)
    M201 X2000 Y2000 Z250 E3000:3000 ; set accelerations (mm/s^2)
    M204 P500 T2000 ; print and travel move acceleration
    

    I've removed the .00 to make it more legible. And added the M204 command to have seperate print and travel move accelerations which should speed up travel moves quite a bit which can help blobbing as well. (assuming the blobbing is on retractions.)



  • Thank you for all your assistance. I feel rather embarrassed to ask for more.
    I have the settings for my machine.

    Printing Acceleration 1000.00 mm/s2
    Retract Acceleration 3000.00 mm/s2
    Travel Acceleration 1000.00 mm/s2
    Max Acceleration X 9000.00 mm/s2
    Max Acceleration Y 9000.00 mm/s2
    Max Acceleration Z 100.00 mm/s2
    Max Acceleration E 10000.00 mm/s2
    Max Jerk X/Y 12.00 mm/s
    Max Jerk Z 0.40 mm/s
    Max jerk E 5.00 mm/s

    How do i put these values in my config.g please?

    Thank you


  • Moderator

    @Rattlemycage said in Printing stop momentarily:

    How do i put these values in my config.g please?

    Well you must first edit the config.g file either on the web interface or on the SD card directly.

    https://duet3d.dozuki.com/Wiki/Duet_Web_Control_Manual

    The values you want to edit are the ones I pasted above. Bear in mind that the values you posted are from marlin and are in mm/s and RRF uses mm/min, so note the units being used.

    I would still recommend the values I posted.

    M566 X900 Y900 Z200 E3000:3000 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z2000 E6000:6000 ; set maximum speeds (mm/min)
    M201 X2000 Y2000 Z250 E3000:3000 ; set accelerations (mm/s^2)
    M204 P500 T2000 ; print and travel move acceleration
    

Log in to reply