استبدل D2 D3 لنقل البيانات عبر منفذ Ethernet

Certain customers prefer using Ethernet ports for data transmission instead of the TX900’s three data ports. This article provides instructions on how to do that.

This document applies to the models below, إلخ.

The TX900 has three serial ports, two of which (D2 and D3) are used for wireless network access through IP addresses. The system includes a built-in serial port server allowing D2 and D3 ports to convert serial data over networks using TCP or UDP protocols. The D2 and D3 serial ports on the TX900 are identified by their port numbers.

Using the TCP protocol, the external device (حاسوب) needs to create a TCP client, which can be used after connecting to the target TX900. The external device (حاسوب) sends TCP data to the target TX900, which converts this data into serial port data and sends it out. The target TX900 will actively send this data to the TCP client upon receiving the serial port data.

Using the UDP protocol, external devices (computers) need to create a UDP service, and the local and remote port numbers of the UDP service need to correspond one-to-one with thetarget port” و “منفذ الاستماع” of the target TX900. The external device (حاسوب) sends UDP data to the target TX900, which converts this data into serial port data and sends it out. When the target TX900 receives serial port data, it actively sends this data to thetarget portof thetarget IP”, where thetarget IPmust be the IP address of the external device (حاسوب).

TX900 configuration 

ملحوظة: Changing TX900 parameters in the web UI requires restarting TX900 to take effect.

مثال 1: المنفذ التسلسلي 2 من TX900-Access Node (الملكية الفكرية عنوان: 192.168.1.12) is required to communicate with the TCP client of the computer (الملكية الفكرية عنوان: 192.168.1.50) connected to the remote network port, as shown in the following figure.

Replace D2 D3 to transmit data through the Ethernet port
استبدل D2 D3 لنقل البيانات عبر منفذ Ethernet

In the web UI of TX900-Access Node (عنوان IP 192.168.1.12), set the network IP parameters

الملكية الفكرية المحلية: TX900-Access Node’s own IP address (على سبيل المثال. 192.168.1.12) 

Target IP: اختياري

Replace D2 D3 to transmit data through the Ethernet port 1

In the web UI of TX900-Access Node, select Serial Port->Serial Port 2->Protocol Select “برنامج التعاون الفني”, and then click “نعم”. 

Replace D2 D3 to transmit data through the Ethernet port 2

بعد النقر “نعم”, the interface will display:

Replace D2 D3 to transmit data through the Ethernet port 3

When creating a TCP client for a computer connected to a remote network (192.168.1.50), its remote IP address needs to be configured as the IP address of TX900-Access Node (192.168.1.12), and the port number needs to be configured as the TCP parameter “منفذ الاستماع” (مثل 2002) corresponding to the serial port of TX900-Access Node (such as serial port 2). Example of remote computer TCP client configuration:

Replace D2 D3 to transmit data through the Ethernet port 4

مثال 2: The computer (الملكية الفكرية عنوان: 192.168.1.51) that requires المنفذ التسلسلي 3 من TX900-Access Node to connect to the remote network port الاستخدامات UDP protocol for communication, as shown in the following figure.

Replace D2 D3 to transmit data through the Ethernet port-D3-UDP
Replace D2 D3 to transmit data through the Ethernet port-D3-UDP

In the web UI of TX900-Access Node, set the network IP parameters:

الملكية الفكرية المحلية: TX900-Access Node’s own IP address (على سبيل المثال. 192.168.1.12) 

Target IP: The IP address of the computer connected to the remote network port (على سبيل المثال. 192.168.1.51), which can also be left unconfigured. Configure the target IP address in the specific configuration of serial port 3 أقل.

Replace D2 D3 to transmit data through the Ethernet port 5

In the web UI of TX900-Access Node, select Serial Port->Serial Port 3->Protocol Select UDP, and then click OK.

Replace D2 D3 to transmit data through the Ethernet port 6

بعد النقر “نعم”, the interface will display:

Replace D2 D3 to transmit data through the Ethernet port 7

Fill in the IP address of the target computer in sequence (assuming 192.168.1.51), the target port is the UDP local port number of the target computer (assuming 8090), and the listening port is the UDP remote port number of the target computer (assuming 8090).

When creating a UDP client on the target computer (192.168.1.51), its target IP address needs to be configured as the IP address of Access Node (192.168.1.12), the remote port number needs to be configured as the listening port of Access Node (assuming 8090), and the local port number needs to be configured as the target port of Access Node (assuming 8090). As shown in the following example:

Replace D2 D3 to transmit data through the Ethernet port 8

مثال 3: A computer (الملكية الفكرية عنوان: 192.168.1.55) that requires المنفذ التسلسلي 2 من TX900-Access Node to communicate with the remote network port via TCP client, while also communicating مع المنفذ التسلسلي 2 من بعيد TX900-Center Node, as shown in the following figure

Replace D2 D3 to transmit data through the Ethernet port-tx900
Replace D2 D3 to transmit data through the Ethernet port-tx900

In the web UI of TX900-Access Node, set the network IP parameters:

الملكية الفكرية المحلية: TX900-Access Node’s own IP address (على سبيل المثال. 192.168.1.12) 

Target IP: اختياري

Replace D2 D3 to transmit data through the Ethernet port 9

In the web UI of TX900-Access Node, select Serial Port->Serial Port 2->Protocol Select “كلاهما”, and then click “نعم”.

Replace D2 D3 to transmit data through the Ethernet port 10

بعد النقر “نعم”, the interface will display

Replace D2 D3 to transmit data through the Ethernet port 11

The target IP in the UDP parameters is set to the IP address 192.168.1.11 of the remote TX900-Central Node. The target port is set to be consistent with the D2 serial port listening port of the remote TX900-Central Node, and the listening port is set to be consistent with the D2 serial port target port of the remote TX900-Central Node.

The configuration of serial port 2 for remote TX900-Central Node (192.168.1.11) is as follows, corresponding to TX900-Access Node:

Replace D2 D3 to transmit data through the Ethernet port 12

When creating a TCP client for a computer connected to a remote network (192.168.1.55), its remote IP address needs to be configured as the IP address of TX900-Access Node (192.168.1.12), and the port number needs to be configured as the TCP parameter “منفذ الاستماع” (مثل 2002) corresponding to the serial port of TX900-Access Node (such as serial port 2).

Replace D2 D3 to transmit data through the Ethernet port

اطرح سؤالاً

← رجوع

شكرًا لردكم ✨

ترك الرد

لن يتم نشر عنوان بريدك الإلكتروني. تم وضع علامة على الحقول المطلوبة *