FluidNC
FluidNC copied to clipboard
ESP32, XYYZ, Relay-Spindle, Ext-drivers LED, Fan config
Example config for those using a plain ESP32 and external drivers with a relay-operated spindle.
- XYYZ axis layout
- External driver support
- Realistic feed rates and acceleration
- PWM Fan support
- Relay driven LED support
- Relay driven spindle support
- Automatic starting of fan on boot
- Individual limit switches
We only accept PRs. targeting the devt branch. I will fix.
see https://github.com/bdring/FluidNC/wiki/Pull-Request-Guidelines
Some of the rates and steps_per_mm are not realistic and a good example.
Unless I read them wrong or my math is off, they're my current stepper settings and feed rates for my CNC. Not sure what's unrealistic about them. Been running those settings for months with a Marlin firmware.
I also found it weird how some of them asked for mm/min.. even the largest CNC machines travel to max well within a minute. That number is always going to be huge.
Feel free to double check vs. my Marlin config:
> M503
echo:; Linear Units:
G21 ; (mm)
echo:; Temperature Units:
echo: M149 C ; Units in Celsius
echo:; Steps per unit:
echo: M92 X16.6000 Y16.6000 Z160.0000
echo:; Max feedrates (units/s):
echo: M203 X508.0000 Y508.0000 Z381.0000
echo:; Max Acceleration (units/s2):
echo: M201 X762.0000 Y762.0000 Z482.0000
These are optimized, yet conservative settings for a quality belt driven CNC.
Unless the sole target market for FluidNC is some 3D printed desk unit running Nema17's, any good commercial unit will reach these speeds, and no commercial unit is going to be running 32-256 step divisors as it reduces torque way too much. Which is the defining characteristic of "realistic", a commercial machine.
I think the 4040 extruded, 3D printed Nema17 units are well-covered in the other example files which contain TMC toy drivers. That segment won't be running external drivers anyway. I submitted this config precisely because it's meant for commercial CNCs, which have no representation here yet.
Sorry for the incorrect pull target. I've rebased my branch to the Devt branch, although I'm not sure how to move the pull request itself.
Many or even most new users of FluidNC are running smaller machines with steppers directly connected to ball screws. For such machines, 30000 mm/min with a 3mm pitch ball screw would result in a stepper running at 10000 RPM which is way too fast.
It is certainly true that commercial machines with big motors and different drive systems can run at such rates. We wish to accommodate such machines, but we do not want to make the many novices that we support think that they will be able to run at rates that are out of the question for the machines they are likely to have.
There is no indication in your configuration to let a new user know what kind of drive mechanism is necessary for such rates. It is not true that low-end machines will not be using external drivers; we have many counterexamples.
Perhaps what is needed is more context about the machine that is targeted. Just saying "external drivers" does not imply a big machine with particular drive characteristics.
The reason why the max rate is specified in mm/min is because that is the units that are conventionally used for GCode in Grbl.
We have moved the example config files to a different repo so this PR is no longer apropos to this repo.