Você está na página 1de 54

Application Operator Control & Monitoring

WinCC flexible 2005, user log-on to the operator panel via RFID
Application description

Warranty, Liability and Support

User log-on to the operator panel via RFID Note

Entry ID: 26481978

The Application Examples are not binding and do not claim to be complete regarding the circuits shown, equipping and any eventuality. The Application Examples do not represent customer-specific solutions. They are only intended to provide support for typical applications. You are responsible for ensuring that the described products are correctly used. These application examples do not relieve you of the responsibility to use sound practices in application, installation, operation and maintenance. By using these application examples you accept that Siemens is not liable for any damages except for those specified in the above liability clause. We reserve the right to make changes to these Application Examples at any time without prior notice. If there are any deviations between the recommendations provided in these application examples and other Siemens publications e.g. Catalogs the contents of the other documents have priority.

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Warranty, Liability and Support


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, e.g. under the German Product Liability Act (Produkthaftungsgesetz), in case of intent, gross negligence, or injury of life, body or health, guarantee for the quality of a product, fraudulent concealment of a deficiency or breach of a condition which goes to the root of the contract (wesentliche Vertragspflichten). However, claims arising from a breach of a condition which goes to the root of the contract shall be limited to the foreseeable damage which is intrinsic to the contract, unless caused by intent or gross negligence or based on mandatory liability for injury of life, body or health. The above provisions do not imply a change in the burden of proof to your detriment. Copyright 2008 Siemens A&D. It is not permissible to transfer or copy these Application Examples or excerpts of them without first having prior authorization from Siemens A&D in writing. If you have any questions about this document please e-mail us to the following address: mailto:csweb@ad.siemens.de

V1.0

20.11.2007

2/54

Foreword

User log-on to the operator panel via RFID

Entry ID: 26481978

Foreword
Objective of the application This application was created to show the user... how to log on to an operator panel via RFID (card/chip card reader).

Main contents of this application The following main points are discussed in this application:
Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

STEP 7 program description WinCC flexible program description Hardware requirements

Delimitation This application does not include a description of the SIMATIC STEP 7 engineering tool. the used multi panel.

Basic knowledge of these topics is required. Furthermore, the application does not provide a detailed description of the special properties of the used EKS devices 1 made by EUCHNER. Only the settings required for this application are described in this document. Detailed information on the used EKS devices and their application can be found on the home page of the company EUCHNER. www.euchner.de

EKS Electronic Key System

V1.0

20.11.2007

3/54

Foreword

User log-on to the operator panel via RFID

Entry ID: 26481978

Structure of the document The documentation of this application is divided into the following main parts.
Part Application description Description Provides a general overview of the contents. You will learn about the components used (standard hardware and software components and the specially created user software). This part describes the detailed function processes of the hardware and software components involved, the solution structures and where useful the specific implementation of this application. This part is necessary if you want to learn about the interaction of the solution components, e.g., in order to use them as the basis for your own development. This part leads you step by step through the structure, important configuration steps, commissioning and operation of the application. This section of the documentation includes further information, e.g. bibliographic references, glossaries etc.

Function principles and program structures

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Structure, Configuration and Operation of the Application Appendix

Reference to Automation and Drives Service & Support This entry originates from the internet application portal of the A&D Service and Support. The following link takes you directly to the download page of this document. http://support.automation.siemens.com/WW/view/de/26481978

V1.0

20.11.2007

4/54

Foreword

User log-on to the operator panel via RFID

Entry ID: 26481978

Table of Contents
Table of Contents ......................................................................................................... 5 Application description................................................................................................ 7 1 1.1 1.2 2 2.1 2.2 2.3 2.4 2.5 Automation task.............................................................................................. 7 Overview........................................................................................................... 7 Requirements ................................................................................................... 9 Automation solution..................................................................................... 10 Overview of the overall solution...................................................................... 10 Description of the core functionality................................................................ 11 Advantages and benefits of the application .................................................... 11 Required hardware and software components ............................................... 12 Basic performance data.................................................................................. 14

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Function Principles and Program Structures .......................................................... 15 3 3.1 3.2 3.3 3.4 4 4.1 4.1.1 4.2 4.3 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.3.7 4.3.8 4.3.9 4.3.10 4.4 5 5.1 5.1.1 5.1.2 5.1.3 General Function Mechanisms.................................................................... 15 Electronic key adapter .................................................................................... 15 Electronic key read/write................................................................................. 15 Operator panel(s)............................................................................................ 15 STEP 7 Program............................................................................................. 16 Functional Mechanisms of the STEP 7 Program ....................................... 17 STEP 7 program structure .............................................................................. 17 Block description............................................................................................. 18 Hardware configuration................................................................................... 22 Description of program execution FC15 (Pan_01_EKS_Evaluation).............. 23 Structure of the DB150 and DB151 blocks ..................................................... 24 Program description NW 1 and 2 of the FC15 ................................................ 25 Program description NW 4 of the FC15.......................................................... 26 Program description NW 5 of the FC15.......................................................... 27 Program description NW 6 of the FC15.......................................................... 29 Program description NW 7 of the FC15.......................................................... 31 Program description NW 8 of the FC15.......................................................... 31 Program description NW 9 of the FC15.......................................................... 32 Program description NW 10 of the FC15 ........................................................ 33 Program description NW 11 of the FC15 ........................................................ 34 Description of program execution FC16 (Pan_01_Clear_DB_Data) .............. 35 Functional Mechanisms of the WinCC flexible Project ............................. 36 WinCC flexible project structure ..................................................................... 36 Configuration explanation for Screen_1 ....................................................... 37 Configuration explanation for Screen_2 ....................................................... 39 Configuration explanation for Log-on/ log-off function .................................... 43

V1.0

20.11.2007

5/54

Foreword

User log-on to the operator panel via RFID

Entry ID: 26481978

6 6.1 6.2 6.2.1 6.2.2

Modifications to the Sample Program ........................................................ 45 Adapting the STEP 7 blocks ........................................................................... 45 Adapting the WinCC flexible configuration ..................................................... 45 Operator panels .............................................................................................. 45 Calling the Screen 2 ..................................................................................... 45

Structure, Configuration and Operation of the Application ................................... 46 7 7.1 7.2 8 8.1 8.1.1 8.1.2 8.1.3 9 9.1 9.2 10 Installation and Commissioning ................................................................. 46 Installation of hardware and software ............................................................. 46 Installation of the application software ............................................................ 47 Operating the Application............................................................................ 48 Calling the start page using the example of the MP277 Touch ...................... 48 Operating the Screen 1 page ....................................................................... 49 Operating the Screen 2 page ....................................................................... 50 General information on operation / configuration............................................ 52 Literature ....................................................................................................... 53 Bibliographic references ................................................................................. 53 Internet links ................................................................................................... 53 History ........................................................................................................... 54

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

V1.0

20.11.2007

6/54

Application description Automation task


User log-on to the operator panel via RFID Article ID: 26481978

Application description
Content Here will you learn about the components used (software components and the created user software). The performance data displayed illustrates the performance capability of this application.

Automation task
the automation task discussed in the documentation on hand.

Here you find information on


Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

1.1

Overview

Introduction Your customer has different plant components, which can be operated and parameterized using several operator panels. Depending on whether the station has to be operated, maintained or parameterized, different user authorizations are required. Until now, user log-on to the operator panel has been carried out by entering the user name and the corresponding password manually. It is intended to replace this log-on type by a chip card that is read out by a card reader.

V1.0

20.11.2007

7/54

Application description Automation task


User log-on to the operator panel via RFID Article ID: 26481978

Overview of the automation task The figure below provides an overview of the automation task.
Figure 1-1

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Description of the automation task The operator logs on to the operator panel with a transponder using a card reader. This log-on is active only as long as a transponder is plugged into the card reader. If the transponder is removed from the card reader, the user is automatically logged off. The user data is evaluated by the operator panel and its user administration. An authorized person can read the transponder data (user and password), change them and rewrite empty transponders using a separate system view. The operator panels and the card reader are connected to an S7-300 controller via a PROFIBUS connection.

V1.0

20.11.2007

8/54

Application description Automation task


User log-on to the operator panel via RFID Article ID: 26481978

1.2

Requirements
This WinCC flexible application is integrated into a STEP 7 project and is supposed to meet the requirements listed below:

Controller requirement The data exchange between the operator panels and the card readers is performed via a PLC controller.

HMI requirements
Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

The user administration is located in the operator panel. Three user groups are to be created. At least one user is to be created for each group. A user view must be available. It should be possible to output the user data from the transponder and to input them using separate I/O fields.

Requirements for transponders and card readers The card readers must be connected to the existing PROFIBUS network via a PROFIBUS connection. It must be possible to read out and write the card readers via the operator panel/controller. The transponders must be readable and rewritable.

V1.0

20.11.2007

9/54

Application description Automation solution


User log-on to the operator panel via RFID Article ID: 26481978

Automation solution
the solution selected for the automation task.

Here you find information on

2.1

Overview of the overall solution

Schematic layout The schematic figure below displays the most important components of the solution:
Figure 2-1

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Configuration This automation solution example consists of two operator stations. The configuration is described in greater detail in the following. Operator station 1: with a permanently The operator station 1 consists of an MP277 Touch assigned EKS electronic key adapter . A transponder, which is located in the EKS electronic key adapter , can be read out and written only via this panel. Both devices are connected to a Profibus network . Operator station 2: with a permanently The operator station 2 consists of an OP177B assigned EKS electronic key adapter . A transponder, which is located in the EKS electronic key adapter , can be read out and written only via this panel. Both devices are connected to a Profibus network .

Note

An EKS system is permanently assigned to each operator panel.

V1.0

20.11.2007

10/54

Application description Automation solution


User log-on to the operator panel via RFID Article ID: 26481978

PLC controller: A CPU 315-2DP is used as a controller. The data exchange between operator panels and write/read devices (EKS electronic key adapter) is performed via the controller. PROFIBUS network: All components such as operator panels, write/read devices (EKS electronic key adapter) and the S7 controller communicate via this PROFIBUS connection .

2.2
Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Description of the core functionality


The core piece of this application is the creation of an example illustrating how to perform a user log-on to an operator panel via the RFID system by EUCHNER. If an electronic key read/write (transponder) is inserted into the electronic key adapter (write/read device), the data is evaluated in the S7 controller via the I/O module and transmitted to the corresponding operator panel. The evaluation of the user data (user name and password) is performed on the operator panel. If the data sent comply with the data stored in the user administration, the log-on to the operator panel is successful. Otherwise, the log-on is rejected with a system message.

2.3

Advantages and benefits of the application


Errors when entering user name and password can thus be avoided. Quick and easy handling. Easy log-on even under unfavourable working conditions, for example, when wearing working gloves. High flexibility (e.g., changing user data).

V1.0

20.11.2007

11/54

Application description Automation solution


User log-on to the operator panel via RFID Article ID: 26481978

2.4

Required hardware and software components


Table 2-1

Hardware components
Component SIMATIC S7-300, mounting rail L=480MM SIMATIC S7-300, CPU 315-2 DP
1

No.

MLFB / Order number 6ES7390-1AE80-0AA0

Note = minimum length

6ES7 315-2AG10-0AB0

Alternatively, any other S7 300/400 CPU can also be used.


64 KB MICRO MEMORY CARD

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

SIMATIC S7, MICRO MEMORY CARD F. S7-300/C7/ET 200S IM151 CPU, 3.3 VNFLASH, 64 Kbytes Multi panel MP277 Touch 12 inches Operator panel OP177B PN/DP SIMATIC NET, connecting cable 830-2 F. PROFIBUS, preconfigured line with two SUB-D connectors. 9-pin, terminating resistors switchable, 3m EKS electronic key adapter with PROFIBUS-DP interface

6ES7953-8LF11-0AA0

or

larger.

6AV6643-0CD01-1AX0

Alternatively, any other panel can also be used. Alternatively, any other panel can also be used. 2-wire shielded cable with PROFIBUS connectors for connecting operator panels and EKS devices.

6AV6642-0DA01-1AX0

6XV1830-2AH30

EUCHNER EKS-A-IDX-G01-ST09/03 *)
*)

as of 20.11.07

EUCHNER For detailed information, please contact the manufacturer. http://www.euchner. de/

V1.0

20.11.2007

12/54

Application description Automation solution


User log-on to the operator panel via RFID Component EKS electronic key read/write No. 3 MLFB / Order number EUCHNER EKS-A-K1xxWT32-EU *)
*)

Article ID: 26481978 Note EUCHNER For detailed information, please contact the manufacturer. http://www.euchner. de/

as of 20.11.07

Standard software components


Table 2-2

Component SIMATIC S7, STEP 7 V5.4 SP3

No. 1

MLFB / Order number 6ES7810-5CC10-0YA7

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Note Further ordering information, system requirements and STEP 7 compatibility are available on the Customer Support pages on the internet. http://support.automat ion.siemens.com The GSD file used is included in the project for test purposes. If possible, always use the current Euchner GSD file! To open the project, at least WinCC flexible 2005 Standard SP1 HF7 is required.

GSD file
(EKS adapter)

EUCHNER Order no. 092054. *) http://www.euchner.de/


*)

as of 20.11.07

WinCC flexible 2005 Standard SP1

6AV6 612-0AA01-1CA5

V1.0

20.11.2007

13/54

Application description Automation solution


User log-on to the operator panel via RFID Article ID: 26481978

Example files and projects The following list contains all files and projects used in this example.
Table 2-3

Component RFID_Projekt.zip

Note The zip file contains: The STEP 7 project The WinCC flexible project integrated in STEP 7 EUCHNER GSD file.

2.5
Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Basic performance data


Table 2-4: Performance data of the application software Criterion Basic performance data Additional note

Application software

Program size Maximum cycle time Number of HMI screens, MP277 Touch Number of HMI screens, OP177B PN/DP

Project: Project (.zip) 6 ms 2 3

18 MB 4.2 MB for CPU 315-2 DP

Use of special characters no Number of characters for 10 password and user name

Digits and letters only In this example. Depends on the Read/write module used

V1.0

20.11.2007

14/54

Function Principles and Program Structures General Function Mechanisms


User log-on to the operator panel via RFID Article ID: 26481978

Function Principles and Program Structures


Content This part discusses the detailed function processes of the hardware and software components involved, the solution structures, and - where useful the concrete implementation of this application. You only need this part if you want to learn more about the interaction of the solution components.

General Function Mechanisms


general function mechanisms concerning the data exchange between the electronic key adapter by EUCHNER, the operator panels and STEP 7.

Here you find information on


Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

3.1

Electronic key adapter


The electronic key adapter is used to read out the electronic key read/write. The electronic key adapter is integrated into the STEP 7 hardware using a special GSD file.
Note

The GSD file can be downloaded from the EUCHNER home page.

The data exchange between the electronic key adapter and the STEP 7 program is performed via a specified I/O area. The PROFIBUS address is set on the electronic key adapter via a DIP switch.

3.2

Electronic key read/write


The electronic key read/write features a user-programmable memory area. This memory area is written and read out using STEP 7 program blocks.

3.3

Operator panel(s)
The user administration is created in the configuration and transferred with the configuration to the operator panels. Corresponding user rights are assigned to variables and buttons that can only be executed by the user with the appropriate authorizations. When executing a password-protected function, a dialog box is displayed where the user can enter a user name and a password. This log-on procedure via the log-on dialog is supplemented /replaced by previously reading out the RFID data via the electronic key adapter.

V1.0

20.11.2007

15/54

Function Principles and Program Structures General Function Mechanisms


User log-on to the operator panel via RFID Article ID: 26481978

The STEP 7 program evaluates the data of the electronic key read/write, processes them and sends the data (user data) to the operator panel. There, an internal function evaluates whether the operator has the required authorization.

Note

By means of the user administration stored, the operator panel compares whether the user data read out is correct. The user data is not stored in the controller.

3.4
Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

STEP 7 Program
The STEP 7 program accesses the I/O data of the electronic key adapter. The write/read area is assigned to the respective data block. The further evaluation is then performed using these data blocks.

Notes

You can download a special manual from the EUCHNER home page, which provides you with information on the EKS electronic key adapter with a PROFIBUS-DP interface. This manual contains detailed information on how to parameterize the electronic key adapter. (www.euchner.de) (See also Chapter 9.1 Bibliographic references) There are two previously parameterized data blocks for the write/read area that are used for communication. The blocks can be adapted accordingly by the user.

V1.0

20.11.2007

16/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

Functional Mechanisms of the STEP 7 Program


the structure of the STEP 7 program. the data exchange between the EKS electronic key adapter and the STEP 7 program.

Here you find information on

4.1
Overview

STEP 7 program structure

The screenshot below shows the program structure / program blocks of the STEP 7 project.
Figure 4-1
Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

V1.0

20.11.2007

17/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

4.1.1

Block description The following table lists and explains the STEP 7 blocks used. The S7 program is structured so that individual FCs and DBs are assigned to each operator panel. The following sections of this chapter describe the individual blocks in detail.
Table 4-1

Block OB1

Explanation Organization block: (Cycle Execution) is called by the operating system. For cyclic program processing. Diagnostic alarm OB: (I/O Point Fault 1) (Detailed information can be found in the online help on STEP 7) Program sequence error OB: (OB Not Loaded Fault) (Detailed information can be found in the online help on STEP 7) Module rack failure OB: (Loss of Rack Fault) (Detailed information can be found in the online help on STEP 7) Startup OB: (Complete Restart) (Detailed information can be found in the online help on STEP 7) Pan_01_EKS_Evaluation: contains the program for evaluating the EKS electronic key adapter for the Operator panel 01 (MP277 Touch) Pan_01_Clear_DB_Data: in the event of an EKS electronic key adapter failure for the Operator panel 01, the data read out (DB150) and the diagnostic data (DB152) are set to Zero. (setting DBs to a defined status). Pan_02_EKS_Evaluation: contains the program for evaluating the EKS electronic key adapter for the Operator panel 02 (OP177B PN/DP) Pan_02_Clear_DB_Data: in the event of an EKS electronic key adapter failure for the Operator panel 02, the data read out (DB160) and the diagnostic data (DB162) are set to Zero. (setting DBs to a defined status).

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

OB82

OB85

OB86

OB100

FC15

FC16

FC20

FC21

V1.0

20.11.2007

