background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

NA111 User Manual

Copyright ©2012–2021

Chengdu Eyrth Electronic Technology Co., Ltd

26

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.

Summary of Contents for NA111

Page 1: ...Chengdu Ebyte Electronic Technology Co Ltd NA111 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 1 Serial Ethernet Serial server NA111 ...

Page 2: ...the basic features 11 4 1 1 Web configuration 11 4 1 2 Subnet mask IP address 11 4 1 3 DNS server address 12 4 1 4 Restore factory settings 12 4 2 Socket features 13 4 2 1 TCP Server mode 13 4 2 2 TCP Client mode 14 4 2 3 UDP Server mode 15 4 2 4 UDP Client mode 15 4 3 Serial function 15 4 3 1 Serial basic parameters 15 4 3 2 Serial data is sent and received 16 4 4 Advanced features 17 4 4 1 Heart...

Page 3: ...td NA111 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 1 5 How it is configured 25 5 1 Web settings 25 5 2 Configure tool software settings 25 5 3 AT instruction configuration 26 6 Revise history 27 7 About us 28 ...

Page 4: ...tion use modification or disclosure to third parties of this document or any part thereof without the express permission of EBYTE is strictly prohibited The information contained herein is provided as is and EBYTE assumes no liability for the use of the information No warranty either express or implied is given including but not limited with respect to the accuracy correctness reliability and fitn...

Page 5: ...s AT instruction settings parameters Support for multiple Socket connections Serial port rate support 1200 to 230400 default 115200 Support for multiple checks None Odd Even Mark Space Support DHCP function Support DNS function domain name resolution DNS server address customization Support for a variety of Modbus gateways simple protocol conversion multi host mode storage gateway configurable gat...

Page 6: ...vice it is necessary to prepare network cable computer USB serial port converter 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 4 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 end via a USB serial converter Use a ne...

Page 7: ...ll and antivirus software 2 Configure the network card that is connected to the device 3 For PC direct serial port servers you need to set up a static computer and maintain the same network 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 address 192 168 3 7 The default local port 8887 Subnet mas...

Page 8: ...re 2 The network settings area 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 click Create 3 Wait for the computer to connect to the serial server the connection is complete after the serial server M0 green LED lit Figure 2 3 Gate parameter config...

Page 9: ...ration 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 ...

Page 10: ...ication 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 ...

Page 11: ... 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 8 Stop bit...

Page 12: ...ght 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...

Page 13: ... Technology Co Ltd NA111 User Manual Copyright 2012 2021 Chengdu Eyrth 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 ...

Page 14: ...r example modify the page access port is 8080 the connection page configuration needs to enter 192 168 3 7 8080 in the address bar 4 1 2 Subnet mask IP address IP address is the module s identification in the local area network in the local area network has uniqueness Therefore it cannot be duplicated with other devices on the same LAN The IP addresses of the modules are static IP and DHCP 1 Stati...

Page 15: ...bnet 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 to NETWORK recognized IP addresses DNS server addresses are customizable and enable domain name resolution ...

Page 16: ...ster 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 Socket features 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 Modbus fea...

Page 17: ...e server and establishes a connection for the interaction of serial and server data According to the TCP Protocol TCP Client is a connection and disconnection 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 the service side mode requires accurate configuration of the d...

Page 18: ...n 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 from other IPs will not be receive...

Page 19: ...ta 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 carrier but n...

Page 20: ...ater than zero then turn on the heartbeat package 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 several modes 1 Send MAC address OLMAC when the network is connected to the device 2 Se...

Page 21: ... 0 When the setting range is 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 which does not take effect 4 4 4 Time out restart function Supports time out restart function default 300 seconds which is mainly used to ensure long term stable operation of the device in the set time out restart time did not ...

Page 22: ...tions reaches the preset value and if the connection is not successful the device will automatically restart The actual restart determination time is the disconnected re connect time multiplied by the number of reconnations It is recommended to configure the network outage restart time to 5S and the number of network outage restarts to 5 times 4 4 7 Remote upgrade In order to facilitate late maint...

Page 23: ...step 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 MODEBUDS gateway features Simple protocol conversion mode Multi host mode Modbus firmware support only ...

Page 24: ...erver mode When the Ethernet side is the Main Station of Modbus only Socket can be connected all the way to prevent data conflicts When the serial port side is the main station of Modbus up to 6 Modbus TCP from the station can be connected The gateway works in TCP client mode Ethernet side as the Main Modbus station serial port side theoretically supports up to 128 RTU from the station Figure 4 8 ...

Page 25: ... Figure 4 9 Multi Host Mode Multi host mode parameter configuration 1 Mode configuration AT is configured as MOD2 web page computer selection multi host mode 2 Modbus answer timeout configuration range 0 65535ms default 500ms 4 5 3 Storage gateway Based on the multi host development of the optimization of network side reading speed of the gateway storage network side issued reading instructions wh...

Page 26: ...ly to the RTU device 5 Only support 01 02 03 04MODBUS function code query results storage Figure 4 10 Storage Gateway Storage gateway parameter configuration 1 Mode configuration AT is configured as MOD3 web page computer selection storage gateway 2 Modbus answer timeout configuration range 0 65535ms default 500ms 3 Modbus instruction storage time settings Range 0 254s for instruction storage time...

Page 27: ...esponse speed of simple protocol transformation but have some impact on stability and use it 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 web page computer selection configurable gateway 2 Modbus answer timeout configuration range 0 65535ms default 500ms 3 Storag...

Page 28: ...Note Web settings cannot be used by devices if they have been connected to the server as client mode and successfully connected as a server to the client Note Web settings cannot be used if domain name resolution is turned on or DHCP is turned on and no IP address is obtained This is shown in the drawings 5 2 Configure tool software settings Open the configuration tool software search for devices ...

Page 29: ...yrth Electronic Technology Co Ltd 26 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 ...

Page 30: ...021 Chengdu Eyrth Electronic Technology Co Ltd 27 6 Revise history The final interpretation is owned by Chengdu Yiyit Electronic 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 ...

Page 31: ... Ltd 28 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 ...

Reviews: