Catalog
Import tags from CSV or Excel
Bring a tag list from a CSV file or an Excel workbook into the catalog, map its columns, preview the result and import it.
A tag list from your control system or historian often lives in a spreadsheet. Import tags… reads it into the catalog: new tags are created, and the tags you already have get the descriptions, units, limits and other fields the file holds.
What a file may hold
Section titled “What a file may hold”- A CSV file, or an
.xlsxworkbook. Other Excel formats (.xls,.xlsb,.xlsm) and.odsare refused with “Save the sheet as .xlsx or CSV”. - At most 64 MiB, 200,000 rows and 200 columns, and 4,000 characters in a cell. Of a workbook, at most 50 sheets are listed and one sheet is read.
- One row per tag, with a header row.
A formula in a workbook is never run: Beltr reads the value the file stored for the cell. Cells are stored as text, never used as a file path or a command.
Import a tag list
Section titled “Import a tag list”- In Catalog › Tags, choose Import tags…, then Choose CSV or Excel file….
- Check how the file is read: for a workbook, the Sheet; the Header row; for a CSV file, the Encoding and the Column separator (comma, semicolon or tab). Detect encoding and Detect separator let Beltr decide.
- Under Match existing tags by, choose Tag ID to match rows to tags by name, or Source reference to match them by the reference the source uses.
- Choose the Source the tags belong to. With one source in the workspace, Beltr uses it.
- For each column of the file, pick the field it fills, or Skip this column. Beltr suggests a field for common headers such as “Tag”, “Description”, “Unit” or “Enhet”.
- Choose Preview import. The preview counts the rows as new, updates, unchanged and errors, and shows the rows with their messages.
- Choose Import tags.
You should see
If you change an option after the preview, Beltr asks you to preview again before importing. Stop import cancels a running import; a cancelled import changes nothing.
What an import changes
Section titled “What an import changes”- A row that matches no tag creates one. The new tag is accepted, reads from the source you chose, and gets the name or source reference of the row.
- A row that matches a tag sets every mapped field whose cell is not empty and differs from the current value. An empty cell changes nothing. Aliases are added, never removed.
- An import never changes a tag’s status or the source it reads from.
- All rows without errors are written together, or none are.
The fields a column can fill are name, description, unit, kind, interp, area, equipment, source_ref, alias, nominal_interval_s, range_low, range_high, limit_hh, limit_h, limit_l, limit_ll, spec_min and spec_max. Each field can be mapped once; alias can be mapped to several columns.
Rows with errors
Section titled “Rows with errors”“Rows with errors are skipped. Notes do not prevent import.” A row has an error when, for example, it has no name, two rows have the same name, a number cannot be read, or the limits are out of order. A note, such as a unit Beltr does not know, is shown on its row and the row is still imported.
After the import, Download skipped rows… saves the skipped rows with their messages, so you can fix them and import them again. The skipped rows are kept for 30 minutes after the import.