11-30-2010 04:52 PM
Hi.
Searched forum for answers but nothing exact found...
I'm trying to communicate LabView (read/write) with SIMATIC S7-300 PLC via USB Adapter (MPI->USB).
Tried tutorial with VISA Driver Wizard, but can't do anything without USB Protocol from that adapter...
Anybody have have idea how to solve this?
11-30-2010 10:39 PM - edited 11-30-2010 10:40 PM
Hi,
There are two ways:
1. You might try installing drivers (e.g. Prodave) that installs certain dll's which enables user to communicate with PLC.
2. The other straight way of establishing communication between LabVIEW and PLC is uemploying a OPC Server (e.g Kepware, downloadable demo version is available in their website). Try out these.
Post back if any queries.
12-01-2010 06:04 AM
Hi,
Thanks JK1 for help. I've tried the second option, with Deltalogic OPC server (trial or 90 minutes demo) and it work fine. I can read variables directly from device in excel, using macros (supported by Deltalogic). But now I want to do it in LabView (academic license), so my next question is:
Which OPC client in LabView (best for academic license) should I use?
I know there are 4 options:
-ActiveX Automation interface.
-DataSocket Client.
-Datalogging and Supervisory Control module - DSC
-Shared Variable Engine
And whre can I get any support/tutorial for any of this option?
12-01-2010 06:30 AM
Hi,
Datasocket client would be the most simplest way of communicating with OPC Servers. It comes as a bundle with LabVIEW. But when there are too many Tags to be read DSC engine is the right choice. Just browse through the forums for help on both the techniques, you can get loads of tutorials.
All the best
Post back if any queries.