Issue Details
InsightCM can read values from the AVEVA PI System (PI) in two independent ways:
- PI Historian Trend – shows PI data in the Data Viewer.
- PI Historian Input – a point on a Historian data source that stores the value in InsightCM.
Use either one; neither depends on the other.
This procedure is for site technicians and support engineers commissioning or troubleshooting a PI integration. A typical use is showing plant load in megawatts (MW) from the Distributed Control System (DCS) next to vibration or Electromagnetic Interference (EMI) trends.
Writing InsightCM data out to PI is a separate procedure (System > Historian point mappings) and is not covered here.
Prerequisites
- PI Asset Framework (AF) Client installed on the InsightCM server and pointed at the PI server's Internet Protocol (IP) address. Installing it requires administrator access to the InsightCM server.
- A network path from the InsightCM server to the PI server. The PI Data Archive listens on Transmission Control Protocol (TCP) port 5450 by default.
- Authentication on the PI server:
- Use a PI Mapping (Windows Integrated Security) wherever possible.
- Use a PI Trust only when Windows authentication isn't possible. Scope it to the InsightCM server's IP address, hostname, and application name, and map it to a read-only identity, never piadmin.
- The exact PI point names and units for every value you want to show.
- InsightCM permissions to edit the asset configuration.
Table of Contents
1. Confirm InsightCM Can See PI
4. Option A: PI Historian Trend
5. Option B: PI Historian Input
6. Outcome
Instructions/Solution
Confirm InsightCM Can See PI
The PI connection is set up when the PI AF Client is installed on the InsightCM server, so check it before adding any points.
1. On the InsightCM Dashboard, check that the Historian indicator is green. Green means InsightCM has a valid connection to the PI server.
2. Go to Navigation Menu > System > Historian.
3. Open the Action Menu and select Query Points.
4. Search for the point you need. If you don't know the exact name, enter * to list every point the connection can see.
5. Copy the name of each point you plan to use exactly as PI shows it. You'll use it when you create the trend or point.
If the indicator isn't green or the list stays empty, go to If InsightCM Can't See PI before continuing.
If InsightCM Can't See PI
Check each prerequisite in order:
1. Confirm that the PI AF Client on the InsightCM server points at the correct PI server IP address.
2. Confirm that the InsightCM server can reach the PI server on TCP port 5450 (or the port your site uses).
3. Confirm that a PI Mapping or PI Trust exists on the PI server for the InsightCM server, as described in Prerequisites.
4. Run Query Points again and confirm the point now appears.
If InsightCM still can't see PI, submit a support ticket (see Do you need more help? below).
Which Option Should I Use?
| Option A: Historian Trend | Option B: Historian Input | |
|---|---|---|
| Best for | Viewing PI data next to InsightCM trends | Storing PI values or passing them to an edge device |
| Stores the value in InsightCM | No – queries PI each time the trend is viewed | Yes – trended like a sensor |
| Uses InsightCM database space | No | Yes |
| Requires a Historian data source | No | Yes |
| Can pass the value to an edge device | No | Yes (for example, a speed reference) |
Option A: PI Historian Trend
Use this to view PI data next to InsightCM trends. It needs no data source and uses no InsightCM database space, because InsightCM queries PI each time the trend is viewed.
1. In Asset Configuration (wrench icon), select the node where the value should appear. A Historian Trend can go anywhere on the tree, so place it next to the equipment it relates to (for example, generator load under that generator).
2. Add a Historian Trend node.
3. Enter a descriptive name that includes the units, for example "G1 Gross Load (MW)".
4. Enter the point name exactly as it appears on the PI server. Spelling, case, spaces, and separators must all match.
5. Enter the units. Always fill these in, because the Data Viewer uses them to label the trend.
6. Save the node. If the pending-changes indicator appears, run Update configuration.
7. Repeat for each PI point.
Option B: PI Historian Input
Use this when the PI value must be stored and trended in InsightCM like a sensor, or passed to an edge device (for example, a speed reference). It reads PI through a Historian data source.
Create the Historian data source and its points
Create one Historian data source per PI server. If one already exists, open it and go to step 4.
1. Open Asset Configuration, then go to Action Menu > Data Sources.
2. Click + Add and select Historian as the type.
3. Enter a name that identifies the PI server, for example "Site PI – Unit 1 DCS". Avoid generic names such as "PI", because a server can have several data sources.
4. In the Tags tab, create each point:
a. Add the point at the desired location on the asset tree and enter a name.
b. Enter the point name exactly as it appears on the PI server.
You can also add a point from the asset tree: select the node, expand its Data Sources section, select the Historian data source, rename the new tag, and enter the PI point name.
Place each point on the node where you want the value. You don't need to create Process equipment for the point. To pass the value to an edge device, place it under that device's monitoring system.
On the asset tree, a Historian Input point shows a tag icon, not the Historian Trend chart icon. Check it to confirm you added the right type
Update the configuration
1. When the pending-changes indicator appears, run Update configuration.
2. Check that each point appears in its equipment's Sensor list.
Back up or copy this setup
Use Export data sources to back up or copy the setup. The export covers the data source settings only. Points are imported separately: right-click a tree node and select Import data source, which reads the DataSourceNodes tab of the file.
Outcome
Either option is working when its trend in the Data Viewer matches the value PI reports for the same time.
1. Open the Data Viewer and select the Historian Trend node or the Historian Input point.
2. Select a time range you know PI has data for, such as the last 24 hours.
3. Check that the trend plots with the expected units.
4. Compare one recent value with what PI shows for the same timestamp (in PI Vision or PI System Management Tools (SMT)). The value and time should match.
5. If the value is offset in time, compare the clocks and time zones of the InsightCM and PI servers.
Note: A Historian Trend is read from PI each time it's viewed, so it goes blank whenever PI is unreachable.
Do you need more help?
Submit your questions or requests using the Support Ticket Submission form.