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.
How can I switch screens after 3 seconds per script?
Re: How can I switch screens after 3 seconds per script?
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!
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!
- Attachments
-
- DelayedStartScreen.zip
- Coded in iX developer 2.40 SP4
- (40.13 KiB) Downloaded 678 times
Best regards,
Jason
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us
Jason
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us
Re: How can I switch screens after 3 seconds per script?
Hello, thanks for answering me.
Could you please explain what was done?
Thanks a lot.
Could you please explain what was done?
Thanks a lot.
Re: How can I switch screens after 3 seconds per script?
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!
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!
Best regards,
Jason
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us
Jason
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us