problem stop printing
-
@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
-