Sie sind auf Seite 1von 32

User Manual

Anybus Wireless Bridge


®

Ethernet to WLAN
Doc. ID HMSI-27-205
Rev. 1.30

Connecting DevicesTM

+$/067$'‡&+,&$*2‡.$5/658+(‡72.<2‡%(,-,1*‡0,/$12‡08/+286(‡&29(175<‡381(‡&23(1+$*(1

HMS Industrial Networks


Mailing address: Box 4126, 300 04 Halmstad, Sweden E-mail: info@hms-networks.com
Visiting address: Stationsgatan 37, Halmstad, Sweden Web: www.anybus.com
Important User Information
This document is a product guide describing the main use cases for the Anybus Wireless Bridge - Ethernet to
WLAN module and how to configure it. It also contains general information about the product.
The reader of this document is expected to be familiar with high-level software design, and communication sys-
tems in general. The use of advanced Ethernet and Bluetooth specific functionality may require in-depth knowl-
edge in the networking internals of these networks and/or information from the official specifications. In such
cases, the people responsible for the implementation of this product should either obtain the specifications to gain
sufficient knowledge or limit their implementation in such a way that this is not necessary.

Liability

Every care has been taken in the preparation of this product guide. Please inform HMS Industrial Networks AB of
any inaccuracies or omissions. The data and illustrations found in this document are not binding. We, HMS Indus-
trial Networks AB, reserve the right to modify our products in line with our policy of continuous product develop-
ment. The information in this document is subject to change without notice and should not be considered as a
commitment by HMS Industrial Networks AB. HMS Industrial Networks AB assumes no responsibility for any er-
rors that may appear in this document.
There are many applications of this product. Those responsible for the use of this device must ensure that all the
necessary steps have been taken to verify that the applications meet all performance and safety requirements in-
cluding any applicable laws, regulations, codes, and standards.
HMS Industrial Networks AB will under no circumstances assume liability or responsibility for any problems that
may arise as a result from the use of undocumented features, timing, or functional side effects found outside the
documented scope of this product. The effects caused by any direct or indirect use of such aspects of the product
are undefined, and may include e.g. compatibility issues and stability issues.
The examples and illustrations in this document are included solely for illustrative purposes. Because of the many
variables and requirements associated with any particular implementation, HMS Industrial Networks AB cannot
assume responsibility for actual use based on these examples and illustrations.

Intellectual Property Rights

HMS Industrial Networks AB has intellectual property rights relating to technology embodied in the product de-
scribed in this document. These intellectual property rights may include patents and pending patent applications
in the US and other countries.

Trademark Acknowledgements

Anybus ® is a registered trademark of HMS Industrial Networks AB. All other trademarks are the property of their
respective holders.

Anybus Wireless Bridge - Ethernet to WLAN User Manual Rev 1.30


Copyright© HMS Industrial Networks AB
February 2015 Doc Id HMSI-27-205
Table of Contents

Table of Contents

Preface Preface
Safety Warnings & Restrictions.............................................................................................................. 5
WARNINGS!............................................................................................................................... 5
RESTRICTIONS......................................................................................................................... 5
About This Document ............................................................................................................................ 5
Related Documents.................................................................................................................................. 5
Document History ................................................................................................................................... 6
Conventions & Terminology .................................................................................................................. 6
Support....................................................................................................................................................... 6

Chapter 1 Installation
Power.......................................................................................................................................................... 8
Ethernet Interface .................................................................................................................................... 8
Status Indicators ....................................................................................................................................... 8

Chapter 2 General Concepts


Configuration Methods ........................................................................................................................... 9
Using SMART Configuration Mode ..................................................................................................... 9
Using the Web Configuration Interface ........................................................................................... 10
Reset to Factory Defaults................................................................................................................ 12
Wireless LAN Modes ................................................................................................................... 12
Wireless Bridge Modes ................................................................................................................... 12
WLAN Security ........................................................................................................................... 13

Chapter 3 Supported Use Cases


Two Wireless Bridges Connected as Ethernet Bridge - Alternative 1 ........................................... 15
Overview ........................................................................................................................................ 15
Set Up the Use Case...................................................................................................................... 15
Two Wireless Bridges Connected as Ethernet Bridge - Alternative 2 ........................................... 17
Overview ........................................................................................................................................ 17
Set Up the Use Case...................................................................................................................... 17
Two Wireless Bridges Connected as Ethernet Bridge - Alternative 3 ........................................... 19
Overview ........................................................................................................................................ 19
Set Up the Use Case...................................................................................................................... 19
Two Wireless Bridges in Client Mode - Alternative 1 ...................................................................... 21
Overview ........................................................................................................................................ 21
Set Up the Use Case...................................................................................................................... 21
Two Wireless Bridges Connected in Client Mode - Alternative 2.................................................. 22
Overview ........................................................................................................................................ 22
Set Up the Use Case...................................................................................................................... 22
PC Connected Wirelessly to Wireless Bridge

Anybus Wireless Bridge - Ethernet to WLAN Doc.Id. HMSI-27-205


Doc.Rev. 1.30
II

- Alternative 1.......................................................................................................................................... 23
Overview ........................................................................................................................................ 23
Set Up the Use Case...................................................................................................................... 23
PC Connected Wirelessly to Wireless Bridge
- Alternative 2.......................................................................................................................................... 24
Overview ........................................................................................................................................ 24
Set Up the Use Case...................................................................................................................... 24
Multiple Ethernet Devices Connected in Client Mode - Alternative 1.......................................... 25
Overview ........................................................................................................................................ 25
Set Up the Use Case...................................................................................................................... 25
Multiple Ethernet Devices Connected in Client Mode - Alternative 2.......................................... 26
Overview ........................................................................................................................................ 26
Set Up the Use Case...................................................................................................................... 26
One or More Wireless Bridges Connected to a Wired Infrastructure through WLAN.............. 27
Overview ........................................................................................................................................ 27
Set Up the Use Case...................................................................................................................... 27
External WLAN Client Connected to a Wireless Bridge ................................................................. 28
Overview ........................................................................................................................................ 28
Set Up the Use Case...................................................................................................................... 28
Multiclient Mode .................................................................................................................................... 29
Overview ........................................................................................................................................ 29
Set Up the Use Case...................................................................................................................... 29

Appendix 4 Legal and Regulatory


ICC and FCC Compliance .................................................................................................................... 30
FCC Statement.............................................................................................................................. 30
Declaration of Conformity.................................................................................................................... 31
Licenses.................................................................................................................................................... 32

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Preface

P. Preface

P.1 Safety Warnings & Restrictions


This equipment is suitable for use in Class I, Division 2, Groups A, B, C and D, or non-hazardous lo-
cations only. The combinations of equipment in your own system will be subject to investigation by the
local Authority Having Jurisdiction at the time of installation.

P.1.1 WARNINGS!

EXPLOSION HAZARD! - Do not disconnect equipment unless power has been removed or the area
is known to be non-hazardous.
EXPLOSION HAZARD! - Substitution of any components may impair the suitability for Class I, Di-
vision 2.
Warning: This is a class A product.. In a domestic environment, this product may cause radio interfer-
ence in which case the user may be required to take adequate measures.

P.1.2 RESTRICTIONS

Wiring terminals must be marked to indicate proper connections for the input power, output power, and
control circuits.
Field wiring terminals may use copper conductors only, wire size AWG 14, minimum temperature rating
60ºC.
This equipment is suitable for use in an ambient temperature of max 65ºC.
ESD Note: This product contains ESD (Electrostatic Discharge) sensitive parts that may be damaged
if ESD control procedures are not followed. Static control precautions are required when handling the
product. Failure to observe this may cause damage to the product.

P.2 About This Document


This document describes the various configurations available for this product and how to configure
them. For more information, documentation etc., please visit the HMS web site:
www.hms-networks.com.

P.3 Related Documents


Document Author
Quick Setup Guide, Anybus Wireless Bridge - Ethernet to WLAN HMS
AT Command Specification for Anybus Wireless Bridge - Ethernet to WLAN HMS

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Preface 6

P.4 Document History

Summary of Recent Changes (1.20 ... 1.30)

Change Page(s)
Removed section 3.13 in chapter 3

Revision List

Revision Date Author(s) Chapter(s) Description


1.00 2011-03-22 KaD - First official release
1.10 2012-04-20 KaD All Converted to Framemaker, minor updates and corrections
1.20 2013-10-09 SDa P Added safety warnings.
1.30 2015-02-19 KeL 3 Removed section 3.13 in chapter 3

P.5 Conventions & Terminology


The following conventions are used throughout this manual:
• Numbered lists provide sequential steps.
• Bulleted lists provide information, not procedural steps.
• The terms ‘Anybus’ or ‘module’ refers to the Anybus module.
• The terms ‘host’ or ‘host application’ refers to the device that hosts the Anybus module.
• Hexadecimal values are written in the format NNNNh, where NNNN is the hexadecimal value.

P.6 Support
For contact information and support, please refer to the contact and support pages at
www.anybus.com

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Chapter 1

1. Installation

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Installation 8

1.1 Power
The table below shows the typical current at 24 V.

Operation Mean (mA) Max (mA)


Startup 58.8
Idle 58.7 58.8
Idle, Ethernet 69.0 69.1
Idle + 4xMode LEDs 74.2 74.3
Connecting 63.2 63.9
Connected, Data 63.2 64.8
Connected, Data, Ethernet 73.4 75.5
Connected, Data, Ethernet, 4xMode LEDs 78.6 80.7

1.2 Ethernet Interface


The Ethernet interface supports 10/100 Mbps, with both MDI/MDI-X auto crossover and polarity cor-
rection.

1.3 Status Indicators

Description Color Status Meaning


PWR Green On Supply voltage is present and application is running
PWR Green Off Supply voltage is not present, or no application is running
))) Blue/Purple/Red Blue A WLAN connection has been established
))) Blue/Purple/Red Flashing Blue WLAN data activity
))) Blue/Purple/Red Purple Attempt to establish a connection to another WLAN device
))) Blue/Purple/Red Red Error
))) Blue/Purple/Red Off No WLAN activity
LAN Yellow On Ethernet link is present
LAN Yellow Flashing Ethernet data activity
LAN Yellow Off No Ethernet connection

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Chapter 2

2. General Concepts

2.1 Configuration Methods


The Wireless Bridge supports four main methods for setting and configuring the module:

1. Smart mode
Use the buttons and LED’s on the Wireless Bridge to automatically set up the most common use
cases.

2. Web interface
An online web interface with the most common settings for the Wireless Bridge.

3. AT commands
Connect to the Wireless Bridge over Ethernet using TCP, or directly on Layer 2 and use a termi-
nal such as Hyperterminal to issue AT commands. This method is mainly for more advanced set-
tings and use cases, and is not described in this document. All commands available in the web
interface and much more are supported throught the use of AT commands.

4. The SNMP protocol


This will not be used or described in this document.

2.2 Using SMART Configuration Mode

If the Mode button is pressed within 5 seconds from power up, the Wireless Bridge will enter SMART
configuration mode. The LED’s above the button (A, B, C, and D) will show the mode currently select-
ed. When the required mode is selected, it must be confirmed by holding in the Mode button for two
seconds. This will cause the LED’s to start flashing during the operation of the selected mode.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
General Concepts 10

There are currently 12 different modes available:

Mode Description LEDs A B C D


1 Enable DHCP server A

2 Reset to factory defaults. This will reset the entire configu- B


ration to factory defaults.
3 Reset IP settings to factory defaults. This will only reset the A + B
IP settings to factory defaults.
4 Wait for Automatic configuration, ad-hoc mode. C

5 Initiate Automatic configuration, ad-hoc mode. A+C

6 Wait for Automatic configuration with Profinet optimiza- B+C


tions, ad-hoc mode.
7 Initiate Automatic configuration with Profinet optimizations, A + B + C
ad-hoc mode.
8 Wait for Automatic configuration, Managed mode. D

9 Initiate Automatic configuration, Managed mode. A+D

10 Initiate Automatic configuration, Managed mode, wired. B+D

11 Configure client mode. A+B+D

12 Initiate Automatic configuration, ad-hoc mode, multipoint. C+D

13 Reserved for future use. A+C+D

14 Reserved for future use. B+C+D

15 Reserved for future use. A+B+C+D

"Enable DHCP server" can be used to easily access the Wireless Bridge if the PC is using DHCP, with-
out having to change the PC’s IP settings. This mode should only be used when the PC is connected
directly to the module, and not if the module is connected to a network using a DHCP server. Enable
this mode, then connect the Ethernet cable to the computer. The DHCP server will stay enabled until
a reboot.
How to use the other different modes for specific use cases is described later in this document.

2.2.1 Using the Web Configuration Interface

By default, the Wireless Bridge has the following static IP settings;


• IP address: 192.168.0.99
• Subnet mask: 255.255.0.0
• Default gateway: 192.168.0.99.
To access the module using the web-based configuration interface, the computer must be set up in the
same network, e.g. IP address: 192.168.0.1 and subnet mask: 255.255.0.0.
Open a web browser and enter http://192.168.0.99 in the address field. From here, the most common
configuration parameters needed to set up a connection can be found.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
General Concepts 11

An example of the web interface is shown below:

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
General Concepts 12

2.2.2 Reset to Factory Defaults

It is possible to reset to the factory default settings in 4 different ways:


• Enter and confirm SMART mode 2.
• Issue AT&F.
• Hold the Mode button while the Wireless Bridge is starting. Note: Ensure that the Ethernet ca-
ble is disconnected, and that any firmware update program has been stopped.
• Press the Restore Device button in the AT-commands section.

2.2.3 Wireless LAN Modes

A Wireless LAN network can be set up in two main connection modes:


• Ad-hoc mode
This is typically used when two WLAN devices connect to each other without going via a WLAN
Access Point. In ad-hoc mode, only 802.11b transmission speeds are used, i.e. a maximum of 11
Mbit/s. The only encryption method supported is WEP.
• Managed (or Infrastructure) mode
This is typically used when a group of devices are connected through a common WLAN Access
Point. In this mode, all available transmission speeds can be used, up to a maximum of
54 Mbit/s. This also allows for user selection of encryption and authentication methods to use.
This means that use cases supporting Managed mode normally have higher throughput.

2.2.4 Wireless Bridge Modes

There are three main Wireless Bridge modes supported by the Wireless Bridge, and these are referred to
in all the use cases described later in this document.

1. Ethernet Bridge mode


In this mode, which is supported only between two Wireless Bridges, the Ethernet packages are
encapsulated in UDP packages and transferred transparently between the two modules. Devices
on both sides of the wireless link are completely unaware of the wireless connection.

2. Client mode
In this mode the Wireless Bridge acts as a wireless extension of the wired Ethernet device it is
connected to. The module is configured to take over (clone!) the MAC address of the connected
device. This means that only ONE Ethernet device can be connected to each module, and not
an Ethernet network with several devices connected through an Ethernet switch or hub. In
"Client Mode", the Wireless Bridge cannot be accessed over the Wireless LAN interface. How-
ever, if the Ethernet link is lost, the module will temporarily enter "Multiclient mode" and can
then be accessed again. When the Ethernet link is re-established, the module will revert to "Client
Mode".

3. Multiclient mode
In this mode, the Wireless Bridge acts as in Client mode, but with the addition that multiple de-
vices using the IP layer can be connected.
Ethernet Bridge mode will introduce an extra overhead (because of the encapsulation) and will have a
significantly lower throughput than Client/Multiclient mode.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
General Concepts 13

2.2.5 WLAN Security

The Wireless Bridge supports various authentication and encryption methods. The following authenti-
cation methods are supported:
• Open connection
• Shared secret
• WPA and WPA2 Preshared key
• LEAP
• PEAP
The following encryption methods are supported:
• No encryption
• WEP64
• WEP128
• TKIP
• AES/CCMP
The following table shows valid combinations of authentication and encryption methods (x means valid
configuration):

Open connection Shared secret WPA/WPA2 PSK LEAP PEAP


No encryption x
WEP 64 x x
WEP 128 x x x
TKIP x (WPA) x x
AES/CCMP x (WPA2) x x

There are a few important considerations that also need to be addressed. If selecting WPA/WPA2 PSK
and TKIP, this is considered to be a WPA connection. If selecting WPA/WPA2 PSK and AES/CCMP,
a WPA2 connection is assumed. It is not possible to have WPA with AES/CCMP encryption.
To use LEAP or PEAP as the authentication algorithm, ensure that the access point supports this, as
not all do. Neither LEAP, PEAP nor WPA/WPA2 PSK will work in ad-hoc mode.
Note: Some access points have support for a combination of WPA and WPA2, as well as AES/CCMP
and TKIP. These options are not supported by the Wireless Bridge.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
General Concepts 14

Key Management
For WEP64 and WEP128, shared keys can be entered in all four possible slots made available by the
AT*AGFPWI Write Encryption/Authentication Key (with Index) command. However, for LEAP,
PEAP and WPA/WPA2 PSK, the password or PSK must be entered in the key slot with index 1 (one).
This key must also be the one currently set as active by the AT*AGAFP Active Encryption/Authenti-
cation Key command.
If using LEAP or PEAP, the username for the Radius server should be entered with the command
AT*AGUN Username, and the domain with command AT*AGDN. For PEAP, the certificate must
also be considered. When receiving the certificate from the Radius server, the SHA-1 fingerprint is cal-
culated and stored in the WEPA for future comparisons. If the certificate changes, or if a different Ra-
dius server is to be used, the new fingerprint must be entered, or the old must be cleared with the
command AT*AGCFP.
If using WPA/WPA2 PSK, it is possible to enter either the preshared key (i.e. the hexadecimal string)
or the password (plain-text), commonly referred to as “WPA-PSK” or “WPA-PWD”. When entering a
password (not a hexadecimal string), the Wireless Bridge will take a few seconds longer during the next
connection after this change, in order to deduce the real key from the password. The module will be
unresponsive while calculating the real key.
By default, the key is entered as an ASCII string. To enter a hexadecimal key, the bytes must be escaped
with the '\' character, e.g. to enter the string "12345" as hexadecimal, the following would be entered:
"\31\32\33\34\35"

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Chapter 3

3. Supported Use Cases

3.1 Two Wireless Bridges Connected as Ethernet Bridge


- Alternative 1

3.1.1 Overview

This use case describes two Wireless Bridges connected in Ethernet Bridge mode. Multiple Ethernet de-
vices on each side of the module are supported. The Ethernet data is bridged through a UDP tunnel and
ad-hoc mode is used.

3.1.2 Set Up the Use Case

This use case can be set up using the SMART button.


1. Power on the first device and enter SMART configuration mode 4.
2. Power on the second device and enter SMART configuration mode 5.
3. Wait for the devices to connect and restart.
4. The first device will have the IP address 192.168.0.98 and the second 192.168.0.99. The devices
will be operating in ad-hoc mode.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Supported Use Cases 16

Should the predefined IP addresses already be in use on your network, it may be necessary to configure
the setup manually:
1. Power on the first Wireless Bridge and enter the web configuration. See “Using the Web Con-
figuration Interface” on page 10.
2. Enter the required IP Address (IP_ADDR1), Netmask and Default Gateway. DHCP should be
turned off. Click "Write Network Settings". Note: The IP address must be selected to avoid IP
conflicts.
3. Enter the Network Name (SSID) for the wireless network.
4. Select Operation mode "Ad-Hoc" and select a channel to use, based on your regional domain
settings.
5. Select Security Mode: The options currently available in ad-hoc mode are: "None", "WEP64"
and "WEP128".
6. If security was selected, now enter a key.
7. Under Client Mode, select “Ethernet Bridge”. Enter the IP address of the other Wireless Bridge
(IP_ADDR2) and set the UDP Port, e.g 2000.
8. Click "Write Wireless LAN Settings".
9. Click "Reboot Device".
10. Power on the second Wireless Bridge and enter the web configuration.
11. Repeat step 2 above, but select the IP address entered under Client Mode above (IP_ADDR2).
Click "Write Network Settings".
12. Repeat 3, 4, 5, and 6 above. These values MUST be identical to the ones entered for the previous
Wireless Bridge.
13. Repeat step 7 above, but using the IP address (IP_ADDR1) instead. The port must be the same
as entered under 7 above. Click "Set".
14. Click "Write Wireless LAN Settings".
15. Click "Reboot".

All Ethernet packets will now be tunneled between the two Ethernet segments.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Supported Use Cases 17

3.2 Two Wireless Bridges Connected as Ethernet Bridge


- Alternative 2

3.2.1 Overview

This use case describes two Wireless Bridges connected in Ethernet Bridge mode. Multiple Ethernet de-
vices on each side of the module are supported. The Ethernet data is bridged through an UDP tunnel,
and Managed (Infrastructure) mode is used.

3.2.2 Set Up the Use Case

This use case can be set up using the SMART button.


To use the Automatic configuration in Managed mode, the Network Name (SSID) and security param-
eters (Encryption, Authentication, User Name and Key) must be configured manually (using the Web
interface or AT commands), unless intending to use the default values. For more information on the
Web interface, see section “Using the Web Configuration Interface” on page 10.

Alternative 1 - SMART Mode


1. Power on the first module and enter SMART configuration mode 8 (wait for automatic config-
uration).
2. Power on the second module and enter SMART configuration mode 9 (initiate automatic con-
figuration).
3. Wait for the modules to connect and restart.
4. The first module will now have the IP address 192.168.0.98, and the second will have IP address
192.168.0.99. The modules will be operating in Managed mode.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Supported Use Cases 18

Alternative 2 - Manual Configuration


This example show the settings when SMART mode 8 (Wireless Bridge 1) and 9 (Wireless Bridge 2) are
used. In addition to the values below, the Network Name (SSID) and security must be configured ac-
cording to the settings in the Access Point (AP).

Parameter Wireless Bridge 1 Wireless Bridge 2 Comment


IP Configuration
IP address 192.168.0.98 192.168.0.99
Subnet Mask 255.255.0.0 255.255.0.0
Gateway 192.168.0.98 192.168.0.98
IP Assignment Static Static DHCP is not supported in this mode
WLAN - Network
Network Name (SSID) SSID of AP SSID of AP
WLAN - General
Operational Mode Infrastructure Infrastructure
WLAN - Client Mode
Mode Ethernet Bridge Ethernet Bridge
IP Address 192.168.0.99 192.168.0.98
UDP Port 7 7

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Supported Use Cases 19

3.3 Two Wireless Bridges Connected as Ethernet Bridge


- Alternative 3

3.3.1 Overview

This use case uses two Wireless Bridges connected in Ethernet Bridge mode. Here, one of the modules
is connected to a wired network and it does NOT use the wireless connection. Managed (infrastructure)
mode is used.

3.3.2 Set Up the Use Case

This use case can be set up by the SMART button.


To use the automatic configuration in Managed mode, the Network Name (SSID) and security param-
eters (Encryption, Authentication, User Name and Key) must be configured manually (using the web
interface or AT commands), unless intending to use the default values. For further information on the
web interface, see section “Using the Web Configuration Interface” on page 10.

Alternative 1 - SMART mode


1. Power on the first module and enter SMART configuration mode 8 (wait for automatic config-
uration).
2. Power on the second module (the one on the wired network) and enter SMART configuration
mode 10 (initiate automatic configuration, wired).
3. The first module will now have the IP address 192.168.0.98 and the second will have
192.168.0.99. The modules will operate in Managed mode.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Supported Use Cases 20

Alternative 2 - Manual Configuration


This example shows the settings when SMART mode 8 (Wireless Bridge 1) and 10 (Wireless Bridge 2)
are used. In addition to the values below, the network SSID and security must be configured according
to the settings in the Access Point (AP) on Wireless Bridge 1.

Parameter Wireless Bridge 1 Wireless Bridge 2 Comment


IP Configuration
IP address 192.168.0.98 192.168.0.99
Subnet Mask 255.255.0.0 255.255.0.0
Gateway 192.168.0.98 192.168.0.98
IP Assignment Static Static DHCP is not supported in this mode
WLAN - Network
Network Name (SSID) SSID of AP Leave blank
WLAN - General
Operational Mode Infrastructure
WLAN - Client Mode
Mode Ethernet Bridge Ethernet Bridge
IP Address 192.168.0.99 192.168.0.98
UDP Port 7 7

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Supported Use Cases 21

3.4 Two Wireless Bridges in Client Mode - Alternative 1

3.4.1 Overview

This use case describes two Wireless Bridges connected in Client mode. Only one Ethernet device can
be connected to each of the modules. This use case will have higher performance than using the Ether-
net Bridging case (no encapsulation of the Ethernet packages required).

3.4.2 Set Up the Use Case

This use case can be set up by using the SMART button and supports ad-hoc mode only.
1. Power on the first module. Enter SMART configuration mode 4 (wait for automatic configura-
tion).
2. Power on the second module. Enter SMART configuration mode 5 (initiate automatic configu-
ration).
3. Wait for the modules to connect and restart.
4. Use SMART mode 11 on each of the modules, to learn the MAC address of the connected device
(Client mode).
Note: This mode required that the device spontaneously sendd Ethernet data on the Ethernet
link. If this not is possible, use the web interface. See section “Using the Web Configuration In-
terface” on page 10 to set up the MAC address manually.
To set up this use case manually, follow these steps:
1. Power on the first Wireless Bridge and enter the web configuration.
2. Enter the SSID for the wireless network.
3. Select Operational mode "Ad-Hoc" and select a channel to use, based on the regional domain
settings.
4. Select Security Mode: The options available in ad-hoc mode are: "None", "WEP64" or
"WEP128".
5. If a security option was selected, now enter a key.
6. Under Client Mode, select Client Mode and set "WLAN MAC Address" to the MAC address
of the module it will be connected to via the wired connection.
7. Click "Write Wireless LAN Settings". Click "Reboot Device".
8. Power on the second Wireless Bridge and enter the web configuration.
9. Repeat 2, 3, 4 and 5 above. These values MUST be identical to the ones entered for the previous
module.
10. Repeat step 6 above. The "WLAN MAC Address" must be set to the MAC address of the device
it will be connected to via the wired connection.
11. Click "Write Wireless LAN Settings". Click "Reboot Device".
All Ethernet packets will now be tunneled between the two Ethernet segments.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Supported Use Cases 22

