User manual

Configuring the Processor with Concept 2.6 PTQ-PDPMV1 Quantum Platform
User Manual PROFIBUS DP Master Network Interface Module for Quantum
Page 132 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 (as covered later in this User Manual).
The trigger register 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 received, the function block will reset the trigger’s value back to 0.
4.11.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. For a description of each function block input pin, you can double-click
the function block instance and select ADVANCED for the comment about each
input pin. Also refer to the module documentation for detail information about
each mailbox parameter.
4.11.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 ExtDiag output pin that stores the diagnostic information
received from the slave.