background image

 

 

Applications & Tools 

Answers for industry. 

Deckblatt

Evaluate Through which Access Point 
the Mobile Panel Communicates 

Mobile Panel 277 IWLAN V2 / 277F IWLAN V2   

Application Description 

 May 2011 

Summary of Contents for SIMATIC Mobile Panel 277 IWLAN

Page 1: ...Applications Tools Answers for industry Deckblatt Evaluate Through which Access Point the Mobile Panel Communicates Mobile Panel 277 IWLAN V2 277F IWLAN V2 Application Description May 2011 ...

Page 2: ...rtal 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 48946495 If you have any questions about this document please contact us at the following e mail address online support automation siemens com ...

Page 3: ...ll rights reserved s SIMATIC Evaluating An Access Point Clients List Mobile Panel 277 IWLAN 277F IWLAN Automation Task 1 Automation Solution 2 Basics 3 Functional Mechanisms of this Application 4 Configuration 5 Startup of the Application 6 Notes Tips and Tricks 7 Links Literature 8 History 9 ...

Page 4: ... Catalogs the contents of the other documents have priority We accept no liability for information contained in this document Any claims against us based on whatever legal reason resulting from the use of the examples information programs engineering and performance data etc described in this Application Example shall be excluded Such an exclusion shall not apply in the case of mandatory liability...

Page 5: ...est functionality 21 4 2 FC220 functionality 24 4 3 Configuration explanations 27 4 3 1 FB3 in connection with the DB15 27 4 3 2 Resetting MIB variables 28 4 3 3 DB20 MIB library 29 5 Configuration Process 31 5 1 Preparatory measures for the configuration 31 5 1 1 IP addresses 31 5 1 2 Addresses parameters and passwords used 31 5 2 STEP 7 configuration 32 5 2 1 Hardware settings 32 5 2 2 Configuri...

Page 6: ...Table of contents 6 Evaluating An Access Point Clients List V1 0 Entry ID 48946495 Copyright Siemens AG 2011 All rights reserved 8 2 Internet link specifications 59 9 History 59 ...

Page 7: ...on is to read the clients list from an access point to detect with what access point the mobile panel is connected Notes Whenever the mobile panel is mentioned in this document it relates to the Mobile Panel 277F IWLAN V2 Whenever the standard configuration for the mobile panel is discussed it always relates to the configuration from the Configuration and Use of the Mobile Panel 277F IWLAN which y...

Page 8: ...ed and monitored Smooth and secure operation of the individual stations through the mobile panels has to be guaranteed The control program is to evaluate with which access point the mobile panel is currently connected 1 3 Requirements of the automation task Requirements of the automation task Standard communication PROFIsafe communication via WLAN uninterrupted roaming to other access points iPCF ...

Page 9: ...Mobile Panel 277F IWLAN V2 319F 3PN DP Industrial Ethernet Industrial Wireless LAN SCALANCE Switch X208 W788 2RR W788 2RR Access Point 1 Access Point x W788 2RR Access Point 2 CP 343 1 Classification For a 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 a...

Page 10: ...s you to integrate the mobile panel into a secure IWLAN connection The standard configuration does not include an F program to evaluate the safety related functions for example the evaluation of the emergency stop button on the mobile panel If you need a sample configuration regarding this issue please look at the application configuration of the Mobile Panel 277F IWLAN V2 Required knowledge Basic...

Page 11: ...onfiguration for the mobile panel MIB list of the SCALANCE W788 2RR You can use the program as template for your applications In the further course of this documentation there is special emphasis on the STEP 7 program What must or can I do as a user The application program is especially tailored for the Mobile Panel 277F IWLAN V2 However you can adjust the program individually for the device used ...

Page 12: ...ecified access point are read out through FB3 2 If the FB3 has received new data the NDR output of FB3 is set to 1 3 The FC220 compares a specified MAC address with the MAC address read out through FB3 FB3 ValueInterval parameter The specified MAC address is the one of the respective mobile panel 4 After the MAC address comparison the ObjectID parameter is increased by one If the comparison of the...

Page 13: ...sted as desired This does not apply to the names of the STEP 7 function blocks Table 2 2 No Block Remarks 1 OB1 The blocks FC10 FC15 and FC16 are called through OB1 2 FB3 GetRequest S7 SNMP communication block to read SNMP variables MIB variables For each access point a FB3 is required 3 FC5 AG_SEND STEP 7 function block Delivers data to the CP to transfer it through a configured connection to the...

