Configuring Type 4 = sensor with microswitch
-
I have a Magnet Filament Monitor configured as
M591 C"io6.in" S1 P3 D0 L25.15
I read the documentation
https://docs.duet3d.com/en/Duet3D_hardware/Accessories/Rotating_Magnet_Filament_Monitor and https://docs.duet3d.com/User_manual/Connecting_hardware/Sensors_filament but i can't find how to configure for Type 4 to use the microswitch to sense filament-out especially the C parammeter configuration
Can you help me ?
Thanks in advance
-
@demonio669 See https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m591-configure-filament-sensing and this section of the page you linked https://docs.duet3d.com/User_manual/Connecting_hardware/Sensors_filament#configuring-other-filament-out-sensors
Basically, use:
M591 C"io6.in" S1 P4 D0 L25.15
The P parameter sets the filament monitor type; P4 sets it to "Duet3D rotating magnet sensor with microswitch". The microswitch is connected to the filament monitor itself, and it's state is reported in the filament report called by
M591 D0
.If filament runs out, a filament-error event of type 3 is reported, as opposed to type 4 or 5 reported by the filament monitor. This allows you to setup different responses for the different types of filament error. Or just leave it with the default action of pausing and informing you of the error. See https://docs.duet3d.com/User_manual/Connecting_hardware/Sensors_filament#event-system-filament-error-events
Ian
-
@droftarts shoud'nt I connect the 2 pin header to anywhere ? I change P3 to P4 but the sensor says "nofilament"
-
@demonio669 Connect a microswitch to the two-pin header on the rotating magnet sensor. See https://docs.duet3d.com/User_manual/Connecting_hardware/Sensors_filament#connecting-to-the-duet
Optional filament presence switch
The Duet3D Rotating Magnet Filament Monitor has an optional filament presence switch. You can connect a microswitch to the 2-pin "SW" header arranged so that the switch contacts are closed when filament is present and open when it is not.
However, this is not normally necessary, because the filament monitor will detect that there is no filament moving through just a few mm after the end of the filament has passed over the sensor, which will normally be well before the end of the filament reaches the extruder drive.
Note this switch header is not populated in all versions of the monitor but it can be added if desired. It is a standard a standard Molex KK 2 pin header
See the wiring diagram here: https://docs.duet3d.com/Duet3D_hardware/Accessories/Rotating_Magnet_Filament_Monitor#wiring
Ian
-
@demonio669 On the 2-pin header you connect your switch (just in case there is a missunderstanding, YOU need to provide a switch, there is no switch built into the sensor itself).
-
@Diamondback I understand! my bad! Thank You!!
think it would be nice if the next version came with a built-in filament run-out sensor
-
@demonio669 said in Configuring Type 4 = sensor with microswitch:
think it would be nice if the next version came with a built-in filament run-out sensor
The filament monitor needs to be placed as close to the extruder drive as possible in order to measure extrusion accurately; whereas a filament-out sensor should be further away from the extruder drive so that it detects the filament out condition well before the end of the filament reaches the extruder drive.