ProSoft Technology PTQ-PDPMV1 User Manual
Page 93

PTQ-PDPMV1 ♦ Quantum Platform
Configuring the Processor with Unity Pro
PROFIBUS DP Master Network Interface Module for Quantum
User Manual
ProSoft Technology, Inc.
Page 93 of 306
August 12, 2014
3.5.3 Alarm Mailbox
Function Block: GETALARMS
Trigger Byte: The GETALARMS function block does not require a trigger
because this mailbox is initiated from the module.
Description: The GETALARMS mailbox is used to read the alarm mailbox
messages sent by the module. The module will automatically generate the alarm
mailboxes after it receives the alarm message from the PROFIBUS slave.
The last alarm received is copied at the LastAlarm output pin. This is a data
structure that contains all alarm information:
This function block also keeps track of the last 100 alarms through the HistAlarm
output pin.
For example, if the module receives 100 alarms (first alarm - Sequence Number
= 1, second alarm - Sequence Number = 2, and so on), after alarm #100 is
received, the processor application could refer to these alarms stored at the
following output pins:
Last Alarm - Alarm #100
HistAlarm[1] - Alarm # 99
HistAlarm[2] - Alarm # 98
HistAlarm[3] - Alarm # 97
HistAlarm[4] - Alarm # 96
HistAlarm[5] - Alarm # 95
HistAlarm[6] - Alarm # 94
HistAlarm[7] - Alarm # 93
HistAlarm[8] - Alarm # 92
HistAlarm[9] - Alarm # 91
HistAlarm[10] - Alarm #90
If the HistoricAlarm buffer is full and it receives a new alarm, then the oldest
alarm in the queue will be deleted to reserve space for the new alarm.
The AlarmCount output pin is incremented every time the alarm mailbox is
received. This register will roll over at 30000. The processor application can keep
track of this register to determine when the processor has received a new alarm
mailbox message from the module.