{}

Our Brands

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

Welcome to the Schneider Electric Website

Welcome to our website.
Search FAQs
Setting up IO Scanning from a PLC (Client) to a Magelis HMI (Server)?

Goals and Symptoms

Setting up a Magelis HMI as a TCP/IP server
IO Scanning from a PLC as a TCP/IP client
Vijeo Designer v4.5 or higher

Causes and Fixes

Note: This can only be done with Vijeo Designer v4.5 or higher

In order to IO Scan a Magelis HMI from a PLC you will first need to configure a Modbus TCP/IP server driver in the Magelis.

To do this first in Vijeo Designer right click on IO Manager and chose "New Driver".


In the Diver Window chose Schneider Electric Industries SAS as the Manufacturer, Modbus server as the Driver, and Modbus server TCP/IP as the Equipment.
Then press OK


Next double click on the Driver (ModbusSlave01) to open the Driver Configuration.
Configure the driver according to your application needs (the default settings are shown).



Next double click on the Equipment (ModbusSlaveTCPIP01) to open the Equipment Configuration.
Configure the Equipment according to your application needs.
Note: For this example a Unity Premium PLC will be the client. So IEC61131 Syntax and 0-based Addressing Mode need to be chosen.



Under the Variable Tab of the VD project create Variables as needed, link them to the ModbusSlaveTCPIP01 Scan Group, and set the address.
Note: This address will be the address the PLC will be IO Scanning to.




Once the Variables have been created you can link them to displays, graphs, etc...
Then download the application to the HMI.




Next open your PLC program and create the variable (addresses) you want to IO Scan to the HMI



Next enable IO Scanning and open your table. Configure it according to your application
Note: In this example only 5 registers are being written from the PLC to the HMI (%MW0 in the PLC to %MW0 in the HMI)



Finally download the program to the PLC and run the PLC.


Schneider Electric Saudi Arabia

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: