{}

Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.

Search FAQs

For HMIST6 Series HMISTM6400 is it possible to return screen ID of active screens in the script?

Issue:
In the HMISTU Series HMIS5T, _CurPanelID uses the assigned variable to change the panel from the PLC to the target machine.
For HMIST6 Series HMISTM6400 is it possible to return screen ID of active screens in the script?

Product Line:
EcoStruxure Operator Terminal Expert (all versions)

Resolution:

In EcoStruxure Operator Terminal Expert, it is possible to have the screen ID of the HMI to work with a PLC register, change the displayed screen on the HMI via that PLC register or let the PLC know which screen is active on the HMI using some scripting.

For a target, the following property contains the actual screen ID:
"$Target.Target01.Preferences.ScreenID" .

In the project, use the Global Scripts below to have the Screen ID and the PLC register for the screen value to follow each other.

Global Script for PLC control of displayed screen

The first script, at the HMI startup, will do a Value Change and set the PLC variable equal to the Screen ID value of the startup screen.
The second script, upon detection of a value change in the PLC variable for the screen,  will do a Screen Change so that the HMI displayed Screen ID matches the value of the PLC variable.
The third script, upon detection of a value change of the Screen ID of the HMI, will do a Value Change and set the PLC variable equal to the Screen ID value.
This will make it so, that the HMI and the PLC always share the same value for the active screen.

See in attachment, a small example project done with Operator Terminal Expert 3.4 SP1.

Schneider Electric Saudi Arabia

Attachment(s)

Test_ScreenID.vxdzTest_ScreenID.vxdz [28.02 KB]
Explore more
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range: