Assigning variables to transitions, Table 7.2—transition condition expressions – Watlow LogicPro User Manual
Page 92
![background image](/manuals/359135/92/background.png)
Chapter 7: Sequential Function Charts
LogicPro User’s Guide
76
Watlow Anafaze
Doc.# 28002-00 Rev 3.00
Assigning Variables to Transitions
Transition conditions must take the form of a single
expression. A Transition condition can be a variable that
allows the program to continue once the variable value is
greater than 0. It could also be one or more variables related
by Boolean operators resulting in a Boolean true or false
result. Any integer value greater than 0 is considered true.
The following list of operators, shown in Table 7.2, may be
used in the Transition condition expression:
Table 7.2
Transition Condition Expressions
To assign a logical condition to a Transition:
1.
Select the
[Selector]
tool.
2.
Double-click on the Transition to which you want to
assign a condition. The
Transition Condition
dialog
box appears.
3.
Select a variable for the transition by selecting the
appropriate checkbox and double-clicking the variable
name in the list.
4.
If the condition expression needs an operator, press the
Operator List
button on the dialog box. Add the
operator by double-clicking it.
Operator Symbol
Function
*
Times
/
Divided By
+
Plus
-
Minus
>=
Greater Than or Equal To
>
Greater Than
<=
Less Than or Equal To
<
Less Than
==
Equals
!=
Not Equal To
!
Not
&&
And
||
Or
&&!
And Not
||!
Or not
(
Left Parenthesis
)
Right Parentheses