beautypg.com

ProSoft Technology PTQ-PDPMV1 User Manual

Page 80

background image

Configuring the Processor with Unity Pro

PTQ-PDPMV1 ♦ Quantum Platform

User Manual

PROFIBUS DP Master Network Interface Module for Quantum

Page 80 of 306

ProSoft Technology, Inc.

August 12, 2014

MailOut[0] = StatIn.MailBoxData_LastOutMailboxMessageID

Each mailbox data structure is implemented through variables that are divided
into Out and In data structures, where:

Out = values copied from the processor to the module

In = values copied from the module to the processor

Each Out data structure contains a Cmd bit. After the Cmd bit is toggled, the
logic will increment the mailbox ID (output) to send the mailbox request to the
module.

The following illustration shows the interface for the SetOperatingMode mailbox:

The following condition indicates that the module has a mailbox response to be
sent to the processor. Therefore, the function block implementation will handle
the block by copying the response data to the appropriate mailbox data structure.