Flow-X─ Function Reference
4-275
Flow-X General functions - fxSetIndexOnCondition
Function
outputs
Remark
EU
SW tag
Alarm
Fallback
Date and time
Date and time that the most recent
change has occurred
fxSetIndexOnCondition
The 'fxSetIndexOnCondition' function sets one tag from an array of tags to a specific value whenever a
condition is true.
It is a generic function that is especially useful for implementing logic for controlling output signals (e.g.
valve commands) and state machines (e.g. prove sequences).
Function inputs
Remark
EU
SW tag
Range
Default
Module
Number of the Flow-X/M module.
-1 : local module
1..8 : module 1 through 8
-1 .. 8
-1
Index
The index number of the target tag
to be set
Value
Value to be assigned. May be a
constant a formula or a reference to
another cell or tag.
Condition
Boolean expression.
When the expression outcome is
TRUE (<> 0), then the target is set to
the value.
Target 1
The tag that has to be set when the
index number is 1. This must be a
direct reference to a cell.
Target 2
The tag that has to be set when the
index number is 2. This must be a
direct reference to a cell.
etc.
Function
outputs
Remark
EU
SW tag
Alarm
Fallback
Date and time
Date and time that the most recent
event has occurred
Summary of Contents for flow-x
Page 1: ...Function Reference Certified flow calculations Flow and batch calculations Worksheet functions...
Page 331: ...Flow X Function Reference 5 331 Flow X IO Functions fxPT100Table...
Page 349: ...Flow X Function Reference 6 349 This page is intentionally left blank for user notes...
Page 350: ...6 350 Flow X Function Reference This page is intentionally left blank for user notes...