USR-DR13X User Manual
AT+MODCMD=1, cmd // Where CMD is the Modbus polling command for setting and querying.
After sending AT command, the USR-DR13X should be restart(AT+Z).
Reporting Protocol: It can be selected as Modbus RTU transparent transmission reporting or Json reporting.
The Json data format is as follows:
{
"id":"Device MAC",
"cmd":"Modubs query command",
"rsp":"Modbus response data"
}
Figure 42. Modbus poll function
Figure 43. Parameters setting