Problems with pause function
-
Hi everyone, I am having some issues when I pause my prints.
Sometimes I pause the print and it executes the whole pause.g file without problem, but sometimes it only pauses the print in the same place the printhead is at that moment, not executing the pause.g file.
Sometimes it also executes the whole pause.g filebut it looses home in all the axis and shuts off both bed and printhead heaters.
Currently running 3.5.2.
Pause.g file:
M83 ; movimietnos relativos del extrusor
G1 E-5 F3600 ; Se retraen 10mm de filamento
G91 ; Coordenadas relativas
G1 Z30 F360 ; Se levanta el cabezal 30mm
G90 ; Coordenadas absolutas -
@marioys97 I can't see anything in that pause.g macro that would cause such issues. How are you triggering the pause, in DWC or on PanelDue? Please post the output of M122, and post your config.g.
Also test your SD card, see https://docs.duet3d.com/en/User_manual/RepRapFirmware/SD_card
Ian
-
@droftarts Hi,thanks for the help!
M122 output attached:M122 === Diagnostics === RepRapFirmware for Duet 3 MB6HC version 3.5.3 (2024-09-18 11:27:36) running on Duet 3 MB6HC v1.01 (standalone mode) Board ID: 0JD2M-999AL-D25SW-6J1FA-3SN6R-1NX33 Used output buffers: 3 of 40 (33 max) Error in macro line 87 while starting up: in file macro line 87: M570: missing parameter 'H' === RTOS === Static ram: 155352 Dynamic ram: 122240 of which 360 recycled Never used RAM 64344, free system stack 122 words Tasks: NETWORK(1,ready,37.4%,145) ETHERNET(5,nWait 7,1.7%,116) HEAT(3,nWait 6,0.0%,321) Move(4,nWait 6,2.8%,211) CanReceiv(6,nWait 1,0.0%,771) CanSender(5,nWait 7,0.1%,327) CanClock(7,delaying,0.0%,346) TMC(4,nWait 6,10.1%,53) MAIN(1,running,48.0%,444) IDLE(0,ready,0.0%,29), total 100.0% Owned mutexes: === Platform === Last reset 51:01:37 ago, cause: power up Last software reset at 2024-10-21 09:57, reason: User, Gcodes spinning, available RAM 65304, slot 1 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 MCU temperature: min 40.2, current 43.0, max 47.6 Supply voltage: min 23.1, current 24.1, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes 12V rail voltage: min 12.0, current 12.1, max 12.1, under voltage events: 0 Heap OK, handles allocated/used 99/6, heap memory allocated/used/recyclable 2048/184/24, gc cycles 0 Events: 0 queued, 0 completed Driver 0: standstill, SG min 0, mspos 152, reads 47780, writes 1 timeouts 0 Driver 1: standstill, SG min 0, mspos 152, reads 47781, writes 1 timeouts 0 Driver 2: standstill, SG min 0, mspos 152, reads 47781, writes 1 timeouts 0 Driver 3: standstill, SG min 0, mspos 152, reads 47781, writes 1 timeouts 0 Driver 4: standstill, SG min n/a, mspos 8, reads 47782, writes 0 timeouts 0 Driver 5: standstill, SG min 0, mspos 696, reads 47780, writes 1 timeouts 0 Date/time: 2024-10-30 12:21:15 Slowest loop: 14.10ms; fastest: 0.07ms === Storage === Free file entries: 19 SD card 0 detected, interface speed: 25.0MBytes/sec SD card longest read time 3.6ms, write time 1.0ms, max retries 0 === Move === DMs created 125, segments created 35, maxWait 1590ms, bed compensation in use: mesh, height map offset 0.220, max steps late 0, min interval 0, bad calcs 0, ebfmin -0.00, ebfmax 1.00 no step interrupt scheduled Moves shaped first try 0, on retry 0, too short 0, wrong shape 0, maybepossible 0 === DDARing 0 === Scheduled moves 8380705, completed 8380705, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === DDARing 1 === 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 2 -1 -1 -1, ordering errs 0 Heater 0 is on, I-accum = 0.3 Heater 1 is on, I-accum = 0.5 === GCodes === Movement locks held by null, 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 File2 is idle in state(s) 0 Queue2 is idle in state(s) 0 Q0 segments left 0, axes/extruders owned 0x80000003 Code queue 0 is empty Q1 segments left 0, axes/extruders owned 0x0000000 Code queue 1 is empty === CAN === Messages queued 4351390, received 682766, lost 0, errs 0, boc 0 Longest wait 1ms for reply type 6023, peak Tx sync delay 673, free buffers 50 (min 49), ts 426725/426725/0 Tx timeouts 0,0,0,0,0,0 === Network === Slowest loop: 15.81ms; fastest: 0.03ms Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0) HTTP sessions: 2 of 8 = Ethernet = Interface state: active Error counts: 0 0 0 0 0 0 Socket states: 5 2 2 2 2 2 0 0 === Multicast handler === Responder is inactive, messages received 0, responses 0
Config:
; General Configuration G90 ; Absolute Coordinates M83 ; Relative Extruder Movement M550 P"my printer" ; Machine Name ; Network Configuration M540 P00:EE:FD:AD:DE:DH ; MAC Adress M552 P192.168.101.127 S1 ; Fixed IP M554 P192.168.0.1 ; Gateway M553 P255.255.0.0 ; Network Submask M586 P0 S1 ; HTTP ENABLED M586 P1 S1 ; FTP ENABLED M586 P2 S0 ; TELNET DISABLED ; Driver Configuration M569 P0.0 S1 ; Default Configuration, S1=Reversed M569 P0.1 S1 M569 P0.2 S1 M569 P0.3 S1 M569 P1.0 S0 M569 P1.1 S0 M569 P1.2 S0 M569 P0.4 S1 M569 P0.5 S1 M584 Z0.0:0.1:0.2:0.3 X1.0:1.1 Y1.2 E0.5 ; Axis-Driver ;M584 Z0.3 X1.0 Y1.2 E0.5 ; Axis-Driver ; Motion Configuration M564 S1 H1 ; Movement only allowed after homing. Movement only allowed inside the axis limits M208 X0 Y0 Z-1 S1 ; Axis Minimum M208 X510 Y510 Z500 S0 ; Axis Maximum M574 X1 S1 P"0.io0.in" ; Xmin Endstop M574 Y1 S1 P"0.io1.in" ; Ymin Endstop M92 X320.48 Y320.64 Z640 E405 ; Steps/mm M350 X16 Y16 E16 Z16 I1 ; 16X Microstepping. Interpolation Enabled M566 X300 Y300 Z60 E120 ; Jerk (mm/min), M203 X7000 Y7000 Z800 E1200 ; Maximum Speed (mm/min) M201 X500 Y500 Z40 E250 ; Maximum Acceleration (mm/s^2) M906 X2000 Z1800 Y2000 E600 ; Axis Current (mA) M671 X-423:-423:647:647 Y-27:533:533:-27 P5 S1 ; define leadscrews position ; Z-Probe (piezo) ;M558 P1 C"!io6.in" X0 Y0 Z0 H15 T2000 F100 R1 ; Declaración de probeta Smart IR, Probe Height=5, Feedrate=200 ;M558 P1 C"!io6.in" X0 Y0 Z0 H5 T6000 F75 R2 B1; Declaración de probeta Smart IR, Probe Height=5, Feedrate=200 COMENTADO A DIA 18/04/2023 POR VICTOR ;M558 P1 C"!io6.in" X0 Y0 Z0 H5 T4000 F100 R2 ; Declaración de probeta Smart IR, Probe Height=5, Feedrate=200 ;G31 X0 Y0 Z0 P850 ; Offsets de la probeta con respecto al nozzle, configuración NOVA COMENTADO A DIA 18/04/2023 POR VICTOR M558 P1 C"!io6.in" X0 Y0 Z0 H5 T6000 F100 R0.5 ; Declaración de probeta Smart IR, Probe Height=5, Feedrate=200 NUEVO DIA 18/04/2023 m950 p2 c"io6.out" G31 X0 Y0 Z-0.10 P850 ; Offsets de la probeta con respecto al nozzle, configuración NOVA NUEVO DIA 18/04/2023 M557 X0:500 Y0:500 S50:50 ; Height Map Limits. S = Spacing ; Sensor Declaration M308 S0 P"temp0" Y"thermistor" T65000 R2200 A"BED" ; Heated Bed Temperature Sensor Configuration M308 S1 P"temp2" Y"PT1000" A"PT-1000" ; Nozzle Temperature Sensor Configuration M308 S2 P"temp1" Y"PT1000" A"CHAMBER" ; Chamber Heater Temperature Sensor Configuration M308 S3 P"temp3" Y"PT1000" A"CHAMBER_TOP" ; Chamber Heater Temperature Sensor Configuration M950 H0 C"out9" T0 ; Heated Bed Configuration M950 H1 C"out1" T1 ; Nozzle Configuration M141 H2 ; Configuracion como chamber Mario 13/12/2023 M950 H2 Q0 C"out7" T2:3 ; Chamber Heater Configuration Mario 13/12/2023 M307 H2 B0 S1.00 ; Disable bang bang mode, pwm a 1 Mario 13/12/2023 M143 H2 T3 S150 A2 ; Prueba calefactor central, con PT1000 pegado al radiador. Corte a 150º Mario 13/12/2023 M570 H2 P10000 T60 ; Deteccion heater fault , Mario 13/12/2023 M950 F1 C"out4" ; GpOUT for Thermostatic M950 F0 C"out6" ; GpOUT for Layer fans M950 P0 C"out8" ; GpOUT for Light M950 P1 C"out5" ; GpOUT for Filter ; Fan Declaration M106 P0 S0 C"Layer Fan" ; Layer Fan Declaration M106 P1 S255 H1 T150 C"Thermostatic fan " ; Thermostatic Fan Declaration ; Heaters Declaration M140 H0 ; Declares Heated Bed M141 H2 ; Declares Heated Chamber M307 H0 A64.3 C185.2 D3.6 S1 V25.6 B0 ; Default Calibration of Heated Bed Model. M307 H1 A829 C261.3 D8.1 S1.00 V25.6 B0 ; Default Calibration of Nozzle Model. M307 H2 B1 ; Default Calibration of Heated Chamber Model. M143 H0 S130 ; Heated Bed Maximum Temperature M143 S500 ; Nozzle Maximum Temperature M570 S180 ; Nozzle Heater Timeout M570 H1 P50 S1000 ; Heater Fault Configuration for Nozzle M570 H2 P600 S6000 ; Heater Fault Configuration for Chamber ; Declaration of TOOL 0 (DRAGON hotend with one layer fan, and thermostatic fan for FDM) M563 P0 D0 H1 F1 S"FDM" ; Tool Configuration G10 P0 S0 R0 X0 Y0 Z0 ; Standby Parameters for Tool 0 ;DHT Sensor M308 S5 P"io5.out" Y"dht22" A"Filament Temp" ; define DHT22 temperature sensor M308 S6 P"S5.1" Y"dhthumidity" A"Filament Hum[%]" ; Attach DHT22 humidity sensor to secondary output of temperature sensor ; Advanced ConfigurationS M572 D0 S0.10 ; Pressure Advance (Calibrated Value) M911 S23 R22 P"M28 0:/sys/resurrect-prologue.g" ; Power Loss Configuration ; Triggers M950 J0 C"io5.in" ; Photoelectric sensor to check if doors are opened M581 P0 T1 R1 S1 ; Trigger function when the doors are opened M581 P0 T2 R1 S0 ; Trigger function when the doors are closed M17 ; Enable Motors M501 ; Charges parameters from the EEPROM (config-override) G29 S1 ; Charges mesh M42 P0 S1 T0 ; Selecciona Tool 0 por defecto