06-28-2012 05:28 AM
Hi
How can I Write and read directly from NI Vision to Plc?
in other words, how can connect to another device through OPC by NI Vision?
Many thanks for your reply.
Best Wishes,
06-28-2012 07:50 AM
Do you mean an LabVIEW application (with Vision Development Module) or with VBAI?
Christian
06-28-2012 09:53 AM
We have several application notes that explain how to do that:
Using Vision Builder AI as an OPC Server: http://www.ni.com/white-paper/13574/en
https://decibel.ni.com/content/docs/DOC-18647
For implementation in LabVIEW, just search for OPC on ni.com. There are a lot of documents explaining how to implement this communication protocol.
If you give us more details (who you want to be the server or client), we can provide better guidance.
Hope this helps.
Christophe
07-06-2012 11:09 PM - edited 07-06-2012 11:11 PM
Hello
i need to use Vision Builder AI as opc client,because i want to connect to One opc server for the other machine and i need to write and read the register from opc server.
best regards
07-09-2012 09:38 AM
To allow VBAI to connect to an OPC Server (i.e. act as an OPC client), you need to purchase and install the DSC Run-time System.
Once installed, you can create an OPC I/O client using the Distributed System Manager, create variables bound to OPC tags, then create VBAI network variables that are bound to these variables.
Another possible technical solution to connect to OPC Servers supporting Data Access 2.0 is to use the datasocket API in a Run LabVIEW step.
-Christophe