Tags, decoding & import
Turn registers into trustworthy engineering values.
Tags, decoding & import
Views answer “what should Busloom read?” Tags answer “what does the data mean?” A tag begins at one PDU address and may consume one bit, one word, or several consecutive words depending on its codec.
Tag anatomy
- Identity
- Name, address space, starting PDU address, group, and manual order.
- Codec
- Boolean, signed/unsigned integer, float, ASCII, hexadecimal, or binary plus required register count.
- Layout
- Byte and word order for multi-register values.
- Engineering semantics
- Scale, offset, precision, unit, limits, and value labels.
A safe decoding workflow
Name the raw location
Create the tag with the correct address space and PDU address. Do not compensate for addressing mistakes with a scale or word swap.
Choose the codec
Match the vendor's width and signedness. Ensure the source view includes every consumed word.
Prove layout
Use hexadecimal raw words and a known device value to establish byte/word order.
Apply scale and offset
Only after the raw numeric value is correct, add the documented engineering conversion.
Add presentation
Set unit, precision, value labels, and limits. These should communicate meaning, not hide uncertainty.
Test boundary values
Verify zero, negative values, high range, or enumerated states where possible.
Import a vendor register map
Busloom imports CSV, TSV, and XLSX through a preview rather than guessing column meaning. Choose whether source addresses are PDU offsets or documentation addresses, map columns to Busloom fields, review validation errors, then decide whether conflicts add only or update existing tags.
| Mechanism | What it reuses | Important behavior |
|---|---|---|
| Import preset | Column mapping and address interpretation for another file with the same shape | Import/export/delete one preset at a time |
| Device definition | Reusable package of views, tags, and metadata | Applying it copies definitions; the project stays self-contained |
| Tag export | A portable review or spreadsheet round-trip of project tags | Use when exchanging a register map without a complete project |