Our Brands

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

Welcome to the Schneider Electric Website

Welcome to our website.
		
How can we help you today?
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

Schneider Electric Nigeria

Attachment(s)
M172P and Equipment IP Address EOTE Runtime.pdf [1.27 MB]
Explore more
Product:
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
Product:

Need help?

  • Product Selector

    Quickly and easily find the right products and accessories for your applications.

  • Get a Quote

    Start your sales enquiry online and an expert will connect with you.

  • Where to buy?

    Easily find the nearest Schneider Electric distributor in your location.

  • Help Centre

    Find support resources for all your needs, in one place.

  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Centre
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Legal Information
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings