Wireless Communication: © 2010 Karel de Grote Hogeschool, Dominique Daens
Wireless Communication: © 2010 Karel de Grote Hogeschool, Dominique Daens
Wireless Communication: © 2010 Karel de Grote Hogeschool, Dominique Daens
1
© CoNeT – Co-operative Network Training
Wireless Communication
2
1. Overview of the Components in the Wireless CML(1)
PLC Siemens
315 2DP/PN
Chapter 1: Overview of the Basic Components in the Wireless CML © 2010 Karel de Grote–Hogeschool Dominique Daens
3
1. Overview of the Components in the Wireless CML(2)
ProfiNet Device IL PN BK DI8 DO4 2TX-PAC
+IB IL AI 2/SF-PAC+ IB IL AO 2/U/BP-PAC
WLAN AC Bluetooth AC
(2692791) (2692788) (2703994 + 2861467 + 2861302)
© CoNeT – Co-operative Network Training
ANI/ANO
simulator + DI
Chapter 1: Overview of the Basic Components in the Wireless CML © 2010 Karel de Grote–Hogeschool Dominique Daens
4
2. Description functionalities of the Wireless components
Bridge
Access Client (AC)
• The transceivers can send Ethernet data with the option of
adding serial data over the wireless link.
• Conforms to IEEE 802.11a/b/g standards
• Security Mechanism
WEP Encryption (shared or open authentication)
WPA with TKIP/AES-CCMP Encryption
WPA-EAP-TLS, and WPA2-EAP-TLS
MAC Address Filtering
Bridge encryption (AES)
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
5
Exercise 1: Wireless communication
© CoNeT – Co-operative Network Training between a PC with WLAN interface and
the FL WLAN 24 AP 802-11 XDB
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
6
2.2 Configuring the WLAN transceiver (FL WLAN 24 AP)
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
7
2.2.2 Configuring the WLAN Transceiver as Access Point (AP)
8
• The “Configuration… General” menu
5. Click the “Expand All” button at the bottom of the menu to open
all of the folders.
© CoNeT – Co-operative Network Training 6. Click the “Configuration… General” menu
7. Click the “Submit” button to make the settings active.
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
• If desired, enter a Device Name/Location, Host Name, Domain Name, and Contact.
These are not necessary for proper operation but make troubleshooting large networks
easier.
• Click the appropriate radio button for the desired time keeping method. Time keeping can
be done by
– manually entering the time.
– using the connected PC clock.
– connecting to an NTP (Network Time Protocol) server (requires an Internet connection).
9
•The “Configuration… Operation Mode” menu
8. Click the “Configuration… Operational Mode” menu.
9. Click the “Wireless Access Point” button. Then, click the Submit”
© CoNeT – Co-operative Network Training button. The radio will reboot.
10
10
• The “Configuration..Access Point Radio..General” menu
11. Enter a new value (eg. CoNeT) in the “SSID” field. All Client
transceivers in the same network must have the same SSID.
© CoNeT – Co-operative Network Training
CoNeT
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
11
11
TEST of the Wireless communication
© CoNeT – Co-operative Network Training between PC and the FL WLAN 24 AP 802-
11 XDB
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
12
12
• The “Configuration..Access Point Radio..Security” menu
13. Click the “Access Point Radio… Security” menu.
14. Enter the desired method of security and appropriate settings.
© CoNeT – Co-operative Network Training
15. Enter the desired security settings.
Static WEP is an older method of encryption that can be easily broken by determined
individuals. WPA and 802.11i (WPA2) are more advanced encryption methods and are
recommended over WEP; however, all transceivers in the network must have this
capability.
Most devices available today support WPA.
13
• WEP security Settings for AP
1. Click the “Access Point Radio… Security” menu.
• The “Authentication
© CoNeT – Co-operative Network Training
Type” drop-down
menu allows selection
of “open”, “shared” or
“open/shared” (clients
may employ either)
• WEP Encryption
Method selects one of
three sizes of keys that
can be used by WEP
• WEP Keys 1-4 (64-bit
encryption) selects
one of four possible
keys that can be used
with 64-bit encryption
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
14
14
TEST of the WEP security
© CoNeT – Co-operative Network Training
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
15
15
• WPA and 802.11i (WPA2) security Settings for AP
1. Click the “Configuration… Access Point Radio… Security” menu
2. From the “Security Method” drop-down menu, select either WPA, WPA2
© CoNeT – Co-operative Network Training (802.11 i) or IEEE 802.11i and WPA. Selecting IEEE 802.11i and WPA allows
clients to use either method to connect to the Access Point
3.Select the desired options:
• To use 802.1x authentication, a Radius server must exist in the network. If a
Radius server does not exist in the network, select “Pre-Shared Key” and enter
up to 63 characters in the “Passphrase” field.
• Pairwise Key. If wireless clients use AES-CCMP or TKIP, select accordingly. If
there will be a mix of clients using AES-CCMP or TKIP, select both.
• If 802.1x authentication is selected, enter the appropriate data in the “Radius
Server IP Address” and “Shared Secret” fields.
• Select the appropriate choices from the “Group Key” and “Group Encryption
Key Lifetime” drop-down menus.
• Click the “Submit” button to write the changes to the radio.
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
16
Slide 1-01/29
Security Mechanism
Wi-Fi Protected Access, or WPA, was designed to enable use of wireless legacy
systems employing WEP while improving security.
WPA uses improved data encryption through the temporal key integrity protocol
(TKIP) which mixes keys using a hashing algorithm, and adds an integrity-checking
feature to ensure that the keys aren’t tampered with.
TKIP also incorporates re-keying, so the key is periodically changed to prevent old
keys from being captured and used for unauthorized network access.
In addition, user authentication is enabled using the extensible authentication
protocol (EAP).
Finally, a message integrity check (MIC) is used to prevent an attacker from
capturing and altering or forging data packets. It can also employ a form of AES
(Advanced Encryption Standard) called AES-CCMP.
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
17
Slide 1-01/29
17
• The “Configuration...LAN...IP Configuration” menu
1. Click the “Configuration…
LAN… IP Configuration” menu
© CoNeT – Co-operative Network Training • Select the speed of the LAN or
select Auto from the “LAN Link”
dropdown menu. If Auto is
selected, the radio automatically
determines network speed.
• If the network does not support
DHCP (Dynamic Host
Configuration Protocol), click the
“Specify a static IP Address”
radio button and enter the data
in the “Subnet Mask” and
“Default Gateway” fields.
2. Click the “Submit” button to
activate the new LAN settings.
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
18
Slide 1-01/29
18
Test out your configuration !!!!
© CoNeT – Co-operative Network Training
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
19
Slide 1-01/29
19
2.3 The Phoenix Contact FL WLAN EPA
2.3.1 Properties
• The Ethernet port adapter (FL WLAN EPA) is a high-
© CoNeT – Co-operative Network Training performance, industrial WLAN interface for Ethernet or Profinet-
compatible automation equipment (Higher priority for Profinet
data)
• A transparent protocol is used for data transmission on Layer 2
level, which ensures easy integration in Industrial Ethernet
networks such as Profinet, Modbus/TCP or Ethernet/IP.
• The FL WLAN EPA meets the Profinet requirements of
conformance class A and the Profisafe profile for failsafe
communication.
• compatibility with WLAN standard IEEE 802.11 b/g
• High level of security with WEP, WPA, and IEEE 802.11i
encryption mechanisms
• Easy configuration with standard web browsers via Ethernet,
SNMP or AT commands. The "Phoenix SPA EPA Toolbox"
software package can be downloaded free of charge at
www.phoenixcontact.com
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
20
Slide 1-01/29
The Ethernet port adapter (FL WLAN EPA) is a high-performance, industrial WLAN
interface for Ethernet or Profinet-compatible automation equipment. A WLAN access point
or another FL WLAN EPA can be used as the access point to the Ethernet control network.
A transparent protocol is used for data transmission on Layer 2 level, which ensures easy
integration in Industrial Ethernet networks such as Profinet, Modbus/TCP or Ethernet/IP.
The FL WLAN EPA meets the Profinet requirements of conformance class A and the
Profisafe profile for failsafe communication.
The FL WLAN EPA has certified compatibility with WLAN standard IEEE 802.11 b/g. This
means it can connect any WLAN module to the Ethernet network, provided the module also
supports standard IEEE 802.11 b/g.
Industrial devices with WLAN interface include, for example, (industrial) PCs or notebooks,
PDAs (personal digital assistants), industrial
barcode scanners, RFID readers, and weighing systems.
20
2.3.2 FL WLAN EPA interface
connection indicators
Mode configuration
LAN interface
button
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
21
Slide 1-01/29
– Antenna
The device is supplied with an internal circular polarized 5 dB panel antenna. The internal
antenna cannot be replaced.
– The supply voltage is connected via the 5-pos. M12 female connector (connector on the
device).
– Network connection: Copper interface in M12 format (female connector on the device)
with 10/100 Mbps with auto negotiation.
– Status and diagnostic indicator: The LEDs indicate the status of the Ethernet and WLAN
interfaces or act as configuration indicators.
21
2.3.3 WLAN and WLAN EPA operating modes
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
22
Slide 1-01/29
Infrastructure mode
Infrastructure mode is the simplest form of a wireless network. Communication between all
devices is via a shared access point. In this mode, all available transmission bandwidths up
to 54 Mbps can be used. The user can set the authentication and encryption methods.
Ad hoc mode
This mode is used to connect two WLAN devices together without an access point. Ad hoc
mode only offers the transmission bandwidth according to 802.11 b (11 Mbps) and
encryption according to the WEP standard.
22
2.3. 4 Examples of FL WLAN EPA Configurations
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
23
Slide 1-01/29
23
2.3.4 Examples of FL WLAN EPA Configurations
Infrastructure Network
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
24
Slide 1-01/29
24
2.3.4 Examples of FL WLAN EPA Configurations
Ad Hoc Network
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
25
Slide 1-01/29
The configuration can be set using the SMART button and uses ad hoc mode.
Sequence in ad hoc mode
1. Switch on the first device and set it to Smart mode. Then select configuration mode 4
"Wait for auto configuration" (LED C).
2. Switch on the second device and set it to Smart mode. Then select configuration mode 5
"Initiate auto configuration via WLAN, EPA to EPA bridge" (LED A+C).
3. Wait until the devices have connected to one another and then restart the devices.
4. Set both devices to Smart mode 11 "Configure external wireless as a wireless extension"
(LED A+B+D), so that each of the EPAs learns the MAC address of the relevant connected
device.
For this operating mode, the Ethernet device must transmit Ethernet frames spontaneously.
If the Ethernet device is unable to do so, the MAC address of the Ethernet device can be
entered manually in WBM for the EPA.
25
2.3.4 Examples of FL WLAN EPA Configurations
Infrastructure Network
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
26
Slide 1-01/29
26
2.3.4 Examples of FL WLAN EPA Configurations
Ad Hoc Network
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
27
Slide 1-01/29
27
2.3.4 Examples of FL WLAN EPA Configurations
Infrastructure Network
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
28
Slide 1-01/29
28
2.3.4 Examples of FL WLAN EPA Configurations
Ad Hoc Network
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
29
Slide 1-01/29
29
2.3.4 Examples of FL WLAN EPA Configurations
Infrastructure Network
Infrastructure Network
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
30
Slide 1-01/29
30
2.3.4 Examples of FL WLAN EPA Configurations
Infrastructure Network
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
31
Slide 1-01/29
31
2.3.4 Examples of FL WLAN EPA Configurations
Ad Hoc Network
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
32
Slide 1-01/29
32
2.4 Startup and Configuration of the FL WLAN EPA
"Toolbox" software
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
33
Slide 1-01/29
33
2.4.1 Configuration of the FL WLAN EPA FL by SPA/EPA Toolbox
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
34
Slide 1-01/29
34
2.4.1 Configuration of the FL WLAN EPA FL by SPA/EPA Toolbox
• Confirm the device selection with "OK". The following window opens:
SM# 255.255.0.0
TCPport: 8000
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
35
Slide 1-01/29
35
2.4.1 Configuration of the FL WLAN EPA FL by SPA/EPA Toolbox
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
36
Slide 1-01/29
36
• „System Overview“ tab
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
37
Slide 1-01/29
37
• „Network“ tab
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
38
Slide 1-01/29
38
• „Parameters“ tab
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
39
Slide 1-01/29
39
• „Connections“ tab
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
40
Slide 1-01/29
40
Exercise 2: Wireless communication
© CoNeT – Co-operative Network Training between a PC with WLAN interface and
the FL WLAN EPA
(cf. configuration example 5)
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
41
Slide 1-01/29
41
Exercise 3: WLAN between PC, Access
© CoNeT – Co-operative Network Training Point XDB and FL WLAN EPA (cf.
configuration example 6)
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
42
Slide 1-01/29
42
Exercise 4: Configuration of PROFINET
Siemens S7 315-2DP/PN and IL PN BK
2TX_PAC (see also CML2)
First try out: wired with
Ethernet UTP cables
© CoNeT – Co-operative Network Training
Part 1
43
Slide 1-01/29
43
Exercise 5: Configuration of PROFINET
Siemens S7 315-2DP/PN and IL PN BK
2TX_PAC (see also CML2)
Second try out: wireless
conforms to example 6
© CoNeT – Co-operative Network Training
Part 1
Part 2
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
44
Slide 1-01/29
44
3. Real-time aspects of WLAN
Exercise 6: Research the maximum update
© CoNeT – Co-operative Network Training rate of a PROFINET device
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
45
Slide 1-01/29
45
4. Bluetooth (IEEE802.15.1)
• Bluetooth is a wireless technology used widely in the consumer
sector.
• Currently, more effectively than Bluetooth wireless chipsets sold,
© CoNeT – Co-operative Network Training
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
46
Slide 1-01/29
46
References for part 2
Chapter 2: Description functionalities of the Wireless components © 2010 Karel de Grote–Hogeschool Dominique Daens
47
47