Page 1 of 1

Open screen based on bit status

Posted: Mon May 13, 2013 5:05 pm
by PeteLam
I'd like to force the T7A HMI to switch to a status/alarm screen based upon a bit in the PLC. Specifically, when the E-stop is engaged, an input on the PLC is activated. I'd then like a popup screen to appear regardless of whichever screen is currently active.

Is there a way of doing this without configuring the Alarm distributor/server?

Re: Open screen based on bit status

Posted: Tue May 14, 2013 8:25 am
by mark.monroe
You can add a system tag called "New Screen Id". When the tag value changes, it will change the screen to the one associated with the ID. Make sure you give each of your screens ID's.

Then you can put script in the Screen open event that will open another screen.
Snap 2013-05-14 at 08.24.46.jpg
Snap 2013-05-14 at 08.24.46.jpg (58.4 KiB) Viewed 8686 times
Snap 2013-05-14 at 08.21.51.jpg
Snap 2013-05-14 at 08.21.51.jpg (40.2 KiB) Viewed 8686 times

Re: Open screen based on bit status

Posted: Tue May 14, 2013 3:17 pm
by PeteLam
Okay, I understand the first part.

I'm not certain that the second part is necessary if I just want to initiate a single popup screen. It looks like the screen change is only intiated on a value change, is that correct?

If so, then I just need to pull up the popup, let's say it's ScreenID=99, and then revert back to the default operator screen, ScreenID=0. I can control those values using my PLC.

The rest of the time, if the value doesn't change, the other screens should behave as normal, right?

Maybe I'm missing something.

Re: Open screen based on bit status

Posted: Wed May 15, 2013 8:07 am
by mark.monroe
No, you are correct. I just thought that you first wanted to change the screen. Then when viewing the new screen you wanted to open a popup.

If you just want to open a popup, then you can use the screen change tag and then set it to the popup screen ID, just like you described.