Mailbox Interface 4-10
Get ID Code for Slave (MB_GET_ID)
Description
This function returns the ID Code of a specified slave on the network.
Command and response layout:
Parameter
Description
Command initiator
Application
Command Name
MB_GET_ID
Message type
02h
Command number
0016h
Fragmented
No
Extended Header data
-
Command data
Slave Address
Response data
The response indicates if the command was accepted. The response data
contains the ID code the specified slave.
Command
Expected response
Message ID
(ID)
(ID)
Message information
4002h
0002h
Command
0016h
0016h
MB_GET_ID
Data size
0001h
0002h
Frame count
0001h
0001h
Frame number
0001h
0001h
Offset high
0000h
0000h
Offset low
0000h
0000h
Extended word 1
-
-
Extended word 2
-
-
Extended word 3
-
-
Extended word 4
-
-
Extended word 5
-
-
Extended word 6
-
-
Extended word 7
-
-
Extended word 8
-
Fault information
Message data byte 1
Slave Address
Slave Address
Message data byte 2
ID Code