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

Summary

Details

Page properties
Content
... ... @@ -662,16 +662,15 @@
662 662  
663 663  ==== **RS485 command timeout** ====
664 664  
665 -Some Modbus device has slow action to send replies. This command is used to configure the RS485-BL to use longer time to wait for their action.
665 +Some Modbus device has slow action to send replies. This command is used to configure the RS485-LN to use longer time to wait for their action.
666 666  
667 -Default value: 0, range:  0 ~~ 5 seconds
667 +Default value: 0, range:  0 ~~ 65 seconds
668 668  
669 -
670 670  * **AT Command:**
671 671  
672 672  (% class="box infomessage" %)
673 673  (((
674 -**AT+CMDDLaa=hex(bb cc)**
673 +**AT+CMDDLaa=hex(bb cc)*1000**
675 675  )))
676 676  
677 677  **Example:**
... ... @@ -681,13 +681,13 @@
681 681  
682 682  * **Downlink Payload:**
683 683  
684 -0x AA aa bb cc
683 +**0x AA aa bb cc**
685 685  
686 -Same as: AT+CMDDLaa=hex(bb cc)
685 +Same as: AT+CMDDLaa=hex(bb cc)*1000
687 687  
688 688   **Example:**
689 689  
690 - **0xAA 01 03 E8**  ~-~-> Same as **AT+CMDDL1=1000 ms**
689 + 0xAA 01 00 01  ~-~-> Same as **AT+CMDDL1=1000 ms**
691 691  
692 692  
693 693  
... ... @@ -722,27 +722,34 @@
722 722  
723 723  Ask device to send an uplink immediately.
724 724  
724 +* **AT Command:**
725 +
726 +No AT Command for this, user can press the [[ACT button>>path:#Button]] for 1 second for the same.
727 +
728 +
725 725  * **Downlink Payload:**
726 726  
727 -**0x08 FF**, RS485-BL will immediately send an uplink.
731 +**0x08 FF**, RS485-LN will immediately send an uplink.
728 728  
729 729  
734 +==== ====
730 730  
731 731  ==== **Clear RS485 Command** ====
732 732  
733 733  The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them.
734 734  
735 -
736 736  * **AT Command:**
737 737  
738 -(% 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
742 +**AT+CMDEAR=mm,nn**   mm: start position of erase ,nn: stop position of erase
739 739  
744 +Etc. AT+CMDEAR=1,10 means erase AT+COMMAND1/AT+DATACUT1 to AT+COMMAND10/AT+DATACUT10
745 +
740 740  Example screen shot after clear all RS485 commands. 
741 741  
742 742  
743 743  The uplink screen shot is:
744 744  
745 -[[image:1654134704555-320.png]]
751 +[[image:1654160691922-496.png]][[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png]]
746 746  
747 747  
748 748  * **Downlink Payload:**
... ... @@ -793,22 +793,45 @@
793 793  A7 03 aa: Same as  AT+STOPBIT=aa  (aa value: 00 , 01 or 02)
794 794  
795 795  
802 +== 3.6 Listening mode for RS485 network ==
796 796  
797 -==== **Control output power duration** ====
804 +This feature support since firmware v1.4
798 798  
799 -User can set the output power duration before each sampling.
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.
800 800  
801 -* **AT Command:**
808 +[[image:image-20220602171200-8.png||height="567" width="1007"]]
802 802  
803 -**Example:**
810 +To enable the listening mode, use can run the command AT+RXMODE.
804 804  
805 -**AT+3V3T=1000**  ~/~/ 3V3 output power will open 1s before each sampling.
806 806  
807 -**AT+5VT=1000**  ~/~/ +5V output power will open 1s before each sampling.
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)
808 808  
820 +**Downlink Command:**
809 809  
810 -* **LoRaWAN Downlink Command:**
822 +**0xA6 aa bb cc ** same as AT+RXMODE=aa,(bb<<8 | cc)
811 811  
812 -**07 01 aa bb**  Same as AT+5VT=(aa bb)
813 813  
814 -**07 02 aa bb**  Same as AT+3V3T=(aa bb)
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 +==== ====
1654160691922-496.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +109.3 KB
Content
image-20220602171200-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +276.1 KB
Content
image-20220602171200-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +10.0 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0