ProSoft Technology PTQ-PDPMV1 User Manual

Page 81

Advertising
background image

PTQ-PDPMV1 ♦ Quantum Platform

Configuring the Processor with Unity Pro

PROFIBUS DP Master Network Interface Module for Quantum

User Manual

ProSoft Technology, Inc.

Page 81 of 306

August 12, 2014

StatOut.ModuleStatus_LastinMailBoxMessageID <>
StatIn.MailBoxData_CurrentInMailboxControlIndex

The module will increment StatIn.MailBoxData_CurrentAlarmControlIndex when
the module contains alarms to be sent to the processor. The function block
implementation will then copy the alarm to the appropriate data structure. The
function block implementation uses the following expression to verify if any
alarms are available:

StatOut.ModuleStatus_LastAlarmControlindex <>
StatIn.MailBoxData_CurrentAlarmControlIndex

After the alarm is copied, the logic then updates the alarm index for handshaking
purposes:

StatOut.ModuleStatus_LastAlarmControlindex :=
StatIn.MailBoxData_CurrentAlarmControlIndex

Please refer to Mailbox Messaging (page 151) for further information about each
mailbox parameter.

The following section provides examples of data structure groupings.

Advertising