Configuring the IP Address
with the Primary Setup Tool
Configuration Using the
Wizards of
Web Based Management
Configuration Using Web
Based Management and the
Command Line Interface
Technical Specifications
3
4
5
6
7
C79000-G8976-C184-07
Release 10/2006
Approvals, Appendix, Glossary,
Index
Classification of Safety-Related Notices
This document contains notices which you should observe to ensure your own
personal safety, as well as to protect the product and connected equipment. These
notices are highlighted in the manual by a warning triangle and are marked as follows
according to the level of danger:
!
Danger
indicates that death or severe personal injury will result if proper precautions are not
taken.
!
Warning
indicates that death or severe personal injury can result if proper precautions are not
taken.
!
Caution
with warning triangle indicates that minor personal injury can result if proper
precautions are not taken.
Caution
without warning triangle indicates that damage to property can result if proper
precautions are not taken.
Notice
indicates that an undesirable result or status can occur if the relevant notice is
ignored.
Note
highlights important information on the product, using the product, or part of the
documentation that is of particular importance and that will be of benefit to the user.
The reproduction, transmission or use of this document or its contents is
not permitted without express written authority. Offenders will be liable fo
damages. All rights, including rights created by patent grant or registration
of a utility model or design, are reserved.
Siemens AG
Automation and Drives
Industrial Communication
Postfach 4848, D-90327 Nürnberg
Siemens Aktiengesellschaft Printed in the Federal Republic of Germany
Disclaimer
We have checked the contents of this manual for agreement with the
hardware and software described. Since deviations cannot be preclude
r
entirely, we cannot guarantee full agreement. However, the data in this
manual are reviewed regularly and any necessary corrections included in
subsequent editions. Suggestions for improvement are welcome.
C79000-G8976-C184-07
Technical data subject to change.
d
Trademarks
SIMATIC®, SIMATIC NET®, SINEC®, SIMATIC NET Networking for Industry® and
SCALANCE® are registered trademarks of Siemens AG.
Third parties using for their own purposes any other names in this document which
refer to trademarks might infringe upon the rights of the trademark owners.
Safety Instructions Regarding your Product
Before you use the product described here, read the safety instructions below
thoroughly.
Personnel Qualification Requirements
Only qualified personnel should be allowed to install and work on this equipment.
Qualified personnel as referred to in this manual or in the warning notes are defined
as persons who are familiar with the installation, assembly, startup and operation of
this product and who possess the relevant qualifications for their work, e.g.:
● Training in or authorization for connecting up, grounding or labeling circuits and
devices or systems in accordance with current standards in safety technology
● Training in or authorization for the maintenance and use of suitable safety
equipment in accordance with current standards in safety technology
● First aid qualification
Correct Usage of Hardware Products
Please note the following regarding the correct usage of hardware products:
Caution
This device may only be used for the applications described in the catalog or the
technical description, and only in connection with devices or components from other
manufacturers which have been approved or recommended by Siemens.
This product can only function correctly and safely if it is transported, stored, set up,
and installed correctly, and operated and maintained as recommended.
Before you use the supplied sample programs or programs you have written yourself,
make certain that no injury to persons nor damage to equipment can result in your
plant or process.
Before putting the product into operation, note the following warning:
Caution
Prior to startup you must observe the instructions in the relevant documentation. For
ordering data of the documentation please refer to the catalogs or contact your local
SIEMENS representative.
These Operating Instructions cover the following products:
● SCALANCE W788-1PRO
● SCALANCE W788-2PRO
● SCALANCE W788-1RR
● SCALANCE W788-2RR
Where the description applies to all products, the name SCALANCE W78x is used.
Where the description applies to a specific product, the full name of the product is
used.
These operating instructions apply to the following software versions:
● SCALANCE W78x firmware as of Version 3.1
● Primary Setup Tool as of Version 3.1
Purpose of the Operating Instructions
These operating instructions are intended to provide you with the information you
require to install, commission and operate the SCALANCE W78x correctly. It
explains how to configure the SCALANCE W78x and how to integrate the
SCALANCE W78x in a WLAN network.
Apart from the operating instructions you are currently reading, the following
documentation is also available from SIMATIC NET on the topic of Industrial
Wireless LANs:
●Operating Instructions (compact) SCALANCE W7xx
This document is supplied with the device on paper and contains a concise
summary of the most important information required to use the following
products:
The document contains all the information for the setup, commissioning and
operation of these devices. The SCALANCE W74x is connected to a PC / PLC
by an Ethernet cable and allows the attachment of these devices to a wireless
network; in other words, it is a gateway from a wired to a wireless network.
●System Manual Wireless LAN Basics
This includes not only the description of the physical basics and an outline of
the most important IEEE standards but also information on data security and a
description of industrial uses of wireless LAN.
You should read this manual if you want to set up WLAN networks with a more
complex structure (not only connections between two devices).
● System Manual RCoax
This system manual contains both an explanation of the technical basis of
leaky feeder cables as well as a description of the SIMATIC NET RCoax
components and their functionality. The installation / commissioning and
connection of RCoax components is explained.
●Manual IWLAN/PB Link PNIO Gateway for Industrial Ethernet
The user documentation for the IWLAN/PB Link. This device is a gateway
between IWLAN and PROFIBUS.
●Operating Instructions CP 7515
The comprehensive user documentation for the CP 7515 communications
processor with all the information required to operate this device.
The CP 7515 is inserted in a CardBus / PC-card (32-bit) slot and allows
attachment of the PC/PG to a wireless network.
●Operating Instructions (compact) CP 7515
This document is supplied with the device on paper and contains a concise
summary of the most important information required to use the CP 7515.
●Manual CP 1515
The comprehensive user documentation for the CP 1515 communications
processor with all the information required to operate this device.
The CP 1515 is inserted in a PC-card slot (Type II) and allows attachment of
the PC/PG to a wireless network.
With regard to the question of whether electromagnetic fields (for example in
association with industrial wireless LANs) can put human health at risk, we refer to
a publication of BITKOM (German Association for information Technology,
Telecommunication and New Media e. V.), dated December 2003:
"The same regulations for the protection of health for all other radio
applications also apply to WLAN devices. These regulations are based on
the protection concept of ICNIRP2 or the corresponding recommendation of
the European Council.
The independent German radiation protection commission (SSK) was
commissioned by the federal German ministry of the environment to
investigate the possible dangers - thermal and non-thermal - resulting from
electromagnetic fields and came to the following conclusions3:
"The SSK comes to the conclusion that even after evaluation of the latest
scientific literature, there is no new scientific evidence regarding proven
adverse effects on health that causes any doubt regarding the scientific
evaluation on which the protection concept of the ICNIRP or the European
Council recommendation."
Preface
The SSK also concludes that below the current limit values, these is also no
scientific suspicion of health risks.
This assessment agrees with those of other national and international
scientific commissions and of the WHO (
www.who.int/emf).
Accordingly and in view of the fact that WLAN devices are significantly below
the scientifically established limit values, there are no health risks from the
electromagnetic fields of WLAN products.
2
International Council on Non-Ionizing Radiation Protection
3
'Limit Values and Precautionary Measures to Protect the General Public from Electromagnetic
Fields' Recommendation of the Radiation Protection Commission (SSK) with scientific
justification, Issue 29, 2001.
"
You will find further information on this topic under the following URL:
This configuration does not require a server and the SCALANCE W78x does not
have a connection to a wired Ethernet. Within its transmission range, the
SCALANCE W78x forwards data from one WLAN node to another.
The wireless network has a unique name. All the devices exchanging data within
this network must be configured with this name.
1
Figure 1-1 Standalone Configuration of a SCALANCE W78x. The gray area indicates
the wireless transmission range of the SCALANCE W78x.
13
d Hoc Networks
A
In the ad hoc mode, nodes communicate directly (connections 1 through 3 in
Figure 1-2) without involving a SCALANCE W78x with each other (connection 4).
The nodes access common resources (files or even devices, for example a printer)
of the server. This is, of course, only possible when the nodes are within the
wireless range of the server or within each other's range.
If one (or more) SCALANCE W78x access points have access to wired Ethernet,
the following applications are possible:
● A single SCALANCE W78x as gateway:
A wireless
network can be connected with a wired network over a SCALANCE
W78x.
● Span of wireless coverage for the wireless network with several
SCALANCE W78x access points:
The SCALANCE W78x acc
SSID (network name). All nodes that want to communicate over this network
must also be configured with this SSID.
If a mobile station moves from the coverage r
SCALANCE W78x to the coverage range (cell) of another SCALANCE W78x,
the wireless connection is maintained (this is called roaming).
thernet Network
ess points are all configured with the same unique
ange (cell) of one
Figure 1-3 Wireless Connection of a Mobile Station over two Cells (Roaming)
If neighboring SCALANCE W78x access points use the same frequency cha
the response times are longer due to the collisions that occur. If the configuration
shown in Figure 1-4 is implemented as a single-channel system, computers A a
B cannot communicate at the same time with the SCALANCE W78x access po
in their ce
If neighboring SCALANCE W78x access points are set up for different frequencies,
this leads to a considerable improvement in
cells each have their own medium and the delays resulting from time-offset
transmission no longer occur.
Channel spacing should be as large as possible; a practical value would be 25
MHz. Even in a multichannel configuration, all SCALANCE W78x access points
can be configured with the same network name.
lls.
performance. As a result, neighboring
nnel,
nd
ints
1
A
7
1
B
7
Figure 1-4 Multichannel Configuration on Channels 1 and 7 with four
WDS allows direct connections between SCALANCE W78x devices and or
between SCALANCE W78x and other WDS-compliant devices. These are use
create a wireless backbone or to connect an individual SCALANCE W78x to a
network that cannot be connected directly to the cable infrastructure
location.
Two alternative configurations are possible
both using its name and its MAC address.
1
A
B
)
d to
due to its
. The WDS partner can be configured
1
1
1
Figure 1-5 Implementation of WDS with four SCALANCE W78x Access Points
RWlan allows a redundant, wireless connection between two SCALANCE W7882xx devices (W788-2PRO or W788
wireless backbone that cannot be
location but nevertheless has high demands in terms of availability.
Basic Information on Wireless LAN Communication
-2RR). This is used to set up a redundant
implemented as a wired network due to its
Two alternative configurations are possible. The RWl
both using its name and its MAC address.
an partner can be configured
B
A
Figux.
re 1-6 Implementation of RWlan with two SCALANCE W788-2x
As an alternative, data transfer is possible over one of the two wireless
adapters.
Frames in the direction from the client to the access point always have th
address of the WLAN interface as the source MAC address. As a result, the
learning table at the access point end always has only the MAC address of the
WLAN interface of the client.
If the MAC address of a device conn
both the MAC-based and the IP-based frames find their destination in precisely thi
device.
Other node
checks whether the destination MAC matches the MAC addresses of the
connected clients. Since a client can only adopt one MAC address, the acc
point does not find a match and discards the packets to other nodes.
Maximum possible number of MA
s located downstream from the client cannot be reached. The AP
ected to the client over Ethernet is adopted,
C nodes downstream from the client: 1
e MAC
s
ess
Notes on setting Auto Find Adopt MAC:
● As long as there is no link on the Ethernet interface, t
address of the Ethernet interface so that it can be reached in this status. In this
status, the device can be found using the Primary Setup Tool.
● As soon as there is a link on the Ethernet interface, the device adopts the
source MAC address o
Note
From the moment that the device adopts another MAC address (whether manually
or automatically), the device no longer responds to queries of the Primary Setup
Tool when the query is received over the WLAN interface. Queries of the PST over
the Ethernet interface continue to be replied to.
f the first received frame.
he device uses the MAC
Adopt Own MAC (only W746/W747 and W788 in client mode)
If IP-based frames need to be sent to a device connected downstream from the
client, the default setting Adopt Own Mac can be retained. The client registers with
the MAC address of its Ethernet adapter. The IP packets are broken down
according to an internal table and forwarded to the connected devices (IP
mapping).
Communication at the MAC address level (ISO/OSI layer 2) is then only possible
with a component downstream from the client if its MAC address was adopted by
the client.
Maximum possible number of MAC nodes downstream from the
Layer 2 Tunneling (only W746/W747 and W788 in client mode)
With layer 2 tunneling, the client provides information about the devices
downstream from it when it registers with an access point. This makes it possible to
enter the MAC addresses of these devices in the learning table of the access point.
The access point can forward MAC-based frames for the devices downstream from
the client to the appro
In much the same way as with WDS, a separate port is created for th
over which the Ethernet frames are sent without changing the destination MAC
address.
Maximum possible num
priate client.
ber of MAC nodes downstream from the client: 8
1.2.2 IP-based Communication
IP Mapping
(only W746/747 and W788 in client mode)
If there is more than one device connected downstream from the client and these
o
sh uld only be addressed with IP frames, you can implement WLAN access for
sev With IP mapping, the client maintains a table with
eral devices with one client.
the assignment of MAC address and IP address to forward incoming IP frame
the correct MAC address.
client: 0
e L2T client
s to
Maximum possible number of IP nodes downstream from the client: 8
● 2 (or 4 with SCALANCE W788-2PRO or SCALANCE W788-2RR) protective
caps for the R-SMA sockets
● 1 SIMATIC NET Industrial Wireless LAN CD with these Operating Instructions
for the SCALANCE W78x
Please check that the consignment you have received is complete. If it is not
complete, please contact your supplier or your local Siemens office.
A PG/PC with a network attachment must be available to configure the
SCALANCE W78x. If no DHCP server is available, a PC on which the Primary
Setup Tool (PST) is installed is necessary for the initial assignment of an IP
address to the SCALANCE W78x. For the other configuration settings, a computer
with Telnet or an Internet browser is necessary.
The SCALANCE W78x is equipped with an Ethernet interface and a wireless LAN
inte88-2RR: two WLAN
rface (SCALANCE W788-2PRO and SCALANCE W7
interfaces). This makes the device suitable for the following applications:
● The SCALANCE W78x forwards data within its transmission range from
node to another without a connection to wired Ethernet being necessary.
●
The SCALANCE W78x can be used as a gateway from a wired to a wireless
network.
The SCALANCE W78x can be used as a wireless bridge between two
●
tworks.
ne
● The SCALANCE W78x can be used as a bridge between two different
frequencies.
Over and above this, due to the second interface of the SCALANCE W788-2PR
and the SCALANCE W788-2RR, a redundant w
implemented between two SCALANCE W788-2xx modules.
● The Ethernet interface supports 10 Mbps and 100 Mbps, both in full and half
duplex as well as autocrossing and autonegotiation.
Operating the wireless interface in the frequency bands 2.4 GHz and 5 GHz.
●
● Th
e wireless interface is compatible with the standards IEEE 802.11a ,
IEEE 802.11b and IEEE 802.11g. In the 802.11a- and 802.11g mode, the
gross transmission rate is up to 54 Mbps. In turbo mode, the Transmission rate
is up to 108 Mbps (not permitted in all countries and modes).
N
ote
If NCEate (Arbo), remember
the SCALA
that the channelso the set transmission channel are also used for
communicrbn therefoon these channels when there
ation. Distu ances care occur
W78x is oper
adjacent t
are neighboring wireless systems. The dahput can also be reduced if
there is com etition for use these hannel
p of cs.
d in turbo mode, G or H tu
ta throug
● As an expansion of the 802.11a mode, it is also possible to opg
erated accordin
to the IEEE 802.11h standard. In 802.11h mode, the procedures Transmit
Powend uenn) are used in
r Control (TPC) aDynamic Freqcy Selectio (DFS the
range 5.25 - 5.35 and 5.47 - 5.75 GHz. This means that in somthe
frequency sub-band 5.47 - 5.725 GHz can also be used outdoer
e countries,
ors with high
transmit power.
TP
C is a method of coling the transmit power tharedu
c
urrently required level. With dynamic freency selecn (DF
point searches for primary users (for example radar) on a randcted
channel before starting communication. If signals are found on
this ch
annel is disabledand the availability check is repeated on
a
r c
nothehannel.
The gross transmission rate is up to 54 Mbps in 802.11h mod
● Support of the authentication standards WPA, WPA-PSK, WP
ntrolt is
qu
tio
for 30 minutes
ced to the
S), the access
omly sele
the channel,
e.
A2, WPA2-PSK
and IEEE 802.1x and the encryption methods WEP, AES and TKIP.
● Suitable for
inclusion of a RADIUS server for authentication.
● Device-related and application-related monitoring of the wireless connection.
● The interoperability of SCALANCE W78x dev
ices with Wi-Fi devices of other
vendors was tested thoroughly.
● Only for W78x-1RR/2RR: The iPCF mode provides an optimized data
throughput and minimum handover times.
On the front of the housingg
status of the SCALANCE W
ANCE Ws the following ports:
hybrid conne
45 jack anwes the use of
d 4-pin po
r on the front panel of the housing cons
r socket. The RJ-45 connector support
switches capable of power-over-Ethernet according to 802.3af. The 4-pin
power socket allows power of 18 - 32 V DC.
An M12 connector anal power supply (18 - 3
2 V DC).
r R-SMA plugs on the SCALANCE W788-2
SCALANCE W788-2Rchment of antennas on the sides of the
R) for the atta
device.
, several LEDs provide information on the operatin
Yellow Data transfer over the Ethernet interface (traffic).
Green There is a connection over the Ethernet interface. (Link)
Yellow flashing PRESET-PLUG detected.
Yellow/green PRESET function completed successfully.
Green flashing "Flashing“ enabled over PST.
Power supply over the hybrid connector X1 (PoE or
energy contacts).
Yellow Data transfer over the first WLAN interface.
Green Access Point Mode:
The WLAN interface is initialized and ready for operation.
Client Mode:
There is a connection over the first WLAN interface.
Green flashing Access Point Mode:
The channels are scanned.
Client Mode:
The client is searching for a connection to an access point or
ad hoc network.
Green flashing
quickly
Yellow flashing PRESET-PLUG detected.
Access Point
With 802.11h
primary users before the channel can be used for data traffic
Client Mode:
The client waits for the adopt MAC addr
<Aut
nce:
Mode:
the channel is scanned for one minute for
o Find Adopt MAC> and is connected to no access point.
.
ess due to the setting
Green
3x fast,
1x long
flashing
Yellow/green PRESET function completed successfully.
Clie
nt Mode:
The client waits for the adopt
<Auto Find Adopt MAC> a
nd is connected to an access point.
MAC address due to the setting
LED Color Meaning
R2
Yellow Access Point Mode:
Data transfer over the second WLAN interface.
Client Mode:
The LED is always off because the 2nd interface is not
available in client mode.
Green Access Point Mode:
The WLAN interface is initialized and ready for operation.
Client Mode:
The LED is al
available in client mode.
Green flashing Access Point Mode:
The channels are scanned.
Client Mode:
The LED is always off because the 2nd interface is not
C-PLUG is used to transfer the configuration of the old device to the new
devrts up with the C-
ice when a device is replaced. When the new device sta
PLUG, it then continues automatically with exactly the same configuration as the
old device. One exception to this can be the IP configuration if it is set over DHCP
and the DHCP server has not been reconfigured accordingly.
Reconfiguration is necessary if you use WDS or redundancy and use the MAC
addresses and not the sysNames. These functions are then based on the MAC
address that inevitably changes if a device is replaced.
Note
As soon as the device is started with a C-PLUG inserted, the SCALANCE W starts
up with the configuration data on the C-PLUG.
Replacing the C-PLUG
Follow the steps below to replace a C-PLUG in a SCALANCE W78x:
1 Turn off the power to the device.
2 Remove the old SCALANCE W78x from its mounting and open the sealing
screw on the rear with a coin or broad screwdriver.
3 Remove the C-PLUG.
4 Open the sealing screw of the new device in the same way and insert the C-
PLUG of the old device.
5 Replace the sealing screws of both devices.
If a new C-PLUG is inserted in a SCALANCE W78x, the configuration stored locally
on the SCALANCE W78x is saved to the C-PLUG. If an incorrect C-PLUG (for
example from another device or a damaged plug) is inserted, the
SCALANCE W78x signals an error with the red LED. The user then has the choice
of either removing the C-PLUG again or selecting the option to reformat the CPLUG and use it.
Note
It is necessary that the configuration on the C-PLUG was generated with a
firmware version ≤ the firmware version on the destination device.
Example: A C-PLUG with version V3.0 cannot be used for a SCALANCE W78x
with firmware version V2.4.
The reset button is on the rear of the device directly beside the C-PLUG receptacle
and has several functions:
●Restarting the dev
To restart the device
ice.
, press the Reset button.
●Loading new firmware
(Only if the normal procedure for loading firmware with Load & Save (see
Section. 6.2.10) does not work). This can, for example, occur if there was a
power down during the normal firmware update.
Follow the steps below to load new firmware:
1. Turn off the powe
r to the device.
2. Now press the Reset button and reconnect the power to the device while
hold
ing down the button.
3. Hold down the button until the red fault LED (F) starts to flash after
approximately 2 seconds.
4. Now release the button. The bootloader waits in this state for a new
file that you can download by FTP.
5. Assign an IP address with the Primary Setup Tool.
6. Connect a PC to the SCALANCE W78x over the Ethernet interface.
7. Then enter the co
FTP client. The new firmware should be located in the same fol
mmand "ftp <ip address>“ in a DOS box or use a different
der as the
DOS box.
firmware
8. For the login and password, enter "siemens“. You can now transfer the new
firm
ware with the "put <firmware>“ command.
9. Once the firmware has been transferred completely to the device, the device
is restarted automatically.
● Restoring the default parameters (factory default)
Caution:
All previously made settings are lost!
First, turn off the power to the device. Now press the Reset button and
reconnect the power to the device while holding down the button. Hold down
the
button until the red fault LED (F) stops flashing after approximately 10
seconds and is permanently lit. Now release the button and wait until the
fault LED (F) goes off again. The device then starts automatically with the
default parameters.