Académique Documents
Professionnel Documents
Culture Documents
Mobile Panel 277F IWLAN V2 -Upgrading to RoamingWinCC flexible 2008 SP2 + HSP Application description February 2011
Industry Automation and Drives Technologies Service & Support Portal This article is taken from the Service Portal of Siemens AG, Industry Automation and Drives Technologies. The following link takes you directly to the download page of this document. http://support.automation.siemens.com/WW/view/en/25702331
If you have any questions about this document, please contact us at the following e-mail address: online-support.automation@siemens.com
1 2 3 4 5 6 7
Table of contents
Table of contents
Warranty and Liability ................................................................................................. 4 1 Automation Task................................................................................................ 6 1.1 1.2 1.3 1.4 2 2.1 2.2 2.3 3 3.1 3.2 4 4.1 4.1.1 4.2 4.2.1 4.2.2 4.2.3 4.2.4 4.3 4.3.1 4.3.2 5 6 7 Introduction........................................................................................... 6 Overview of the automation task.......................................................... 6 Description of the automation task....................................................... 7 Requirements ....................................................................................... 7 Overview of the overall solution ........................................................... 8 Description of the core functionality ..................................................... 9 Hardware and software components used......................................... 10 iPCF-MC concept ............................................................................... 11 Applicable WLAN standards for the mobile panel.............................. 15 Preparatory measures for the configuration....................................... 16 IP addresses ...................................................................................... 16 SCALANCE W788-2RR configuration ............................................... 16 Assigning the IP address for the SCALANCE W788-2RR................. 17 Configuring the SCALANCE W788-2RR via the WEB....................... 18 Backing up data the SCALANCE W788-2RR .................................... 30 Adjusting other access points ............................................................ 31 Configuring the mobile panel ............................................................. 34 Hardware settings .............................................................................. 34 WLAN configuration ........................................................................... 38
Basics ............................................................................................................... 11
1
1.1
Automation Task
Introduction
The application is based on the Configuration and Use of the Mobile Panel 277F IWLAN application description. This is where you have already been introduced to the individual configuration steps for creating a Mobile Panel 277F IWLAN project. It is the aim of this application to get familiar with the Roaming function and its application. Whenever the mobile panel is mentioned in this document it relates to the Mobile Panel 277F IWLAN V2.
Note
1.2
Copyright Siemens AG 2011 All rights reserved
Conveyor belt 2 of 3
Converyor belt 1 of 3
Conveyor belt 3 of 3
1.3
1.4
Requirements
Standard communication PROFIsafe communication via WLAN Uninterrupted roaming to other access points (iPCF-MC)
the complete operation of the plant is performed via the HMI operator panel.
Requirements for the communication: communication via WLAN uninterrupted roaming to other access points (iPCF-MC)
2
2.1
Automation Solution
Overview of the overall solution
The figure schematically shows the most important components of the solution:
Figure 2-1
Access Point 1 Access Point 2
Schematic layout
W788 -2RR
))
IM151-3 Safety door Emergency Schutztr IM151-3 Not-Halt with I/O position switch stop Positionsschalter mit Peripherie
W788 -2RR
))
)))
Industrial Ethenet
)))
))
Part of the "Configuration and Use of Mobile Panel 277F IWLAN" application
The figure shows the arrangement of the most important components in the direct industrial environment.
Figure 2-2
SCALANCE W788-2RR
))
)))
)))
2 Automation Solution 2.2 Description of the core functionality Classification For better overview, the application will only give information necessary for the reproduction of this application. Where necessary, the document provides references to related links and manuals. This application does not include information on the following topics: Safety Notices and Standards Directives and Approvals Operational Safety, etc.
For these topics, please refer to the Operating Manual for the Mobile Panel 277F IWLAN V2. This application does not include a description of the SIMATIC WinCC flexible engineering tool. It only describes the settings of the used hardware and software components that are necessary for the application. (SCALANCE W788-2RR and Mobile Panel 277F IWLAN V2)
Basic knowledge of the above-listed topics is assumed. For detailed information, please refer to the associated manuals.
Copyright Siemens AG 2011 All rights reserved
Required knowledge The basic knowledge of the Configuration and Use of the Mobile Panel 277F IWLAN application description is assumed.
2.2
2.3
Hardware components
Table 2-1 Component SCALANCE W788-2RR Qty. 2 MLFB/order number 6GK5 788-2AA60-6AA0 Note Alternatively, other versions of the SCALANCE W 2RR access points can be used. Alternatively, other versions of the Mobile Panel 277F IWLAN V2 can also be used.
6AV6645-0EC01-0AX1
Qty. 1
Note Alternatively, WinCC flexible 2008 Advanced can also be used. SP2 is available for download.
http://support.automation .siemens.com
WinCC flexible 2008 SP2 HSP 1 See Customer Support pages HSP is available for download.
http://support.automation .siemens.com Sample files and projects The following list contains all files and projects used in this example.
Table 2-3 Component 25702331_Standard_Project_V2_Roaming.zip Note Standard configuration (STEP7 and WinCC flexible) This document
25702331_MobilePanel277F_IWLAN_V2_Roaming_de.doc.pdf
10
3
3.1
Basics
This chapter contains information regarding Roaming with iPCF-MC and applicable WLAN standards.
iPCF-MC concept
For failsafe applications the mobile panel communicates through the expanded WLAN access procedure iPCF-MC (industrial Point Coordination Function with Management Channel). The data communication is performed on the so called data channel (in PCF method). The coordination of the communication is performed on the so called management channel. The figures below are to illustrate the iPCF-MC concept.
Figure 3-1
Each access point has a different "Data Channel"
Industrial Ethernet/PROFINET
36 40 48
AP1 W788-2RR
44
48
AP3 W788-2RR
48
AP2 W788-2RR
Each access point has the same "Management Channel" (here channel 48)
There are as many data channels (here 36; 40; 44) as there are access points and one joint management channel (here 48). Each access point (AP) sends so called beacons (approx. every 5ms) to the management channel. The clients (in this application the mobile panel) receive information regarding the reception quality and the number of the data channel to all the access points of the network in reach within a very short time.
11
Industrial Ethernet/PROFINET
36
Data transfer
AP1 W78x-2RR
AP3 W78x-2RR
The data transfer takes places through cyclic polling (just like iPCF). Each mobile panel has a reserved data transfer window.
Copyright Siemens AG 2011 All rights reserved
Industrial Ethernet/PROFINET
48 AP3 W78x-2RR
An access point (AP) sends a beacon at regular intervals. This beacon contains information regarding the signal strength, SSID of the access point and the channel settings of the data channel. These beacons are evaluated by the mobile panel.
12
3 Basics 3.1 iPCF-MC concept Roaming with iPCF-MC, sequence description The mobile panel regularly changes from the data channel to the management channel and evaluates the received beacons. In this case the beacon of access point 1 (AP1) is the strongest => no roaming.
Figure 3-4
Industrial Ethernet/PROFINET
44 40 36 48
AP1 W78x-2RR 48
48
AP3 W78x-2RR
AP2 W78x-2RR 36
The mobile panel is now closer to access point 2 (AP2). With the next change to the management channel the beacon of access point 2 is stronger. => roaming on access point 2.
Figure 3-5
Industrial Ethernet/PROFINET
44 40 36 48
AP1 W78x-2RR
48
AP3 W78x-2RR
AP2 W78x-2RR 48
40
13
3 Basics3.1 iPCF-MC concept iPCF-MC general conditions For the operation of iPCF-MC the following general conditions are required: at least three unused non-overlapping channels are required the management channel must not be operated on 802.11h (radar detection!) management channel and data channel must be precisely overlapped: both must either be in 2.4 GHz band or in 5 GHz band with the access point, WLAN1 and WLAN2 have to be equipped with the same antennas
Channel assignment for extensive plants When configuring the data channel, ensure that the addresses of neighboring data channels do not overlap.
Figure 3-6
Same address possible
Industrial Ethernet/PROFINET
Copyright Siemens AG 2011 All rights reserved
36 40 44 36
14
3.2
No Yes
Yes Yes
DCF (standard WLAN without roaming) iPCF (only Mobile Panel 277F IWLAN V2 without roaming) iPCF-MC (only Mobile Panel 277F IWLAN V2)
15
4
4.1
Configuration Process
The chapters that follow describe the required settings and configurations for the communication between the access points and the mobile panel.
4.1.1
IP addresses
Define the IP addresses of the individual Ethernet nodes. The following table lists the IP addresses and the MAC addresses used for the application.
Table 4-1 IP Address Mobile Panel 277F IWLAN SCALANCE 788W-2RR SCALANCE 788W-2RR 172.16.34.210 172.16.34.200 172.16.34.202 Mac Address 2-34-56-78-9a-bc 00-0E-8C-D3-1E-43 00-0E-8C-D3-1D-3B Device name Mobile277fiwlan CS3-Network-011 CS3-Network-012
4.2
Note
16
4.2.1
Table 4-2 No. 1. 2. 3. Action Use an Ethernet cable to connect the SCALANCE W788-2RR to your PC. Open the SIMATIC Manager. Setting the PG/PC interface: Select the Options > Set PG/PC Interface menu command and set the PG/PC interface to Ethernet. Editing the Ethernet node: Select the PLC > Edit Ethernet Node... menu command. Select the Browse button. The Edit Ethernet Node dialog box opens. The Browse Network dialog box opens. Now all available nodes on the Ethernet network are displayed. Additional information
4.
5.
Copyright Siemens AG 2011 All rights reserved
6. 7. 8.
Select the MAC address of your SCALANCE W788-2RR and confirm it by selecting OK. Select the MAC address of your SCALANCE W788-2RR and confirm it by selecting OK. In Set IP Configuration, you can now specify the IP address and the subnet mask. Then click on the Assign IP Configuration button. In Assign Device Name, you can specify a device name. Then click on the Assign name button. The Browse Network dialog box closes and the Edit Ethernet Node dialog box opens. In this example 172.16.34.200 255.255.0.0 The data is transferred. In this example "CS3-Network-011" The data is transferred.
9. 10. 11.
Note
Instead of the SIMATIC Manager, you can also use PST (Primary Setup Tool). Detailed information on PST is available on the Customer Support pages, ID number: 19440762.
17
4.2.2
Note
No. 1.
Action In the address bar of the web browser, enter the IP address or the URL of the SCALANCE W788-2RR. Once a connection to the SCALANCE W7882RR has been established, the logon screen of Web Based Management is displayed. In this example: IP address: http://172.16.34.200 Note: if you have already configured the security settings with the aid of the Wizard, enter this IP address in the address bar of the web browser: https://172.16.34.200.
Screens
2.
In the User name drop-down list, select Admin (read and write access). Enter your password. If you have not yet defined a password, the default passwords apply. Enter admin. Click on the Log On button to start the logon.
3.
4.
18
Action The Web based management offers several wizards. First, use the Basic Wizard. (Wizard for general settings to ensure the basic functionality of the device). Then use the Security Wizard. (The wizard supports you when setting failsafe parameters).
Screens
2.
Basic Wizard, IP Settings: on this page, enter the IP address and the subnet mask. Make sure that the address is unique within your network. In this example: Specified IP address: IP address: Subnet:
19
4.
Basic Wizard, Country code: Select the country code from the drop-down list. In this example: Country code: GERMANY Select the Next>> button.
5.
Basic Wizard, Wireless Settings for WLAN 1: The configuration of the WLAN 1 (1) network is defined on this page. This includes network name and transmission mode. In this example: SSID: CS3_Mobile_Panel Wireless mode: 5 GHz 54Mbps (802.11a) Select the Next>> button. Notes: SSID name: When starting the mobile panel, the mobile panel attempts to connect to this wireless network. The Wireless Mode assigned here, should match the Wireless Mode for WLAN 2 (Link). The same is the case for the mobile panel (Link). Wireless Mode 802.11b or 802.11g only for Mobile Panel 277F IWLAN (RFID) Mobile Panel 277 IWLAN (without safety), if no transponders are used.
20
21
10.
Wizards, Status: After clicking the Finish button, you get back to the Start page. First of all, carry out a restart and continue the settings with the Security Wizard.
22
Table 4-5 No. 1. Action The security wizard enables a specification of the safety-relevant parameters. Note: for the use of PROFIsafe via WLAN, it is mandatory that specific security settings are made. Screens
2.
Security wizard, Security Settings: The password must comprise at least 20 characters and consist of upper and lower case letters, digits and special characters. In this example: Current Admin Password: admin New Password: MobilePanel277F_IWLAN Select the Next>> button.
23
Screens
Security wizard, Security Settings for SNMP Protocol: On this page you can apply the standard settings. In this example: SNMPv1/v2 read only:: selected Select the Next>> button.
24
Screens
6.
Security wizard, Security Settings for WLAN 1: Authentication and encryption to secure a network for WLAN 2. In this example: Security level for WLAN 1: None (open System) Select the Next>> button. Note: the encryption is configured later (Link).
7.
Security wizard, Security Settings for WLAN 2: Specifying access rights for WLAN 2 In this example: SSID: Mobile_Panel_MC Enable Suppress SSID broadcasting feature for WLAN 2 selected Enable Inter SSID communication for WLAN 2: selected Enable Intracell communication: Allowed Select the Next>> button.
25
Screens
10.
Security wizard, Summary II: You have completed the first part of the safety settings. Select the Finish button to exit the security wizard.
11.
Wizards, Status: After clicking the Finish button, you get back to the Start page. First of all, carry out a restart and continue the settings with the second part of the security settings.
26
13.
Other necessary settings: The following menu options are not triggered through the WIZARD and must be selected through the menu tree.
14.
Services menu option: In the System > Services menu tree, call the Services menu. Select the HTTPS only option. The other options can be used. Then click on the Set Values button. Once you have made the settings, the SCALANCE W788-2RR has to be restarted. Note: After the restart you have to enter https://172.16.34.200/ instead of http://172.16.34.200/, to call the Homepage of SCALANCE.
15.
Security settings for iPCF-MC, Key table for Wireless Interface 1: Security > Keys > WLAN1 Enter a key for Data Channel. The key has to be made up of 16 ASCII characters. In this example: Public key 1: PROFISAFE_Mobile Then click on the Set Values button.
27
28
Then click on the Set Values button. 20. 21. The settings for the first access point (SCALANCE W788-2RR) are now complete. System Restart: after completing the settings, perform a restart. The changes you have made become effective after restarting the SCALANCE. In the System > Restart folder, you can use the Restart button to restart the system.
22.
Now configure the other access points. The majority of parameters can be accepted from the first access point. Chapter 4.2.4 lists the parameters you need to adjust individually for each access point.
29
4.2.3
Table 4-6 No. 1. Action Saving or loading the configuration: in the System > Load&Save > HTTP folder, you can save the configuration on your PC at any time or load a previously saved setting back to the PC. For this purpose, select the location and then use the Save or Load buttons. Note: alternatively use the TFTP. Screens
30
4.2.4
Configuring further access points You can use the Basic wizard again for the settings.
Table 4-7 No. 1. IP Settings: Assign an individual IP address for each access point. In this example: IP address: Subnet mask: Action Screens
172.16.34.202 255.255.0.0
2.
System Name: assign an individual device name for each access point. In this example: System name:
CS3-Network-012
3.
Wireless Settings for WLAN 1: in the application, WLAN 1 is used for the Data Channel. Make sure that for all respective access points, the WLAN 1 is also configured as data channel (Link). In this example: SSID: CS3_Mobile_Panel Wireless mode: 5 GHz 54Mbps (802.11a) Select the Next>> button.
31
5.
Wireless Settings for WLAN 2: In the application WLAN 2 is used for the management channel. Make sure that WLAN 2 is also configured as management channel (Link) for all respective access points. In this example: Wireless mode: 5 GHz 54Mbps (802.11a) Select the Next>> button. Note: the SSID box can not be selected due to the already enabled iPCF-MC enabled parameter under I-Features > iPCF-MC. (The SSID name is displayed by WLAN 1).
6.
Channel Settings for WLAN 2: in the application, WLAN 2 is used for the management channel. Ensure that all respective access points at the radio channel are set to the same channel (Link). In this example: Radio channel: 48 (5240MHz) Antenna Type: ANT795-4MR Antenna cable length (in meters): 0 Select the Next>> button.
32
Screens
Check the assignment of the data channel and the management channel. In this example: iPCF-MC enabled: Strong AES-CCM encryption: PNIO update time: Data Channel: Management Channel:
Then click the Set Value button (once you have performed the changes).
33
4.3
4.3.1
Network and dial-up connections In Network and Dial-up Connections, you can change the network settings of the WLAN connections. The connection to the PLC and possible other WLAN components is established via the network parameters.
Table 4-8 No. 1. Action Call the control panel of the mobile panel. Screens
2.
Click on the Network and Dial-up Connections icon. A new page opens on which you can make the WLAN settings. Click on the WLAN icon. A dialog box opens in which you can set the connection parameters. Select the Specify an IP address option and enter the IP address and subnet mask. Confirm the entries with OK and close the window using the File > Close menu bar. In this example: IP address: 172.16.34.210 Subnet Mask: 255.255.0.0
34
4 Configuration Process 4.3 Configuring the mobile panel PROFINET setting In PROFINET, you can specify the communication channel and the device name.
Table 4-9 No. 1. Action Call the control panel of the mobile panel. Screens
2.
Click on the PROFINET icon. A dialog box opens. Select the following options: PROFINET IO enabled: selected Device name: Mobile277FIWLAN Confirm the entries with OK. Note: in the STEP 7 hardware manager, an IO device has been configured for the mobile panel. In the object properties of this IO device, a device name is entered in General. This name must be applied here. Please note that the name is case sensitive.
35
4 Configuration Process4.3 Configuring the mobile panel PROFIsafe setting In PROFIsafe, you set the PROFIsafe address.
Table 4-10 No. 3. Action Call the control panel of the mobile panel. Screens
4.
Click on the PROFIsafe icon. A dialog box opens. In this dialog box, enter the PROFIsafe address. In this example: Address: 300 Note: in the STEP 7 hardware manager, an IO device has been configured for the mobile panel. Use the PROFIsafe > F_Dest_Add menu command to access an address in the object properties of the Mobile277Failsafe_IO module. This address must be applied here.
36
4 Configuration Process 4.3 Configuring the mobile panel Selecting frequency range for the transponder In the control panel under the OP Properties dialog, Transponder tab, you can specify through which channel (frequency range) the operator panel communicates with the transponders.
Table 4-11 No. 1. Action Call the control panel of the mobile panel. Screens
2.
Click on the OP icon. The OP Properties dialog box opens. Select the Transponder tab.
Select the required WLAN channel through the dropdown list. The following options are available: Auto (all channels): the frequency hopping method searches an unused frequency range within the 2.4 GHz band. A free channel is selected automatically. List with several frequency ranges within the 2.4 GHz band: you can select a discrete frequency range from this list. This enables you to determine what channel is used, and not the operator panel. The entry is saved by clicking the OK button and the dialog is closed. Note: setting the channel ensures the coexistence with other radio system. A possible error of other networks can therefore be prevented.
37
4.3.2
WLAN configuration
A software assistant for the WLAN configuration is available via web interface. The settings below ensure secure data exchange between the SCALANCE W7882RR and the mobile panel. The settings are always necessary for each configuration.
Table 4-12 No. 1. Action Call the control panel of the mobile panel. Screens
2.
Click on the WLAN V2 Config icon. The following context menu opens.
3.
In the User name drop-down list, select Admin (read and write access). Enter your password. If you have not yet defined a password, the default passwords apply. Enter admin. Click on the Log On button to start the logon. Note: if you do not know the password, the system has to be bootstrapped (reset the operating system to the factory settings). How to bootstrap can be found under entry ID: 19701610 After successful logon, a start page with various subfolders for the configuration of the WLAN configuration appears.
4.
5. 6.
7.
38
4 Configuration Process 4.3 Configuring the mobile panel Configuring the basic functionality with the aid of the wizard
Table 4-13 No. 1. Action The Web based management offers several wizards. Basic Security iPCF In the status overview you can see which wizards you have already completed. First of all, start with the Basic Wizard. 2. Basic Wizard, Country code: Select the country code from the drop-down list. In this example: Country code:
Copyright Siemens AG 2011 All rights reserved
Screens
GERMANY
Select the Next>> button. 3. Basic Wizard, Wireless Settings: The configuration of the wireless network is defined on this page. This includes network name and transmission mode. In this example: Connect to ANY SSID: disabled SSID: CS3_Mobile_Panel Wireless mode: 5 GHz 54Mbps (802.11a) Select the Next>> button. Notes: the SSID name will also be stored in the configuration of the mobile panel. When starting the mobile panel, the mobile panel attempts to connect to this wireless network. the selected wireless mode should match the selected wireless mode of SCALANCE W788-2RR (Link).
39
6.
Wizards, Status: After clicking the Finish button, you get back to the start page. First of all, carry out a restart and continue the settings with the Security Wizard.
7.
System Restart: In the System > Restart folder, you can use the Restart WLAN button to restart the system. The changes you have made become effective after a restart.
40
4 Configuration Process 4.3 Configuring the mobile panel Configuring the security settings with the aid of the wizard
Table 4-14 No. 1. Action The security wizard enables a specification of the safety-relevant parameters. Note: for the use of PROFIsafe via WLAN, it is mandatory that specific security settings are made. Screens
2.
Security wizard, Security Settings: the password must comprise at least 20 characters and consist of upper and lower case letters, digits and special characters. In this example: Current Admin Password: admin New Password: MobilePanel277F_IWLAN Select the Next>> button.
3.
Security wizard, Security Settings for WLAN: authentication and encryption. In this example: Security level:
4.
Security wizard, Summary I: You cannot make any settings on this page. (Due to the previously selected setting under Security level). Select the Next>> button.
41
6.
iPCF-MC settings, Key table for Wireless Interface: Security > Keys A key has to be entered in the key table, so that the encryption is enabled during the Open System authentication method. The key has to be made up of 16 ASCII characters.
PROFISAFE_Mobile
Click the Set Values button. 7. iPCF-MC Settings, Wireless Security Properties: Security > Basic WLAN Enable encryption In this example: Encryption: Default WEP key:
selected Select the previously stored key from the drop-down list. In this case: PROFISAFE_Mobile
Click the Set Values button. 8. iPCF-MC settings, iPCF-MC: I-Features > iPCF-MC" In this example: iPCF-MC enabled: Strong AES-CCM encryption: Background scan interval: Click the Set Values button.
selected selected 1
42
Action
Screens
What USB storage media are released can be found in the following entry ID: 21847868
43
5
Table 5-1 No. 1. 2. 3.
Commissioning
Action Make sure that all access points (SCALANCE W788-2RR) have been configured. Make sure that the WLAN configuration of the mobile panel 277F IWLAN is complete. Check the LEDs on the mobile panel. Once all WLAN settings are ok, the COM LED on the mobile panel has to light up permanently. If this is not the case, check the WLAN settings on the SCALANCE W788-2RR or the mobile panel. Screens
4.
Make sure that the STEP 7 configuration (standard and F program) was transferred and the PLC is in RUN mode. The SAFE LED lights up when the mobile panel is integrated in the safety program of the F-CPU. Continue with the operation of the mobile panel.
5.
44
Internet links
/2/
/3/
/4/
Copyright Siemens AG 2011 All rights reserved
IWLAN
/5/
IWLAN
/6/
/7/
History
Table 7-1 Version V1.0 Date 07.01.2011 First issue Changes
45