background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

NA111-A User Manual

Copyright©2012–2021Chengdu Ebyte Electronic Technology Co.,Ltd.

16

4.2.3 UDP Server mode

UDP Server is a device that enables a device to communicate with a UDP protocol without

verifying the data source IP address, and after each UDP packet is received, the source IP address of
the packet and the source port are saved and set to the target IP and port, so the device The data
sent by sends packets only to the source IP address and port where the last device received the data.

This mode is typically used for scenarios where multiple network devices communicate with

this device and are more frequent and TCP Server

cannot meet the criteria.

Note: InUDP mode, the network should send data to the device less than 512Bit per pack,

otherwise data loss will result.

4.2.4 UDP Client mode

UDP Client is a connectionless transport protocol that provides a simple, unreliable information

delivery service for transactions, with no connection established and disconnected, and only IP and
ports need to be developed to send data to each other. Typically used for data transfer scenarios
where packet drop rates are not required, packets are small and send more frequently, and data is
passed to the specified IP.

In UDP Client mode, the device will only communicate with the target port of the target IP, and

data sent by other IPs will not be received by the device.

In this mode, the destination address is set to 255.255.255.255,and the sending data is broadcast

throughout the network segment, but the transceiver device needs to ensure that the ports are
consistent and that the device can also receive broadcast data.

4.3 Serial function

4.3.1 Serial basic parameters

The basic parameters of serial port include: baud rate, data bit, stop bit, check bit.
Baud Rate: Serial communication rate, configurable for

1200,2400,4800,9600,14400,19200,38400,57600,115200

230400bps

Data bits: The length of the data bits, range 5,6,7,8.
Stop bit: You can set ranges 1,2.
Check bit: the check bit of data communication, support None,Odd,Even,Mark,Space five

verification methods by setting serial parameters, to maintain consistent with serial connection

Содержание NA111-A

Страница 1: ...Chengdu Ebyte Electronic Technology Co Ltd NA111 A User Manual Copyright 2012 2021Chengdu Ebyte Electronic Technology Co Ltd 1 Serial Ethernet Serial server NA111 A ...

Страница 2: ...ic features 12 4 1 1 Web configuration 12 4 1 2 Subnet mask IP address 12 4 1 3 DNS server address 13 4 1 4 Restore factory settings 13 4 2 The Socket feature 14 4 2 1 TCP Server mode 14 4 2 2 TCP Client mode 15 4 2 3 UDP Server mode 16 4 2 4 UDP Client mode 16 4 3 Serial function 16 4 3 1 Serial basic parameters 16 4 3 2 Serial data is sent and received 17 4 4 Advanced features 18 4 4 1 Heartbeat...

Страница 3: ...td NA111 A User Manual Copyright 2012 2021Chengdu Ebyte Electronic Technology Co Ltd 3 5 How it is configured 26 5 1 Web settings 26 5 2 Configure tool software settings 26 5 3 AT instruction configuration 27 6 Revise history 28 7 About us 29 ...

Страница 4: ...uction settings parameters Support for multiple Socket connections Serial port rate supports 1200to230400 default 115200 Supports multiple checks None Odd Even Mark Space Support for DHCP functionality Support for DNS functionality domain name resolution DNS server address customization Supports a variety of Modbus gateways simple protocol conversion multi host mode storage gateway configurable ga...

Страница 5: ...eed to prepare network cables computers USB serial converters and other related accessories Here s how Table 2 1 Material sheet serial number Device tools quantity 1 equipment 1 2 Cable 1 3 Computer 1 5 USB serial converter 1 2 2 The device is wired Test serial to network data communication and connect the RS485 pin of the device to the PC side via a USB serial converter Use a network cable to con...

Страница 6: ...or the relevant settings first 1 Turn off your computer s fire walls and antivirus software 2 Configure the network card that is connected to the device 3 For PC direct to serial servers you need to set up a static computer that remains the same segment as the device Figure 2 2 PC local connection settings 2 3 2 The default parameter Table 2 2 default parameters project The default parameter IP ad...

Страница 7: ... factory default parameters do the following to achieve data transmission testing Here s how 1 Open the test TCP IP debug assistant software 2 The network setup selects the TCP client mode which corresponds to the server IP address module default target IP 192 168 3 3 The server port number corresponds to the module setting port 8887 module default port 8887 clickCreate 3 Wait for the computer to ...

Страница 8: ...1 A User Manual Copyright 2012 2021Chengdu Ebyte Electronic Technology Co Ltd 5 Figure 2 3 Gate parameter configuration 4 Open the serial assistant serial port rate is set to 115200 serial parameter is set to None 8 1 click on open open serial port ...

Страница 9: ...uration 5 Data transmission testing serial assistant serial port side to send test data network debugging assistant network side received test data The network debugging assistant network side sends test data and the serial assistant serial port side receives the test data Duplex communication i e local to network two way data transceivers Figure 2 5 Send tests ...

Страница 10: ...fication Table Product model The type of product Socket The number of connections The working mode Operating voltage Product size mm NS1 Patch module 6 way TCP Sever TCP Client UDP Sever UDP Client 3 0 5 5V DC 17 19 4 NT1 Plug in the module directly 6 way 3 0 5 5V DC 35 22 30 NT1 B Plug in the module directly 6 way 3 0 5 5V DC 35 22 20 NA111 DTU 6 way 8 28V DC 92 66 30 NA111 A 85 265V AC ...

Страница 11: ...IP address Customizable default 192 168 3 7 The local port Customizable default 8887 Subnet mask 255 255 255 0 gateway Customizable default 192 168 3 1 Target IP Customizable default 192 168 3 3 The destination port Customizable default 8888 Network cache 512 Byte Serial cache 512 Byte The packaging mechanism 512 Byte Serial port rate 1200 to 230400 bps default 115200 The data bit 5 6 7 8 default ...

Страница 12: ...t goes out 2 TXD Serial send light Data sent Light on No data sent Lights off 3 RXD Serial reception indicator Data sent Light on No data sent Lights off 4 M0 Link light TCP mode network connection light on The network is down and the lights are off UDP mode The light is always on 5 M1 STATE indicator The network cable is connected and the light is always on The network cable is disconnected and t...

Страница 13: ... Technology Co Ltd NA111 A User Manual Copyright 2012 2021Chengdu Ebyte Electronic Technology Co Ltd 10 3 4 Dimensions Figure 3 2 Dimensions 3 5 How it is installed The equipment is mounted by rail Figure 3 3 Rail installation ...

Страница 14: ...Chengdu Ebyte Electronic Technology Co Ltd NA111 A User Manual Copyright 2012 2021Chengdu Ebyte Electronic Technology Co Ltd 11 ...

Страница 15: ... example modify the page access port is 8080 the connection page configuration needs to enter 192 168 3 7 8080in theaddress bar 4 1 2 Subnet mask IP address The IP address is the identification of the module in the local area network which is unique in the local area network Therefore it cannot be duplicated with other devices on the same LAN The IP addresses of the modules are static IP and DHCP ...

Страница 16: ... in this subnet A gateway is the network number of the network on which the module s current IP address is located If you connect to a device such as a router when you connect to an external network the gateway is the route 4 1 3 DNS server address DNS servers are primarily used to convert domain names into network recognized IP addresses DNS server addresses are customizable and enable domain nam...

Страница 17: ...Register the package Shut down Modbus gateway Shut down Note User defined configurations are formatted and only some of the parameters are listed in the table above 4 2 The Socket feature 4 2 1 TCP Server mode TCP Server is the TCP server In TCP Server mode the device listens to the native port accepts the client s connection request and establishes a connection for data communication When the Mod...

Страница 18: ...server and establishes a connection for the interaction between serial and server data According to the TCP Protocol TCP Client is a connection and disconnected distinction that ensures a reliable exchange of data Typically used for data interaction between devices and servers it is the most common form of networked communication Setting up service side mode requires accurate configuration of the ...

Страница 19: ...ction established and disconnected and only IP and ports need to be developed to send data to each other Typically used for data transfer scenarios where packet drop rates are not required packets are small and send more frequently and data is passed to the specified IP In UDP Client mode the device will only communicate with the target port of the target IP and data sent by other IPs will not be ...

Страница 20: ...Serial data is sent and received The serial assistant serial port side sends test data and the network debugging assistant network side receives the test data The network debugging assistant network side sends test data and the serial assistant serial port side receives the test data The 485 interface enables half duplex communication i e data can be transmitted in both directions of a signal carr...

Страница 21: ...o to turn on the heartbeat function open can set the range 1 65536 seconds the default value is 0 4 4 2 Register the package feature In network transmission mode users can choose to send the registration package and customize the registration package time The registration package supports the following modes 1 Send a MAC address OLMAC when the network establishes a connection tothe device 2 Send c...

Страница 22: ...onnection feature when set to 0 When you set the range to 2 255 seconds the short connection function is turned on and the default hold time is 0 seconds Note Short connections only work in client mode and server mode does not take effect 4 4 4 Time out restart function Supports time out restart default 300 seconds which is primarily used to ensure long term stable operation of the device no data ...

Страница 23: ...r of re connects reaches the preset value and if the connection is not successful the device will automatically restart The actual re start determination time is the disconnected rejoining time multiplied by the number of reconnations The recommended network restart time is configured as 5S and the number of disconnected restarts is 5 4 4 7 Remote upgrade In order to facilitate late maintenance an...

Страница 24: ... to explain Step 3 Refresh the device and select the device that needs to be upgraded Figure 4 6 Upgrade the third step Step 4 Wait for the device upgrade to complete and restart the device Figure 4 7 Upgrade the fourth step 4 5 Modbus gateway features Supports 4 MODBUDS gateway features Simple protocol conversion mode Multi host mode Modbus firmware only supported ...

Страница 25: ... Ethernet side is the Main Station of TheModbus only Theocket prevents data conflicts can be connected all the way When the serial port side is the main station of Modbus up to6 Modbus TCP from the station can be connected The gateway works in TCP client mode The Ethernet side acts as the Modebus master and the serial side theoretically supports up to 128 RTU from the station Figure 4 8 Simple Pro...

Страница 26: ...4 9 Multi Host Mode Multi host mode parameter configuration 1 Mode configuration AT is configured as MOD2 and the web page and the host select the multi host mode 2 Modbus answer timeout time configuration Range 0 65535ms default 500ms 4 5 3 Storage gateway A gateway based on multi master development that optimizes the speed of read on the network side a read instruction issued by the storage netw...

Страница 27: ...irectly to the RTU device 5 Only0 1 02 0 3 04MODBUS function code query results storage Figure 4 10 Storage Gateway Storage gateway parameter configuration 1 Mode configuration AT is configured as MOD3 and the webpage computer selects the storage gateway 2 Modbus Answer TimeOut Configuration Range 0 65535ms default 500ms 3 Modbus instruction storage time Settings Range 0 254s for instruction stora...

Страница 28: ...col transformation but has some effect on stability and is used in scenarios that have high demands on response real time Figure 4 11 Configurable gateway Configurable gateway parameter configuration 1 Mode Configuration AT is configured as MOD4 and the webpage the desktop selects the configurable gateway 2 Modbus answer timeout time configuration range 0 65535ms default 500ms 3 Storage instructio...

Страница 29: ...ct Note The device cannot use web settings if it has been connected to the server as client mode and successfully connected to the client as a server Note Web settings cannot be used if domain name resolution is turned on or DHCP is turned on and an IP address is not available As shown in the drawings 5 2 Configure tool software settings Open the configuration tool software search for devices doub...

Страница 30: ...byte Electronic Technology Co Ltd 27 Figure 2 7 Upper computer configuration 5 3 AT instruction configuration The relevant parameters of the device are modified and can be done through the AT instruction configuration For specific AT instructions refer to the Serial Server AT Instruction Set ...

Страница 31: ...2021Chengdu Ebyte Electronic Technology Co Ltd 28 6 Revise history The final interpretation is owned by Chengdu Eymut Electronics Technology Co Ltd version The revision date Revised instructions Maintainer 1 0 2021 06 28 The initial version LC 1 1 2021 09 13 Content revision LZX ...

Страница 32: ... Ltd 29 7 About us Technical support support cdebyte com Documents and RF Setting download link www ebyte com Thank you for using Ebyte products Please contact us with any questions or suggestions info cdebyte com Phone 86 028 61399028 Web www ebyte com Address B5 Mould Park 199 Xiqu Ave High tech District Sichuan China ...

Отзывы: