Filament detection M591 Causing FW Restart



  • I am trying to configure the following M591 D3 P2 C6 to enable filament presence detection. However, every time this command is issued, the firmware resets.

    Related, I was trying to use M581 E3 T1 S0 C0 but it was triggering constantly. I figured that might be due to electrical noise which is why I then tried to configure M591 instead.

    This is using FW 1.20


  • administrators

    Endstop connector 6 will not work with M591. You need to use 1-5 or 10-11. There is a missing check in the code that you have used a legal pin, and that is causing the reset. I will add that check in the next release.



  • @dc42:

    Endstop connector 6 will not work with M591. You need to use 1-5 or 10-11. There is a missing check in the code that you have used a legal pin, and that is causing the reset. I will add that check in the next release.

    For now, I'm only using simple switches for my filament sensors.

    Got three sensors figured out. Eventually, I'd like to have 4 filament sensors. I apologize for my ignorance but how do I connect to 10 and 11? I take it I have to map some spare pins to them somehow? I am using a thermocouple board too btw.

    Do you mind explaining why the 0, and 6-9 endstop connectors cannot be mapped for this purpose?


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.