Commit | Line | Data |
---|---|---|
6277b09d RW |
1 | # Spindle control settings |
2 | ||
3 | spindle.enable true # [Default false] Set this to false to disable the spindle module | |
4 | ||
5 | # PWM spindle settings | |
6 | ||
7 | spindle.type pwm # [Default pwm] Spindle module mode (pwm, analog, modbus) | |
8 | spindle.pwm_pin 2.3 # [Default nc] PWM output pin. Must be hardware PWM capable. (See http://smoothieware.org/pinout) | |
9 | spindle.pwm_period 50000 # [Default 1000] PWM period in microseconds. | |
10 | spindle.max_pwm 0.85 # [Default 1.0] Max duty cycle. MC2100 uses 85% duty cycle for max speed. | |
11 | spindle.feedback_pin 0.22 # [Default nc] Tach input pin. Must be interrupt capable. | |
12 | spindle.pulses_per_rev 1.0 # [Default 1] Number of pulses per spindle revolution. | |
13 | spindle.default_rpm 60 # [Default 5000] RPM value to use if no RPM is provided to initial M3. | |
14 | #spindle.control_P 0.1 # [Default 0.0001] Proportional term for the PID controller. | |
15 | #spindle.control_I 0.1 # [Default 0.0001] Integral term for the PID controller. | |
16 | #spindle.control_D 0.1 # [Default 0.0001] Derivative term for the PID controller. | |
17 | #spindle.control_smoothing 0.1 # [Default 0.1] Low pass filter time constant in seconds. | |
18 | ||
19 | # Analog spindle settings | |
20 | ||
21 | #spindle.type analog # [Default pwm] Analog can also be used for ESC spindles controlled by a PWM. | |
22 | #spindle.pwm_pin 2.3 # [Default nc] PWM output pin. Must be hardware PWM capable. (See http://smoothieware.org/pinout) | |
23 | #spindle.min_rpm 100 # [Default 100] Minimum RPM when spindle is on. | |
24 | #spindle.max_rpm 24000 # [Default 5000] Maximum RPM at 100% PWM. | |
25 | #spindle.pwm_period 50000 # [Default 1000] PWM period in microseconds. | |
26 | #spindle.switch_on_pin 2.6 # [Default nc] Optional output pin used to enable the VFD. | |
27 | ||
28 | # Modbus spindle settings | |
29 | ||
30 | #spindle.type modbus # [Default pwm] Modbus / RS485. | |
31 | #spindle.vfd_type huanyang # [Default none] Huanyang is currently the only supported VFD type. | |
32 | #spindle.rx_pin 2.6 # [Default nc] TX pin for soft serial. | |
33 | #spindle.tx_pin 2.4 # [Default nc] RX pin for soft serial. | |
34 | #spindle.dir_pin 2.5 # [Default nc] RS485 is only half-duplex, so we need a pin to switch between sending and receiving. |