PI collection options
Choose the Windows host that reads PI and the path that carries data to central taosX. The options are a direct connection from Windows taosX, collection through a Windows agent, and aggregation from multiple plants. All three use the same filtering, modeling, and collection workflow.
Entry point: deployment planning and agent selection in taosExplorer. Before creating a task, prepare the collection software, identity, and permissions described in PI prerequisites.
1. Three topologies
| Option | Data path | When to use it | Main checks |
|---|---|---|---|
| Direct connection from Windows taosX | PI → Windows taosX → target TDengine TSDB | The taosX host can access PI and write to the target cluster | Prepare the SDK, plugin, Windows identity, and PI permissions on the taosX host. |
| Collection through a Windows agent | PI → Windows taosX-Agent → Linux or Windows taosX → target cluster | taosX cannot access PI directly, or OT/IT segmentation must be maintained | Prepare the SDK and source permissions on the Windows taosX-Agent host; taosX-Agent initiates the connection to the taosX gRPC address. |
| Aggregation from multiple plants | Each PI system → each plant's Windows taosX-Agent → central taosX → target cluster | Multiple independent sources feed the same cluster | Prepare dependencies and identities separately on each taosX-Agent host; avoid cross-source conflicts in target names. |
The default PI Data Archive port is TCP 5450, and the default AF Server port is TCP 5457. Data Archive-only ingestion does not require a connection to AF Server. The agent also needs access to the actual taosX gRPC endpoint, which defaults to TCP 6055. Check connection directions against Pre-installation and deployment checks, and allow only the required connections.
Arrows show business data flow. Use the port matrix to determine which side initiates each connection. For agent installation and registration, see Agent deployment and maintenance. Agent mode is not equivalent to transmission through a physical unidirectional gateway.
2. Preparing multiple sources and redundancy
For example, two plants may both have a Meter_001_Voltage Point, but the Points may belong to different assets. Before aggregation, check the PI system, Point or element ID, engineering units, and time semantics together. Then choose separate target databases or controlled naming prefixes, and retain the source in tags. The filtering and model examples that follow use a meter from one of these plants.
For general registration and maintenance of multiple Xnodes, see Multi-node takeover and maintenance. PI takeover also requires Windows dependencies, the collection identity, and the model on the candidate path. A second Xnode does not automatically acquire the original node's discovery state. For recovery checks, see PI task maintenance and recovery.
3. Deployment verification
- Identify the locations of the browser, taosX, Windows collection host, Data Archive, optional AF, and target cluster.
- Test source network connectivity from the actual collection host. Use the actual identity to read
Meter_001_Voltageand a range of archived records. - When using an agent, confirm that it connects to the intended taosX and that its plugin and version match. Then check task connectivity.
- Run a small-scope task and compare new target records against source timestamps, values, and status. An online agent, TCP connectivity, and a running task do not replace data verification.