ProSoft Technology PTQ-PDPMV1 User Manual

Page 84

Advertising
background image

Configuring the Processor with Unity Pro

PTQ-PDPMV1 ♦ Quantum Platform

User Manual

PROFIBUS DP Master Network Interface Module for Quantum

Page 84 of 306

ProSoft Technology, Inc.

August 12, 2014

Mailbox data values are pre-defined for the specific mailbox command.

The first statement

represents the

Message Information of the command (4002h) Set Operating Mode (see specific
mailbox command).

Note: The information is byte swapped for PTQ Master module (Motorola big-endian format).

The remaining values [2] to [7] set the Command, Data Size, Frame Count,
Frame Number, Offset High and Low byte header information. Again, these
values are pre-defined and controlled by the FB.

Most mailbox commands have response information. Refer to Mailbox
Messaging (page 151) for more information. The response information will be

written to the

area of the SetOperatingMode mailbox area. This

information can be read after the mailbox is received and confirmed by the ID
information contained in the CurrentMailboxControlIndex value.

When this statement is true and the Set Operating Command was executed the
following code will be executed:

The appropriate return value(s) for Set Operating Mode can now be read or
accessed in the In.Mode, ConfRequired and FaultInformation values.

Each mailbox command can be executed and responded to using similar
procedures as outlined above.

Advertising