LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communicatio with SMA inverter (Sunny mini central or sunny boy)

Hi!
 
I have a school project that I must talk with a SMA Sunny mini central Controller (that controls three Sunny Boy inverters) with a RS485 interface. I'm using Labview 2011 with VISA. The instrument manuals I was refering to is "SMA Data Specification" and it's very complex and don't give any clear example. Another useful document is "YASDI Library". I am wondering if anyone have done it beofre and it's greatly greatly appreciated if can share the VI with me.
 
Thanks in advance!
 
I have seen a thread discussing this but the thread is not active already since it was posted 6 year ago: http://forums.ni.com/t5/LabVIEW/help-with-Sunny-Boy-inverter/m-p/3000333#M859265
 
Regards,
 
Jack
0 Kudos
Message 1 of 15
(4,492 Views)

Usually we request a VI of what you have attempted so far; in a school project, this is pretty much demanded.  Nothing is learned by handing the user a ready-made solution.  🙂

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 15
(4,485 Views)
Why don't you attach the manual and any code that you have written? Just saying that it is 'complex' does not mean much.
0 Kudos
Message 3 of 15
(4,482 Views)

Thanks Dannis for the comment. 

 

I have attached related documents and API... 

 

The SMA inverter model I am working on is SMC7000TL.

 

I just not very sure if how to get starte with this. Any help or advice will be great helpful. Smiley Wink

 

Jack

0 Kudos
Message 4 of 15
(4,473 Views)

@DHNN wrote:

Thanks Dannis for the comment. 

 

I have attached related documents and API... 

 

The SMA inverter model I am working on is SMC7000TL.

 

I just not very sure if how to get starte with this. Any help or advice will be great helpful. Smiley Wink

 

Jack


So, in a nutshell, you want us to read through all of the documentation and come up with a solution for YOUR school project.

 

I would call that cheating.

 

 

0 Kudos
Message 5 of 15
(4,466 Views)

come on man, do not be so mean. i have read through all documentation and jsut want to get some advices. If you do not want to share then it's fine

0 Kudos
Message 6 of 15
(4,452 Views)
I just gave the first document a quick read. The protocol requires hex commands. You can do this a couple of ways. Create an array of U8 set for hex display. Then use byte array to string to convert to something VISA Write can use. You could also use a string control set for hex display.

I would recommend the U8 array approach since I think it's simpler to calculate the crc and append that to the array. There are numerous crc examples on the forum.

This is going to be a bit difficult and tedious. If you have software from the vendor, it might help to capture the low level commands with something like portmon. Then you could compare your code to the vendor's.
0 Kudos
Message 7 of 15
(4,436 Views)

You will have to tell us what is meant by "talk to" the equipment.  Does that mean "send a command - any command - and get the right response?"  Does it mean, "Successfuly get the equipment to do a certain task?"

 

Also, what is your experience level with LabVIEW?  With instrument communication?  If you are experienced in at least one of these areas, we might be able to help.  If you have no experience with either, all our advice in the world won't help.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 8 of 15
(4,430 Views)

Hi Dennis,

 

Thanks for the hints. U8 array is a good idea and i will try to do it this way. A serial protocol snipper as a analysor might help, as you suggested.

 

I think I just need to communicated with the Inverter with a single word and get its reply, then the rest of work will be much easy.

 

Thanks for your help.

 

Jack.

0 Kudos
Message 9 of 15
(4,428 Views)

Hi Bill,

 

 

 

 

0 Kudos
Message 10 of 15
(4,425 Views)