ICP DAS WISE User Manual
http://wise.icpdas.com
196
The function component (IF Condition, THEN Action or ELSE Action) provides
various functions such as:
Setting:
to edit a pre-set function component, click on
to get in to the
setting page of the function component.
Copy:
to copy a pre-set function component, click on
to generate a new
component with the same pre-set component settings. The new function
component will be listed under the pre-set component.
Remove:
to remove a pre-set function component, click on
to remove
the component.
Action Operation mode
:
If the function component is Action and
operation mode is “One-Time”, the
icon will be shown at the left-top
corner of the component; otherwise, the
icon for “Repeat” operation
mode will be shown at the left-top corner of the function component.
Arrange order:
the order of the function component might result in
different outcomes of IF-THEN- ELSE rule execution, therefore, user could
click on
and drag the component to arrange the components into
appropriate order.
The IF-THEN-ELSE logic engine operates according to following rules:
All rules are checked and the actions are executed by the top-down order.
When the evaluation result of the IF statement is “true”, the action with
“One-Time” operation mode would be executed only once; the action with
“Repeat” operation mode would be loop executed.
Only the actions of output channel setting of ICP DAS Module and Modbus
Module could be set to the “Repeat” operation mode. To execute the other
actions repeatedly, you can use the Timer function to perform it.
If you want the action to be triggered “One-Time” again, the evaluation result of
the IF statement should return to “false” first, and then the action will be
executed when the evaluation result of the IF statement become “true” again.
The following section will give more detailed information of IF Condition and
THEN/ELSE Action settings.