Skip to main content

Ethernet — Configuration

The Ethernet Add-On adds a single Ethernet port to the Gateway V4, enabling IP connectivity and Modbus TCP reading.

Compatible product: Gateway V4 + Ethernet

Firmware pre-release

Available starting with firmware v0.11.0 (pre-release).


Ethernet Configuration

The Ethernet interface is configured using the EdgeEth parameter as a static IP (ip,netmask,gateway) or dhcp.

Example — static:

192.168.1.91,255.255.255.0,192.168.1.1

Example — DHCP:

dhcp
note

No spaces allowed. Only IPv4 supported. DNS not supported — use IP addresses directly.


Modbus TCP Configuration

Modbus TCP commands are added to the modbusCmdConf parameter using an IP address as the interface specifier. The interface and commands are separated by /, multiple interface groups by ;.

Syntax:

<ip>/commands;<ip:port>/commands
  • 192.168.1.222 → Modbus TCP, default port 502
  • 192.168.1.222:1234 → Modbus TCP, custom port

Supported command codes: 01 Read Coils · 02 Read Discrete Inputs · 03 Read Holding Registers · 04 Read Input Registers

Example:

192.168.1.200/010380000001,020300010002

RS-485 and Modbus TCP can be combined in one modbusCmdConf string:

R,9600,8N1/010300000003,FA0400080002;192.168.1.200/010380000001
Different from standard Modbus format

This unified format uses / (interface↔commands) and ; (between interface groups) — different from the standard Modbus Add-On format which uses :.