Jump to content
stream

detecting actual and previous screen

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

  • Upvote 1

Share this post


Link to post
Share on other sites

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