Overview
the key point of symbols not only the symbol but a full dialogue our full screen we can very easily remapping to another assets and you can do that also when running the application we don't need to do that at the engineering level uh you see here the speed of that one is much faster you can do that dynamically also based on asset model or base mqtt broker"
On this page:
Custom Symbols And Data Types
Craft Custom Symbols with specific data links to fit their needs. For instance, a user might create a custom pump symbol that automatically appears when an integer data type is dragged onto the graphical interface, a useful feature for representing equipment or processes in industrial control systems.
Users also have the capability to design their unique data types, like a 'PumpDataType', which could include parameters such as 'FlowRate', 'Pressure', and 'Status'. These represent different aspects and states of an actual pump. Dragging the 'PumpDataType' onto the screen automatically brings in all these parameters, offering a detailed and interactive representation of the equipment.
Smart Symbols extend this functionality with a library of over 500 predefined symbols, in addition to those created by users, and are synchronized across the system. For example, a Smart Symbol might be a temperature gauge with adjustable parameters like 'TemperatureValue', 'MinScale', and 'MaxScale'. Modifying this symbol updates all its instances in user interfaces, ensuring consistency and easing updates.
To manage these symbols, users can go to Displays → Symbols for exporting, importing, or deleting functions. To view all available symbols, one can navigate to Displays → Draw → Drawing and choose Insert Symbol. This suite of features provides users with the tools to create data-rich and visually intuitive interfaces, specifically tailored to their industrial applications.
Symbol Parameters and Dynamics
When you insert a symbol from the Symbol Library, it may have parameters. For our example, the VerticalTank symbol has the LevelValue, MaxScale, and MinScale parameters. To change the tags linked to these parameters, edit the new tag names in the dialog.
Editing and modifying symbols
Right-click the VerticalTank symbol and select Edit Symbol. This starts the Edit mode and allows you to see all of the objects that are part of the Vertical Tank.
Click on the black rectangle to see its Dynamics.
We use #<PropertyName>:TagName
This syntax will create the exposed label parameters for the symbol. This makes it easier to map any linked tags when you are using the symbol.
For this example, the symbol has the "Level","MinScale", and "MaxScale" labels. When you insert this symbol in your display, you will be able to set the values for these parameters. The default value is after the colon ":" character.
"#LevelValue:Client.SimulationAnalog", creates a property called the "LevelValue" that has "Client.SimulationAnalog" as the default value.
You can use any name for the Label parameter.
When creating symbols, it is useful to initially map the properties to client.SimulationDigital, Client.SimulationAnalog, or Client.SimulationDouble. These are variables with values that change every second so you can see the result of your dynamic properties. You can use the internal Client.DigitalValue, Client.NumericValue, and Client.TextValue variables when you want to use a placeholder value without any built-in simulation.
In order to save the symbol, right-click the symbol or on the display and click Save to Symbol Library or click the Save icon on the top toolbar. Double-click the symbol to verify its properties.
Symbols workflow
Requirements
Defining Tag templates: Explain how to define data types for symbols.
Defining Tag objects: Explain how to define tags.
Defining Categories: Explain how to define categories.
Using Symbols
Drawing Symbols
Creating New Symbols
You can use the drawing tools and the COMBINE commands in the horizontal toolbar to draw your own symbols.
You can also use the symbols from the Symbol Factory and click the UNGROUP command in the horizontal toolbar to edit the imported symbols.
You can use the Direct Selection cursor to edit internal elements without needing to ungroup.
If you want to save a new symbol to the Local Symbols Library, select the object or objects that you want to be part of the symbol. Then, right-click and select Make a new symbol.
Enter the Name, Folder, and the description of the Symbol.
You can open the Symbol Library and choose the symbol to use in your displays.
Inserting A Local Symbol
Go to the Display Drawing Environment, right-click the screen and select Insert Symbol. Alternately, you can click the Local Symbol icon in the vertical toolbar.
After selecting a category and symbol, click the symbol. Then, click the screen to position the symbol. You can also drag-drop symbols onto the screen. If you double-click a symbol, it will close the library window and will allow you to insert the selected object.
Double-click a symbol to see its runtime properties and map it to the tags in your application.
Some symbols do not have custom parameters. In this case, double-clicking the symbol will show the Dynamics dialog.
Customizing Symbols
Linking Symbols and Tags
A symbol can be configured to be the default representation of a tag type. Every time you paste a tag into the Draw Environment, a symbol will be automatically created and mapped to the inserted tag.
The Digital, Integer, Double, Decimal, Text, DateTime, and TimeSpan tag types have the name of the tag and an input/output text box as their default visualization. To select multiple lines on Unified Namespace → Tags click on a line and hold Shift while clicking on another line to mark a range. The system will automatically create one object for each of the tags.
If you want to change any of the properties for the objects that were created, select all the TextBox objects by clicking and dragging over the display. Select the area with the objects and double-click on any selected object to open the "Edit Combined Dynamics" dialog.
The lines on Unified Namespace → Tags can be copied to Excel. Add the Left and Top columns to the Excel table. Then, copy/paste the table and its header column to the display. After this, the system will position the objects using the coordinates found in the table.
If you create a symbol with one dynamic parameter, and save it with the name "Integer", that will become the default visualization for the "Integer" tags. The same applies to any tag type. If you create a symbol with one dynamic parameter and save it with a name, it will become the default visualization for any tag with that name. For example, a symbol saved with the name Integer will become the default visualization for the "Integer" tags.
Linking Symbols To Tag Templates
You can define a symbol to be the default view for a tag template.
Go to Unified Namespace → Data Templates to create a new template.
Go to Unified Namespace → Tags and create tags with Demo type.
In the Display Drawing environment, insert any objects that you want to be part of the symbol. In the example, we use a TextBlock and TextBox with the parameters #Tag: (Tag.Demo.Integer1) for their dynamic properties.
Now, select the TextBox and the TextBlock and right-click to make it a New Symbol with the Name and Folder called "Demo".
The parentheses () in the TextBox and TextBlock expression define the scope on what should be replaced when you map the symbol.
For the hashtag syntax, #Label: When you paste the tags, they become the placeholder that will show where the tag name should be replaced with the dynamic animations or expressions.
Go to Unified Namespace → Tags and copy all tags with Type:Demo.
Paste the tags in the Drawing environment
When inserting tags of this template type, the system will look for a symbol with the same name of the template. If a match is found, the symbol is created and linked to the tag you inserted in the display.
If you create symbols using only Tag Elements and not expressions, you do not need to explicitly use the full syntax: #Label:(tag.Demo).Integer1 to define the label parameters. If you just use your tag in the object's dynamic properties and execute the Make Symbol command, the system will automatically search for tags in the symbol and create the related parameters. When using expressions or when having multiple tags and templates in the same symbol, you must explicitly use the hash tag # and the parentheses in order to define the scope of your symbol's customizable parameters.
Linking Symbols and Tags Using Categories
You can map a symbol to a group of tags, but you do not have to make the symbol map to all tags with the same type. To do this, use the Category column to link which symbols should be used as the default interface for each group of tags.
Go to Solution → Categories and create new categories.
Insert a symbol in the Drawing Environment.
Go to the Displays→ Symbols tab and chose the respective category for the symbol in the Category column.
If the Category column is not visible, right-click any Column name and select columns you want to see.
Go to Unified Namespace → Tags and define the category for the tags.
Select all the tags and copy/paste them into the Draw Environment. Each tag will map to the respective symbol, according to the association defined in the Category column.
Usando exatamente as mesmas palavras
In this section: