Download 3720 kB

Transcript
124 • Appendix
Mailbox Command References
6.3.5
6.3.5.1
Device Configuration
Read the Local Device Name(GetLocalDeviceName, 0x40)
The characters of the Bluetooth® name of the local bus module are read by this
query. The number of characters returned depends on the configured name,
but has a maximum of (mailbox size - 3).
Note
The complete device name can be a maximum of 15 characters. The complete
device name can be queried with DLD commands regardless of the mailbox size.
Conditions
Mailbox size
Operating mode/profile
Device role
6
12
18
Config.
Realtime
Ad hoc
Master
(●)
(●)
●
●
-
-
●
Slave
Save
config.
Restart
●
-
-
Request
Byte
27
0
26
25
24
23
22
21
20
MBX_GETLOCALDEVICENAME
1
T
-
Response
Byte
27
0
1
26
25
24
23
22
21
20
MBX_GETLOCALDEVICENAME
T
MBX_RESULT
2
MBX_NAME_LENGTH
3
CHAR1
...
...
17
CHAR15
Return values
Parameter
Value
Description
MBX_NAME_LENGTH [0...255] Number of characters of the complete name
CHARn
[0...255] Characters of the device name in ASCII code
Example: "ABC"
A = CHAR1 = 0x41
B = CHAR2 = 0x42
C = CHAR3 = 0x43
WAGO-I/O-SYSTEM 750
I/O Modules