This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

SolarEdge inverter
#1
Hi,

I have a SolarEdge inverter which supports Modbus.

The Modbus data can be found here: https://www.solaredge.com/sites/default/...l-note.pdf



Before starting to assemble a profile for this, I wanted to check if I could connect to the device and do a simple operation.

I use a script that admin provided in another thread:




Code:
require('luamodbus')

mb = luamodbus.tcp()
mb:open('192.168.0.45', 1502)
res, err = mb:connect()

if res then
  log("connected!")
   mb:setslave()
  r1,r2 = mb:readregisters(40082)
  log(r1,r2)
else
  log('connect failed', err)
end

mb:close()



This is the result I get:





Code:
testing 11.02.2020 14:31:01
* arg: 1
  * nil
* arg: 2
  * string: Operation timed out
testing 11.02.2020 14:31:01
* string: connected!


I took some random address from the manual but no matter what addres I use, I get the same result.

I tried with both 40082 and 82 and also other combinations.

I also tried the script without the mb.setslave() statement; same resul

I can telnet to the device and it opens a connection but I have no idea what I could enter next to get some sort of response.

Am I overlooking something here?
Reply


Messages In This Thread
SolarEdge inverter - by baggins - 11.02.2020, 13:51
RE: SolarEdge inverter - by Daniel - 11.02.2020, 13:59
RE: SolarEdge inverter - by baggins - 11.02.2020, 14:24
RE: SolarEdge inverter - by admin - 11.02.2020, 14:58
RE: SolarEdge inverter - by baggins - 11.02.2020, 15:38
RE: SolarEdge inverter - by Daniel - 11.02.2020, 15:47
RE: SolarEdge inverter - by baggins - 12.02.2020, 12:55
RE: SolarEdge inverter - by Daniel - 12.02.2020, 13:02
RE: SolarEdge inverter - by baggins - 12.02.2020, 13:53
RE: SolarEdge inverter - by Daniel - 12.02.2020, 13:58
RE: SolarEdge inverter - by baggins - 12.02.2020, 14:25
RE: SolarEdge inverter - by admin - 12.02.2020, 14:24
RE: SolarEdge inverter - by Daniel - 12.02.2020, 14:28
RE: SolarEdge inverter - by baggins - 12.02.2020, 15:00
RE: SolarEdge inverter - by Daniel - 12.02.2020, 16:22
RE: SolarEdge inverter - by baggins - 12.02.2020, 16:48
RE: SolarEdge inverter - by admin - 12.02.2020, 16:35
RE: SolarEdge inverter - by admin - 12.02.2020, 17:01
RE: SolarEdge inverter - by baggins - 12.02.2020, 17:59
RE: SolarEdge inverter - by baggins - 13.02.2020, 09:04
RE: SolarEdge inverter - by Daniel - 13.02.2020, 09:08
RE: SolarEdge inverter - by baggins - 13.02.2020, 09:33
RE: SolarEdge inverter - by Daniel - 13.02.2020, 09:51
RE: SolarEdge inverter - by baggins - 13.02.2020, 10:04
RE: SolarEdge inverter - by baggins - 13.02.2020, 12:43
RE: SolarEdge inverter - by Joep - 20.04.2020, 14:49
RE: SolarEdge inverter - by baggins - 21.04.2020, 08:14
RE: SolarEdge inverter - by Joep - 21.04.2020, 15:14
RE: SolarEdge inverter - by Daniel - 13.02.2020, 12:46

Forum Jump: