ProSoft Technology MVI46-PDPMV1 User Manual

Page 89

Advertising
background image

MVI46-PDPMV1 ♦ SLC Platform

Mailbox Messaging

PROFIBUS DPV1 Master

User Manual

ProSoft Technology, Inc.

Page 89 of 160

March 25, 2011

4.3

Receiving Mailbox Message Responses from the 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

MVI46 module to the processor. The response is returned from the MVI46-

PDPMV1 via the M1 file.
Remembering the PROFIBUS Input Data Memory Map:

Byte Offset

Name

Description

0 to 72

Configuration, Status and Control data

73

Number of Messages in the In Mailbox Queue

74

Number of Messages in the Out Mailbox Queue

75

Number of Messages in the Alarm Queue

76

Last Out Mailbox Message ID processed from Output

Image

77

Current In Mailbox Control Index

78

Current Alarm Control Index

79 to 222

Incoming Mailbox Message data

223 to n

PROFIBUS Input Data


The important section relevant to the Mailbox Messaging discussion is the

Incoming Mailbox Data section (Byte Offsets 79 to 222). Within this section of

data, the following structure exists:

Mailbox Message Structure: From MVI46 module

Byte Offset

Type

Description

79

Message ID

Message ID value will match value used to generate the

outgoing mailbox message

80

Message Info

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

81

Command

82

Data Size

83

Frame Count

84

Frame Number

85

Offset High

86

Offset Low

87

Extended Word 1

88

Extended Word 2

89

Extended Word 3

90

Extended Word 4

91

Extended Word 5

92

Extended Word 6

93

Extended Word 7

94

Extended Word 8

-

See individual
commands

222

Advertising