beautypg.com

8 set slave address message structure – ProSoft Technology 5204SE-MNET-PDPMV1 User Manual

Page 210

background image

5204SE-MNET-PDPMV1 ♦ ProLinx Gateway

Reference

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

User Manual


Page 210 of 235

ProSoft Technology, Inc.

December 22, 2009

4.6.8 Set Slave Address Message Structure

Parameter Description

Command Initiator

Application

Command Name

FB_APPL_SET_SLAVE_ADDRESS

Command Number

0006h

Fragmented No

Extended Header Data

Fault information may be returned in the header of the response.

Command and Response Layout: Set Slave Address

Command

Response

Message ID

(ID)

(ID)

Acyclic Message Status

Word

4002h

0002h

Command

0006h

0006h Set

Slave

Address

Data size (Size of data bytes in hex)

(Size of data bytes in hex)

Number of Slave Data

bytes (n)

Frame count

0001h

0001h

Frame number

0001h

0001h

Offset high

0000h

0000h

Offset low

0000h

0000h

Extended word 1 Current Slave

Address

New Slave

Address

Current Slave

Address

New Slave

Address

Extended word 2

Slave Ident Number

Slave Ident Number

Extended word 3 No_Add_Chg

No_Add_Chg

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

Message Data Byte 1

Slave Data 1

Slave Data 1

Message Data Byte 2

Slave Data 2

Slave Data 2

Message Data Byte 3

Slave Data 3

Slave Data 3

...

Message Data Byte 'n'

(where 'n' <= 240)

Slave Data 'n'

Slave Data 'n'

Acyclic Message Status Word

Refer to Acyclic Message Status Word (page 218).

Current Slave Address

Range 0 to 125

Specifies the current address of the slave.