Hi all,
In my application I require the user to log in as SuperUser to perform a factory reset, which clears all my PLC registers and shows an initial selection screen. The system is completely useless untill a selection is made on this screen, but if the user does nothing and the user is logged out after the automatic logout time, the panel returns to the main screen. This leaves the system completely helpless and only a reset of PLC can get it up and running again.
My question is:
Is it possible to disable the the automatic logout during the factory reset and then enable it again after that?
Regards,
Jesper Gissel
Emerson Climate Technologies
Disable automatic logout
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Disable automatic logout
On the security object you can do this.
Code: Select all
//To Enable
Globals.Security.AutomaticLogoutEnabled = true;
//To Disable
Globals.Security.AutomaticLogoutEnabled = false;
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Re: Disable automatic logout
Hello,
we have tried to use this instruction:
//To Disable
Globals.Security.AutomaticLogoutEnabled = false;
The value of the property is changed but it has no effect.
We set automatic logout to true after 1 minutes at project level.
We inserted in a screen a button and under the click:
Globals.Security.AutomaticLogoutEnabled = false;
But after a minute the systems logoff and ask for a new login.
version 2.0
How to solve that?
Thank you
Andrea
we have tried to use this instruction:
//To Disable
Globals.Security.AutomaticLogoutEnabled = false;
The value of the property is changed but it has no effect.
We set automatic logout to true after 1 minutes at project level.
We inserted in a screen a button and under the click:
Globals.Security.AutomaticLogoutEnabled = false;
But after a minute the systems logoff and ask for a new login.
version 2.0
How to solve that?
Thank you
Andrea
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Disable automatic logout
There was a firmware bug that caused that to occur. You should go to our support page and request the firmware for your unit.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Re: Disable automatic logout
Dear Mark,
I follow the link that go to Tech Support form that I fill in with my info.
It is not clear if the bug is already know and solved and there is some package ready to download or the correction is in progress.
Thank you
I follow the link that go to Tech Support form that I fill in with my info.
It is not clear if the bug is already know and solved and there is some package ready to download or the correction is in progress.
Thank you
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Disable automatic logout
Apparently this issue has not been fixed yet. We had a similar issue with the back light not turning off, which has been fixed. This issue has been noted and will be fixed in the next release of iX Developer. I do not know when the next iX version will be released.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Re: Disable automatic logout
Hello
Is this topic solved with the new Version 2.1?
Best regards
Is this topic solved with the new Version 2.1?
Best regards
Re: Disable automatic logout
Yes, this script to enable and disable the alarm timer now works.
Best Regards,
Beijer Electronics, Inc.
Adam Barnett | Applications Engineer
Beijer Electronics, Inc.
Adam Barnett | Applications Engineer
Re: Disable automatic logout
Hello!
What is the line code which say
if(I'm Logout!)
{Globals.Tags.tag.Value=1;}}
What is the line code which say
if(I'm Logout!)
{Globals.Tags.tag.Value=1;}}
Re: Disable automatic logout
Is there a solution to know when the events automatic logout fires?
I have to do operations via code on that.
Thank you
I have to do operations via code on that.
Thank you