RS485-LN Modbus issue

267 views
Skip to first unread message

Ryan Cravey

unread,
Jun 22, 2022, 6:35:35 PM6/22/22
to Dragino-user
Testing that RS485-LN (v1.3) with our sensors and hitting a roadblock.  I have configured AT+COMMAND1 and AT+DATACUT1 commands, but still not seeing  CMD1=, RETURN1= and Payload= transactions.  

DRAGINO RS485-LN Device
Image Version: v1.3
LoRaWan Stack: DR-LWS-005
Frequency Band: US915


With the RS485-LN connected to one of our sensors and connected via Termite, I am able to poll the Modbus registry utilizing the AT+CFGDEV command:

AT+CFGDEV=01 03 00 00 00 01,1
RETURN DATA:01 03 02 00 14 b8 4b 80 

I'm looking to pull a single data field from the following copy of the return below:

RETURN DATA: 01 03 02 00 14 b8 4b 80 

Byte 1 (Slave Address):  01
Byte 2 (Read Function): 03
Byte 3 (Total Number of Bytes): 02
Byte 4 and 5 (Register Data):  00 14
Byte 6 and 7 (CRC) b8 4b
Byte 8:  Not sure why the RETURN DATA is appending 80 on the end of the data string


I set the COMMAND1 and DATACUT1 to the following:

AT+COMMAND1=01 03 00 00 00 01 ,1
AT+DATACUT1=8,1,4+5

After setting these AT+ commands, I should start to see CMD1=, RETURN1= and Payload= transactions.  The only transactions that I am seeing are the following:

TX on freq 912.500 MHz at DR 3
RX on freq 923.300 MHz at DR 10
txDone
RX on freq 925.100 MHz at DR 13
RX on freq 923.300 MHz at DR 10


Just not sure why I am not able to see anything after the TX/RX statements above.

Below is a screenshot from the Termite interface:

termite_console.jpg

Reply all
Reply to author
Forward
0 new messages