Spindle Controll with M950
-
Hi,
i try to make a spindle Controll via Duet 2 WlanM115 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
What is the correct Code for define a spindle in RepRap 3.3
-
-
@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?
-
@gabit what DWC version are you running?
-
@jay_s_uk Is this DWC?
-
@gabit yes, thats the issue then, not the code.
That won't work with RRF3 correctly. Update to the duet release of DWC -
@jay_s_uk ok thanks, i try this
-
@gabit Thanks, now it works!