브랜드

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

슈나이더 일렉트릭 코리아 웹사이트에 방문해 주셔서 감사합니다.

슈나이더 일렉트릭 코리아 웹사이트 방문자 분들 모두 환영합니다.
		
오늘 무엇을 도와드릴까요?
Setting up a WRITE_VAR to bridge through a Ethernet to Modbus gateway in a Unity Premium application.

Goals and Symptoms

Premium, WRITE_VAR

Causes and Fixes


First open your Unity Premium programs Ethernet network configuration



Set the IP configuration as needed for your Ethernet network. Next click the messaging tab.



Set the Network and Station first. Then put the XWAY address you want to use and enter the IP address of the Ethernet to Modbus Bridge/Gateway you will be using.
For more detailed information on messaging please see the Unity Pro help files.



Validate your changes and then open your Ethernet interface for the configuration.



Choose the proper Function and Net Link.
Also make note of the module slot and channel numbers.
Once again validate your changes.



Open your project settings from the tools menu.



Under Language extensions make sure all data types are checked.
This will allow for direct array addressing in the program.



Next place the WRITE_VAR into you program section and fill out the parameters where:

ADR is the addressing pin which directs the WRITE_VAR to the end device.
OBJ is the object type you are trying to read.
NUM is the register address in the slave where the read begins.
NB is the total number of registers to be read.
EMIS is the register location within the Premium where the data to be written is stored.
GEST is the 4 INT array used for the Management Parameters.



The ADR input ADDR('{1.100}0.2.0.1') calls the ADDR block which requires a string input to address the WRITE_VAR correctly.
In this case the string input is '{1.100}0.2.0.1'. Which calls the XWAY address 1.100 (address of the bridge) and Ethernet interface 0.2.0 (rack, slot, channel).
The final 1 is the modbus address of the slave device on the other side of the bridge.


슈나이더 일렉트릭 Korea

자세히 알아보기
제품군
자세히 알아보기
제품군

도움이 필요하신가요?

  • 제품 선택기

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

  • 견적 받기

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

  • 구매처

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

  • 지원 센터

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

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