LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

S7-300 via SIMATIC PC Adapter USB to LabView.

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?

0 Kudos
Message 1 of 4
(4,450 Views)

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.

With regards,
JK
(Certified LabVIEW Developer)
Give Kudos for Good Answers, and Mark it a solution if your problem is solved.
Message 2 of 4
(4,432 Views)

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?

0 Kudos
Message 3 of 4
(4,412 Views)

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 Smiley Happy

Post back if any queries.

With regards,
JK
(Certified LabVIEW Developer)
Give Kudos for Good Answers, and Mark it a solution if your problem is solved.
Message 4 of 4
(4,408 Views)