LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sunny Island

Jose

I went through this over a year ago, and let me tell you that using the UDP method was fraught with a lot of headache.

 

best way I found was to:

 

1.Download and install filezilla on the computer you will be using as the database storage

2.Setup filezilla as shown in the SMA white paper (available from their website)

3. Use windoze task scheduler to set up an automated connection between filezilla and the pc

4.Get files from the sunny webbox on a periodic basis.

5.Use the VI's I posted for you and extract the data from the xml file

 

This process has been running for me for over a year now and I have had no problems

 

 

0 Kudos
Message 11 of 20
(1,877 Views)

Ray,

 

Are you capable of getting the data in real time or even with a few minutes of delay between each acquisition? Our goal is to get the data from the Sunny Inverters and SMA webbox in real time. Getting the daily production into LabVIEW would also be nice, but getting it in real time is the main objective. 

 

Also, I had a question about the VI's (you can se it here http://forums.ni.com/t5/LabVIEW/How-to-get-real-time-date-from-Sunny-Boy-Inverters-through-SMA/td-p/... just in case). LabVIEW 8.6 does not have the Get all Matched Nodes.lvlib, if I'm trying to figure out exactly what this does so that I can try and build a VI to complete this task. 

 

Thanks for all the help,

 

 

Jose

0 Kudos
Message 12 of 20
(1,859 Views)

Jose

You could download from the webbox as often as you like using the filezilla setup. Use either task scheduler under windoze or write a small script to run filezilla on a timed basis.

 

I looked at the vi you are having trouble with, and unfortunately in the BD it has a CIN, which I don't believe you can undo to read the code behind it.

 

Is it correct that version 8.2 does not have the xml library?

0 Kudos
Message 13 of 20
(1,850 Views)

Raylout,

 

I see. Well, LabVIEW 8.6 does not have the Get all Matched Nodes.lvlib, but it does have a XML library. Get all Matched Nodes is like a subVI that comes with LabVIEWs 9 through current (If I'm nor mistaken). Sometimes when you see how those .lvlib you can figure out how to build one yourself. If it isn't too complicated I would like to know how to build it. Otherwise, I would have to see if I can get that .lvlib.

 

Thanks,

 

Jose 

0 Kudos
Message 14 of 20
(1,828 Views)

Hi Ray,

 

Could this setup be used to send commands to the SMA WebBox? I'd like to send commands to the WebBox to change parameters for an SMA Sunny Island 5048 unit (connected to the WebBox) to discharge a battery bank to the grid.

 

Thanks,

 

- Charles 

0 Kudos
Message 15 of 20
(1,809 Views)

Hello Charles

Unfortunately no. This won't do what you want.

 

The other methods available for you are:

 

1.The remote procedure calls method.......this uses the JavaScript Object Notation format.

2. Yasdi, which is the SMA data protocol that SMA use themselves to communicate between the devices and is based on the OSI layered model for network protocols. It uses C programming language

3. Sunny Data Control.....which communicates directly with the inverter without the need for the sunny webbox.

 

Regards

Ray

0 Kudos
Message 16 of 20
(1,793 Views)

Thanks Ray for the reply!

 

When using RPC with JSON, what would you recommend to automate this at certain times of the day? I'd like to change the active current parameter for discharging the battery bank to the grid at specific times of the day. Could LabVIEW be used for this purpose? Any advice would be appreciated.

 

Thanks,

 

- Charles

0 Kudos
Message 17 of 20
(1,788 Views)

Charles

I am not familiar with the 5048 unit, but a quick look through the technical manual (attached) looks like it is a simple matter to do what you want (concentrate on chapter 6).

 

And certainly it can be done with LV.

 

You can use seperate RS485 cables (one for the webbox, and one to the computer) with one dedicated to controlling the master internal relay which is installed for just that purpose. I would use the master relay to control a large current contactor however to avoid overheating problems.

 

The 5048 also has digital inputs which could be utilised for this function as well, but you would need some type of DAQ card.

 

Ray

0 Kudos
Message 18 of 20
(1,783 Views)

What vi's? 

0 Kudos
Message 19 of 20
(1,225 Views)
Are you responding to any particular post?
0 Kudos
Message 20 of 20
(1,207 Views)