Publication 1757-RM810A-EN-P - May 2002
3-62 Functional Blocks
Utility Blocks
FLAG
FLAGARRAY
Description Provides storage for a single two-state value which can be accessed as a simple Boolean (OFF or ON) value using the
PVFL parameter, or as one of two user-configured state values (for example, Running and Stopped) via the PV
parameter.
Function • Used to define two separate states (for example, Running/Stopped, Off/On) to indicate status of a particular input.
• There are 2 user-configurable state descriptors, STATETEXT [0] and STATETEXT [1] that are used to describe
STATE0 and STATE1 respectively.
• Current state of flag can be changed/read using PVFL (Boolean) or using PV (either STATETEXT [0] or STATETEXT
[1]).
• Block also supports:
– configurable access lock which determines who can write a value to the block (such as operator, engineer, or
other function block).
– an Off-Normal Alarm whereby one of the flag’s states is configured as the normal state; whenever the flag
changes state, the Off-Normal Alarm is generated.
Inputs/Outputs PVFL is the only exposed block connection, but you can expose other block parameters through the Configure Block
form in Control Builder.
Parameters ACCLOCK
DESC
EUDESC
HIALM.PR
HIALM.SV
HIALM.TYPE
INALM
NORMAL
OFFNRMALM.FL
OFFNRMALM.PR
OFFNRMALM.SV
ORDERINCM
PV
PVFL
STATE0
STATE1
STATETEXT [0..1]
Description Provides storage for up to 1000 2-state values. The value can be accessed as a simple Boolean (Off or On) using the
PVFL [n] parameter. Where “n” is the number of the flag.
Function • Used to define two separate states (Off/On) to indicate status of a particular input.
• Number of flag values (NFLAG) is user configurable.
• Current state of flags can be changed/read using flag value (PVFL [n]) (Boolean).
Inputs/Outputs Boolean output flags (PVFL [1..1000])
Parameters ACCLOCK
NFLAG
ORDERINCM
PVFL [1..1000]