This page is a guide on using the "Paste Tags" feature on displays. The feature allows for direct integration of solution tags into displays, streamlining the configuration process and enhancing data visualization. Additionally, we discuss how to copy and paste tags onto symbols, emphasizing that when copying and pasting a tag from a custom type that shares the same name as a symbol, the symbol will be pasted with the tag already configured.
On this page:
How to integrate Tags into Displays within a Solution? This section covers the process of creating or selecting tags, copying them, and pasting them directly into the display area. It also explains how to automatically format simple tags, arrays, and custom types and how to paste tags onto symbols with matching names, ensuring accurate and seamless tag integration within the display environment. Topics include tag creation, copying and pasting tags, formatting different tag types, and handling symbol integration.
The first step to use this feature is to create a Tag in your Solution. This tag can be a simple one, an array or Custom Type.
To better understand the feature, three examples are shown below. The tags created are as follows:
1. Tag.Integer -- Integer DataType -- Array of 10 elements.
2. Tag.Digital -- Digital DataType -- Simple Tag.
3. Tag.Custom -- Custom DataType --
Sub-Elements: Element1 (Integer), Element2 (Integer.)
Now that our tags were created, we can start adding them to the display. Right-click the Test Tag, and select Copy Selected Row option.
Go to the Draw Environment, at the desired Page. Right-click the display and select Paste. You should see the Tag being inserted into the display, already formatted with a TextOutput, for label, and a TextBox for displaying value.
The same logic can be applied for array Tags. Copy the Tag row from Unified Namespace → Tags related to Integer array. All elements should appear formatted when Pasted into a page.
Lastly, for a Custom Type Tag, Copy the Parent element from Unified Namespace → Tags and Paste it into your page. The child elements will be automatically formatted at the Display.
When there is a symbol with the same name of custom type, the copy and paste of a tag from this custom type to a page will not paste the tag to a Text Output; it will paste the symbol with the tag already configured.
Custom Type “Motor” and tag array Motors for motor type. |
Below is the “Motor” symbol using the motor custom type:
Copying Motors tag to a page will past all motors symbols created and configured with the right tag:
It is possible to execute this operation with custom type inside of custom type with several different custom type at same time.
In this section: