Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Easy Heading Macro
headingIndent40
navigationTitleOn this page
selectorh2,h3
wrapNavigationTexttrue
navigationExpandOptiondisable-expand-collapse

This page has information about how to paste tags to displays.


On this page:

Table of Contents
maxLevel3


Create or Select Tags in the Project

The first step to use this feature is to create a Tag in your Project. 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:

Code Block
1.	Tag.Integer1 -- Integer DataType -- Simple Tag.
2.	Tag.Digital1 -- Digital DataType -- Array of 10 elements.
3.	Tag.CustomType -- Custom DataType
-- Sub-Elements: Element1 (Integer), Element2 (Integer.)




Copy Selected Tags to Clipboard

Now that our tags were created, we can start adding them to the display. Right-click the Integer1 Tag, and select Copy Selected Row option.




Paste Tags in the Draw area 

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 Edit → Tags → Objectsrelated to Digital1 array. All elements should appear formatted when Pasted into a page.


Lastly, for a Custom Type Tag, Copy the Parent element from Edit → Tags → Objects and Paste it into your page. The child elements will be automatically formatted at the Display.



Copy and Paste Tags to Symbols

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.

Info
titleExample

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...

Page Tree
root@parent
spacesV10