USR IOT USR-G786-G User Manual

USR IOT USR-G786-G User Manual

Hide thumbs Also See for USR-G786-G:

Advertisement

Quick Links

USR-G786-G User Manual
Technical Support:
h.usriot.com
USR-G786-G User Manual
version V1.0.4
www.pusr.com
Jinan USR IOT Technology Limited

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for USR IOT USR-G786-G

  • Page 1 USR-G786-G User Manual Technical Support: h.usriot.com USR-G786-G User Manual version V1.0.4 www.pusr.com Jinan USR IOT Technology Limited...
  • Page 2: Table Of Contents

    6.2. Heartbeat Package..............................28 6.3. Base Station Position............................31 6.4. Modbus................................32 6.5. FTP Upgrade............................... 34 6.6. Restore to Factory Default Settings........................35 6.7. Upgrade Firmware............................. 35 6.7.1. Upgrade by Serial Port............................35 6.7.2. Remote Upgrade............................... 39 Jinan USR IOT Technology Limited www.pusr.com...
  • Page 3 7.2.24. AT+UART................................54 1:1 stop bit..................................54 2:2 stop bits..................................54 7.2.25. AT+CMDPT...............................54 7.2.26. AT+UARTFT..............................55 7.2.27. AT+UARTFL...............................55 7.2.28. AT+APN................................55 7.2.29. AT+SOCKA................................56 7.2.30. AT+SOCKB................................ 56 7.2.31. AT+SOCKAEN..............................57 7.2.32. AT+SOCKBEN..............................57 7.2.33. AT+SOCKALK..............................57 7.2.34. AT+SOCKBLK..............................58 Jinan USR IOT Technology Limited www.pusr.com...
  • Page 4 7.2.47. AT+HTPTP................................ 62 7.2.48. AT+HTPURL..............................62 7.2.49. AT+HTPSV................................ 62 7.2.50. AT+HTPHD............................... 63 7.2.51. AT+HTPTO................................ 63 7.2.52. AT+HTPFLT............................... 63 7.2.53. AT+DSTNUM..............................64 7.2.54. AT+SMSFLT...............................64 8. Contact Us..................................65 7.2.55. AT+CISMSSEND..............................64 9. Disclaimer..................................65 10. Update History................................65 Jinan USR IOT Technology Limited www.pusr.com...
  • Page 5: Introduction

    1. Introduction 1.1. Overview 4G cellular modem USR-G786-G is launched in 2020 featuring with rugged design, high speed, low latency, compact size, high reliability and global bands. G786 provides wireless data communications between field serial devices and the central control system to enable remote control of industrial field sites.
  • Page 6: Get Started

    GSM850 8-PSK +2dBm±2dB(Power class E2) PCS1900 +30dBm±2dB(Power class 1) DCS1800 +30dBm±2dB(Power class 1) EGSM900 +33dBm±2dB(Power class 4) GSM850 +33dBm±2dB(Power class 4) FDD-LTE Download 150Mbps, upload 50Mbps Data Speed TDD-LTE Download 130Mbps, upload 30Mbps WCDMA Download 384Kbps, upload 384Kbps Jinan USR IOT Technology Limited www.pusr.com...
  • Page 7 Network Protocol TCP/UDP/DNS/HTTP/FTP Maximum NO. Of TCP connection Network Access APN, VPDN Software Modbus RTU/TCP Support protocol conversion SMS functions Support Heartbeat packet Support Identity packet User defined identity packet/ICCID /IMEI mechanism FTP upgrade Support Jinan USR IOT Technology Limited www.pusr.com...
  • Page 8: Hardware

    USR-G786-G User Manual Technical Support: h.usriot.com Remote firmware update Support 2.2. Hardware 2.2.1. Dimensions UNIT: mm. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 9: Interfaces

    USR-G786-G User Manual Technical Support: h.usriot.com 2.2.2. Interfaces 2.2.3. Indicators There are four LED indicators on USR-G786-G, POWER,WORK,NET,LINKA. Status of the indicator is explained as follows: Indicators Function Description POWER Power indicator Always on after power on WORK System status.
  • Page 10: Connecting Hardware

    2.3. Connecting Hardware 2.3.1. Hardware Preparation Open the packing box,the following accessories will be found: USR-G786-G Sucker 4G antenna Power adapter Power cord (optional) Required additional testing tools: RS232 serial to USB cable Jinan USR IOT Technology Limited www.pusr.com...
  • Page 11: Installing Sim Card And Antenna

    RS485: When connecting to a RS485 serial device, connect A of RS485 interface of G786-G to A pin of the serial device, B of G786-G to B of serial device. 2.3.4. Power Supply Connect a 9-36V DC power adapter to the power terminal. “POWER” LED will always be on and the Jinan USR IOT Technology Limited www.pusr.com...
  • Page 12: Utility Configuration

    3.2. Configuration via PC USR-G786-G configuration utility is shown below: Setp1: Set the serial port parameters of the utility, which must be the same with current parameters of serial port of G786, otherwise it cannot communicate with DTU. Default settings of serial port of G786: 115200, 8, None,1.
  • Page 13: Serial Port

    Step6: Data display area, displaying the data sent and received with time stamp when click the “time” option. Step7: Data sending area, enter the data and click Send. 4. Serial Port 4.1. Basic Parameters Serial parameters of USR-G786-G must be consistent with the parameters of the connected serial device. Item Parameter RS232: 2400,4800,9600,14400,19200,28800,...
  • Page 14: Framing Mechanism

    (Note: when using “command password +AT command” function, the package length must be larger than the “command password +AT command”, otherwise AT command is invalid) This parameter can be set by AT command, AT+UARTFL=<length>. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 15: Selecting An Operating Mode

    USR-G786-G User Manual Technical Support: h.usriot.com 4.2.3. Network Data Output Port We need to set the output serial port of the USR-G786-G network data. Setting commands and parameters as follows: Table1 Network data output serial port setting instructions Command Descriptions Data sent from network is output on 232 serial port.
  • Page 16: Tcp Client Mode

    It supports up to 3 TCP Clients when works as a TCP Server. Because the conventional operator network can not be accessed through the external network, so for the Server function need to use a dedicated APN card . 5.1.1. TCP Client Mode Set parameters by software: Jinan USR IOT Technology Limited www.pusr.com...
  • Page 17 NONE. Click "Save current parameters". Click the "Restart" button to restart the module. 10. After the device restarts, NET and LINKA lights will be on, then we can transmit data in both directions. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 18 AT+Z Test Connect the serial port of USR-G786-G to the computer via a RS232 serial to USB cable, send data from the setup software, our test server will return the same data to serial port. Jinan USR IOT Technology Limited...
  • Page 19: Tcp Server Mode

    Enable socket A: AT+WKMOD=NET Set socket A as TCP Server, local port 2317, IP has no reference meaning in Server: AT+SOCKAEN=ON Set APN. E.g: APN:CMNET, username: empty, password: empty, authentication method: NONE: AT+SOCKA=TCPS,test.usr.cn,2317 Reboot: AT+APN=CMNET,,,0 AT+Z Jinan USR IOT Technology Limited www.pusr.com...
  • Page 20: Udp Client Mode

    Set APN. E.g: APN:CMNET, username: empty, password: empty, authentication method: NONE: AT+SOCKA=UDPC,test.usr.cn,2317 Reboot: AT+APN=CMNET,,,0 AT+Z Test Connect the serial port of USR-G786-G to the computer via a serial to USB cable, realize the data transmission of serial port and network Jinan USR IOT Technology Limited www.pusr.com...
  • Page 21: Httpd Client Mode

    User does not need to pay attention to the data conversion process between the serial data and the network data packet, and can achieve the data request from the serial device to the HTTP server through simple parameter Jinan USR IOT Technology Limited www.pusr.com...
  • Page 22 E.g: APN: CMNET, username:empty, password:empty, authentication method: NONE. Click "Save current parameters" to set and save all parameters. Click "Restart" to restart the module. Set by AT command: Set the work mode to HTTPD: AT+WKMOD=HTTPD Jinan USR IOT Technology Limited www.pusr.com...
  • Page 23 Whether to filter HTTP header: AT+HTPTO=10 Reboot AT+HTPFLT=ON AT+Z Test After the NET light is on, send the data in the format of "data =". After the data is sent successfully, server will return the data. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 24: Sms Mode

    If the user's serial device is placed in a remote place, G786-G can be used to check the running status of the device or control the running parameters by sending and receiving SMS. Set by software: Jinan USR IOT Technology Limited www.pusr.com...
  • Page 25 10. Click "Restart" to restart the module. Set by AT command: 1. Set work mode to SMS mode: 2. Set the target mobile phone number to 10086. E.g:10086: AT+WKMOD=SMS Restart the module: AT+DSTNUM=10086 AT+Z Jinan USR IOT Technology Limited www.pusr.com...
  • Page 26 2. When non-target mobile phone number filtering is enabled, the non-target mobile phone number can still query or set parameters. Test When the NET light is on, we can send and receive data in both directions via SMS with destination phone number. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 27: General Function

    ICCID: Unique SIM identification code, for applications based on SIM card identification. IMEI: Unique identification code of the Internet module, which is mainly used in device identification, has nothing to do with SIM card. Set by software: Jinan USR IOT Technology Limited www.pusr.com...
  • Page 28 5. Set the parameter of SocketA. 6. Enable identity package and set various parameters. 7. Click “More”. 8. Set APN parameters. 9. Click "Save current parameters" to save all parameters. 10. Restart the module. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 29: Heartbeat Package

    Setup the contents: AT+REGTP=USER Setup the sending mode: AT+REGDT=7777772E7573722E636E Reboot: AT+REGSND=DATA AT+Z Test Connect the serial port of USR-G786-G to the computer via a serial to USB cable, send data from serial port: 6.2. Heartbeat Package Jinan USR IOT Technology Limited www.pusr.com...
  • Page 30 Open the dedicated setup software. Set the Serial port parameters according to the serial device and click "Open PC Serial". Click "Enter Serial AT command mode" and wait for the device to enter AT command mode. Click "Query all parameters" and wait for obtaining all current parameters. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 31 Enable heartbeat function: Setup the contents of heartbeat data: AT+HEARTEN=ON Set the mode of heartbeat data: AT+HEARTDT=7777772E7573722E636E Setup the sending interval: AT+HEARTTP=NET Reboot: AT+HEARTTM=30 AT+Z Test Heartbeat package data sent from G786-G to the network: Jinan USR IOT Technology Limited www.pusr.com...
  • Page 32: Base Station Position

    6.3. Base Station Position USR-G786-G supports LBS base station positioning function, and can obtain general location of the device through the operator's network. Base station positioning information is obtained through AT command, which can be used flexibly with serial AT and SMS AT command.
  • Page 33: Modbus

    G786-G converts the Modbus TCP protocol data sent by the server into Modbus RTU data and sends it to the terminal device, and converts the Modbus RTU protocol data sent by the terminal device into Modbus TCP data and sends it to the server. Set by software: Jinan USR IOT Technology Limited www.pusr.com...
  • Page 34 Click "Save current parameters" to set and save all parameters. 10. Click "Restart" to restart the module. Set by AT command: AT+MODBUSEN Query/Setting whether to enable Modbus Command Functions Default parameter function 1. Set work mode to Transparent mode.: AT+WKMOD=NET Jinan USR IOT Technology Limited www.pusr.com...
  • Page 35: Ftp Upgrade

    Test Connect the serial port of USR-G786-G to the computer via a serial to USB cable, Modbus RTU data sent by the serial port is converted into MODBUS TCP data by G786-G and then sent to the network side. Similarly, G786-G converts the MODBUS TCP data on the network side into MODBUS RTU data and transmits it to the serial port.
  • Page 36: Restore To Factory Default Settings

    After power on, press the “Reload” button for 3~15S and release it to restore the device parameters to factory default parameters. 6.7. Upgrade Firmware 6.7.1. Upgrade by Serial Port In order to reduce the complexity of firmware upgrade, USR-G786-G has set up the firmware upgrade with serial ports. As follows: Jinan USR IOT Technology Limited www.pusr.com...
  • Page 37 (1) Set baud rate to 115200, no check bit, data bit 8, stop bit 1, open serial port, click “Load Fw”, and select the USR-G786-G User Manual Technical Support: h.usriot.com firmware to be upgraded. (2) Follow the prompts and wait for the device to be upgraded. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 38 USR-G786-G User Manual Technical Support: h.usriot.com (3) Now the firmware is being downloaded, waiting for the upgrade to complete. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 39 USR-G786-G User Manual Technical Support: h.usriot.com (4) Firmware update is completed and the device is restarted. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 40: Remote Upgrade

    When the device works in network transparent mode, can switch to "AT command mode" by sending time-specific data by serial port. When the operation is completed in "AT command mode", send specific commands to return to the previous working mode. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 41: Serial At Command

    Generally, it is used when user’s equipment needs to query or modify parameters when G786-G is running. It does not need complicated “+++” timing sequence to enter AT command mode, so as to quickly query or set parameters. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 42 After the setting is completed, restart the module, and send (Note: there is an Carriage www.usr.cn# Return at the end of the string) from the serial port to the module. After receiving the string, module will return www.usr.cn#AT+VER the response information. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 43: Network At Command

    For example, query the firmware version and send www.usr.cn#AT+VER (note: there is an Carriage Return at the end of the string) from the server to the module. After receiving the command, the module will return a response message: Jinan USR IOT Technology Limited www.pusr.com...
  • Page 44: Sms At Command

    The content is non-essential items <> The content is a string with special meaning Parameter range,e.g. A~B. Parameter ’s range is from A to B Command code The operator Parameters Carriage Return in ASCII, 0X0D in hex PARA Jinan USR IOT Technology Limited www.pusr.com...
  • Page 45 Figure 11 Symbol descriptions Carriage Return Command Implication Necessary or not Line Feed +CMD Response header Operator , e.g: “:” PARA Returned parameter Carriage Return Line Feed Carriage Return Line Feed Operate successfully Carriage Return Line Feed Jinan USR IOT Technology Limited www.pusr.com...
  • Page 46: At Command Set

    Not meet the format of query or settings Err2 Wrong parameters or number Err3 Setting parameter failed Err4 Err5 Figure 16 AT commands Command Command description Test Command Executive command Help information Module reboot Query/set whether to enable command echo Jinan USR IOT Technology Limited www.pusr.com...
  • Page 47 SOCKRSTM Query/set whether to enable Modbus protocol conversion MODBUSEN Query/set whether to enable identity package Identity package commands Query/set the content type of identity package REGEN Query/set user-defined identity package data REGTP REGDT Jinan USR IOT Technology Limited www.pusr.com...
  • Page 48: At+H

      Query:  AT+H{CR} {CR}{LF} help message {CR}{LF} Parameter:  help message:command.  7.2.3. AT+Z Function: Reload the module. Format  AT+Z{CR}  {CR}{LF}OK{CR}{LF} 7.2.4. AT+E Function:Query/set the echo status of AT commands. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 49: At+Entm

     mode:work mode,including:  NET: Network transparent mode HTTPD: HTTPD Client mode SMS:SMS mode Default in NET mode: E.g:AT+WKMOD=NET  7.2.7. AT+CMDPW Function:Query/Setting command password Format:   Query current parameter:  AT+CMDPW{CR} or AT+CMDPW?{CR} {CR}{LF}+CMDPW:password{CR}{LF} Jinan USR IOT Technology Limited www.pusr.com...
  • Page 50: At+Stmsg

    E.g:AT+RSTIM=1800  7.2.10. AT+CSQ Function:Query module’s current signal strength. Format:   Query current parameter  AT+CSQ{CR} or AT+CSQ?{CR} {CR}{LF}+CSQ: rssi {CR}{LF} Parameter:  rssi: Received signal strength information.  Mapping relation Figure 1 Jinan USR IOT Technology Limited www.pusr.com...
  • Page 51: At+Sysinfo

     roam_status: Roaming state 0: Non-roaming state 1: Roaming state  sys_mode: System mode System mode list Figure 4 No service Number Implication AMPS mode CDMA mode GSM mode HDR mode WCDMA mode GPS mode GSM/WCDMA mode Jinan USR IOT Technology Limited www.pusr.com...
  • Page 52: At+Ucpin

    Function:Restore to default settings and the device will restart. Format:   Execute the specified function  AT+RELD{CR} {CR}{LF}OK{CR}{LF} 7.2.14. AT+CLEAR Function:Reload the default settings, device will restart. Format:   Execute specified function:  AT+CLEAR{CR} {CR}{LF}OK{CR}{LF} Jinan USR IOT Technology Limited www.pusr.com...
  • Page 53: At+Cfgtf

     Query current parameter:  AT+ICCID{CR} or AT+ICCID?{CR} {CR}{LF}+ICCID:code{CR}{LF}{CR}{LF} Parameters:  code:ICCID code.  7.2.19. AT+IMEI Function:Query module’s IMEI code. Format:   Query current parameter:  AT+IMEI{CR} or AT+IMEI?{CR} {CR}{LF}+IMEI:code{CR}{LF} Parameters:  code:IMEI code.  Jinan USR IOT Technology Limited www.pusr.com...
  • Page 54: At+Cip

    Format:   Query:  AT+PING=“ip_address”{CR} {CR}{LF}+PING: <result>,<ip_adress>, <bytes>, <time>, <ttl>{CR}{LF} {CR}{LF}+PING: <finresult>, <sent>, <rcvd>, <lost>, <min>,<max>,<avg>{CR}{LF} Parameters:  <result>: The result of each ping request. 0 means success.   <ip_address>: IP address. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 55: 8:8 Data Bits

    Default 1 stop bit.  parity:Checking methods, including: NONE:NO check. ODD:ODD check. EVEN:EVEN check. Default is NONE. E.g::AT+UART=115200,8,1,NONE.  7.2.25. AT+CMDPT Function: Query /Setting network data output port. Format:  AT+CMDPT{CR} or AT+CMDPT?{CR}  {CR}{LF}+CMDPT: {CR}{LF} Jinan USR IOT Technology Limited www.pusr.com...
  • Page 56: At+Uartft

     Setting: AT+UARTFL=length{CR} {CR}{LF}OK{CR}{LF} Parameters:  length:Package length, ranging from 100 to 1000 bytes, default to 1000 bytes.  E.g:AT+UARTFL =1000  7.2.28. AT+APN Function:Query/Setting APN code Format   Query current parameter:  Jinan USR IOT Technology Limited www.pusr.com...
  • Page 57: At+Socka

    AT+SOCKB Function:Query/Setting the parameters of socket B . Function:Query/Setting the parameters of socket B. Format:   Query current parameter:  AT+SOCKB{CR} or AT+SOCKB?{CR} {CR}{LF}+SOCKB:protocol,address,port{CR}{LF}  Setting: AT+SOCKB=protocol,address,port{CR} {CR}{LF}OK{CR}{LF} Parameters:  protocol:protocol, including:  Jinan USR IOT Technology Limited www.pusr.com...
  • Page 58: At+Sockaen

     status:whether to enable socket B, including:  ON:enable. OFF:disable 7.2.33. AT+SOCKALK Function:Query whether socket A is connected. Format:   Query current parameter:  AT+SOCKALK{CR} or AT+SOCKALK?{CR} {CR}{LF}+SOCKALK:status{CR}{LF} Parameters:  status:socket A connection status,including:  Jinan USR IOT Technology Limited www.pusr.com...
  • Page 59: At+Sockblk

     Format:  Query current parameter:  AT+SOCKRSTIM{CR} or AT+ SOCKRSTIM?{CR} {CR}{LF}+ SOCKRSTIM:num{CR}{LF} Parameters: num:Maximum re-connection times. Setting range is 10~600 times, default is 60 times.  Jinan USR IOT Technology Limited www.pusr.com...
  • Page 60: At+Modbusen

    Default: OFF. 7.2.40. AT+REGTP Function:Query/Setting identity package type. Format:   Query current parameter:  AT+REGTP{CR} or AT+REGTP?{CR} {CR}{LF}+REGTP:type{CR}{LF}  Setting: AT+REGTP=type{CR} {CR}{LF}OK{CR}{LF} Parameters:  type:Identity package data type, including:  ICCID:ICCID code. IMEI:IMEI code. Jinan USR IOT Technology Limited www.pusr.com...
  • Page 61: At+Regdt

    DATA:Identity package data as the beginning of each package data. Default is DATA. E.g:AT+REGSND =DATA  7.2.43. AT+HEARTEN Function:Query/Setting whether to enable heartbeat package function. Format:   Query current parameter:  AT+HEARTEN{CR} or AT+HEARTEN?{CR} {CR}{LF}+HEARTEN:status{CR}{LF}  Setting: AT+HEARTEN=status{CR} Jinan USR IOT Technology Limited www.pusr.com...
  • Page 62: At+Heartdt

    COM:Send heartbeat package to serial port. NET: Send heartbeat packet to network side. Default is NET。 E.g:AT+HEARTSND =COM  7.2.46. AT+HEARTTM Function:Query/Setting the interval time of heartbeat package. Format:   Query current parameter:  Jinan USR IOT Technology Limited www.pusr.com...
  • Page 63: At+Htptp

    Parameters: URL:HTTP URL,Maximum 100 bytes, default is /1.php[3F], please refer to the chapter of "Special Symbol"  for the escaping rules. E.g: AT+HTPURL=/1.php[3F]  7.2.49. AT+HTPSV Function: Query/Setting HTTP server parameters. Format:   Jinan USR IOT Technology Limited www.pusr.com...
  • Page 64: At+Htphd

    {CR}{LF}OK{CR}{LF} Parameters:  time:HTTP request over time, range is 1-600s, default is 10s.  E.g: AT+HTPTO=60  7.2.52. AT+HTPFLT Function: Query/Setting whether to enable filter HTTP header. Format:   Query current parameter:  Jinan USR IOT Technology Limited www.pusr.com...
  • Page 65: At+Dstnum

    Function:Query/Setting whether to enable only receive SMS from source number. Format:   Query:  AT+SMSFLT{CR} or AT+SMSFLT?{CR} {CR}{LF}+SMSFLT:status{CR}{LF}  Setting: AT+SMSFLT=status{CR} {CR}{LF}OK{CR}{LF} Parameters:  Status:  ON:enable. OFF: disable. Default :ON。 E.g:AT+SMSFLT=ON  7.2.55. AT+CISMSSEND Function:Sending SMS.  Jinan USR IOT Technology Limited www.pusr.com...
  • Page 66: Contact Us

    Tel: 86-531-88826739 9. Disclaimer This document provides the information of USR-G786-G products, it hasn’t been granted any intellectual property license by forbidding speak or other ways either explicitly or implicitly. Except the duty declared in sales terms and conditions, we don’t take any other responsibilities. We don’t warrant the products sales and use explicitly or implicitly, including particular purpose merchant ability and marketability, the tort liability of any other patent right, copyright, intellectual property right.

Table of Contents