Filament detection and user pause button May 29, 2016 12:43PM |
Registered: 9 years ago Posts: 475 |
; /sys/start.g To be executed at print start (add 'M98 P/sys/start.g' in your slicer ; print start code) M581 E1 S0 T2 ; Trigger 2 rised if filament is missing. Switch on E1 connect ; signal and ground pin when there is no filament, so trigger ; on falling edge. Other extruder switch or user accessible ; pushbutton (closed on action) can be paralleled M582 T2 ; Check if the Filament absence is detected NOW ; M581 E0 S0 T3 ; If endstop 0 is available (no probe), trigger resume print ; on E0 activation ; /sys/cancel.g M581 S-1 T2 ; neutralise trigger 2 while stopping print M581 S-1 T3 ; neutralise trigger 3 while stopping print ; Next is non standard and unrelated to filament detection M140 S55 ; Set the bed temperature and don't wait for it M104 S155 ; set the current hotend temperature to 155 and don't wait for it ; /sys/stop.g M581 S-1 T2 ; neutralise trigger 2 while stopping print M581 S-1 T3 ; neutralise trigger 3 while stopping print ; /sys/trigger2.g M300 S300 P500 ; Beep M300 S1000 P1000 ; Beep M117 No filament or User pause ; Message on DWC or Panel ;M84 E0:1 ; Turn extruders motors off - Don't work M25 ; Pause print (and run pause.g before) ; /sys/trigger3.g Option for a 'resume' button M24 ; Resume print (and run resume.g before) ; /sys/pause.g M581 S-1 T2 ; neutralise trigger 2 while pausing print - to avoid multiple triggers G1 E-4 F2500 ; retract 4mm M84 E0:1 ; Turn extruders motors off G91 ; relative moves G1 Z50 F5000 ; raise nozzle 50mm G90 ; absolute moves G1 X0 Y85 F5000 ; move head out of the way of the print ; /sys/resume.g M581 E1 S0 T2 ; Reactivate trigger 2 M582 T2 ; Check again there is filament G1 R1 Z2 F5000 ; move to 2mm above resume point G1 R1 ; lower nozzle to resume point G1 E4 F2500 ; undo the retraction
Re: Filament detection and user pause button May 31, 2016 07:30PM |
Registered: 11 years ago Posts: 92 |
Re: Filament detection and user pause button July 22, 2016 06:59AM |
Registered: 14 years ago Posts: 862 |
Re: Filament detection and user pause button August 02, 2017 10:42AM |
Registered: 7 years ago Posts: 174 |
Re: Filament detection and user pause button August 02, 2017 03:04PM |
Registered: 11 years ago Posts: 14,686 |
Quote
Karoo Klong
This is a great idea!!
But one of the biggest problems is also when the filament gets stuck and no movement happens.
Can it be done that the movement of the filament is detected and in the absence of movement when the extruder gears are working it will also pause the print?
Re: Filament detection and user pause button September 24, 2017 09:30AM |
Registered: 10 years ago Posts: 294 |
Quote
dc42
I'm currently adding support for the Duet3D filament sensor to RRF. This sensor reports filament movement and the firmware correlates it with commanded extrusion, so it is able to detect stuck filament.
Re: Filament detection and user pause button September 24, 2017 12:51PM |
Registered: 11 years ago Posts: 14,686 |