Fxsetonchange; Fxsetoncondition - Spirit flow-x Function Reference

Table of Contents

Advertisement

fxSetOnChange

The 'fxSetOnChange function sets a tag or cell to a specific value whenever another value changes
Function inputs
Module
Target
Value
Change
Function
outputs
Date and time

fxSetOnCondition

The 'fxSetOnCondition' function sets a tag or cell 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
Module
Target
Value
Condition
Function
outputs
Date and time
Remark
Number of the Flow-X/M module.
-1 : local module
1..8 : module 1 through 8
The cell or tag that has to be set.
This must be a direct reference to a
cell.
Value to be assigned. May be a
constant a formula or a reference to
another cell or tag.
A change if this value will set the
Target to the Value. This must be a
direct reference to a cell.
Remark
Date and time that the most recent
change has occurred
Remark
Number of the Flow-X/M module.
-1 : local module
1..8 : module 1 through 8
The cell or tag that has to be set.
This must be a direct reference to a
cell.
Value to be assigned. May be a
constant a formula or a reference to
another cell or tag.
Boolean expression.
When the expression outcome is
TRUE (<> 0), then the target is set to
the value.
Remark
Date and time that the most recent
event has occurred
Flow-X─ Function Reference
Flow-X General functions - fxSetOnChange
EU
SW tag
Range
-1 .. 8
EU
SW tag
Alarm
EU
SW tag
Range
-1 .. 8
EU
SW tag
Alarm
4-273
Default
Fallback
Default
Fallback

Advertisement

Table of Contents
loading

Table of Contents