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

PWM Issues

Scheduled Pinned Locked Moved Solved
CNC
pwm control workbee
3
10
684
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
    JvP79
    last edited by 28 Dec 2021, 21:22

    Hi all, I’ve been reading on this forum for some time. And have now finally gotten around to assemble my workbee (duet2 WiFi with RRF 3), which has been sitting in its box for quite some time.

    All is well with the workbee and I have just installed an AMB spindle with digital speed control (am in the process of installing this). In order to have full control over the speed I also installed a PWM ([url= https://www.amazon.co.uk/gp/product/B0789738RC/ref=ppx_yo_dt_b_asin_title_o05_s00?ie=UTF8&psc=1]this one[/url]). After some tinkering all seems well, that is the jumper setting is correct (24V), it has powersupply of 24V and the lemon signal is also correct (as far as I can measure with my multimeter).

    The problem however is that there doesn’t seem to be any output on the A0 & GND pins.

    I’m a novice in regards to elektronics, but do I have a defect PWM? Or do I have to adjust the frequency of the signal? Or something else?

    Thank you for your input and comments!

    undefined 1 Reply Last reply 28 Dec 2021, 22:49 Reply Quote 0
    • undefined
      alankilian @JvP79
      last edited by 28 Dec 2021, 22:49

      @jvp79

      • Where do you have PWM- and PWM+ connected to the Duet?
      • How are you configuring that pin as a PWM pin?
      • How are you setting the PEM value for that pin?

      SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

      undefined 1 Reply Last reply 29 Dec 2021, 07:53 Reply Quote 0
      • undefined
        JvP79 @alankilian
        last edited by JvP79 29 Dec 2021, 07:53

        @alankilian

        Thank you for your reply!

        I have followed the guide from ooznest (https://learn.ooznest.co.uk/Guide/Connect+a+AMB+Kress+or+Mafell+spindle+with+digital+control/161). I have followed the guide to the letter and checked it to be correct.

        So I am using the heater E0 for the PWM in and indeed it has been assigned as such by the firmware from ooznest. As I mentioned it nicely puts out a voltage between 0 & 10V depending on the commands inputted.

        Which is done either by an input command (M3 …) or directly from the desktop control panel from ooznest where they have added preset buttons/macro’s.

        Edit: just noticed in my first post the pwm in signal was corrected to “lemon”.. thx apple 😐🙂

        undefined 1 Reply Last reply 29 Dec 2021, 10:28 Reply Quote 0
        • undefined
          cjm @JvP79
          last edited by cjm 29 Dec 2021, 10:28

          @jvp79 It’s probably worth using your multimeter to check the voltage between pin 3 (multimeter red lead) and pin 4 (multimeter black lead) of the PWM module.

          With the power on, this should read +24V.

          undefined 1 Reply Last reply 29 Dec 2021, 11:55 Reply Quote 0
          • undefined
            JvP79 @cjm
            last edited by 29 Dec 2021, 11:55

            @cjm Indeed that is correct it reads 24V.

            undefined 1 Reply Last reply 29 Dec 2021, 13:54 Reply Quote 0
            • undefined
              cjm @JvP79
              last edited by 29 Dec 2021, 13:54

              @jvp79 Just as a sanity check, you're seeing + (positive) 24V and not - (negative) 24V?

              undefined 1 Reply Last reply 29 Dec 2021, 15:06 Reply Quote 0
              • undefined
                JvP79 @cjm
                last edited by JvP79 29 Dec 2021, 15:06

                @cjm yes that is correct 🙂 I’m seeing positive 24V

                undefined 1 Reply Last reply 29 Dec 2021, 15:24 Reply Quote 0
                • undefined
                  cjm @JvP79
                  last edited by 29 Dec 2021, 15:24

                  @jvp79 Hmmmh...

                  Your measurements indicate the converter is connected and being powered correctly so what else would stop it working?

                  Perhaps the PWM frequency is outside of the range of the converter? Looking at the Ooznest instructions I see the following command is used to configure the PWM:

                  M950 R0 C"e0heat" L0:25000 Q100

                  This sets the PWM frequency to 100Hz, whereas the quoted minimum frequency for the converter is 1KHz, so perhaps try adding an extra zero to set the PWM frequency to 1KHz like so:

                  M950 R0 C"e0heat" L0:25000 Q1000

                  Otherwise, it sounds as though the converter might be faulty...

                  undefined 1 Reply Last reply 30 Dec 2021, 18:14 Reply Quote 0
                  • undefined
                    JvP79 @cjm
                    last edited by JvP79 30 Dec 2021, 18:14

                    @cjm before I changed the frequency in the code I replaced the pwm board (just received the replacement). And presto it all worked!

                    So problem solved!

                    Thanks for all your input!

                    undefined 1 Reply Last reply 30 Dec 2021, 18:18 Reply Quote 0
                    • undefined
                      cjm @JvP79
                      last edited by 30 Dec 2021, 18:18

                      @jvp79 Good news!

                      1 Reply Last reply Reply Quote 0
                      • undefined Phaedrux marked this topic as a question 30 Dec 2021, 18:38
                      • undefined Phaedrux has marked this topic as solved 30 Dec 2021, 18:38
                      8 out of 10
                      • First post
                        8/10
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA