ReferenceDriverModbusConnect Server

Connect to a Modbus Server

Connect to a Modbus TCP server using Synnax.

Prerequisites

Before you can connect to a Modbus TCP server, you will need to ensure that you have the following:

  1. A Synnax Core running on your network.
  2. A Synnax Driver running on your network. This Driver must be connected to the Core and running on the same machine or network as your Modbus server.
  3. The Synnax Console installed on your local machine.
  4. A Modbus TCP server running on your network. This server must be reachable by the Driver.

Configuration Parameters Reference

ParameterTypeRequiredDefaultDescription
namestringYes-Human-readable server name for identification in Console
rackstringYes-Synnax Driver (rack) key that will connect to the Modbus server
hoststringYes-IP address or hostname of the Modbus server (e.g., 192.168.1.100 or localhost)
portintegerYes502TCP port number for the Modbus server (standard Modbus port is 502)
swap_bytesbooleanNofalseSwap byte order within 16-bit words for endianness handling (applies to register types only)
swap_wordsbooleanNofalseSwap word order for 32-bit and 64-bit values (applies to multi-register data types only)

How-To

Console

Python