OPC-UA CSV Import

OPC UA supports importing inputs from a CSV file. This section covers the import format. Below the columns for different inputs types as well as the common columns are outlined. A single CSV file can include all types by including all columns and leaving columns empty for a given row if it does not apply.

Basic Input Columns

ColumnDescription
nameThe name of the input.
cacheLifetime.enabled(optional) True if input caching is enabled for the input.
cacheLifetime.interval.duration(optional) The duration of the cache (ex 1 minute)
cacheLifetime.interval.units(optional) The units for the duration. Milliseconds, Minutes, Hours.
template.name(optional) Name of the templated input.
template.type(optional) Type of template; Static or Dynamic.
template.reference(optional) For Dynamic types only, the reference (ex. {{Connection.CSV.headers}})
template.params.paramName(optional) Template parameters, where paramName is the template parameter name and the value is the range (ex. 1-10). Add a column for each parameter.
qualifier.typeThe type of OPC UA input. Valid types are Tag, Collection, or Method. This controls the remaining qualifier columns

Tag Columns

ColumnDescription
qualifier.samplingInterval.duration(optional) Override the default sampling interval for the tag.
qualifier.samplingInterval.units(optional) Units for the duration.
qualifier.namespaceIndexThe namespace index for the tag (ex. 2)
qualifier.identifierTypeThe type of identifier for the tag. String and GUID are the most common types.
qualifier.identifierThe identifier for the tag.
qualifier.isComplex(optional) Enable to include meta data with the tag.

Collection Columns

Collections are expressed as multiple rows, where the first row includes the Basic Input Columns and the first tag in the Collection. Proceeding rows leave the Basic Input Columns empty and fill in the collection columns with the remaining tags in the collection

ColumnDescription
qualifier.collection.nameThe name of the tag in the collection.
qualifier.collection.namespaceIndexThe namespace index for the tag (ex. 2)
qualifier.collection.identifierTypeThe type of identifier for the tag. String and GUID are the most common types.
qualifier.collection.identifierThe identifier for the tag.

Branch Columns

Branches are much like single tags, but the reference is to an OPC UA branch.

ColumnDescription
qualifier.namespaceIndexThe namespace index for the tag (ex. 2)
qualifier.identifierTypeThe type of identifier for the tag. String and GUID are the most common types.
qualifier.identifierThe identifier for the tag.
qualifier.maxDepth(optional) Max depth to browse and read. 0 means one level, 1 means two levels, etc.
qualifier.cacheInterval.duration(optional) How often to refresh the browse hierarchy.
qualifier.cacheInterval.units(optional) The units for how often to refresh the browse hierarchy.
qualifier.ignoreBadQuality(optional) Enable to ignore bad quality values.

Method Columns

ColumnDescription
qualifier.namespaceIndexThe namespace index for the parent object that has the method (ex. 2)
qualifier.identifierTypeThe type of identifier for the parent object.
qualifier.identifierThe identifier for the parent object.
qualifier.method.namespaceIndexThe namespace index for the method.
qualifier.method.identifierTypeThe identifier type of the method.
qualifier.method.identifierThe identifier for the method.