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

Compare with Current View Page History

« Previous Version 8 Next »

How To Use

The first step to use this feature is to create a tag in your project. This tag can be a simple one such 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.)



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


 

Navigate to the Draw environment in your desired page. Right-click on the display and select Paste. You should see the tag being inserted into the display, and it should be already 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 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 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.


The symbol “Motor” using the motor custom type:



Executing copy of 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 types at same time.


  • No labels