Skip to main content

Tags

A tag is one value from a device, such as a pump speed or a tank level, with its units, quality and timestamp.

Tag Management: the tag tree, a group and the properties of a tag

Paths and groups​

A tag's path names it and places it in groups, separated by /: Plant/Line1/Pump1/Speed is the tag Speed in group Pump1, inside Line1, inside Plant.

  • Allowed characters: letters, digits, spaces and _ - . ( ) #.
  • Groups are created by the paths of their tags; there is nothing else to set up.
  • Changing a tag's path renames or moves it.

The Tag Management page shows the tree in the Tags section of the sidebar, with the number of tags in each group. Type in Filter tags… to narrow it. Select a group to see all its tags in a table, with sub-groups as collapsible sections and the group's own tags under Ungrouped tags. From there you can add a tag to the group (New tag in this group) or delete the group and every tag in it.

The tree shows names only (no live values) to keep the sidebar light; values are in the group table and tag panel. The filter button next to the search box narrows the tree by connector and then by device (Memory tags appear as "(memory)"). An orange dot on the button means a filter is on; Clear removes it.

Rename​

Right-click a tag or group in the tree and choose Rename / Rename group, or select it and press F2. Type the new name (without the folder); a name already used in that folder must be changed before Rename is enabled. Renaming a group moves every tag in it, and bound groups inside it stay bound to their template. Tags that come from a template, and sub-groups inside a bound group, are named by the template: rename them there.

Duplicate, copy and paste​

Right-click a tag to copy its path or open its properties

Right-click a tag or group in the tree:

  • Duplicate (Ctrl+D) makes a copy next to the original with the next free suffix: HighLevel becomes HighLevel_1, then HighLevel_2. Duplicating a group copies every tag in it.
  • Copy (Ctrl+C) puts the tag or group on the clipboard. Paste (Ctrl+V) appears on groups ("Paste X into this group"), on tags (into the same group) and on empty space in the tree (top level).
  • Paste asks for a name. Two tags or groups can't share a path, so if the name is already taken you must change it before Paste is enabled. The server checks this too and refuses the whole paste if any path is taken.
  • Copies are ordinary tags: they are not bound to a template, even when the original was.

Creating or editing a tag​

Press + in the Tags header (the tag goes into the selected group), or select a tag to edit it. A tag inside a group opens in a properties panel on the right, next to its group's table, so you can move from tag to tag; close the panel with × or Esc. Tags outside any group open on their own page. Right-click a tag (in the tree or a table) to Copy tag path or open its properties; right-click a group to copy its path.

General​

FieldMeaning
PathName and group, as above
Data typeBool, Int16, UInt16, Int32, UInt32, Float32, Float64
UnitsShown with the value, e.g. rpm, °C, %
DisplayHow the live value is shown (see Display formats). The stored, logged and historised value is not changed
AccessRead or Read and write (only Read and write tags can be written from the UI or by other applications). Writable tags show a W next to their name in the tag tree and group view
DescriptionFree text
Log every value changeRecord every value change of this tag in the log, Tag category (quality changes are always logged)
HistoryStore value changes in the history database, with a history deadband, rates and chart settings (see History)

Source​

Which connector, device and poll group the value comes from, and its address in the device. Press the (i) button next to Address to see how to write addresses for the selected connector and device; click an example to use it.

The i button beside Address explains the addresses of the connector

Modbus addresses (Modbus TCP and Modbus RTU):

Write it asMeaning
HR:100Holding register 100 (counting from 0)
IR:0Input register 0
CO:5Coil 5
DI:2Discrete input 2
HR:10.3Bit 3 of holding register 10 (a Bool tag)
40001, 30001, 00001, 10001Modicon style, counting from 1 (40001 is HR:0)

32-bit types use two registers and 64-bit types four, starting at the address. The address is checked against the device when you save.

Word order (Modbus) sets how a 32- or 64-bit value is laid out in its registers, for this tag only. Leave it on Device default to use the device's setting (shown in brackets). Pick another when one or two registers in a device are arranged differently from the rest, without adding a second device:

ChoiceRegisters hold (for the float 1200.0 = 44 96 00 00)
ABCD high word first4496 0000
CDAB low word first0000 4496
BADC high word first, bytes swapped9644 0000
DCBA low word first, bytes swapped0000 9644

