u blox WTB08 UserMan

Fieldbus Independent I/O Modules
Bluetooth
750-644
®
RF Transceiver
Manual
Version 1.0.1
2 • General
Copyright © 2008 by WAGO Kontakttechnik GmbH & Co. KG All rights reserved.
WAGO Kontakttechnik GmbH & Co. KG
Hansastraße 27 D-32423 Minden
Phone: +49 (0) 571/8 87 – 0 Fax: +49 (0) 571/8 87 – 1 69
E-Mail: info@wago.com Web:
http://www.wago.com
Technical Support
Phone: +49 (0) 571/8 87 – 5 55 Fax: +49 (0) 571/8 87 – 85 55
E-Mail:
support@wago.com
Every conceivable measure has been taken to ensure the correctness and com­pleteness of this documentation. However, as errors can never be fully ex­cluded, we would appreciate any information or ideas at any time.
E-Mail: documentation@wago.com We wish to point out that the software and hardware terms as well as the
trademarks of companies used and/or mentioned in the present manual are generally trademark or patent protected.
WAGO-I/O-SYSTEM 750 I/O Modules
Important Comments • 3 Legal Principles
Content
1 Important Comments ................................................................................. 7
1.1 Legal Principles........................................................................................7
1.1.1 Copyright............................................................................................. 7
1.1.2 Personnel Qualification .......................................................................
1.1.3 Intended Use........................................................................................
1.2 Symbols....................................................................................................8
1.3 Number Notation......................................................................................8
1.4 Safety Notes ............................................................................................. 9
1.5 Scope ........................................................................................................7
2 I/O Modules ...............................................................................................10
2.1 Special Modules ..................................................................................... 10
2.1.1 750-644 [Bluetooth® RF Transceiver]...............................................10
2.1.1.1 View..............................................................................................10
2.1.1.2 Description....................................................................................10
2.1.1.3 Indicators.......................................................................................13
2.1.1.4 Schematic Diagram.......................................................................15
2.1.1.5 Technical Data ..............................................................................15
2.1.1.6 Function Description..................................................................... 17
2.1.1.7 Operating Modes........................................................................... 21
2.1.1.8 Process Image ...............................................................................31
7 7
3 Configuration of a Bluetooth® Piconet ....................................................58
4 Tools for Configuring and Operating .....................................................60
4.1 Configuring and Operating with WAGO-I/O-CHECK..........................61
4.1.1 User Interface ....................................................................................
4.1.1.1 Title Bar ........................................................................................
4.1.1.2 Symbol Bar ...................................................................................
61 62 62
4.1.1.3 Navigation.....................................................................................63
4.1.1.4 Mode Assignment .........................................................................
4.1.1.5 Parameterization Area...................................................................
4.1.1.6 Status Display ...............................................................................
®
4.2 Configuring the Bluetooth
4.2.1 Setting the Bluetooth
Module 750-644 ........................................78
®
Process Data and Mailbox Size..................... 78
64 65 77
4.2.2 Setting the Mode................................................................................ 78
4.2.3 Role Assignment (Master/Slave).......................................................79
4.2.4 Search for and Display Devices within Range .................................. 79
4.2.5 Bind new Devices.............................................................................. 79
4.2.5.1 Entering Bluetooth® Devices manually ........................................79
®
4.2.5.2 Bind Bluetooth
4.2.6 Assigning Slave Process Data to Slots in the Master........................
Devices from Network Search........................... 80
81
4.2.7 Diagnostics ........................................................................................81
WAGO-I/O-SYSTEM 750 I/O Modules
4 • Important Comments Legal Principles
5 Fieldbus-specific Additions ......................................................................82
5.1 CANopen................................................................................................82
5.1.1 Process Image Access........................................................................ 82
5.1.1.1 Example ........................................................................................83
5.2 DeviceNet............................................................................................... 86
5.2.1 Process Image Access........................................................................ 86
5.2.1.1 Example ........................................................................................86
5.3 ETHERNET ........................................................................................... 88
5.3.1 Process Image Access........................................................................ 88
5.3.1.1 MODBUS Protocol....................................................................... 88
5.3.1.2 EtherNet/IP Protocol..................................................................... 90
5.4 PROFIBUS-DP.......................................................................................92
5.4.1 Process Image Access........................................................................
5.4.1.1 Example ........................................................................................
5.5 LON........................................................................................................95
92 92
6 Appendix ....................................................................................................
6.1 Mailbox Commands ...............................................................................
96
96
6.1.1 Overview Sorted According to Groups and Opcodes .......................96
6.1.2 Overview Sorted According to Mailbox Commands ........................99
6.2 Return Values of Mailbox Commands................................................. 101
6.3 Mailbox Command References............................................................102
6.3.1 General Commands .........................................................................104
6.3.1.1 No Task (IDLE, 0x00) ................................................................104
6.3.2 Block Transfer .................................................................................105
6.3.2.1 Download Start of a Block (DLD_START, 0x01) .....................105
6.3.2.2 Continuation of a Block Download or Upload (DLD_CONT,
0x02) ...........................................................................................107
6.3.2.3 End a Block Download or Upload (DLD_END, 0x03) .............. 109
6.3.3 Maintenance and Firmware .............................................................
111
6.3.3.1 Warm Start of the Bluetooth® Subsystem (RebootHost, 0x10) ..111
6.3.3.2 Saving the Configuration with Subsequent Warm Start
(FlashRebootHost, 0x11) ............................................................ 112
6.3.3.3 Read Host Firmware Version (GetHostFwVersion, 0x12).........
113
6.3.3.4 Read Version of Baseband Controller Firmware
(GetBbFwVersion, 0x13)............................................................ 115
6.3.4 Process Image ..................................................................................116
6.3.4.1 Determine the Size of a Slot for Data Transfer in the Master
Process Image (SetRemotePiSize, 0x32).................................... 116
6.3.4.2 Query the Remote Process Image Parameters within the Master
Process Image (GetRemotePiMapping, 0x33)............................ 118
6.3.5 Device Configuration.......................................................................120
6.3.5.1 Read the Local Device Name(GetLocalDeviceName, 0x40) ..... 120
6.3.5.2 Write the Local Device Name (SetLocalDeviceName, 0x41).... 121
6.3.5.3 Read Local MAC ID (GetLocalMacID, 0x42) ...........................123
6.3.5.4 Read Local IP Address (GetLocalIPAddress, 0x43) ..................124
WAGO-I/O-SYSTEM 750 I/O Modules
Important Comments • 5 Legal Principles
6.3.5.5 Set Local IP Address (SetLocalIPAddress, 0x44) ......................125
6.3.5.6 Read Local Subnet Mask (GetLocalSubnetMask, 0x45)............126
6.3.5.7 Set Local Subnet Mask (SetLocalSubnetMask, 0x46) ...............127
6.3.5.8 Read Local WAGO Device Class (GetLocalDeviceClass,0x47)128
6.3.5.9 Write Local Device Class (SetLocalDeviceClass, 0x48) ...........129
6.3.5.10 Read Local Operation Mode (GetLocalOperationMode, 0x49). 130
6.3.5.11 Set Local Operation Mode (SetLocalOperationMode, 0x4A)....131
6.3.5.12 Read Local Encryption Mode (GetLocalEncryptionMode, 0x4D) ..
.....................................................................................................133
6.3.5.13 Set Local Encryption Mode (SetLocalEncryptionMode, 0x4E). 134
6.3.5.14 Read Local Authentication Mode (GetLocalAuthenticationMode,
0x4F)...........................................................................................135
6.3.5.15 Set Local Authentication Mode (SetLocalAuthenticationMode,
0x50) ...........................................................................................136
6.3.5.16 Read Local Bluetooth® Password (GetLocalPassphrase, 0x51) . 138
6.3.5.17 Write Local Bluetooth® Password (SetLocalPassphrase, 0x52). 139
6.3.5.18 Delete Locally Saved Authorization (EraseLocalAuthentication,
0x53) ...........................................................................................141
6.3.5.19 Read Length of the Flash Configuration
(GetLocalDeviceConfigLen, 0x54) ............................................142
6.3.5.20 Read Role of the Local Device (GetLocalDeviceRole, 0x55).... 143
6.3.5.21 Set Role of the Local Device (SetLocalDeviceRole, 0x56) .......144
6.3.5.22 Restore Factory Settings (SetFactorySettings, 0x57) ................. 145
6.3.5.23 Search for Remote Bluetooth® Device in the Wireless Network
(ScanRemoteDevices, 0x80).......................................................146
6.3.5.24 Read MAC-ID of a Remote Bluetooth® Device
(GetRemoteDeviceMacID, 0x81)............................................... 148
6.3.5.25 Read Device Name of a Remote Bluetooth® Device
(GetRemoteDeviceName, 0x82).................................................150
6.3.5.26 Enter External Device in the Table of Authorized Devices
(AllowRemoteDevice, 0x83) ...................................................... 152
6.3.5.27 Read Back External Device from the Table of Authorized Devices
(GetAllowedRemoteDevices, 0x84)........................................... 154
6.3.5.28 Grant Access Authorization for a Device (BindRemoteDevice,
0x85) ...........................................................................................
156
6.3.5.29 Delete Access Authorization for a Device (UnbindRemoteDevice,
0x86) ...........................................................................................
157
6.3.5.30 Read Access Authorization for Remote Devices
(GetBoundRemoteDevices, 0x87) .............................................. 159
6.3.5.31 Read Back the QoS Settings (GetConnectionQoS, 0x88) .......... 160
6.3.5.32 Set the QoS Settings (SetConnectionQoS, 0x89) ....................... 161
6.3.5.33 Read Back Time Settings - Between Two Attempts to Establish a
Connection (GetReconnectionTimePeriod, 0x8A)..................... 163
6.3.5.34 Set Time Settings - Between Two Attempts to Establish a
Connection (SetReconnectionTimePeriod, 0x8B)...................... 164
6.3.5.35 Read the User-Friendly Name of an Authorized Device
(GetUserfriendlyName, 0x8C).................................................... 166
WAGO-I/O-SYSTEM 750 I/O Modules
6 • Important Comments Legal Principles
6.3.5.36 Write the User-Friendly Name of an Authorized Device
(SetUserfriendlyName, 0x8D) .................................................... 168
6.3.6 Diagnostics ......................................................................................170
6.3.6.1 Read Status of the Local Bus Module (GetLocalDeviceStatus,
0xD0) ..........................................................................................170
6.3.6.2 Read Status of the Wireless Network (GetNetworkStatus, 0xD1) ...
.....................................................................................................172
6.3.6.3 Read Diagnostic Information (GetStatusMessage, 0xD2).......... 174
6.3.6.4 Read Connection Quality (GetLinkQuality, 0xD5) .................... 179
6.3.6.5 Read Signal Strength for a Connection (GetLinkSignalStrength,
0xD7) ..........................................................................................181
6.3.6.6 Read Available Hopping Channels (GetAvailableChannelMap,
0xD8) ..........................................................................................183
6.3.6.7 Set an LED (SetLED, 0xD9) ...................................................... 185
6.3.6.8 Mirror Mailbox for Test Purposes (MirrorMailboxCommand,
0xDA) .........................................................................................187
6.3.6.9 Read the Operating Time of the Module (GetLocalUpTime,
0xDB)................................................................................................
.....................................................................................................188
6.4 Extended Register Structure (Configuration Block) ............................ 190
6.5 Example Configurations using WAGO-I/O-CHECK .......................... 193
6.5.1 Startup with the Bluetooth® Parameterization Dialog .....................193
6.5.1.1 Network Structure....................................................................... 193
6.5.1.2 Starting up the Bluetooth® Modules ...........................................194
6.5.1.3 Testing the Process Data Exchange ............................................202
6.5.2 Startup using Mailbox Commands in the Process Data Dialog.......203
6.5.2.1 Network Structure....................................................................... 203
6.5.2.2 Starting up the Bluetooth® Modules ...........................................203
6.5.2.3 Testing the Process Data Exchange ............................................210
Glossary ........................................................................................................
211
WAGO-I/O-SYSTEM 750 I/O Modules
Important Comments • 7 Legal Principles

1 Important Comments

To ensure fast installation and start-up of the units described in this manual, we strongly recommend that the following information and explanations are read carefully and followed.

1.1 Legal Principles

1.1.1 Copyright

This manual is copyrighted, together with all figures and illustrations con­tained therein. Any use of this manual which infringes the copyright provi­sions stipulated herein, is not permitted. Reproduction, translation and elec­tronic and photo-technical archiving and amendments require the written con­sent of WAGO Kontakttechnik GmbH & Co. KG. Non-observance will entail the right of claims for damages.
WAGO Kontakttechnik GmbH & Co. KG reserves the right to perform modi­fications allowed by technical progress. In case of grant of a patent or legal protection of utility patents all rights are reserved by WAGO Kontakttechnik GmbH & Co. KG. Products of other manufacturers are always named without referring to patent rights. The existence of such rights can therefore not be ruled out.

1.1.2 Personnel Qualification

The use of the product detailed in this manual is exclusively geared to special­ists having qualifications in PLC programming, electrical specialists or per­sons instructed by electrical specialists who are also familiar with the valid standards. WAGO Kontakttechnik GmbH & Co. KG declines all liability re­sulting from improper action and damage to WAGO products and third party products due to non-observance of the information contained in this manual.

1.1.3 Intended Use

For each individual application, the components supplied are to work with a dedicated hardware and software configuration. Modifications are only per­mitted within the framework of the possibilities documented in the manuals. All other changes to the hardware and/or software and the non-conforming use of the components entail the exclusion of liability on part of WAGO Kon­takttechnik GmbH & Co. KG.
Please direct any requirements pertaining to a modified and/or new hardware or software configuration directly to WAGO Kontakttechnik GmbH & Co. KG.
WAGO-I/O-SYSTEM 750 I/O Modules
8 Important Comments Symbols

1.2 Symbols

Danger Always abide by this information to protect persons from injury.
Warning Always abide by this information to prevent damage to the device.
Attention Marginal conditions must always be observed to ensure smooth operation.
ESD (Electrostatic Discharge) Warning of damage to the components by electrostatic discharge. Observe precautionary measures for handling components at risk.
Note Routines or advice for efficient use of the device and software optimization.
Additional Information References for additional literature, manuals, data sheets and web pages.

1.3 Number Notation

Number Code Example Note
Decimal 100 normal notation Hexadecimal 0x64 C notation Binary '100'
'0110.0100'
within inverted commas, nibble separated with dots
WAGO-I/O-SYSTEM 750 I/O Modules
Important Comments • 9 Safety Notes

1.4 Safety Notes

Warning Switch-off the system prior to working on bus modules!
In the event of deformed contacts, the module in question is to be replaced, as its functionality can no longer be ensured on a long-term basis.
The components are not resistant against materials having seeping and insu­lating properties. Members of this group include: aerosols, silicones, triglyc­erides (found in some hand creams).
If it cannot determined that these materials appear in the component envi­ronment, then additional measures must be taken:
- install of the components in an appropriate enclosure
- handle components only with clean tools and materials.
Attention Soiled contacts may only be cleaned with ethyl alcohol and leather cloths. This helps ensure compliance with ESD information.

1.5 Scope

Do not use any contact spray. The spray may impair the functioning of the contact area.
The WAGO-I/O-SYSTEM 750 and its components are an open system. As such, the system and its components must be installed in appropriate hous­ings, cabinets, enclosures or in electrical operation rooms. Access must only be provided via key or tool to authorized, qualified personnel.
The relevant valid and applicable standards and guidelines concerning the installation of switch boxes are to be observed.
ESD (Electrostatic Discharge) The modules are equipped with electronic components that may be destroyed by electrostatic discharge. When handling the modules, ensure that the envi­ronment (persons, workplace and packing) is well grounded. Avoid touching conductive components; e.g., gold contacts.
This manual describes the Bluetooth® RF Transceiver 750-644 from the WAGO-I/O-SYSTEM 750. Handling, assembly and startup are described in the manual for the fieldbus coupler/controller. This documentation is therefore only valid in connection with the appropriate manuals.
WAGO-I/O-SYSTEM 750 I/O Modules
10I/O Modules Special Modules

2 I/O Modules

2.1 Special Modules

2.1.1 750-644 [Bluetooth® RF Transceiver]

