我們的品牌

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

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
How to Change M172P and Equipment (Device Driver) IP Address from EOTE runtime

In this document, I will show you how to change the M172P PLC and Equipment IP address during the runtime of EcoStruxure Operator Terminal Expert.

First, I created a project in EcoStruxure Operator Terminal Expert Version 3.5SP1. A latest version is highly recommended.

EOTE Version

Then, I set the target configuration by selecting the HMISTM6400 as shown below.

Target Selection

I added the Modbus TCP Driver in the driver sub-menu. Driver can be accessed from the Project Explorer as shown.

Choose Device Driver

I left the IP Address field blank since our intention is to update the IP Address of Equipment from runtime.

This step highlights the example screen design. I will not be adding too much emphasis on screen design. This article assumes some basic familiarity with EcoStruxure Operator Terminal Expert.

Main Screen

The above screen shows fields for current and new BACNET IP network settings for M172P PLC.

Both Current and New BACNET IP Address were composed of 4 numeric display objects bound to each Octet of the IP Address. I have exported the Modbus Objects data from EcoStruxure Machine Expert HVAC to expose the Modbus registers required to change the IP address of M172P.

M172P Config Screen

M172P Data Export Options

Select OK to save the csv file for the modbus objects.

Save CSV

After you choose save, a csv file will be generated and saved at your chosen location. In Project Explorer, under Variables section, choose “All Variables” and select Import icon on the top ribbon menu.

Import Variables Import Icon

Import Variables Progress

You will see imported variables added as shown below.

Imported Variables in EOTE

We will now bind these Modbus variables behind the numeric display objects on the screen.

Bind IP Fields to Screen Objects Bind Variables to Screen Object Image 2 Properties Window for Bind Objects-Numeric Display

Repeat the steps above to bind all the Modbus objects necessary to change IP, Subnet Mask and Default Gateway.

In the lower part of the screen, I added two fields for current and new Equipment IP Address. I used the Address Display object from the tool chest under Parts section.

Address Display Object in Tool Chest

Equipment current IP Address field is bound to source property of equipment “IPAddress.CurrentValue” as shown below. This is a read only property and direction is selected “One Way”.



IP Address Current Value Property Image 1 Current IP Address Bind Property

Equipment New IP Address field is bound to the source property of equipment “IPAddress.OverwriteValue”.



OverwriteIP Address Equipment Property Address Display Property

In order to save the new IP Address for the equipment and update the driver during runtime, we have to run an Equipment Save function in the script. I have placed a Switch object from Tool Chest and bound it to an internal variable called Save. The script should look like below:

Script to save new IP Address

New IP Address Field

At runtime, screen will look like below:

Runtime Screen

Example Change BACNET IP M172P

BACNET IP CHANGED

To change the device driver IP Address, first enter the new IP Address in the Equipment New IP Address field and then press Save to execute the script to save the new address.

New Device Driver IP Change Example

Device Driver IP Changed

Pro Tip:

Include the Hardware Configuration as one of the screens for accessing the target related configurations during runtime!

Hardware Configuration

施耐德電機Taiwan

附件
M172P and Equipment IP Address EOTE Runtime.pdf [1.27 MB]
探索更多
產品:
探索更多
產品:

需要協助?

  • 產品選型工具

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

  • 取得報價

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

  • 購買地點

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

  • 支援中心

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

  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 施耐德電機社群
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings