User Manual

Table Of Contents
Appendix 205
Example Configurations using WAGO-I/O-CHECK
WAGO-I/O-SYSTEM 750
I/O Modules
6.5.2.2.3 Determining the Master
1. Choose one of the modules to be the master and set byte 4 to 0x01
(MBX_DEVICE_ROLE).
2. Execute the mailbox command "SetLocalDeviceRole" (opcode 0x56) for
this module to assign it the role of master.
3. Wait five seconds after the execution so that the internal Bluetooth
®
sub-
system can change over.
The remaining four Bluetooth
®
modules are already configured as slaves by
the factory setting.
Table 39: Mailbox command "SetLocalDeviceRole"
Byte 6 5 4 Toggle Opcode empty C/S
PD/O
0x00 0x00
0x01 0x00 0x56 0x00 0x20
PD/I
0x00 0x00 0x00 0x00 0x56 0x00 0x60
6.5.2.2.4 Querying the MAC Address
1. To query the MAC addresses of the master and slaves, use the mailbox
command "GetLocalMacID" (opcode 0x42) (see Table 40). Execute the
command for all modules.
Table 40: Mailbox command "GetLocalMacID"
Byte 10 9 8 7 6 5 4 Toggle Opcode empty C/S
PD/O
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x42 0x00 0x20
PD/I
0x00 0x00 0x06 0xC6 0x__ 0x__ 0x__ 0x00 0x42 0x00 0x60
2. Take note of the return values of bytes 4 through 9 in Table 40 below:
Table 41: Entering return values
Byte 9 8 7 6 5 4
Master
0x00 0x06 0xC6
0x___ 0x___ 0x___
Slave 1
0x00 0x06 0xC6
0x___ 0x___ 0x___
Slave 2
0x00 0x06 0xC6
0x___ 0x___ 0x___
Slave 3
0x00 0x06 0xC6
0x___ 0x___ 0x___
Slave 4
0x00 0x06 0xC6
0x___ 0x___ 0x___