18/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Block FC125 Explanation GLOBAL_DP_DIAG: The FC125 evaluates the information on the bus node that has failed or malfunctioned. For more information, refer to http://support.automation.siemens.com/WW/view/de/3872 57 DB10 DB15 STEP 7_Global_Data: This DB is intended for general data. Pan_01_Global_Data_STEP 7: This DB serves as a global data block for the Operator panel 01 (MP277 Touch). -> Edge evaluation, temporary files etc. Pan_02_Global_Data_STEP 7: This DB serves as a global data block for the Operator panel 02 (OP177B PN/DP). -> Edge evaluation, temporary files etc. GLOBAL_DIAG_DB: This DB is used for evaluating the FC125. (Evaluation of the bus nodes that have failed or malfunctioned). Pan_01_Read_Transponder: (previously parameterized EUCHNER data block) This DB contains the data read out of the electronic key read/write. The DB is assigned to the Operator panel 01 (MP277 Touch). Pan_01_Write_Transponder: (previously parameterized EUCHNER data block) This DB contains the data that is to be sent to the electronic key read/write. The DB is assigned to the Operator panel 01 (MP277 Touch). Pan_01_DP_Diagnostic: (previously parameterized EUCHNER data block) This DB contains the device-specific diagnostic data of the EKS electronic key adapter. The DB is assigned to the Operator panel 01 (MP277 Touch). Pan_01_User_Data: This DB is used to input and output the user data on the operator panel. The DB is assigned to the Operator panel 01 (MP277 Touch). Article ID: 26481978

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

DB20

DB125

DB150

DB151

DB152

DB153

V1.0

20.11.2007

19/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Block DB155 Explanation Pan_01_General_Data: This DB contains general data that is used on the Operator panel 01 (MP277 Touch). (I/O fields with required input authorizations). Pan_02_Read_Transponder: (DB150 copy) This DB contains the read out data of the electronic key read/write. The DB is assigned to the Operator panel 02 (OP177B PN/DP). Pan_02_Write_Transponder: (DB151 copy) This DB contains the data that is to be sent to the electronic key read/write. The DB is assigned to the Operator panel 02 (OP177B PN/DP). Pan_02_DP_Diagnostic: (DB152 copy) This DB contains the device-specific diagnostic data of the EKS electronic key adapter. The DB is assigned to the Operator panel 02 (OP177B PN/DP). Pan_02_User_Data: (DB153 copy) This DB is used to input and output the user data on the operator panel. The DB is assigned to the Operator panel 02 (OP177B PN/DP). Pan_02_General_Data: This DB contains general data that is used on the Operator panel 02 (OP177B PN/DP). (I/O fields with required input authorizations). String_Initialize: This DB is used to empty written text fields on the operator panel. (To overwrite them with an empty entry). Note: The EUCHNER company provides pre-configured data blocks for evaluation of the send or receive data in an example project. The DBs can be adapted to the specific requirements. The present application uses the DB150, DB151 and DB152 blocks from this example project, which have been adapted accordingly. (Analogously, DB160, DB161 and DB162) Article ID: 26481978

DB160

DB161

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

DB162

DB163

DB165

DB200

V1.0

20.11.2007

20/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Block SFC13 Explanation DPNRM_DG: Reading the diagnostic data (Slave diagnostics). (Detailed information can be found in the online help on STEP 7) DPRD_DAT: Reading consistent data of a DP standard slave/PROFINET IO devices. (Detailed information can be found in the online help on STEP 7) DPWR_DAT: Writing consistent data to a DP standard slave/ PROFINET IO device. (Detailed information can be found in the online help on STEP 7) BLKMOV: Copying memory area. (Detailed information can be found in the online help on STEP 7) RDSYSST: Reading out an SSL part list or an SSL part list excerpt. Is used in the FC125! (Detailed information can be found in the online help on STEP 7) Article ID: 26481978

SFC14

SFC15

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

SFC20

SFC51

V1.0

20.11.2007

21/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

4.2

Hardware configuration
The following screenshot shows the STEP 7 hardware configuration.
Figure 4-2

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Install the EKS Profibus GSD file first. If you have installed the GSD file, the EKS-PROFIBUS Module is available under PROFIBUS DP > Additional Field Devices > ID System > EUCHNER > EKS. Connect the EKS module to the existing PROFIBUS. Then select the corresponding module . In this case, the Read/write 32 I/O module. You can define the I/O area or apply the suggested value via the module properties. Add a further EKS module and . repeat the steps for each additional electronic key adapter and

Note

The EUCHNER EKS manual Electronic-Key Adapter with Profibus-DP Interface provides detailed information on different modules and their parameterization.

V1.0

20.11.2007

22/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

4.3

Description of program execution FC15 (Pan_01_EKS_Evaluation)


The FC15 program block contains the program for evaluating the EKS electronic key adapter for the operator panel 01 (MP277 Touch). The figure below provides a schematic overview of the EKS data evaluation.
Figure 4-3

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Reading out the key data The output area of the electronic key adapter is used to read out the and assign them to the DB150DBX... output data via the SFC14 and assigned to the The data read out is split into two string variables DB153DBX... via the SFC20 . The reason for this is that the string variable read out (DB150DBX...) consists of an overall text. This overall text must be split into user name and password for evaluation. This is done using the SFC20. The result is then written to the DB153DBX... operator panel. Writing data to the key The two string variables DB153.DBX... can be used to specify the user name and the password via the operator panel. The two string variables are combined to one string variable via the SFC20 and assigned to the DB151.DBX... This string variable is assigned to the and written to the input area of the electronic key adapter via the SFC15 electronic key read/write. and output on the

V1.0

20.11.2007

23/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

4.3.1

Structure of the DB150 and DB151 blocks The DB150 and DB151 are data blocks that have been previously parameterized by EUCHNER. These data blocks are used for data exchange between the S7 controller and the electronic key adapter. The data blocks can be adapted to the specific user requirements. One data block with the structures of the DB150/DB151 is required for each EKS electronic key adapter. Copy the DB150/DB151 for this purpose and rename them accordingly.

Notes

Detailed information, for example, on the status byte is available in the EKS manual Electronic-Key Adapter with Profibus-DP Interface (See also Chapter 9.1 Bibliographic references). The figures below referring to the DB150/DB151 may deviate from the current version of the EKS manual.

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

DB150 structure
Figure 4-4

DB151 structure
Figure 4-5

V1.0

20.11.2007

24/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

4.3.2

Program description NW 1 and 2 of the FC15

Figure 4-6

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

The data of the EKS electronic key adapter is read out via the SFC14. LADDR:= Address in hex format. In this case, W#16#100 means address 256. (See also hardware configuration Chapter 4.2). The start address of the data block used is specified for reading the I/O data. The length depends on the module used. (See also hardware configuration Chapter 4.2).

