브랜드

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

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

슈나이더 일렉트릭 코리아 웹사이트 방문자 분들 모두 환영합니다.
		
오늘 무엇을 도와드릴까요?
Setting up a READ_REG block in Unity Pro to read data over Ethernet from a Quantum NOE.

Goals and Symptoms

Unity Pro Quantum NOE READ_REG

Causes and Fixes

Start by creating an Ethernet network in Unity. Go to Communication > Networks, Right click and choose New Network.
Choose Ethernet and name the network.



Next configure the network as needed for your application. Be sure to choose the correct Model Family for the Ethernet interface you will be using.
Don't forget to validate your changes.



Next link the network to the Ethernet port of your module by double clicking on the port in the configuration and then choosing the network name.
Once again don't forget to validate your changes.





Open the Variable Declaration and create the following variables.
Note: The RD_Data & Slave_Addr variables are located.



The RD_Data variable is the memory location to where the slave data will be stored in the Quantum.
The Slave_Addr variable is an Array of 5 words where the high byte of the first word is the physical slot that the Ethernet module is in the backplane and the low byte is modbus mapping index.
The remaining 4 words are the IP address of the slave device. In this case 192.168.40.7
Note: If using the embedded port of a Unity Quantum the high byte of the first word should be FE

Next create a new project section, choose a language, and name the section.



In this section add a READ_REG block and link the variables as shown.



The SLAVEREG pin is the starting address in the Slave device from which the data will be read. In this case %MW1500.
The NO_REG pin is the # of registers to be read.
Note: If reading more than 1 register then the RD_Data variable must be an located Array of INT with a length equal to the # of registers to be read.

Build, download and run the program.


슈나이더 일렉트릭 Korea

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

도움이 필요하신가요?

  • 제품 선택기

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

  • 견적 받기

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

  • 구매처

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

  • 지원 센터

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

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