Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Interface for OPC DA

Learn about output point configurations

  • Last UpdatedJan 21, 2025
  • 2 minute read

Output points send data from Data Archive to the OPC server. Note that only good values can be sent. System digital states are not sent to OPC items.

To configure an output point, edit the point using PI Point Builder and specify the following settings:

  • Set location1 to the id parameter value of the interface instance.

  • Set location3 to 2.

  • Specify the ItemID (the OPC item to be written) for the instrumenttag attribute.

  • Optional: Specify the source point (the PI point that contains the value to be written to the OPC server) in the sourcetag attribute. Not required if you intend to send the value directly to the output item without copying the values and time stamps to a PI point.

  • Optional: Set location4 to the desired output group. Output points with location4 set to 0 are distributed across output groups for load balancing.

You can trigger an output to the OPC server from the interface using the input point that stores OPC server data, or from a separate PI point configured to collect output values and the time stamp for the write. To configure output points, use one of the following methods:

  • To use the same PI point as the source and the output point, leave the sourcetag attribute blank.

    Any means of updating the snapshot value of the output point is acceptable. Any new value is sent to the OPC item.

  • To trigger the output to the target OPC item, the time stamp must be more recent than the previous time stamp, regardless of whether the value changes. The value that you enter into the output point’s snapshot is written to the target item on the OPC server.

  • To configure the output point using a separate source point, set the sourcetag attribute to the name of another PI point that will contain the values that you want written to the OPC item.

    When the source point is successfully updated, the new value is written to the target OPC item. If the PI OPC interface succeeds in updating the OPC item, it writes the value and time stamp to the output point. If the interface does not succeed in updating the OPC item, it writes a digital state that describes the error to the output point. For output points, a success status indicates that the OPC server item has been updated, but there is no guarantee that the corresponding data source has been updated. To verify that the data source has been updated, create a corresponding input point and add logic to ensure that the values of the input and output points match.

    The pointsource attribute of the output point must match the point source (ps) value of the interface instance, but the source point can be associated with any point source. The data type of the source point must be compatible with that of the output point.

TitleResults for “How to create a CRG?”Also Available in