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

    Spindle Controll with M950

    Scheduled Pinned Locked Moved
    CNC
    2
    8
    330
    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.
    • gabitundefined
      gabit
      last edited by gabit

      Hi,
      i try to make a spindle Controll via Duet 2 Wlan

      M115
      FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.3 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2021-06-15 21:45:03
      

      my prefered config.g is like

      M950 R0 C"!e1heat" L22000     ; Create spindle index 0, with PWM pin on heater 1 and 22000 RPM achieved at full PWM
      M563 P1 S"Spindle 1" R0       ; Create tool 1 with spindle 0 and call it "Spindle 1"
      M453                          ; CNC Mode
      

      when i start with this config or send manual this "M950 R0 C"!e1heat" L22000 " i got

      a9c0dd58-f936-4220-bada-59246595def3-grafik.png

      What is the correct Code for define a spindle in RepRap 3.3

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

        @gabit https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m453-select-cnc-device-mode

        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

        gabitundefined 1 Reply Last reply Reply Quote 0
        • gabitundefined
          gabit @jay_s_uk
          last edited by

          @jay_s_uk ok, i knew this page and my code is from this side
          the only different is the connector

          ; New code
          M950 R0 C"!exp.heater3" L12000 ; Create spindle index 0, with PWM pin on heater 3 and 12000 RPM achieved at full PWM
          M563 P1 S"Spindle 1" R0 ; Create tool 1 with spindle 0 and call it "Spindle 1"
          M453
          

          Doesnt work, same error

          ; Old code
          M453 S0 T1 C"!exp.heater3" R12000 ; Assign tool 1 to spindle index 0, with PWM pin on heater 3 and 12000 RPM achieved at full PWM
          

          The same, what is the problem?

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

            @gabit what DWC version are you running?

            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

            gabitundefined 1 Reply Last reply Reply Quote 0
            • gabitundefined
              gabit @jay_s_uk
              last edited by

              @jay_s_uk Is this DWC?

              1fbfba7d-1373-4a99-beb1-8644df29a93a-grafik.png

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

                @gabit yes, thats the issue then, not the code.
                That won't work with RRF3 correctly. Update to the duet release of DWC

                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

                gabitundefined 1 Reply Last reply Reply Quote 0
                • gabitundefined
                  gabit @jay_s_uk
                  last edited by

                  @jay_s_uk ok thanks, i try this

                  gabitundefined 1 Reply Last reply Reply Quote 0
                  • gabitundefined
                    gabit @gabit
                    last edited by

                    @gabit Thanks, now it works!

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