How to Test the Connection to Your SMA Inverter
You have created your own application for querying SMA inverters via SMA Modbus or SunSpec Modbus. Unfortunately, something does not seem to be working properly and the inverter is not responding as expected.
A Modbus simulator enables you to test the connection to your SMA inverter. Using this tool, you can query the value of a register from your SMA inverter—and if you receive a response, this means that you can rule out the IT environment, for example, as a potential source of the problem.
You can obtain the freeware from the following website:
Important: The simulator is not SMA software and we cannot perform any service activities for it.
SMA requirements:
- Inverter with Speedwire (Ethernet) interface
- Inverter with Modbus interface
Quick Reference Guide:
1. Set the network address
First, you have to find your inverter’s network IP address. This is the same address where you access the inverter in a web browser or in Sunny Explorer.
Open the tool and choose Connection/Settings or click the icon in the toolbar.
Enter the IP address of the inverter that you want to query.
2. Connect to the inverter
Once you have entered the IP address, connect to the inverter by clicking “Connect.”
3. Create a new file
Once the connection is active, create a new query window.
4. Enter the parameters
Now enter the following parameters:
- “Device ID”: 3 (for querying via … 3 – SMA Modbus, 126- SunSpec Modbus)
- “Address” (register to be queried; here 30051)
- Select “Holding registers” (read and write)
Once you have queried the value of the register, you will receive a response like the one shown above in the sample screenshot.
Register: 30051 (query of device class)
Response: 8001 (output value = Solar inverters)
I hope that this quick reference guide is helpful for you.
I have an SB3600TL-21 converter, on wchih I have modbus activated on port 502. When I setup a connection to the converter on that port, the connection is accepted. But queries are not responded.
(Connecting to 503 results in timeout, just a test).
Connecting and communitating to newer converters just works, only this converter doesn’t repond at all. SW version is 2.81.01.R.
Can I update the firmware? Or can I do something else to reset the problem?
Hello Eilok,
Please get back to our SMA Service for further technical support as we need more details to support you here.
Thank you!
Sunny regards
Christiane
Hallo,
my attempts to read the Modbus register of my new Tripower X 15 failed in some cases. Esp. I want to read the power values of the 3 different strings (Measurement.DcMs.Watt: 30961,30967,30973,31213,31219) you mentioned in the official Modbus sheet https://files.sma.de/downloads/PARAMETER-STPxx-50_V01.zip . The values are all the same and showing the sum value like 30775.
What can I do?
Regards,
Ralf
Hello Ralf,
Please contact our SMA Service for further support as we need more details in that case.
Thank you!
Sunny regards
Christiane
Hello Ralf,
did you get a response from support that solved your problem?
If yes, can you give a short explaination of how you got the correct information?
I’m currently stuck with the same problem of identical values in each register…
Regards,
Andy
Hello Andy,
As you are already in contact with our SMA Service, we kindly ask you to wait for a feedback from our Service colleagues.
Thanks for your understanding.
Sunny regards
Christiane
Hello, does the Sunny Tripower 17000TL-10 inverter support the Modbus RTU protocol via the RS485 interface?
Hello Simone,
Please check our Website for further information (“Background knowledge).
Either download the current ZIP file then and follow the link to the “Device Type Enum. Alternatively, please go directly to the list.
In case you need further help, please contact us again!
Sunny regards
Christiane
Hi could you please show me command and response format with the help of example for STP 25000TL-30 inverter using RS485.
Hello Sunil,
Please get back to our SMA Service for further support.
Sunny regards
Christiane
Hello SMA,
I bought an inverter Sunny Boy 5000TL Multi-String and it supports only 7.5 Amp as Input per each string. If the current exceeds 7.5 Amp on a string the inverter will be burned or has protection to avoid this?
Thanks
Hello Daniel,
of course security mechanisms are built into our products. However, these should not be exhausted and the system should be planned accordingly. It is best to contact our colleagues at the Online Service Center or your installer, who will be happy to help you with any questions you may have. If you have the expertise yourself, you can also use our Sunny Design.
Sunny regards!
Dear SMA,
I’m using modbus to readout my Tripower converter.
Modbus address 30953 returns the Temperature.
As I know that after 40C ambient temp, de converter will start derating, I’d like to know what temperature is being measured and reported on this address. Would it be ambient temp or eq. the temp of the internal CPU or memory (or alike).
Thanks,
Bart
Hello Bart,
Please get back to our technical SMA Service for further advice, thank you.
We need more details to support you here.
Sunny regards
Christiane
Dear,
I have an SMA SB3300 with a RS485 piggyback module that communicates to a SolarLog 100e.
Since the SolarLog has become obsolete I want to directly interface with the piggyback module over RS485 (ModBus).
Could you share what are the settings in terms of SMA ID, baudrate, databits, stopbits and parity?
I already contacted my local installer but he could not help me and suggested to contact SMA support for this specific topic.
Thank you in advance
Hello Jan R,
Please contact our SMA Service for further technical support, thank you.
Sunny regards
Christiane
Hi,
We have two sunny boy 6.0-1AV-41 inverters and enables modbus with ID=3. We are able to connect to the inverter using modbus on ID=3, but we would like to use sunspec protocol.
Our question is:
To be able to use sunspec, do we have to set the inverters ID to 126? Or is the sunspec always accessable on ID 126 (regardless of the modbus ID)?
Best regards,
Hello Tjarco,
Please contact our SMA Service using our SMA Online Service Center for further support.
We need some more details here.
Sunny regards
Christiane
Hi,
Does the STP 6000TL-20 support Modbus RTU?
It has an RS485 data module.
If it doesn’t support it, which gateway can be added in order to support Modbus RTU?
Hello Wim
You will find more information regarding Modus in our download area on our website (Download – Background Knowledge).
Best regards
Christiane
” Parameter modification using python”
Hi
I want to use python on my PC to configure parameters of the SMA sunny boy inverter as a server-client. Have any documents regarding this or how can I do this?
Hello Rabi,
Please contact the SMA Service for further support or get back to SMA via our SMA Online Service Center.
Best regards
Christiane
Hi
I have stp25000tl com rs485 but i cant find the unit id via webbox…. How to find stp unit id
Thx
Hello Gema,
please contact directly the SMA Service Team or our SMA Online Service Center with further technical details on your request.
Best regards
Christiane
hi,
i connected 50 unit of SMA SMC11000TL with 1 webbox n try to communicate via Modbus, i tried communicate using modbus master simulator its connected but the not read address register for inverter. can i know what is the problem?
thanks
Hi,
Please use our online service center for help.
Sunny regards,
Carolyn
Hello,
I’m trying to connect via modbus to my STP 9000TL-20, I enabled modbus TCP/UDP and webconnect using SW that you suggested, but no answer from inverter… and timeout message is the only answer, have you got suggestions?
Hi Gabrio,
Please contact your installer or use our Online Service Center for help.
Sunny regards,
Carolyn
Hello, I am currently installing the HighPowerPeak 3 inverters, these investors supposedly communicate via Modbus TCP, but I have encountered the same problems of some colleagues, through the ModScan or Kepserver through a Modbus TCP client, the records give me the data of 65535 or -1, can you know why this happens to me? Thank you
sad
Hola
Tengo comunicando por modbus un SB5.0 y un Island 4.4, accedo sin problemas a los registros con Id=3
el problema es que quiero acceder a los registros de la planta para ver:
potencia inyectada, potencia generada, potencia consumida de la red…
Pero estos registros parece que se utiliza con ID=1, pero no consigo conectar ni con sb5.0, ni tampoco con island.
Pueden indicarme como acceder a estos parámetros de planta ??
el Home manager no tiene IP propia para acceder estos parámetros ??
Does the SunnyBoy 7000TL-US have a 485 interface? Is it an extra item?
Thanks .. Joe.
Hello, we have the sunny island 3.0M/4.4M/6.0H/8.0H offgrid inverter with the SICOMM SMA NR, RS485 module, and would like to know the following modbus profile:
Baud Rate:
Data bits:
Stop bits:
Parity:
Flow control:
Hi Caroline,
Please contact your installer, he knows your system the best.
Sunny regards,
Carolyn
Hello,
I have a Sunny Island 8.0H and I am able to communicate with it via modbus and read the values correctly.
However, I am unable to write in any address that is RW or WO. When I try to write in an address, the value doesn’t change even for addresses that don’t require the the user sends the grid code before.
What steps should I take to be able to write in addresses?
Thanking you in advance,
Fernanda
Hi Fernanda,
Please get in contact with my service colleagues here.
Sunny regards,
Carolyn
Hello,
We have a Sunny boy SB3.0-1AV-41 with firmware 3.0.7.
We want to communicatie using the sunspec modbus interface.
We can communicate using the simulator using id=3 and register 30051 (response is 8001)
But we are not able to read sunspec modbus registers (id = 126), none of the registers is having a value that corresponds with the expectations. Mostly FFFF. Also reducing the adress with 1 (sma sunspec modbus documentation) does not work.
First question is : Is the SB3.0-1AV-41 capable of communication using SunSpec modbus?
Secund question would be: What can we do to make it work for us?
Thanks in advance for your answer,
kind regards
Sjaak
Hello Sjaak,
Please sign in on our Online Service Center for further help.
Sunny regards,
Carolyn
Did that, but no answer.
If you already have a ticket number, please send it to SocialMedia@sma.de.
Sunny regrads,
Carolyn
My email got bounced
AM5EUR02FT020.mail.protection.outlook.com :
Recipient address rejected: Access denied.
It is beacuse I made a typo, I’m sorry: SocialMedia@SMA.de is the right one.
Sunny regards,
Carolyn
Hola,
¿Debería funcionar con este modelo?
SB 5000TL-21 536
Firmware: 02.81.01.R
Versión de comunicación: 1.1.9.11
Acabo de probar con el simulador con los parámetros dados en este artículo y obtengo 65565 como valor para todas las direcciones (sin ningún error de lectura o escritura).
A través de Sunny Explorer, el modbus está activado (TCP / 502 + UDP / 502) y el Id. De la unidad está bien configurado en 3.
Sobre esta consulta me ocurre el mismo problema, en un inversor STP 20000TL-US-10, SU AYUDA PARA SABER PORQUE PASA ESTO….AMBOS RESULTADOS ESTAN PRESE TES EN MODBUS MASTER, MODBUS SCAN, Y SW SCADA
Hi Arturo,
Can you please explain me what you are planning to do?
Sunny regards,
Carolyn
Queremos hacer la integración de un inversor STP 20000TL-US-10 a un sistema BMS, tenemos comunicación, pero al momento de consultar por algún registro específico no da como resultado 65535, ó -1.000000, ó un número 42#####.####, queremos saber cuál puede ser el problema
Please sign in on our Online Service Center.
Hello,
I have Sunny Island SI 3.0 with included SWDMSI-NR10 for communication, It still use SRC for setting the parameter, but we can’t access the SI to turn on MODBUS enable, so our controller still cant read the SI.
Hello,,
I have SMA Sunny Island SI8.0h-12 but I have some problem with modbus configuration. I can’t do “modbus command” to create set point power active and reactive nevertheless it is OK just for reading meter data by using modbus. Do you know how to configure modbus communication? Do you have experience with set point Power active using Modbus ?
Hi Kemas,
Thanks for your request. I´ll send you an email with the relevant information. Just check you inbox and let me know if it works.
Kind regards,
Anke
Hi,
as answered for the 12000TL, does the 10000TL have a modbus sunspec compliant interface without any data logger like cluster controller?
Hi Gachoud,
All inverters of type STP 10000 have a modbus sunspec interface. To use sunspec modbus, the inverters have to be equipped with the Speedwire data module. Please also bear in mind that the minimum firmware versions have to be installed on the devices (please refer to the technical information SunSpec Modbus Interface document to see which firmware versions are supported and their corresponding device-specific Modbus registers).
All documents can be downloaded at http://www.SMA.de in the download area. If you are not able to find your type directly on the download section, please check the menu archive that is also found in the download area of our website.
I hope this is helpful for you.
Kind regards, Anke
Hello,
I’ve tried to make a modbus communication with my Sunny Boy SB2.5-1VL-40 (FW 2.5.1.R) , I successfuly get it work when using Device ID 3 (SMA Modbus).
But I didn’t succeed to use the Device ID 126 (SunSpec Modbus). Is it normal?
Regards
Hello Billy,
To read or to write Modbus registers in each case use register numbers reduced by the offset of 1. Example:
Modbus register address = Modbus register number in SunSpec Modbus profile – offset
40001 – 1 = 40000.
Please find further information concerning Modbus® and SunSpec®Modbus®.
Kind regards,
Anke
Hello,
thanks for the response.
Unfortunately, I didn’t succeed to use Mobus Doctor with Device ID 126 as I get a timeout when requesting data (address 40001 for example) . It only works with Device ID 3 (address 30051 for ex).
On other side, I succeed to ran pySunSpec suns.py with Device ID 126 and the returned data are relevant. But I do not know which address this software is requesting. Seems there are still some things I do not understand 🙁
By the model of inverter we have is the spr-7000m which i assume is the same with the sb7000us
Hello Anke Baars, what are the options to have our SCADA (Wonderware) communicate with the SB7000US?
Hello, we have the sunny boy 7000-us inverter with the RS485 piggy back module, may i know what are the following modbus profile:
Baud Rate:
Data bits:
Stop bits:
Parity:
Flow control:
Hi Brillian,
I´m sorry, but Sunny Boy 7000-US has no Modbus interface. The RS485 module is for communication with a datalogger, e.g. WebBox. The inverter is not in our portfolio anymore.
There are also different old and new types of SB 7000 US:
– SB 7000 TL-US-22: has no Modbus interface, the RS485 module is for communication with a datalogger, e.g. WebBox. Inverter is also not in our portfolio anymore.
– SB 7.0-1XP-US-40: has a Modbus/TCP interface via the Webconnect module, Modbus/RTU via RS485 is not implemented. The RS485 interface is for the SMA Revenue Grade Meter Kit.
Either the old inverter have no Modbus overall, or the new inverter has Modbus/TCP.
I hope, this is helpful for you.
Kind regards, Anke
Hi,
I have the same question. We have the SMA SB 1300 TL-10 and would like to monitor inverter parameters with the RS485 interface. My question is, if that is possible by connecting the interface to a 3rd party gateway that supports RS485. You mention the RS485 is used to communicate with the datalogger, e.g. WebBox. Is this the only logger which can do this?
Best regards, Filip
Hello Filip,
Please contact the SMA Service for further support, thanks.
Sunny regards
Christiane
Hallo Eduard de Jong,
Wij hebben hetzelfde probleem!. Hebben jullie al een oplossing aangedragen gekregen, zoja mogen wij dit ook weten?.
Alvast bedankt.
We have 3 sunny tripower invertors. What material is needed to get them connected to a scada systemen and communicate with Modbus TCP.
Do we need a cluster controller or can we connect directly. Is there any detailed information how to get connected (a system topology)?
Hi Eduard,
we need to know which device designation and which firmware your inverters have?
best greetings
Nick
Hi Nick,
We hebben met de Sunny Explorer de Modbus op ENABLE gezet. We krijgen echter steeds xFFFF terug als antwoord. Het modbus ID hebben we op 1,2,3,126 gezet maar niks veranderd het antwoord. Onze units zijn 2110337101, 2110337640 en 2110383319.
The firmware is 02.65.02.R for all invertors
Do you have any thoughts for me?
We installed an Inverter Manager and a Janitza meter for the zero export function.
We already configured the details on the “Limited Export” tab of the LCS tool.
Is there other configurations that we need to do to assure that there will be a zero export?
We got advised that we need to access Sunspec Modbus and set register 19026 to zero,
Hello,
I have the Sunny Boy 3600 Smart Energy and I’m using Modbus to charge/discharge the battery.
When I send the 6 commands for grid management per second, the battery charges/discharges but after 10 seconds the Sunny Home Manager takes over for a short time.
I changed the time between the commands but that doesn’t help.
Can someone help me please?
Best Regards,
Jeroen
Hello Jeroen,
Please contact you installer. He knows your system and the local conditions the best. In case he is not able to help you, feel free to sign in on our Service-Line.
Sunny regards,
Carolyn
Hello Carolyn ,
We have installed SMA Sunny Tripower Solar Inverter Model No : STP25000TL-30 , Serial No : 1901252689.
Connected the Internet cable on Lan Port A , But Inverter is unable to get IP address and other Information due to this we are unable to view online data, If we remove the cable and connect to Laptop we are able to browse the internet , kindly let us if any setting or configuration need s to activated or deactivated. Router is on DHCP . Could you guide us what is the problem
Hello, I have the STP 1000TL10 inverter, with software 02.55.00.N and Speedwire/webconnect module. I am trying to read Modbus TCP data, but all I got is data showing 4294967295 results. I doubt that the software version is correct because I read that it must be, at least, version 2.65.02.R. Where can I find the upgrading firmware software? I took a look on SMA webpage, but unfortunatly I did not find the correct one for my inverter type.
Best regards!
Rajko
Dear Rajko,
Since the inverter has been discontinued already, the firmware updates are available at http://www.SMA.de in the download section “Archive”.
Please read the update instructions carefully in order to install the update.
Kind regards
Rhea
What will you say about this software https://www.eltima.com/modbus-tester-software.html ?
As I can understand, it will recognize the RTU data going through the serial port, but won’t sniff Modbus TCP.
Hello,
Should it work with this model?
SB 5000TL-21 536
Firmware: 02.81.01.R
Communication version: 1.1.9.11
I have just tested with the simulator with the parameters given in this article and I get 65565 as value for all addresses (without any error read or write).
Via Sunny Explorer, modbus is activated (TCP/502+UDP/502) and Unit Id is well set on 3.
Thanks in advance for your answer.
Regards,
Vincent
Hello, I am currently installing the HighPowerPeak 3 inverters, these investors supposedly communicate via Modbus, but I have encountered the same problems of some colleagues, through the ModScan or Kepserver through a Modbus TCP client, the records give me the data of 65535 or -1, can you know why this happens to me? Thank you
Thanks for the discussion on testing the connection to a SMA inverter, it was really helpful to me.
Hello,
I’m trying to write to the registers of the Sunspec Profile (unit id 126) of my Sunny Island 3.0M-11 (with SpeedWirte module). In particular I’m writing a ‘1’ to register 40375 to which I’m supposed to have read/write access. This should change the mode of the battery management system to ‘Battery discharge’. I’m getting no Modbus-exception when I do a ‘Write Multiple Registers’ (Modbus function 16)- but reading that register again shows me no change- it still holds a ‘0’.
Do I have to login as some super user first, to be able to write to registers of the SunSpec profile?
Is there any other possibility to manually discharge the battery over Modbus TCP?
Best regards,
Willy
Hello Willy,
please contact my services colleagues directly at sunnyisland.service@SMA.de, they need further information.
Kind regards, Lucas
Hi, I have an STP-12000TL-20. Does it have a SMA Modbus / SunSpec ModBus Data Interface? Is it different from STP-12000TL-US?
Sunny portal iOS app crashes when I try to open it. I tried reinstalling, but that didn’t help. Any ideas?
Thanks, Janet.
Hi Janet,
Could you please tell us, which version of the Sunny Portal App do you use?
Best regards,
Julia
I have a STP-12000TL-20 and I am trying to communicate with a 485 Interface Data Module Type B, and this method is not working for me.
There´s something I am doing wrong?
If so, where can I find instructions to get data through RS485 to my SCADA system?
Hello Max,
We regret to tell you that it isn`t possible to have access to the inverter from type STP-12000TL-20 without a data logger/gateway,
such as the SMA Sunny Webbox or the SMA Cluster Controller. Therefore, data query through RS485 only through your SCADA system won´t work.
Kind regards,
Julia
Can I use a data logger/gateway of any brand to get this data query? (i.e. Novus FieldLogger)
Hi Max,
We would like to suggest that you contact directly the manufacturer of your choice.
Please kindly understand that we have not tested all available gateway units.
Therefore, we can not guarantee the functionality of the data logger you have mentioned in your previous message.
To learn more about the Modbus protocol interface, please follow the link.
Kind regards,
Julia
Hoe krijg ik sunny explorer op mijn tablet
We regret to tell you that Sunny Explorer is designed for Microsoft Windows OS only. The software won´t be able to run on a tablet device.
Regards,
Leonie