Open screen based on bit status

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
PeteLam
Posts: 25
Joined: Wed Oct 31, 2012 12:04 pm

Open screen based on bit status

Post 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?

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Open screen based on bit status

Post 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 8687 times
Snap 2013-05-14 at 08.21.51.jpg
Snap 2013-05-14 at 08.21.51.jpg (40.2 KiB) Viewed 8687 times
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

PeteLam
Posts: 25
Joined: Wed Oct 31, 2012 12:04 pm

Re: Open screen based on bit status

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

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Open screen based on bit status

Post 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.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Post Reply