11-14-2008 07:00 AM
Hi All
I need to communicate with a Sunny Island inverter/charger, The SMA support suggest to use a Sunny web box and a SMA OPC server to connect labview to the inverter.
The Sunny web box is connected to the inverter with RS485 com. The sunny web box allows to share the data on a ethernet net.
So they suggest to use a SMA OPC server to read this data from the web box and link them with a client in Labview.
I would like to use the NI opc server instead of The SMA one, Any suggestion on it?
Any other possibility to connect labview to the web box?
thanks
http://download.sma.de/smaprosa/dateien/5612/SI5048-11-EE3107_Prosa.pdf
http://download.sma.de/smaprosa/dateien/5612/SI5048-11-BE3307.pdf
http://download.sma.de/smaprosa/dateien/7041/OPC-DEN083811.pdf
12-16-2008 06:43 PM - edited 12-16-2008 06:45 PM
If you get the Sunny WebBox you can use UDP to communicate with it. SMA provides an RPC which is available on their web site as a pdf. It seems to require 2 byte chars with the second byte being a null. I wrote a simple subvi to convert the strings. Check this thread I found on SMA's forum:
03-18-2009 12:07 PM
Hi Scott
please can you provide an example of this.
Thanks
05-08-2009 04:14 AM
Dear scottmc,
Please note that the link provided is not working. Couldyou please update it? Also, it would be great if you couldmake the sample available.
Thanks~
05-08-2009 09:46 AM
Seems the sma forum moved. Here's the image I had posted there:
You'll need similar code to convert the incoming strings to something you can read, basically stripping the 0 bytes out.
05-08-2009 10:06 AM
05-08-2009 11:58 AM - edited 05-08-2009 11:59 AM
smercurio_fc wrote:
I don't think you want an uninitialized shift register in that VI.![]()
There is much more wrong with this, look at all the coercion dots. Looks like the diagram constant is probably I32. This thing has measles!
(Not that it changes the result in this particular case, it just uses 4x more memory than needed for temporary data structures. ;))
Here's a better way to do this:
11-29-2011 02:25 PM
scottmc,
I'm also working with Sunny Boy inverters and SMA webbox for monitoring. From what I've read in this forums and in the SMA forums is that I don't need to install the SMA OPC server. If I'm not mistaken what you are saying is that with LabVIEW I can just use that UDP functions to communicate with the inverters through the webbox? So all I would need is to connect my PC to the network of the webbox and then I can monitor the inverters using the SMA protocols and UDP functions?
Thanks,
Jose
12-01-2011 07:06 AM
Hello Scottmc
yep, it is right. You could just communicate with the web box through ethernet network and use the UDP function to read the parameters you require. Download from the SMA web site the SMA
Sunny webbox RPC client software. it will help you on understanding better the UDP communication protocol.
Good luck
Vincenzo
12-14-2011 03:53 PM
Enzo78
I'm trying to communicated with it through UDP, but all I'm getting in data terminal of the UDP read is the same thing I send with the UDP write. I've attached the VI incase anyone can help me with that. In the net adress I used 255.255.255.255, because whenever I used the Webbox's IP adress the UDP timed out.
Thanks for the help,
Jose