{}

Our Brands

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

Welcome to the Schneider Electric Website

Welcome to our website.
Search FAQs
Video: How to share variables between a M340/M580 PLC and a Operator Terminal Expert (EOTE) HMI with Modbus TCP?

Article available in these languages: Japanese

Issue:
The M340 / M580 PLC is not communicating with the HMI programmed with EcoStruxure Operator Terminal Expert with Modbus TCP.
Note: This procedure does not work with serial communication.

Product Line:
EcoStruxure Operator Terminal Expert, EcoStruxure Control Expert

Resolution:
[Part 1 - Control Expert: Exporting the Variables to a XML File]
1) Activate the Data Dictionary under Tools -> Project Settings -> PLC embedded data.
2) Build the project.
3) In EcoStruxure Control Expert right click on "Variables and FB instances".
2) Select Export and save as *.XVM file.

[Part 2 – Creating the Driver in EcoStruxure Operator Terminal Expert]
3) In EcoStruxure Operator Terminal Expert, select the Driver Node in Project Explorer -> System Architecture and click the [+Driver] button at the top.

4) Choose the Driver:
Manufacturer: Schneider Electric
Driver: Modbus TCP Master

5) Click on the Equipment row named "SchneiderModbusTCPIPEquipment1"

6) In the Properties, enter the IP Address of the PLC.
Tick the IEC61131 Syntax checkbox (this uses %M, %MW addressing instead of “00001, 40001” addressing)
Select Addressing Mode = 0-based (Default) – The M580 starts at %MW0 (unlike some older PLCs that start at %MW1).
Choose Double Word word order = Low word first.

[Part 3 – Importing the Symbols]
7) Click on the "Symbol Link" node under Variables.

8) Click the [+Symbol] button and choose Format List -> XVM EcoStruxure Control Expert File.

9) Click the "Import" Button.

10) Choose the .XVM file that was exported from Control Expert.

As a result, the Variables from Control Expert will appear in EcoStruxure Operator Terminal Expert which you will be able to assign in your Screen Objects (Data Displays and buttons).

And now you can download the application to the HMI to run with your PLC.

Schneider Electric South Africa

Explore more
Range:
Articles that might be helpful 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: