EMS Manual

Procedure Calls for Standard Events
EMS Manual426909-005
11-32
Implementation
Constraints
The Configured_High_Level value must be greater than or equal to the
Configured_Low_Level value.
Initially, both the Configured_High_Level_switch and the
Configured_Low_Level_switch are set to true.
Behavior
An event is generated when the usage variable reaches or exceeds the
Configured_High_Level value and the Configured_High_Level_switch is true.
Concurrent with generating the event, the Configured_High_Level_switch is set to false
and the Configured_Low_Level_switch is set to true. The setting of the switches
guarantees that subsequent crossings of the Configured_High_Level level cause no
further event generation unless the usage value becomes equal to or less than the
Configured_Low_Level threshold value.
An event is also generated when the usage variable falls to, or below, the
Configured_Low_Level value and the Configured_Low_Level_switch is true.
Concurrent with generating the event, the Configured_Low_Level_switch is set to false
and Configured_High_Level_switch is set to true. The setting of the switches
guarantees that subsequent crossings of the Configured_Low_Level level cause no
further event generation unless the usage value becomes equal to or greater than the
Configured_High_Level threshold value.
Implementation
To implement the algorithm, three procedures are provided:
Configured_High_Level: Defines the value that the usage variable must reach
or exceed in order to generate the event.
Configured_High_Level_switch: A Boolean variable that controls whether the event is
to be generated when the usage reaches the
Configured_High_Level value.
Configured_Low_Level: Defines the value that the usage variable must fall to
or below in order to generate the event.
Configured_Low_Level_switch: A Boolean variable that controls whether the event is
to be generated when the usage falls to the
Configured_Low_Level value.
Procedure Page
EMS_UTCB_INIT_
11-33
EMS_USAGE_THRESHOLD_CHK_ 11-35
EMS_USAGE_THRESHOLD_EVT_BLD_ 11-36