ProSoft Technology 5204-DFNT-PDPMV1 User Manual
Page 6
Contents
PDPMV1 ♦ ProLinx Gateway
Protocol Manual
PROFIBUS DPV1 Master
Page 6 of 157
ProSoft Technology, Inc.
March 23, 2011
2.5.1
Installing the GSD Files .......................................................................................... 52
2.5.2
Configuring the PROFIBUS Slaves ........................................................................ 53
2.5.3
Printing the ProLinx Memory Map .......................................................................... 69
2.6
Downloading the Project to the Gateway ............................................................... 71
2.7
Backing Up the Project ........................................................................................... 72
3
Mailbox Messaging
75
3.1
Mailbox Message Queuing ..................................................................................... 76
3.1.1
Queue Timeouts ..................................................................................................... 76
3.2
Special Function Mailbox Messaging Commands .................................................. 77
3.2.1
Mailbox Message: Set Operating Mode ................................................................. 78
3.2.2
Mailbox Message: Set Slave Mode ........................................................................ 80
3.2.3
Mailbox Message: Get Slave Diagnostics .............................................................. 83
3.2.4
Mailbox Message: Get Slave Configuration ........................................................... 86
3.2.5
Mailbox Message: Get Database Information ........................................................ 87
3.2.6
Mailbox Message: Get Live List .............................................................................. 89
3.2.7
Mailbox Message: Acyclic Data Read: Class 1 ...................................................... 91
3.2.8
Mailbox Message: Acyclic Data Write: Class 1 ...................................................... 93
3.2.9
Mailbox Message: Start Slave ................................................................................ 95
3.2.10
Mailbox Message: Stop Slave ................................................................................ 96
3.3
Mailbox Messaging Error Codes............................................................................. 99
3.3.1
Acyclic Message Status Word ................................................................................ 99
3.3.2
Return Codes ........................................................................................................ 100
3.3.3
Error Codes ........................................................................................................... 101
3.3.4
DP-V1 Error Codes ............................................................................................... 102
3.3.5
Command Error Codes ......................................................................................... 103
4
Diagnostics and Troubleshooting
105
4.1
Required Hardware ............................................................................................... 106
4.2
Basic Troubleshooting Steps ................................................................................ 107
4.3
PROFIBUS DP-V1 (PDPMV1 Driver) Master LED Indicators .............................. 108
4.3.1
PROFIBUS Master Indicators ............................................................................... 108
4.3.2
Examples .............................................................................................................. 109
4.4
Viewing the Online Status of the PROFIBUS Network ......................................... 110
4.5
Using ProSoft Configuration Builder (PCB) for Diagnostics ................................. 112
4.5.1
Using the Diagnostic Window in ProSoft Configuration Builder - PLX ................. 112
4.5.2
Main Menu ............................................................................................................ 115
4.6
Standard PROFIBUS Slave Diagnostic Bytes ...................................................... 117
4.6.1
Byte 0 - Station Status 1 Bits ................................................................................ 117
4.6.2
Byte 1 - Station Status 2 Bits ................................................................................ 117
4.6.3
Byte 2 - Station Status 3 Bits ................................................................................ 118
4.6.4
Byte 3 - Master Address ....................................................................................... 118
4.6.5
Byte 4 - Ident Number High .................................................................................. 118
4.6.6
Byte 5 - Ident Number Low ................................................................................... 118
4.7
Status and Status Mapping ................................................................................... 119
4.7.1
PDPMV1 Command Status Data Area ................................................................. 120
5
Reference
121
5.1
PROFIBUS comDTM ............................................................................................ 122
5.1.1
ProSoft Technology Product Availability ............................................................... 122