Machine Automation Forum
A forum addressing machine automation solutions for the complete machine lifecycle. Including offers like Machine Advisor, Modicon PLC/PacDrive, Lexium or Preventa. Discuss and share knowledge on offers relating to cloud-based service platforms, machine localization and monitoring, industrial operations control, motion products as well as safety function!
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-07-04 01:12 AM . Last Modified: 2023-07-04 05:53 AM
Hello,
I would like to make some settings pages on M172 embedded display to which user gain acces after entering correct password and after 5 minutes of idle state it would log off/go to main page.
I was thinking about storing password in EEPROM value, make box where I can enter password and button with script to chceck if both values are equal and if thats true use virtual key to open settings page.
Is there better way to do that?
To the second part (logging off), I don't have idea how to do that. Could someone guide me how to do that? Is there any global function to check that?
If someone already have some ready solution for my problem i would be very thankfull for some example.
Thanks,
Dawid
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-07-04 11:20 PM
Hi,
You could find a Sample for this request in the included TVDAs
In the AHU TVDA is a global script use to automatic log off after a time.
And you will redirected via Virtual function Key.
The Password EEPROM on address 16697 16698 16699
Now you know were you have to look, I´m optimistic that you could solve in this way your problem.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-07-06 06:49 AM
Thanks for help, I will try to implement that.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.