Page 1 of 1

How can I switch screens after 3 seconds per script?

Posted: Tue Jan 28, 2020 1:54 pm
by aparecido
How can I switch screens after 3 seconds per script?

  I could not find any example for this purpose, I am trying to make the HMI show a screen when turned on, after 3 seconds through a script it automatically switches to another screen.
  Could someone infect me with an example?
  Thanks.

Re: How can I switch screens after 3 seconds per script?

Posted: Wed Jan 29, 2020 5:08 pm
by Jae V
Hello aparecido,

I've attached a quick scripting solution to do this. Take a look at it and let us know if you have any questions about it. Thanks!

Re: How can I switch screens after 3 seconds per script?

Posted: Fri Jan 31, 2020 2:26 pm
by aparecido
Hello, thanks for answering me.
Could you please explain what was done?
Thanks a lot.

Re: How can I switch screens after 3 seconds per script?

Posted: Thu Feb 06, 2020 1:55 pm
by Jae V
Hello ,

Essentially when the first page opens, it starts a timer. Once the timer is more then 3 secs, it will open the second page. Once the second page is opened, it turns off the timer preventing it from looping back to the second page constantly. The timer is in the script module, the trigger to start the timer is in the Screen 1 Script, and the check for if the timer has reached 3 seconds is in the Tag menu script. If you need more clarification after looking through the project and simulating it, please give us a call at 801.708.6690 so we can talk through it more. Thanks!