This document explains how to configure Vision Builder AI as an OPC server and use shared variables to share results produced by Vision Builder AI steps. OPC is a series of standard specifications that define the communication of real-time plant data between control devices from different manufacturers. OPC Data Access communication is a client server based communication.
Shared system variables allow you to share data with Vision Builder AI. You can use shared system variables to publish data using OPC.
Complete the following steps to create a shared system variable.
Use a Set Variable step to set the value of a shared variable. The Set Variable step is located on the Use Additional Tools palette.
Complete the following steps to set the value of a shared variable.
This section applies only if Vision Builder AI is running on a remote target. If Vision Builder AI is running on Windows, continue to the next section.
If Vision Builder AI is running on a remote target, you must use a Windows computer to create tags and link them to shared system variables. For example, you might use the same computer that you used to configure the remote target. The Windows computer must meet the following requirements:
Complete the following steps to create the tags to be shared by the OPC Server.
Tags that you create are listed in your OPC client when when you connect to Vision Builder AI as an OPC server.
Distributed System Manager is only required to add or delete tags. You do not need to launch Distributed System Manager to enable OPC communication. Do not use Distributed System Manager to delete any variables listed under the Vision Builder process.
Configure your OPC client to connect to the following OPC server: National Instruments.Variable Engine.
Use your OPC client to locate the shared variable tags:
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.