Page 14: ...e panel 11 DB10 HMI_Tags Data block for the output of the results to the mobile panel 12 DB15 AccessPoint_01_SetValue The data block is used for the evaluation of the FB3 The clients list of access point 1 is evaluated through FB3 For each access point used a data block is configured Note do not change the structure of the block 13 DB16 AccessPoint_01_SetValue The data block is used for the evalua...

Page 15: ...data block is used to temporarily store the individual values in FC16 A separate DB is used for each access point 18 DB30 Compare_MAC_Address The data block stores the MAC address of each mobile panel used In FC15 and FC17 this data of the DB is compared with the read data of the MAC addresses 19 UDT220 POINTER_STR Used for the FC220 20 SFC20 BLKMOV STEP 7 system block Used by FC220 21 SFC24 TEST_...

Page 16: ...nel Both operator panels have the same structure Screen_01 screen The project consists of one screen Figure 2 4 The following objects are located in the permanent window Battery status WLAN quality and a text field There are two graphics within the screen The graphic shows with what access point the mobile panel is connected In addition a text is displayed that shows when the mobile panel is conne...

Page 17: ...lso be used Mobile Panel 277F IWLAN RFID 1 6AV6645 0EF01 0AX1 Alternative 6AV6645 0GF01 0AX1 USA variant If the F functionality is not required then the mobile panel editions without F can be used CPU319F 3PN DP 1 318 3FL00 0AB0 Alternative CPU 315F 2 PN DP CPU 319F 3 PN DP CPU 416F 3 PN DP CPU 416F 2 CP 443 1 IM 151 8F PN CPU WinAC RTX F If the F functionality is not required other 300 400 contro...

Page 18: ...upport pages http support automation siemens com HSP is available for download STEP 7 V5 4 SP5 1 6ES7810 4CC08 0YA7 Or a higher version S7 Distributed Safety Programming V5 4 1 6ES7833 1FC02 0YA5 Or a higher version S7 Distributed Safety Programming V5 4 SP5 See Customer Support pages http support automation siemens com Or a higher version Sample files and projects The following list contains all ...

Page 19: ...he profiles of SNMP variables MIB variables of a number of devices and manufacturers Thus the user can establish a connection to a network node and start to have the values of the individual MIB variables their OIDs and their descriptions displayed If the SNMP variables of a certain device are not included in the delivery scope of the MIB browser library appropriate profiles can be downloaded from...

Page 20: ...ependent of the target system The following screen shows the read out MIB file from the SCLANACE W788 2RR that was read out through a MIB browser The view can vary depending on the MIB browser used Figure 3 1 To read out the Clients list from the access point the snScalanceWDevicesMAC MIB variable is used The OID number of this MIB variable is called 1 3 6 1 4 1 4196 1 1 4 100 2 6 5 1 3 x The x st...

Page 21: ...he block parameters are defined as follows Table 4 1 No Parameters Type Meaning 1 Enable INPUT Bool 1 The block is processed 0 The block is not processed A respective status value is set 2 ID INPUT Int Connection ID of the UDP connection Siehe Link 3 LADDR INPUT Word Module group address from the hardware configuration Siehe Link 4 AgentIPAdress INPUT DWord IP address in Hex Format of the remote d...

Page 22: ... out MAC address is read into this parameter the parameter is only used if the length of the read MIB variables is 4 byte 10 Value OUTPUT DWord This parameter is only used if the length of the read MIB variables is 4 byte 11 Valuetype OUTPUT DWord Type of the read MIB variables The type of the MIB variables can be read in e g the MIB browser in this case OCTED STRING The following variable types c...

Page 23: ...rror 2 0x81A3 The received message frame is no SNMP response 3 0x81A4 The received message frame is no SNMP message 4 0x81A5 The ObjectID indicated does not exist in the MIB library data block DB20 or DB21 5 0x81A6 There is no reply to the SNMP order which has been sent for the third time within 9 seconds 6 0x81A7 Error during internal copying with the SFC20 BLKMOV 7 0x81A9 The SNMP variable was r...

Page 24: ... of the readily configured FB220 Figure 4 2 In detail the block parameters are defined as follows Table 4 3 No Parameters Type Meaning 1 COMPARE INPUT Any The COMPARE input parameter relates to the searched structure In this case the address of the searched MAC address is specified here See DB30 Compare_MAC_Address For the first mobile panel the address is specified as follows P DB30 DBX0 0 Byte 1...

Page 25: ... 0 should not be taken into account in the search Example A string consists of ABCDEFG If the characters A and B are not to be included in the search this parameter offset has to be assigned a value of 2 Note The SRC_STRUCT_OFFSET input parameter has to be larger or equal 0 5 BLIND_O_STUFFING_ BYTES INPUT Bool If the data record of the data area to be searched COMPARE input parameter is unequally ...

Page 26: ...he input parameters 3 8000 The searched object was not found 4 8004 The data to be searched is larger than the search area 5 8303 The SRC_STRUCT_LENGTH input parameter is smaller than 0 6 8304 The SRC_STRUCT_LENGTH input parameter is larger than SRC 7 8403 The SRC_OFFSET_ERROR input parameter is smaller than 0 8 8404 The SRC_OFFSET_ERROR input parameter is larger than SRC 9 8101 The data type of t...

Page 27: ...es Number of the data block with the stored MIB variable for the first mobile panel In this case DB20 Based on this value the FB3 searches for the specified MIB variables DW 16 49440001 in the DB20 This application is assigned a 1 by default Properties of the UDP connection see settings under NetPro IP address of the first access point The value of the IP address is specified in the HEX format Pro...

Page 28: ...summarized according to the formula x 40 y In this example x 1 and y 3 1 40 3 43 Converted into the hexadecimal numbering system this is 2B Instead of the number combination 4196 the value A0 64 is transferred The value A0 64 is not based on a special conversion Instead of the number combination 100 the hexadecimal value 64 is transferred The remaining number combinations are accepted as specified...

Page 29: ...gure below shows an extract from the DB20 in the Declaration view Figure 4 4 The DB20 consists of a field of data structures Each individual structure describes a MIB variable and consists of three elements Table 4 5 Name Data type Description DWord The FB3 accesses this ID number using the ObjectID block parameter and calls the specified MIB variable through it View of the ID DW 16 49440001 Note ...

Page 30: ...r 2B 6 1 4 1 A0 64 1 1 4 64 2 6 5 1 3 1 ID1 DW 16 49440001 Length1 11 The value is specified hexadecimal The entire OID number has a length of 17 byte whereas the 17th byte is the x index Example for the second MAC address Processed OID number 2B 6 1 4 1 A0 64 1 1 4 64 2 6 5 1 3 2 ID2 DW 16 49440002 Length2 11 The value is specified hexadecimal The entire OID number has a length of 17 byte whereas...

Page 31: ...8 00 06 93 D4 37 SCALANCE X208 Mobile Panel 277F IWLAN V2 172 16 34 210 08 00 06 29 D7 87 Mobile277fiwlan Mobile Panel 277F IWLAN RFID 172 16 34 212 00 0E 8C D0 32 C8 Mobile277fiwlanRFID SCALANCE 788W 2RR 172 16 34 20 00 0E 8C D3 1E 43 CS3 Network 011 SCALANCE 788W 2RR 172 16 34 22 00 0E 8C D3 1D 3B CS3 Network 012 5 1 2 Addresses parameters and passwords used Table 5 2 No Parameters Address name ...

Page 32: ...iled description of the standard configuration can be found in the Configuration and use of mobile panel 277F IWLAN application description under the entry ID 25702331 5 2 1 Hardware settings Below the expansions in relation to the standard configuration are described The following hardware was additionally added CP 343 1 Mobile Panel 277F IWLAN RFID Adding the CP 343 1 Table 5 3 No Action Screens...

Page 33: ...k 255 255 0 0 Subnet Ethernet 1 Inserting the mobile panel 277F IWLAN RFID second mobile panel The standard configuration already contains a mobile panel 277F IWLAN V2 Table 5 4 No Action Screens 1 Inserting the mobile panel IO device from the hardware catalog of HW Config insert a Mobile Panel 277F IWLAN RFID into the configuration by moving it to the PROFINET IO system in the station window usin...

Page 34: ...anel in PROFINET In this example Device name Mobile277FIWLANRFID Note the device name can be freely selected For future use of the name please note the used notation The name is case sensitive 3 Editing parameters of the mobile panel IO device when you select the operator panel in HW Config the following modules are displayed mobile277fiwlan Mobile277Standard_IO Mobile277Failsafe_IO Double click o...

Page 35: ...ter The PROFIsafe monitoring time can be calculated using the fcotia xls Excel spreadsheet In this example F_WD_Time 500 A detailed description of the parameters can be found in the instruction manual for the mobile panel Link Compiling the hardware Table 5 5 No Action Screens 1 Compiling the hardware Once you have completed the hardware configuration you have to Save and Compile the settings By c...

