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

    Spindle ON/OFF and speed control issues Duet 3

    Scheduled Pinned Locked Moved Solved
    CNC
    3
    30
    1.7k
    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.
    • jay_s_ukundefined
      jay_s_uk @peteupshall
      last edited by

      @peteupshall have you set the spindle up for PWM control? I had to adjust mine.
      Can you also post information about the wiring both from the duet to the PWM and then from the PWM to the VFD

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      peteupshallundefined 1 Reply Last reply Reply Quote 0
      • peteupshallundefined
        peteupshall @Nightowl
        last edited by

        @Nightowl it is part of the same question. I now have part of the operation running of sorts but need to fine tune to get it right.
        spindle.g loads into config.g when called for as far as I can see. I am using a modified config.g for Killerbee supplied by Andy Ofori .

        peteupshallundefined 1 Reply Last reply Reply Quote 0
        • peteupshallundefined
          peteupshall @jay_s_uk
          last edited by

          @jay_s_uk Yes have set up the VFD for the PWM control of the spindle and the speed control does work but only if I use the RUN button on the front of the VFD. If I set the VFD RUN command to external i.e from Duet I get nothing so it seems I need to switch the spindle on from the Duet somehow.

          I have wired a 0-10v PMW converter as follows-
          PWMIN+ to the OUT pin and PWMIN- to the GND pin of VFD/LASER connection on Duet 3, and set jumper on converter to 5v.

          I have power connected to 24v and DCM connections on VFD to the Power Supply terminals(24v ) on the converter

          The Voltage Output+ (AO) from the converter goes to V1 on the VFD and the Voltage Output- (GND) to the ACM on the VFD.

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • peteupshallundefined
            peteupshall @peteupshall
            last edited by

            I have tried the previous suggestion to try and get this up and running and thanks for pointing me in the right direction. I think I am almost there!

            peteupshallundefined 1 Reply Last reply Reply Quote 0
            • peteupshallundefined
              peteupshall @peteupshall
              last edited by

              I am using FW version 3.3 and Workbee control 3.3.0- V1.2

              Nightowlundefined 1 Reply Last reply Reply Quote 0
              • Nightowlundefined
                Nightowl @peteupshall
                last edited by

                @peteupshall

                I'm curious why you would use a Workbee configuration for the KillerBee, though?

                I have a fairly straightforward system (without a VFD), which I'd be happy to share, that doesn't have multiple config files.

                Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                I'm still on my learning curve, so take everything I say with caution!

                RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

                peteupshallundefined 1 Reply Last reply Reply Quote 0
                • peteupshallundefined
                  peteupshall @Nightowl
                  last edited by

                  @Nightowl I use this purely as I found the Duet Web Control to be missing the Probe window and also the spindle speed window that is available in the WB version.
                  Has your DWC got these windows?

                  peteupshallundefined Nightowlundefined 2 Replies Last reply Reply Quote 0
                  • peteupshallundefined
                    peteupshall @peteupshall
                    last edited by

                    Do you have spinle control via your Duet? If so I would love to see your config files.

                    Nightowlundefined 1 Reply Last reply Reply Quote 0
                    • Nightowlundefined
                      Nightowl @peteupshall
                      last edited by

                      @peteupshall
                      Good answer!

                      It doesn't have the probe window, but I haven't progressed that far, yet! Just one step at a time, for me 😊

                      There is a spindle speed control on the Dashboard screen, though.

                      To be honest, I tried the WB interface but couldn't get my head around it, and there should be improvements for CNC users with the 3.5 update from Duet, so I'm hanging my hat on that - for now.

                      Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                      I'm still on my learning curve, so take everything I say with caution!

                      RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

                      1 Reply Last reply Reply Quote 0
                      • Nightowlundefined
                        Nightowl @peteupshall
                        last edited by

                        @peteupshall

                        Not spindle control, no. I did provide a link on your other post, which should have been of use to you, though?

                        Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                        I'm still on my learning curve, so take everything I say with caution!

                        RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

                        peteupshallundefined 1 Reply Last reply Reply Quote 0
                        • peteupshallundefined
                          peteupshall @Nightowl
                          last edited by

                          @Nightowl Yes I tried all the suggestions but I just cant get it to work as expected.
                          Thanks for all your help though.

                          1 Reply Last reply Reply Quote 0
                          • jay_s_ukundefined
                            jay_s_uk @peteupshall
                            last edited by

                            @peteupshall you'll need a second output then from another heater output to the FWD connection on the VFD and then add it to the M950 e.g.

                            M950 R0 C"OUT_9+out8"
                            

                            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                            peteupshallundefined 1 Reply Last reply Reply Quote 0
                            • peteupshallundefined
                              peteupshall @jay_s_uk
                              last edited by peteupshall

                              @jay_s_uk Do I need to use some sort of relay?
                              What voltage and settings would i need to provide to FWD from Duet?

                              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                              • jay_s_ukundefined
                                jay_s_uk @peteupshall
                                last edited by

                                @peteupshall no, just a wire between the negative of the output to the fwd connector

                                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                                peteupshallundefined 1 Reply Last reply Reply Quote 0
                                • peteupshallundefined
                                  peteupshall @jay_s_uk
                                  last edited by

                                  @jay_s_uk Have tried Gnd on pin out 6 to FOR
                                  Changed M950 R0 C"out9+out6" L0:24000 Q1000
                                  Also tried to put directly into config.g but still no spindle start or stop.
                                  Checking again with RUN button on VFD reactivated and I have speed control and sort of a stop control M5 but it just reduces to 500rpm not a complete stop.
                                  Any further ideas?

                                  jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                  • jay_s_ukundefined
                                    jay_s_uk @peteupshall
                                    last edited by

                                    @peteupshall just checked my wiring and I also have a wire between the + of the heater output and DCM on the top row.
                                    some more info can be found here https://wiki.printnc.info/en/electronics/vfd/config#h-0-5v

                                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                                    peteupshallundefined 1 Reply Last reply Reply Quote 0
                                    • peteupshallundefined
                                      peteupshall @jay_s_uk
                                      last edited by

                                      @jay_s_uk So So close now. I now have spindle on and off and speed control via web control and gcode .
                                      The only thing still not working is M5- Stop. When M5 is activated the spindle drops to about 500rpm, although VFD still shows 12000rpm, and stays there.
                                      Is there a minimum RPM setting somewhere?
                                      Thanks for your support so far you have been awesome!

                                      peteupshallundefined 1 Reply Last reply Reply Quote 0
                                      • peteupshallundefined
                                        peteupshall @peteupshall
                                        last edited by

                                        Also just noticed that as I have to press STOP on the VFD to stop spindle I then can't restart using Web Control or Gcode.
                                        Also when set at 12000rpm on web control it shows just over 13500rpm on VFD. Is this just a case of fine tuning the 0-10v converter?

                                        jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                        • jay_s_ukundefined
                                          jay_s_uk @peteupshall
                                          last edited by

                                          @peteupshall yes, it just a case of adjusting the screw on the PWM converter.
                                          You need to set the minimum RPM in M950. I think the spindle I have has a minimum RPM of 6000

                                          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                                          peteupshallundefined 1 Reply Last reply Reply Quote 0
                                          • peteupshallundefined
                                            peteupshall @jay_s_uk
                                            last edited by

                                            @jay_s_uk Minimum rpm is currently set to 0, should it be something else then?

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