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

    M558 and fan question

    Scheduled Pinned Locked Moved
    Smart effector for delta printers
    2
    7
    1.1k
    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.
    • Cinproundefined
      Cinpro
      last edited by

      Should the M558 setting match between the Endstop section and the Probe section in the config?

      ; Endstops
      M574 X2 Y2 Z2 S1 ; Define active high microswitches
      M558 P1 X0 Y0 Z0 H5 F120 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
      M557 R130 S20 ; Define mesh grid

      ; Z-Probe
      M307 H3 A-1 C-1 D-1 ; reserve pin 21 for M42 or servo use
      M558 P5 R0.4 F1000
      G31 P100 X0 Y0 Z-0.1; Set Z probe trigger value, offset and trigger height

      When I disconnect from the Duet and turn the machine off then back on the fans are set to 100% even if I have turned them off the last time. The hotend cooling fan is thermostatically set to 60, the heaters are reading properly @ 26c. Also it used to test the fans on start up, run them for a few seconds and then turn them off. now they come on and stay on.

      ; Fans
      M106 P0 S0 I0 F255 H-1; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P2 S1 I0 F255 T60 H-1; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
      ; Needs Repair M106 P1 S0 I0 F255 H-1; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off

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

        The M574 homing switch setting and the M558 Z probe setting are independent, unless you use nonzero X, Y or Z parameters in the M558 command, which is rarely needed.

        Fans 0 and 2 default to off. S0 means use zero PWM and S1 means use full PWM. Therefore the M106 commands you listed should turn fan 2 on and leave fan 0 off.

        Fan 1 defaults to on and thermostatic mode. So it will turn on when the board is reset, then if the hot end and bed are both found to be cold it will turn off.

        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
        • Cinproundefined
          Cinpro
          last edited by

          So if I change fan 2 to S0 with the therm trigger set it should behave like Fan1 until I can get parts to fix Fan1 MOSFET?

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

            You can set fan 2 to S1 (not S0) with thermostatic trigger and it will behave like fan 1 should, except that it probably won't turn on for a second when you start up because it defaults to being off.

            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
            • Cinproundefined
              Cinpro
              last edited by

              Okay, set as above, it is not coming on at 60c, I had to over ride it when running M303 just now

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

                H-1 turns thermostat control off. See the description of M106 in the gcode wiki page.

                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
                • Cinproundefined
                  Cinpro
                  last edited by

                  Got it, been a while since I set this up, thanks for the help 😄

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