In order to setup your router to send Modbus data to server you will need to navigate to Services > Modbus > Modbus Data to Server.
Download, install the app and apply the configuration below: In this example we are going to be using Windows 10 computer and Hercules app, which you can download here, to create a test server. There are many ways how you can create a server to which Modbus will send data to. In order to test the functionality, you will need to set up a server (you can run a server on the same computer you use as a slave simulator).
Open router’s WebUI, navigate to Services > Modbus > Modbus Serial Master and apply the following configuration.
This article provides a brief example on how to use Modbus serial to monitor a slave device, send data to server and how to configure slave alarms. Many of the data types are named from its use in driving relays: a single-bit physical output is called a coil, and a single-bit physical input is called a discrete input or a contact. Modbus is often used to connect a supervisory computer with a remote terminal unit (RTU) in supervisory control and data acquisition (SCADA) systems. Modbus enables communication among many devices connected to the same network, for example, a system that measures temperature and humidity and communicates the results to a computer.
Modbus is a serial communications protocol originally published by Modicon (now Schneider Electric) in 1979 for use with its programmable logic controllers (PLCs). 6.2 RUT Modbus data to server configuration.4 Configuring Modbus serial slave device.To run sumulation with modbus-tk as backend run.To run simulation with pymodbus backend, run.$ # Choose Modbus Backend modbus_tk or pymodbus (default) $ # Kivy depends on Cython, Install Cython before running the requirements