Mikel Posted January 4, 2019 Report Posted January 4, 2019 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 Flex727 Posted January 4, 2019 MVP 2023 Report Posted January 4, 2019 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 Flex727 Posted January 4, 2019 MVP 2023 Report Posted January 4, 2019 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.
Cam Posted January 4, 2019 Report Posted January 4, 2019 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. 1
MVP 2023 kratmel Posted January 4, 2019 MVP 2023 Report Posted January 4, 2019 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.
Mikel Posted January 4, 2019 Author Report Posted January 4, 2019 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now