10-30-2014 05:13 AM
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
10-31-2014 06:01 AM
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
Once you set up the Connection you can use these Variables in LabVIEW.
Be aware not all OPC Servers are supported.
Supported Device & Driver Plug-in List for NI OPC Servers
11-06-2014 03:08 AM
Hey..........thanks for the reply...............useful information...................