mr_electrician Posted August 9, 2019 Report Posted August 9, 2019 (edited) I am going to be up front and honest here guy's but I am not good (yet) at Structured Programming. I want to have a screen that appears on startup only stay for an X amount of time before switching to the main Overview Screen. How do I go about this within the HMI only? Where can I look for a reference on how to program Structured Text for these HMI's? Edited August 9, 2019 by mr_electrician typo
Michael Walsh Posted August 9, 2019 Report Posted August 9, 2019 I would create a global event that calls a subroutine that I called "SwitchFromMain" every second, like this: This is what my subroutine looks like: I am sure that there are other ways to do this, but this is what I came up with.
Michael Walsh Posted August 9, 2019 Report Posted August 9, 2019 Ok, I thought on this a little bit more and wanted to come up with a way that it only calls the subroutine when it is on the Intro_Page. No reason to call it once you have switched. Instead of making a Global Event that calls the subroutine, go to the Intro_Page and display the Events and Actions window (View pulldown -> Events and Actions). Then, add a new event based on a condition and have it call the subroutine. Like this:
Michael Walsh Posted August 9, 2019 Report Posted August 9, 2019 As far as where to find documentation on the VB like programming in the NA, I have no answer as of yet.
Crossbow Posted August 12, 2019 Report Posted August 12, 2019 If you open help in Sysmac Studio with a code window open, it's all documented there. Never seen that file available as a PDF though...
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