2.1.1.1 View
13 14
Operational and
connection
status
Antenna socket SMA
Data contacts
Power jumper contacts
Figure 1: View g064400e
2.1.1.2 Description
The Bluetooth® RF Transceiver 750-644 (referred to in the following as "Blue­tooth® module") integrates a Bluetooth® network (piconet) into the WAGO-
I/O-SYSTEM 750. This means that Bluetooth® modules will be installed and used jointly with the WAGO-I/O-SYSTEM 750 modules in different fieldbus systems.
The Bluetooth® module facilitates wireless data exchange within the Bluetooth It can function as the coordinator (referred to in the following as the "master") or as the terminal (referred to in the following as the "slave") depending on the configuration. A maximum of seven slaves may communicate with one master (see
The module's configuration (network configuration/process image mapping) is determined locally via WAGO-I/O-CHECK software.
750-644
Figure 2).
®
piconet.
Slave
7
Slave
Figure
Slave
1
6
Master
Slave
5
Slave
2
Slave
4
Slave
3
2: Piconet g064403x
The current status of the module is displayed by LEDs. While the LEDs asso­ciated with the function of "slave" signal the quality of the connection, the LEDs associated with the "master" function show the connection status to each individually connected slave.
WAGO-I/O-SYSTEM 750 I/O Modules
I/O Modules11 Special Modules
The Bluetooth® module is operated in the public domain ISM 2.4 GHz band and enables wireless data transfer over large distances. If using the WAGO Antenna 758-912, ranges of up to 1000 meters can be achieved.
The Bluetooth® module 750-644 can be used with the following cou­plers/controllers of the WAGO-I/O-SYSTEM 750:
Bus System Coupler/Controller Item No. Hardware
version
PROFIBUS
DeviceNet
CANopen
ETHERNET
Fieldbus coupler
ECO fieldbus coupler 750-343 03 from 06
Programmable fieldbus controllers 750-833 12 from 07
Fieldbus coupler 750-306 11 4I
ECO fieldbus coupler 750-346 02 07
Programmable fieldbus controllers 750-806 02 07
Programmable fieldbus controllers
750-301 01 07
750-303 01 07
750-333 12 from 07
750-337 09 10 Fieldbus coupler
750-338 01 14
750-347 01 04 ECO fieldbus coupler
750-348 01 04
750-837 06 11
750-838 01 11
750-341 03 03 Fieldbus coupler
Software
version
750-342 04 14
Programmable fieldbus controllers
Fieldbus coupler 750-319 07 05 LON
Programmable fieldbus controllers 750-819 08 07
IPC WAGO-IPC 750-870 02 IPC firm-
Other couplers/controllers upon request.
750-841 03 07
750-842 04 12
ware
02.04. 18/0200 Kbus firmware
01.02. 03(06)
WAGO-I/O-SYSTEM 750 I/O Modules
12I/O Modules Special Modules
The version information is contained in the serial number or in the update ma­trix; both are printed on the right side of the coupler/controller. The serial number is constructed as follows:
WWYYSWHWFL-Bm1m2m3
Abbrevia­tion
WW Week of manufacture
YY Year of manufacture
SW Software version of the bus coupler
HW Hardware version of the bus coupler
FL Software version of the firmware loader
- Empty space, no additional meaning
B Designation of the soldered bus connector
m1 Manufacturer of the interface card
m2 Manufacturer of the CPU card
m3 Manufacturer of the power supply card
The m3 designation is not included for bus couplers of the ECO family.
Description
The update matrix is constructed as follows:
NO Work Order Number
DS Date Stamp
SW Software version of the bus coupler
HW Hardware version of the bus coupler
FWL Software version of the firmware
loader
WAGO-I/O-SYSTEM 750 I/O Modules
I/O Modules13 Special Modules
2.1.1.3 Indicators
The LED display must be interpreted differently depending on whether the
Bluetooth® module functions as a master or as a slave (see Sections 2.1.1.3.1
and 2.1.1.3.2).
13 14
1 3 5 7
2 4 6 8
Figure 3: Display Elements g064402x
2.1.1.3.1 Master
Table 1: LED Master Signals
LED Designation Status: Function
Operation status
1
indicator
Connection display of the first WAGO slot (communication
2
mode) and signaling in the configuration mode
Connection display for WAGO slots j (j =
3…8
2…7) (in communi­cation mode only)
green Normal operation
red Disruption of the local internal bus connection,
the field voltage or the internal communication (circuit board)
green Connection to slave(s) established
green flashing Data transfer
off No slave is configured for this slot
yellow flashing Connection to the first slave is being estab-
lished (in communication mode only)
yellow System is configured (in configuration mode
only) or connection to the first slave could not be established (in communication mode only)
red Connection interrupted by error (in communi-
cation mode only)
green Connection to slave(s) established
green flashing Data transfer
yellow Unsuccessful connection configuration to slot j
(in communication mode only)
yellow flashing Connection to Slot j is being established
(in communication mode only)
red Connection interrupted by error (in communi-
cation mode only)
WAGO-I/O-SYSTEM 750 I/O Modules
off No slave is configured for this slot (in commu-
nication mode only) or the system is in con­figuration mode.
14I/O Modules Special Modules
2.1.1.3.2 Slave
Table 2: LED Slave Signals
LED Designation Status: Function
green Operating status OK (independent of radio
1
Operation status indi­cator
red Disruption of the local internal data bus
green Connection to master established
green flashing Data transfer
off No master is configured for this slot.
communication)
connection, the field voltage or the internal communication (circuit board)
2
3, 4
5, 6
Connection display for connected master
RSSI
Over- or under­modulation of the
Bluetooth
®
receiver
Connection quality
according to bit error rate
yellow flash­ing
Connection to the master is being estab­lished (in communication mode only)
yellow System is being configured (in configura-
tion mode only) or connection to the mas­ter could not be established (in communi­cation mode only)
red Connection interrupted by error (in com-
munication mode only)
green Signal strength of the received signal good
yellow Signal strength of the received signal very
strong (solution: increase distance of the device)
Red Signal strength of the received signal weak
(solution: reduce distance of the device).
off There is still no information on the signal
strength of the received signal (there is no connection or there is a connection only after a few seconds)
green low bit error rate <10-3
yellow bit error rate 10-2 to 10-3
red high bit error rate > 10
-2
(bad transmission line)
off no active connection (similar RSSI)
green > 53 lines free (no or negligible third-party
activity in the frequency range)
activity in the frequency range)
7, 8
Interference display
Number of busy lines in the 2.4 GHz fre­quency range
yellow 39…53 free lines
red < 39 marked as free (massive third-party
off no active connection (similar RSSI)
WAGO-I/O-SYSTEM 750 I/O Modules
I/O Modules15 Special Modules
2.1.1.4 Schematic Diagram
Antenna socket SMA
1
5
1
5
Antenna
24 V
2
6
2
+24 V
0V
3
4
750-644
6
BT­Module
7
3
7
8
4
8
0V
OS
SPI
SPI
Logic
8-segment
LED
display
Figure 4: Schematic Diagram g064401e
2.1.1.5 Technical Data
Table 3: Technical Data for Bluetooth® Module 750-644
Module-Specific Data
Radio technology Bluetooth® 2.0 + EDR
Topology Piconet (1 master, maximum of 7 slaves)
Coexistence AFH and adaptive transmitting power
Profiles SPP, PAN
Operating modes Communication mode with ad hoc profile for high
Frequency band public domain, ISM band, 2402…2480 MHz
Transmitting power up to 20 dBm (Bluetooth® Class 1)
Receiver sensitivity -94 dBm
Range (maximum) 1000 m in open air, 100 m in buildings (if using an
Voltage supply (Bluetooth®) through field supply DC 24 V
connectivity and real-time profile for time-critical applications and configuration mode
external WAGO antenna, item no. 758-912)
Voltage supply (internal) via system voltage DC/DC
Current consumption (Bluetooth®) approx. 8 mA, maximum 35 mA
Current consumption (internal) approx. 20 mA
Isolation 500 V (antenna/system)
Data width, internal Configurable to 12, 24, 48 bytes, including 1 con-
WAGO-I/O-SYSTEM 750 I/O Modules
trol/status byte
16I/O Modules Special Modules
Module-Specific Data
Diagnosis (through optical display) Device status, connection status
Diagnosis (through process image) Device status, connection status
[1]
[1]
, time monitoring
Configuration WAGO-I/O-CHECK and WAGO-I/O-PRO CAA
Dimensions (mm) W x H x L 24 x 64
[2]
x 100
Weight approx. 85 g
Accessories
Miniature WSB Quick marking system
External WAGO antenna, SMA, with magnet base (item no. 758-912)
Standards and directives (see Section 2.2 in manual on coupler/controller)
EMC CE Immunity to interference according to EN 61000-6-2 (2005), EN 61131-2 (2003)
EMC CE Emission of interference according to EN 61000-6-3 (2007), EN 61131-2 (2003)
Approvals (see Section 2.2 in manual on coupler/controller)
(UL508) (patent pending)
CULUS
GL (Germanischer Lloyd) (patent pending)
Conformity marking
FCC approval
Bluetooth
[1]
Quality of the radio link, signal strength, interference
[2]
plus approx. 6.5 mm excess length of the SMA socket
[3]
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two condi­tions: (1) this device may not cause harmful interference, and (2) this device must accept any interfer­ence received, including interference that may cause undesired operation.
[3]
®
approval
Additional Information Please refer to the "Overview on WAGO-I/O-SYSTEM 750 approvals" docu­mentation for detailed information on approvals. You will find this on the CD ROM "AUTOMATION Tools and Docs" (item no. 0888-0412) or online at http://www.wago.com under documentation ! WAGO-I/O-SYSTEM 750 ! System Description
WAGO-I/O-SYSTEM 750 I/O Modules
I/O Modules17 Special Modules
2.1.1.6 Function Description
Bluetooth® technology defines piconet as a topology consisting of a master
and up to seven slaves. Data can be exchanged between each slave and the master wirelessly and bidirectionally. Data transfer from slave to slave is pos­sible indirectly through the master.
The Bluetooth® module implements Bluetooth® Protocol 2.0+EDR and can be configured as either master or slave. The configuration and activation of spe­cial functions is done through the mailbox interface described in Appendix
6.1. This is used by the startup tool WAGO-I/O-CHECK and function blocks of WAGO-I/O-PRO CAA in order to provide the user with simple software­supported access to the module's full range of functions.
The following networks can be configured with Bluetooth
®
modules:
Bluetooth® module as master, up to 7 Bluetooth® modules as slaves (real-
time profile). This real-time scenario is distinguished by an especially low latency and cycle time.
Bluetooth® module as master and up to 6 active slaves. In this configura-
tion, Bluetooth® modules configured as slaves and other Bluetooth® de­vices (e.g. Bluetooth® notebooks or PDAs) can be combined (ad hoc pro­file). This scenario offers flexible connection possibilities and interopera­bility.
A Bluetooth® module configured as a master can use up to 46 bytes of data width for bidirectional data exchange with the slaves. In this case, which proc­ess data is assigned to which slave can be flexibly configured – the available data width can be assigned exclusively to one individual slave or be distrib­uted with freely configurable portions among several slaves.
®
With Bluetooth
modules, ranges of up to 1000 m can be achieved with inter­visibility. Good reception is also possible inside buildings, even with the dis­tribution of network participants in different rooms or floors of the building.
For maximum security, data exchange can be encrypted. Another security fea­ture of the network is that a piconet configured with Bluetooth® modules al­lows no penetration by non-authorized devices.
Radio transmission with Bluetooth outside influences. Thanks to frequency hopping procedures and adaptive transmitting power, co-existence with other ISM radio technologies (e.g. WLAN according to IEEE 802.11) is problem-free.
Potential-disturbing influences can be recognized early by the Bluetooth® module – even before they have a negative effect on communication. Cyclic and acyclic retrievable diagnostic information that provide information on the quality of the wireless connection and fulfillment of real-time conditions (in
WAGO-I/O-SYSTEM 750 I/O Modules
®
is robust, particularly when faced with
18I/O Modules Special Modules
the real-time profile) are offered for this purpose. The most important diagnos­tic information is also displayed on the device via LEDs, so that the status can also be directly monitored without additional components at the installation site.
Additional Information The Bluetooth® module starts either with the startup tool WAGO-I/O­CHECK or function blocks of the WAGO-I/O-PRO CAA. The function blocks for configuration are contained in the library WAGO_Bluetooth_xx.lib, which you can download from the website
http://www.wago.com under Documentation ! WAGO Software 759 !
WAGO-I/O-PRO ! 759-333 ! Additional Information ! Libraries.
WAGO-I/O-SYSTEM 750 I/O Modules
I/O Modules19 Special Modules
2.1.1.6.1 Bluetooth® Class of Device (CoD)
The Class-of-Device (CoD) is a 24-bit field specifying the capabilities of a
Bluetooth® device that is sent with the packet "Frequency Hop Synchroniza-
tion" (FHS) during the device search. According to the Bluetooth® Standard, the CoD describes the capabilities of the device, thus supporting the search for devices with certain functionalities.
The CoD enables a rapid assignment of remote devices to different device categories such as network, audio, telephony. It is divided into the Major Ser­vice Class (bit 23…13), Major Device Class (bit 12…8) and Minor Device Class (bit 7…2).
Internal device (sub)classes have been specified for the WAGO module. The device class for the WAGO-I/O-SYSTEM 750 is represented by bit values 1, 1, 1, in bits 7, 6, 5. It is represented by the bit string 110 for bits 4, 3, 2 (see Table 4).
Table 4: Configuration of the CoD
Bit position
23-16
15, 14 Reserved 00
13
12…8
7…2
1, 0 Reserved, format type 00
Description Suggested values
Major Service Class
Not given, in accordance with the Bluetooth since there is no service that can be uniquely assigned
Limited Discoverable Mode According to the Bluetooth also support the non-discoverable mode
Major Device Class According to the BT specification, set as "Miscellaneous"
Minor Device Class (can be used WAGO-specific) Ac­cording to the Bluetooth Device Class is "Miscellaneous"
WAGO-specific use: use of a bit pattern with the following two-part device class; e.g., to identify the WAGO-I/O­SYSTEM device subclass; e.g., to identify different prod­ucts in the device class
®
specification, the device must
®
specification: open since the
®
specification,
00000000
1
00000
111 (= WAGO-I/O-System
750) bit 7,6,5 device class
110 (= bus module 750-644) bit 4,3,2 device subclass
The complete CoD for the bus module 750-644 is 0x0020F8 000000000010000011111000
Bit
WAGO­Device Class
WAGO-I/O-SYSTEM 750 I/O Modules
or
hex
(see following diagram).
bin
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 1 1 1 0 0 0
Major Service Class Major Device Class Minor Device Class Type
20I/O Modules Special Modules
Note
The device subclass can be set by mailbox commands (see Appendix 6.3.5.9). The CoD can only be influenced by the device (sub)class. Changes in the Major Service Class or Major Device Class are not possible. When loading the factory settings, the device class is set to value 7 and the device subclass to value 6. This results in a CoD of 0x0020F8 for the Blue-
tooth® inquiry.
Many stacks handle devices according to their CoD. Therefore, the set device (sub)class can influence the function (indirectly through the CoD) in external devices..
WAGO-I/O-SYSTEM 750 I/O Modules
I/O Modules21 Special Modules
2.1.1.7 Operating Modes
The Bluetooth® module has two different modes available. Each mode fulfills a certain function:
Configuration mode
Communication mode
in real-time profile
in ad hoc profile
Note
The Bluetooth® module is in configuration mode when the customer re­ceives it.
Note
If a Bluetooth® master is operated in the real-time profile, up to 7 Blue­tooth® slaves can be connected to the master. If the Bluetooth® master is
operated in the ad hoc profile, 6 slaves can be connected. The profile of the
Bluetooth® slaves is irrelevant here. Modes and profiles are a master prop-
erty.
The operating mode is changed (see Figure 5) using WAGO-I/O-CHECK or function blocks in the WAGO-I/O-PRO CAA and is controlled by mailbox commands. After the operating mode is changed, the Bluetooth® subsystem is automatically reset.
Restart
Saved Operation Mode
Configuration Mode
After changing the saved operation mode via mailbox command,
a restart will be performed automatically.
Figure 5: Operating modes g064404e
Communication Mode
Ad-Hoc Profile
Communication Mode
Real-Time Profile
WAGO-I/O-SYSTEM 750 I/O Modules
22I/O Modules Special Modules
2.1.1.7.1 Time Required for Initialization
Waiting times occur during the initialization of the module (see Table 5):
Table 5: Waiting times during normal operation of the module
Waiting times for Seconds
2-3
[1]
[2]
[3]
Connecting to the first slave ~ 5
Establishment of connection to a ready-to-receive slave 2-3
Successful establishment of connection by the master to another slave
Unsuccessful attempt to connect to another slave 3-5
Inquiry up to 10.3
[1] if the slave is ready-to-receive at the conclusion of the master's boot process [2] the master does not achieve a connection to the slave when attempted [3] shorter in more than 15 found devices
2.1.1.7.2 Configuration and Communication Mode
The Bluetooth® module operates automatically in configuration mode during the first operation. If the communication mode with the real-time or ad hoc profile has already been selected via WAGO-I/O-CHECK, the module's mode will be changed to the respective profile.
During startup of the module, the last configuration is the one loaded. If this is not correct; e.g., in the case of an invalid memory structure, the configuration is overwritten with the factory settings.
Note The factory settings can also be reset using the mailbox command "SetFac­torySettings". The individual values for the factory settings can be found in Table 6.
During initialization, the general error bit 26 is set in the status byte. This means that no mode has been received and there is no valid process data avail­able. LED 1 lights up red during initialization (duration approx. 5s).
Once initialization is complete, the module takes on the last configured operat­ing mode, and LED 1 changes to green. During first operation (factory set­ting), the module will be in configuration mode following initialization.
In configuration mode, the settings of the module can be configured according to the desired function, for example by using WAGO-I/O-CHECK. In this mode, the module can search for other Bluetooth
®
devices within reception
range and is visible for queries.
WAGO-I/O-SYSTEM 750 I/O Modules
I/O Modules23 Special Modules
However, no data exchange takes place. As there is no cyclic process data, the general error bit continues to be set.
With suitable settings, or immediately after initialization (if already set be­forehand), the module can change to communication mode.
If the module is started in communication mode, profiles are first loaded and quality-of-service procedures are prepared. Finally, the connection to precon­figured devices is configured. Display LED 1 lights up green. The display of the remaining LEDs depends on the configuration and the communication pro­file that has been set (see Sections 2.1.1.3.1 and 2.1.1.3.2).
Before the master and slaves exchange process data, they are synchronized to a common process data size. This is then used from then on for data exchange.
Bootl Loader
Load Operation Mode
Perform Bluetooth module's initialization
Load non-volatile configuration
If configuration is invalid, then load factory settings
Compare non-volatile configuration with factory settings
Correct settings
Initialize Bluetooth stack
Set AccessibleMode ("Not connected") to "Not accessible"
Set Class-of-Device
Set LED (LED 0 green, LED 1-7 off)
Prepare connection establishment
Initialize mailbox
Save process image into module
Set general error bit 2 in status byte to 1
6
Configuration Mode
Figure 6: Initialization of the configuration and communication mode g064405e
WAGO-I/O-SYSTEM 750 I/O Modules
Communication Mode
Real-Time Profile
Communication Mode
Ad-Hoc Profile
24I/O Modules Special Modules
2.1.1.7.2.1 Configuration Mode
Mailbox commands are used in configuration mode to configure the Blue­tooth® module for use. The commands are passed to the Bluetooth® module
and carried out, for example, with WAGO-I/O-CHECK or by using function blocks of the WAGO-I/O-PRO CAA.
Additional Information The mailbox commands for configuring the Bluetooth® module can be found in Appendix 6.1. In Section 3 and Appendix 6.5, the configuration is de­scribed using WAGO-I/O-CHECK. The Bluetooth®-specific function blocks of the WAGO-I/O-PRO CAA for configuring the module are contained in the document "WAGO_Bluetooth_03.lib", is available online at
http://www.wago.com under Documentation ! WAGO Software 759 !
WAGO-I/O-PRO ! 759-333 ! Additional Information ! Libraries.
Table 6 below contains the factory settings. These can be restored and saved in case of altered configuration by using the mailbox commands "SetFactory­Settings" (except for Bluetooth
®
device name). A device name is overwritten
by the assigned mailbox command.
Table 6: Factory settings for the Bluetooth® module
Parameter Setting
Bluetooth® device name WAGO-750-644
IP 192.168.0.2
Subnet Mask 255.255.255.0
Gateway 192.168.0.1
Device role slave
Operating mode configuration mode
Mailbox cascade
Encryption active
Authentication with password
Standard password 0000
Quality of Service (QoS) disabled
Class of Device 0x0020F8
Time for reconfiguration of connection 30 seconds
Authorized devices none (all lists are initialized with "0")
Linked devices none (all lists are initialized with "0")
Process image sizes of the up to 7 slaves in the master
10,0,0,0,0,0,0 bytes (used when changing the device role to "master")
WAGO-I/O-SYSTEM 750 I/O Modules
I/O Modules25 Special Modules
2.1.1.7.2.2 Block Transfer
The module parameters can be individually read and written using mailbox commands (see Appendix 6.1). It is also possible, as an alternative, to upload or download the complete configuration in 512-byte blocks. For example, a created or read out configuration block can be used to set up and configure all additional slaves.
512-byte blocks are sent. The transfer is opened each time by the group DLD_START described in Appendix 6.3.2.1 and closed with DLD_END. With each DLD_CONT command, one element of the block is transferred. Af­ter transferring one 512-byte block, the module verifies the checksum.
After the copying process has been successfully completed, the module con­firms the DLD_END command by sending the calculated checksum and the return 0x00 (OK).
The format of the configuration block transferred by means of the DLD com­mands is described in 6.4.
Table 7: Block transfer process using DLD commands
DLD commands Explanations
Procedure
DLD_START Configuration of the block transfer
n x DLD_CONT Transfer of the 512-byte blocks in n* consecutive elements
(* depends on the mailbox size, see Appendix
DLD_END End of the block transfer, testing of the checksum
The exact mode of operation of the commands "DLD_START", "DLD_CONT" and "DLD_END" can be found in Appendix 6.3.2.
2.1.1.7.2.3 Communication Mode – Real-Time Profile
In the real-time profile, signals can be monitored in real-time. The cycle and error message time is assured making this profile especially suited for time­critical applications such as system monitoring. In case of an error, the system can be stopped immediately. The real-time network is invisible to Bluetooth networks. Real-time capable masters only exchange data with directly con­nected slaves.
6.3.2.2)
®
Within the module, time intervals between different, repeating events are monitored by Watchdog and other monitoring mechanisms. In case of distur­bances, warnings/errors are signaled, depending on the type of disturbance, or the module is automatically restarted.
WAGO-I/O-SYSTEM 750 I/O Modules
26I/O Modules Special Modules
If there is an existing connection between WAGO devices, the time between the received packets is measured. If there is a significant timeout, warnings or error messages are sent (see Table 8). The typical time response is signifi­cantly more high performance than the upper limits given here for warnings and errors.
Table 8: Time responses for Bluetooth® module
Name Value
BTCOM_ WARNTIME
BTCOM_ ERRORTIME
master, 1 slave linked: master, 2…5 slaves linked: master, 6 slaves linked: master, 7 slaves linked: slave:
master, 1 slave linked: master, 2…5 slaves linked: master, 6 slaves linked: master, 7 slaves linked: slave:
40 ms 20 ms * (number of end devices + 1) 240 ms 280 ms 280 ms
80 ms 40 ms * (number of end devices + 1) 480 ms 560 ms 560 ms
If the time limits cannot be adhered to, warnings or error messages are issued via acyclic diagnosis functions (LED displays, see Section 2.1.1.3) or cycli­cally through the status byte of the process image (see Section 2.1.1.8.1.1).
For optimal time response, a valid piconet configuration must exist. If the master cannot establish a connection to all slaves, the attempt to reintegrate these devices leads to interruptions in data communication (see also "SetRe­connectionTimePeriod", Appendix 6.3.5.34). To prevent this, you can tempo­rarily remove defective devices from the piconet. No change in configuration is required for removing the devices; simply set the affected devices to "not linked" in the "real-time" communication profile. The master then no longer integrates these devices during this time.
With the next change in operating mode or restart, the master will again try to connect to all devices.
Note Only connections to WAGO devices can be configured in the real-time pro­file.
WAGO-I/O-SYSTEM 750 I/O Modules
I/O Modules27 Special Modules
2.1.1.7.2.4 Communication Mode – Ad Hoc Profile
"Ad hoc communication" is the "spontaneous" connection of devices. The main feature is the problem-free connection of very different types of devices. Therefore, the requirements for partner devices are less strict, making real­time communication impossible when using this profile.
Note In the ad hoc profile, you can connect up to 6 slaves with one master (up to 7 slaves in the real-time profile).
Note Adherence to time limits (see Section 2.1.1.7.2.3) is not monitored in the ad hoc profile, making this profile ideal for less time-critical applications.
WAGO devices can be connected with each other and with third-party Blue-
tooth® devices in the ad hoc profile. The Bluetooth® protocols SPP & PAN are
available for this purpose (see Table 14).
2.1.1.7.2.4.1 Connecting WAGO Devices with External Devices
The Bluetooth® module from WAGO can be connected with other WAGO Bluetooth® modules via L2CAP. These connections are especially fast and are
subject to various reliability and reaction speed requirements. Slaves that sup­port this form of connection are referred to as WAGO devices in this docu­ment.
By using PAN and SPP, devices that do not fulfill these requirements can also be used. These devices, which actually control the exchange of the process image, but not the real-time requirements, are called "external devices".
When configuring the wireless connection of an external Bluetooth® device (e.g., PDA) to a WAGO Bluetooth® device, note that external devices must have a valid protocol header embedded in their Bluetooth® packets. This must be configured according to the following pattern (see Table 9):
WAGO-I/O-SYSTEM 750 I/O Modules
28I/O Modules Special Modules
Table 9: Configuration of the Bluetooth® Packet
Channel name Length
Value Description
in bytes
CHANNEL_SELECT 1 0000 0001
Virtual channel selection, always 0x01
(0x01)
STATUS_FLAGS 1 0000 0000
Status bits, always 0x00 for external devices
(0x00)
STATUS_DATA_SIZE 1 xxxx xxxx Data length in bytes, according to "cutoff"
(see Section
2.1.1.8.1.2)
DATA[1] 1 xxxx xxxx 1st byte of process data
... ... xxxx xxxx ...
DATA[n] (=cutoff) 1 xxxx xxxx nth (last) byte of process data
This header is automatically added in WAGO (see Figure 7).
WAGO Device
Header is added and removed automatically
Header is added automatically
Control/status byte are not transmitted
Local data
Control/status byte are added
Header is removed automatically
Bluetooth
®
Cutoff
01 00 Data
length
C/S int Data
Cutoff
01 00 Data
length
Data
Data
External Device
Header must be added and removed from the device
Radio transmission
Header is removed from the device
Local data
Header must be created from the device
Bluetooth
01 00 Data
01 00 Data
®
Cutoff length
Cutoff length
Data
Radio transmission
Figure 7: Adding the header in data packets of external devices g064406e
Note Missing data in the protocol header may lead to termination of the connec­tion. Therefore, prepend the 3-byte channel information (0x01 and 0x00 and field length) to the data to be transferred if you would like to send from an external device to a WAGO device. WAGO devices add the header automatically.
WAGO-I/O-SYSTEM 750 I/O Modules
I/O Modules29 Special Modules
2.1.1.7.2.5 Configuration of the Wireless Connection
End devices are passive during configuration of the connection. Masters are also passive if the connection is configured through SPP or PAN by external devices. During the configuration of a connection, the status of a remote node (if it is authorized and entered on the external devices list) is tested. Connec­tions are actively configured only if the Bluetooth® module is operating as a master in the real-time or ad hoc profile. The module can be connected through the PAN profile using port 3501.
2.1.1.7.2.6 Net Forming
"Net forming" is the configuration of Bluetooth® modules for the purpose of defining a Bluetooth® network.
The role of the Bluetooth® module - master or slave - is established in the con­figuration mode (see Section 2.1.1.7.2.1). The devices that are to be included in the list of permitted devices is also established by entering the respective device MAD IDs in WAGO-I/O-CHECK. A search can serve as an additional aid here. Then, out of all the entered MAD IDs, those devices to which a con­nection is actually to be configured are marked as "linked". The prerequisite for a successful configuration is a bilateral authorization, both from the master for the slaves and from each slave for the master. Then the new settings are downloaded into the module.
If you select "real-time" or "ad hoc" in the communication profile (see Section
2.1.1.7.2.3 to 2.1.1.7.2.4), a search for already configured Bluetooth® devices will be performed first. The list of all authorized slaves is processed. The module attempts to actively connect (master) with connected devices or to ac­cept connections from them (slave). If a device is not marked as "linked" in the list, connection attempts are refused by the device (slave) or no attempt to connect to this device is made (master). Even if one or more devices are not connected, data exchange with the remaining participants begins immediately after the connection attempt.
The module attempts to configure the complete network at regular intervals. Devices that cannot be reached temporarily are also reconnected as soon as the connection is re-established. It is irrelevant whether a connection has never been configured or whether it failed due to power failure at the site of the re­mote node, for example (can be set using "SetReconnectionTimePeriod").
WAGO-I/O-SYSTEM 750 I/O Modules
30I/O Modules Special Modules
Note
Wireless packets are only accepted and forwarded to the slave if a bilaterally authorized wireless connection exists; i.e., the Bluetooth® MAC address of the communication partner is entered in the table of permitted devices and the table entry has been activated for the creation of a connection (linked) in the master and slave. Since a maximum of seven remote devices can be linked, the entry of authorized MAC addresses is independent of the process of link­ing/delinking.
WAGO-I/O-SYSTEM 750 I/O Modules
Loading...
+ 198 hidden pages