Skip to content

ModbusNetworkDriver

Dario Bonino edited this page May 30, 2013 · 11 revisions

The network-level driver for Modbus devices, supports ModbusTCP and Modbus RTU over TCP connections.

The driver continuously polls the Modbus registers associated to devices currently handled by Dog, converting the typical pull interaction of Modbus networks into the native event-driven operation of the Dog gateway.

Polling time is uniform for all connected gateways and can be configured through the driver configuration file, i.e., through the pollingTimeMillis service property.

The typical configuration file for this driver is as follows

NETWORK CONFIGURATION

------------------------------

Time between 2 subsequent polls of the real modbus registers in milliseconds

pollingTimeMillis=5000

Time between two consecutive tests of the connection to the house (after)

betweenTrialTimeMillis=30000

the number of connection trials...

numTry=3