Hôm nay chúng tôi có thể giúp gì cho bạn?

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 Việt Nam

Tìm hiểu thêm
Phạm vi:
Tìm hiểu thêm
Phạm vi:
  • Tài liệu về Sản phẩm
  • Tải xuống phần mềm
  • Công cụ chọn Sản phẩm
  • Thay thế và thay đổi sản phẩm
  • Trung tâm Hỗ trợ
  • Tìm Văn phòng của chúng tôi
  • Nhận báo giá
  • Tìm Nhà Phân phối
  • Cộng đồng Schneider Electric
  • Cơ hội nghề nghiệp
  • Hồ sơ doanh nghiệp
  • Báo cáo hành vi sai trái
  • Khả năng truy cập
  • Phòng tin tức
  • Nhà đầu tư
  • EcoStruxure
  • Tìm việc
  • Blog
  • Chính sách bảo mật
  • Thông báo về Cookie
  • Điều khoản sử dụng
  • Change your cookie settings