LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication between CVI and PLC Siemens S7

Hello everyone, I would like to know if there are drivers for communicating a program written in CVI and a Siemens S7-1200 PLC with Profinet protocol.

Tnx a lot

Kind regards

0 Kudos
Message 1 of 4
(3,090 Views)

Hello, 10 months later, and I am looking for the same since several days.  Did you find any solution in the mean time?  Thanks for your help!

0 Kudos
Message 2 of 4
(2,421 Views)

There is no LabWindows/CVI specific driver available for this and one approach to tackle this would be to use the Snap7 open source library if you can use standard TCP/IP connection.

 

It may require a little bit of tinkering with the headers of that library to make it compile in LabWindows/CVI but definitely should be possible to do.

 

If you absolutely require a Profibus connection you may have to tinker with this device here: https://www.kunbus.de/df-profi-ii.html

Their C API can be definitely also called from LabWindows/CVI although it may not be trivial. Definitely not like accessing the typical LabWindows/CVI instrument libraries.

 

For Profinet connection I would start looking at this: https://support.industry.siemens.com/cs/document/99684399/sinamics-g-s%3A-profinet-connection-with-l... It is for LabVIEW but you can also call the DLL from LabWindows/CVI.

Rolf Kalbermatter
My Blog
Message 3 of 4
(2,378 Views)

Wonderful complete and clear answer.  I will study, implement, test and come back to you.  Many THANKS !

0 Kudos
Message 4 of 4
(2,367 Views)