OPC HDA Tag Builder tool
- Last UpdatedSep 13, 2024
- 2 minute read
- PI System
- PI Interface for OPC HDA 1.6.2
- Interfaces
The OPC HDA Tag Builder Tool is a command-line utility that helps you create PI points from the OPC HDA Server. When executed, the tool browses the OPC HDA Server and gets the attributes needed to configure a PI point. To get the information required to build PI points, execute the tool with the following command:
PIHOME\interfaces\OPCHDAInt\HDATagBuilder.exe /node=turboberry /server=OSI.HDA.1 /ps=had
The following table lists optional and required command line arguments for :
|
Parameter |
Description |
|---|---|
|
/db (Optional) |
Logging for internal data translation and is helpful for AVEVA Tech Support. |
|
/h or /help (Optional) |
Displays information about the use of command-line parameters. |
|
/loc1=# (Optional |
Specifies the copy of the interface to which the point belongs. The value of this attribute must match the /id interface startup command line parameter. |
|
/loc2=# (Optional) |
For input points, this value specifies whether to store the data value (0) or quality of the data (1). For output points, this value is used to indicate whether this point is to send the digital string (0) or the ordinal number (1) (0, 1, 2 …) for digital points. |
|
/loc3=# (Optional) |
Specifies whether the point is an Input (0) or Output (2) point. |
|
/loc4=# (Optional) |
For interfaces that support scan-based collection of data, this value defines the scan class number for the PI point. For Trigger-based inputs and output points, set this value to zero. |
|
/loc5=# (Optional) |
Specifies how the point is to use data that has the quality of "Uncertain":
|
|
/node=nodename (Required if interface not loaded on OPC HDA server node, otherwise optional) |
Specifies the node where the OPC HDA server is running (optional). This argument is needed only when executing the configuration tool on a separate node from the OPC HDA server. |
|
/ps=Point Source (Required) |
The PointSource used by the PI points. |
|
/server=servername (Required) |
Specifies the name of the server. For example: ODI.HDA |
For more information on the point attributes listed above, please see the Point Attributes section of this manual.
To build PI OPC HDA Interface points, use the output file, hdatagbuilder.csv, from the configuration tool within PI SMT to export the points to the Data Archive.