b.k.n.

Revert to home page

2 posts in this topic

Is there a way to make so after there is no user activity on a HMI for a certain length of time that it will switch back to another page? I have a macro here I am running every second that is watching for page changes. But obviously changing pages isn't the the only user activity there is.

'clear the counter when not one page
If($SW0==BCD(65))
$W150=0;
EndIf

'Increment Counter
If ($SW0<>BCD(65))
$W150=$W150+1;
EndIf

If ($W150>10)
$SW0=BCD(65);
EndIf

 

Edited by b.k.n.

Share this post


Link to post
Share on other sites

The most common user activity monitoring in a modern OS is mouse movement. The second most common is key strokes.

Our HMI has a "User Inactivity" configuration that can be configure to take an action after X amount of inactivity. Maybe CX has such a feature.

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now