How can we help you today?

In Vijeo Designer, can you control changing screens/panels from the PLC program?

Issue:
In Vijeo Designer, can you control changing screens/panels from the PLC program?

Product Line:
Vijeo Designer

Resolution:
Yes this could be done using the system variable _curPanelID.  Select the system variable, from the properties inspector there are two options: "Read from Variable" to change the panel and "write To Variable" will be feedback.

To show all the System Variables, open the Variable Editor screen and click the button on the top toolbar that looks like a Magnifying Glass on top of a sheet of paper.
When that button is toggled ON, the Variable Editor will display all the System Variables. System Variables start with the underscore character as prefix. They are always there by default.
Variable Editor - Include System Variables toggle

In the Variable Editor,
1. Select the "_CurPanelID" variable from the list
2a) Tick the checkbox next to "Read From Variable"
2b) Assign the desired PLC variable to the "Read From Variable" Property in the Property Inspector
_CurPanelID - Read From Variable assignment of PLC tag

[For HMIs in EcoStruxure Machine Expert]
For HMIs in EcoStruxure Machine Expert (or SoMachine), this will not work due to the "_SoM.Application.<POU/GVL/Namespace>.<TagName>" tag naming convention.
In order to get this to work, you must follow this example below.

Example:
The tag from the PLC to control the HMI is "ValueFromPLC":

PLC tag from Machine Expert Logic Builder shared with Symbol Configuration

The Imported External tag is (in the blue box) below: "_SoM.HMISCUxB5.Application.SR_MyPOU.ValueFromPLC"
You will need to create a new Internal UINT tag (in the green box): "InternalTagToAssignPanelID"

After importing the External tag from Symbol Config, Create a new Internal Tag

Create a Global Action with Conditional Trigger Type to trigger from the PLC variable On Data Change:
Create a Global Action with Conditional Trigger

Use a Word Operation to Set the Internal tag to get the value from the External Tag. Click [Add >], then [Finish]
Use Operation Word Set

Go to the Variables node, select "_CurPanelID", and map the "Read From Variable" field to the tag: "InternalTagToAssignPanelID"

Assign the Internal tag to the Read From Variable field of _CurPanelID

If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.

If you are not located in North America, please contact your local Customer Care Center for assistance:

Support | Schneider Electric Global (se.com)

Schneider Electric Philippines

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
Explore more
Range:
  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Center
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings