FluidNC FAQ - Longus/FluidNC GitHub Wiki
Frequently Asked Questions
Configuration parse error: Missing end-of-line
Your config file needs a blank line at the end of the file.
How do I invert a pin state?
The are no longer settings to invert pins. This is done at the pin assignment using the :high or :low attribute. The default is :high.
For switches if your pin is defined as gpio.32 or gpio.32:high, change it to gpio.32:low to invert it. If it is defined as gpio.32:low, change it to gpio.32:high.
This works the same for output pins. If your mist pin is working backwards, flip the :high :low attribute. A motor direction pin is another example. If your motor is running the wrong flip the high/low attribute on the direction pin.
This also works for PWM signals. If you want an inverted PWM signal, flip the high/low attribute.
Why am I loosing the USB connection
The firmware and ESP32 CPU have virtually nothing to do with that. We can only suggest good wiring practices. See this page for more
Why do I see 2 "ok" responses when I send serial port commands?
All commands sent must be terminated with a carriage return (CR) or a line feed (LF) character. Your serial port terminal will add this when you press the enter key. You should be able to set whether it sends a CR, LF or both when the enter key is pressed. Ideally it is either a single CR or LF. If it sends both, FluidNC will assume it received 2 commands. One with some command and one empty one. It will ok both of them. It is ok to operate this way.
Motor Moves Erratically
Check the wiring. If a motor stutters, moves in random directions or is very weak, that is the classic symptom for one of the 4 motor wires not having a good connection. Only one of the 2 coils is being used.
Motors don't move
It could be related to the disable pin being in the wrong state. Set $/stepper/idle_ms=255. And reboot your controller. This will make sure the motors always stay enabled. Are the motors locked (difficult to move by hand) in idle. If not, change the high low attribute on the disable pin. Reboot and try again. See this page for details on pin attributes.
Machine Space (Mpos)
Having trouble understanding machine space, see this page.