<
From version < 47.2 >
edited by Xiaoling
on 2022/06/02 17:18
To version < 45.2 >
edited by Xiaoling
on 2022/06/02 17:04
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -737,6 +737,7 @@
737 737  
738 738  The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them.
739 739  
740 +
740 740  * **AT Command:**
741 741  
742 742  **AT+CMDEAR=mm,nn**   mm: start position of erase ,nn: stop position of erase
... ... @@ -743,7 +743,7 @@
743 743  
744 744  Etc. AT+CMDEAR=1,10 means erase AT+COMMAND1/AT+DATACUT1 to AT+COMMAND10/AT+DATACUT10
745 745  
746 -Example screen shot after clear all RS485 commands. 
747 +Example screen shot after clear all RS485 commands.
747 747  
748 748  
749 749  The uplink screen shot is:
... ... @@ -751,6 +751,28 @@
751 751  [[image:1654160691922-496.png]][[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png]]
752 752  
753 753  
755 +* Downlink Payload:
756 +
757 +0x09 aa bb same as AT+CMDEAR=aa,bb
758 +
759 +
760 +==== **Clear RS485 Command** ====
761 +
762 +The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them.
763 +
764 +
765 +* **AT Command:**
766 +
767 +(% style="color:#037691" %)**AT+CMDEAR=mm,nn** (%%) mm: start position of erase ,nn: stop position of erase Etc. AT+CMDEAR=1,10 means erase AT+COMMAND1/AT+DATACUT1 to AT+COMMAND10/AT+DATACUT10
768 +
769 +Example screen shot after clear all RS485 commands. 
770 +
771 +
772 +The uplink screen shot is:
773 +
774 +[[image:1654134704555-320.png]]
775 +
776 +
754 754  * **Downlink Payload:**
755 755  
756 756  **0x09 aa bb** same as AT+CMDEAR=aa,bb
... ... @@ -799,45 +799,22 @@
799 799  A7 03 aa: Same as  AT+STOPBIT=aa  (aa value: 00 , 01 or 02)
800 800  
801 801  
802 -== 3.6 Listening mode for RS485 network ==
803 803  
804 -This feature support since firmware v1.4
826 +==== **Control output power duration** ====
805 805  
806 -RS485-LN supports listening mode, it can listen the RS485 network packets and send them via LoRaWAN uplink. Below is the structure. The blue arrow shows the RS485 network packets to RS485-LN.
828 +User can set the output power duration before each sampling.
807 807  
808 -[[image:image-20220602171200-8.png||height="567" width="1007"]]
830 +* **AT Command:**
809 809  
810 -To enable the listening mode, use can run the command AT+RXMODE.
832 +**Example:**
811 811  
834 +**AT+3V3T=1000**  ~/~/ 3V3 output power will open 1s before each sampling.
812 812  
813 -(% border="1" style="background-color:#ffffcc; width:500px" %)
814 -|=(% style="width: 161px;" %)**Command example:**|=(% style="width: 337px;" %)**Function**
815 -|(% style="width:161px" %)AT+RXMODE=1,10 |(% style="width:337px" %)Enable listening mode 1, if RS485-LN has received more than 10 RS485 commands from the network. RS485-LN will send these commands via LoRaWAN uplinks.
816 -|(% style="width:161px" %)AT+RXMODE=2,500|(% style="width:337px" %)Enable listening mode 2, RS485-LN will capture and send a 500ms content once from the first detect of character. Max value is 65535 ms
817 -|(% style="width:161px" %)AT+RXMODE=0,0|(% style="width:337px" %)Disable listening mode. This is the default settings.
818 -|(% style="width:161px" %) |(% style="width:337px" %)A6 aa bb cc  same as AT+RXMODE=aa,(bb<<8 ~| cc)
836 +**AT+5VT=1000**  ~/~/ +5V output power will open 1s before each sampling.
819 819  
820 -**Downlink Command:**
821 821  
822 -**0xA6 aa bb cc ** same as AT+RXMODE=aa,(bb<<8 | cc)
839 +* **LoRaWAN Downlink Command:**
823 823  
841 +**07 01 aa bb**  Same as AT+5VT=(aa bb)
824 824  
825 -**Example**:
826 -
827 -The RS485-LN is set to AT+RXMODE=2,1000
828 -
829 -There is a two Modbus commands in the RS485 network as below:
830 -
831 -The Modbus master send a command: (% style="background-color:#ffc000" %)01 03 00 00 00 02 c4 0b
832 -
833 -And Modbus slave reply with: (% style="background-color:green" %)01 03 04 00 00 00 00 fa 33
834 -
835 -RS485-LN will capture both and send the uplink: (% style="background-color:#ffc000" %)01 03 00 00 00 02 c4 0b  (% style="background-color:green" %)01 03 04 00 00 00 00 fa 33
836 -
837 -[[image:image-20220602171200-9.png]]
838 -
839 -
840 -Notice: Listening mode can work with the default polling mode of RS485-LN. When RS485-LN is in to send the RS485 commands (from AT+COMMANDx), the listening mode will be interrupt for a while.
841 -
842 -
843 -==== ====
843 +**07 02 aa bb**  Same as AT+3V3T=(aa bb)
image-20220602171200-8.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -276.1 KB
Content
image-20220602171200-9.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -10.0 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0