ProSoft Technology PTQ-PDPMV1 User Manual
Page 88

Configuring the Processor with Unity Pro
PTQ-PDPMV1 ♦ Quantum Platform
User Manual
PROFIBUS DP Master Network Interface Module for Quantum
Page 88 of 306
ProSoft Technology, Inc.
August 12, 2014
The Get Alarm function block does not require a trigger because this mailbox is
initiated from the module. Refer to Alarm Indication (page 170) for more
information.
The trigger byte is a variable that can assume different states as follows:
Value
Description
0
OK to send new mailbox request. The last mailbox request was already acknowledged
by the module.
1
Mailbox request to be performed. The Quantum program should make sure that the
required conditions are satisfied (as previously discussed) before moving a value of 1
to the trigger register. The function block will then build the mailbox request by copying
all mailbox input parameters to the mailbox output variable that is transferred to the
module through the backplane. Then the function block will automatically change the
trigger’s value to 2.
2
Processor has performed the mailbox request and is waiting for the acknowledgment
from the module. The acknowledgment informs that the module has received the
request (the actual mailbox response is actually sent later). After the acknowledgment
is rece
ived, the function block will reset the trigger’s value back to 0.
3.4.4 Specific Input Pins
Each function block has input pins specifically for each mailbox. For example, in
order to send a Get Diagnostics mailbox, the application must set the PROFIBUS
slave address input pin. The processor program must configure the input pins
before performing the mailbox request by moving a value of 1 to the mailbox
trigger.
3.4.5 Specific Output Pins
Each function block contains output pins that are updated after the mailbox
response is received by the processor. For example, the Get Diagnostics
function block has an ExtendedDiagData output pin that stores the diagnostic
information received from the slave.
Example
If the Set Operating Mode mailbox function block is used as follows: