Modbus RTU client

XCore Project reviews, ideas, videos and proposals.
Post Reply
User avatar
Lele
Active Member
Posts: 52
Joined: Mon Oct 31, 2011 4:08 pm
Contact:

Modbus RTU client

Post 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. 


User avatar
infiniteimprobability
XCore Legend
Posts: 1126
Joined: Thu May 27, 2010 10:08 am
Contact:

Post by infiniteimprobability »

Nice - thanks for sharing. What did you use to test it?
 
User avatar
Lele
Active Member
Posts: 52
Joined: Mon Oct 31, 2011 4:08 pm
Contact:

Post by Lele »

Tested with Modscan and Radzio.
Please downolad latest version because I fixed a bug in the uart timing.
 
Post Reply