• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Filament detection M591 Causing FW Restart

Scheduled Pinned Locked Moved
Firmware installation
2
3
542
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    BMMal
    last edited by 16 Jan 2018, 13:59

    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

    Duet Ethernet - Most likely the most recent Edge firmware
    Duet X5
    7" Panel Due V2
    Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 16 Jan 2018, 14:09

      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.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 0
      • undefined
        BMMal
        last edited by 2 Feb 2018, 17:51 2 Feb 2018, 17:46

        @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?

        Duet Ethernet - Most likely the most recent Edge firmware
        Duet X5
        7" Panel Due V2
        Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA