beautypg.com

ProSoft Technology PTQ-PDPMV1 User Manual

Page 179

background image

PTQ-PDPMV1 ♦ Quantum Platform

Mailbox Messaging

PROFIBUS DP Master Network Interface Module for Quantum

User Manual

ProSoft Technology, Inc.

Page 179 of 306

August 12, 2014

Mailbox Message Structure: From PTQ module

Quantum
Address
(Example)

Unity
Address
(Example)

Relative
Word
Offset

Type

Description

41180

%MW1180

79

Message ID Message ID value will match value used

to generate the outgoing mailbox
message

41181

%MW1181

80

Message
Info

See individual commands for data
values to be entered in each of these
register locations

41182

%MW1182

81

Command

41183

%MW1183

82

Data Size

44184

%MW1184

83

Frame
Count

41185

%MW1185

84

Frame
Number

41186

%MW1186

85

Offset high

41187

%MW1187

86

Offset Low

41188

%MW1188

87

Extended
Word 1

41189

%MW1189

88

Extended
Word 2

41190

%MW1190

89

Extended
Word 3

41191

%MW1191

90

Extended
Word 4

41192

%MW1192

91

Extended
Word 5

41193

%MW1193

92

Extended
Word 6

41194

%MW1194

93

Extended
Word 7

41195

%MW1195

94

Extended
Word 8

-

-

-

See
individual
commands

41223

%MW1223

222

Keep the following points in mind:
 If the In_Mailbox_Control_Index values are equal in the Input and Output

Data blocks, the PTQ module will place the next message present in the
mailbox queue into the Input Data image and increment the
In_Mailbox_Control_Index in the Input Data image.

 After the processor processes a new In Mailbox Message, it should set the

In_Mailbox_Control_Index (in the Output Image) to match the value received
in the Input Image. This tells the PTQ module to transfer the next In Mailbox
Message (if there is one) to the processor.