LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview and PLC

Hi,
 
  I have a project where I have to communicate between Labview and Siemens PLC. 
Can anybody point me to correct direction (like reading material, Examples etc.) about how to do it?
 
thanks
--trupti 
0 Kudos
Message 1 of 6
(4,155 Views)

The most obvious option is to use OPC to communicate between LabVIEW and the Siemens PLC.  With just LabVIEW, you can use DataSocket for OPC, but if you have 100+ tags (IO points), you will be better off using the built-in OPC Client in LabVIEW-DSC. 

Read up on OPC and LabVIEW-DSC for starters.

-Khalid

0 Kudos
Message 2 of 6
(4,140 Views)
Hi,

If this is a Siemens C7-300 or S7-200 series PLC, you can read or write data (data, flags, inputs, outputs) using DLL calls to Prodave MPI product from Siemens. I have a couple of wrapper VI for some basic functions, but you need to purchase Prodave MPI to use them.

0 Kudos
Message 3 of 6
(4,113 Views)
Hi there,

better late than never...

Mirko, could you provide your wrapper-VIs here?

Regards
Achim


PS: Germany?
0 Kudos
Message 4 of 6
(3,769 Views)
I need help too,can someone send the sample to me:   hmily0123@hotmail.com
thank you very much..
 
Life is not the amount of breath you take,it's the moment that take your breath away...
0 Kudos
Message 5 of 6
(3,689 Views)

Hi Trupti,

Try searching in these forums in the titles S7 & C7, you may get some nice code.

- Partha ( CLD until Oct 2027 🙂 )
Message 6 of 6
(3,684 Views)