Creating Expressions
Previous Topic  Next Topic 


Overview


Expressions can be created by utilizing the Expression Builder which is available from the Create Expressions menu under the Expression button on the ribbon bar.  


Creating expressions


An expression can be built by typing in the Expression text area or by using the ribbon bar to select Variables and the Operators.




The variables and constants for each type of communication can be accessed using the appropriate button in the Variables section in the ribbon bar.  Search boxes are available to find the desired variable, and the cursor can be held over the variable name to show the toggled syntax assisting in finding the appropriate variable and creating the expression.


The Validate button verifies that all parenthesis are in the correct location.  If there is an error with placement, a notification will pop up advising the needed corrections.  If the expression is written in the correct format, a notification will pop up indicating that the expression has validated properly. 


There are a variety of expression examples that can be within this help file. Additionally, more information on the structure can be found here.


Modifying expressions


Existing expression can be customized using the Modify button. Highlight an existing expression and click on the Modify to adjust the values. Once complete select enter, and your new expression will appear within the expression group tree. Modification of an expression will create a new version. See below for more detail.


Existing expressions can be copied with the Copy button.


Expression Groups


Expressions can be optionally placed in Expression Groups to help organize the expressions when modifying or assigning them to machines. Expression Groups can be created or modified by selecting Expression Groups from the Expressions drop down.



Locating Expressions


When an Expression Group is highlighted in the Expression Group list the list of expression will be filtered to only show expressions within the selected group. In addition, the text boxes and drop downs above the lists can be used to filter the content of the lists. In the expression list a green icon with a check will appear next to each expression that is currently assigned to one or more equipment.  


Where Used: This button expressions are assigned to what equipment highlight the equipment and a green check box icon will appear next to all expressions that are currently assigned to the selected equipment. Likewise, when an expression row is selected in the list the “Where Used” button will be enabled. When selected this will pop up a list of equipment that uses the selected expression. 


Versions


The version number (bottom right by the blue arrows) will be an number representing the amount of history records for the selected expression. The arrow buttons will navigate through modified or removed, only copied to a new expression. The date will represent the date of the expression was modified. NOTE: Historical expressions cannot be removed or modified.


Data Listener


The data listener pull down allows you to apply listeners to expressions when needed. More information can be found here.