stream Posted August 19, 2014 Report Share Posted August 19, 2014 hi, I would like to detect ( in the ladder) which screen is on at the moment and which screen launched it. I have build rungs for each screen but with many screens is is tedius. In help I cannot find anything and I can't find a system tag on it. In other companies hmi I used to find system tags keping track of it. To me It can be very helpful knowing where the "operator" is in deciding the flow through the program (ladder). Quote Link to comment Share on other sites More sharing options...
Alexander Posted August 19, 2014 Report Share Posted August 19, 2014 Within UniLogic each screen has an optional tag link for a property if screen is active. This can be found within the main properties window for each individual screen. This tag can be assigned and used in conjunction with set/reset bits when a screen jump is being performed. Quote Link to comment Share on other sites More sharing options...
stream Posted August 20, 2014 Author Report Share Posted August 20, 2014 Thanks Uniguru for your reply. I found it and it works. But is there also a tag telling which screen launched the momentary screen? Quote Link to comment Share on other sites More sharing options...
Alexander Posted August 20, 2014 Report Share Posted August 20, 2014 There isn't a direct tag that indicates which screen was selected previously, but you could also implement logic that each time a screen jump is performed a bit tag is set indicating which screen was just implemented. For example: On Display 1, I press a button that performs 2 actions. The first action is to jump to screen 2, the second action is to set a bit tag with the description "Screen Jump from Display 1 Performed". This bit tag can then be used as necessary to indicate that a jump was performed from display 1. It can then be reset as necessary within the logic. 1 Quote Link to comment Share on other sites More sharing options...
stream Posted August 25, 2014 Author Report Share Posted August 25, 2014 Thanks for your advise and help Alexander. Quote Link to comment Share on other sites More sharing options...
mzalbadri Posted September 29, 2015 Report Share Posted September 29, 2015 I have a related question. I am looking to load screen (that will show up within short period of time) if a bit is set to one. How can I do that? I would appreciate any help or reply. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted September 29, 2015 MVP 2022 Report Share Posted September 29, 2015 Use a TON timer to trigger setting a bit. Then use that bit as an Action to load the screen you want. Quote Link to comment Share on other sites More sharing options...
mzalbadri Posted September 30, 2015 Report Share Posted September 30, 2015 Thank you for your help. I had no problem with the timer part but I did not know about Actions. Nice feature. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.