Skip to main content
Version: 2.7

AlarmEventPools

HumanOS® Runtime implements an Alarm and Event Handling based on messaging publisher and subscriber.

  • AlarmSource: The alarm source provides alarms and events.
  • Alarm & Event Services: Services consume alarms and events.
  • AlarmEventPool: message space

The underlying system is built as a publisher and subscriber system. Internal communication directly communicates through these messaging ports.

AttributeDescriptionData Type
IdId of the alarm event poolSystem.Guid
NameAlarm event poolSystem.String
HistoryModeHistorization mode of the alarm event pool. The history mode declares how to historize the messages in the database.

Example of an alarm event pool:

{
"AlarmEventPools": [
{
"Name": "AlarmPool",
"Id": "FA1611AB-B6C9-4FF4-B34D-BF35E6A44232"
}
]
}

Alarm Message

Field NameDescriptionData Type
EventIdId of the eventSystem.Int32
MessageEvent textSystem.String
SeveritySeverity of the eventSystem.Int32
SourceNodeIdGlobalId of the source nodeSystem.Guid
SourceNameName or path of the sourceSystem.String
ActiveFlag is the alarm is active (=true) or gone (=false)System.Boolean
AlarmTypeAlarm type (Unknown; Information; Warning; Alarm; Emergency)EAlarmType
ConditionNameCondition name, e. g. Alarm 1029System.String
OccurrenceOccurrence timestampSystem.DateTime
DisappearanceDisappearance timestamp (valid only if Active = false)System.DateTime
PropertiesCustom specific properties of an alarm. Key-value pairsDictionary<string, string>

Event Messages

Field NameDescriptionData Type
EventIdId of the eventSystem.Int32
MessageEvent textSystem.String
SeveritySeverity of the eventSystem.Int32
SourceNodeIdGlobalId of the source nodeSystem.Guid
SourceNameName or path of the sourceSystem.String
TimeTime of event occurrenceSystem.DataTime

AlarmEventPool Extension for UHAL Plugins

On the UHAL, alarm event pools are used to collect messages and alarms from hardware systems.

AttributeDescriptionData Type
TasksList of tasks to read alarm and events from hardware systemsTAlarmEventTaskInfo[]

Attributes from TAlarmEventTaskInfo:

AttributeDescriptionData Type
AddressNative address to access alarm and eventsSystem.String
NOTE

UHAL device information support only one alarm event pool per connection.

Example:

"AlarmEventPool": {
"Id": "81c47f51-1961-4c2b-b544-63e72163195a",
"Name": "Alarming",
"Tasks": [
{
"Id": "6D88F8D0-622D-42F1-A7E3-EFB51715A727",
"Name": "StandardAlarms",
"Address": "Nc1.NcAlarmEvent:0"
}
],
"HistoryMode": {
"SamplingRate": 1000,
"Retention": 0
},
"Properties": [
{
"Name": "PortMatchId",
"Value": "CNCAlarmEvent"
}
]
}