Honeywell ISA100 Gen X User Manual page 53

Radio module
Table of Contents

Advertisement

There are four alarms generated by the device.
1.
failure_status_alert
2.
function_check_alert
3.
out_of_spec_alert
4.
maintenance_alert
Each of these four alerts is enabled/disabled using four independent alert report
descriptors specially defined in the UAPMO (attribute 105, 106, 107, and 108).
Each of the Alert report descriptor has two elements, each of size 1 octet.
Alert report disabled
Alert report priority
Each of the Alert is of size 1 octet and is user configurable. The Alerts can be enabled or
disabled by clearing or setting the Alert report disabled element of the Alert Descriptor
attribute.
A single byte is used for controlling the alert descriptor in the code. As the Alert report
disabled is a Boolean internal to the code, a single bit is allocated for this purpose. The Alert
report priority varies from 0 to 15. So a nibble is allocated for this. The rest of the 3 bits are
used for internal purpose to maintain the state of the alarm (alarm sent or not sent, alarm is in-
alarm, or returned to normal condition, and so on).
An example alarm generation code is placed in the sample code to show the generation of the
alarm and to reset the alarm back to normal.
The current code sets and resets Input Fail Alarm (Failure Status Alert) every 2 minutes
implemented through the function send_alarm(). The Function uapmo_set_status_detail_1()
called in the main.c file sets and resets the particular bit of the
UAPMO.DEVICE_STATUS_DETAIL to reflect the status of the alarm. This variable gives
the details about the device diagnostics.
The function uapmo_cycle(), which is called in main.c file, sends the alarm to the Radio and is
called every 1 second.
The function uapmo_update_diagnostic_status () maps the detailed device diagnostics
(column 3 of table) to the broader 4 categories (column1 of table) and updates the details into
the uapmo device_status variable.
When the device joins the network, the function uapmo_alert() function checks if the
corresponding alert is enabled or disabled by checking the uapmo_param_desc descriptor
Release Independent
April 2018
ISA100 Gen X Radio Module User's Guide
Honeywell
53

Advertisement

Table of Contents
loading

Table of Contents