Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Home
  • Knowledge base
  • Contact Us
  • Home
  • Connectors
  • Modbus

Modbus TCP - Instance & item setup

Written by Benjamin Pinnerup

Updated at December 6th, 2024

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Installation & Technical information
    Introduction SIA Connect Standalone SIA Connect ANY-Ware Cellular & WiFi connectivity
  • Configuration in the Web UI
    Getting started with the UI Connectors Instances Items Mapping Data System Network Tools & Add-ons DigiCert IoT Trust Manager
  • Connectors
    Siemens S7 Azure IoT Ethernet/IP Mitsubishi MELSEC OPC-UA Server SQL MQTT Omron Host Link REST API Omron FINS Keyence Beckhoff TwinCAT BACnet Virtual OPC-UA Client MS SQL File M-Bus Modbus
  • Scripting & Variables
    Data formatting
  • Developers
    API documentation Shadow API
  • Tutorials & Guides
    InfluxDB AWS IoT Core - Amazon Web Services Microsoft Power BI KaaIoT Siemens S7 AVEVA Insight SIA Connect Demo Rack Grafana Azure
  • General
+ More

Table of Contents

Instance Item

Articles in this section:

  • Modbus TCP - Instance & item setup
  • Word (endianness) & Byte-Swapping
  • Modbus RTU - Instance & Item setup

 

 

Instance

The parameters specific to the Instance setup are related to the initial connection with the Modbus TCP server

Parameter Description
Address The IP address of the Modbus Server
Port

Port of the Modbus Server

Default: 502

Server ID

Server ID of the Modbus Server

Default: 1

Max Read Registers

Maximum amount of registers read in a single message

Note: Some servers allow for specific numbers of registers read in a single message. If this is exceeded, the connection could be refused

Default: 123

Write Preset

Chooses which function code used for writing

  • Multiple registers: 0x15 / 0x16
  • Single register: 0x05 / 0x06

Default: Multiple registers

Endianness

Word order / Endianness is documented in this article

Default: Big endian

Byte Order

Byte order is documented in this article

Default: First byte high

String endianness

Word order / Endianness for strings

Default: Big endian

String byte order

Byte order for strings

Default: First byte high

 

Item

Parameter Description
Register

Registers are the addressing syntax used by Modbus.

Depending on the register type, chosen below, there are two ways of addressing.

Both 5-digit and 6-digit registers are supported 

When Register Type is Auto

Here we use the full address of the register. 

The first Holding Register will be 40001 or 400001

When Register type is Holding Register (or any other type)

Here SIA Connect will automatically fill out the full register syntax.

The first Holding Register will be 0

Register Type

Register type defines the method of auto-filling the full register syntax

  • Auto
    Use the full address syntax for the register. 4000X for Holding registers, etc.
  • Holding Register
    SIA Connect will automatically fill out the full register syntax.
    Holding Register 0 equals Register 40001
  • Input Coil
    SIA Connect will automatically fill out the full register syntax.
    Input Coil 0 equals Register 10001
  • Output Register
    SIA Connect will automatically fill out the full register syntax.
    Output Coil 0 equals Register 00001
  • Input Register
    SIA Connect will automatically fill out the full register syntax.
    Input Register 0 equals Register 30001
Type

Chooses both the amount of registers being read, and how they are parsed as data.

If a tag is over 1 register, this is where it is chosen. Nothing changes on the addressing syntax, as it is automatically handled by SIA Connect

Floating Point Precision Defines the decimal precision of Floats 

 

tcp configuration modbus configuration

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Word (endianness) & Byte-Swapping

0
0
Expand