Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    M571 to turn on Fan 0 everytime the extruder is started.

    Tuning and tweaking
    2
    5
    414
    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.
    • Danny Defelici
      Danny Defelici last edited by

      I'm trying to configure M571 to turn on Fan 0 everytime the extruder is started.
      I've tried this but I think I'm missing something

      M571 P0 F200 S255

      I'm trying to trip a 5-volt small solenoid every time the extruder comes on.
      Danny

      1 Reply Last reply Reply Quote 0
      • dc42
        dc42 administrators last edited by

        The P parameter is the logical pin number, not the fan number. See https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins#Section_Logical_pin_numbers. Note, to use a heater or fan pin you have to make the pin free first before M571 can use it.

        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
        • Danny Defelici
          Danny Defelici last edited by

          is this correct
          M106 P20 I-1
          M571 P20 F200 S255

          1 Reply Last reply Reply Quote 0
          • dc42
            dc42 administrators last edited by

            No, it should be M106 P0 I-1 because it is fan 0 that you are disabling. The M571 command is correct.

            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

            Danny Defelici 1 Reply Last reply Reply Quote 0
            • Danny Defelici
              Danny Defelici @dc42 last edited by

              @dc42
              I'm using 2 extruders and I need to lift my second extruder when it's not printing. So I'm trying to use.
              M571
              How do I address the second extruder using this command

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