MHJ-SoftwareMHJ WikiOnline manuals PLC-Lab 3D Studio v1

Tags-Window

5 min readUpdated 2026-06-01

This page is relevant for ✅Studio ❌Player (in parts)

The Tags window can be displayed via the Tags button in the Toolbar.

What are Tags?

Tags or Symbols are input variables, output variables, and markers that are defined in the symbol table. The data exchange with the control program takes place via these variables. The control program can be implemented in a real PLC or in a software PLC. Furthermore, the control program can also be a C# script or a Python script.

Image Description
Tags-Window 1: Title bar of the Tags window
2: Text filter. Tags can be filtered.
3:List of tags
4: Options: Show comments? Allow forcing? Show internal markers?
5: Tags can be edited in a window.
6: Tags can be imported.

Filtering tags

The tags can be filtered using the text field (2).

Examples:

  • If you enter B1, then B1, B11, B12, and so on will be displayed.
  • If you enter "B1" (with quotation marks), only B1 will be displayed, not B11 or B12.
  • Or logic: When you enter B1|B2, all tags containing B1 or B2 are displayed. When you enter "B1"|"B2", only tags named exactly B1 or B2 are displayed.
  • When you enter <not_used>, all tags that are not yet used in the scene are displayed.

Forcing Tags

Forcing means that a tag is set to a specific value. As long as a tag is 'forced', this value remains unchanged.

Forcing Tags:

  1. The Force switch at (4) must be turned on.
  2. Press the letter "F" to the right of the tag's data type. The "F" will be highlighted in red. Now the tag can no longer be influenced by the control program or by sensors. For Bool tags, you can click on the tag's name to toggle its value (true becomes false and vice versa). For Analog tags, a text input field and a button appear. The new value can be entered in the field and written by clicking the button.

Edit individual tags (v1.4.1)

In stop mode, the addresses, names and comments of a tag can be changed directly in the tags window without having to reopen the project. The changes are applied to all skill settings. Click on the tag name in Stop mode. The property window opens with the option to change the properties.

Tip

Preferably use this method to change tag names, as it automatically updates all skill properties that use these tags.

Editing all Tags

Change the address or name of the tags
Change the address or name of the tags

Click the Tags icon (1) to open the Tags window on the left. Then press the Edit button (2) to open the Edit Tags window.

Changing tag addresses:

Each tag definition starts with an address. Enter the desired address here. If the addresses should be sequential, simply enter "I" or "Q" (without a number) — the address will auto-increment. Avoid duplicate addresses (two tags with the same address).
If needed, you can copy the entire content, edit it in an external editor, and paste it back.
Once all changes are made, click Apply (4) at the bottom.
After modifying the addresses, the project must be reloaded. An orange button will appear at the bottom of the screen — click it to reload the project.

Note

Some devices are tag-based. This means that the tag address is not used, only the tag name. Tag based devices: AllenBradley, OPCUA, CSharpScript, MqTT

Changing tag names:

Open the Edit Tags dialog as described above and modify the tag name (the actual name appears after the first semicolon).

Warning

Ideally, define tag names at the beginning of the project and only change them if necessary, as they are used in skill configurations. If you change a tag name, all affected skills must be manually updated afterward.

After confirming the dialog (4), the project must be reloaded. If tag names were changed and references to the old names exist in skills, errors will appear in the Skill Manager:

Tag Name Error
Tag Name Error
  • The Skill Manager icon will display the number of errors (1). Click it to open the Skill Manager.
  • Click Filter Errors (2) to list all 3D objects with errors.
  • Affected skills are marked with a red exclamation mark (3). Select such a skill to view the specific error message in the right-hand properties window.

In the example, the name NewProduct was changed to NewProductx, so NewProduct can no longer be found (4). Enter NewProductx at (5) to resolve the error.

Summary, please note

If the entire tag list is edited, existing skills cannot be updated automatically. For example, if you have changed the tag name in a sensor to S10 and the sensor previously had the tag name S1, the skill must be adapted manually with the Skill Manager and the new tag name S10 must be entered in the skill. Unknown tags are recognized as errors in the Skill Manager and can be filtered there. The entire tags list should only be edited if the project does not yet contain any skills. Comments can be edited at any time without causing problems.

Structure of a Tag line:

Example:

txt
I0.0;B0;BOOL;Cube is at pick position

Format:

txt
Absolute-Address;Tag-Name;Tag-Data-Type;Tag-Comment

Allowed data types:

Data Type Size in Bits Number Range
BOOL 1 true/false
BYTE 8 0 to 255
INT8 8 -128 to 127
INT16 16 -32,768 to 32,767
INT32 32 -2,147,483,648 to 2,147,483,647
UINT8 8 0 to 255
UINT16 16 0 to 65,535
UINT32 32 0 to 4,294,967,295
FLOAT 32 ±1.5 × 10^−45 to ±3.4 × 10^38

Importing Tags

Tags can be imported. See the button in image (6).

Supported Formats:

  • Siemens TIA Portal (XML files from variable export)
  • Siemens Simatic Manager (ASC files from variable export)
  • CSV files in the format: Address;Symbol-Name;Data-Type;Comment