background image

USR-N580 User Manual

technical support:

h.usriot.com

Jinan USR IOT Technology Limited

54

www.usriot.com

6. Virtual Com Software

It solve the transmission problem of traditional device PC software working as COM. USR-VCOM

Virtual

com software) support receiving data from set COM and send serial data out as network.
How to connect USR-N580 with Virtual COM:
1. Set USR-N580 as TCP server
2. Open USR-VCOM software, click “Add COM’ and select COM2 (Avoid existed COM).

Net Protocol: TCP Client
Remote IP and port are the local IP and port of N580.
Remarks: Can write the name of device
Click “OK’ to check whether connection is built. “Connected” sow ready for data transmission.

Содержание USR-N580

Страница 1: ...USR N580 User Manual technical support h usriot com Jinan USR IOT Technology Limited 1 www usriot com USR N580 User Manual File Version V1 0 1 ...

Страница 2: ...the Configuration Utility 10 3 2 1 Discovering Your Device Server 10 3 2 2 Network Settings 14 3 2 3 Serial Port Settings 15 3 2 4 Miscellaneous Settings 16 3 2 5 Restore to Factory Default Settings 16 3 2 6 Update Firmware 18 4 Selecting an Operating Mode 20 4 1 Overview 20 4 2 TCP Client mode 21 4 3 TCP Server mode 24 4 4 UDP Client Mode 26 4 5 UDP Server Mode 28 4 6 Httpd Client Mode 29 5 Gener...

Страница 3: ...ser Manual technical support h usriot com Jinan USR IOT Technology Limited 3 www usriot com 5 11 Network Printing Function 52 6 Virtual Com Software 54 7 USR Cloud Platform 55 8 AT Command Set 55 9 Disclaimer 56 ...

Страница 4: ... and the Ethernet port User does not need to care about the specific details the module completes the protocol conversion internally The serial port side is the RS485 level data and the Ethernet port side is the network data packet The USR N580 device server is rugged user friendly making simple and reliable serial to Ethernet solutions possible There are two ways to access the configuration setti...

Страница 5: ... and searching devices within the network through UDP broadcast Provide serial and network setting protocol TCP IP socket example code Built in web page configuring the parameters via the web page Reload button one key to restore default settings RJ45 with Link Data indicator light built in isolation transformer and 2 KV electromagnetic isolation The global unique MAC address bought from IEEE Upgr...

Страница 6: ...client UDP server UDP client Support two way socket Similar RFC2217 support HTTPD client support TCP server Support up to 8 TCP Clients user defined Net buffer 48Kbyte Serial buffer Dynamic packet buffer E g When the packet length is 10Byte can buffer 200 packets 2KB When the packet length is 1460Byte can buffer 5 packets 7 3KB Average delay 10ms Related software USR VCOM set up software 485_EN sw...

Страница 7: ...iot com Jinan USR IOT Technology Limited 7 www usriot com Storage temperature 40 105 C Operating humidity 40 85 C Industrial Storage humidity 45 105 C 5 95 RH non condensing Accessories Power adaptor Ethernet cable Packaging Electrostatic bubble ...

Страница 8: ...USR N580 User Manual technical support h usriot com Jinan USR IOT Technology Limited 8 www usriot com 2 2 Hardware 2 2 1 Dimensions ...

Страница 9: ...n receive data Status Error indicator Link Always on when establish a socket connection 2 3 Connecting Hardware 2 3 1 Serial Connecting Connect a serial data cable between the N580 and the serial device And the pin wiring should be A to A B to B GND to GND Please set the serial parameters of N580 to be consistent with RS485 serial device Serial parameters of N580 default to 115200 NONE 8 1 2 3 2 N...

Страница 10: ...will show a twinkling green color 3 Utility Configuration 3 1 Download the Utility Be sure you have administrative privileges and disable any firewall anti virus software when installing software Configuration utility download address 3 2 Starting the Configuration Utility 3 2 1 Discovering Your Device Server USR N580 defaults to a static IP address 192 168 0 7 you can set the computer to a static...

Страница 11: ...ical support h usriot com Jinan USR IOT Technology Limited 11 www usriot com In Ethernet Tool click Search to search your LAN for N580 device servers The configuration screen will show the N580 devices that were found on the LAN ...

Страница 12: ...m Jinan USR IOT Technology Limited 12 www usriot com 1 Double click the device name field enter the default username admin and password admin to log in to the device s web page 2 Or you can right click the device name to directly log in to its webpage ...

Страница 13: ...USR N580 User Manual technical support h usriot com Jinan USR IOT Technology Limited 13 www usriot com ...

Страница 14: ...lso need to modify the Static IP address Submask Gateway and DNS parameters Make sure that the IP address is different from other network devices in the LAN DHCP Instead of assigning N580 device s IP address you will need to configure the device to get its IP address from the appropriate server Set the IP Type to DHCP then the IP address and other parameters will be assigned automatically In this ...

Страница 15: ...ser defined 115200bps Data transmission rate Data bits 7 8 8 The size of each data character Stop bits 1 2 1 The size of the stop character Parity NONE EVEN ODD NONE Even and Odd parity provide rudimentary error checking Flow control NFC FCR Software flow control NFC Suspend and resume data transmission to ensure that data is not lost Serial parameters can be set in Port interface About how to sel...

Страница 16: ...an change some basic parameters like Module name Username and Password in this interface 3 2 5 Restore to Factory Default Settings There are three ways to restore the device to factory settings 1 There is a Reload button in the device After power on press and hold the Reload button for 3 15s to restore the N580 device to factory settings ...

Страница 17: ...USR N580 User Manual technical support h usriot com Jinan USR IOT Technology Limited 17 www usriot com 2 Restore via web page or configuration utility Or ...

Страница 18: ...e refer to the document AT Command Set 3 2 6 Update Firmware Firmware updates can be made via webpage or configuration utility Users can consult with sales or technical support about the firmware It is best to connect the device directly to the computer when upgrading 1 After searching the device right click the device name and select the Upgrade to start upgrading the firmware ...

Страница 19: ...N580 User Manual technical support h usriot com Jinan USR IOT Technology Limited 19 www usriot com 2 Make sure the device and computer are in the same network segment Select the correct bin file to download ...

Страница 20: ...uration of a device port s operation mode Configuring the operation mode for the two sockets via the webpage or AT command Socket A TCP Client TCP Server UDP Client UDP Server Httpd Client Socket B TCP Client UDP Client Which operation mode you select will depend on your specific application For the detailed information of each operation mode please check below instructions ...

Страница 21: ... it can be detected rapidly then make USR N540 disconnect from former connection and reconnect 3 TCP Client mode supports RFC2217 USR Cloud and short connection function 4 Under the same LAN please ensure the IP address and gateway are in the same network segment if the N580 is set to a static IP address 5 In this mode N580 can connect to the same LAN s IP address or a public IP and domain name 6 ...

Страница 22: ...Jinan USR IOT Technology Limited 22 www usriot com Open USR TCP232 Test software set it to TCP server Local IP is the PC s IP 192 168 0 201 set the local port to 8234 Then click Listening Set the serial parameters same with N580 device Data transmission ...

Страница 23: ...USR N580 User Manual technical support h usriot com Jinan USR IOT Technology Limited 23 www usriot com ...

Страница 24: ...ode N580 actively listens to the set local port responds to the connection request and creates a TCP connection When the N580 serial port receives the data it sends it to all the clients that have established the connection If access the N580 TCP Server across the public network you need to do port mapping on the router 5 TCP server mode also supports up to 8 simultaneous client connections The lo...

Страница 25: ...USR N580 User Manual technical support h usriot com Jinan USR IOT Technology Limited 25 www usriot com Open USR TCP232 Test software set it to TCP Client connect to the IP and port of N580 Click Connect ...

Страница 26: ... the destination IP and port 2 It is usually used in data transmission scenarios where the packet loss rate is low the packet is small and the transmission frequency is fast and the data should be transmitted to the specified IP 3 Test example Set the N580 to UDP Client Remote server address is the computer s IP set the Remote Port to 8234 Click Save then Restart the device ...

Страница 27: ...mode Local host IP is the PC s IP Local host port is the Remote port of N580 device Click Connect Click to open the serial port first send data from the serial port After receiving the data the Remote IP and Port number of the test software becomes the Local IP and Port of N580 Then can also send data from network side to the serial port ...

Страница 28: ...data it is sent to the last IP and port number that have communicated Test example Set the N580 to UDP server Local port to 20108 Save and Restart the device Open two USR TCP232 Test software set to UDP mode Local host IP is the PC s IP set two different Local host port Click Connect In network side Remote IP is the N580 s IP address Port is 20108 Data from two network ports all can be sent to the...

Страница 29: ...t the required URL and header destination domain name IP port and other information can be set by N580 All you need to do is send the request data then N580 will automatically add URLs and headers You can also choose whether to remove the header of the returned data 3 Test example Connect the device to a router that can access the Internet Set the Work mode to httpd client set the Remote server ad...

Страница 30: ...USR N580 User Manual technical support h usriot com Jinan USR IOT Technology Limited 30 www usriot com ...

Страница 31: ...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 ...

Страница 32: ...mically changed from the network side through the similar RFC2217 function Default is enabled TCP Client TCP Server UDP Client UDP Server and Multicast mode all support RFC2217 This command is effective immediately and no need to restart 1 This function is modified on the basis of RFC2217 protocol to improve the accuracy of transmission Protocol length is 8 bytes values take for example is in HEX ...

Страница 33: ... 55 00 25 80 03 A8 Serial parameter bit Bit Explanation Value Description 1 0 Data bit 00 5 bits 01 6 bits 10 7 bits 11 8bits 2 Stop Bit 00 1 bit 01 2bits 3 Parity Enable 00 Disable Parity 01 Enable Parity 5 4 Parity Type 00 ODD 01 EVEN 10 Mark 11 Clear 8 6 NC 00 0 2 Enable Sync Baudrate RF2217 Similar function when needed send RFC2217 data package from the network side to N580 to change the corre...

Страница 34: ... support h usriot com Jinan USR IOT Technology Limited 34 www usriot com 5 4 Modbus Modbus RTU to Modbus TCP protocol conversion 1 Open the webpage of N580 set it to TCP client or TCP server 2 Select Modbus TCP 3 Save the parameters ...

Страница 35: ...anual technical support h usriot com Jinan USR IOT Technology Limited 35 www usriot com 4 Query and verify Modbus TCP to Modbus RTU through Modbus Poll and Modbus Slave software 5 Click OK to update Modbus Slave data ...

Страница 36: ...inan USR IOT Technology Limited 36 www usriot com Modbus active polling Through the serial port heartbeat packet function of N580 can realize Modbus active polling 1 Enable Uart Heartbeat Packet in the webpage Heartbeat Packet content is the query command ...

Страница 37: ...USR N580 User Manual technical support h usriot com Jinan USR IOT Technology Limited 37 www usriot com 2 Set the Modbus slave software 3 Check the returned Modbus TCP data ...

Страница 38: ...iot com Jinan USR IOT Technology Limited 38 www usriot com Modbus Poll USR N580 supports Modbus poll function Set the device to Modbus poll mode support query parameters via multiple masters 1 Enable Modbus poll function set the Response Timeout ...

Страница 39: ...side 5 5 Heartbeat Packet Heartbeat packet includes network heartbeat and serial port heartbeat N580 device can send heartbeat packet to the serial port or network side Serial heartbeat packet can be sent to the serial port as a fixed query command Network heartbeat packet is used for maintaining connection Only valid in TCP Client and UDP Client mode Test example 1 Enable Serial heartbeat packet ...

Страница 40: ...USR N580 User Manual technical support h usriot com Jinan USR IOT Technology Limited 40 www usriot com ...

Страница 41: ...USR N580 User Manual technical support h usriot com Jinan USR IOT Technology Limited 41 www usriot com 2 Enable Net heartbeat packet ...

Страница 42: ...ied before data or both We will introduce USR Cloud in the next chapter USER Register packet is user defined maximum 40 bytes supports hex data MAC defaults to HEX Connect with sending register packet immediately when establish a connection The main purpose is to allow the server to identify the data source device or to obtain a password for the server function authorization Data with The packet h...

Страница 43: ...tions ensures that existing connections are useful connections and that no additional control is required to filter them TCP short connection function is applied in TCP Client mode After the short connection function is enabled if the serial port or network port does not receive data within the set time the connection will be automatically disconnected The short connection function is disabled by ...

Страница 44: ...e is dynamic and cached according to the size of the packet When the packet length is 10Byte 200 packets 2KB can be cached and when the length is 1460Byte 5 packets 7 3KB can be cached After the TCP connection is established the cache data can be set whether to clean up or not according to the customer s requirements This function defaults to be disabled And it will be invalid when enable short co...

Страница 45: ...ion between data sender and receiver Multiple receivers join the same multicast group and share the same IP address At the same time the members in the multicast group are dynamic and the joining and quitting of a member do not affect the original multicast group The valid address range for a multicast group is 224 0 0 2 239 255 255 255 1 Webpage parameter settings ...

Страница 46: ...USR N580 User Manual technical support h usriot com Jinan USR IOT Technology Limited 46 www usriot com ...

Страница 47: ...USR N580 User Manual technical support h usriot com Jinan USR IOT Technology Limited 47 www usriot com 2 Create UDP Group connection ...

Страница 48: ...ot com 3 UDP Group communication 5 10 Web Socket Websocket function can achieve the data transmission between any one serial port and the webpage of N580 You can select the Websocket Direction from UART 1 8 and LOG 1 Data transmission between serial port and webpage Websocket Port defaults to 6432 ...

Страница 49: ...USR N580 User Manual technical support h usriot com Jinan USR IOT Technology Limited 49 www usriot com ...

Страница 50: ...USR N580 User Manual technical support h usriot com Jinan USR IOT Technology Limited 50 www usriot com 2 LOG ...

Страница 51: ...chnology Limited 51 www usriot com Query the basic information of the device there is a carriage return after the command Check the running condition of the device Set the serial port work mode to TCP Client remote server address and port are the computer s IP and port ...

Страница 52: ...ported in version 10 Opera Supported in version 10 Safari Supported in version 5 5 11 Network Printing Function Network printing function is similar to printer server it can be realized by the previous serial printer through the existed printing driver Testing steps 1 Configure the parameter set work mode as TCP Server local port number 9100 and have to choose Net Buffer and PRINT Others do not ne...

Страница 53: ...nical support h usriot com Jinan USR IOT Technology Limited 53 www usriot com Click next and input the USR N580 s IP address then keep clicking next till finished 3 Serial port connects to the printer open a word file to print ...

Страница 54: ...om software support receiving data from set COM and send serial data out as network How to connect USR N580 with Virtual COM 1 Set USR N580 as TCP server 2 Open USR VCOM software click Add COM and select COM2 Avoid existed COM Net Protocol TCP Client Remote IP and port are the local IP and port of N580 Remarks Can write the name of device Click OK to check whether connection is built Connected sow...

Страница 55: ...n and cloud monitoring If your serial device supports standard MODBUS RTU data the cloud platform can display serial device data by establishing a TCP connection with the N580 device USR Cloud address https mp usriot com After registering an account log in Parameter settings in N580 device 8 AT Command Set For details please refer to the document AT command set ...

Страница 56: ...s document may be reproduced in any form without the written permission of the copyright owner The contents of this document are subject to change without notice due to continued progress in methodology design and manufacturing PUSR shall have no liability for any error or damage of any kind resulting from the use of this document ...

Отзывы: