Connect devices via Modbus
About Modbus
The Modbus-protocol is a widely used communication protocol that was developed in 1979 by Gould-Modicon was developed. It is based on a client-server architecture, in which a Master-device (usually a computer) connected to one or more Slave-devices. This protocol makes it possible to monitor and control various measuring devices from a central system. Data transmission can take place via one of three variants: ASCII, RTU or TCP.
In Eliona are mainly Modbus TCP as well as RTU over TCP used, however the platform also supports other schemes such as UDP and RTU over UDP, to enable flexible integration of legacy or special devices.
Modbus TCP
In Modbus TCP data transmission takes place over Ethernet in binary form using TCP/IP packets. The standard port 502 is reserved for this purpose. For older devices with serial interfaces, a protocol converter or router can be used to integrate them into the TCP system.
Roles in the Modbus protocol
Modbus Client (Master)
Communicates with a remote device.
Sends Modbus requests controlled by the application.
Forwards these requests to the Modbus client interface.
Usually, the client is the device that retrieves the data (e.g. a PC or Modbus Poll).
Modbus Server (Slave)
Waits for Modbus requests (via TCP port 502).
Reads and processes these requests.
Returns Modbus response messages.
Usually, the server is the device that provides the data (e.g. a PLC or a sensor).
Procedure for connecting devices via Modbus
To connect devices via Modbus with Eliona , follow these steps:
Read or write registers
After the connection has been successfully established, the Modbus client (Master) can send requests to the Modbus server for Read or Write reading registers on the server.
Read: The client reads specific values from the server's register addresses.
Write: The client sends data and writes it to the server's registers. ⚠ Note: All requests are initiated by the Client initiated.
Internal Modbus versions in Eliona
In Eliona several Modbus protocols are supported to integrate different device types and networks:
Modbus TCP: Enables communication over Ethernet with the standard port 502.
RTU over TCP: Enables the integration of devices with the older RTU protocol via a TCP connection.
UDP: Provides a connectionless transmission option for Modbus messages.
RTU over UDP: Uses the RTU protocol over UDP to integrate devices into the network with minimal connection overhead.
Last updated
Was this helpful?