01-22-2020 08:39 AM
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
11-17-2020 01:41 AM
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!
11-23-2020 03:55 AM - edited 11-23-2020 04:08 AM
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.
11-23-2020 04:23 AM
Wonderful complete and clear answer. I will study, implement, test and come back to you. Many THANKS !