Byte order replaces Word order on 16-bit tags (Int16, UInt16), which use a single register. Default (AB) is the Modbus standard, high byte first; pick BA only if this register's two bytes arrive reversed (1234 sent as 3412). The device's word order never changes 16-bit tags. Bool tags show neither setting.

Encoding (Modbus, integer tags only) says how the number is stored in the register. Binary (the default) is the normal Modbus way: 0x0056 is 86. Pick BCD (binary-coded decimal) when the device puts one decimal digit in each hex digit, so the register reads the same in hex as in decimal: 0x0056 reads as 56, 0x1234 as 1234. Meters, counters, timers, thumbwheels and older PLCs often do this; their manual says "BCD" or shows hex values that look like plain decimal numbers. Int16 and UInt16 tags hold 4 digits (0 to 9999), Int32 and UInt32 hold 8 in two registers (word order applies as usual). Writes are encoded the same way, and a value outside that range or below 0 is refused. A register with a hex digit above 9 (0x00AB) is not BCD: the tag goes Bad with reason NotBcd. Scaling applies after decoding, so a meter giving 0x1234 tenths can still show 123.4.

These settings are also on template tags, and are copied to every bound group. When you change a tag's data type, a setting that no longer applies is removed.

Siemens S7 addresses​

An S7 address is an area, a size and a byte offset, as in TIA Portal's Offset column. All values are big-endian, so there is no word order to set. Letters can be upper or lower case.

Siemens S7 address help

Write it asMeaningTag types
DB1.DBX0.0Bit 0 of byte 0 in DB1 (BOOL)Bool
DB1.DBB2Byte 2 in DB1: BYTE or USINT (UInt16), SINT (Int16)UInt16, Int16
DB1.DBW4Word at byte 4: INT (Int16), WORD or UINT (UInt16)Int16, UInt16
DB1.DBD8Double word at byte 8: DINT (Int32), DWORD or UDINT (UInt32), REAL (Float32)Int32, UInt32, Float32
DB1.LREAL16LREAL (8 bytes) at byte 16Float64
DB1.STRING24.20A STRING[20] at byte 24 (it takes 22 bytes); DB1.STRING24 is a STRING[254]String
DB1.DTL264A DTL date and time at byte 264 (12 bytes), shown as 2026-11-27 12:21:05.123; write it in the same form. Its parts on their own: YEAR DB1.DBW264, MONTH DBB266, DAY DBB267, WEEKDAY DBB268, HOUR DBB269, MINUTE DBB270, SECOND DBB271 (UInt16), NANOSECOND DBD272 (UInt32)String
DB1.DT276A DATE_AND_TIME (8 bytes), shown as 1990-01-01 00:00:00.000; years 1990 to 2089String
DB1.DATE290A DATE (2 bytes), shown as 2026-11-27String
DB1.TOD286A TIME_OF_DAY (4 bytes), shown as 12:30:05.250, or as milliseconds since midnight with a number tagString, UInt32, Int32
DB1.S5TIME284An S5TIME (2 bytes) in milliseconds, 0 to 9 990 000; a write picks the finest time base that holds the valueUInt32, Int32
DB1.DBD300A TIME (4 bytes) in millisecondsInt32
M10.3, MB10, MW10, MD10Markers (flags)as for DB
I0.0, IB0, IW0, ID0 (or E0.0, EB0…)Inputs (process image)as for DB
Q4.1, QB4, QW4, QD4 (or A4.1, AB4…)Outputs (process image)as for DB
V10.3, VB0, VW2, VD4LOGO! variable memory (VM), the same as DB1as for DB

The tag's data type must fit the size: a D address can be Int32, UInt32 or Float32, but not Float64. Writing a string longer than its declared length is refused. Bits are written on their own, so the other bits of the byte are not touched.

Siemens S7 symbols​

On a PLC set to Symbolic access, the address is the variable's name as in TIA Portal. Press Browse to pick it from the PLC instead of typing; that also fills in the tag type.

Write it asMeaning
"DataDB".SpeedMember Speed of data block DataDB (optimized or not)
"DataDB".Motor.CurrentA member of a structure or UDT
"DataDB".Values[3]One element of an array; address each element on its own
"Start_Button"A PLC tag from a tag table (inputs, outputs, markers)

