background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

NA611-S & NA611-SA User Manual

Copyright ©2012–2022

Chengdu Ebyte Electronic Technology Co.,Ltd.

39

7. About us

Technical support: support@cdebyte.com
Documents and RF Setting download link:

https://www.cdebyte.com

Thank you for using Ebyte products! Please contact us with any questions or suggestions: info@cdebyte.com
-------------------------------------------------------------------------------------------------
Phone: +86 028-61399028
Web:

https://www.cdebyte.com

Address: B5 Mould Park, 199# Xiqu Ave, High-tech District, Sichuan, China

Summary of Contents for NA611-S

Page 1: ...Chengdu Ebyte Electronic Technology Co Ltd NA611 S NA611 SA User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 第 1 页 lowercase RS485 WiFi NA611 S NA611 SA ...

Page 2: ...n 21 3 4 Size 22 3 5 Installation method 22 3 6 Default parameters 23 4 Function 25 4 1 Serial port configuration 25 4 1 1 Parameter setting 25 4 1 2 Cache function 25 4 2 Job role 25 4 2 1 AP mode Access Point 25 4 2 2 STA mode Station 25 4 3 Transfer mode 25 4 3 1 Transparent transmission 26 4 3 2 MQTT Mode 26 4 3 3 HTTP mode 29 4 3 4 Network receive cache 30 4 4 Support DHCP and domain name res...

Page 3: ...u Ebyte Electronic Technology Co Ltd 第 3 页 4 9 4 Configurable gateway 34 4 10 Serial port upgrade 34 5 Parameter configuration 36 5 1 Hardware factory restore 36 5 2 Directive configuration 36 5 2 1 Serial port AT configuration 36 5 2 2 Network AT configuration 36 6 Revision History 38 7 About us 39 ...

Page 4: ...e Support Alibaba Cloud Baidu Cloud OneNet standard MQTT protocol Support Modbus protocol conversion RTU and TCP Support modbus storage gateway configuration gateway multi host gateway Support transparent transmission multiplex protocol transmission and broadcast transmission Support custom registration package custom heartbeat package function Support host computer configuration download from off...

Page 5: ...onverter power supply screwdriver and other related accessories details as follows List NA611 S USB to RS485 Computer Power adapter 12V1A SA is the AC version prepare an AC power cord WiFi antenna 2 4G Screwdriver slotted SL2 2 2 Wiring 2 2 1 Power Power supply use DC 8 28V power supply or DC 12V or 24V power supply pay attention to the positive and negative of the DC power supply the device has a...

Page 6: ...pyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 第 6 页 2 2 2 Communication RS485 2 2 3 Schematic diagram of the whole equipment 2 3 Host computer configuration First get to know the functions of each area of the host computer All function settings are based on the ...

Page 7: ...device is NETEbyte that is to say the data sent on the network if it has this header it will be regarded as an AT command and will not be regarded as information This header can be configured by the user Yes not Chinese and the length is between 3 23 English characters and numbers For example after setting up network communication send NETEbyteAT VER r n The device will reply to your relevant devi...

Page 8: ...if checked the content in hex format will be sent After opening the device will send serial heartbeat information through 485 every other serial heartbeat time Basic information area WiFi parameter area configured to take effect after restarting WIFI Mode SSID Password Parameters representing wifi such as AP mode ssid is test password is 12345678 When entering a password you can enter a lowercase ...

Page 9: ...ower than that of the network terminal many bus waits originate from the slow side and a storage gateway such as the host accesses an instruction then the device as a modbus gateway will remember This command and keep polling and save the polling result in the device then next time the host accesses this data again the device as a modbus gateway will not go to 485 to send the inquiry information w...

Page 10: ...er when in client mode this is the port opened by the target server Short connection time This parameter does not matter it is only useful in TCPC mode The default value is 0 which means the short connection is closed by default For example if you are in TCPS mode and set the short connection time to 5 then this TCPC link After the connection with the server is obtained the data is exchanged the l...

Page 11: ...ices 505619290 datapoints GET method URL http api heclouds com devices 505619290 datapoints datastream_id test_stream HTTP domain name represents the IP address of the target HTTP server such as 183 230 33 80 in the above test content HTTP port represents the port number of the target HTTP server such as the appeal 80 the general HTTP port number is port 80 HTTP header content represents the heade...

Page 12: ...T and custom private clouds The following is an example of how to use Alibaba Cloud First create products and devices on the Alibaba Cloud IoT platform If not you can view the operation method on the official website or Baidu there are many tutorials on the Internet the operation is simple and then find the device you created on the device click View on the right and then click MQTT Link the param...

Page 13: ...duct key device name and device key and fill in the product to the device Name column Productkey is filled in the product key column DeviceSecret is filled in the device secret column Then check the subscribe publish option below fill in the topic of subscription and publishing select your item in the product column click View and then find the content you want to subscribe and publish in the Topi...

Page 14: ...steps and connects with the host computer click on the upper right to restore the factory settings and then carry out 3 Configure the SSID of the device factory default NA611 S and Password factory default 88888888 here do not modify the parameters that only query WiFi 4 Configure the link parameters the factory default is server mode TCPS the default IP 192 168 1 1 and the port is 8888 5 Turn off...

Page 15: ... open link 1 open the TCPS mode the default 192 168 1 1 8888 port save the parameters and exit the configuration LINKB is always on 4 Open the network assistant and connect to the device server 192 168 1 1 8888 If you cannot connect according to the above configuration it is recommended to turn off the computer firewall 5 The communication test uses the serial assistant to send EBYTE_NA6111_S_TEST...

Page 16: ... 页 2 5 Host computer configuration used in STA mode 1 Select the corresponding serial port and configure the baud rate parameters correctly the factory default baud rate is 115200 8 data bits 1 stop bit no parity bit NONE 2 Click to enter the configuration and read the parameters to obtain the current configuration parameters of the device ...

Page 17: ...ect the WIFI working mode turn on the STA mode and the device automatically enables dynamic IP DHCP when the STA mode is turned on for the first time 4 Configure the WiFi name and password for the device to connect to 5 Save the parameters restart the device wait for the device to restart read the parameters to obtain the IP address of the device ...

Page 18: ...cted to the same router the connection is successful and LINKA is always on the computer uses a dynamic IP for the configuration method refer to 2 4 AP mode communication test open the network assistant and connect to the device server 192 168 10 152 8888 obtain the IP according to the actual device If the connection is successful LINKB is always on if you cannot connect according to the above con...

Page 19: ...te Electronic Technology Co Ltd NA611 S NA611 SA User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 第 19 页 EBYTE_NA6111_S_TEST_NET and the serial assistant receives EBYTE_NA6111_S_TEST_NET ...

Page 20: ... g n DC 8 28V 2 412GHz 2 472GHz RS485 40 70 NA611 SA AC 85 265V RS485 3 2 Technical specification Item Parameter Operating Voltage DC 8 28V AC 85 265V Communication Interface RS485 Working frequency 2 412GHz 2 472GHz Maximum transmit power 16dBm 18 5dBm 2 412GHz Emission current 90mA 12V 瞬时功耗 2 412GHz receive current 30mA 12V 接收的平均功耗 2 412GHz WiFi version 802 11 b g n Operating temperature 40 70 P...

Page 21: ...ace SMA K male thread inner hole characteristic impedance 50Ω 3 DC AC Power interface DC AC power input port crimped port 4 RS485 RS485 communication port Standard RS485 interface 5 PWR Power Indicator Lights up when the power is turned on 6 STATE Fault indicator Steady on Device failure 7 DATA Data transceiver indicator Always off no data is sent or received 8 LINKA WIFI connection indicator Flas...

Page 22: ...te Electronic Technology Co Ltd NA611 S NA611 SA User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 第 22 页 3 4 Size 3 5 Installation method The equipment adopts the rail installation method ...

Page 23: ... 2 WPA2 password 88888888 Operating mode job role AP transfer mode 透传 service mode TCP Server STA connection parameters target SSID NA611 S encryption type 2 WPA2 password 88888888 Connection Type 1 Heartbeat parameters 4 way socket is the same Heartbeat type 0 turn off Heartbeat timeout 5 Unit S Heartbeat data type 1 character string Heartbeat data 343536 Registration package 4 way socket is the ...

Page 24: ...Chengdu Ebyte Electronic Technology Co Ltd NA611 S NA611 SA User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 第 24 页 DNS address 114 114 114 14 ...

Page 25: ... will be sent out normally 4 2 Job role 4 2 1 AP mode Access Point Access Point is referred to as AP mode which is similar to a router allowing wireless devices to connect and establish TCP IP based server client and UDP communications In this mode 3 stations are supported and a maximum of 4 TCP sockets are supported 4 2 2 STA mode Station Station mode is abbreviated as STA In this role the device...

