Root element of the data source hierarchy
- Last UpdatedFeb 23, 2023
- 2 minute read
For each data source (CNC machine), the connector creates one PI AF hierarchy as a descendant of the connector element. The root element of this data source hierarchy is named as the Device ID of the CNC machine. The Device ID is a unique identifier of the CNC machine you provide when configuring the data source. For details, see Connector configuration.
By default, the following attributes are defined for the root element of the data source:
|
Attribute name |
Data type |
Description |
|---|---|---|
|
Data Source Status |
Enumeration |
A connector health attribute to indicate communication status with the data source |
|
Device ID |
Static Attribute (string) |
Unique identifier of the data source CNC machine |
|
IP Address |
Static Attribute (string) |
The IP Address to reach the CNC machine |
|
Port |
Static Attribute (string) |
The Port to reach the CNC machine |
|
Response Time |
Double |
A connector health attribute to indicate the average request/response round trip time in milliseconds |
Data Source Status
The Data Source Status attribute is defined by default to monitor the communication status between the connector and the data source (CNC machine). It is an enumeration type with values as follows:
-
Connected
The connector is connected to the data source.
-
Not Connected
The connector is disconnected from the data source.
-
Error
Error conditions occurred during data collection.
A PI point is defined for this attribute to store the data during data collection. The format of the PI point name is <Connector name in the PI Data Collection Manager (DCM)>.<Device ID>.Data Source Status. The update rate for this attribute is based on the average scan rate of all measurements per the following equation: . For example, if the average scan rate for all measurements is 1.5 seconds, the update rate for data source status is 15 seconds.
Response Time
The Response Time attribute is defined by default to monitor the average request/response round-trip time for all the communication during each update interval. The attribute data type is Double and the unit of measurement is milliseconds. A PI point is defined for this attribute to store the data during data collection. The format of the PI point name is Connector Name.<Device ID>.Response Time. The update rate for this attribute is the same as the average scan rate of all measurements.