dog-gateway / jamod-rtu-over-tcp

A fork of the jamod library designed to handle also RTU over TCP tunneling in addition to Modbus TCP and Modbus RTU
Apache License 2.0
17 stars 6 forks source link

is there a test case? #2

Closed jiaoyilun closed 5 years ago

jiaoyilun commented 5 years ago

help, how to use it ,is there a test case for rtu over tcp/ip?

dbonino commented 5 years ago

Dear @jiaoyilun, thank you for contacting us. This is a fork of the jamod library (http://jamod.sourceforge.net) and you can find the library documentation at their official site. This fork only adds support to RTU over TCP tunneled connections, which is not natively available in Jamod. The way of using the library is exactly the same as for the original; We just added a RTUTCPMasterConnection which implements the MasterConnection interface for the RTU over TCP case. The usage pattern is almost equal to the one of a normal TCPMasterConnection. Unfortunately we do not have detailed documentation, but you can have a look at how it is used in our Modbus Driver for Dog, at https://github.com/dog-gateway/modbus-drivers. In particular in the it.polito.elite.dog.drivers.modbus.network package.

jiaoyilun commented 5 years ago

@dbonino all right, thank you , i will have a loot at it