4-274
Flow-X─ Function Reference
Flow-X General functions - fxSetOnEvent
fxSetOnEvent
The 'fxSetOnEvent' function sets a tag 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
Target
The cell or tag that has to be set.
This must be a direct reference to a
cell.
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
Optional condition that needs to be
valid while the event occurs.
If the condition is not valid, then teh
target will not be set to the value.
TRUE
Function
outputs
Remark
EU
SW tag
Alarm
Fallback
Date and time
Date and time that the most recent
event has occurred
fxSetIndexOnChange
The 'fxSetIndexOnChange function sets one tag from an array of tags to a specific value whenever
another value changes.
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.
Change
A change if this value will set the
Target to the Value. This must be a
direct reference to a cell.
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.
Содержание flow-x
Страница 1: ...Function Reference Certified flow calculations Flow and batch calculations Worksheet functions...
Страница 331: ...Flow X Function Reference 5 331 Flow X IO Functions fxPT100Table...
Страница 349: ...Flow X Function Reference 6 349 This page is intentionally left blank for user notes...
Страница 350: ...6 350 Flow X Function Reference This page is intentionally left blank for user notes...