ProSoft Technology 5204-DFNT-PDPMV1 User Manual
Page 5
PDPMV1 ♦ ProLinx Gateway
Contents
PROFIBUS DPV1 Master
Protocol Manual
ProSoft Technology, Inc.
Page 5 of 157
March 23, 2011
Contents
Your Feedback Please ........................................................................................................................ 2
How to Contact Us .............................................................................................................................. 2
ProSoft Technology
®
Product Documentation .................................................................................... 2
Important Installation Instructions ....................................................................................................... 3
ProLinx
®
Products Warnings ............................................................................................................... 3
ProLinx Gateways with Ethernet Ports ............................................................................................... 3
To upgrade a previously purchased Series C model ..................................................................... 3
1
Functional Overview
9
1.1
About the PROFIBUS Protocol ............................................................................... 10
1.2
Compatibility Note ................................................................................................... 11
1.3
PROFIBUS DP Architecture .................................................................................... 12
1.3.1
How Cable Length Affects Communication Rate .................................................... 12
1.3.2
Bus Access .............................................................................................................. 12
1.3.3
Token Passing ......................................................................................................... 13
1.3.4
Master/Slave Polling ................................................................................................ 13
1.4
Communication Types ............................................................................................. 14
1.5
Master/Slave Communication Phases .................................................................... 15
1.6
Gateway Internal Database ..................................................................................... 16
2
Configuration
17
2.1
Configuring the Gateway ......................................................................................... 18
2.1.1
Installing ProSoft Configuration Builder Software ................................................... 18
2.1.2
Setting Up the Project ............................................................................................. 22
2.1.3
Setting Gateway Parameters .................................................................................. 24
2.2
PROFIBUS Master DPV1........................................................................................ 26
2.2.1
Input Start Register ................................................................................................. 26
2.2.2
Input Data Size ........................................................................................................ 26
2.2.3
Output Start Register ............................................................................................... 26
2.2.4
Output Data Size ..................................................................................................... 26
2.2.5
Input Byte Swap ...................................................................................................... 27
2.2.6
Output Byte Swap ................................................................................................... 27
2.2.7
Mailbox Register ...................................................................................................... 28
2.2.8
Slave Diagnostics Register ..................................................................................... 29
2.2.9
Alarm Register ......................................................................................................... 29
2.2.10
Status Data Register ............................................................................................... 29
2.2.11
Minimum Command Delay ...................................................................................... 29
2.2.12
Response Timeout .................................................................................................. 29
2.2.13
Watchdog Register .................................................................................................. 29
2.2.14
Watchdog Timeout .................................................................................................. 30
2.2.15
Watchdog Reset Value ............................................................................................ 30
2.3
PROFIBUS Master Commands .............................................................................. 31
2.4
Example Mailbox Commands ................................................................................. 33
2.4.1
Set Operating Mode ................................................................................................ 33
2.4.2
Get Live List ............................................................................................................ 38
2.4.3
Start/Stop Slaves ..................................................................................................... 43
2.4.4
Other Mailbox Commands....................................................................................... 49
2.5
Configuring the PROFIBUS DP Network ................................................................ 52