Names are matched exactly, including upper and lower case. Quotes around the block name are optional unless it contains a dot. An absolute address such as DB2.DBD0 is still accepted on a symbolic PLC: it is read through the variable at that address (blocks without optimized access, markers, inputs and outputs only). Tag types: Bool for BOOL; Int16 for INT and SINT; UInt16 for WORD, UINT, BYTE and USINT; Int32 for DINT and TIME (milliseconds); UInt32 for DWORD and UDINT; Float32 for REAL; Float64 for LREAL, LINT and LWORD; String for STRING, WSTRING, CHAR and dates. A name the PLC does not have makes the tag Bad with BadAddress, and the log says which one; the other tags keep reading.

OPC UA addresses​

An OPC UA address is the variable's node id. Press Browse to pick it from the server; that also fills in the tag type.

Write it asMeaning
ns=2;s=Line1.Motor1.SpeedString node id in namespace 2 (most PLCs and gateways)
ns=3;s="DataDB"."Speed"Siemens S7-1500 built-in server
ns=4;s=|var|PLC.Application.GVL.SpeedCODESYS-based controllers
ns=3;i=1001Numeric node id
nsu=urn:example:plant;s=Tank1.LevelNamespace by its URI instead of its index (survives the server renumbering namespaces)
ns=3;i=5001/3:SpeedThe child Speed (namespace 3) of object ns=3;i=5001: a browse path after the node id
i=2258The server's current time (namespace 0)

Tag types: Bool for Boolean; Int16 for SByte and Int16; UInt16 for Byte and UInt16; Int32 for Int32 and enumerations; UInt32 for UInt32; Float32 for Float; Float64 for Double, Int64 and UInt64; String for String, LocalizedText, DateTime (yyyy-MM-dd HH:mm:ss.fff, UTC), Guid, ByteString (hex) and arrays (1, 2, 3, read only). Structures have no tag type. Writes are sent in the node's own type (a Float64 tag writing to an Int16 node sends an Int16) and refused if the value does not fit. The server's quality is kept: Uncertain values show as Uncertain, Bad ones as Bad with the OPC UA status name (BadNodeIdUnknown, BadNotReadable, …).

OPC DA addresses​

An OPC DA address is the item id, exactly as the server names it (letter case and spaces count on most servers). Press Browse to pick it from the server; that also fills in the tag type. The (i) help lists the forms below.

Write it asMeaning
Channel1.Device1.Tag1KEPServerEX: channel, device and tag
Random.Int4Matrikon OPC Simulation Server
Simulation Examples.Functions.Ramp1KEPServerEX simulation example (spaces are part of the id)
[PLC1]N7:0RSLinx: topic PLC1, integer file N7, word 0
S7:[S7 connection_1]DB1,REAL0Siemens SIMATIC NET: DB1 real at byte 0

Tag types: Bool for Boolean; Int16 for Char and Short; UInt16 for Byte and Word; Int32 for Long; UInt32 for DWord; Float32 for Float; Float64 for Double, 64-bit integers, Currency and Decimal; String for String, Date and arrays (1, 2, 3, read only). Writes are sent in the item's own type (a Float64 tag writing to a Short item sends a whole number) and refused if the value does not fit or the item is read only (OPC_E_BADRIGHTS).

Serial addresses​

A Serial connector's address says what to send, and how to find the value in the reply. It is a list of key=value pairs separated by ;:

KeyMeaning
req=Text to send, e.g. req=W. The connector's request terminator (usually CR LF) is added. {id} is replaced by the device's ID
listenSend nothing: take the value from what the device sends on its own (continuous output, barcode readers). Use instead of req=
match=The reply must match this regular expression. With listen, it picks the messages meant for this tag
field=Split the reply and take field number n, counting from 1
sep=Field separator for field=: , by default; \; for a semicolon, \t for a tab, a space for spaces
regex=Take capture group 1 of this regular expression (or the whole match)
decimal=,The device writes decimals with a comma (12,5)
bytes=Binary reply: the value starts at this byte, counting from 0. Numbers take their size from the data type (Int16 2 bytes, Int32 and Float32 4, Float64 8); a String takes bytes=start:length or the rest of the reply
order=leWith bytes=: little-endian (low byte first). Big-endian (be) is the default
bcdWith bytes= on an integer tag: the bytes are packed BCD, one decimal digit per hex digit, so 05 60 reads as 560. 2 bytes hold 4 digits (Int16, UInt16), 4 bytes hold 8 (Int32, UInt32). A hex digit above 9 makes the tag Bad (NotBcd)
write=Makes the tag writable: text sent on a write, with {value} or {value:0.00} (number format)
ack=With write=: the device must reply with a message matching this, else the write fails

Numbers are found inside the text, so +0012.50 kg reads as 12.5 without a regex=. A Bool tag reads 1, ON, true or yes as true and 0, OFF, false or no as false, and any other number as true when it is not zero. A String tag gets the text with spaces and line ends trimmed.

Examples for a scale that answers W with ST,GS,+0012.500,kg:

AddressTypeValue
req=W;field=3Float6412.5
req=W;field=1StringST (stable)
req=W;regex=GS,([-+\d.]+)Float3212.5
listen;match=^ST,GS;field=3Float64The weight, from continuous output, only when stable
req=SP?;write=SP {value:0.0};ack=^OKFloat64Reads the target; writing 30 sends SP 30.0 and expects OK
listenStringThe last message, e.g. a barcode
req=#{id}RD;field=2;sep= Float32Several instruments on one RS-485 line, #01RD, #02RD, …
req=\x02R\x03;bytes=4;order=leFloat32Binary: four bytes from byte 4, low byte first
req=\x02C\x03;bytes=2;bcdUInt16Binary BCD: bytes 05 60 from byte 2 read as 560

Write a ; inside a value as \;, and control characters as \r, \n, \t or \xHH. Spaces around values are dropped; write \x20 for a space at the start or end of a request.

Scaling and offset​

Turns raw device numbers into engineering units:

value = raw scaled from Raw min…max to EU min…max, plus Offset

ToRaw min…maxEU min…maxOffset
Divide by 10 (raw 125 → 12.5)0…100…10
Divide by 1000…1000…10
Multiply by 10 (raw 125 → 1250)0…10…100
Add 5 only0…10…15
Subtract 273.15 (Kelvin to °C)0…10…1-273.15
Divide by 10, then add 20…100…12
Analog input 0…27648 to 0…100 %0…276480…1000

The editor shows the result as a short summary (for example ÷10 + 2) and a worked example with your numbers.

Clamp at EU min/max keep the final value (after the offset) inside the EU range.

Writes are converted back: you write in engineering units, the offset is taken off, and the device receives raw units.

Deadband​

Ignores small changes so that noise does not flood the log, the UI and other applications.

  • Absolute: a change smaller than this value (in engineering units) is ignored.
  • Percent: a change smaller than this percentage of the EU span is ignored.

Live values and quality​

Values update live. Quality is one of:

  • Good: the value was read successfully.
  • Uncertain: the value may not be right.
  • Bad: no current value; the reason is shown (for example CommFailure when the device does not answer). The last good value is kept.

Display formats​

Display in a tag's General section sets how its live value looks on the tag page, in group and device tables. The drop-down shows an example of each with the tag's type.

DisplayValue 1234.5678 / -5Types
Auto1234.57 (as read: whole numbers as they are, others with 2 or 3 decimals)all
0, 0.0, 0.00, 0.000, 0.00001235, 1234.6, 1234.57 … rounded to that many decimalsnumbers
+0, +0.0, +0.00, +0.000+1235, -5: the sign is always shown (zero has none)numbers
Hex0x04D2; negative values in the type's own width, so -1 on an Int16 is 0xFFFFintegers
Binary bits0000 0100 1101 0010, every bit of the type in groups of fourintegers
Text (abc)The bytes as characters, high byte first: 0x4142 shows AB; others show ·integers

Bool and String tags are always shown as read. Changing the data type to one that does not fit the format sets it back to Auto. Template tags have the same setting, and the Excel workbook has a Display column.

Writing a value​

Select a Read and write tag, type a value in engineering units and press Write. String tags (for example a Siemens STRING) take the text exactly as typed. The result is shown, and every write is logged under Logs → Tag.

Many tags at once​

For several units of the same equipment, use an equipment template. To create or change many tags, export them to Excel, edit the workbook, and import it again: see Tags and templates in Excel. The full configuration can also be exported and imported as JSON: see Backup, import and change history.