Page 1 of 1

Modbus RTU client

Posted: Sun Mar 01, 2015 9:37 am
by Lele
Version: 2
Status: Complete
License: BSD
Download: /files/project_builds/app_ModbusRtuClient.zip

Here it is an implementation of modbus rtu slave protocol.
All basic functions implemented:
1) read coils; 2) read input; 3) read holding register; 4) read input register; 5) write single coil; 6) write single register; 7) read status; 15) write multiple coil; 16) write mulltiple register.
Direction port provided for the RS485 converter.
Also a buffered rx/tx uart interface with configurable speed , n.of bata bits, parity, stop bits. 

Re: Modbus RTU client

Posted: Thu Mar 05, 2015 11:24 am
by infiniteimprobability
Nice - thanks for sharing. What did you use to test it?
 

Re: Modbus RTU client

Posted: Thu Mar 05, 2015 12:35 pm
by Lele
Tested with Modscan and Radzio.
Please downolad latest version because I fixed a bug in the uart timing.