Page 26: ...he data after the serial port receives data to the recorded IP and port 4 3 2 MQTT Mode In the MQTT mode the device supports IoT platforms such as Alibaba Cloud Baidu Cloud and OneNet The service parameters created on the platform can be entered into the device to communicate and the QoS0 QoS1 and QoS2 service quality levels are supported and the address can be configured with a maximum of 72 char...

Page 27: ...following is an example of how to use Alibaba Cloud First create products and devices on the Alibaba Cloud IoT platform If not you can view the operation method on the official website or Baidu there are many tutorials on the Internet the operation is simple and then find the device you created on the device click View on the right and then click MQTT Link the parameter item to get the following i...

Page 28: ...l port and configure the baud rate parameters correctly The factory default baud rate is 115200 8 data bits 1 stop bit and no parity bit NONE 2 Select the working mode of the device the factory default AP mode the following tests are carried out with the factory parameters if the factory parameters are not it is recommended to restore the factory after the device enters the configuration according...

Page 29: ...esources responded by the server You don t need to care about the complex HTTP protocol layer You can choose whether to output the HTTP header HTTP supports two common request methods POST and GET Request path HTTP URL configurable up to 128 bytes Request header HEADER The maximum configuration is 128 bytes and the supported data can contain escape characters such as r n When in HTTP mode HTTP tra...

Page 30: ...TTP server and send datastream _id test stream to GET information from the HTTP server 4 3 4 Network receive cache All links have a total of 15K 15 1024Bit network cache to alleviate the impact of the network speed being greater than the serial port speed during continuous transmission 4 4 Support DHCP and domain name resolution 4 4 1 DHCP AP mode supports dynamic allocation of I P of connected de...

Page 31: ...ol Description Send a description Protocol Distribution Header Protocol Type sockID clientID Data Protocol distribution header 0XAA 0XFE Protocol Type 0X55 TCPS Communication 0X54 TCPC Communication 0X53UDPS Communication 0X52 UDPC Communication 0X51 HTTP Communication 0X50 MQTT Communication SockID 00 01 02 03 ClientID 01 02 03 04 05 06 07 08 If working in client mode the clientID is invalid Note...

Page 32: ...l length value N Byte Socket 1 Link 0x01 N Byte Socket 2 Link 0x02 N Byte Socket 3 Link 0x03 N Byte 4 6 2 Broadcast sending Protocol Description When the device link works in server mode when the Socket ID is 0x00 or there is no protocol header before the data it means broadcasting if a 4 way connection is established the data is sent to the 4 way socket at the same time Otherwise the data is sent...

Page 33: ...nly be one Modbus master and the function upgrade is carried out and when multiple hosts access the Modbus gateway at the same time the bus occupancy scheduling will be carried out thus solving the bus conflict problem currently only 8 host connections are supported and only support working in TCP Server mode 4 9 3 Storage gateway Based on the multi host development to optimize the network side re...

Page 34: ... unconfigured instructions and control instructions operate the RTU device directly Frequently read instructions are stored in advance within the gateway reducing response times throughout the process Due to the above characteristics the serial port side of the storage gateway can only be connected to the Modbus slave The device supports configuring 50 instructions via the host computer 4 10 Seria...

Page 35: ...er Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 第 35 页 Step 2 Select the firmware that needs to be upgraded Step 3 Click Upgrade disconnect the device power and restart the device Step 4 Wait for the upgrade to complete click Stop Upgrade ...

Page 36: ...estart but will not restore the factory settings 5 2 Directive configuration 5 2 1 Serial port AT configuration When you need to use the serial port AT command to configure the parameters first send and send AT within 3s to enter the configuration mode and the device will close the disconnection reconnection and restart without data in the configuration mode and exit AT Restore the disconnected re...

Page 37: ...22 Chengdu Ebyte Electronic Technology Co Ltd 第 37 页 After the device is successfully connected the network configuration can be performed by issuing a network AT command through the network assistant as follows Note The device must be in a communication state for this configuration method ...

Page 38: ...yright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 第 38 页 6 Revision History version Date of revision Revision Notes Maintainer 1 0 2022 04 19 Initial release LM 1 1 2022 07 21 Content revision LM 1 2 2022 09 13 Content revision XXN 1 3 2023 01 31 Content revision LT ...

Page 39: ...第 39 页 7 About us Technical support support cdebyte com Documents and RF Setting download link https www cdebyte com Thank you for using Ebyte products Please contact us with any questions or suggestions info cdebyte com Phone 86 028 61399028 Web https www cdebyte com Address B5 Mould Park 199 Xiqu Ave High tech District Sichuan China ...

Reviews: