fixed speed spindle config
PCR last edited by
what would be the config for using a fixed speed spindle to turn on with M3?
M950 R0 C"!exp.heater3"; Create spindle index 0 M563 P0 S"Kress" R0
the spinde is siwtched on by a relay.
@pcr From RRF3.3 M950 assigns 1, 2 or 3 pins to a spindle as described in the documentation:
When using M950 to create a spindle (from RRF 3.3) use the following format:
M950 R0 C"pwm_pin+forward_pin+reverse_pin" Qfff Laa:bb
- C can have 1, 2 or 3 pins. The first pin defined is a pwm capable pin to set the spindle speed. If a second pin is defined it is used as spindle on/of, if three pins are defined then the second pin is spindle forward and the third is spindle reverse.
- "fff" is the PWM frequency as usual
- "Laa:bb" sets the RPM range as "aa" to "bb". "Lbb" just sets the max RPM to "bb". Default RPM values are 60 min 10000 max
So the command as you have it would end up using that pin in PWM mode which you don't want with a relay.
Please try the following:
M950 R0 C"null+!exp.heater3";
This is untested by me but I hope that will assign a null pin for PWM and just us the heater 3 pin for on/off. Please test it, and especially test that M5 works as well as M3.