4-276
Flow-X─ Function Reference
Flow-X General functions - fxSetIndexOnEvent
fxSetIndexOnEvent
The 'fxSetIndexOnEvent' function sets one tag from an array of tags to a specific value whenever an
event occurs.
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.
Event
Boolean expression.
When the expression outcome
changes from FALSE to TRUE (or
from 0 to <> 0), then the target is set
to the value.
Condition
Condition that needs to be valid
while the event occurs.
If the condition is not valid, then the
target will not be 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...