problem stop printing
-
; Configuration file for Duet 3 (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed Mar 31 2021 11:16:46 GMT+0200 (heure d’été d’Europe centrale) ;M98 P"/sys/condition2.g" ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"" M451 ; Drives M569 P0 S0 ; Drive 0 T0 Extrudeur Gauche M569 P2 S0 ; Drive 1 T1 Extrudeur Droit M569 P3 S1 ; Drive 3 T0 Extrudeur Bobine Gauche M569 P4 S1 ; Drive 4 T1 Extrudeur Bobine Droit G4 S1 ; set drive mapping M584 E1:2 M584 A3 B4 M584 P3 M350 E16:16 I1 ; configure microstepping without interpolation M350 A16 B16 I1 ; configure microstepping with interpolation M92 A415 B415 E583:582 ; set steps per mm M566 A500 B500 E500:500 ; set maximum instantaneous speed changes (mm/min) M203 A3600 B3600 E1200:1200 ; set maximum speeds (mm/min) M201 A500 B500 E500:500 ; set accelerations (mm/s^2) M906 A1200 B1200 E600:600 I30 ; set motor currents (mA) and motor idle factor in per cent ; Axis Limit M208 X0:1050 Y0:510 Z0:512 V0:510 W0:512 A-10000:10000 B-10000:10000 ;C-10:10 M208 A-10000:10000 B-10000:10000 ;C-10:10 M671 X0:1030 Y250:250 ; Défini la position des vis à bille ; Endstops ;Stall Detection ; Z-Probe ;M558 P5 C"!io4.in" H7.5 F300 T6000 ; set Z probe type to switch and the dive height + speeds M558 P5 C"io7.in" H7.5 F300 T6000 G31 P500 X0 Y0 Z-2.35 ; set Z probe trigger value, offset and trigger height M557 X50:950 Y50:450 S100 ;define mesh grid ; Heaters ; Bed heater M308 S0 P"temp2" Y"thermistor" A"Plateau chauffant" T100000 B4138 C0 ; 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 B0 R0.334 C356.2 D1.33 S1.00 V24.0 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 M570 H0 P60 T10 S120; set temperature limit for heater 0 to 120C ;Heat chamber M308 S3 P"temp3" Y"thermistor" A"Chambre" T100000 B4725 C7.06e-8 ; configure sensor 3 as thermistor on pin temp3 M950 H3 C"out3" T3 ; create chamber heater output on out3 and map it to sensor 3 M570 H3 P1800 T20 M307 H3 B0 S1.00 ; disable bang-bang mode for the chamber heater and set PWM limit M141 H3 ; map chamber to heater 3 M570 H3 S0 T20 ; 30min extra 20°C tolerance M143 H3 S100 ; set temperature limit for heater 3 to 100C ;Filament Monitor ;M591 P3 C"io5.in" S1 D0 ; filament monitor connected to E0_stop ;M591 P3 C"io6.in" S1 D0 ; filament monitor connected to E0_stop ; Fans M950 F0 C"35.out0" ; create fan 1 on pin out5 and set its frequency M950 F1 C"35.out1" ; create fan 2 on pin out6 and set its frequency ;Servo M950 S4 C"io4.out" ; Servo Montée / Descente M950 S5 C"io5.out" ; Servo B0 M950 S7 C"io7.out" ; Servo B1 ;Input M950 J6 C"io7.in" M581 T0 P6 S1 R0 M581 T15 P15 S0 R0 ;Output ;M950 P0 C"20.out0" ; Verrouillage porte M950 P1 C"10.out0" ; Water Cooling ;M150 X0 ; set LED type to NeoPixel and set SPI frequency to 3MHz G4 S5 M17 ; Custom settings are not defined M98 P/macros/Tools/10_ToolMapping.g M375 P"/sys/_Printer/heightmap.csv" M376 H15 ; bed compensation taper ; Miscellaneous M501 ; load saved parameters from non-volatile memory M911 S22.0 R22.5 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" set voltage thresholds and actions to run on power loss
; pause.g ; called when a print from SD card is paused ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed Mar 31 2021 11:16:46 GMT+0200 (heure d’été d’Europe centrale) ;M83 ; relative extruder moves ;G1 E-10 F3600 ; retract 10mm of filament G4 S0.5 M42 P0 S1 G91 ; relative positioning G1 Z5 F360 ; lift Z by 5mm G90 ; absolute positioning G1 X5 Y510 F6000 ; go to X=0 Y=0
; called when M0 (Stop) is run (e.g. when a print from SD card is cancelled) G4 S0.5 G0 X10 Y500
-
@tom33 Since you do not have any network commands in your config.g, I suspect you are operating your board in SBC mode. Can you confirm that you updated using
apt update
/apt upgrade
procedure and not by uploading the ZIP bundle? See here how it should be done. It is important that all the different components have the same software version.I just tried to terminate a print after the skirt using
M0
in the print file and it worked as expected. Likewise pause/cancel worked as intended.If you can confirm both DSF and RRF are on v3.4.1, please send the output of
M122
when the print continues despite the pause/cancel attempt. -
No I'm running in standolone mode
I have two config files
; Version 0.8.0 Modifié le : 10/12/2021 à 15h00 M552 P192.168.1.200 S1 ; Enable Networking) M553 P255.255.0.0 M586 P0 S1 ; Enable HTTP) M586 P1 S0 ; Disable FTP) M586 P2 S0 ; Disable Telnet) M550 P"" ; Drives G4 S1 M569 P10.0 S1 R0 T5:2.5:5:0 ; Driver 10.0 Axe X ) G4 S1 M569 P20.0 S0 R0 T5:2.5:5:0 ; Driver 20.0 Axe Y - Gauche ) G4 S1 M569 P25.0 S0 R0 T5:2.5:5:0 ; Driver 25.0 Axe V - Droit) G4 S1 M569 P30.0 S0 R1 T5:2.5:5:0 ; Driver 30.0 Axe Z - Gauche) G4 S1 M569 P35.0 S0 R1 T5:2.5:5:0 ; Driver 35.0 Axe W - Droit ) ; set drive mapping M584 X10.0 Y20.0:25.0 Z30.0:35.0 V25.0 W35.0 M92 X320 Y320.3 Z320 V320.3 W320 ; set steps per mm M566 X450 Y450 Z20 V450 W20 ; set maximum instantaneous speed changes mm/min) M203 X9000 Y9000 Z3000 V9000 W3000 ; set maximum speeds (mm/min) M201 X350 Y350 Z25 V350 W25 ; set accelerations (mm/s^2) ; Axis Limits M208 X0:1030 Y0:515 Z0:550 V0:515 W0:550 M671 X0:1040 Y250:250 ; Défini la position des vis à bille ; Endstops M574 X1 S1 P"10.io1.in" ; Fin de course axe X M574 Y2 S1 P"20.io1.in+20.io2.in" ; Fin de course axe Y M574 Z2 S1 P"35.io1.in+35.io2.in" ; Fin de course axe Z ;M574 V2 S1 P"20.io2.in" ; Fin de course axe V ;M574 W2 S1 P"35.io2.in" ; Fin de course axe W ;Input M950 J0 C"io0.in" ; Arret d'urgence) M581 T0 P0 S1 R0 ; Trigger0.g --> M112 Arret d'urgence) M950 J9 C"35.io0.in" ; Défaut Moteur M581 T0 P9 S1 R0 M950 J2 C"io1.in" ; Pause / Play trigger 2.g M581 T2 P2 S0 R0 ; Trigger2.g --> M25 Pause / Play M950 J3 C"io2.in" ; Pause / Stop trigger 3.g M581 T3 P3 S0 R1 ; Trigger3.g Stop) ;M950 J4 C"25.io2.in" ; Ouverture porte ;M581 T4 P4 S0 R0 ; Trigger4.g Door M950 J5 C"25.io1.in" ; Porte ouverte / Préventa M581 T5 P5 S0 R0 ; Trigger5.g Door M950 J10 C"!10.io0.in" ; Detection Outils 1 M581 T10 P10 S1 R0 ; Trigger10.g M950 J11 C"!20.io0.in" ; Detection Outils 2 M581 T11 P11 S1 R0 ; Trigger11.g M950 J12 C"!30.io0.in" ; Detection Outils 3 M581 T12 P12 S1 R0 ; Trigger12.g M950 J13 C"!io8.in" ; Detection Outils 4 M581 T13 P13 S0 R0 ; Trigger13.g M950 J14 C"!25.io2.in" ; Detection Outils 5 M581 T14 P14 S0 R0 ; Trigger14.g M950 J15 C"!25.io0.in" ; Detection Outils 6 M581 T15 P15 S1 R0 ; Trigger15.g ;Output M950 P0 C"20.out0" ; Verrouillage porte M950 P2 C"30.out0" ; Led intérieur M42 P2 S1 M950 P10 C"25.out0" ; Electrovanne air M950 P11 C"30.out1" ; Electrovanne Lubrification M950 P12 C"25.out1" ; Aspirateur M150 X0 ; set LED type to NeoPixel and set SPI frequency to 3MHz global Timeant = 0 global CumulativeTime =0 global TimeantPrint = 0 global CumulativeTimePrint = 0 global TimeantCNC = 0 global CumulativeTimeCNC =0 global TimeantLaser = 0 global CumulativeTimeLaser = 0 M98 P/macros/myUpTime.g M98 P/macros/myUpTimePrint.g M98 P/macros/myUpTimeCNC.g M98 P/macros/myUpTimeLaser.g set global.CumulativeTime = {global.Timeant} set global.CumulativeTimePrint = {global.TimeantPrint} set global.CumulativeTimeCNC = {global.TimeantCNC} set global.CumulativeTimeLaser = {global.TimeantLaser} G4 S5 ;M17 M98 P/macros/Machine/Led/05_EndStop.g M98 P/macros/Tools/01_Detection.g
All the device have the same firmware version.
And when I'm in CNC mode I don't have the problem
-
@tom33 I'm sorry but I cannot reproduce this problem in SBC or standalone mode. Do you perhaps have anything else in your tool change macros or daemon.g? If no, share the output of
M122
after the print resumes in "idle" state. -
@chrishamm
M122M122 === Diagnostics === RepRapFirmware for Duet 3 MB6HC version 3.4.1 (2022-06-01 21:09:01) running on Duet 3 MB6HC v1.01 or later (standalone mode) Board ID: 08DJM-9P63L-DJ3T0-6J1F2-3SJ6N-KA3BA Used output buffers: 3 of 40 (32 max) === RTOS === Static ram: 151000 Dynamic ram: 99552 of which 0 recycled Never used RAM 96568, free system stack 112 words Tasks: NETWORK(ready,71.3%,219) ETHERNET(notifyWait,44.8%,157) HEAT(notifyWait,3.1%,321) Move(notifyWait,130.5%,233) CanReceiv(notifyWait,6.3%,772) CanSender(notifyWait,1.4%,346) CanClock(delaying,0.8%,339) TMC(notifyWait,146.9%,58) MAIN(running,50.7%,1085) IDLE(ready,0.0%,30), total 456.0% Owned mutexes: === Platform === Last reset 64:04:33 ago, cause: software Last software reset at 2022-06-27 17:21, reason: User, GCodes spinning, available RAM 96712, slot 0 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 Step timer max interval 224 MCU temperature: min 33.8, current 34.2, max 43.2 Supply voltage: min 20.7, current 23.7, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes 12V rail voltage: min 11.9, current 12.0, max 12.0, under voltage events: 0 Heap OK, handles allocated/used 99/8, heap memory allocated/used/recyclable 2048/1556/1418, gc cycles 2159 Events: 0 queued, 0 completed Driver 0: standstill, SG min 0, mspos 8, reads 7124, writes 11 timeouts 0 Driver 1: stalled, SG min 0, mspos 58, reads 7093, writes 43 timeouts 0 Driver 2: standstill, SG min 0, mspos 8, reads 7115, writes 21 timeouts 0 Driver 3: standstill, SG min 0, mspos 8, reads 7115, writes 21 timeouts 0 Driver 4: standstill, SG min 0, mspos 8, reads 7115, writes 21 timeouts 0 Driver 5: standstill, SG min 0, mspos 8, reads 7125, writes 11 timeouts 0 Date/time: 2022-06-30 09:26:11 Slowest loop: 142.48ms; fastest: 0.03ms === Storage === Free file entries: 9 SD card 0 detected, interface speed: 25.0MBytes/sec SD card longest read time 3.4ms, write time 111.8ms, max retries 0 === Move === DMs created 125, segments created 29, maxWait 24673819ms, bed compensation in use: mesh, comp offset 0.000 === MainDDARing === Scheduled moves 5260, completed 5253, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 5], CDDA state 3 === 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 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters 3 -1 -1 -1, ordering errs 0 Heater 0 is on, I-accum = 0.0 Heater 1 is on, I-accum = 0.1 === GCodes === Segments left: 1 Movement lock held by null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is doing "G1 X513.495 Y250.567 E10.62088" in state(s) 0 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 4837621, received 10150753, lost 0, boc 0 Longest wait 2ms for reply type 6023, peak Tx sync delay 561, free buffers 50 (min 15), ts 1153368/1153367/0 Tx timeouts 0,0,0,0,0,0 === Network === Slowest loop: 112.37ms; fastest: 0.02ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions HTTP sessions: 1 of 8 - Ethernet - State: active Error counts: 0 0 1 0 0 Socket states: 5 2 2 2 2 0 0 0
-
@chrishamm
daemon.gM98 P/macros/Machine/Safety/01_ATU.g M98 P/macros/Machine/Safety/02_Moteur.g M98 P/macros/Machine/Led/01_State.g var Time = {state.upTime} set global.CumulativeTime = {var.Time + global.Timeant} echo >"0:/macros/myUpTime.g" "set global.Timeant = "^{var.Time + global.Timeant}^"" if state.status = "processing" set global.CumulativeTimePrint = {job.duration + global.TimeantPrint} echo >"0:/macros/myUpTimePrint.g" "set global.TimeantPrint = "^{job.duration + global.TimeantPrint}^"" else
-
@tom33 Please share the macro files you invoke from daemon.g. Is your daemon.g truncated or why is there an "else" statement a the end? Does the problem persist if you disable daemon.g, e.g. by renaming it to daemon-disabled.g?
-
@chrishamm
moteur.gwhile sensors.gpIn[9].value=0 M291 S2 R"warning" P"Défaut Moteur / Reset nécessaire" M150 R255 U0 B0 S60 F0 Y31
ATU
while sensors.gpIn[0].value=1 M150 R255 U0 B0 S120 F0 Y31 M112 M291 S2 R"warning" P"ATU enfoncé / Armement nécessaire"
led.g
if !move.axes[0].homed || !move.axes[1].homed || !move.axes[2].homed M150 R0 U0 B255 S17 F1 M150 R255 U255 B255 S7 F1 M150 R255 U0 B0 S7 F1 M150 R255 U0 B0 S89 F0 elif state.status = "halted" M150 R255 U0 B255 S120 F0 elif state.status = "idle" ; state.status = "idle" if sensors.gpIn[5].value=1 M150 R0 U0 B255 S17 F1 M150 R255 U255 B255 S7 F1 M150 R255 U0 B0 S7 F1 M150 R255 U100 B0 S89 F0 else M150 R0 U0 B255 S17 F1 M150 R255 U255 B255 S7 F1 M150 R255 U0 B0 S7 F1 M150 R0 U255 B0 S89 F0 elif state.status = "paused" M150 R0 U0 B255 S17 F1 M150 R255 U255 B255 S7 F1 M150 R255 U0 B0 S7 F1 M150 R250 U250 B25 S89 F0 elif state.status = "processing" M98 P/macros/Machine/Led/02_Job.g else state.status = "busy" M150 R0 U0 B255 S17 F1 M150 R255 U255 B255 S7 F1 M150 R255 U0 B0 S7 F1 M150 R255 U255 B255 S89 F0
-
I tryed to rename the daeamon file and remove the else but nothing change.
-
Does Pause and Cancel in the DWC work?
-
The pause / resume work but not the Stop.
I try to remove the stop.g, resume.g pause.g and also the resurrect & resurrect.prologue but nothing change...
-
I noticed something at the end of a job the printer do not execute the stop.g
-
@tom33 stop.g won't be ran unless you have M0 at the end of your job file
-
@jay_s_uk @chrishamm @Phaedrux
Hi,I found the problem. The problem occurs when my V & W axis are not home.
Like I use M584 P3 to hide them there is a way to avoid this ?
-
What exactly are your V and W axis? Are they axis which could be forced homed with G92?
-
I have two axis on the Y and Z, I use them to offset the position and make sure all my axis are perprendicular
-