# Modbus TCP/RTU M-Bus Gateways

# Data Sheet

## Modbus TCP/RTU M-bus Gateways (G20, G30)

<table border="1" id="bkmrk-c01-c02-c03-c04-feat" style="width: 110.119%;"><tbody><tr><td style="width: 49.64%;">**G20 G30**

[![IMG_7760 Copy.JPG](https://doc.redisage.com/uploads/images/gallery/2026-03/scaled-1680-/img-7760-copy.JPG)](https://doc.redisage.com/uploads/images/gallery/2026-03/img-7760-copy.JPG)

</td><td style="width: 50.36%;">**Features**

- Serial ports RS232 and RS485
- Up to 10 simultaneously connected M-Bus slave devices
- ESD protection for the RS232/RS485 data line
- 1000 VDC isolation protection
- Power supply: +12 to +30 VDC or 24 VAC
- M-Bus Transmission speed up to 9600 bps
- Fast Ethernet 10/100 Mb/s
- Wi-Fi**®** 802.11b/g/n 150 Mbps / 2.4 GHz (**G30 only**)
- Tx, Rx and power LED indicators
- RS485 embedded termination 120 Ω
- Operating temperatures: -40°C to +75°C
- DIN-rail mounting
- Dimensions: 90 x 56,4 x 40 \[mm\]
- 3 years warranty
- Customization of OEM is welcomed

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

### Introduction

The G20 and G30 are reliable M-Bus to Modbus gateways. They enable seamless integration between M-Bus slave devices and Modbus-based systems. On the M-Bus side, the gateway communicates in master mode and supports up to 10 simultaneously connected slave devices. On the Modbus side, the collected data is made available via the Modbus protocol, ensuring easy and efficient integration with PLCs, SCADA systems, or building automation. Dedicated EMC integrated circuits guarantee stable operation and improved communication quality by reducing interferences typical of industrial environments.

### Specifications

<table border="1" id="bkmrk-redisage-pn-c01-c02-" style="width: 100%; height: 1331.3px;"><colgroup><col style="width: 37.1871%;"></col><col style="width: 21.2157%;"></col><col style="width: 20.739%;"></col><col style="width: 20.8582%;"></col></colgroup><thead><tr style="height: 29.7969px;"><td class="confluenceTh align-center" colspan="2" style="height: 29.7969px;">**Redisage PN**  
</td><td class="confluenceTh align-center" style="height: 29.7969px;">**G20**

</td><td style="height: 29.7969px;">**G30**

</td></tr></thead><tbody><tr style="height: 29.7969px;"><td class="confluenceTd" rowspan="2" style="height: 59.5938px;">Converter ports</td><td class="confluenceTd" style="height: 29.7969px;">Serial</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">1 x active RS232/RS485  
</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd" style="height: 29.7969px;">M-Bus</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">1 x M-Bus master with up to 10 x slaves  
</td></tr><tr style="height: 29.7969px;"><td colspan="2" style="height: 29.7969px;">Microcontroller</td><td class="align-center" colspan="2" style="height: 29.7969px;">ESP32  
</td></tr><tr style="height: 29.7969px;"><td colspan="2" style="height: 29.7969px;">Wi-Fi</td><td class="align-center" style="height: 29.7969px;">N/A</td><td style="height: 29.7969px;">802.11 b/g/n</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd" rowspan="2" style="height: 59.5938px;">Power

</td><td class="confluenceTd" style="height: 29.7969px;">Voltage

</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">12-30 VDC

</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd" style="height: 29.7969px;">Power</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">&lt; 1 W  
</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd" colspan="2" style="height: 29.7969px;">Frame ground connection</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">yes  
</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd" rowspan="3" style="height: 89.3907px;">Serial  
interface

</td><td class="confluenceTd" style="height: 29.7969px;">RS232</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">TxD, RxD, GND  
</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd" style="height: 29.7969px;">RS485</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">A, B  
</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd" style="height: 29.7969px;">M-Bus</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">MBus+, MBus -  
</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd" colspan="2" style="height: 29.7969px;">Baud rate

</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">up to 9600 bps

</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd" colspan="2" rowspan="2" style="height: 59.5938px;">LED indicators</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">communication Tx, Rx, power  
</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">RS232 OK  
</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd" colspan="2" style="height: 29.7969px;">RS485 termination</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">120 Ω manually enabled  
</td></tr><tr style="height: 29.7969px;"><td colspan="2" style="height: 29.7969px;">1000 VDC isolation side</td><td class="align-center" colspan="2" style="height: 29.7969px;">RS232/RS485</td></tr><tr style="height: 33.4531px;"><td class="confluenceTd" rowspan="6" style="height: 193.406px;">Connector  
</td><td class="confluenceTd" style="height: 33.4531px;">RS232</td><td class="confluenceTd align-center" colspan="2" style="height: 33.4531px;">3-pin terminal block max. 2.5 mm<sup>2</sup> wire  
</td></tr><tr style="height: 33.4531px;"><td class="confluenceTd" style="height: 33.4531px;">RS485</td><td class="confluenceTd align-center" colspan="2" style="height: 33.4531px;">3-pin terminal block max. 2.5 mm<sup>2</sup> wire  
</td></tr><tr style="height: 33.4531px;"><td class="confluenceTd" style="height: 33.4531px;">Power</td><td class="confluenceTd align-center" colspan="2" style="height: 33.4531px;">3-pin terminal block max. 2.5 mm<sup>2</sup> wire  
</td></tr><tr style="height: 33.4531px;"><td class="confluenceTd" style="height: 33.4531px;">M-Bus</td><td class="confluenceTd align-center" colspan="2" style="height: 33.4531px;">3-pin terminal block max. 2.5 mm<sup>2</sup> wire  
</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">Ethernet</td><td class="align-center" colspan="2" style="height: 29.7969px;">RJ45 Fast Ethernet 10/100 Mb/s  
</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">2.4G Antenna</td><td class="align-center" colspan="2" style="height: 29.7969px;">SMA, External Antenna included (**G30 only**)</td></tr><tr style="height: 80.1875px;"><td class="confluenceTd" rowspan="3" style="height: 139.781px;">Transmission  
distance

</td><td class="confluenceTd" style="height: 80.1875px;">RS485

</td><td class="confluenceTd align-center" colspan="2" style="height: 80.1875px;">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: 29.7969px;"><td class="confluenceTd" style="height: 29.7969px;">RS232</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">max. 15 m at 115.2 kbps  
</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd" style="height: 29.7969px;">M-Bus</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">see: M-Bus max. transmission distance (below)  
</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd" colspan="2" style="height: 29.7969px;">Mounting and enclosure</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">DIN rail, plastic PA - UL 94 V0, black/green  
</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd" colspan="2" style="height: 29.7969px;">Temperatures</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">-40°C to +75°C operating and storage  
</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd" colspan="2" style="height: 29.7969px;">Humidity</td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">10 - 90% RH, non-condensing  
</td></tr><tr style="height: 46.5938px;"><td class="confluenceTd" colspan="2" style="height: 46.5938px;">ESD protection

</td><td class="confluenceTd align-center" colspan="2" style="height: 46.5938px;"><span data-colorid="iaj36wocxg">±</span>4 kV contact discharge / <span data-colorid="rv4vbkrhma">±</span>8 kV air discharge

<span data-colorid="iaj36wocxg">  
</span>

</td></tr><tr style="height: 29.7969px;"><td class="confluenceTd" colspan="2" style="height: 29.7969px;">Certification </td><td class="confluenceTd align-center" colspan="2" style="height: 29.7969px;">CE, RoHS, EMC, LVD, RED  
</td></tr><tr style="height: 355.578px;"><td colspan="2" style="height: 355.578px;">Norms</td><td class="align-center" style="height: 355.578px;">- 61000-6-2 - Immunity standard for industrial environments
- 61000-6-4 - Emission standard for industrial environments

</td><td class="align-center" style="height: 355.578px;">- 61000-6-2 - Immunity standard for industrial environments
- 61000-6-4 - Emission standard for industrial environments
- EN 300 328 – Data transmission equipment operating in the 2,4 GHz  
    band

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

#### M-Bus max. transmission distance  


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


### 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.

### Variants

#### **G20** - M-Bus to Modbus Gateway (1x RS232/RS485)

<div drawio-diagram="1646"><img src="https://doc.redisage.com/uploads/images/drawio/2026-02/drawing-29-1770995944.png" alt=""/></div>

#### **G30** - M-Bus to Modbus Gateway (1x RS232/RS485) + Wi-Fi**®**

<div drawio-diagram="1647"><img src="https://doc.redisage.com/uploads/images/drawio/2026-02/drawing-29-1770996031.png" alt=""/></div>

<p class="callout danger">In the G20 and G30 gateways, 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 RS232 &amp; RS485 at the same time!</p>



### LED indicators

<table border="1" id="bkmrk-g20-g30" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><thead><tr><td class="align-center">**G20**</td><td class="align-center">**G30**</td></tr></thead><tbody><tr><td class="align-center">[![image.png](https://doc.redisage.com/uploads/images/gallery/2025-09/scaled-1680-/mAqimage.png)](https://doc.redisage.com/uploads/images/gallery/2025-09/mAqimage.png)

</td><td class="align-center">[![image.png](https://doc.redisage.com/uploads/images/gallery/2025-09/scaled-1680-/2p7image.png)](https://doc.redisage.com/uploads/images/gallery/2025-09/2p7image.png)

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

M-Bus to Modbus gateways G20 &amp; G30 have 6 LED indicators:

- RX LED - Receiving data
- TX LED - Transceiving data
- PW LED - Power (M-Bus Converter)
- PW LED Blue - Power (Gateway)
- ETH LED Green - Network activity
- ST LED Orange - USB-UART Serial console mode

### Pin assignments

<table border="1" id="bkmrk-g20-g30-1" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50.0596%;"></col><col style="width: 50.0596%;"></col></colgroup><thead><tr><td class="align-center">**G20**</td><td class="align-center">**G30**</td></tr></thead><tbody><tr><td>[![image.png](https://doc.redisage.com/uploads/images/gallery/2025-09/scaled-1680-/image.png)](https://doc.redisage.com/uploads/images/gallery/2025-09/image.png)

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

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

### Additional notes  


Wi-Fi® is a registered trademark of Wi-Fi Alliance®.

<table border="1" id="bkmrk-related-information-"><colgroup><col></col><col></col><col></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/)

**DISCLAIMER 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



# Hardware

## Modbus TCP/RTU Gateways (G20, G30)


//to edit

#### G20 - M-Bus to Modbus Gateway (1x RS232/RS485)

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

#### G30 - M-Bus to Modbus Gateway (1x RS232/RS485) + Wi-Fi

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

  
to niżej tutaj jest tylko tymczasowo

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

# New Page



# New Page



# Configuration by the Web Page

## Modbus TCP/RTU M-bus Gateways (G20, G30)

This page presents capabilities of the Converters configuration. First, make sure that the converter is connected to the power supply and to the LAN using a patchcord or wireless via Wi-Fi. 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 the 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/2026-02/scaled-1680-/3ulimage.png)](https://doc.redisage.com/uploads/images/gallery/2026-02/3ulimage.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.

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

#### Changing username or password  


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

[![image.png](https://doc.redisage.com/uploads/images/gallery/2025-08/scaled-1680-/MOaimage.png)](https://doc.redisage.com/uploads/images/gallery/2025-08/MOaimage.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/2026-02/scaled-1680-/KN5image.png)](https://doc.redisage.com/uploads/images/gallery/2026-02/KN5image.png)

<table border="1" id="bkmrk-item-description-int" style="width: 100%; height: 212.375px;"><thead><tr style="height: 29.7969px;"><td aria-sort="Brak" class="ak-renderer-tableHeader-sortable-column__wrapper align-center" colspan="2" data-colwidth="118,109" style="width: 21.6925%; height: 29.7969px;">**Item**

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

</td></tr></thead><tbody><tr style="height: 46.5938px;"><td colspan="2" data-colwidth="118,109" style="width: 21.6925%; height: 46.5938px;">MBUS Request Update Period

</td><td data-colwidth="661" style="width: 78.3075%; height: 46.5938px;">Choose M-BUS Request Update period.

</td></tr><tr style="height: 46.5938px;"><td colspan="2" style="width: 21.6925%; height: 46.5938px;">MODBUS TCP Idle Time

</td><td style="width: 78.3075%; height: 46.5938px;">Choose Modbus TCP Idle Time.

</td></tr><tr style="height: 29.7969px;"><td rowspan="2" style="height: 29.7969px; width: 10.8462%;">Mode

</td><td style="width: 10.8462%;">MBUS

</td><td style="width: 78.3075%; height: 29.7969px;">Switch device's mode to M-Bus.

</td></tr><tr style="height: 29.7969px;"><td style="width: 10.8462%;">MODBUS

</td><td style="width: 78.3075%; height: 29.7969px;">Switch device's mode to Modbus slave.

</td></tr><tr style="height: 29.7969px;"><td colspan="2" style="height: 29.7969px; width: 21.6925%;">Slaves

</td><td style="width: 78.3075%; height: 29.7969px;">Type slave device address. Multiple addresses can be written in one field, e.g. *9;11;14-17;80*.

</td></tr><tr><td colspan="2" style="width: 21.6925%;">Slaves Response Timeout

</td><td style="width: 78.3075%;">Type slave devices response timeout.

</td></tr><tr><td colspan="2" style="width: 21.6925%;">Baud Rate

</td><td style="width: 78.3075%;">Choose baud rate.

</td></tr><tr><td colspan="2" style="width: 21.6925%;">Parity

</td><td style="width: 78.3075%;">Type of parity.

</td></tr><tr><td colspan="2" style="width: 21.6925%;">Stop Bits

</td><td style="width: 78.3075%;">Number of stop bits.

</td></tr><tr><td colspan="2" style="width: 21.6925%;">Termination

</td><td style="width: 78.3075%;">Enable RS termination.

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

<p class="callout warning">Make sure to save all the changes with “Save and Apply” button located on the bottom of the page.</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-08/scaled-1680-/ba7image.png)](https://doc.redisage.com/uploads/images/gallery/2025-08/ba7image.png)

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

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

<table border="1" id="bkmrk-item-description-hos"><colgroup><col></col><col></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>Wi-Fi (**G30 only**)

</td><td>Scan and choose your network. Click on chosen and type password.

</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>

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 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/2026-02/scaled-1680-/XMNimage.png)](https://doc.redisage.com/uploads/images/gallery/2026-02/XMNimage.png)

<table border="1" id="bkmrk-item-description-fir"><colgroup><col></col><col></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>

#### 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-08/scaled-1680-/jn3image.png)](https://doc.redisage.com/uploads/images/gallery/2025-08/jn3image.png)

<p class="callout info">Use the **modbus-mbus-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**).

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

# Configuration by the Telnet Console

## Modbus TCP/RTU M-Bus Gateways (G20, G30)

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:

<div id="bkmrk-telnet-%3Cip_address%3E-"><div class="cm-editor ͼ1 ͼ2 ͼ4 ͼ1p"><div class="cm-scroller" tabindex="-1"><div aria-hidden="true" class="cm-layer cm-selectionLayer">telnet &lt;ip_address&gt; &lt;port_number&gt;</div></div></div></div>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.

[![image.png](https://doc.redisage.com/uploads/images/gallery/2025-08/scaled-1680-/9oYimage.png)](https://doc.redisage.com/uploads/images/gallery/2025-08/9oYimage.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>

### List of all commands

<table border="1" id="bkmrk-command-description-"><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>wifi\_mac

</td><td>Print or change Wi-Fi 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

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

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

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

</td></tr><tr><td>defaults

</td><td>Reset application variables to defaults

</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">mbus

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

</td></tr><tr><td>wificonf

</td><td>Wi-Fi interface configuration

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

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

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

##### Modbus ports configuration commands

- **modbus**
    - **modbus help**  
        Print command help.
    - **modbus tcp\_port PORT\_NUMBER**  
         Set modbus port to PORT\_NUMBER. A PORT\_NUMBER value must be in range:  
         1-65535  
         Example: modbus tcp\_port 502
    - **modbus tcp\_port PORT\_NUMBER**  
         Set modbus port to PORT\_NUMBER. A PORT\_NUMBER value must be in range:  
         1-65535  
         Example: modbus tcp\_port 502
    - **modbus idle\_time TIME**  
         Set the timeout when waiting for the client's data \[in miliseconds\].  
         A TIME value must be in range:  
         0-4294967295  
         Example: modbus idle\_time 50000
    - **modbus status**  
         Print current modbus tcp\_port as well as idle\_time.  
         Example: modbus status  
         A current tcp port is 502.  
         A current idle time is 50000 \[ms\].


##### M-Bus ports configuration commands

- **mbus {com\_number} {subcommand} \[arguments\]**  
     Print or change mbus\_ports configuration  
     *com\_number* - COM port number, as labeled in device's manual, to which mbus applies. This field is ignored for the subcommands 'period', 'availability' and 'help'  
     *subcommand* - subcommand to execute  
     *arguments* - subcommand parameters  
      
    
    - **mbus help**  Print current modbus tcp\_port as well as idle\_time
    - **mbus mode \[MBUS/MODBUS/DISABLED\]**  
         Sets port mode.  
         MBUS - Operates as an M-Bus master polling slave devices.  
         MODBUS - Acts as a Modbus slave, providing access to MBUS register data.
    - **mbus add\_slaves \[SLAVE\_ADDR ;/- SLAVE\_ADDR, \*\]\[\]**  
         Sets 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: mbus 1 add\_slaves 124  
         Example: mbus 1 add\_slaves 12-124  
         Example: mbus 1 add\_slaves 12;14;18  
         Example: mbus 1 add\_slaves 12;14-17;150-200  
         Example: mbus 1 add\_slaves 12;14-17;150-200, \*
    - **mbus availability**  
         Lists the actually reachable slaves  
         Example: mbus available
    - **mbus show\_slaves**  
         Show addresses of slaves connected to com\_port  
         Example: mbus 1 show\_slaves
    - **mbus baud \[RATE\]**  
         Sets the baudrate to RATE. For a list of acceptable baudrates please  
         refer to manual.  
         Example: mbus 1 baud 9600
    - **mbus bits \[PS\]**  
         Sets parity to P and stop bits to S. Valid values are:  
         P: N, E or O  
         S: 1 or 2  
         Example: mbus 1 bits N1  
         Example: mbus 2 bits O2
    - **mbus data**  
         Show data at desired address. 'com\_number' is an address of MBUS slave  
         Example: mbus 4 data
    - **mbus period TIME**  
         Sets the period of readouts from the slaves to TIME \[in seconds\].  
         A TIME value must be in range:  
         1-4294967295  
         Example: mbus period 30
    - **mbus resp\_to TIME**  
         Sets the response timeout to TIME \[in miliseconds\].  
         A TIME value must be in range:  
         0-65535  
         Example: mbus 1 resp\_to 30
    - **mbus termination \[on/off\]**  
         Enable or disable termination on RS485 port  
         Example: mbus 1 termination on

If a subcommand which normally sets a value is not given an argument, it will print the current value.  
Example:  
 #&gt;mbus 2 baud  
 Set baudrate is 9600

##### 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 dns&lt;num&gt; ADDRESS**  
         Set DNS to ADDRESS, disable getting DNS from DHCP if enabled.  
          
         Example:  
         ipconfig dns1 192.168.100.1
    - **ipconfig default\_netif \[NETIF\_NAME\]**  
         Sets interface as a default. If interface name is not given,  
         displays current default interface.  
         Example: default\_netif e02

- **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

##### 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.

### 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

## Modbus TCP/RTU Gateways (G20, G30)

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

##### Procedure to enter serial console mode

- Turn off the power of the device.
- Connect Ethernet converter to the dedicated USB/UART converter via the microUSB port (for example our [C38 converter](https://doc.redisage.com/books/usb-rs232-rs485-converters/page/usb-ftdi-converters-data-sheet)).
- Connect the USB/UART converter to the PC.
- Open the serial console (default baud rate is 115200 bps).
- Short the FG and GND ports.
- Turn on the power.
- Wait until the ST indicator (orange LED) lights up (it should light up after red light - service mode).
- Open the the FG and GND ports.
- Login using user’s personal credentials or default login details.
- If the process is successful, configuration command can be typed into the terminal.

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

### List of all commands

<table border="1" id="bkmrk-command-description-"><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>wifi\_mac

</td><td>Print or change Wi-Fi 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

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

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

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

</td></tr><tr><td>defaults

</td><td>Reset application variables to defaults

</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">mbus

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

</td></tr><tr><td>wificonf

</td><td>Wi-Fi interface configuration

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

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

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

##### Modbus ports configuration commands

- **modbus**
    - **modbus help**  
        Print command help.
    - **modbus tcp\_port PORT\_NUMBER**  
         Set modbus port to PORT\_NUMBER. A PORT\_NUMBER value must be in range:  
         1-65535  
         Example: modbus tcp\_port 502
    - **modbus tcp\_port PORT\_NUMBER**  
         Set modbus port to PORT\_NUMBER. A PORT\_NUMBER value must be in range:  
         1-65535  
         Example: modbus tcp\_port 502
    - **modbus idle\_time TIME**  
         Set the timeout when waiting for the client's data \[in miliseconds\].  
         A TIME value must be in range:  
         0-4294967295  
         Example: modbus idle\_time 50000
    - **modbus status**  
         Print current modbus tcp\_port as well as idle\_time.  
         Example: modbus status  
         A current tcp port is 502.  
         A current idle time is 50000 \[ms\].


##### M-Bus ports configuration commands

- **mbus {com\_number} {subcommand} \[arguments\]**  
     Print or change mbus\_ports configuration  
     *com\_number* - COM port number, as labeled in device's manual, to which mbus applies. This field is ignored for the subcommands 'period', 'availability' and 'help'  
     *subcommand* - subcommand to execute  
     *arguments* - subcommand parameters  
      
    
    - **mbus help**  Print current modbus tcp\_port as well as idle\_time
    - **mbus mode \[MBUS/MODBUS/DISABLED\]**  
         Sets port mode.  
         MBUS - Operates as an M-Bus master polling slave devices.  
         MODBUS - Acts as a Modbus slave, providing access to MBUS register data.
    - **mbus add\_slaves \[SLAVE\_ADDR ;/- SLAVE\_ADDR, \*\]\[\]**  
         Sets 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: mbus 1 add\_slaves 124  
         Example: mbus 1 add\_slaves 12-124  
         Example: mbus 1 add\_slaves 12;14;18  
         Example: mbus 1 add\_slaves 12;14-17;150-200  
         Example: mbus 1 add\_slaves 12;14-17;150-200, \*
    - **mbus availability**  
         Lists the actually reachable slaves  
         Example: mbus available
    - **mbus show\_slaves**  
         Show addresses of slaves connected to com\_port  
         Example: mbus 1 show\_slaves
    - **mbus baud \[RATE\]**  
         Sets the baudrate to RATE. For a list of acceptable baudrates please  
         refer to manual.  
         Example: mbus 1 baud 9600
    - **mbus bits \[PS\]**  
         Sets parity to P and stop bits to S. Valid values are:  
         P: N, E or O  
         S: 1 or 2  
         Example: mbus 1 bits N1  
         Example: mbus 2 bits O2
    - **mbus data**  
         Show data at desired address. 'com\_number' is an address of MBUS slave  
         Example: mbus 4 data
    - **mbus period TIME**  
         Sets the period of readouts from the slaves to TIME \[in seconds\].  
         A TIME value must be in range:  
         1-4294967295  
         Example: mbus period 30
    - **mbus resp\_to TIME**  
         Sets the response timeout to TIME \[in miliseconds\].  
         A TIME value must be in range:  
         0-65535  
         Example: mbus 1 resp\_to 30
    - **mbus termination \[on/off\]**  
         Enable or disable termination on RS485 port  
         Example: mbus 1 termination on

If a subcommand which normally sets a value is not given an argument, it will print the current value.  
Example:  
 #&gt;mbus 2 baud  
 Set baudrate is 9600

##### 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 dns&lt;num&gt; ADDRESS**  
         Set DNS to ADDRESS, disable getting DNS from DHCP if enabled.  
          
         Example:  
         ipconfig dns1 192.168.100.1
    - **ipconfig default\_netif \[NETIF\_NAME\]**  
         Sets interface as a default. If interface name is not given,  
         displays current default interface.  
         Example: default\_netif e02

- **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

##### 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.

### 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").

### Service mode

Entering the service mode is almost the same as entering the serial console. One different is to open FG and GND ports earlier (when the red LED is still blinking).

Available commands in the service mode:

<table border="1" id="bkmrk-command-description--1"><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">credits

</td><td data-colwidth="340">Print current credits value for this device.

</td></tr><tr><td data-colwidth="340">dev\_ident

</td><td data-colwidth="340">Print the device identificator value.

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

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

</td></tr><tr><td>serial\_num

</td><td>Print the serial number of this device.

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

</td><td data-colwidth="340">Display the bootloader version.

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

</td><td data-colwidth="340">Download image to the internal Flash using xmodem.

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

</td><td data-colwidth="340">Reset application variables to defaults.

</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">flash\_read

</td><td data-colwidth="340">Read bytes from flash memory.

</td></tr><tr><td>md

</td><td>Read bytes from memory address.

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

# 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)