EasyManua.ls Logo

USR IOT USR-N580 User Manual

USR IOT USR-N580
56 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #31 background imageLoading...
Page #31 background image
USR-N580 User Manual technical support:h.usriot.com
Jinan USR IOT Technology Limited
31
www.usriot.com
5. General Functions
5.1 Serial Packaging Mechanism
USR-N580 can configure serial port packaging time and serial port packaging length. USR-N580 will make
packaging for the data of serial port according to the packaging length and packaging time in the transparent
transmission mode.
Example for judgment of packaging time and packaging length:
1. Set packaging time as 10ms, packaging length as 512 bytes.
When serial port received data, USR-N580 will package and send it to network if the interval time of
receiving data is over than 10ms or data length is more than 512
2. If the value of packaging time or packaging length is 0, the packaging rule is effective for non-zero one.
3. Set packaging time and length as 0.
USR-N580 will conduct default packaging time when packaging time is set as 0ms. When serial port
receiving data, USR-N580 will package and send the data to network if interval time more than
packaging time of sending 4 bytes. For example, baud rate 115200, packaging time for 4 bytes is
T=0.4ms, when the calculated value is smaller than 0.1ms, packaging time can be calculated as 0.1ms.
T= 1/baud rate*10*4
When USR-N580 receives data from network and then send to serial port, as the limit of serial port speed,
user have to control the flow, if not the problem of data overflow on serial port side will occur. So data flow is
required to calculated when sending data from network to serial port.
Example:
Network sends data in m bytes every n seconds. Method of checking if there is overflow: ( Supposed network
condition is good and network data transmission time is negligible)
If there is no overflow, m bytes data must be transmitted within n seconds, then the transmitting time of M
bytes data:
If n >2T, then data will not overflow, USR-N580 can work normally. Just need keep n>T under baud rate 9600.
5.2 Flow Control
1. NONE: No flow control.
2. Xon/Xoff: Software flow control function. It is disabled by default. In this mode, the command character
of serial port sends data is 0x11. 0X13 is not allowed.
Question and Answer IconNeed help?

Do you have a question about the USR IOT USR-N580 and is the answer not in the manual?

USR IOT USR-N580 Specifications

General IconGeneral
ModelUSR-N580
Serial Ports2 x RS232/RS485
USB Ports1 x USB 2.0
Power SupplyDC
Storage Temperature-40°C ~ 85°C
Humidity5% ~ 95% (non-condensing)
Protocol SupportTCP, UDP, HTTP, DHCP, DNS

Summary

Introduction to USR-N580

Overview and Features

Explains the USR-N580 module's purpose, configuration methods, and key functions.

Getting Started with USR-N580

USR-N580 Specifications

Details technical specifications of the USR-N580 device.

USR-N580 Hardware Details

Describes physical dimensions and indicator lights of the USR-N580 device.

Connecting Hardware and Power

Guides on serial/network connections, and power supply setup for the USR-N580.

Utility Configuration Guide

Download and Start Configuration Utility

Instructions for downloading, starting, and discovering the configuration utility and device.

Network Settings Configuration

Explains configuring static or DHCP IP addresses for the device server.

Serial Port Settings

Details serial port parameters like baud rate, data bits, parity, and flow control.

Miscellaneous and Factory Settings

Covers changing module name, user credentials, and restoring factory default settings.

Update USR-N580 Firmware

Guides on updating firmware via webpage or configuration utility.

Selecting Operating Modes

Overview of Operating Modes

Introduces configuring the device port's operation mode for different network protocols.

TCP Client Mode Configuration

Explains TCP Client mode, its features like keepalive, and provides a test example.

TCP Server Mode Configuration

Details TCP Server mode, keepalive function, client connections, and a test example.

UDP Client Mode Configuration

Explains UDP Client mode, its use cases, and provides a test example.

UDP Server Mode Configuration

Describes UDP Server mode, source IP handling, and provides a test example with multiple clients.

HTTP Client Mode

Explains Httpd Client mode for sending HTTP requests and processing responses.

General Functions

Serial Packaging and Flow Control

Explains serial data packaging and flow control settings for transparent transmission.

RFC2217 Functionality

Describes the RFC2217 function for dynamic serial parameter changes over the network.

Modbus RTU to TCP Conversion

Explains the protocol conversion process from Modbus RTU to Modbus TCP.

Modbus Poll Functionality

Details how to use Modbus Poll to query parameters via multiple masters.

Heartbeat Packet Configuration

Explains serial and network heartbeat packets for connection maintenance.

Registry Packet Setup

Describes registry packets (USR Cloud, MAC, USER) for device identification and authorization.

Short Connection Feature

Explains the TCP short connection feature for saving server resources and automatic disconnection.

Uart Cache Functionality

Details the UART cache function for buffering serial data when connections are not established.

UDP Multicast Configuration

Explains UDP multicast for one-to-many connections and its address range.

Web Socket Configuration

Describes Websocket function for data transmission between serial ports and the N580 webpage.

Network Printing Function

Explains network printing using the serial port and a printer driver.

Virtual COM Software Setup

USR Cloud Platform Integration

AT Command Set Reference

Document Disclaimer

Related product manuals