beautypg.com

Alarm parameters, Unacknowledged, Alarm_state/update_state – National Instruments FP-3000 User Manual

Page 71: Alarm parameters -19, Unacknowledged -19 alarm_state/update_state -19

background image

Chapter 4

Block Reference

© National Instruments Corporation

4-19

FieldPoint FP-3000 User Manual

Alarm Parameters

Each block contains a fixed set of alarms it can report, such as High Alarm
or Deviation Alarm. Each alarm parameter is a record describing the
current state of that particular alarm or event. It contains a number of fields
the device uses to reveal the current state of the alarm. Following is a list
of the meaning of each field in an alarm record.

UNACKNOWLEDGED

The

UNACKNOWLEDGED

subfield indicates the acknowledgment state

of the alarm or event. A host application typically acknowledges the
unacknowledged alarm when an operator sees and acknowledges the alarm.

ALARM_STATE/UPDATE_STATE

The current state of the alarm or event can be determined through the

ALARM_STATE

(for alarms) or

UPDATE_STATE

(for events) field of the

alarm or event parameter. This parameter shows the active/clear state of
alarms and the reported/unreported state of both alarms and events.

The first piece of state information in the state field is the active/clear state
of the alarm. An alarm is considered to be active when the alarm condition
is detected to be true. In the case of a limit alarm, the alarm is active when
the process variable, such as the temperature being measured, is beyond the
limit. The alarm state clears when the process variable returns within the
limit, adjusted for any hysterisis factor specified in the

ALARM_HYS

parameter.

All blocks have one alarm known as the Block alarm. The Block alarm is
considered active when any block error conditions (in the

BLOCK_ERR

parameter) are true. The Block alarm clears when the last block error
condition clears.

For all alarms, the alarm condition is checked during each block execution.
Events, on the other hand, are not considered to be active or clear, but
simply one-time notifications.

The second piece of state information in the state field is the reported status
of the alarm or event. When an alarm or event condition is reported to the
host computer, an event notification message is broadcast on the bus if the
alarm has a priority greater than 1. For alarms without priority parameters
(Block alarms and events), the priority defaults to 2 and is always reported.
To confirm the receipt of the event notification, the host responds with a
confirmation message (different from the acknowledgment message