User Manual
Table Of Contents
- Bluetooth® RF Transceiver 750-644
- 1 Important Comments
- 2 I/O Modules
- 2.1 Special Modules
- 2.1.1 750-644 [Bluetooth® RF Transceiver]
- 2.1.1.1 View
- 2.1.1.2 Description
- 2.1.1.3 Indicators
- 2.1.1.4 Schematic Diagram
- 2.1.1.5 Technical Data
- 2.1.1.6 Function Description
- 2.1.1.7 Operating Modes
- 2.1.1.8 Process Image
- 2.1.1.8.1 Process Data Communication
- 2.1.1.8.2 Mailbox Communication
- 2.1.1.8.3 Register Communication
- 2.1.1 750-644 [Bluetooth® RF Transceiver]
- 2.1 Special Modules
- 3 Configuration of a Bluetooth® Piconet
- 4 Tools for Configuring and Operating
- 4.1 Configuring and Operating with WAGO-I/O-CHECK
- 4.2 Configuring the Bluetooth® Module 750-644
- 5 Fieldbus-specific Additions
- 6 Appendix
- 6.1 Mailbox Commands
- 6.2 Return Values of Mailbox Commands
- 6.3 Mailbox Command References
- 6.3.1 General Commands
- 6.3.2 Block Transfer
- 6.3.3 Maintenance and Firmware
- 6.3.4 Process Image
- 6.3.5 Device Configuration
- 6.3.5.1 Read the Local Device Name(GetLocalDeviceName, 0x40)
- 6.3.5.2 Write the Local Device Name (SetLocalDeviceName, 0x41)
- 6.3.5.3 Read Local MAC ID (GetLocalMacID, 0x42)
- 6.3.5.4 Read Local IP Address (GetLocalIPAddress, 0x43)
- 6.3.5.5 Set Local IP Address (SetLocalIPAddress, 0x44)
- 6.3.5.6 Read Local Subnet Mask (GetLocalSubnetMask, 0x45)
- 6.3.5.7 Set Local Subnet Mask (SetLocalSubnetMask, 0x46)
- 6.3.5.8 Read Local WAGO Device Class (GetLocalDeviceClass, 0x47)
- 6.3.5.9 Write Local Device Class (SetLocalDeviceClass, 0x48)
- 6.3.5.10 Read Local Operation Mode (GetLocalOperationMode, 0x49)
- 6.3.5.11 Set Local Operation Mode (SetLocalOperationMode, 0x4A)
- 6.3.5.12 Read Local Encryption Mode (GetLocalEncryptionMode, 0x4D)
- 6.3.5.13 Set Local Encryption Mode (SetLocalEncryptionMode, 0x4E)
- 6.3.5.14 Read Local Authentication Mode (GetLocalAuthenticationMode, 0x4F)
- 6.3.5.15 Set Local Authentication Mode (SetLocalAuthenticationMode, 0x50)
- 6.3.5.16 Read Local Bluetooth® Password (GetLocalPassphrase, 0x51)
- 6.3.5.17 Write Local Bluetooth® Password (SetLocalPassphrase, 0x52)
- 6.3.5.18 Delete Locally Saved Authorization (EraseLocalAuthentication, 0x53)
- 6.3.5.19 Read Length of the Flash Configuration (GetLocalDeviceConfigLen, 0x54)
- 6.3.5.20 Read Role of the Local Device (GetLocalDeviceRole, 0x55)
- 6.3.5.21 Set Role of the Local Device (SetLocalDeviceRole, 0x56)
- 6.3.5.22 Restore Factory Settings (SetFactorySettings, 0x57)
- 6.3.5.23 Search for Remote Bluetooth® Device in the Wireless Network (ScanRemoteDevices, 0x80)
- 6.3.5.24 Read MAC-ID of a Remote Bluetooth® Device (GetRemoteDeviceMacID, 0x81)
- 6.3.5.25 Read Device Name of a Remote Bluetooth® Device (GetRemoteDeviceName, 0x82)
- 6.3.5.26 Enter External Device in the Table of Authorized Devices (AllowRemoteDevice, 0x83)
- 6.3.5.27 Read Back External Device from the Table of Authorized Devices (GetAllowedRemoteDevices, 0x84)
- 6.3.5.28 Grant Access Authorization for a Device (BindRemoteDevice, 0x85)
- 6.3.5.29 Delete Access Authorization for a Device (UnbindRemoteDevice, 0x86)
- 6.3.5.30 Read Access Authorization for Remote Devices (GetBoundRemoteDevices, 0x87)
- 6.3.5.31 Read Back the QoS Settings (GetConnectionQoS, 0x88)
- 6.3.5.32 Set the QoS Settings (SetConnectionQoS, 0x89)
- 6.3.5.33 Read Back Time Settings - Between Two Attempts to Establish a Connection (GetReconnectionTimePeriod, 0x8A)
- 6.3.5.34 Set Time Settings - Between Two Attempts to Establish a Connection (SetReconnectionTimePeriod, 0x8B)
- 6.3.5.35 Read the User-Friendly Name of an Authorized Device (GetUserfriendlyName, 0x8C)
- 6.3.5.36 Write the User-Friendly Name of an Authorized Device (SetUserfriendlyName, 0x8D)
- 6.3.6 Diagnostics
- 6.3.6.1 Read Status of the Local Bus Module (GetLocalDeviceStatus, 0xD0)
- 6.3.6.2 Read Status of the Wireless Network (GetNetworkStatus, 0xD1)
- 6.3.6.3 Read Diagnostic Information (GetStatusMessage, 0xD2)
- 6.3.6.4 Read Connection Quality (GetLinkQuality, 0xD5)
- 6.3.6.5 Read Signal Strength for a Connection (GetLinkSignalStrength, 0xD7)
- 6.3.6.6 Read Available Hopping Channels (GetAvailableChannelMap, 0xD8)
- 6.3.6.7 Set an LED (SetLED, 0xD9)
- 6.3.6.8 Mirror Mailbox for Test Purposes (MirrorMailboxCommand, 0xDA)
- 6.3.6.9 Read the Operating Time of the Module (GetLocalUpTime, 0xDB)
- 6.4 Extended Register Structure (Configuration Block)
- 6.5 Example Configurations using WAGO-I/O-CHECK
- 6.5.1 Startup with the Bluetooth® Parameterization Dialog
- 6.5.2 Startup using Mailbox Commands in the Process Data Dialog
- 6.5.2.1 Network Structure
- 6.5.2.2 Starting up the Bluetooth® Modules
- 6.5.2.2.1 Switch the Mailbox on
- 6.5.2.2.2 Reset Modules to Factory Default
- 6.5.2.2.3 Determining the Master
- 6.5.2.2.4 Querying the MAC Address
- 6.5.2.2.5 Loading the MAC Addresses of the Slaves into the Device List of the Master
- 6.5.2.2.6 Loading the MAC Address of the Master into the Device Lists of the Slaves
- 6.5.2.2.7 Binding the Slaves in the Master
- 6.5.2.2.8 Binding the Master in the Slaves
- 6.5.2.2.9 Setting the Communication Mode for Master and Slaves
- 6.5.2.3 Testing the Process Data Exchange
- Glossary
48 • I/O Modules
Special Modules
WAGO-I/O-SYSTEM 750
I/O Modules
2.1.1.8.2.3 Access Procedure
Unmasking the mailbox by setting bit 5 in the control byte is required for exe-
cuting mailbox commands. The module confirms this by setting bit 5 in the
status byte. In order to execute a mailbox command, query parameters and the
opcode of the command must be written in the output process image. Since a
change in the opcode and/or the toggle bit is a trigger for the processing of a
command, the query parameters must be written into the output process image
either at the same time or previously.
The module confirms the processing of the command by inserting a response
telegram in the mailbox area of the internal data bus input data. The response
evaluation must occur at the same point at which the opcode and toggle bit are
identical with the query contents; i.e., these are mirrored. The processing time
in the module may require several bus cycles. Some special commands trigger
a longer process (e.g., search for devices within range). For these commands,
the module's response confirms that the process has begun. The results of
longer lasting processes can be queried after completion by other commands.
The toggle bit is necessary for executing two mailbox commands with the
same opcode (but possibly differing parameters) one after the other.
Note
The use of mailbox commands implements a confirmed service. The module
provides information via return value on the successful execution of the
command or errors that occur. If errors occur, it may be that not all response
bytes contain valid data.
The following diagram (see Figure 17) describes the request and processing of
a mailbox command. The process data are displayed as follow in this case:
[ parameter 0-x | toggle | opcode | internal byte | control/status byte ]
Initially, any process data may be present in the output and input process im-
age. After entering the opcode and/or toggle bit, as well as switching the mail-
box on using bit 2
5
in the control byte, the mailbox command is transmitted
and a query is started. In the input process image, the query is received, proc-
essed and confirmed with bit 2
5
. This confirmation and the new process data
are sent to the output process image. Here, the data is evaluated. The next
command can be transmitted.