ProSoft Technology PTQ-PDPMV1 User Manual
Page 178

Mailbox Messaging
PTQ-PDPMV1 ♦ Quantum Platform
User Manual
PROFIBUS DP Master Network Interface Module for Quantum
Page 178 of 306
ProSoft Technology, Inc.
August 12, 2014
6.3
Receiving Mailbox Message Responses from PTQ Module
After a mailbox message has been sent, a response from the command, usually
containing the requested data or the status of the command, is returned from the
PTQ module to the processor. The response is returned from the PTQ-PDPMV1
via the PROFIBUS Input data block.
Note: This is for the original layout with the default values; it changes if Slave diagnostics are
chosen in PCB.
Remembering the PROFIBUS Input Data Memory Map:
Quantum
Address
(Example)
Unity Address
(Example)
Relative
Word
Offset
Description
41101
%MW1101
0
Configuration, Status and Control data
-
-
-
41163
%MW1163
73
Number of Messages in the In Mailbox Queue
41164
%MW1164
74
Number of Messages in the Out Mailbox Queue
41165
%MW1165
75
Number of Messages in the Alarm Queue
41157
%MW1157
76
Last Out Mailbox Message ID processed from
Output Image
41158
%MW1158
77
Current In Mailbox Control Index
41159
%MW1159
78
Current Alarm Control Index
41180
%MW1180
79
Incoming Mailbox Message data
-
-
-
41223
%MW1223
222
41224
%MW1224
223
PROFIBUS Input Data
-
-
-
41101+N+1
%MW1101+N+1
N
The important section relevant to the Mailbox Messaging discussion is the
Incoming Mailbox Data section (Word Offsets 79 to 222). Within this section of
data, the following structure exists: