Tag types (UDT)
A tag type describes an object once: which tags it has, with what addresses, units and archiving, and which alarms. You create instances of the type in a tag table (Pump1, Pump2, Pump3), and each one becomes the tags Pump1.Run, Pump1.Speed and the alarm Pump1.Fault. Change the type and every instance changes.

Creating a type
Section titled “Creating a type”Project → Tag types (UDT)…. The list of types is on the left, the selected type on the right:
- Tags: the name inside the type (
Run,Speed), data type, address, connection, unit, write access, archiving and comment. - Parameters: what differs between instances, such as a data block number, a base address or a name for messages. A parameter can have a default value.
- Alarms: name, tag (the name of a type tag, such as
Fault), condition, limit (a number or a type tag), priority and message.
These placeholders are substituted in addresses, comments and messages:
| Placeholder | Meaning |
|---|---|
%Instance% |
The instance name (Pump1) |
%Name% |
An instance parameter, or its default value |
For example, the Siemens S7 address DB%DB%.DBX0.0 with the parameter DB=10 becomes DB10.DBX0.0; the simulator address MEM:%Instance%Run becomes MEM:Pump1Run.
The connection of a type tag: empty means the instance’s connection, - means an internal tag, and a name means that connection.
A type from existing tags
Section titled “A type from existing tags”If the object’s tags already exist (Pump1.Start, Pump1.Run, Pump1.Fault), select them in the table and choose Project → Create type from selected tags…. The tags become a type, and the table gets an instance Pump1 with the same tags. The alarms of these tags move into the type. The name Pump1 is replaced with %Instance% in addresses and texts; addresses that encode the object number differently (DB10) should be changed to use a parameter.
Instances
Section titled “Instances”Use the Instances button on the tag table toolbar (or Project → Type instances in table…):
- name, type, connection, parameters separated by semicolons (
DB=10; Base=4) and comment; - Next copies the selected instance with numbers increased:
Pump1→Pump2,DB=10→DB=11.
Instance tags are shown in the table in italics and cannot be edited there: change the type or the instance parameters instead. Screens, scripts, trends and recipes refer to them like ordinary tags.
Storage and the server
Section titled “Storage and the server”Types are stored in tagtypes.json in the project folder, and instances in their table file (instances). When the server loads the project it expands the instances into ordinary tags and alarms, so drivers, the archive, OPC UA and the web HMI handle them like any other tag.
Checks
Section titled “Checks”The project check reports: an instance without a type, a duplicate instance name, a missing connection, a %…% parameter that the type does not declare, an empty type and a duplicate tag in a type. Clashes between instance tags and ordinary tags are caught by the general tag check.