password on wincc

harrydeharry

Member
Join Date
May 2008
Location
Delhi
Posts
237
hi all,
how can put password on wincc. I want to do this for only one screen.
help will be highly depreciated,
warm regards
harry
 
Hello,
It's not clear if you use Wincc, or Wincc Flexible.
If it is Wincc you must first read very carefully the User Administration document wich is usualy located on "drive:\Program Files\Siemens\WinCC\Documents\English\UserAdmin.pdf" to learn how to create users, passwords and to logon in runtime.

To swtich to a screen wich is not available for everyone you must first LOGON and then click the button assigned for this.
The button must be set like this: " Properties -> Miscellanous -> Authorisation -> Tag entering "

Good luck
 
I'm not sure if there is an other way to protect objects with passwords then the LOGON operations. Maybe writinig scripts on the event properties but is much more complicated.
 
..

I got this from one the Siemens forum and working fine but in this any one can find the password easily if you can see and suggest how to make it robust.
..........................................
..........................................

Follow these steps for a simple example:
1. Create an internal 16 bit text tag called TagPassword.
2. Create an I/O field (data format string) and add above tag in Output Value attribute.
3. Create a button and add following C script on Operator-Control Enable attribute:
=============================================================
#include "apdefap.h"
BOOL _main(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName)
{
if (strcmp ( GetTagChar("TagPassword"),"abcd") == 0) //Return-Type: WORD
{
return 1;
}
else
{
return 0;
}
}
 
I didn't imagine it can be so simple. Thank you for the information.
On the other side, yes, anyone can access the project manager (WinCC Explorer) and see or do enything he likes. But this can be avoided if the Windows Administrator sets the system so that the operator (user) cannot access enything but the runtime application.
Best regards,
Teckhno
 

Similar Topics

Hi all I have had an issue with operators keep finding the hmi passwords out , is it possible to use a digital input to login to a user engineer...
Replies
8
Views
3,403
Hello, I am trying to password protect a button on an HMI running WinCC v7.2. I also would like to password protect some data fields on the same...
Replies
3
Views
1,827
Hi everybody, I need to know passwords from TIA WinCC project. In case of WinCC Flexible there is a way how to do it. Someone who knows how to do...
Replies
4
Views
1,322
hi guys, I know some people winch a little when the topic of password recovery crops up. The engineers on site have forgotten their password to a...
Replies
18
Views
19,887
There is a project WinCC, run the project, request a login and password? How to determine the passwords for users in the User Administrator? Of...
Replies
0
Views
2,261
Back
Top Bottom