Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Access to TWINCAT PLC via LabView

Hello,

 

I want to have access to the TwinCAT PLC variables in Labview.The TwinCAT software and Labview application are running on different PC's.

In my Labview application I want to have access to the TwinCAT PLC variables. Does anyone have any idea about how to do it? or any sample examples?

 

Any help would be appreciated.

 

Thanks in advance

0 Kudos
Message 1 of 3
(5,132 Views)

Normally you put up a OPC Server on the Pc on which your twincat is installed. There are a number of helpful links how you can set up an OPC Server with Twincat. 

http://www.beckhoff.com/english.asp?twincat/twincat_opc_ua_server.htm

 

This Server broadcasts the values over the network.

Once you have broadcasted the values you can use these in LabVIEW using the datasocket supervisory Controll Tookit.

Connect LabVIEW to Any PLC Using OPC

How Do I Use OPC in LabVIEW?

 

Once you set up the Connection you can use these Variables in LabVIEW.

How LabVIEW uses I/O servers

 

Be aware not all OPC Servers are supported.

Supported Device & Driver Plug-in List for NI OPC Servers

 

 

Message 2 of 3
(5,114 Views)

Hey..........thanks for the reply...............useful information...................

0 Kudos
Message 3 of 3
(5,049 Views)