FC177

SUMMARY

The AbvSpu provides functions to read and write process attributes (status, measuring value, alarm information) as well as to control process parameters (limits, delay times, etc.).

PARAMETERS (IN)

yLvl (BYTE)
Level (0, 1..15)

PARAMETERS (OUT)

bUnAckn (BOOL)
Unacknowledged
bIsEvnt (BOOL)
Event
bIsEvntUnAckn (BOOL)
Unacknowledged event
bIsNewEvnt (BOOL)
New event
bOk (BOOL)
Status (1=okay, 0=error)

PARAMETERS (IN_OUT)

DESCRIPTION

GetEventInfo() - Reads Event Information
The occurrence of events (status change) may be queried in different ways.

Example of application: Horn control

On occurring of an event of a certain level (yLvl), the parameter 'bIsNewEvnt' may be used to initiate an according action, e.g. controlling the output of a horn.

Description of the input/output parameters
Parameter Description
yLvl Controls the behaviour of the output parameters 'bIsEvnt' and 'bIsNewEvnt'.

The output parameter 'bUnAckn' works independent of 'yLvl'.
bUnAckn At least 1 unacknowledged event is pending.

This information is independent of the Alarm level, i.e. it is not traceable which Alarm Level actuated the alarm. It is not possible to evaluate the current Alarm Level since the alarm might have gone unacknowledged!
bIsEvnt At least 1 event with a level equal to 'yLvl'.

'yLvl=0' means, at least 1 event with an actual Alarm Level>0 is pending, else there must be at least 1 event with exactly the level defined by 'yLvl'. That signal stays set until no event is left matching the above defined conditions.
bIsEvntUnAckn At least 1 unacknowledged event with a level equal to 'yLvl'.

'yLvl=0' means, at least 1 unacknowledged event with an actual Alarm Level>0 is pending, else there must be at least 1 unacknowledged event with exactly the level defined by 'yLvl'.
Note:
Events gone unacknowledged usually does not match the conditions any more, since the level of the condition (gone) normally differs.
That signal stays set until no event is left matching the above defined conditions.
bIsNewEvnt At least 1 new event with a level equal to 'yLvl'.

'yLvl=0' means, at least 1 new event with an actual Alarm Level>0 is pending, else there must be at least 1 new event with exactly the level defined by 'yLvl'.
That signal exists only for the cycle time in which a new event matching the above defined condition occurs.
bOk Status (1=okay, 0=error)

For that call always the status 'true' is returned.