Nhãn hiệu của chúng tôi

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

Chào mừng bạn đến với Trang web của Schneider Electric

Chào mừng đến với trang web của chúng tôi.
		
Hôm nay chúng tôi có thể giúp gì cho bạn?
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.


Schneider Electric Việt Nam

Tìm hiểu thêm
Phạm vi:
Tìm hiểu thêm
Phạm vi:

Bạn cần trợ giúp?

  • Công cụ chọn sản phẩm

    Nhanh chóng và dễ dàng tìm được sản phẩm và phụ kiện phù hợp cho các ứng dụng của bạn.

  • Nhận báo giá

    Bắt đầu gửi yêu cầu bán hàng trực tuyến và chuyên gia sẽ liên hệ với bạn.

  • Nơi mua hàng?

    Dễ dàng tìm nhà phân phối Schneider Electric gần bạn nhất.

  • Trung tâm Hỗ trợ

    Tìm sự hỗ trợ cho mọi nhu cầu của bạn tại một nơi.

  • Tài liệu về Sản phẩm
  • Tải xuống phần mềm
  • Công cụ chọn Sản phẩm
  • Thay thế và thay đổi sản phẩm
  • Trung tâm Hỗ trợ
  • Tìm Văn phòng của chúng tôi
  • Nhận báo giá
  • Tìm Nhà Phân phối
  • Cộng đồng Schneider Electric
  • Cơ hội nghề nghiệp
  • Hồ sơ doanh nghiệp
  • Báo cáo hành vi sai trái
  • Khả năng truy cập
  • Phòng tin tức
  • Nhà đầu tư
  • EcoStruxure
  • Tìm việc
  • Blog
  • Chính sách bảo mật
  • Thông báo về Cookie
  • Điều khoản sử dụng
  • Change your cookie settings