LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview to Twincat

Hi All

I am new to labview and am doing a project where I need to get data
from a Twincat soft PLC.

What is the best way to do this? Common sense says use the OPC server
with Twincat and OPC client with Labview, however, a colleague has
used the Twincat OPC server and is not very complimentary as it is
very difficult to set up.

I have read a post about a Twincat ADSOCX (presumably an ActiveX). Has
anyone used it and how difficult to use is it in Labview.

Or can anyone suggest another way?

Thanks in advance

Paul Edwards
Cougar Automation Ltd.
0 Kudos
Message 1 of 3
(3,533 Views)
Paul,

I would think that the OPC server method would be most practical. OPC is the most common method of communicating between PLC drivers and LabVIEW, even if it is not always the most straightforward to configure.
0 Kudos
Message 2 of 3
(3,533 Views)
I don't think I have any answers for you, as I have questions of my own.

I am using LabVIEW and a Beckhoff TwinCat software OPC server, and I am
still searching for a method to increase the performance of the
communication. My goal is being able to read/write at least 100
different data points every 100ms. Right now, I have tried multiple
methods, but few allow for this. I really think that 100 data points/100
ms is a reasonable goal. My 486 could record two 16-bit channels at 44.1
kHz, why can't my 1.8GHz computer handle 100 channels at 10Hz? I know
that is a poor comparison, but I see no reason why I shouldn't be able
to record 100channels/100ms.

Currently, communication between LabVIEW and the TwinCAT OPC server is
via LabVIEW datasockets.

Stephen



Paul Edwards wrote:
> Hi All
>
> I am new to labview and am doing a project where I need to get data
> from a Twincat soft PLC.
>
> What is the best way to do this? Common sense says use the OPC server
> with Twincat and OPC client with Labview, however, a colleague has
> used the Twincat OPC server and is not very complimentary as it is
> very difficult to set up.
>
> I have read a post about a Twincat ADSOCX (presumably an ActiveX). Has
> anyone used it and how difficult to use is it in Labview.
>
> Or can anyone suggest another way?
>
> Thanks in advance
>
> Paul Edwards
> Cougar Automation Ltd.
0 Kudos
Message 3 of 3
(3,533 Views)