3.5 Two Wireless Bridges Connected in Client Mode -


Alternative 2

3.5.1 Overview

This use case describes two Wireless Bridges connected in Client mode. Only one Ethernet device can
be connected to each of the modules. The Wireless Bridge is connected to a WLAN Access Point that
allows the use of Managed (infrastructure) mode with higher performance as a result.

3.5.2 Set Up the Use Case

Both modules must operate in Client or Multiclient mode in this use case.
1. Connect a PC to the Wireless Bridge. See section “Using the Web Configuration Interface” on
page 10 for more information on how to connect to the Wireless Bridge.
2. Define the WLAN connection parameters. The following parameters are required:

Parameter Required Value Comment


WLAN - Network
Network Name (SSID) Select the SSID of the Access Point
WLAN - General
Operational mode Infrastructure
WLAN Channel Select the one used by the Access Point or 0 (zero)
WLAN Data Rate This is the maximum used data rate
WLAN - Security
Security Mode Select the one required by the Access Point
WLAN - Client mode
Mode Client Mode Multiclient mode can also be used
WLAN MAC Address Enter the MAC address of the device the Wireless Bridge is connected to or
use SMART to assign the addressa
a. As an alternative to entering the MAC address manually, SMART mode 11 (Client mode) may be used. This will
also set the device in Client mode.

Note: For this SMART mode to operate, it is required that the device spontaneously sends Ethernet packages on
the Ethernet link.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Supported Use Cases 23

3.6 PC Connected Wirelessly to Wireless Bridge


- Alternative 1

3.6.1 Overview

In this use case only ONE Ethernet device is connected to the Wireless Bridge. The PC is used to access
the Ethernet device, using any Ethernet-based protocol, e.g. a built-in web interface or an Ethernet
based communication protocol e.g. Modbus-TCP.

3.6.2 Set Up the Use Case

The Wireless Bridge must operate in Client Mode in this use case.
1. Connect a PC to the Wireless Bridge. See section “Using the Web Configuration Interface” on
page 10 for more information on how to connect to the Wireless Bridge.
2. Define the WLAN connection parameters. The following parameters are required:

Parameter Required Value Comment


WLAN - Network
Network Name (SSID) Enter an SSID name. This is the ID shown to the PC when searching for
the Wireless Bridge.
WLAN - General
Operating Mode Ad-Hoc This is the only supported mode in this use case.
WLAN Channel Select a channel to communicate on.
WLAN Data Rate A fixed rate is desired. “0” (Auto) is recommended
WLAN - Security
Security Mode Select according to requirements. WEP128 (Open) is recommended
Passkey Dependent on the selected Security Mode.
WLAN - Client Mode
Mode Client Mode
WLAN MAC Address This should be set to the MAC address of the Ethernet device connected
to the Wireless Bridgea
a. As an alternative to entering the WLAN MAC address manually, SMART mode 11 (Client
mode) may be used.
Note: For this mode to operate it is required that the device spontaneously sends Ethernet
data on the Ethernet link.

How the PC is set up is dependent on the Wireless LAN solution supported for the PC. Use the WLAN
GUI to search for an ad-hoc network with the same SSID as the one set for the module. Select WEP as
encryption, and select the same WEP key that you entered during the Wireless Bridge configuration.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Supported Use Cases 24

3.7 PC Connected Wirelessly to Wireless Bridge


- Alternative 2

3.7.1 Overview

In this use case, only ONE Ethernet device is connected to the Wireless Bridge. The PC is used to access
the Ethernet device, using any Ethernet-based protocol, e.g. a built-in web interface or an Ethernet
based communication protocol, e.g. Modbus-TCP. In this case, the Wireless Bridge and the PC are con-
nected to each other via a WLAN Access Point, which allows the use of Managed (infrastructure) mode,
resulting in higher performance.

3.7.2 Set Up the Use Case

The Wireless Bridge must operate in Client Mode in this use case.
1. Connect a PC to the Wireless Bridge. See section “Using the Web Configuration Interface” on
page 10 for more information on how to connect to the Wireless Bridge.
2. Define the WLAN connection parameters. The following are required:

Parameter Required Value Comment


WLAN - Network
Network Name (SSID) Enter an SSID for the Access Point.
WLAN - General
Operating Mode Managed
WLAN Channel Select the channel used by the Access Point or “0”
WLAN Data Rate A fixed rate is desired. “0” (Auto) is recommended
WLAN - Security Choose the type as required by the Access Point
WLAN - Client Mode
Mode Client Mode
WLAN MAC Address This should be set to the MAC address of the Ethernet device connected
to the Wireless Bridgea
a. As an alternative to entering the WLAN MAC address manually, SMART mode 11 (Client
mode) may be used.
Note: For this mode to operate it is required that the device spontaneously sends Ethernet data
on the Ethernet link.

