Våra varumärken

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

Välkommen till Schneider Electrics webbplats

Välkommen till vår webbplats.
		
Hur kan vi hjälpa dig idag?
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 Sverige

Bilagor
M172P and Equipment IP Address EOTE Runtime.pdf [1.27 MB]
Utforska mer
Produkt:
Utforska mer
Produkt:

Behöver du hjälp?

  • Produktväljare

    Hitta snabbt och enkelt rätt produkter och tillbehör för dina ändamål.

  • Begär en offert

    Ställ din fråga online så kontaktar vi dig.

  • Här köper du

    Hitta enkelt närmaste Schneider Electric-distributör på din ort.

  • Hjälpcenter

    Hitta alla supportresurser som du behöver på ett ställe.

  • Produktdokumentation
  • Ladda ner programvara
  • Produktväljare
  • Byt ut eller ersätt produkt
  • Hjälp- och kontaktcenter
  • Här köper du
  • Begär en offert
  • Hitta våra kontor
  • Shop.se.com/se/sv nedstängning
  • Schneider Electrics community
  • Karriär
  • Företagsprofil
  • Rapportera ett tjänstefel
  • Tillgänglighet
  • Pressrum
  • Investerare
  • EcoStruxure
  • Sök jobb
  • Blogg
  • Sekretesspolicy
  • Cookie-information
  • Användarvillkor
  • Change your cookie settings