ProSoft Technology MVI56-PDPMV1 User Manual

Page 140

Advertising
background image

Mailbox Messaging

MVI56-PDPMV1 ♦ ControlLogix Platform

User Manual

PROFIBUS DPV1 Master

Page 140 of 255

ProSoft Technology, Inc.

March 22, 2011

To send a mailbox request

1 Enter the mailbox configuration parameters (if applicable) in the following

controller tag:
MVI56PDPMV1.Mailbox.<MailboxName>.Out.<ParameterName>

Note: This step is not applicable to the following mailboxes (no parameters required):
 SetClearMode
 SetStopMode
 SetOperatingMode
 GetLiveList

2 Toggle the mailbox trigger bit MVI56PDPMV1.Command.<MailboxName>
3 Verify that the mailbox trigger bit is automatically reset
4 Verify that the message to request the mailbox was successfully executed

through the increment of the following controller tag:
MVI56PDPMV1.Util.MSG.MailboxRequest.DNCounter.ACC

5 Verify that the message to retrieve the mailbox response was successfully

executed through the increment of the following controller tag:
MVI56PDPMV1.Util.MSG.MailboxResponse.DNCounter.ACC

6 Refer to the mailbox response data (if applicable) in the following controller

tag: MVI56PDPMV1.Mailbox.<MailboxName>.In.<ResponseDataName>

Note: this step is not applicable to the following mailboxes (no response data):
 SetClearMode
 SetStopMode
 SetOperatingMode

Example - GetSlaveConfiguration Mailbox
The following example shows how to use a mailbox command to retrieve the

slave configuration (identifier bytes) from a PROFIBUS slave.
The first step is to configure the parameters that will be required for the mailbox.

For the GetSlaveConfig mailbox, the only parameter required is the PROFIBUS

slave address (MVI56PDPMV1.Mailbox.GetSlaveConfig.Out.SlaveAddress).

Toggle the trigger bit to initiate the mailbox message request:

Advertising