Jump to content

Recommended Posts

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.

Link to comment
Share on other sites

  • MVP 2023

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...