Page 36: ...gured Creating UDP connection for the first access point Table 5 6 No Action Screens 1 Opening network configuration Open the network configuration in the STEP 7 manager using Options Configure Network Alternatively you can use the Configure Network icon in the function bar 2 Opening network connection Select the Ethernet interface of the CPU In the bottom half of the editor a table with the confi...

Page 37: ... under Connection 2 using the drop down list Confirm the entries using the OK button A message will be displayed Confirm it with OK The Properties of the UDP connection dialog window is opened Properties of the UDP connection General 1 tab Local Endpoint 2 ID Hex For the ID specify 0001 A050 Name The name can be freely selected In this case UDP Access Point 1 Note the ID used here and the displaye...

Page 38: ...d PORT dec Enter an address larger or equal 2000 Assign an individual address for each access point In this case 2000 Tick Address assignment in block No other settings are necessary Confirm the entries with OK Note The PORT address 2 used here is transferred to DB15 as Parameter see Link 4 View of the first UDP connection In the bottom half of the editor a table with the first configured UDP conn...

Page 39: ...he configuration for the second UDP connection is the same as the described approach for the first connection For this purpose look at the previous table and table section 3 Adjust the following addresses In this case General ID Hex 0002 A050 General Name UDP Access Point 02 Adresses PORT DEZ 2001 Saving and compiling the network configuration Once you have completed the connection configuration c...

Page 40: ...mended to open the enclosed sample project to facilitate the understanding of the program structure and the described functions F program The standard configuration was supplemented with a second mobile panel By compiling the hardware configuration new F blocks have been generated Below the expansions in the user program are described Table 5 8 No Action Screens 1 Calling the F FB161 F_FB_MP With ...

Page 41: ...f the second operator panel Note The DB number will differ depending on the hardware configuration However the bit assignment is always identical for example DBxxx DBX2 1 etc QBAD F Peripherie DBxxx DBX2 1 ACK_REQ F Peripherie DBxxx DBX2 2 MP_DATA PAE Word 1 MP_RNG PAE Word 2 MP_STAT F_DB_STATES DBW0 ACK_RET F Peripherie DB DBX0 2 MP_DATA_Q PAA Word 1 MP_RNG_Q PAA Word 2 The addresses can be found...

Page 42: ...D is configured in the Device settings Effective ranges menu option in WinCC flexible Each effective range has its own ID number Effective ranges are not configured in the standard configuration 2 The addresses can be found in the hardware configuration of the S7 300 station on the IO device of the mobile panel under the Mobile277Failsafe_IO module E_STOP 3 GLOB_RD 3 LOC_RD 3 SHUTDOWN 3 3 Dependin...

Page 43: ...s reserved Standard S7 program The following sections provide a brief explanation of the configuration of the individual program blocks and their networks OB1 Cycle Organization Block Table 5 9 No Updates Screens 1 OB1 Cycle Organization Block Using OB1 the blocks FC10 HMI_Program FC15 EvaluationAccessPoint_01 FC15 EvaluationAccessPoint_01 are called ...

Page 44: ...ns 2 FC10 HMI_Program The FC10 is used to exchange data between the mobile panel and the control program Using the FC15 or FC16 it is evaluated with which access point a mobile panel is connected The evaluated signals from these FCs are transferred to the mobile panels using the FC10 Note Pay attention to the right assignment of the evaluated signals so the mobile panel is assigned the right acces...

Page 45: ...n chapter 4 1 or 4 3 1 2 FC15 Evaluation_Scalance_01 Network 2 In network 2 an edge evaluation of parameter NDR DB25 DBX10 2 of FB3 is performed The NDR parameter has 1 signal if the FB3 has read in a new value of a MIB variable and no error occurred 3 FC15 Evaluation_Scalance_01 Network 3 After each successful reading in of a MIB variable the value of the ObjectID DB15 DBW20 parameter of the FB3 ...

Page 46: ...he MAC address of the first mobile panel is stored at the COMPARE input The value of the read out MIB variables of the first access point is at the SRC input If the comparison of the MAC address is positive a 1 signal is output at the Data_Compare output A precise description of the individual parameters can be found in chapter 4 2 4 OBJECT_POINTER parameter The UDT220 has to be used on the OBJECT...

Page 47: ...h the FC220 Data_COMPARE The signal is only pending until a new MIB variable was read in using the FB3 Note The time that is needed to subsequently read out all 10 nodes may vary Depending on the cycle time it may be necessary to increase the specified time of 250ms 6 FC15 Evaluation_Scalance_01 Network 6 Note The evaluation for the second mobile panel is through the networks 6 and 7 In network 6 ...

