Overview
Symbols are customizable graphical components that can be used on screens. The symbol has the option to be managed in a centralized way, so when changing a Symbol in the solution library, it changes automatically in all displays.
Symbols can have only a static drawing, or they can also have a dynamic behavior and binding to real-time Tags. When using or creating symbols with dynamic properties and tags binding, a simple configuration dialog allows to map the dynamic values to the desired tags, when applying multiple instances of the symbol.
Additionally to allowing full customization, some of symbols frequently used in SCADA displays, like Motors, Blowers, Pumps, Valves and Tasks have a Wizard tool, allowing a quicker customization of its appearance.
On this page:
Product Library and Local Solution Library
Product Symbol Library
When installing the software, a set with a few thousands of global symbols is made available to the solutions. Those pre-defined symbols are stored in the file Library.dbsln, copied on the Templates folder in the Public Documents product folder. That file is a standard built-in solution file, if you you want to customize the built-in library, you just need to open that solution with the Designer and modify the symbols, or other other elements in that global Library.
Solution Local Library
When a Symbol from the global library is used in a Solution, a copy of that symbol is saved in the Solution file, this is important and useful, so it keeps the concept that a solution file is fully autonomous and independent, when copied to a production computer for deployments, or archived, it has within all the solutions needs to run without the needing of external dependencies.
In the Drawing Tool, on the Symbols section, the Tree under "In Solution" are the symbols that are part of the solution file, those symbols are also listed in the solution explorer, navigating to Displays -> Symbols.
The tree under Library, are the symbols in the global library file.
The checkBox with Dynamics, filters to show only the symbols with dynamic properties.
When you select a Symbol from the Library sub-folders, a copy of that Symbol is created in the "In Solution" folders to be used on the displays of that solution.
When you select a Symbol from the "In Solution" folder, you are re-using a Symbols that is already part of the solution.
The first five symbols showed on the list, Blower, Motor, Pump, Tank and Valve, are the Symbol Wizards, which have an additional features: a customization dialog allows you to easily select the appearance of the elements, guiding the selection across the typical visuals for that type of symbol, for instance if the Task is Horizontal or Vertical, and various other customization options. See Symbol Wizards for more information.
Inserting a Symbol and Customizing Parameters
To Insert a Symbol.
- Select a Symbol from the graphical components. It can be from the "Library" sub-folders (external Library file), or from the "In Solution" folder to pickup symbols ready in the solution.
- You can Click on the Symbol in the ListBox to select it, then Click again in the drawing area to Insert ir. Or, if you prefer, you can perform a Drag-Drop operation. Both mouse actions are accepted.
- When you double-click on the Symbol, or press the Properties icon in the toolbar, the Symbol Configuration dialog is shown.
- if the Symbol has dynamic bindings with tags, the Symbol Links will show the Parameters defined for that symbol, to which tag or expression now currently connected. Just use the edit the solution to bind that symbol instance to another variable.
Symbol Configuration Dialog
Symbol Configuration Table | |
---|---|
Property | Description |
Is Linked With Library | If checked, the symbol instance appearance will update when saving the symbol to Solution Library. if unchecked, the symbols is now specific the displays, disconnected from the library. |
Linked Size (Propertional) | When linked to the Solution Library, if the symbol is resized in the Library, it resized on the display. |
Internal Dynamics | The list of dynamic animations used inside the symbol. Further explanation on next section, Symbols and Dynamics |
Copy and Paste | Button to copy the Symbol Links to the clipboard, or paste from it. |
Apply | Apply the edited expressions to the Symbol. This action is optional, when closing the configuration dialog, or selecting another object the expression changes are automatically applied. |
Symbol Links | Table with the Parameters defined to that Symbol. Parameters are an easy and quick way to customize each instance of the Symbol to specific tags when using multiple copies of the Symbol. When creating the symbol, none, one, or more, parameters can be defined to change specific properties of the underlying symbol dynamic behavior and tags binding. |
Symbols and Dynamics
When you insert a symbol from the Symbol Library, it may have customization parameters, for instance, the previous image, has a parameter STATE, which should receive the Expression that will control if the blower will show ON or OFF when running the solution.
Those parameters will affect the behavior of Dynamic properties embedded in the symbol creation. Those internal settings are not visible, unless you EDIT or BREAK the symbol, as described in later sections. The Configuration dialog has a a string, INTERNAL DYNAMICS, which just list the types of animations the symbols has, ir other to assist the understanding of its behavior in runtime.
The DYNAMICS BUTTON in the configuration dialog isn't related to those internal dynamics, but it's intended to add additional dynamic behavior that will apply to the entire symbol, in the same way you can do with any graphical element in the screen.
For instance, you can apply an Visibility-Opacity property, to change the appearance of the entire symbol when in maintenance state, or you can add a ACTION dynamics to perform some operation when the operator clicks on the Symbol.
Symbol Parameters and Dynamics
When you insert a symbol from the Symbol Library, it may have customization parameters. For example, the VerticalTank symbol includes LevelValue, MaxScale, and MinScale parameters. To change the tags linked to these parameters, edit the new tag names in the dialog.
To edit symbols:
- Right-click the symbol and select Edit Symbol.
- Double-click the symbol to open its Dynamics.
- Use the syntax
#<PropertyName>:TagName
to create exposed label parameters for the symbol, simplifying the mapping of linked tags (e.g.:“Level”, “MinScale”, and “MaxScale”). - When you insert this symbol in your display, you can set the values for these parameters. The default value follows the colon “:” character. For example,
#LevelValue:Client.SimulationAnalog
creates a property called “LevelValue” with “Client.SimulationAnalog” as the default value. You can use any name for the label parameter.
When creating symbols, initially map properties to Client.SimulationDigital
, Client.SimulationAnalog
, or Client.SimulationDouble
. These variables change every second, allowing you to see the results of dynamic properties. Use Client.DigitalValue
, Client.NumericValue
, and Client.TextValue
for placeholder values without built-in simulation.
To save the symbol, right-click the symbol or 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
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 Displays / Draw;
- Click on the Symbols in the Components Panel. You can also use the search bar to look for specific symbols;
- Click to select the desired Symbol;
- Click or drag-and-drop it on the Drawing area to use it.
- 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.
Editing a Symbol
Go to Displays / Draw;
Click to select the desired Symbol on the Drawing area;
Click Edit Selected Symbol on the Drawing Toolbar; It will enable the Symbol Editor on the Drawing area.
Linking Symbols and Tags
A symbol can be configured to be the default representation of a tag type. Whenever you paste a tag into the Drawing, 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 tag name 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. The system will position the objects using the coordinates found in the table.
Creating a symbol with one dynamic parameter and saving it with the name "Integer" 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 a new category.
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.
In this section: