User manual

PTQ-PDPMV1 Quantum Platform Mailbox Messaging
PROFIBUS DP Master Network Interface Module for Quantum User Manual
ProSoft Technology, Inc. Page 159 of 306
August 12, 2014
6.2.2 Mailbox Message: Get Slave Diagnostics
This command reads diagnostic data from a specified slave.
Note: The response data size depends on the actual slave implementation. Range 6 to 244.
Parameter
Description
Command Initiator
Application
Command Name
GET SLAVE DIAGNOSTICS
Command Number
0400h
Fragmented
No
Extended Header Data
Fault information may be returned in the header of the response.
Command and Response Layout: Get Slave Diagnostics
Command
Response
Message ID
(ID)
(ID)
Message information
0240h
0200h
Command
0400h
0400h
Get Slave Diagnostics
Data size
0000h
(Size of data)
Frame count
0100h
0100h
Frame number
0100h
0100h
Offset high
0000h
0000h
Offset low
0000h
0000h
Extended word 1
Type of
request
Slave
Address
Type of
request
Slave
Address
Extended word 2
-
-
Extended word 3
-
-
Extended word 4
-
-
Extended word 5
-
Error code 2
Error code 1
Extended word 6
-
Error code 4
Error code 3
Extended word 7
-
Return Code
Extended word 8
-
Fault Information
Station
Status 2
Station
Status 1
Response data word 1
Station
Status 4
Station
Status 3
Response data word 2
Ident Number
Response data word 3
Extended Diagnostic Data
Response data word 4
...
...
Response data word n