User's Manual
www.dragino.com
RS485 to LoRaWAN Converter User Manual 23 / 30
NN: 0: no CRC; 1: add CRC-16/MODBUS ; 2: set the AT+DATACUT value.
LL: The length of AT+COMMAND or AT+DATACUT command
XX XX XX XX: AT+COMMAND or AT+DATACUT command
YY: If YY=0, RS485-LN will execute the downlink command without uplink; if YY=1, RS485-LN
will execute an uplink after got this command.
Example:
AF 03 01 06 0A 05 00 04 00 01 00: Same as AT+COMMAND3=0A 05 00 04 00 01,1
AF 03 02 06 10 01 05 06 09 0A 00: Same as AT+DATACUT3=16,1,5+6+9+10
AF 03 02 06 0B 02 05 07 08 0A 00: Same as AT+DATACUT3=11,2,5~7+8~10
Fast command to handle MODBUS device
AT+MBFUN is valid since v1.3 firmware version. The command is for fast configure to read
Modbus devices. It is only valid for the devices which follow the MODBUS-RTU protocol.
This command is valid since v1.3 firmware version
AT+MBFUN can auto read the Modbus function code: 01, 02, 03 or 04. AT+MBFUN has lower
priority vs AT+DATACUT command. If AT+DATACUT command is configured, AT+MBFUN will be
ignore.
Example:
➢ AT+MBFUN=1 and AT+DATACUT1/AT+DATACUT2 are not configure (0,0,0). So RS485-LN.
➢ AT+COMMAND1= 01 03 00 10 00 08,1 --> read slave address 01 , function code 03, start
address 00 01, quantity of registers 00 08.
➢ AT+COMMAND2= 01 02 00 40 00 10,1 --> read slave address 01 , function code 02, start
address 00 40, quantity of inputs 00 10.










