Support for RS485 on Duet 6XD and 6HC
-
@developeralgo222 Modbus RTU support will require both hardware and software support. Future revisions of some Duet 3 boards will include RS485 interfaces. Other Duet 3 boards will need an external 3.3V to RS485 converter and probably a spare IO_OUT pin to control the transmission direction. Software support for Duet 3 boards will be added to RRF either in version 3.6 or shortly afterwards.
-
@dc42 is there any Alternative while i wait for a stable solution. I have 60+ Electric feeders that i need working in 4 days for a client production job ? Any suggestions on a RS485 converter to get if required and the wiring connections that for the time being can accomplish this
My Older discussion is here : https://forum.duet3d.com/topic/35524/does-duet-6xd-support-rs485-communication/5?_=1719243430041
Since there is no specific timeline for RS485 Support in RRF at the moment
-
Currently with existing boards Would such a TTL (UART) to RS485 Converter Compatible with 3.3V and 5.0V signals work plus Spare IO (IO0 or IO1 ) port on Duet 6XD
-
@developeralgo222 yes that board looks good, although it's more complicated than RS485 boards that I have used before.
-
@dc42 As for communications commands from Duet 6XD to the electric feeder using the above setup ( RS485 Converter + IO0 Port ) . Can you please elaborate using RRF 3.5.2 commands with an example of a simple communication ?
-
@dc42, @T3P3Tony ,@droftarts Also what is the Maximum UART Port Speed that IO0 or IO1 can handle on Duet 6XD since i think default UART clock is 3MHz but Apparently UART CLOCK can go as high as 100MHZ. The maximum baud rate is clock/16.
So what is the Maximum Speed of UART Port on Duet 6XD without corruption of data ? 115200 bps ?
-
@developeralgo222 maximum transmission speed is much higher than that. However, it you try to receive data above about 57600 baud then you may suffer character loss because of interrupt latency.
-
@dc42 so what would be the recommended fastest baud rate to use with Duet 6XD?
-
@developeralgo222 also is it possible for one of your devs to add the support for RS485 MODBUS RTU to the unofficial dev version of RRF 3.5.2+ or 3.6 dev and I will act as tester for it because I really have an urgent huge need for RS485 MODBUS RTU for Duet 6XD or if one of your devs can provide the code , I can try and compile a dev version to use while waiting for the support to be included in official “After” RRF 3.6 version. I am really desperate to get this done , I need to control and communicate to over 60+ Electric SMT feeders using RS485 MODBUS RTU. This is really , really urgent , time is not on my side
-
@developeralgo222 I have just returned from holiday. My immediate priority this week is to fix bugs in 3.6 that our alpha testers have reported. When that's done I may get time to implement Modbus support in 3.6.
-
@dc42 , Thanks , i hope you got well needed rest on your vacation and you can get time to work on this. I understand the priority but our very Large project is now at a standstill, We are a large project completely based on Duet 6XD & 3HC products with our Total cost into Tens of thousands of $$$$$. we can't get it working without RS485 MODBUS RTU communications from Duet 6XD being supported. I am willing at moment to be one of the Alpha testers for 3.6.x with this RS485 MODBUS RU enabled.