HardwareMonitoringNetworkTutorials

How to restart RS485 Modbus TCP on SolarEdge inverter

Important Notice

This article is intended for SolarEdge inverter installers or people having experience configuring SolarEdge inverters. Do not attempt the steps in this article if you've never worked with "SetApp" before. There's no guarantee on the accuracy of this article and you do this on your own risk.

If you are reading metrics from your SolarEdge inverter using the Modbus connection (usually listening on port tcp/1502 on the inverter), you might sometimes run into problems that Modbus is no longer responding.

As the communication no longer works, no metrics are retrieved and your custom SolarEdge dashboard shows "No data".

Custom SolarEdge dashboard shows no data after communication to Modbus is lost

The reason for the communication loss is unknown, however there is a way to restart the Modbus listener on the inverter. The downside is: The restart needs to be done on-site with the SolarEdge SetApp app.

Connect to the SolarEdge inverter using SetApp

The SolarEdge SetApp app is a mobile app created for the installers of the inverter. In order to use the SetApp you need to login with a SolarEdge account.

Standing physically in front of the inverter, toggle the red power switch to the left "P" side. Make sure to do this quickly and release the switch back to position 1. Do not hold the switch or the inverter will reboot. This will start the internal WiFi of the inverter.

SolarEdge inverter power switch
SolarEdge inverter power switch

Now open the SetApp and scan the QR code, which should be found on a sticker on the right side of the inverter. Your phone should now connect to the WiFi of the inverter. The WiFi name should be "SEDGxxxxxx".

Note: Sometimes it's necessary to do a manual connection using your phone's WiFi settings. The WiFi SSID and password can be found on the sticker close to the QR code.

Restart Modbus TCP in SetApp

With your SetApp connected to the inverter's WiFi, you should be able to see the menu in your app. Tap on the "Site Communication".

SolarEdge SetApp Site Communication Overview

One of the entries is the RS485-1 communication connection, usually used as "Modbus" communication. Tap on "Modbus (Multi-Device)".

SetApp should now show details about the "Modbus TCP port" settings. Modbus TCP should be set to "Enabled" and the default Port is usually set to "1502".

Modbus TCP port settings in SolarEdge SetApp

Tap on the first entry "Modbus TCP". You will see a choice between "Enable" and "Disable". Tap on "Disable". This stops the Modbus service inside the inverter. In the SetApp app the check icon should switch to "Disable" after a few seconds.

Disable Modbus TCP service in SolarEdge inverter

Once disabled, wait a few seconds, then reverse the settings by enabling Modbus TCP again.

Enabling Modbus TCP in SolarEdge SetApp

This basically "restarts" the Modbus TCP service on the inverter.

The Modbus communication to the inverter's IP address and tcp/1502 (or an alternative port if differently configured) should now work again.

Modbus TCP enabled in SolarEdge

The Modbus communication to the inverter's IP address and tcp/1502 (or an alternative port if differently configured) should now work and data can be retrieved again.

Custom SolarEdge dashboard working again
Custom SolarEdge dashboard working again
Claudio Kuenzler
Claudio has been writing way over 1000 articles on his own blog since 2008 already. He is fascinated by technology, especially Open Source Software. As a Senior Systems Engineer he has seen and solved a lot of problems - and writes about them.

You may also like

Leave a reply

Your email address will not be published. Required fields are marked *

More in:Hardware