How the PC is is set up is dependent on the Wireless LAN solution supported for the PC. Use the
WLAN GUI to search for a Managed (infrastructure) network with the same SSID as the Access Point.
Select the same security parameters as defined for the Access Point.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Supported Use Cases 25

3.8 Multiple Ethernet Devices Connected in Client Mode


- Alternative 1

3.8.1 Overview

Three or more Wireless Bridges connected in an ad-hoc network. This use case requires Client mode.

3.8.2 Set Up the Use Case

The Wireless Bridge must operate in Client Mode in this use case.
1. Connect a PC to each of the Wireless Bridges. See section “Using the Web Configuration Inter-
face” on page 10 for more information on how to connect to the Wireless Bridge.
2. Define the WLAN connection parameters. The following are required:

Parameter Required Value Comment


WLAN - Network
Network Name (SSID) Enter a network SSID. Use the same SSID on all Wireless Bridges.
WLAN - General
Operating Mode Ad-Hoc This is the only supported mode in this use case.
WLAN Channel Enter a channel to communicate on.
WLAN Data Rate A fixed rate is desired. “0” (Auto) is recommended
WLAN - Security
Security Mode Select according to requirements. WEP128 (Open) is recommended
Passkey Dependent on the selected Security Mode.
WLAN - Client Mode
Mode Client Mode
WLAN MAC Address This should be set to the MAC address of the Ethernet device connected
to the Wireless Bridgea
a. As an alternative to entering the WLAN MAC address manually, SMART mode 11 (Client
mode) may be used.
Note: For this mode to operate it is required that the device spontaneously sends Ethernet data
on the Ethernet link.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Supported Use Cases 26

3.9 Multiple Ethernet Devices Connected in Client Mode


- Alternative 2

3.9.1 Overview

Three or more Wireless Bridges connected through a WLAN Access Point. This use case requires Client
mode. In this case the Wireless Bridges are connected to each other via a WLAN Access Point that al-
lows the use of Managed (infrastructure) mode, resulting in higher performance.

3.9.2 Set Up the Use Case

All Wireless Bridges must operate in Client Wireless Mode in this use case.
1. Connect a PC to each of the Wireless Bridges. See section “Using the Web Configuration Inter-
face” on page 10 for more information on how to connect to the Wireless Bridge.
2. Define the WLAN connection parameters. The following parameters are required:

Parameter Required Value Comment


WLAN - Network
Network Name (SSID) Enter the SSID of the Access Point
WLAN - General
Operating Mode Managed
WLAN Channel Select the one used by the Access Point or “0”
WLAN Data Rate A fixed rate is desired. “0” (Auto) is recommended
WLAN - Security Select according to the one required by the AP
WLAN - Client Mode
Mode Client Mode
WLAN MAC Address This should be set to the MAC address of the Ethernet device connected
to the Wireless Bridgea
a. As an alternative to enterng the WLAN MAC address manually, SMART mode 11 (Client
mode) may be used.
Note: For this mode to operate it is required that the device spontaneously sends Ethernet data
on the Ethernet link.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Supported Use Cases 27

3.10 One or More Wireless Bridges Connected to a


Wired Infrastructure through WLAN

3.10.1 Overview

In this use case the Wireless Bridges are used to connect to a wired Ethernet infrastructure using a stand-
ard WLAN access point. Other WLAN devices can, of course, be connected to the same access point,
assuming they share the same networking parameters as the Wireless Bridges.

3.10.2 Set Up the Use Case

All Wireless Bridges must operate in Client Mode in this use case.
1. Connect a PC to the Wireless Bridge. See section “Using the Web Configuration Interface” on
page 10 for more information on how to connect to the Wireless Bridge.
2. Define the WLAN connection parameters. The following are required:

Parameter Required Value Comment


WLAN - Network
Network Name (SSID) Enter the SSID of the Access Point
WLAN - General
Operating Mode Managed
WLAN Channel Select the one used by the Access Point, or “0”
WLAN Data Rate A fixed rate is desired. “0” (Auto) is recommended
WLAN - Security Select the one required by the AP
WLAN - Client Mode
Mode Client Mode
WLAN MAC Address This should be set to the MAC address of the Ethernet device connected
to the Wireless Bridgea
a. As an alternative to entering the MAC address manually, SMART mode 11 (Client mode) may
be used.
Note: For this mode to operate it is required that the device spontaneously sends Ethernet data
on the Ethernet link.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Supported Use Cases 28

3.11 External WLAN Client Connected to a Wireless


Bridge

3.11.1 Overview

In this use case, some other WLAN client is connected to a Wireless Bridge that in turn is connected to
an Ethernet device.

3.11.2 Set Up the Use Case

The Wireless Bridge must operate in Client Mode in this use case.
1. Connect a PC to the Wireless Bridges. See section “Using the Web Configuration Interface” on
page 10 for more information on how to connect to the Wireless Bridge.
2. Define the WLAN connection parameters. The following are required:

Parameter Required Value Comment


