Jump to content

Recommended Posts

Hello , first Unitronics experience for me, many hours of watching webinars and reading about.

I couldn't find how to make a button called ""Clean Screen" for instance that when is been pressed, the screen will freeze for some amount of time in order to clean the surface of the screen from dirt, dust etc.

Any suggestions? Thanks in advance.

Link to comment
Share on other sites

It sounds like you want the PLC to ignore touching while you clean the screen.  I don't know of a direct way of doing this but you could achieve what you want by changing to a blank screen (no buttons etc) for a set time and then return.  However, the PLC would still go into Info mode if you touch it for too long.  Maybe someone has a better idea?

Link to comment
Share on other sites

Geia sou Panagioti,

 

I can think of two ways to solve this problem..

 

1) Link a memory bit to disable mode property of all touch elements of your HMI screen. When your "Clean screen" button is pressed, use a timer to turn on this memory bit for a preset amount of time. This way you disable all your HMI elements on the screen. So even if you touch an element, it will be ignored.

 

2) When "Clean screen" button is pressed, load a blank screen which will stay active for a preset amount of time. When this time elapses, load your previous screen.

Note that when you touch an empty area for 4 seconds, PLC enters info mode. You can increase this time by changing the value of SI 50 at power-up (Its value is 4 by default) to avoid entering info mode.

 

Hope this Helps!

Link to comment
Share on other sites

  • MVP 2023

This would be very simple to do. Create a blank screen and have an MB that is on when the screen is displayed and a pushbutton that calls the screen. Run a timer while the screen is displayed. If there are no touch elements on the screen, it is effectively "frozen". When the timer expires, call the screen you were previously on.

Link to comment
Share on other sites

  • 2 weeks later...

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...