![HMS AnyBus-M Скачать руководство пользователя страница 22](http://html1.mh-extra.com/html/hms/anybus-m/anybus-m_manual_2141663022.webp)
Mailbox Interface 4-4
Enable/Disable Automatic Address Programming
(MB_SET_AUTO_ADDRESS)
Description
This function enables / disables the automatic slave 0 address programming feature.
Command and response layout:
Parameter
Description
Command initiator
Application
Command Name
MB_SET_AUTO_ADDRESS
Message type
02h
Command number
0005h
Fragmented
No
Extended Header data
-
Command data
Mode value. (00h = Disable Automatic Address Programming, 01h = Enable
Automatic Address Programming)
Response data
The response indicates if the command was accepted. The response data is
a copy of the command data.
Command
Expected response
Message ID
(ID)
(ID)
Message information
4002h
0002h
Command
0005h
0005h
MB_SET_AUTO_ADDRESS
Data size
0001h
0001h
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
Mode
Mode
00h=Disable, 01h=Enable