WLAN - Network
Network Name (SSID) Enter the same SSID as the external device
WLAN - General
Operating Mode Ad-Hoc
WLAN Channel Select the same channel as the external device
WLAN Data Rate A fixed rate is desired. “0” (Auto) is recommended
WLAN - Security
Security Mode “WEP64”, “WEP128”, or “None”. If shared authentication is desired, select
“Other”
Passkey Select the same WEP key as the external device
WLAN - Client Mode
Mode Client Mode
WLAN MAC Address This should be set to the MAC address of the Ethernet device connected
to the Wireless Bridgea
a. As an alternative to entering the WLAN MAC address manually, SMART mode 11 (Client
mode) may be used.
Note: For this mode to operate it is required that the device spontaneously sends Ethernet data
on the Ethernet link.

The external device must be configured to support ad-hoc mode and use the same WEP key and SSID
as the Wireless Bridge.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Supported Use Cases 29

3.12 Multiclient Mode

3.12.1 Overview

Multiclient mode is used when there is a need to have several devices (3 and 4 in figure above) behind
the Wireless Bridge that communicates with 1 and/or 2. The restriction is that only one device (3 or 4
in the example) can use Layer-2 communication, while the others need to use the IP layer. The Wireless
Bridge must also be configured on the same IP subnet as the other devices.
For devices to use DHCP over the Wireless Bridge connection while in Multiclient mode, the built-in
DHCP relay can be switched on with AT*ANDHCP, to ensure that all packets are forwarded correctly.
In this case, "DHCP Client and DHCP Relay" is recommended.

3.12.2 Set Up the Use Case

Multiclient mode is configured with AT*ACEW. If no Layer-2 communication is required, the MAC-
address for AT*ACEW can be set to the Ethernet MAC-address of the Wireless Bridge.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Appendix 4

4. Legal and Regulatory

4.1 ICC and FCC Compliance

IC Compliance
Operation is subject to the following two conditions:
1. This device may not cause harmful interference
2. This device must accept any interference received, including interference that may cause unde-
sired operation
The installer of this radio equipment must ensure that the antenna is located or pointed such that it does
not emit RF field in excess of Health Canada limits for the general population; consult Safety Code 6,
obtainable from Health Canada's website http://www.hc-sc.gc.ca.

4.1.1 FCC Statement

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 interference
received, including interference that may cause undesired operation.
• This equipment has been tested and found to comply with the limits for a Class B digital device,
pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection
against harmful interference in a residential installation. This equipment generates, uses and can
radiate radio frequency energy and, if not installed and used in accordance with the instructions,
may cause harmful interference to radio communications. However, there is no guarantee that
interference will not occur in a particular installation. If this equipment does cause harmful in-
terference to radio or television reception, which can be determined by turning the equipment
off and on, the user is encouraged to try to correct the interference by one or more of the fol-
lowing measures:
• Re-orient or relocate the receiving antenna
• Increase the separation between the equipment and receiver
• Connect the equipment to an outlet on a circuit different from that to which the receiver
is connected
Consult the dealer or an experienced radio/TV technician for help.

Caution
• Any changes or modifications NOT explicitly APPROVED by connectBlue AB could cause the
module to cease to comply with FCC rules part 15, and thus void the user's authority to operate
the equipment.
• Within the 5180 to 5240 MHz band (5 GHz radio channels 34 to 48) the product are restricted
to indoor operations.
• §15.407 statement; in case of absence of information to transmit or operational failure the prod-
uct will automaticallyv discontinue transmission.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Legal and Regulatory 31

Ad-hoc Frequencies
When operating under the definition of a client in 47 CFR §15.202 is preconfigured to use the most re-
strictive regulatory domain. For this reason the available operating frequency range is limited to channel
1 - 11 (2412 - 2462 MHz) for IEEE802.11b/g. For IEEE802.11a the available operating frequency
range is limited to channels 36 - 48 (5180 - 5240 MHz).

RF-exposure Statement
This modular transmitter MUST have a separation distance of at least 20 cm between the antenna and
the body of the user or nearby persons.
Any notification to the end-user of installation or removal instructions about the integrated radio mod-
ule is NOT allowed.

4.2 Declaration of Conformity

The product meets the essential requirements according to article of the following EC-Directives:
R&TTE Directive 1999/5/EC
Effective use of frequency spectrum:
EN 300 328 V1.7.1 (2006-10)*
EN 301 893 V1.5.1 (2008-12)**
EMC:
EN 301 489-1 V1.8.1 (2008-04)
EN 301 489-17 V2.1.1 (2009-05)
EN 61000-6-2 (2005)
Health and Safety:
EN 50371:2002
EN 60950-1:2006 + A11:2009

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205
Legal and Regulatory 32

4.3 Licenses
This product contains software under the following licenses:
/*
* Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistribution of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistribution in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
* SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
* OF SUCH DAMAGE.
*
* This file is part of the lwIP TCP/IP stack.
*
* Author: Adam Dunkels <adam@sics.se>
*
*/

Copyright (c) 2006-2008, Christophe Devine.


All rights reserved.

Redistribution and use in source and binary forms, with or without


modification, are permitted provided that the following conditions
are met:

* Redistributions of source code must retain the above copyright


notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of XySSL nor the names of its contributors may be
used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS


"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Anybus Wireless Bridge - Ethernet to WLAN


Doc.Rev. 1.30 Doc.Id. HMSI-27-205

Das könnte Ihnen auch gefallen