Our Brands

Welcome to the Schneider Electric Website

Welcome to our website.
		
How can we help you today?
You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.
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 Vietnam

Attachment(s)
Test_ScreenID.vxdz [28.02 KB]
You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.
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 Vietnam

Attachment(s)
Test_ScreenID.vxdz [28.02 KB]
Explore more
Range:
Explore more
Range:
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Range:
Explore more
Range:

Need help?

  • Start here!

    Find answers now. Search for a solution on your own, or connect with one of our experts.

  • Contact Support

    Reach out to our customer care team to receive more information, technical support, assistance with complaints and more.

  • Where to buy?

    Easily find the nearest Schneider Electric distributor in your location.

  • Search FAQs

    Search topic-related frequently asked questions to find answers you need.

  • Contact Sales

    Start your sales inquiry online and an expert will connect with you.

I'd like to receive news and commercial info from Schneider Electric and its affiliates via electronic communication means such as email, and I agree to the collection of information on the opening and clicks on these emails (using invisible pixels in the images), to measure performance of our communications and improve them. For more details, please read our Privacy Policy.

  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Center
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.