Expression Binding - Checking Conditions
You can use expression bindings to return true or false based on different conditions.
Example 1
Consider the following expression that references the tag with a path of 'Folder/Machine State':
{Folder
/
Machine State}
=
0
The above expression simply tests the value of the Machine State tag. If the value of the Machine State tag is ever equal to 0 then the above expression would return true. In every case where Machine State is not equal to 0, then the expression would return false.
Example 2
It is possible to check for multiple conditions in the same expression. If you have two boolean tags and you only want the expression to return true if both tags are true then the binding would look like:
{boolTag1}
=
True
&& {boolTag2}
=
True