How-To: Exchange Data with AVEVA PI System
This article contains examples of simple solutions that obtain data from Asset Framework and Data Archive and write to PI System to create assets and PI Points.
What Does This Article Cover?
Intelligence Hub includes a standard configurable Connection that can be used to obtain data from AVEVA PI System. The connection between the Intelligence Hub and PI System Data Archive and Asset Framework is made via the PI System AF SDK. This is done using a software agent that is installed in addition to the Intelligence Hub runtime. Asset Framework Metadata and Data Archive Point values can be obtained from the PI System including historical data and new data.
- An overview of Connection Input and Output options
- Obtaining PI Point data example
- Obtaining Asset Attribute values example
- Creating Assets and PI Points example
Overview of Connection Input and Output options
The Intelligence Hub AVEVA PI Connection provides multiple options for reading data from PI and writing data to PI. The following video provides an overview of the Connection Inputs and Outputs.
How to Subscribe to PI Point Changes:
The Intelligence Hub Point Change Input creates a subscription to point changes based on a PI point query, which includes new data, changed data, deleted, and late arriving data. The Input first creates a subscription within the PI System for the points, and subsequent reads return point changes since the last read was performed. The following video captures a simple solution example that uses the Point Changes Input.
How to Obtain Asset Attribute Values:
The Intelligence Hub Asset Change Input creates a subscription to attribute (including attributes with associated PI Points) changes based on an Asset query, which includes new data, changed data, deleted, and late arriving data. The Input first creates a subscription within the PI System for the query, and subsequent reads return attribute changes since the last read was performed. The following video captures a simple solution example that uses the Asset Changes Input.
How to create Assets and PI Points
The Intelligence Hub AVEVA PI Connection can be configured to build element hierarchy inside of PI’s Asset Framework, create PI points and then write data to the Point. The following video captures this capability.