# Modbus Ethernet Gateways

# Data Sheet

## Modbus Ethernet Gateways (G01 - G03 &amp; G14 - G16)

<table border="1" id="bkmrk-features-2-mode-ethe" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr><td>[![image.png](https://doc.redisage.com/uploads/images/gallery/2025-09/scaled-1680-/4QZimage.png)](https://doc.redisage.com/uploads/images/gallery/2025-09/4QZimage.png)

</td><td>**Features**

- 2-mode Ethernet Modbus Gateway
- Ethernet converter to RS232/RS485
- ESD protection for the RS485 data line
- Power supply: +12 to +30 VDC
- Transmission speed up to 115200 bps
- Tx, Rx and power LED indicators
- RS485 embedded termination 120 ohm
- Operating temperatures: -40°C to +75°C
- DIN rail mounting
- Dimensions: 90x56.4x22.5 mm
- 3 years warranty
- Customization of OEM is welcomed

</td></tr></tbody></table>

### Introduction

Devices are based on G01 - G03 gateways (**ESP32 Xtensa LX6 microcontroller**) and G14 - G16 gateways (**STM32F4 microcontroller**) depending on needed ports and interfaces.

Dedicated EMC integrated circuits guarantee improved connection quality by limiting the impact of interference typical for an industrial environment.

Modbus gateways allow data transmission between LAN hosts and serial devices by converting Modbus protocols (Modbus TCP and Modbus RTU/ASCII). They are intended to be used in industrial networks especially in the field of Industry 4.0 but not only. Apart from extending the capabilities of industrial devices, they can be also adapted up to user’s requirements and needs.

Transmission is carried out by two modes: Gateway and Router. In the Gateway mode, the port is used to communicate with Slave devices, but in the Router mode with Master devices. It is also possible to set up different modes on every port. Block diagrams below describe how each of these modes works.

<div drawio-diagram="1358"><img src="https://doc.redisage.com/uploads/images/drawio/2025-07/drawing-29-1753771775.png" alt=""/></div>

<p class="callout warning">The device has max 20 sockets open in Gateway mode and max 8 in Router mode. It is possible to increase this value at client's request.</p>

### Specification  


<table border="1" id="bkmrk-redisage-pn-g01-g02-" style="border-collapse: collapse; width: 100%; height: 884.422px;"><colgroup><col style="width: 12.5149%;"></col><col style="width: 12.5149%;"></col><col style="width: 12.5149%;"></col><col style="width: 12.5149%;"></col><col style="width: 12.5149%;"></col><col style="width: 12.5149%;"></col><col style="width: 12.5149%;"></col><col style="width: 12.5149%;"></col></colgroup><thead><tr style="height: 35.375px;"><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" colspan="2" data-colwidth="220,148" style="height: 35.375px;">**Redisage PN**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="101" style="height: 35.375px;">**G01**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="96" style="height: 35.375px;">**G02**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="100" style="height: 35.375px;">**G03**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="100" style="height: 35.375px;">**G14**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="102" style="height: 35.375px;">**G15**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="93" style="height: 35.375px;">**G16**

</td></tr></thead><tbody><tr style="height: 35.3906px;"><td data-colwidth="220" rowspan="3" style="height: 106.172px;">Ports

</td><td data-colwidth="148" style="height: 35.3906px;">RS232

</td><td class="align-center" data-colwidth="101" style="height: 35.3906px;">2x

</td><td class="align-center" data-colwidth="96" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="100" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="100" style="height: 35.3906px;">4x

</td><td class="align-center" data-colwidth="102" style="height: 35.3906px;">2x

</td><td class="align-center" data-colwidth="93" style="height: 35.3906px;">-

</td></tr><tr style="height: 35.3906px;"><td data-colwidth="148" style="height: 35.3906px;">RS485

</td><td class="align-center" data-colwidth="101" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="96" style="height: 35.3906px;">1x

</td><td class="align-center" data-colwidth="100" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="100" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="102" style="height: 35.3906px;">2x

</td><td class="align-center" data-colwidth="93" style="height: 35.3906px;">4x

</td></tr><tr style="height: 35.3906px;"><td data-colwidth="148" style="height: 35.3906px;">RS232/RS485

</td><td class="align-center" data-colwidth="101" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="96" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="100" style="height: 35.3906px;">2x

</td><td class="align-center" data-colwidth="100" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="102" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="93" style="height: 35.3906px;">-

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">Microcontroller

</td><td class="align-center" colspan="3" data-colwidth="101,96,100" style="height: 35.375px;">ESP32

</td><td class="align-center" colspan="3" data-colwidth="100,102,93" style="height: 35.375px;">STM32F4

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">WiFi

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">N/A

</td></tr><tr style="height: 35.375px;"><td data-colwidth="220" rowspan="2" style="height: 70.75px;">Power

</td><td data-colwidth="148" style="height: 35.375px;">Voltage

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">12-30 VDC

</td></tr><tr style="height: 35.375px;"><td data-colwidth="148" style="height: 35.375px;">Power

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">&lt; 1 W

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">Frame ground connection

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">yes

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">Baud rate

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">up to 115200 bps

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">LED indicators

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">communication Tx, Rx and power

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">RS485 termination

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">120 ohm manually enabled

</td></tr><tr style="height: 38.0469px;"><td data-colwidth="220" rowspan="3" style="height: 111.469px;">Connector

</td><td data-colwidth="148" style="height: 38.0469px;">RS232/RS485

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 38.0469px;">8-pin terminal block max. 2.5 mm<sup data-renderer-mark="true">2</sup> wire

</td></tr><tr style="height: 38.0469px;"><td data-colwidth="148" style="height: 38.0469px;">Power

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 38.0469px;">3-pin terminal block max. 2.5 mm<sup data-renderer-mark="true">2</sup> wire

</td></tr><tr style="height: 35.375px;"><td data-colwidth="148" style="height: 35.375px;">Ethernet

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">RJ45

</td></tr><tr style="height: 80.1719px;"><td data-colwidth="220" rowspan="2" style="height: 115.547px;">Transmission  
distance

</td><td data-colwidth="148" style="height: 80.1719px;">RS485

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 80.1719px;">max. 1,200 m at 9.6 kbps; max. 400 m at 115.2 kbps  
(Belden 9841 2P twisted-pair cable, if diﬀerent cables are used,   
the transmission distance may change)

</td></tr><tr style="height: 35.375px;"><td style="height: 35.375px;">RS232

</td><td colspan="6" style="height: 35.375px;">max. 15 m at 115.2 kbps

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">Mounting and enclosure

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">DIN rail, plastic PA - UL 94 V0, black/green

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">Temperatures

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">-40°C to +75°C operating and storage

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">Humidity

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">10 - 90% RH, non-condensing

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">ESD protection

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">±4 kV contact discharge / ±8 kV air discharge

</td></tr><tr style="height: 32.375px;"><td colspan="2" data-colwidth="68,50" style="height: 32.375px;">Certification

</td><td class="align-center" colspan="6" data-colwidth="102,101" style="height: 32.375px;">CE, RoHS, EMC, LVD

</td></tr><tr style="height: 58.9844px;"><td colspan="2" style="height: 58.9844px;">Norms

</td><td colspan="6" style="height: 58.9844px;">61000-6-2 - Immunity standard for industrial environments

61000-6-4 - Emission standard for industrial environments

</td></tr></tbody></table>

### Variants  


#### G01 - Ethernet Modbus Gateway 2x RS232

<div drawio-diagram="1518"><img src="https://doc.redisage.com/uploads/images/drawio/2025-09/drawing-29-1758197720.png" alt=""/></div>

#### G02 - Ethernet Modbus Gateway 1x RS485

<div drawio-diagram="1520"><img src="https://doc.redisage.com/uploads/images/drawio/2025-09/drawing-29-1758197787.png" alt=""/></div>

#### G03 - Ethernet Modbus Gateway 2x RS232/RS485

<div drawio-diagram="1521"><img src="https://doc.redisage.com/uploads/images/drawio/2025-09/drawing-29-1758197933.png" alt=""/></div>

<p class="callout danger">In the G03 gateway user should use only RS232 or only RS485 interface of one port as they occupy the same internal bus of the device. It means, don't use pairs: RS232-1 &amp; RS485-1 at the same time and RS232-2 &amp; RS485-2 at the same time!</p>

#### G14 - Ethernet Modbus Gateway 4x RS232

<div drawio-diagram="1524"><img src="https://doc.redisage.com/uploads/images/drawio/2025-09/drawing-29-1758197993.png" alt=""/></div>

#### G15 - Ethernet Modbus Gateway 2x RS232 &amp; 2x RS485

<div drawio-diagram="1531"><img src="https://doc.redisage.com/uploads/images/drawio/2025-09/drawing-29-1758198462.png" alt=""/></div>

#### G16 - Ethernet Modbus Gateway 4x RS485

<div drawio-diagram="1529"><img src="https://doc.redisage.com/uploads/images/drawio/2025-09/drawing-29-1758198331.png" alt=""/></div>

### Frame ground FG  


Electronic circuits are constantly prone to electrostatic discharge ESD. Redisage Electronics modules feature a design for the frame ground terminal block FG. The frame ground provides a path for bypassing ESD, which provides enhanced static protection ESD abilities and ensures the module is more reliable. Connecting FG terminal block to the earth ground will bypass the ESD disturbances outside the device so will provide a better level of protection against ESD.

Frame Ground FG connection reference drawing is provided below.

<div drawio-diagram="177"><img src="https://doc.redisage.com/uploads/images/drawio/2024-03/drawing-10-1711619289.png" alt=""/></div>

If earth ground is not available FG can be left floating or it can be connected with the power supply GND.

### Pin assignments

<table border="1" id="bkmrk-g01-g02-g03-g14-g15-" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 33.3333%;"></col><col style="width: 33.3333%;"></col><col style="width: 33.3333%;"></col></colgroup><tbody><tr><td class="align-center">**G01**

**[![7a36a230-516d-413d-a5b2-aeb9c4044bb0.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/7a36a230-516d-413d-a5b2-aeb9c4044bb0.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/7a36a230-516d-413d-a5b2-aeb9c4044bb0.png)**

</td><td class="align-center">**G02**

**[![27b5fe0a-d8ca-451b-a20d-2f1678d04547.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/27b5fe0a-d8ca-451b-a20d-2f1678d04547.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/27b5fe0a-d8ca-451b-a20d-2f1678d04547.png)**

</td><td class="align-center">**G03**

**[![54ec2665-7a15-484f-bdf2-6917b054595c.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/54ec2665-7a15-484f-bdf2-6917b054595c.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/54ec2665-7a15-484f-bdf2-6917b054595c.png)**

</td></tr><tr><td class="align-center">**G14**

**[![3194e998-4094-4387-8062-f44a1ae1bc9d.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/3194e998-4094-4387-8062-f44a1ae1bc9d.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/3194e998-4094-4387-8062-f44a1ae1bc9d.png)**

</td><td class="align-center">**G15**

**[![a9bf9b11-bebf-45e5-a3d8-81d001bb0c78.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/a9bf9b11-bebf-45e5-a3d8-81d001bb0c78.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/a9bf9b11-bebf-45e5-a3d8-81d001bb0c78.png)**

</td><td class="align-center">**G16**

**[![1bbc9a2e-ce07-44af-9ad1-3fcfe6685a3b.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/1bbc9a2e-ce07-44af-9ad1-3fcfe6685a3b.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/1bbc9a2e-ce07-44af-9ad1-3fcfe6685a3b.png)**

</td></tr></tbody></table>

### LED indicators  


<table border="1" id="bkmrk-modbus-gateways-g01-"><colgroup><col></col><col></col><col></col><col></col><col></col><col></col></colgroup><thead><tr><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" colspan="3" data-colwidth="132,93,259">**Modbus Gateways G01 - G03**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" colspan="3" data-colwidth="136,99,241">**Modbus Gateways G14 - G16**

</td></tr></thead><tbody><tr><td class="align-center" colspan="3" data-colwidth="132,93,259">[![38965053-10b3-4e51-be9b-957b01b9938c.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/38965053-10b3-4e51-be9b-957b01b9938c.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/38965053-10b3-4e51-be9b-957b01b9938c.png)</td><td class="align-center" colspan="3" data-colwidth="136,99,241">[![fd2973ab-76ee-4878-b4ee-4b7626f6cc94.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/fd2973ab-76ee-4878-b4ee-4b7626f6cc94.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/fd2973ab-76ee-4878-b4ee-4b7626f6cc94.png)</td></tr><tr><th data-colwidth="132">**LED indicator**

</th><th data-colwidth="93">**Color**

</th><th data-colwidth="259">**Function**

</th><th data-colwidth="136">**LED indicator**

</th><th data-colwidth="99">**Color**

</th><th data-colwidth="241">**Function**

</th></tr><tr><td data-colwidth="132">PW

</td><td data-colwidth="93">Blue

</td><td data-colwidth="259">Power

</td><td data-colwidth="136">PW

</td><td data-colwidth="99">Blue

</td><td data-colwidth="241">Power

</td></tr><tr><td data-colwidth="132">ETH

</td><td data-colwidth="93">Green

</td><td data-colwidth="259">Network activity

</td><td data-colwidth="136">ETH

</td><td data-colwidth="99">Green

</td><td data-colwidth="241">Network activity

</td></tr><tr><td data-colwidth="132" rowspan="2">ST

</td><td data-colwidth="93">Orange

</td><td data-colwidth="259">Console mode

</td><td data-colwidth="136">CN

</td><td data-colwidth="99">Yellow

</td><td data-colwidth="241">Console mode

</td></tr><tr><td data-colwidth="93">Red

</td><td data-colwidth="259">Service mode

</td><td data-colwidth="136">COM

</td><td data-colwidth="99">Green

</td><td data-colwidth="241">RS232/RS485 activity

</td></tr><tr><td colspan="3" data-colwidth="132,93,259" rowspan="2"></td><td data-colwidth="136">SR

</td><td data-colwidth="99">Red

</td><td data-colwidth="241">Service mode

</td></tr><tr><td data-colwidth="136">ER

</td><td data-colwidth="99">Yellow

</td><td data-colwidth="241">Error

</td></tr></tbody></table>


### Enclosure dimensions

2U Module Enclosure  
98 x 22.5 x 56.4  
Units: mm

[![image (3).webp](https://doc.redisage.com/uploads/images/gallery/2024-05/scaled-1680-/AcYimage-3.webp)](https://doc.redisage.com/uploads/images/gallery/2024-05/AcYimage-3.webp)


### Additional notes  


<table border="1" id="bkmrk-related-information-" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 33.3745%;"></col><col style="width: 33.3745%;"></col><col style="width: 33.3745%;"></col></colgroup><thead><tr><td class="align-center" colspan="3">**Related information and links**  
</td></tr></thead><tbody><tr><td class="align-center">[Ordering information](https://redisage.com/en/delivery.html)</td><td class="align-center">[Accessories](https://redisage.com/eng_m_Accessory-174.html)</td><td class="align-center">[Similar products](https://redisage.com/search.php?text=+&sort=name&order=a)</td></tr></tbody></table>

### Products family sample photo  


<div drawio-diagram="557"><img src="https://doc.redisage.com/uploads/images/drawio/2024-04/drawing-10-1714134602.png" alt=""/></div>

[https://redisage.com](https://redisage.com/)

**DISCLAMER NOTES**  
ALL PRODUCT, PRODUCT SPECIFICATIONS AND DATA ARE SUBJECT TO CHANGE WITHOUT NOTICE TO IMPROVE RELIABILITY, FUNCTION OR DESIGN OR OTHERWISE.

#### Datasheet-ID: 

SR-D

# User Manual

Modbus Ethernet Gateways (G01 - G03 & G14 - G16)

# New Page



# New Page



# New Page



# Configuration by the Web Page

## {{@178#bkmrk-modbus-ethernet-gate}}

This page presents capabilities of the Ethernet Converters configuration. First of all, make sure that converter is connected to power supply and to the LAN using a patch cord. If the device has no static IP set up, it will be necessary to obtain its IP address in the local network. User interface is mostly similar for all gateways but some subpages might be different for several models depending on amount of interfaces. In order to avoid issues, click on a “Help” button in the top right corner on every page.

### Login  


To access the web page open the browser, type device’s IP address of the converter (default is **192.168.100.100**). Then log in using user’s personal credentials. If it is a first configuration or the converter had a factory reset, use default login details (login: **admin**, password: **admin123**).

[![image.png](https://doc.redisage.com/uploads/images/gallery/2025-03/scaled-1680-/kzHimage.png)](https://doc.redisage.com/uploads/images/gallery/2025-03/kzHimage.png)

<p class="callout warning">The configuration is available only if devices are connected to the same Local Area Network as the computer used for it.</p>

### Status page

After a successful login, there should be an insight to a list of available connections. If there is more than one connection, it is possible to sort them by ID, timestamp or status.

[![4f6ed827-ab6f-4372-8bef-95d723d573c8.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/4f6ed827-ab6f-4372-8bef-95d723d573c8.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/4f6ed827-ab6f-4372-8bef-95d723d573c8.png)

#### Changing username or password  


After clicking “Edit User” under the user icon, it is possible to change the username or the password.

[![d0367566-ce19-4dd7-82c9-75ed8a5fb462.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/d0367566-ce19-4dd7-82c9-75ed8a5fb462.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/d0367566-ce19-4dd7-82c9-75ed8a5fb462.png)

[![08cea4a8-e1e1-4241-a0ea-bf987363d2b7.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/08cea4a8-e1e1-4241-a0ea-bf987363d2b7.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/08cea4a8-e1e1-4241-a0ea-bf987363d2b7.png)

<p class="callout warning">If login details were forgotten, it would be necessary to do a factory reset via a USB/UART converter and a serial console.</p>

### Ports configuration  


[![image.png](https://doc.redisage.com/uploads/images/gallery/2025-09/scaled-1680-/0Hkimage.png)](https://doc.redisage.com/uploads/images/gallery/2025-09/0Hkimage.png)

[![image.png](https://doc.redisage.com/uploads/images/gallery/2025-09/scaled-1680-/gCUimage.png)](https://doc.redisage.com/uploads/images/gallery/2025-09/gCUimage.png)

[![image.png](https://doc.redisage.com/uploads/images/gallery/2025-09/scaled-1680-/vabimage.png)](https://doc.redisage.com/uploads/images/gallery/2025-09/vabimage.png)

{{@175#bkmrk-item-description-int}}

<p class="callout warning">Make sure to save all the changes with “Save and Apply” button located on the bottom of the page.</p>

<p class="callout warning">In the UDP mode, port number 15051 is reserved for UDP broadcast service.</p>

### Network settings  


In this section, network settings can be changed according to target LAN parameters.

[![image.png](https://doc.redisage.com/uploads/images/gallery/2025-09/scaled-1680-/5ojimage.png)](https://doc.redisage.com/uploads/images/gallery/2025-09/5ojimage.png)

{{@175#bkmrk-item-description-hos}}

It is possible to obtain dynamic IP address. Just switch configuration method from static IP to DHCP (automatic). This process may cause some issues with identifying converters in LAN unless there is an access to the device which is responsible for allocating IP addresses.

Keep in mind that in case of changed IP address user needs to type new IP in the address bar and log in again.

<p class="callout warning">Make sure to save all the changes with “Save and Apply” button located on the bottom of the page.</p>

### Device page  


On the device page there are tools used to a firmware update, a factory reset and a device reboot. There are also some information about the device.

[![image.png](https://doc.redisage.com/uploads/images/gallery/2025-09/scaled-1680-/Kfrimage.png)](https://doc.redisage.com/uploads/images/gallery/2025-09/Kfrimage.png)

{{@175#bkmrk-item-description-fir}}

#### Firmware update  


The device firmware update must not be interrupted. Update the device only if experiencing issues, being instructed to do so by our support or requiring the latest features/bugfixes. Failure during the update may 'brick' the device and make it unusable.

[![image.png](https://doc.redisage.com/uploads/images/gallery/2025-09/scaled-1680-/n7Eimage.png)](https://doc.redisage.com/uploads/images/gallery/2025-09/n7Eimage.png)

<p class="callout info">Use the **modbus-gateway-mcu-esp32.fir** file for a firmware update.</p>

#### Factory reset  


To restore default settings, press the red button. After that, user will be asked to type “RESET”. Then it will take a few seconds to reload the web page and restart the device. After reset use default login details (login: **admin**, password: **admin123;** default IP: **192.168.100.100**).

[![55a4fc0e-1fb5-4047-a4da-36cb709a988e.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/55a4fc0e-1fb5-4047-a4da-36cb709a988e.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/55a4fc0e-1fb5-4047-a4da-36cb709a988e.png)

# Configuration by the Telnet Console‎ ‎

## {{@178#bkmrk-modbus-ethernet-gate}}

The device can be also configured via the Telnet Console. Firstly, make sure that converter is connected to the power supply and to the LAN using a patch cord. Knowledge of the device’s IP address (default is **192.168.100.100**) and Telnet port number (default is **23**) is necessary to establish a connection.

Use command below in a terminal window to connect to the device:

```bash
telnet <ip_address> <port_number>
```

If the connection is successful there will be login prompt visible. Login using user's personal credentials or the default login details (login: **admin**, password: **admin123**). If login is successful, it will be possible to start typing configuration commands.

[![0e6873d5-31dd-4050-9c0b-e87fcaa271e4.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/0e6873d5-31dd-4050-9c0b-e87fcaa271e4.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/0e6873d5-31dd-4050-9c0b-e87fcaa271e4.png)

<p class="callout warning">The configuration is available only if devices are connected to the same Local Area Network as the computer used for it.</p>

### {{@175#bkmrk-list-of-all-commands}}

{{@175#bkmrk-command-description-}}

{{@176}}

### Additional notes

After some time of inactivity, session will be disconnected automatically.

In order to avoid issues like connecting to host, type “help” to get more information.

To get more details about every particular command, append “help” after each commands (example: "ipconfig help").

Factory reset is not available from the Telnet Console level.

# Configuration by the Serial Console‎

## {{@178#bkmrk-modbus-ethernet-gate}}

Another way to configure the device is via a serial console. In case of the G01 - G03 Modbus gateways an additional USB/UART converter is needed.

##### {{@177#bkmrk-procedure-to-enter-s}}

{{@177#bkmrk-turn-off-the-power-o}}

##### {{@177#bkmrk-procedure-to-enter-s-1}}

{{@177#bkmrk-install-stm32-virtua}}

[![a5a95447-11ad-467f-afc0-dd83c392aa44.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/a5a95447-11ad-467f-afc0-dd83c392aa44.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/a5a95447-11ad-467f-afc0-dd83c392aa44.png)

### {{@175#bkmrk-list-of-all-commands}}

{{@175#bkmrk-command-description-}}

{{@176}}


### {{@177#bkmrk-service-mode}}

##### {{@177#bkmrk-procedure-to-enter-s-2}}

{{@177#bkmrk-turn-off-the-power-o-1}}

##### {{@177#bkmrk-procedure-to-enter-s-3}}

{{@177#bkmrk-install-stm32-virtua-1}}

#### {{@175#bkmrk-list-of-commands-in-}}

{{@175#bkmrk-command-description--1}}

<p class="callout warning">{{@175#bkmrk-in-the-service-mode%2C}}</p>

##### Factory reset  


To restore default settings, type “defaults”. After that, user will be asked for type “default network” to reset the network settings as well. Then user will be informed if the process is successful.  
Default login details:  
\- login: **admin**  
\- password: **admin123**  
\- IP: **192.168.100.100**

### Additional notes  


In order to avoid issues like connecting to host, type “help” to get more information.

To get more details about every particular command, append “help” after each commands (example: "ipconfig help").

# Contact Us

- [Main web page](https://redisage.com/)
- [Facebook](https://www.facebook.com/Redisage/)
- E-mail:  
    <online@redisage.com>
- Phone number:  
    +48 71 70 00 140
- Address:  
    NSG 4L Sp. z o.o.  
    ul. Trzy Lipy 3B  
    80-172 Gdańsk  
    (POLSKA)
- [More information](https://redisage.com/en/contact.html)

# Common Resources

Source of common resources used across the Modbus Ethernet Gateways documentation

# Tables

### Specification  


<table border="1" id="bkmrk-redisage-pn-g01-g02-" style="border-collapse: collapse; width: 100%; height: 884.422px;"><colgroup><col style="width: 12.5149%;"></col><col style="width: 12.5149%;"></col><col style="width: 12.5149%;"></col><col style="width: 12.5149%;"></col><col style="width: 12.5149%;"></col><col style="width: 12.5149%;"></col><col style="width: 12.5149%;"></col><col style="width: 12.5149%;"></col></colgroup><thead><tr style="height: 35.375px;"><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" colspan="2" data-colwidth="220,148" style="height: 35.375px;">**Redisage PN**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="101" style="height: 35.375px;">**G01**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="96" style="height: 35.375px;">**G02**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="100" style="height: 35.375px;">**G03**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="100" style="height: 35.375px;">**G14**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="102" style="height: 35.375px;">**G15**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="93" style="height: 35.375px;">**G16**

</td></tr></thead><tbody><tr style="height: 35.3906px;"><td data-colwidth="220" rowspan="3" style="height: 106.172px;">Ports

</td><td data-colwidth="148" style="height: 35.3906px;">RS232

</td><td class="align-center" data-colwidth="101" style="height: 35.3906px;">2x

</td><td class="align-center" data-colwidth="96" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="100" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="100" style="height: 35.3906px;">4x

</td><td class="align-center" data-colwidth="102" style="height: 35.3906px;">2x

</td><td class="align-center" data-colwidth="93" style="height: 35.3906px;">-

</td></tr><tr style="height: 35.3906px;"><td data-colwidth="148" style="height: 35.3906px;">RS485

</td><td class="align-center" data-colwidth="101" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="96" style="height: 35.3906px;">1x

</td><td class="align-center" data-colwidth="100" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="100" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="102" style="height: 35.3906px;">2x

</td><td class="align-center" data-colwidth="93" style="height: 35.3906px;">4x

</td></tr><tr style="height: 35.3906px;"><td data-colwidth="148" style="height: 35.3906px;">RS232/RS485

</td><td class="align-center" data-colwidth="101" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="96" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="100" style="height: 35.3906px;">2x

</td><td class="align-center" data-colwidth="100" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="102" style="height: 35.3906px;">-

</td><td class="align-center" data-colwidth="93" style="height: 35.3906px;">-

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">Microcontroller

</td><td class="align-center" colspan="3" data-colwidth="101,96,100" style="height: 35.375px;">ESP32

</td><td class="align-center" colspan="3" data-colwidth="100,102,93" style="height: 35.375px;">STM32F4

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">WiFi

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">N/A

</td></tr><tr style="height: 35.375px;"><td data-colwidth="220" rowspan="2" style="height: 70.75px;">Power

</td><td data-colwidth="148" style="height: 35.375px;">Voltage

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">12-30 VDC

</td></tr><tr style="height: 35.375px;"><td data-colwidth="148" style="height: 35.375px;">Power

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">&lt; 1 W

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">Frame ground connection

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">yes

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">Baud rate

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">up to 115200 bps

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">LED indicators

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">communication Tx, Rx and power

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">RS485 termination

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">120 ohm manually enabled

</td></tr><tr style="height: 38.0469px;"><td data-colwidth="220" rowspan="3" style="height: 111.469px;">Connector

</td><td data-colwidth="148" style="height: 38.0469px;">RS232/RS485

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 38.0469px;">8-pin terminal block max. 2.5 mm<sup data-renderer-mark="true">2</sup> wire

</td></tr><tr style="height: 38.0469px;"><td data-colwidth="148" style="height: 38.0469px;">Power

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 38.0469px;">3-pin terminal block max. 2.5 mm<sup data-renderer-mark="true">2</sup> wire

</td></tr><tr style="height: 35.375px;"><td data-colwidth="148" style="height: 35.375px;">Ethernet

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">RJ45

</td></tr><tr style="height: 80.1719px;"><td data-colwidth="220" rowspan="2" style="height: 115.547px;">Transmission  
distance

</td><td data-colwidth="148" style="height: 80.1719px;">RS485

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 80.1719px;">max. 1,200 m at 9.6 kbps; max. 400 m at 115.2 kbps  
(Belden 9841 2P twisted-pair cable, if diﬀerent cables are used,   
the transmission distance may change)

</td></tr><tr style="height: 35.375px;"><td style="height: 35.375px;">RS232

</td><td colspan="6" style="height: 35.375px;">max. 15 m at 115.2 kbps

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">Mounting and enclosure

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">DIN rail, plastic PA - UL 94 V0, black/green

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">Temperatures

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">-40°C to +75°C operating and storage

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">Humidity

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">10 - 90% RH, non-condensing

</td></tr><tr style="height: 35.375px;"><td colspan="2" data-colwidth="220,148" style="height: 35.375px;">ESD protection

</td><td class="align-center" colspan="6" data-colwidth="101,96,100,100,102,93" style="height: 35.375px;">±4 kV contact discharge / ±8 kV air discharge

</td></tr><tr style="height: 32.375px;"><td colspan="2" data-colwidth="68,50" style="height: 32.375px;">Certification

</td><td class="align-center" colspan="6" data-colwidth="102,101" style="height: 32.375px;">CE, RoHS, EMC, LVD

</td></tr><tr style="height: 58.9844px;"><td colspan="2" style="height: 58.9844px;">Norms

</td><td colspan="6" style="height: 58.9844px;">61000-6-2 - Immunity standard for industrial environments

61000-6-4 - Emission standard for industrial environments

</td></tr></tbody></table>

### Pin assignments

<table border="1" id="bkmrk-g01-g02-g03-g14-g15-" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 33.3333%;"></col><col style="width: 33.3333%;"></col><col style="width: 33.3333%;"></col></colgroup><tbody><tr><td class="align-center">**G01**

**[![7a36a230-516d-413d-a5b2-aeb9c4044bb0.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/7a36a230-516d-413d-a5b2-aeb9c4044bb0.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/7a36a230-516d-413d-a5b2-aeb9c4044bb0.png)**

</td><td class="align-center">**G02**

**[![27b5fe0a-d8ca-451b-a20d-2f1678d04547.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/27b5fe0a-d8ca-451b-a20d-2f1678d04547.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/27b5fe0a-d8ca-451b-a20d-2f1678d04547.png)**

</td><td class="align-center">**G03**

**[![54ec2665-7a15-484f-bdf2-6917b054595c.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/54ec2665-7a15-484f-bdf2-6917b054595c.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/54ec2665-7a15-484f-bdf2-6917b054595c.png)**

</td></tr><tr><td class="align-center">**G14**

**[![3194e998-4094-4387-8062-f44a1ae1bc9d.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/3194e998-4094-4387-8062-f44a1ae1bc9d.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/3194e998-4094-4387-8062-f44a1ae1bc9d.png)**

</td><td class="align-center">**G15**

**[![a9bf9b11-bebf-45e5-a3d8-81d001bb0c78.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/a9bf9b11-bebf-45e5-a3d8-81d001bb0c78.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/a9bf9b11-bebf-45e5-a3d8-81d001bb0c78.png)**

</td><td class="align-center">**G16**

**[![1bbc9a2e-ce07-44af-9ad1-3fcfe6685a3b.png](https://doc.redisage.com/uploads/images/gallery/2024-03/scaled-1680-/1bbc9a2e-ce07-44af-9ad1-3fcfe6685a3b.png)](https://doc.redisage.com/uploads/images/gallery/2024-03/1bbc9a2e-ce07-44af-9ad1-3fcfe6685a3b.png)**

</td></tr></tbody></table>

### Configuration by the Web Page

#### Ports page

<table border="1" id="bkmrk-item-description-int" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 21.2608%;"></col><col style="width: 21.508%;"></col><col style="width: 57.2311%;"></col></colgroup><thead><tr><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" colspan="2" data-colwidth="118,109">**Item**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="661">**Description**

</td></tr></thead><tbody><tr><td colspan="2" data-colwidth="118,109">Internal Modbus Address

</td><td data-colwidth="661">Internal Modbus Address is qualified by the Gateway/Router as a request for internal resources. The Internal Modbus Address has a higher priority than the Gateway Slave Address.

</td></tr><tr><td colspan="2" data-colwidth="118,109">Idle Time \[s\]

</td><td data-colwidth="661">Determine a time thread waits for the TCP connection. If time expired, the connection and thread are closed. **Used only in Gateway Mode.**

</td></tr><tr><td data-colwidth="118" rowspan="3">UART Mode

</td><td data-colwidth="109">Gateway

</td><td data-colwidth="661">Define the port's role in the system. In the Gateway Mode the port is used to communicate with Modbus Slave.

</td></tr><tr><td data-colwidth="109">Router

</td><td data-colwidth="661">Define the port's role in the system. In the Router Mode the port is used to communicate with Modbus Master. Note the Routing Configuration section below if the Router Mode is chosen.

</td></tr><tr><td data-colwidth="109">Disabled

</td><td data-colwidth="661">Disable the port.

</td></tr><tr><td colspan="2" data-colwidth="118,109">UART Protocol

</td><td data-colwidth="661">Determine a protocol used for a communication.

</td></tr><tr><td colspan="2" data-colwidth="118,109">Gateway Slaves

</td><td data-colwidth="661">Addresses of Modbus Slave Devices connected to Gateway UART ports. Multiple addresses can be written in one field, e.g. *9;11;14-17;80*. This field is available only in the Gateway Mode. Use \* to select all not assigned addresses.

</td></tr><tr><td colspan="2" data-colwidth="118,109">Slaves Response Timeout \[ms\]

</td><td data-colwidth="661">Specify how long the device will wait for response from Modbus Slave.

</td></tr><tr><td colspan="2" data-colwidth="118,109">Baud Rate

</td><td data-colwidth="661">Determine the port's transmission speed over the data channel.

</td></tr><tr><td colspan="2" data-colwidth="118,109">Data Bits

</td><td data-colwidth="661">Determine the number of data bits in the port's message frame.

</td></tr><tr><td colspan="2" data-colwidth="118,109">Parity

</td><td data-colwidth="661">Enable/disable the parity check in the port's message frame.

</td></tr><tr><td colspan="2" data-colwidth="118,109">Stop Bits

</td><td data-colwidth="661">Determine the number of stop bits in the port's message frame.

</td></tr><tr><td colspan="2" data-colwidth="118,109">Termination

</td><td data-colwidth="661">Enable/disable termination on RS line.

</td></tr><tr><td colspan="2" data-colwidth="118,109">Routing Slaves

</td><td data-colwidth="661">Addresses of Modbus Slaves connected to Modbus Router. Multiple addresses can be written in one field, e.g. 9;11;14-17;80. Use \* to select all not assigned addresses.

</td></tr><tr><td colspan="2" data-colwidth="118,109">Slaves Response Timeout \[ms\]

</td><td data-colwidth="661">Specify how long the device will wait for response from Modbus Slave.

</td></tr><tr><td colspan="2" data-colwidth="118,109">IP/Hostname

</td><td data-colwidth="661">Determine IP address or Hostname of Modbus Slave.

</td></tr><tr><td colspan="2" data-colwidth="118,109">TCP Port

</td><td data-colwidth="661">Determine TCP port of Modbus Slave.

</td></tr></tbody></table>

#### Network page

<table border="1" id="bkmrk-item-description-hos" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50.0618%;"></col><col style="width: 50.0618%;"></col></colgroup><thead><tr><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="340">**Item**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="340">**Description**

</td></tr></thead><tbody><tr><td data-colwidth="340">Hostname

</td><td data-colwidth="340">Label that is assigned to the device.

</td></tr><tr><td data-colwidth="340">Configuration Method

</td><td data-colwidth="340">Enable/disable the DHCP server. If the DHCP server is disabled, the IP address of the device has to be set manually.

</td></tr><tr><td data-colwidth="340">IP Address

</td><td data-colwidth="340">IP address of the device.

</td></tr><tr><td data-colwidth="340">Netmask

</td><td data-colwidth="340">Netmask associated with the IP address.

</td></tr><tr><td data-colwidth="340">Gateway

</td><td data-colwidth="340">Gateway address currently used by the device.

</td></tr><tr><td data-colwidth="340">DNS Address

</td><td data-colwidth="340">Domain Name System used by the device.

</td></tr><tr><td data-colwidth="340">MAC Settings

</td><td data-colwidth="340">Allow setting the default MAC address or typing it manually.

</td></tr><tr><td data-colwidth="340">MAC Address

</td><td data-colwidth="340">Allow changing the physical address of the device.

</td></tr><tr><td data-colwidth="340">HTTP Port

</td><td data-colwidth="340">Determine the port of the control panel.

</td></tr><tr><td data-colwidth="340">Telnet Port

</td><td data-colwidth="340">Allow connection with the device via Telnet.

</td></tr><tr><td data-colwidth="340">Modbus TCP Listening Port

</td><td data-colwidth="340">Used as an entry point for new Modbus TCP connections.

</td></tr></tbody></table>

#### Device page

<table border="1" id="bkmrk-item-description-fir" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50.0618%;"></col><col style="width: 50.0618%;"></col></colgroup><thead><tr><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="340">**Item**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="340">**Description**

</td></tr></thead><tbody><tr><td data-colwidth="340">Firmware Update

</td><td data-colwidth="340">Update firmware.

</td></tr><tr><td data-colwidth="340">Factory Reset

</td><td data-colwidth="340">Restore default ports settings and default network configuration.

</td></tr><tr><td data-colwidth="340">Reboot

</td><td data-colwidth="340">Reboot the device.

</td></tr><tr><td data-colwidth="340">About

</td><td data-colwidth="340">Basic information about the device.

</td></tr></tbody></table>

### Configuration by the Serial Console

#### List of all commands

<table border="1" id="bkmrk-command-description-" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50.0618%;"></col><col style="width: 50.0618%;"></col></colgroup><thead><tr><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="340">**Command**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="340">**Description**

</td></tr></thead><tbody><tr><td data-colwidth="340">help

</td><td data-colwidth="340">Print the help.

</td></tr><tr><td data-colwidth="340">conn

</td><td data-colwidth="340">Print active TCP connections.

</td></tr><tr><td data-colwidth="340">net\_stat

</td><td data-colwidth="340">Print lwIP statistics.

</td></tr><tr><td data-colwidth="340">eth\_mac

</td><td data-colwidth="340">Print or change MAC address.

</td></tr><tr><td data-colwidth="340">ipconfig

</td><td data-colwidth="340">Print or change the network configuration.

</td></tr><tr><td data-colwidth="340">http\_port

</td><td data-colwidth="340">Print or change default http port.

</td></tr><tr><td data-colwidth="340">telnet\_port

</td><td data-colwidth="340">Print or change default telnet port.

</td></tr><tr><td data-colwidth="340">modbus\_tcp\_port

</td><td data-colwidth="340">Print or change modbus port.

</td></tr><tr><td data-colwidth="340">ping

</td><td data-colwidth="340">Check internet connection with the desired host.

</td></tr><tr><td data-colwidth="340">restart

</td><td data-colwidth="340">Restart the system.

</td></tr><tr><td data-colwidth="340">user

</td><td data-colwidth="340">Print or change user configuration.

</td></tr><tr><td data-colwidth="340">sys\_heap\_usage

</td><td data-colwidth="340">Print current heap usage.

</td></tr><tr><td data-colwidth="340">modbus

</td><td data-colwidth="340">Print or changes modbus settings.

</td></tr><tr><td data-colwidth="340">modbus\_ports

</td><td data-colwidth="340">Print or changes modbus ports settings.

</td></tr><tr><td data-colwidth="340">modbus\_routing

</td><td data-colwidth="340">Print or change modbus routing settings.

</td></tr><tr><td data-colwidth="340">exit

</td><td data-colwidth="340">Exit console.

</td></tr></tbody></table>

#### List of commands in the service mode  


<table border="1" id="bkmrk-command-description--1" style="border-collapse: collapse; width: 100%; height: 357.563px;"><colgroup><col style="width: 50.0618%;"></col><col style="width: 50.0618%;"></col></colgroup><thead><tr style="height: 29.7969px;"><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="379" style="height: 29.7969px;">**Command**

</td><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" data-colwidth="378" style="height: 29.7969px;">**Description**

</td></tr></thead><tbody><tr style="height: 29.7969px;"><td data-colwidth="379" style="height: 29.7969px;">help

</td><td data-colwidth="378" style="height: 29.7969px;">Print the help.

</td></tr><tr style="height: 29.7969px;"><td data-colwidth="379" style="height: 29.7969px;">credits

</td><td data-colwidth="378" style="height: 29.7969px;">Print current credits value for this device.

</td></tr><tr style="height: 29.7969px;"><td data-colwidth="379" style="height: 29.7969px;">dev\_ident

</td><td data-colwidth="378" style="height: 29.7969px;">Print the device identification value.

</td></tr><tr style="height: 29.7969px;"><td data-colwidth="379" style="height: 29.7969px;">restart

</td><td data-colwidth="378" style="height: 29.7969px;">Restart the system.

</td></tr><tr style="height: 29.7969px;"><td data-colwidth="379" style="height: 29.7969px;">serial\_num

</td><td data-colwidth="378" style="height: 29.7969px;">Print the serial number of this device.

</td></tr><tr style="height: 29.7969px;"><td data-colwidth="379" style="height: 29.7969px;">version

</td><td data-colwidth="378" style="height: 29.7969px;">Display the bootloader version.

</td></tr><tr style="height: 29.7969px;"><td data-colwidth="379" style="height: 29.7969px;">xmodem

</td><td data-colwidth="378" style="height: 29.7969px;">Download image to the internal flash using xmodem.

</td></tr><tr style="height: 29.7969px;"><td data-colwidth="379" style="height: 29.7969px;">defaults

</td><td data-colwidth="378" style="height: 29.7969px;">Reset application variables to defaults.

</td></tr><tr style="height: 29.7969px;"><td data-colwidth="379" style="height: 29.7969px;">ipconfig

</td><td data-colwidth="378" style="height: 29.7969px;">Print or change the network configuration.

</td></tr></tbody></table>

<p class="callout warning">In the service mode, the “ipconfig” command can only show a last static IP address.</p>

# New Page



# New Page



# Commands

##### Modbus ports configuration commands

- **modbus**
    - **modbus help**  
        Print command help.
    - **modbus int\_addr VALUE**  
        Set internal Modbus address.  
          
        Example:  
        modbus int\_addr 5
    - **modbus idlet VALUE**  
        Show or set the idle TIME (in seconds) of the TCP connection after which the TCP connection is terminated by the converter and the TCP socket is released.  
          
        Example:  
        modbus idlet 720  
          
        If a subcommand that normally sets a value is not given an argument, it will print the current value.  
          
        Example:  
        modbus idlet  
        Set idle time is 5000
- **modbus\_ports**
    - **modbus\_ports help**  
        Print command help, does not require com\_number.
    - **modbus\_ports PORT\_NUMBER add\_slaves \[SLAVE\_ADDR ;/- SLAVE\_ADDR, \*\]**  
        Set all addresses of slaves connected to com\_port. A star in value means fill rest free slaves. It means all slaves that are not set to other ports will be set to this one.  
          
        Example:  
        modbus\_ports 1 addslaves 124  
          
        Example:  
        modbus\_ports 1 addslaves 12-124  
          
        Example:  
        modbus\_ports 1 addslaves 12;14;18  
          
        Example:  
        modbus\_ports 1 addslaves 12;14-17;150-200  
          
        Example:  
        modbus\_ports 1 addslaves 12;14-17;150-200, \*
    - **modbus\_ports PORT\_NUMBER show\_slaves**  
        Show addresses of slaves connected to com\_port.  
          
        Example:  
        modbus\_ports 1 showslaves
    - **modbus\_ports PORT\_NUMBER mode \[ascii/rtu\]**  
        Set Modbus port mode to ASCII or RTU.  
          
        Example:  
        modbus\_ports 2 mode ascii
    - **modbus\_ports PORT\_NUMBER baud \[RATE\]**  
        Set the baud rate to RATE. For a list of acceptable baud rates, please refer to the manual.  
          
        Example:  
        modbus\_ports 1 baud 9600
    - **modbus\_ports PORT\_NUMBER bits \[CPS\]**  
        Set bit count to C, parity to P, and stop bits to S. Valid values are:  
        C: 7, 8 or 9  
        P: N, E or O (N- none, E- even, O- odd)  
        S: 1 or 2  
          
        Example:  
        modbus\_ports 1 bits 8N1  
          
        Example:  
        modbus\_ports 2 bits 7O1
    - **modbus\_ports PORT\_NUMBER state \[GATEWAY/ROUTER/DISABLE\]**  
        Enable or disable uart functionality.   
          
        Example:  
        modbus\_ports 1 state GATEWAY  
          
        Example:  
        modbus\_ports 2 state DISABLE
    - **modbus\_ports PORT\_NUMBER termination \[on/off\]**  
        Enable or disable termination on RS485 port.   
          
        Example:  
        modbus\_ports 1 termination on
    - **modbus\_ports PORT\_NUMBER slave\_response\_timeout TIMEOUT**  
        Set response timeout (serial slave) in ms. When this timeout expires, delayed frames are dropped.  
          
        Example:  
        modbus\_ports 1 slave\_response\_timeout 2000  
          
        If a subcommand that normally sets a value is not given an argument, it will print the current value.  
          
        Example:  
        modbus\_ports 2 baud  
        Set baud rate is 115200

<p class="callout info">PORT\_NUMBER is a number of ports in modbus gateway and it is counted from 0.</p>

- **modbus\_routing**
    - **modbus\_routing help**  
        Print routing's help.
    - **modbus\_routing show**  
        Display all active routing table in system.  
        \[LP\]: \[SLAVES NUMBERS\] \[IP/HOSTNAME\] \[PORT\] \[TIMEOUT\]
    - **modbus\_routing add SLAVE\_ADDR HOSTNAME PORT TIMEOUT**  
        SLAVE\_ADDR with HOSTNAME PORT is used by uarts working in Modbus router mode. TIMEOUT (in ms) is used to close the connection if a slave is not responding. The maximum records is 8. One record for one address/ip.  
          
        Example:  
        modbus\_routing add 18 192.168.0.10 502 2000  
          
        Example:  
        modbus\_routing add 18;25 192.168.0.10 502 2000  
          
        Example:  
        modbus\_routing add 18-25 192.168.0.10 502 2000  
          
        Example:  
        modbus\_routing add 18-25;\* 192.168.0.10 502 2000  
          
        Example:  
        modbus\_routing add 18-25 modbus.local 502 2000
    - **modbus\_routing remove \[HOSTNAME\_NUMBER/all\]**  
        Remove Modbus Routing Table record. HOSTNAME\_NUMBER is line number from /show/ command.  
          
        Example:  
        modbus\_routing remove 2  
          
        Example:  
        modbus\_routing remove all

##### Network settings

The following commands might be helpful to change network settings according to target LAN parameters,

- **ipconfig**
    - **ipconfig addr ADDRESS**  
        Set IP address to ADDRESS.  
          
        Example:  
        ipconfig addr 192.168.0.10
    - **ipconfig mask NETMASK**  
        Set subnet mask to NETMASK (in dot-decimal format).  
          
        Example:  
        ipconfig mask 255.255.255.0
    - **ipconfig mask BIT\_COUNT**  
        Set subnet mask to BIT\_COUNT bits.  
          
        Example:  
        ipconfig mask 24
    - **ipconfig gateway GATEWAY\_IP**  
        Set network gateway to GATEWAY\_IP.  
          
        Example:  
        ipconfig gateway 192.168.0.1
    - **ipconfig dhcp \[enable/disable\]**  
        Enable or disable DHCP client.  
          
        Example:  
        ipconfig dhcp enable
    - **ipconfig dns1 ADDRESS**  
        Set primary DNS to ADDRESS, disable getting DNS from DHCP if enabled.  
          
        Example:  
        ipconfig dns1 192.168.100.1
    - **ipconfig dns2 ADDRESS**  
        Set secondary DNS to ADDRESS, disable getting DNS from DHCP if enabled.  
          
        Example:  
        ipconfig dns2 1.1.1.1
- **eth\_mac**
    - **eth\_mac help**  
        Print the help message.
    - **eth\_mac default**  
        Set device’s MAC address to factory-default one.
    - **eth\_mac set MAC\_ADDR**  
        Set device’s MAC address to MAC\_ADDR. Accepts both dash and colon-separated formats.  
          
        Example:  
        eth\_mac set 01-02-03-04-05-06  
          
        Example:  
        eth\_mac set 01:02:03:04:05:06
- **http\_port**
    - **http\_port help**  
        Print the help message.
    - **http\_port PORT\_NUMBER**  
        Set http port to PORT\_NUMBER. A PORT\_NUMBER value must be in range: 1-65535.  
          
        Example:  
        http\_port 80
    - **http\_port status**  
        Print current http port.  
          
        Example:  
        http\_port status  
        A current http port is 80
- **telnet\_port**
    - **telnet\_port help**  
        Print the help message.
    - **telnet\_port PORT\_NUMBER**  
        Set Telnet port to PORT\_NUMBER. A PORT\_NUMBER value must be in range: 1-65535.  
          
        Example:  
        telnet\_port 23
    - **telnet\_port status**  
        Print current Telnet port.  
          
        Example:  
        telnet\_port status  
        A current telnet port is 23
- **modbus\_tcp\_port**
    - **modbus\_tcp\_port help**  
        Print the help message.
    - **modbus\_tcp\_port PORT\_NUMBER**  
        Set http port to PORT\_NUMBER. A PORT\_NUMBER value must be in range: 1-65535.  
          
        Example:  
        modbus\_tcp\_port 502
    - **modbus\_tcp\_port status**  
        Print current Modbus port.  
          
        Example:  
        modbus\_tcp\_port status  
        A current modbus port is 502

##### Changing username or password

To change username or password, use user command. Available commands:

- **user help**  
    Print the help message.
- **user mod\_name USER\_NAME NEW\_NAME**  
    Change the user name to NEW\_NAME. It fails if the name is used by another user.  
      
    Example:  
    user mod\_name admin NEW\_NAME
- **user passwd USER\_NAME**  
    Change USER\_NAME's password.  
      
    Example:  
    user passwd admin  
    \*\*\*\*\*\* &lt;- here is entered password, but '\*' appears instead  
      
    Note: Everyone can change the password for themselves.

# Procedures

### Configuration by the Serial Console  


#### Procedure to enter serial console mode on G01 - G03

- Turn off the power of the device.
- Connect Ethernet converter to the dedicated USB/UART converter via the microUSB port.
- Connect the USB/UART converter to the PC.
- Open the serial console (default baud rate is 115200 bps).
- Press and hold the S1 button.
- Turn on the power.
- Wait until the ST indicator (<span style="color: rgb(230, 126, 35);">orange </span>LED) lights up (it should light up after red light - service mode).
- Release the S1 button.
- Login using user’s personal credentials or default login details.
- If the process is successful, configuration command can be typed into the terminal.

#### Procedure to enter serial console mode on G14 - G16

- Install STM32 Virtual COM Port Driver.
- Turn off the power of the device.
- Connect Ethernet converter directly to the PC (the dedicated USB/UART converter is not obligatory).
- Open the serial console (default baud rate is 115200 bps).
- Press and hold the S1 button.
- Turn on the power.
- Wait until the ST indicator (<span style="color: rgb(241, 196, 15);">yellow </span>LED) lights up.
- Release the S1 button.
- Login using user’s personal credentials or default login details.
- If the process is successful, configuration command can be typed into the terminal.

### Service mode

#### Procedure to enter service mode for G01 - G03 gateways

- Turn off the power of the device.
- Connect Ethernet converter to the dedicated USB/UART converter via the microUSB port.
- Connect the USB/UART converter to the PC.
- Open the serial console (default baud rate is 115200 bps).
- Press and hold the S1 button.
- Turn on the power.
- Wait until the ST indicator (<span style="color: rgb(224, 62, 45);">red </span>LED) lights up.
- Release the S1 button.
- If the process is successful, service commands can be typed into the terminal.

#### Procedure to enter service mode for G14 - G16 gateways

- Install STM32 Virtual COM Port Driver (if it was not done before).
- Turn off the power of the device.
- Connect Ethernet converter directly to the PC (the dedicated USB/UART converter is not obligatory).
- Open the serial console (default baud rate is 115200 bps).
- Press and hold the S1 button.
- Turn on the power.
- Wait until the ST indicator (<span style="color: rgb(224, 62, 45);">red </span>LED) lights up.
- Release the S1 button.
- If the process is successful, service commands can be typed into the terminal.

# Introduction

## Modbus Ethernet Gateways (G01 - G03 &amp; G14 - G16)

Modbus gateways allow data transmission between LAN hosts and serial devices by converting Modbus protocols (Modbus TCP and Modbus RTU/ASCII). They are intended to be used in industrial networks especially in the field of Industry 4.0 but not only. Apart from extending the capabilities of industrial devices, they can be also adapted up to user’s requirements and needs.

Transmission is carried out by two modes: Gateway and Router. In the Gateway mode, the port is used to communicate with Slave devices, but in the Router mode with Master devices. It is also possible to set up different modes on every port. Block diagrams below describe how each of these modes works.

<div drawio-diagram="1358"><img src="https://doc.redisage.com/uploads/images/drawio/2025-07/drawing-29-1753771775.png" alt=""/></div>

<p class="callout warning">The device has max 20 sockets open in Gateway mode and max 8 in Router mode. It is possible to increase this value at client's request.</p>