beautypg.com

Mailbox commands, Mailbox, Commands – ProSoft Technology 5205-DFNT-PDPS User Manual

Page 18

background image

PDPS ♦ ProLinx Gateway

Functional Overview

PROFIBUS DP Slave

Page 18 of 61

ProSoft Technology, Inc.

December 31, 2008

3 In the PLC Program create an array of 200 bytes. The contents of the array

are described in the Mailbox Command and Mailbox Structure tables.

2.4 Mailbox

Commands

Start Value

Stop Value

Direction

Description

150 151 PLC to PDPM to

PDPS

Database Write transfer, from the PLC's
perspective.

The value of 150 in the specific Array index
location as indicated in the Mailbox structure
table will cause the PROFIBUS Slave driver to
transfer the data in the 200 Byte array to the
Database locations above word 400. The Value
of 151 stops the data transfer.

160 161 PDPS to PDPM to

PLC

Database Read transfer, from the PLC's
perspective.

The value of 160 in the specific Array index
location as indicated in the Mailbox structure
table will cause the PROFIBUS Slave driver to
transfer the data to the 200 Byte array from the
Database locations above word 400. The Value
of 161 stops the data transfer.

PLC = PROFIBUS master interface in PLC.
PDPM = PROFIBUS Master.
PDPS = PROFIBUS Slave.

NOTES:
The block number for each device must be changed to trigger an operation.
The I/O data area is owned exclusively by only the PLC or PDPM.
A timeout must be implemented in the PLC in case the PDPM is not present.