You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

How To Use

In order to copy and paste tags in your project, you need to create a tag. This tag can be as simple as an array or a custom type. 

To better understand the feature, three examples are shown below. The tags created are as follows:

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



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


 

Navigate to the Draw environment on your desired page. Right-click on the display and select Paste. The tag should be inserted into the display, and it should already be formatted with a TextOutput as its label and a TextBox as its displaying value.


 

The same logic can be applied for array tags. Copy the tag row related to Digital1 Array from Edit-Tags-Objects. All of the elements should appear formatted when pasted into a page.



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 in the display.





Copy and Paste Tags to Symbols

A symbol can be created and given the same name as a tag template. When this happens and someone pastes a tag from that tag template into the draw area, the symbol with the same name as the tag template will be pasted along with all of its tag template structure instead of the default text output that is normally pasted when you copy/paste a tag onto the draw screen.


Example

Custom Type “Motor” and tag array Motors for motor type.


Below is the “Motor” symbol using the motor custom type:



When you copy/paste tags that use the Motors template onto a page, all motors symbols will be created and configured with the correct tag.



You can execute this operation with custom type inside of custom type with several different custom types at same time.


  • No labels