Interact Xpress Software - How to Switch Screens from a PLC

Interact Xpress Software - How to Switch Screens from a PLC

Attached is a simple example on how to switch the panel of an Xpress HMI from an external tag:  SwitchPanel.lrp.zip

Main is panel #1.

Alarm is panel #2.

Desired to switch Xpress to Alarm panel #2 when PLC sends tag.

image-20240205-213239.png

 

In the tag list, set the system tag _Panel_GoToPanel to a tag. In this example Alarm_Trigger:

panel_gotopanel_3150-20240521-001015.jpg

 

Set Alarm_Trigger value  =TEST

Create another tag which would be tied to the PLC's address for the tag. Here we use TEST.  For simulation, using a button to write a value to this tag but you'd set this to the PLC tag.

alarm_trigger_3151-20240521-001015.jpg

 

TEST button on main panel #1, set this to SetValue. This is only to simulate the PLC sending the tag to the Xpress. Set the SwitchInput to TEST tag, set point type to Analog and the set point value to the alarm panel number, in this example 2.

switchpanel_setvalue_3153-20240521-001015.jpg

 

Thus when the TEST button is pushed, it sets TEST tag to 2, assigned Alarm_Trigger and then system tag then causes the screen to jump to panel 2.

12/21/15jh