브랜드

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

슈나이더 일렉트릭 Korea

첨부 파일
M172P and Equipment IP Address EOTE Runtime.pdf [1.27 MB]
자세히 알아보기
제품군
자세히 알아보기
제품군

도움이 필요하신가요?

  • 제품 선택기

    애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.

  • 견적 받기

    영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.

  • 구매처

    해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.

  • 지원 센터

    한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.

  • 제품 문서
  • 소프트웨어 다운로드
  • 제품 선택기
  • 제품 대체 및 교체
  • 지원 및 연락처 센터
  • 영업소 검색
  • 견적 받기
  • 슈나이더 일렉트릭 커뮤니티
  • 채용
  • 회사 소개
  • 부정 행위 보고
  • 접근성
  • 뉴스룸
  • 투자자
  • Ecostruxure
  • 작업 검색
  • 블로그
  • 개인정보 취급방침
  • 쿠키 공지
  • 사용 약관
  • Change your cookie settings