Download InTouch User's Guide

Transcript
6-20
Chapter 6
2.
Since Condition Scripts are executed based upon a condition being met, you
must specify the condition (a discrete tagname or expression) in the Condition
box.
TIP
You can also use a discrete expression that equates an analog tagname
to true or false. For example, TankLevel >= 75. In this example, when
the value of the tagname TankLevel is greater than or equal to 75, the
script will execute.
The value for the condition must transition to become true or false
before the script will execute. For example, if the initial value when
WindowViewer starts is true, the value must become false and then true
again for an On True script to execute.
You can apply all four script types to the same condition. Both While
True and While False scripts will begin executing after the specified
number of milliseconds have elapsed. To cause immediate execution,
create duplicate On True and/or On False scripts. For example:
3.
In the Comment box type any miscellaneous comments that you want on file
regarding the script.