Duet3D Logo

    Duet3D

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

    PWM logics of M307

    General Discussion
    2
    8
    153
    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.
    • Kaj
      Kaj last edited by

      Hi Everyone,

      I was getting error because my bed heated up slower than the expected 1.7°C/s
      I tried autotuning but apparantly it failed somewhere during phase 4.

      I changed the PWM value to 2 and haven't had the error since but I'd like to know what it actually does.

      M307 H0 B1 S2.00

      Kind regards,

      Kaj

      1 Reply Last reply Reply Quote 0
      • Danal
        Danal last edited by

        Given that the documentation for M307 says:

        Snnn maximum PWM to be used used with this heater on a scale of 0 to 1. Default 1.0.

        That S2.00 is likely doing nothing. The default was 1.0 and I'd bet that setting it beyond 1 just sets it to 1. Further, I'd bet that the non-error is because the bed was not totally, completely, cooled to room temp when you experimented further.

        I would HIGHLY recommend running an autotune, and putting the resulting parameters in config.g.

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 2
        • Danal
          Danal last edited by

          Oh, and your question: S being scaled 0 to 1, and called "Max PWM", it looks like it is the maximum duty cycle for PWM on the heater specified.

          See "duty cycle" here

          Delta / Kossel printer fanatic

          Kaj 1 Reply Last reply Reply Quote 1
          • Kaj
            Kaj @Danal last edited by

            @Danal sounds plausible to why the error didn't occur anymore. I'll retry tomorrow with a cold bed and report back.

            1 Reply Last reply Reply Quote 1
            • Kaj
              Kaj last edited by

              @Danal I just retried with a cold bed and heated up to 70 without getting the error.
              I'm printing now so I'll try again tomorrow after setting it back to 1

              Danal 1 Reply Last reply Reply Quote 0
              • Danal
                Danal @Kaj last edited by

                @Kaj said in PWM logics of M307:

                @Danal I just retried with a cold bed and heated up to 70 without getting the error.
                I'm printing now so I'll try again tomorrow after setting it back to 1

                Sounds good. Did you ever run a calibration?

                Delta / Kossel printer fanatic

                Kaj 1 Reply Last reply Reply Quote 0
                • Kaj
                  Kaj @Danal last edited by

                  @Danal I did yeah, it went to phase 4, was cooling down for a while and later when I checked it had an error in phase 4.

                  1 Reply Last reply Reply Quote 0
                  • Danal
                    Danal last edited by

                    Cool (he he). Keep us posted.

                    Delta / Kossel printer fanatic

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