Jump to content

detecting actual and previous screen


stream

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

Link to comment
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
Link to comment
Share on other sites

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.