USR IOT USR-G786-G User manual

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
1
Content
Content..............................................................................................................................................................................1
1. Introduction...................................................................................................................................................................... 4
1.1. Overview.............................................................................................................................................................. 4
1.2. Features............................................................................................................................................................... 4
2. Get Started...................................................................................................................................................................... 5
2.1. Specification......................................................................................................................................................... 5
2.2. Hardware..............................................................................................................................................................7
2.2.1. Dimensions.......................................................................................................................................................7
2.2.2. Interfaces.......................................................................................................................................................... 8
2.2.3. Indicators...........................................................................................................................................................8
2.3. Connecting Hardware........................................................................................................................................ 9
2.3.1. Hardware Preparation.....................................................................................................................................9
2.3.2. Installing SIM card and antenna................................................................................................................. 10
2.3.3. Serial Connecting.......................................................................................................................................... 10
2.3.4. Power Supply................................................................................................................................................. 10
3. Utility Configuration..................................................................................................................................................... 11
3.1. Download the Utility.......................................................................................................................................... 11
3.2. Configuration via PC........................................................................................................................................11
4. Serial Port......................................................................................................................................................................12
4.1. Basic Parameters............................................................................................................................................. 12
4.2. Framing mechanism........................................................................................................................................ 13
4.2.1. Time Trigger....................................................................................................................................................13
4.2.2. Length trigger................................................................................................................................................. 13
4.2.3. Network Data Output Port............................................................................................................................14
5. Selecting an Operating Mode........................................................................................................................................14
5.1. Net Transparent Mode....................................................................................................................................... 14
5.1.1. TCP Client Mode................................................................................................................................................15
5.1.2. TCP Server Mode...............................................................................................................................................18
5.1.3. UDP Client Mode...............................................................................................................................................19
5.2. HTTPD Client Mode............................................................................................................................................20
5.3. SMS Mode............................................................................................................................................................23
6. General Function........................................................................................................................................................... 26
6.1. Identity Package................................................................................................................................................. 26
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

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
2
7. AT Command Set............................................................................................................................................................39
7.1. AT Command Examples..................................................................................................................................... 39
7.1.1. Serial AT Command........................................................................................................................................... 40
7.1.2. Network AT Command...................................................................................................................................... 42
7.1.3. SMS AT Command............................................................................................................................................. 43
7.1.4. Command Format............................................................................................................................................. 43
7.2. AT Command Set................................................................................................................................................ 45
7.2.1. AT....................................................................................................................................................................... 47
7.2.2. AT+H...................................................................................................................................................................47
7.2.3. AT+Z................................................................................................................................................................... 47
7.2.4. AT+E................................................................................................................................................................... 47
7.2.5. AT+ENTM........................................................................................................................................................... 48
7.2.6. AT+WKMOD.......................................................................................................................................................48
7.2.7. AT+CMDPW....................................................................................................................................................... 48
7.2.8. AT+STMSG......................................................................................................................................................... 49
7.2.9. AT+RSTIM...........................................................................................................................................................49
7.2.10. AT+CSQ............................................................................................................................................................ 49
7.2.11. AT+SYSINFO..................................................................................................................................................... 50
7.2.12. AT+UCPIN.........................................................................................................................................................51
7.2.13. AT+RELD...........................................................................................................................................................51
7.2.14. AT+CLEAR.........................................................................................................................................................51
7.2.15. AT+CFGTF.........................................................................................................................................................52
7.2.16. AT+VER.............................................................................................................................................................52
7.2.17. AT+SN...............................................................................................................................................................52
7.2.18. AT+ICCID.......................................................................................................................................................... 52
7.2.19. AT+IMEI............................................................................................................................................................52
7.2.20. AT+CIP..............................................................................................................................................................53
7.2.21. AT+LBS............................................................................................................................................................. 53
7.2.22. AT+CCLK...........................................................................................................................................................53
7.2.23. AT+PING...........................................................................................................................................................53
7.2.24. AT+UART.......................................................................................................................................................... 54
8:8 data bits.....................................................................................................................................................................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

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
3
7.2.35. AT+SOCKATO....................................................................................................................................................58
7.2.36. AT+SOCKBTO....................................................................................................................................................58
7.2.37. AT+SOCKRSTIM................................................................................................................................................58
7.2.38. AT+MODBUSEN............................................................................................................................................... 59
7.2.39. AT+REGEN........................................................................................................................................................59
7.2.40. AT+REGTP........................................................................................................................................................ 59
7.2.41. AT+REGDT........................................................................................................................................................ 60
7.2.42. AT+REGSND..................................................................................................................................................... 60
7.2.43. AT+HEARTEN....................................................................................................................................................60
7.2.44. AT+HEARTDT....................................................................................................................................................61
7.2.45. AT+HEARTSND................................................................................................................................................. 61
7.2.46. AT+HEARTTM...................................................................................................................................................61
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
7.2.55. AT+CISMSSEND................................................................................................................................................64
8. Contact Us.......................................................................................................................................................................65
9. Disclaimer...................................................................................................................................................................... 65
10. Update History.............................................................................................................................................................65

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
4
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. It supports TCP/UDP/HTTP protocol, SMS work mode, user-defined identity and heartbeat
packets, 2 sockets connection, underneath device FTP upgrade and remote self-update. G786 is ideal
for M2M and IoT applications including distribution automation, smart metering, water & wastewater,
heating, street light monitoring and etc.
Please open our official website for more information.
https://www.pusr.com/products/4g-cellular-modems-with-global-bands-usr-g786-g.html
1.2. Features

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
5
Supports global 4G LTE frequency bands.
Supports 2 sockets, TCP Server, TCP Client, UDP and HTTP client.
Built-in hardware watchdog.
Each socket supports buffering 5 packets of serial data, each packet up to 1000bytes.
Supports user-defined identity and heartbeat packets.
Supports configuration by serial / SMS / network AT commands.
Supports base station location.
Supports Modbus RTU/TCP protocol conversion.
Supports base station positioning.
Supports multiple modes including transparent transmission mode, HTTPD Client mode and SMS
mode.
Supports remote firmware upgrade, keep the firmware up to date.
Supports sending English SMS.
2. Get Started
2.1. Specification
Item
Description
Parameter
Wireless
module
Standard
FDD-LTE, TDD-LTE, UMTS, GSM
Frequency Band
FDD-LTE
B1/B2/B3/B4/B5/B7/B8/B12/B13/B18/B19/B2
0/B25/B26/B28
TDD-LTE
B38/B39/B40/B41
WCDMA
B1/B2/B4/B5/B6/B8/B19
GSM
B2/B3/B5/B8
Transmitting Power
TDD-LTE
+23dBm±2dB(Power class 3)
FDD-LTE
+23dBm±2dB(Power class 3)
WCDMA
+24dBm+1/-3dB(Power class 3)
PCS1900
8-PSK
+26dBm±2dB(Power class E2)
DCS1800
8-PSK
+26dBm±2dB(Power class E2)
EGSM900
8-PSK
+27dBm±27dB(Power class E2)
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)
Data Speed
FDD-LTE
Download 150Mbps, upload 50Mbps
TDD-LTE
Download 130Mbps, upload 30Mbps
WCDMA
Download 384Kbps, upload 384Kbps

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
6
EDGE
Download 296Kbps, upload 236.8Kbps
GPRS
Download 107Kbps, upload 85.6Kbps
Hardware
Serial Port Type
1 x RS-232/RS-485,software selection
Baud Rate
RS232:2400bps - 460800bps
RS485:2400bps - 230400bps
Port Connector
Pluggable industrial terminal block
Serial Signals
RS232:TX RX GND RS485:A B GND
Serial Port Protection
ESD: IEC 61000-4-2 Level 4
Surge: IEC 61000-4-5 Level 3
EFT: IEC 61000-4-5 Level 3
Power Interface
Pluggable industrial terminal block
Power Interface
Protection
ESD: IEC 61000-4-2 Level 4
Surge: IEC 61000-4-5 Level 3
EFT: IEC 61000-4-4 Level 3
Anti-reverse protection
Power Input
DC 9V~36V
Consumption
Working current: 77mA@12V Peak current:165mA@12V
RS485 Pull-down
resistance
2.2KΩ
SIM card slot
1,8V/3V, drawer-type slot
Antenna
1 x SMA Female interface
Working Temperature
-35℃- 75℃
Storage Temperature
-40℃- 90℃
Ambient Humidity
5 ~ 95% (non-condensing)
Indicators
Power,Work,Net,LinkA
Enclosure
Metal casing
Protection Rating
IP30
Installation
Wall-mounting
Dimension(mm)
112.2*94*28(L*W*H)
Software
Work mode
Transparent mode, HTTPD mode, SMS mode
Configuration
Serial AT command,Net AT command,SMS AT
command,windows utility
Network Protocol
TCP/UDP/DNS/HTTP/FTP
Maximum NO. Of TCP
connection
2
Network Access
APN, VPDN
Modbus RTU/TCP
protocol conversion
Support
SMS functions
Support
Heartbeat packet
Support
Identity packet
mechanism
User defined identity packet/ICCID /IMEI
FTP upgrade
Support

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
8
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.
Blinking after system run
NET
Network status.
Always on after registering
the network
LINKA
Socket A connection status
Always on after socket A
connection

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
9
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
(optional)
Power cord
Required additional testing tools:
RS232 serial to USB cable
PC

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
10
2.3.2. Installing SIM card and antenna
Press and hold the ejection button of the sim card holder to eject it and install the sim card.
Install the antenna.Gently rotate the movable part of the metal SMA male connector to the end
with your hand, until the external threads of the antenna SMA female connector cannot be seen.
2.3.3. Serial Connecting
Remove the terminal from the device during installation, loosen the locking screws on the terminal,
connect the corresponding wires to the terminal, and tighten the screws.
RS232: When connecting to a RS232 serial device, connect TX of RS232 interface of G786-G to RX of
the serial device, RX of G786-G to TX of the serial device, GND to GND.
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

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
11
“WORK” LED will blink after power on.
3. Utility Configuration
3.1. Download the Utility
Please download the utility from our official website:
https://www.pusr.com/support/downloads/usr_g786_g-setup-software-v1.0.1.html
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.
Step2: Select the work mode of DTU, transparent mode.
Step3: Select a transparent transmission protocol.
Step4: If you want to change the serial port parameters of the DTU in accord with the connected
device,please change the parameters here. You can also enable modbusRTU/TCP conversion by click
the “modbus change” option.

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
12
Step5: Save all configuration parameters,please click “save current parameters” button. G786 will save
the configuration and restart automatically. If you changed serial parameters,please check the step1
before continuing.
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
Baud rate
RS232: 2400,4800,9600,14400,19200,28800,
33600,38400,57600,115200,230400,460800
RS485: 2400,4800,9600,14400,19200,28800,
33600,38400,57600,115200,230400
Data bits
8
Stop bits
1,2

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
13
Parity bit
NONE
EVEN
ODD
4.2. Framing mechanism
4.2.1. Time Trigger
When G786-G receives data from the UART, it continuously checks the interval of two adjacent bytes. If
the interval time is greater or equal to a certain "time threshold", then a frame is considered finished,
otherwise the data is received until greater or equal to the packet length byte set. This frame is sent to
the network as a TCP or UDP packet. The "time threshold" here is the time between packages. The
range of settable is 100ms~60000ms.Factory default: 100ms.
This parameter can be set by AT command, AT+UARTFT=<time>.
4.2.2. Length trigger
When G786-G receives data from the UART, it constantly checks the number of bytes received. If the
number of bytes received is equal to a certain "length threshold", a frame is considered to have ended,
otherwise the packaging time is waiting for the end. This frame is sent to the network as a TCP or UDP
packet. The "length threshold" here is the package length. The settable range is 100~1000.Factory
default 1000.
(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>.

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
14
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
AT+CMDPT=RS232
Data sent from network is output on 232 serial port.
AT+CMDPT=RS485
Data sent from network is output on 485 serial port.
AT+CMDPT=RSALL
Data sent from network is output on 232 and 485 port.
(Default)
In order to ensure the data output efficiency, please select one serial port as the network data output port
according to needs.
5. Selecting an Operating Mode
USR-G786-G has three working modes: net transparent mode, HTTPD Client mode and SMS mode.
5.1. Net Transparent Mode

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
15
In this mode, user's serial device can directly send data to the specified network server through G786-G. Module
can also receive data from the server and directly forward to the serial device.
In this mode, users do not need to pay attention to the data conversion process between serial port and network
data packets. They only need to set simple parameters to realize the transparent transmission of data between
serial devices and network servers.
G786-G supports 2 socket connections, Socket A and Socket B, which are independent of each other. Only Socket
A supports as TCP Client, TCP Server and UDP Client.Socket B only supports TCP Client and UDP Client .
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
1Set parameters by software:

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
16
1. Open the setup software. Set the Serial port parameters according to the serial device and click "Open PC
Serial".
2. Click "Enter Serial AT command mode" and wait for the device to enter AT command mode.
3. Click "Query all parameters" and wait for obtaining all current parameters.
4. In "Choose Work Mode" , select "Transparent Mode".
5. Set "IP&Port" to test.usr.cn and 2317, link type to TCPC(TCP Client).
6. Check "More". If using an APN card, need to set the APN information.
7. Set APN parameter: CMNET,,,0. E.g: APN: CMNET, username: empty, password: empty, authentication
method: NONE.
8. Click "Save current parameters".
9. 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.

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
17
2Set by AT command:
1. Set the work mode to net transparent transmission:
AT+WKMOD=NET
2. Enable socket A:
AT+SOCKAEN=ON
3. Set socket A to TCP Client:
AT+SOCKA=TCPC,test.usr.cn,2317
4. Set APN. E.g: APN is CMNET, username is empty, password is empty, authentication method is NONE:
AT+APN=CMNET,,,0
5. Reboot:
AT+Z
3Test
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.

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
18
5.1.2.TCP Server Mode
TCP Server function needs to be test through an APN dedicated network card.
1Set parameters by setup software:
Device works as TCP Server, and need to be filled in the IP and port of itself in"IP & Port".
2Set by AT command:
1. Set the work mode to net transparent mode:
AT+WKMOD=NET
2. Enable socket A:
AT+SOCKAEN=ON
3. Set socket A as TCP Server, local port 2317, IP has no reference meaning in Server:
AT+SOCKA=TCPS,test.usr.cn,2317
4. Set APN. E.g: APN:CMNET, username: empty, password: empty, authentication method: NONE:
AT+APN=CMNET,,,0
5. Reboot:
AT+Z

USR-G786-G User Manual Technical Support: h.usriot.com
Jinan USR IOT Technology Limited www.pusr.com
19
5.1.3.UDP Client Mode
1Set parameters by software:
Set the link type to UDPC, fill in the IP and port of UDC server.
2Set by AT command:
1. Set the work mode to net transparent mode:
AT+WKMOD=NET
2. Enable socket A:
AT+SOCKAEN=ON
3. Set socket A as UDP Client, port 2317:
AT+SOCKA=UDPC,test.usr.cn,2317
4. Set APN. E.g: APN:CMNET, username: empty, password: empty, authentication method: NONE:
AT+APN=CMNET,,,0
5. Reboot:
AT+Z
3Test
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
Other manuals for USR-G786-G
1
Table of contents
Other USR IOT Modem manuals

USR IOT
USR IOT USR-G760c User manual

USR IOT
USR IOT USR-G771-E User manual

USR IOT
USR IOT USR-G771-E User manual

USR IOT
USR IOT USR-GPRS232-730 User manual

USR IOT
USR IOT USR-G786-G User manual

USR IOT
USR IOT USR-MB706 User manual

USR IOT
USR IOT USR-DR504-E Mounting instructions

USR IOT
USR IOT USR-G806 Installation and operation manual

USR IOT
USR IOT USR-G761w User manual

USR IOT
USR IOT USR-G781 User manual