Runout filament sensor - microswitch



  • Hello everyone,
    I'm having a problem with a runout filament sensor. I'm using a Trianglelab.
    I use M591 and I connect it to E0 endstop:

    M591 D0 P2 C3 S1

    I don't specify anything in M574 for E0 endstop.
    The problem is, that also if the filament is present (reported by M591 D0), the printing job is paused as there isn't filament.
    After pause, if I check with M591 D0, it says filament present.
    Another info, I'm running 2.05.1 firmware on duet 2 wifi.

    What could be the problem?


  • administrators

    @bigsub said in Runout filament sensor - microswitch:

    The problem is, that also if the filament is present (reported by M591 D0), the printing job is paused as there isn't filament.

    Is it paused immediately, or after some time?


  • Moderator

    @bigsub Your command looks correct for an active low TriangleLabs filament runout sensor.

    I'd suspect poor wiring or interference is giving you false triggering. Because the Duet is expecting 0V when filament is present and the switch is triggered, any voltage that is being picked up makes it look like the switch has been released, and there's no filament present. Check the wiring for bad contacts, loose and/or poorly crimped crimps, or the wires running close to other high current wires, eg stepper motor wires. It's also possible that the filament bumping over a particularly sensitive microswitch switch is generating enough movement to create a false reading occasionally.

    Ian



  • @dc42 said in Runout filament sensor - microswitch:

    @bigsub said in Runout filament sensor - microswitch:

    The problem is, that also if the filament is present (reported by M591 D0), the printing job is paused as there isn't filament.

    Is it paused immediately, or after some time?

    It's paused after some instructions printed.



  • @droftarts said in Runout filament sensor - microswitch:

    @bigsub Your command looks correct for an active low TriangleLabs filament runout sensor.

    I'd suspect poor wiring or interference is giving you false triggering. Because the Duet is expecting 0V when filament is present and the switch is triggered, any voltage that is being picked up makes it look like the switch has been released, and there's no filament present. Check the wiring for bad contacts, loose and/or poorly crimped crimps, or the wires running close to other high current wires, eg stepper motor wires. It's also possible that the filament bumping over a particularly sensitive microswitch switch is generating enough movement to create a false reading occasionally.

    Ian

    Ok many thanks, I'll check.


Log in to reply