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.
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.
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...
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...
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.
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,...
(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...
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.
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...
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...
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...
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...
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...
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...
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...
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.
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...
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.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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.
Need help?
Do you have a question about the USR-G786-G and is the answer not in the manual?
Questions and answers