beautypg.com

ProSoft Technology 5204SE-MNET-PDPMV1 User Manual

Page 198

background image

5204SE-MNET-PDPMV1 ♦ ProLinx Gateway

Reference

Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master

User Manual


Page 198 of 235

ProSoft Technology, Inc.

December 22, 2009

4.6.3 Get (Extended) Slave Diagnostics Message Structure

Parameter Description

Command Initiator

Application

Command Name

FB_APPL_GET_SLAVE_DIAG

Command Number

0004h

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)

Acyclic Message Status

Word

4002h

0002h

Command

0004h

0004h

Get Slave Diagnostics

Data size

0000h

(Size of data)

Frame count

0001h

0001h

Frame number

0001h

0001h

Offset high

0000h

0000h

Offset low

0000h

0000h

Extended word 1

Slave

Address

Type of

Request

Slave

Address

Type of

Request

Extended word 2

-

-

Extended word 3

-

-

Extended word 4

-

-

Extended word 5

-

Error Code 1 Error Code 2

Extended word 6

-

Error Code 3 Error Code 4

Extended word 7

-

Return Code

Extended word 8

-

Fault Information

Station

Status 1

Station

Status 2

Response data word 1

Station

Status 3

Master

Address

Response data word 2

Ident Number

Response data word 3

Extended Diagnostic Data Response data word 4

...
...
Response data word n

Acyclic Message Status Word

Refer to Acyclic Message Status Word (page 218).

Slave Address

Range 0 to 125, specifies the slave from which to read diagnostics.