OPC UA tag export — CSV format
Semicolon-separated, UTF-8, 11 columns. Works from a live OPC UA server or a NodeSet2 XML file converted to CSV offline. The address column uses the NS1|String|/codesys/… format.
Convert NodeSet2 XML to CSV
OPCUAgadget works fully offline. Drop a NodeSet2 XML file exported from TwinCAT, CODESYS, or UA Modeler and the tool resolves the full address space without a live server. The output is the same semicolon-delimited CSV as a live export.
Column reference
All 11 columns are written on every row. Columns that have no value from the OPC UA address space are written as empty fields (two consecutive semicolons). This schema applies whether you connect to a live server or convert NodeSet2 XML to CSV offline.
| Column | Type | Example | Notes |
|---|---|---|---|
| name | string | TT101_PV | Tag name used in SCADA |
| address | string | NS1|String|/codesys/volatile/pdp/Application/Area_A/TT101_PV | Webport address format |
| datatype | string | Double | OPC UA built-in type |
| rawmin | number | 0 | Raw range low (empty if unset) |
| rawmax | number | 150 | Raw range high (empty if unset) |
| engmin | number | 0 | Engineering range low (empty if unset) |
| engmax | number | 150 | Engineering range high (empty if unset) |
| unit | string | °C | Engineering unit from EUInformation |
| description | string | From OPC UA description attribute | |
| alarmoptions | string | SCADA alarm configuration (empty from export) | |
| trendoptions | string | SCADA trend configuration (empty from export) |
Sample output
Actual file content produced by OPCUAexport. The header row is always written first. Empty trailing fields are omitted from the end of each row.
name;address;datatype;rawmin;rawmax;engmin;engmax;unit;description;alarmoptions;trendoptions TT101_PV;NS1|String|/codesys/volatile/pdp/Application/Area_A/TT101_PV;Double;0;150;0;150;°C; PT201_PV;NS1|String|/codesys/volatile/pdp/Application/Area_A/PT201_PV;Double;0;10;0;10;bar; FV301_CMD;NS1|String|/codesys/volatile/pdp/Application/Area_B/FV301_CMD;Boolean;;;;;
Address format
How the address column is constructed and why it works with Webport tag import.
The address column follows the Webport OPC UA tag format: namespace index (NS1), data type hint (String), and the full node path from the CODESYS address space. This format is what Webport’s tag import dialog expects in the address field — no manual editing required after export.