Jump to content

Recommended Posts

Posted

Hello guys,

is there a way to put my hmi screen to sleep in a certain period of time when there was no touch on the screen?

But to still keep my process or whatever running.

and also wakes it when the screen is touched... am using V1210

Need help.

Thanks very much.

  • MVP 2023
Posted

Yes, SI 9 controls the screen brightness. Just create a timer that will trigger when there is no screen touch (SB 16). Then use SB 16 to restore SI 9 to the previous value.

  • MVP 2023
Posted

Here's a very simple example. I generally add a bit more complexity when I want to give the user the ability to adjust the screen brightness to suit the environment. You also need to be careful because any screen elements with a touch property can still be activated when the screen is touched while backlight is at zero.

image.png.a3bda7b7e883112cf3544c9cd480a388.png

Posted

To get around the touch buttons activating you could add code to load a blank display in net 2 of Flex's example and then in net three add a load last display

This would cause the sleep screen to have no touch properties to affect your process and once the screen is touched to wake it up cause it to load the display that was last up.

 

 

  • Like 1
  • MVP 2023
Posted

Try to  build black HMI display with big black flat button without any text.

Timer activate black display after no activity.  Only problem - you need to save display # to return.

Brightness also maybe used in this case.

Posted

Thanks Flex, that helps a lot.  nothing to worry about concerning elements on screen with touch property because there is none.

I may be incorporating some touch elements later, in that case CAM and KRATMEL's advice will take care of that.

Thank you all very much.

 

Mikel

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
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.