RECORD:=

The SFC15 is used to write the data to the EKS electronic key adapter. LADDR:= Address in hex format. In this case, W#16#100 means address 256. (See also hardware configuration Chapter 4.2). The start address of the data block used is specified for writing the I/O data. The length depends on the module used. (See also hardware configuration Chapter 4.2).

RECORD:=

V1.0

20.11.2007

25/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

4.3.3

Program description NW 4 of the FC15

Figure 4-7

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Network 4 is used to specify the number of the bytes read. The byte number depends on the module used in the GSD file. (See description of the DB150/DB151 Chapter 4.3.1 Number of bytes).

Note

You can also permanently assign the string length (28) directly in the corresponding data block.

V1.0

20.11.2007

26/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

4.3.4

Program description NW 5 of the FC15 Network 5 is used to write the user data to the electronic key read/write with (user name and password). The user data is specified via two I/O fields (string variables) on the operator panel. These two string variables are combined to one string via the SFC20.

Function overview:
Figure 4-8

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

The DB151.DBB4 variable (Send_Data_To_Transponder) has a string length of 28 bytes. Two string variables from the DB153 with a length of 10 bytes each are written to this area (28 bytes). Area 01 (user name): Area 02 (password): DB151.DBB4 to DB151.DBB15 DB151.DBB16 to DB151.DBB27

Note

In this example, not the entire memory area (28 bytes) of the electronic key read/write is written with data. The maximum length of user name and password for the user administration is limited to 10 characters.

V1.0

20.11.2007

27/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

Writing user data to the transponder:


Figure 4-9

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

The DB151.DBX0.7 variable is set or reset on the operator panel via the Writing transponder data button. Writing the electronic key read/write is triggered by this function. Writing the user data: User name: SRCBLK: DB153.DBX0.0: DSTBLK: DB151.DBX4.0: DB153.DBX0.0, bytes 12 => Start address of the user name DB153.DBB0 > DB153.DBB11, number = 12 bytes DB151.DBX4.0 => Start address of the key contents. (see DB151 structure, Chapter 4.3.1) DB151.DBB4 -> DB151.DBB15, number = 12 bytes DB153.DBX12.0, bytes 12 => Start address of the password DB153.DBB12 -> DB153.DBB23, number = 12 bytes DB151.DBX4.0 => the second area. DB151.DBB16 -> DB151.DBB27, number = 12 bytes

Password: SRCBLK: DB153.DBX12.0:

DSTBLK: DB151.DBX16.0:

V1.0

20.11.2007

28/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

4.3.5

Program description NW 6 of the FC15 Network 6 is used to read out the contents of the electronic key read/write (user name and password) via the DB150. To enable the user data to be read out and evaluated via the corresponding I/O fields (string variables), the contents of the electronic key read/write (DB150) have to be split into two separate string variables (DB153).

Function overview:
Figure 4-10

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

The DB150.DBB4 variable (Readout_Transponder) has a string length of 28 bytes. This area (28 bytes) is split into two string variables of 10 bytes each and written to the DB153. Area 01 (user name): Area 02 (password): DB150.DBB24 to DB150.DBB35 DB150.DBB36 to DB150.DBB47

Note

In this example, not the entire memory area (28 bytes) of the electronic key read/write is read out. The maximum length of the user name and password for the user administration is limited to 10 characters.

V1.0

20.11.2007

29/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

Reading out the transponder with the user data:


Figure 4-11

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Reading out the user data: User name: SRCBLK: DB150.DBX4.0: DB150.DBX4.0 => Start address of the key contents. (see DB150 structure, Chapter 4.3.1) DB150.DBB4 -> DB150.DBB15, number = 12 bytes DB153.DBX24.0, bytes 12 DB153.DBB24 -> DB153.DBB35, number = 12 bytes DB150.DBX16.0, bytes 12 => the second area. DB150.DBB16 -> DB151.DBB27, number = 12 bytes DB153.DBX36.0, bytes 12 => the second area. DB153.DBB36 -> DB151.DBB47, number = 12 bytes

DSTBLK: DB153.DBX24.0: Password: SRCBLK: DB150.DBX16.0:

DSTBLK: DB153.DBX36.0:

V1.0

20.11.2007

30/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

4.3.6

Program description NW 7 of the FC15 Network 7 is used to read out the diagnostic data of the DP slave (electronic key adapter).
Figure 4-12

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

The SFC13 is not processed (REQ), as long as the reading process has not been completed (BUSY). LADDR: RECORD: Configured diagnostic address of the DP slave in HEX format. Data block previously parameterized by EUCHNER for DP diagnostics.

Note

Detailed information on SFC13 can be found in the STEP 7 online help.

4.3.7

Program description NW 8 of the FC15 Network 8 is used to reset the Transponder present evaluation signal in case of a failure. A global PROFIBUS diagnostics is performed via the FC125 (OB1). When the respective slave fails, the bit associated with the DP slave is set.

V1.0

20.11.2007

31/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

4.3.8

Program description NW 9 of the FC15 A delay time can be set in network 9 to delay the Log-on function on the operator panel. The DB150.DBX0.1 bit is used to determine whether a transponder is present in the read/write device. (See also Chapter 4.3.1 DB150 structure, status byte) Background: If the electronic key read/write is inserted in the electronic key adapter, the contents of the electronic key read/write are first read out via the S7 controller. This data is then transmitted to the operator panel to the parameters of the Log-on function.

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

This parameter transmission (user name and password) must be completed first before the Log-on function is executed on the operator panel.

Note

If the selected time is too short, it is possible that the user will not be able to log on.

The delay time depends on the CPU cycle time and the communication load on the PROFIBUS. 500ms are set by default.

V1.0

20.11.2007

32/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

4.3.9

Program description NW 10 of the FC15 Network 10 is used for the operator panel log-on and log-off.
Figure 4-13

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

The DB15.DBW16 auxiliary variable is used to execute the log-on and log-off function on the operator panel. If the electronic key read/write is inserted and the T15 delay time expired (see NW9), value 2 is assigned to the DB15.DBW16 variable. As soon as the electronic key read/write is removed from the electronic key adapter (evaluation is performed via the DB150.DBX0.1 bit), value -1 is assigned to the DB15.DBW16 variable. Background: The following limits have been assigned to the DB15.DBW16 variable in the WinCC flexible configuration: Upper limit: 1 Lower limit: 0 Upper limit exceeded -> Log-on function assigned Lower limit fallen below -> Log-off function assigned.

