Disable automatic logout

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
TheGissel
Posts: 3
Joined: Tue Jan 22, 2013 3:32 am

Disable automatic logout

Post by TheGissel »

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

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Disable automatic logout

Post by mark.monroe »

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

andrea
Posts: 72
Joined: Tue Dec 11, 2012 5:44 am

Re: Disable automatic logout

Post by andrea »

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

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Disable automatic logout

Post by mark.monroe »

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

andrea
Posts: 72
Joined: Tue Dec 11, 2012 5:44 am

Re: Disable automatic logout

Post by andrea »

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

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Disable automatic logout

Post by mark.monroe »

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

iUser
Posts: 1
Joined: Tue Apr 29, 2014 1:50 am

Re: Disable automatic logout

Post by iUser »

Hello

Is this topic solved with the new Version 2.1?

Best regards

User avatar
Adam B.
Posts: 11
Joined: Wed Nov 06, 2013 1:41 pm
Location: Salt Lake City, UT
Contact:

Re: Disable automatic logout

Post by Adam B. »

Yes, this script to enable and disable the alarm timer now works.
Best Regards,

Beijer Electronics, Inc.
Adam Barnett | Applications Engineer

Franswa
Posts: 6
Joined: Sun Feb 07, 2016 1:39 pm

Re: Disable automatic logout

Post by Franswa »

Hello!
What is the line code which say
if(I'm Logout!)
{Globals.Tags.tag.Value=1;}}

andrea
Posts: 72
Joined: Tue Dec 11, 2012 5:44 am

Re: Disable automatic logout

Post by andrea »

Is there a solution to know when the events automatic logout fires?
I have to do operations via code on that.

Thank you

Post Reply