Hi all
Is there a way that we can program the pv750 or 450 so that if a shutdown fault has accoured that a password page comes up and before you can restart the machine you first have to enter a password can some one please assist me with this
Password integration
- ECS-SA
- Posts: 48
- Joined: Thu Feb 17, 2011 7:19 am
- rschrock
- Enovation Controls Development
- Posts: 6
- Joined: Wed Sep 08, 2010 10:37 am
Re: Password integration
To create a password protect screen, there is already a post on this forum which would be used to create the enter password screen(Just search for password protect on the forum to find this post). Then all you would have to do is create another variable to show this page when a shutdown message is received. To do this, create a state machine that will change this new variable from a 0 to a 1 when the UserDefinedVariable.Dm1.LampStatus equlas 2 (which means the unit received a shutdown message). Also be sure to set this variable to a saved value, and save this variable on change so that when the unit starts back up the password screen will show. Then change the script GaugeScreenInit Line 127 to an if statement for when your user defined variable is equal to 1 to go to your password screen, else go to current screen. Be sure to change this new variable back to 0 when a correct password has been enabled.
- ksaenz
- Enovation Controls Development
- Posts: 263
- Joined: Thu Aug 19, 2010 7:53 am
Re: Password integration
Marcell,
Here is a demo based on the standard configuration that lets you save a log file to a flash drive and requires a password when you restart after a shutdown.
The changes are:
New Variables:
Here is a demo based on the standard configuration that lets you save a log file to a flash drive and requires a password when you restart after a shutdown.
The changes are:
New Variables:
- UserDefinedVariable.Datalogger.Status
UserDefinedVariable.Password
UserDefinedVariable.Password1000sDigit
UserDefinedVariable.Password100sDigit
UserDefinedVariable.Password10sDigit
UserDefinedVariable.Password1sDigit
UserDefinedVariable.PasswordRequired
- Flashdrive0
Flashdrive1
Flashdrive2
Flashdrive3
Start
- Data Logging
Password
- CheckPassword (from post viewtopic.php?f=7&t=138)
- Data Logging Stop
Data Logging Clear
Data Logging Output
Data Logging Start
GoToDataLogging
GotoPasswordScreen
Password
PasswordRequired
- Default Utilities Menu View
- Added button to go to Data Logging
- GaugeScreenInit
- Added variable:
Added code at the end:
Code: Select all
double PasswordRequired;
Code: Select all
smRead(smGetHandle("UserDefinedVariable.PasswordRequired"), PasswordRequired); if( PasswordRequired == 0 ) { GaugeScreenGoToCurrent(); } else { sendEvent(EventID("Transition to show password screen")); }
- Added variable:
- Attachments
-
- Log and Password.zip
- (8.33 MiB) Downloaded 56 times