beautypg.com

Mailbox from plc to gateway, Mailbox from gateway to plc, Example raw database exchange – ProSoft Technology 5205-DFNT-PDPS User Manual

Page 20: Example response block from gw, 1 mailbox from plc to gateway, 2 mailbox from gateway to plc, 3 example raw database exchange, 4 example response block from gw

background image

PDPS ♦ ProLinx Gateway

Functional Overview

PROFIBUS DP Slave

Page 20 of 61

ProSoft Technology, Inc.

December 31, 2008

2.5.1 Mailbox From PLC to Gateway

Start Byte

End Byte

Description

0

0

Block number of data in block

1

1

Block number of data requested

2

198

Data for block

199

199

Block number of data in block

2.5.2 Mailbox From Gateway to PLC

Start Byte

End Byte

Description

0

0

Block number of data in block

1

1

Block number last requested by PLC

2

198

Data for block

199

199

Block number of data in block

2.5.3 Example Raw Database Exchange

Start Byte

End Byte

Description

0

0

150 (Raw data write)

1

1

160 (Raw data read)

2

3

Start register in database for write

4

5

Number of registers to write (1 to 94)

6

7

Start register in database for read

8

9

Number of registers to read (1 to 96)

10

197

Words to write to the database

198 198

Reserved

199

199

150 (Raw data write)

2.5.4 Example

Response Block From GW

Start Byte

End Byte

Description

0

0

160 (Raw data read)

1

1

150 (Raw data write)

2

3

Start register in database for read

4

5

Number of registers to read (1 to 96)

6

197

Words read from the database

198 198

Reserved

199

199

160 (Raw data read)