Creating an OPC-UA Tag
After creating a tag on an OPC-UA device, you need to tell Koios which node in the OPC-UA server this tag represents. You can configure these fields during creation or afterwards on the tag's Configuration tab.
Protocol Fields
Namespace
The namespace index that identifies which part of the server's address space the node belongs to.
- Namespace 0 is the standard OPC-UA namespace (built-in server nodes)
- Namespace 1 is typically the server's own application namespace
- Higher namespaces are used by add-ons or companion specifications
The browser fills this in automatically. If entering manually, use the numeric namespace index (e.g. 2).
Identifier
The node's identifier within its namespace. This is the specific address of the data point you want to read or write.
- The format depends on the Identifier Type. It could be a number, a string path, a GUID, or a byte string
- Example (numeric):
1001 - Example (string):
Boiler.Temperature.PV
Identifier Type
The format of the node's identifier.
- Default: Numeric
Data Type
The expected data type of the node's value. Koios uses this to correctly interpret the raw bytes returned by the server.
Using the Node Browser
The OPC-UA node browser connects to the server in real time and lets you navigate the address space visually.
- Open the tag's Configuration tab and click Browse
- The browser displays the server's node tree as expandable folders
- Navigate to the node you want and select it
- The Namespace, Identifier, Identifier Type, and Data Type are all populated automatically
- Click Apply to save the selection
Timestamp Source
By default, Koios records each reading with the time the data collector read the value. Some OPC-UA servers also publish a source timestamp (the time the value was actually produced or sampled), which can be earlier than when Koios reads it. This matters for backdated signals such as lab results that are reported hours after the sample was taken.
With Source Timestamp, a value that arrives late but carries an older source time is stored in history at that original time instead of the moment it was read. This keeps late-arriving lab or batch results aligned with the process data they describe. This setting appears only on OPC-UA tags, and if the server does not provide a valid source timestamp for a value, Koios records the collector time for that reading instead.
After Configuration
- Save the tag configuration
- Test the tag: clickTestto verify Koios can read a value from this node (see Testing a Tag)
- Enable the tag: flip the enable switch to start collecting data
