Measurements assets
- Last UpdatedFeb 23, 2023
- 1 minute read
In addition to the assets for alarm messages and operator messages, the connector also defines all other descendent assets under the root according to the definitions in the measurement configuration file. The file also specifies the data collection behavior of all measurements, which includes function name, path (channel), function parameter and scan rate.
For some function types, the connector defines a single attribute under one element for that measurement definition; and for other function types, the connector creates a hierarchical structure to store all the data retrieved from that function. The following table lists all functions that create a single attribute and those that create structures:
|
Asset type created |
Function |
|---|---|
|
Single attribute |
cnc_sysinfo cnc_rdmacro pmc_rdpmcrng cnc_statinfo cnc_rdprgnum cnc_exeprgnum cnc_alarm cnc_modal cnc_acts cnc_actf cnc_absolute cnc_machine cnc_relative cnc_distance cnc_rdseqnum cnc_rdexecprog cnc_gettimer cnc_exeprgname2 cnc_rdopnlsgnl |
|
Hierarchical structure |
cnc_rdaxisdata cnc_rdspmeter cnc_rdsvmeter cnc_rdspeed cnc_rdpm_item |
The measurement configuration file is a comma separated value (CSV) file composed of two tables:
-
Table 1: Definition of element paths and the PI AF template names for each element
-
Table 2:
-
For single attribute measurements: Definition of attribute names for each element, functions and scan rates.
-
For hierarchical structure measurements: Definition of parent element path of that structure, function and scan rates.
-
Any empty rows will be ignored by the connector. Rows starting with # are comments and will be ignored by the connector.