Page 48: ...etwork 7 Through network 7 it is checked whether the second mobile panel is still registered at the first access point If the signal of FC220 Data_COMPARE DB25 DBX30 0 is not present for more than 250ms then the second mobile panel is no longer registered at the first access point Background The Clients list of the first 10 nodes is read out subsequently If a match is found the signal is output th...

Page 49: ...e DB for the FB3 to evaluate the first access point DB4 DIGetRequest_2 Instance DB for the FB3 to evaluate the second access point DB10 HMI_Tags Serves for the data exchange between mobile panel and the control program DB15 AccessPoint_01_SetValue Please look at the information regarding this data block in chapter 4 3 1 DB16 AccessPoint_01_SetValue The configuration is anlog to the configuration o...

Page 50: ... the first access point An own DB was provided for each access point Due to the structure used the configuration can be quickly expanded for other mobile panels Figure 5 1 Evaluation of first mobile panel Evaluation of second mobile panel Data of FB3 DB26 AccessPoint_02_ProgTags The evaluated data of FC16 is temporarily stored in this DB The DB26 is reserved for the second access point An own DB w...

Page 51: ...the DB30 Figure 5 2 The figure below shows a section of the DB30 in the data view Figure 5 3 String information of the first MAC address MAC address of the first mobile panel 00 0E 8C CF FA 63 the last byte is not used String information of the second MAC address MAC address of the second mobile panel 00 0E 8C D0 32 C8 the last byte is not used The DB can be expanded by other MAC addresses as desi...

Page 52: ...ion and Use of the Mobile Panel 277F IWLAN V2 Expansion by the Roaming Functionality application description Link This is where you can find a detailed description of all necessary settings for the hardware configuration and the WLAN configuration 5 3 2 WinCC flexible configuration Below the individual configuration steps are described Only the expansions relating to the standard configuration is ...

Page 53: ...nel not connected Value 1 graphic with green background mobile panel connected 2 AccessPoint_02 The configuration is the same as the previous graphics list Configured screen For each mobile panel a screen each was configured Below the functions configured in the screen are discussed Table 5 14 No Action Screens 1 Graphic I O field The previously described AccessPoint_01 graphics list is used as gr...

Page 54: ...nimation Visibility text field the Panel_01_At_AccessPoi_01 variable is used At a value of 1 the text field becomes visible Note the Panel_01_At_AccessPoi_02 process variable is used for the second text field 5 4 Access point configuration Please look at chapter 4 2 Configuring SCALANCE W788 2RR in the Configuration and Use of the Mobile Panel 277F IWLAN V2 Expansion by the Roaming Functionality a...

Page 55: ...e sure that there is a connection to all nodes access points Controller PC Laptop 2 Configuring the access point Make sure all access points have been configured 3 Transferring S7 configuration Transfer the STEP 7 configuration to the controller Make sure that the PLC controller is subsequently in the RUN mode 4 Transferring WinCC flexible configuration Transfer the WinCC flexible configuration On...

Page 56: ...CALANCE W788 1PRO application description Link Table 6 2 No Action Screens 1 Start screen after establishing a secure connection the following screen appears Depending with which access point the mobile panel is connected In this case the mobile panel is connected with Access Point 1 2 Going to the other access point take the mobile panel and approach the second access point If the mobile panel co...

Page 57: ...points The application description furthermore deals in detail with the F programming This is why it is recommended to download this documentation in advance Link 7 2 Downloading MIB library from the access point Below you find a description of how you can download the MIB library from an access point Table 7 1 No Action Screens 1 Web Based Management Call the homepage of the W788 2RR using an Int...

Page 58: ...read out through the clients list of an access point is irrelevant of the evaluation 7 3 1 Changing CPU If you are using a different CPU for your application then make a note of the addresses and settings in this application This makes the change easier 7 3 2 Evaluating clients list For the evaluation of the clients list of an access point only the not F relevant S7 program blocks are needed 7 4 M...

Page 59: ...FID Tag http support automation siemens com WW view en 41916038 3 Configuration Manual SIMATIC NET SCALANCE W 700 Configuration Manual http support automation siemens com WW view en 42784493 8 2 Internet link specifications This list is by no means complete and only presents a selection of suitable information Table 8 2 Topic Title 1 Reference to the entry http support automation siemens com WW vi...

Reviews: