Introduction - If you have any usage issues, please Google them yourself
This server/ModBus slave simulates equipment communicating with the ModBus protocol on a TCP/IP as a controller for example. It responds to requests from a master/client. I used ModScan32 and a monitoring software that I developed in my company for testing.
Some details:
- 4 tables of data are scaled to 200 items each (constant chosen arbitrarily) and values of each item (bit/register) can be modified in the cell corresponding
- Responses to requests functions 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x10, 0x0F
- Return management of exceptions ModBus started but complete
- Visual refresh table data after a write request to complete
The software is not finalized and has been tested only in certain configurations, it must contain some bugs. If you detect inconsistencies vis-à-vis the protocol, please let me know (I have some issues that differ among the PDF and found the software testing as ModScan32).
Development in Visual Studio. NET 2008.