Under Events:

Thus, the log-on function is automatically executed if the limit is exceeded and the log-off function if the limit is fallen below. (depending on whether an electronic key read/write is inserted in the electronic key adapter)

V1.0

20.11.2007

33/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

4.3.10

Program description NW 11 of the FC15 The Screen_2 of the MP277 Touch features a button for deleting the data from the electronic key read/write. This function is executed via network 11. You need this function only if all the data is to be deleted from the electronic key read/write via the operator panel.
Figure 4-14

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

DB15.DBX18.0: SRCBLK: DB200.DBX0.0:

The DB15.DBX18.0 variable is set and reset using a button on the operator panel. DB200.DBX0.0 Auxiliary DB. This data block does not include any values ( is set for each string by default) number = 28 bytes DB151.DBX4.0, bytes 28 => Start address of the key contents. (see DB151 structure, Chapter 4.3.1) DB151.DBB4 -> DB151.DBB33, number = 28 bytes This bit is used to write data to the electronic key read/write. (see DB151 structure - Chapter 4.3.1, status byte)

DSTBLK: DB151.DBX4.0:

DB151.DBX0.7

V1.0

20.11.2007

34/54

Function Principles and Program Structures Functional Mechanisms of the STEP 7 Program
User log-on to the operator panel via RFID Article ID: 26481978

4.4

Description of program execution FC16 (Pan_01_Clear_DB_Data)


The FC16 is used to set the existing entries to a defined value for the operator panel_01 (slave failure) in DB150 Pan_01_Read_Transponder and DB152 Pan_01_DP_Diagnostic in the event of a failure of the electronic key adapter.

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

V1.0

20.11.2007

35/54

Function Principles and Program Structures Functional Mechanisms of the WinCC flexible Project
User log-on to the operator panel via RFID Article ID: 26481978

Functional Mechanisms of the WinCC flexible Project


the WinCC flexible program structure.

Here you find information on

5.1
Overview

WinCC flexible project structure

The WinCC flexible project consists of two operator panels.


Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

MP277 Touch OP177 PN/DP

The structure and functional scope of both configurations is identical. The functions of OP177 PN/DP are divided into three screens. (MP277 Touch has two screens) The description below applies to the MP277 Touch.
Figure 5-1

V1.0

20.11.2007

36/54

Function Principles and Program Structures Functional Mechanisms of the WinCC flexible Project
User log-on to the operator panel via RFID Article ID: 26481978

5.1.1

Configuration explanation for Screen_1

Overview of Screen_1 (test page with user input request) Screen_1 is called as a start screen. Three different user groups with the three users assigned are configured. depending on The user can make entries in the corresponding I/O fields the users authorization.

Note

This page is only a test screen to show the automatic user log-on to the operator panel and test the basic function principle.

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Figure 5-2

(1), Current user display: The current user is shown in the output field. The assignment is realized via the Scheduler. (Project tree > Device Settings > Scheduler). The ReadUser function is executed from the function list via the Change user event and the current user is written to the variable.

V1.0

20.11.2007

37/54

Function Principles and Program Structures Functional Mechanisms of the WinCC flexible Project
User log-on to the operator panel via RFID Article ID: 26481978

(2), User groups: This project contains three user groups that have been assigned different authorizations. (3), I/O fields: Three I/O fields, which have been assigned different authorizations, are configured in the project (Properties > Security).
Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Group_01 -> Operator control Group_02 -> Operator control, monitoring Group_03 -> Operator control, monitoring and managing

Operator control Monitoring Managing

The corresponding authorization must first be provided in Runtime before a value is entered. (4), User assignment: The table shows the user assignment graphically. The user name corresponds to the table heading. The default password configured is the number in brackets. Inputs in the I/O field next to Group_01 may be performed by all users. Inputs in the I/O field next to Group_02 may only be performed by user U2 and U3. Inputs in the I/O field next to Group_03 may only be performed by user U3.

(5), Log-off button: The Log-off button is used for a manual log-off, irrespective of whether the electronic key read/write is still inserted in the electronic key adapter. (Properties > Events > Click > Log-off)

V1.0

20.11.2007

38/54

Function Principles and Program Structures Functional Mechanisms of the WinCC flexible Project
User log-on to the operator panel via RFID Article ID: 26481978

5.1.2

Configuration explanation for Screen_2

Overview of Screen_2 The Screen_2 is used to output key read/write via I/O fields. and The read/write. and specify data of the electronic

buttons start the data transmission to the electronic key .

The user data can be checked and edited if required via the user view
Figure 5-3

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

(1), User view The user data can be checked and edited in Runtime via the configured user view.

V1.0

20.11.2007

39/54

Function Principles and Program Structures Functional Mechanisms of the WinCC flexible Project
User log-on to the operator panel via RFID Article ID: 26481978

(2), Read out transponder data This area is used to output the data of the electronic key read/write on the operator panel. The following settings must be taken into account for both variables used. (Properties > General). Acquisition mode: Acquisition cycle: Cyclically continued 100ms

Note

If the selected acquisition cycle of variables is too long, the log-on may be executed incorrectly.

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

(3), Specifying transponder data This area is used to specify the data (user and password) for the electronic key read/write via the operator panel.

Note

The data (user and password) must comply with the existing data of the user view.

(4), Button Delete transponder data Pressing this button sets the bit of the Visible_01 variable. This variable displays an additional window (grouped elements) in Runtime. It serves as a confirmation dialog to prevent accidental deletion of transponder data. (see the Figure 5-4 below)

Note

The window can be displayed or hidden via Layer 1 in the configuration view (Screen properties > Properties > Layer).

V1.0

20.11.2007

40/54

Function Principles and Program Structures Functional Mechanisms of the WinCC flexible Project
User log-on to the operator panel via RFID
Figure 5-4

Article ID: 26481978

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Grouped element: The grouped element consists of four composed individual elements. Rectangle Text field Two buttons (Yes / No) sets the bit of the

Grouped element Visible / hidden: Pressing the Delete transponder data button Visible_01 variable.

All elements of the grouped element use the Visible_01 variable under Properties > Animations > Visibility. If the Visible_01 variable is set, the grouped element is displayed in Runtime. Yes button: Two functions have been configured for the Yes button under Properties > Events. Press: Pressing the button sets the DB15.DBX18.0 bit. The electronic key read/write is deleted by the controller via this bit (see also Chapter 4.3.10) Release: Releasing the button resets the bit of the Visible_01 variable. The grouped element is hidden again. No button:

V1.0

20.11.2007

41/54

Function Principles and Program Structures Functional Mechanisms of the WinCC flexible Project
User log-on to the operator panel via RFID Article ID: 26481978

One function is assigned to the No button under Properties > Events. Press: Pressing the button resets the bit of the Visible_01 variable. The grouped element is hidden again.

(5), Button Writing transponder data Two functions have been configured for the Writing transponder data button under Properties > Events. Press: Pressing the button sets the DB151.DBX0.7 bit. This bit starts the command for writing the electronic key read/write via the controller (see also Chapter 4.3.4). Release: Releasing the button resets the DB151.DBX0.7 bit.
Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

A color change has been configured for the headings Reading transponder data, Transponder default parameter and the button Writing transponder data under Properties > Animations > Appearance. These different colors allow you to determine whether an electronic key read/write is inserted in the electronic key adapter. Transponder present Transponder is not present -> Background color green -> Background color yellow

V1.0

20.11.2007

42/54

Function Principles and Program Structures Functional Mechanisms of the WinCC flexible Project
User log-on to the operator panel via RFID Article ID: 26481978

5.1.3

Configuration explanation for Log-on/ log-off function The log-on / log-off function is executed via the DB15.DBW16 variable. Three functions have been configured for this variable. Upper and lower limit Event Upper limit exceeded Event Lower limit fallen below

Upper / lower limit: The 1 value is set for the upper limit and 0 for the lower limit under the tag property Properties > Settings.
Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Figure 5-5

V1.0

20.11.2007

43/54

Function Principles and Program Structures Functional Mechanisms of the WinCC flexible Project
User log-on to the operator panel via RFID Article ID: 26481978

Event Upper / lower limit exceeded:


Figure 5-6

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

If the controller detects that an electronic key read/write is provided in the electronic key adapter, value 2 is entered into the DB15.DBW16 variable via the controller (see also Chapter 4.3.9). The limit value monitoring is used to execute the log-on function via the Upper limit exceeded event. If the electronic key read/write is removed from the electronic key adapter again, value -1 is entered into the DB15.DB16 variables via the controller (see also Chapter 4.3.9). is used to execute the log-off function via The limit value fallen below the Lower limit fallen below event.

Note

The following settings must be taken into account for the DB15.DBW16 variable used. (Properties > General). Acquisition mode: Acquisition cycle: Cyclically continued 100ms

If the selected acquisition cycle is too long, the log-on may be executed incorrectly.

V1.0

20.11.2007

44/54

Function Principles and Program Structures Modifications to the Sample Program


User log-on to the operator panel via RFID Article ID: 26481978

Modifications to the Sample Program


what you can do to adapt the sample project to your project environment.

Here you find information on

6.1

Adapting the STEP 7 blocks


In this project, separate program blocks are assigned to each operator panel. Operator panel_01 (MP277 Touch) FC15, FC16 DB15, DB150, DB151, DB152, DB153, DB155 FC20, FC21 DB20, DB160, DB161, DB162, DB163, DB165

Operator panel_02 (OP177 PN/DP)


Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

These blocks can be given any names and adapted to your individual requirements.

Note

Please pay attention to the data structure of the data blocks previously parameterized by EUCHNER (e.g., DB150, DB151, DB152). This data structure should not be changed.

6.2

Adapting the WinCC flexible configuration


You can adapt the WinCC flexible to your individual requirements.

6.2.1

Operator panels You can use any operator panels that support a user administration.

6.2.2

Calling the Screen 2 In practice, the Screen 2 would only be called using the corresponding user rights (Admin). This person may also write the corresponding user data to the electronic keys read/write.

V1.0

20.11.2007

45/54

Structure, Configuration and Operation of the Application Installation and Commissioning


User log-on to the operator panel via RFID Article ID: 26481978

Structure, Configuration and Operation of the Application


Content This part leads you step by step through the structure, important configuration steps, commissioning and operation of the application.

Installation and Commissioning


the hardware and software to be installed, and the steps necessary for commissioning the example.

Here you find information on

7.1
Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Installation of hardware and software


This chapter describes the hardware and software components to be installed. The description and manuals, as well as delivery information contained in the delivery scope of the respective products, should be observed in any case.

Hardware installation The hardware components are available in Chapter 2.3. For the hardware setup, proceed in accordance with the table below:
Table 7-1

No. 1.

Instructions Install your S7-300/400 controller according to the installation instructions. The following FAQ entry provides more information on this topic. http://support.automation.siemens.com/WW/view/de/ 15390415 Install your operator panel according to the installation regulations. The following entry provides more information on this topic (e.g, MP277 manual). http://support.automation.siemens.com/WW/view/de/ 23337820 Install the EKS electronic key adapter according to the EUCHNER installation instructions and set the corresponding PROFIBUS address using the DIP switches. Connect all PROFIBUS nodes to the S7 controller via a PROFIBUS cable. ---

Note

2.

---

3.

---

4.

---

Note

The installation guidelines must always be observed.

V1.0

20.11.2007

46/54

Structure, Configuration and Operation of the Application Installation and Commissioning


User log-on to the operator panel via RFID Article ID: 26481978

Installation of the standard software


Table 7-2

No. 1.

Instructions It is assumed that the software specified in Table 2-2 of Chapter 2.4 is installed on your PG/PC. Please observe the system requirements in any case. More information on this topic is available on the Customer Support pages on the internet.

Note Link to the Customer Support pages. http://support.automation.siem ens.com

7.2
Table 7-3
Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

Installation of the application software


Instructions Transfer the STEP 7 configuration to your S7 controller. Information on how to transfer a STEP 7 configuration to an S7 controller is available on the Customer Support pages on the internet. Transfer the WinCC flexible configuration to your operator panel. Information on how to transfer a configuration to an operator panel can be found in the respective device manual. Note Link to the Customer Support pages. http://support.automation.sie mens.com Link to the Customer Support pages. http://support.automation.sie mens.com

No. 1.

2.

V1.0

20.11.2007

47/54

Structure, Configuration and Operation of the Application Operating the Application


User log-on to the operator panel via RFID Article ID: 26481978

Operating the Application


how to operate all functions of this application.

Here you will find information on

Overview The essential functions have already been described in the previous chapters. It is required that
Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

you have already transferred the STEP 7 configuration and the WinCC flexible configuration to the corresponding hardware, a connection between S7 controller and operator panel has been established, the required EKS electronic key adapters have been installed.

8.1
Table 8-1

Calling the start page using the example of the MP277 Touch
Instructions The following start screen is displayed after starting Runtime on the operator panel. Buttons in the permanent window (buttons displayed on all screens) Button Screen 1 Use the Screen 1 button to display this start page. Button Screen 2 Use the Screen 2 button to display the page for reading out and writing the electronic key read/write. Button English (German) Use this button to switch between German/English. The project is configured in German and English. Button Terminate RT Use this button to terminate Runtime of the operator panel. Note

No. 1.

V1.0

20.11.2007

48/54

Structure, Configuration and Operation of the Application Operating the Application


User log-on to the operator panel via RFID Article ID: 26481978

8.1.1
Table 8-2

Operating the Screen 1 page

No. 1.

Instructions Use the Screen 1 button to call screen 1. There are three I/O fields each with different user rights located on this screen. You have to log on first to be able to operate/enter values in these I/O fields. Log-on: The log-on is performed via the evaluation of the electronic key read/write inserted in the electronic key adapter. Alternatively, you can also log on manually by selecting an I/O field. A log-on dialog appears where you can enter the user data. Note: The log-on dialog always appears if an I/O field has been selected and no user has yet logged on with the corresponding authorization. If the operator has the appropriate user rights, he/she can enter values in the I/O fields. Note: The required user data - User name and password - can be found in the "Table" .

Note

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

2.

Log-off: Use the Log-off button to log off manually at any time, irrespective of whether an electronic key read/write is inserted in the electronic key adapter.

V1.0

20.11.2007

49/54

Structure, Configuration and Operation of the Application Operating the Application


User log-on to the operator panel via RFID Article ID: 26481978

8.1.2
Table 8-3

Operating the Screen 2 page

No. 1.

Instructions Use the Screen 2 button to call screen 2. Writing the electronic key read/write: Insert an electronic key read/write into the electronic key adapter. If the key is recognized, the heading color is changed and the Writing transponder data button turns green. Enter the user and password into the field under . The user in this example is: U3 password: 333 Note: The data (user and password) must comply with the existing data of the user view. Press the Writing transponder data button . The data is written to the transponder. Remove the electronic key read/write from the electronic key adapter.

Note

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

2.

Reading the electronic key read/write: Insert the previously written electronic key read/write into the electronic key adapter. If the key is recognized, the heading color is changed and the Writing transponder data button turns green. All users are displayed in the user view . The data of the electronic key read/write is output in the field under .

V1.0

20.11.2007

50/54

Structure, Configuration and Operation of the Application Operating the Application


User log-on to the operator panel via RFID No. 3. Instructions Deleting data of the electronic key read/write: Insert the previously written electronic key read/write into the electronic key adapter. If the key is recognized, the heading color is changed and the Writing transponder data button turns green. Press the Delete transponder data button . opens. A confirmation dialog Answer with Yes or cancel the process by clicking No. If you click Yes, the data is deleted from the electronic key read/write. Note: You can rewrite the electronic key read/write at any time. Remove the electronic key read/write from the electronic key adapter. Article ID: 26481978 Note

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

V1.0

20.11.2007

51/54

Structure, Configuration and Operation of the Application Operating the Application


User log-on to the operator panel via RFID Article ID: 26481978

8.1.3
Table 8-4

General information on operation / configuration

No. 1.

Instructions Changes in the user view: If you make changes to the user view, the electronic key read/write has to be updated subsequently with these changes. The user data cannot be automatically applied to the text fields from the user view for writing the transponder data. Log-off time: If the plant operator has logged on via the system (electronic key read/write is inserted in the electronic key adapter), and the time upon which the user is automatically logged-off has elapsed, the user has to relog on to the system. Remove the electronic key read/write from the electronic key adapter and insert it again. The user is relogged on to the device. Logging-on failed: If the log-on via the RFID system has failed, although you are sure that the user data on the electronic key read/write is correct, check the following in the configuration: Delay time of the log-on (set a longer time) (see Chapter 4.3.8). Check the variable parameters that are used for the log-on and off (see Chapter 5.1.3). Check the variable parameters that are used to read out the transponder data (see Chapter 5.1.3, number 2) ---

Note

2.
Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

---

3.

---

V1.0

20.11.2007

52/54

Structure, Configuration and Operation of the Application Literature


User log-on to the operator panel via RFID Article ID: 26481978

9
9.1

Literature
Bibliographic references

Table 9-1

Topic /1/ WinCC flexible 2005

Title User manual WinCC flexible 2005 Compact / Standard / Advanced Order no. 6AV6691-1AB01-0AA0 http://support.automation.siemens.com/WW/view/de/18 796010 MP277 manual Order no. 6AV6691-1DJ01-0AA0 http://support.automation.siemens.com/WW/view/de/23 337820 OP177 PN/DP manual Order no. 6AV6691-1DG01-0AA1 http://support.automation.siemens.com/WW/view/de/21 084461 EUCHNER EKS manual, Electronic-Key Adapter with Profibus-DP Interface. Order no. 092009 (as of 20.11.07) http://www.euchner.de/

/2/
Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

WinCC flexible 2005

/3/

WinCC flexible 2005

/4/

EUCHNER EKS manual

9.2

Internet links

Topic \1\ \2\ Reference to this entry Siemens A&D Customer Support Siemens A&D Customer Support

Title http://support.automation.siemens.com/WW/view/de/26 481978 http://www.ad.siemens.de/support

\3\

Tips and tricks for the topic of user administration http://support.automation.siemens.com/WW/view/de/24 456113

V1.0

20.11.2007

53/54

Structure, Configuration and Operation of the Application History


User log-on to the operator panel via RFID Article ID: 26481978

10

History
Table 10-1 History

Version V1.0

Date 13.12.2007 First edition

Modification

Copyright Siemens AG 2008 All rights reserved 26481978_Applikation_Benutzerverwaltung_RFID_DOKU_V10_e.doc

V1.0

20.11.2007

54/54

Você também pode gostar