Spark-Concepts / xPro-V5

xPro-V5 CNC Motion Control System Documentation and User Information
42 stars 19 forks source link

Swap txd_pin and rxd_pin values in xPro-V5/FluidNC/config.yaml example for Huanyang spindle #220

Open adambaranyai opened 1 year ago

adambaranyai commented 1 year ago

The configuration example at the following URL suggests that for Huanyang spindle you need to have the following two lines:

txd_pin: gpio.25

rxd_pin: gpio.4

However this doesn't work - at least not when trying to control the spindle via the RS485 port on the xPro v5. If I swap these two and use the following lines, it works:

txd_pin: gpio.4

rxd_pin: gpio.25

The credit goes to slvv26. He ran into the same problem and found a solution to it on the following issue: https://github.com/bdring/FluidNC/issues/931

The configuration example however still shows the wrong configuration parameters and I also spent a couple of hours trying to figure out why my config doesn't work with the spindle.

So the request here is to update the document at the following URL to contain the correct txd_pin and rxd_pin values: https://github.com/Spark-Concepts/xPro-V5/blob/main/FluidNC/config.yaml