我们今天能为您提供什么帮助?

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".
IO manager

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
new driver

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).

modbus slave

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.

equipement configuration

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.

variable_HMI
slave configuration

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

visualization


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

ECE application, test

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)

IO scanning

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


施耐德電機Taiwan

探索更多

探索更多

需要協助?

產品選型工具

快速輕鬆地為您的應用找到合適的產品和附件。

取得報價

立即線上提交您的銷售需求,專業團隊將主動聯繫您。

購買地點

輕鬆在您所在地區找到最近的施耐德電機經銷商。

支援中心

在同一位置找到滿足您所有需求的支援資源。