<
From version < 61.34 >
edited by Xiaoling
on 2022/06/14 13:34
To version < 61.10 >
edited by Xiaoling
on 2022/06/14 11:41
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -80,11 +80,13 @@
80 80  ** Idle: 32mA@12v
81 81  ** 20dB Transmit: 65mA@12v
82 82  
83 +
83 83  **Interface for Model:**
84 84  
85 85  * RS485
86 86  * Power Input 7~~ 24V DC. 
87 87  
89 +
88 88  **LoRa Spec:**
89 89  
90 90  * Frequency Range:
... ... @@ -109,7 +109,6 @@
109 109  
110 110  
111 111  
112 -
113 113  == 1.3 Features ==
114 114  
115 115  * LoRaWAN Class A & Class C protocol (default Class C)
... ... @@ -124,7 +124,6 @@
124 124  
125 125  
126 126  
127 -
128 128  == 1.4 Applications ==
129 129  
130 130  * Smart Buildings & Home Automation
... ... @@ -137,7 +137,6 @@
137 137  
138 138  
139 139  
140 -
141 141  == 1.5 Firmware Change log ==
142 142  
143 143  [[RS485-LN Image files – Download link and Change log>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/]]
... ... @@ -595,13 +595,13 @@
595 595  * (((
596 596  (% style="color:#037691" %)**AT Command**
597 597  
598 -(((
599 -**AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m**  m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command
597 +**AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m**
598 +
599 +
600 600  )))
601 -)))
602 602  
603 603  (((
604 -
603 +m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command
605 605  )))
606 606  
607 607  * (((
... ... @@ -642,9 +642,7 @@
642 642  )))
643 643  
644 644  (((
645 -
646 -
647 -**Example 1**  ~-~-> Configure without ask for uplink (YY=0)
644 +**Example 1** ~-~-> Configure without ask for uplink (YY=0)
648 648  )))
649 649  
650 650  (((
... ... @@ -660,8 +660,6 @@
660 660  )))
661 661  
662 662  (((
663 -
664 -
665 665  So if user want to use downlink command to control to RS485 Alarm, he can use:
666 666  )))
667 667  
... ... @@ -682,7 +682,7 @@
682 682  )))
683 683  
684 684  (((
685 -**Example 2**  ~-~-> Configure with requesting uplink and original downlink command (**YY=FF**)
680 +**Example 2** ~-~-> Configure with requesting uplink and original downlink command (**YY=FF**)
686 686  )))
687 687  
688 688  (((
... ... @@ -694,11 +694,11 @@
694 694  )))
695 695  
696 696  (((
697 -(((
698 -RS485-LN got this downlink command and send (% style="color:#4f81bd" %)**0A 08 00 04 00 01 **(%%)to Modbus network. One of the RS485 sensor in the network send back Modbus reply **0A 08 00 04 00 00**. RS485-LN get this reply and combine with the original downlink command and uplink. The uplink message is:  **A8** (% style="color:#4f81bd" %)**0A 08 00 04 00  **(% style="color:red" %)**01 06** ** **(% style="color:green" %)**0A 08 00 04 00 00**
692 +RS485-LN got this downlink command and send (% style="color:#4f81bd" %)**0A 08 00 04 00 01 **(%%)to Modbus network. One of the RS485 sensor in the network send back Modbus reply **0A 08 00 04 00 00**. RS485-LN get this reply and combine with the original downlink command and uplink. The uplink message is:
699 699  )))
700 700  
701 -
695 +(((
696 + **A8** (% style="color:#4f81bd" %)**0A 08 00 04 00  **(% style="color:red" %)**01 06** ** **(% style="color:green" %)**0A 08 00 04 00 00**
702 702  )))
703 703  
704 704  (((
... ... @@ -708,7 +708,7 @@
708 708  
709 709  
710 710  
711 -==== (% style="color:blue" %)**Set Payload version**(%%) ====
706 +==== **Set Payload version** ====
712 712  
713 713  (((
714 714  This is the first byte of the uplink payload. RS485-LN can connect to different sensors. User can set the PAYVER field to tell server how to decode the current payload.
... ... @@ -715,28 +715,32 @@
715 715  )))
716 716  
717 717  * (((
718 -(% style="color:#037691" %)**AT Command:**
713 +**AT Command:**
714 +)))
719 719  
720 -**AT+PAYVER:    **Set PAYVER field = 1
721 -
722 -
716 +(% class="box infomessage" %)
717 +(((
718 +(((
719 +**AT+PAYVER: Set PAYVER field = 1**
723 723  )))
721 +)))
722 +
724 724  * (((
725 -(% style="color:#037691" %)**Downlink Payload:**
724 +**Downlink Payload:**
726 726  )))
727 727  
728 728  (((
729 -**0xAE 01**  ~-~->  Set PAYVER field =  0x01
728 +**0xAE 01**  ~-~-> Set PAYVER field =  0x01
730 730  )))
731 731  
732 732  (((
733 -**0xAE 0F**   ~-~->  Set PAYVER field =  0x0F
732 +**0xAE 0F**   ~-~-> Set PAYVER field =  0x0F
734 734  )))
735 735  
736 736  
737 737  
738 738  
739 -==== (% style="color:blue" %)**Set RS485 Sampling Commands**(%%) ====
738 +==== **Set RS485 Sampling Commands** ====
740 740  
741 741  (((
742 742  AT+COMMANDx or AT+DATACUTx
... ... @@ -751,16 +751,29 @@
751 751  )))
752 752  
753 753  * (((
754 -(% style="color:#037691" %)**AT Command:**
753 +**AT Command:**
755 755  )))
756 756  
757 -**AT+COMMANDx:    **Configure RS485 read command to sensor.
756 +(% class="box infomessage" %)
757 +(((
758 +(((
759 +**AT+COMMANDx: Configure RS485 read command to sensor.**
760 +)))
761 +)))
758 758  
759 -**AT+DATACUTx:        **Configure how to handle return from RS485 devices.
763 +(% class="box infomessage" %)
764 +(((
765 +(((
766 +**AT+DATACUTx: Configure how to handle return from RS485 devices.**
767 +)))
768 +)))
760 760  
770 +(((
771 +
772 +)))
761 761  
762 762  * (((
763 -(% style="color:#037691" %)**Downlink Payload:**
775 +**Downlink Payload:**
764 764  )))
765 765  
766 766  (((
... ... @@ -796,8 +796,6 @@
796 796  )))
797 797  
798 798  (((
799 -
800 -
801 801  **Example:**
802 802  )))
803 803  
... ... @@ -816,10 +816,10 @@
816 816  
817 817  
818 818  
819 -==== (% style="color:blue" %)**Fast command to handle MODBUS device**(%%) ====
829 +==== **Fast command to handle MODBUS device** ====
820 820  
821 821  (((
822 -**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>>url:https://www.modbustools.com/modbus.html]].
832 +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>>url:https://www.modbustools.com/modbus.html]].
823 823  )))
824 824  
825 825  (((
... ... @@ -839,25 +839,23 @@
839 839  )))
840 840  
841 841  * (((
842 -AT+MBFUN=1 and AT+DATACUT1/AT+DATACUT2  are not configure (0,0,0). So RS485-LN.
852 +AT+MBFUN=1 and AT+DATACUT1/AT+DATACUT2 are not configure (0,0,0). So RS485-LN.
843 843  )))
844 844  * (((
845 -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.
855 +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.
846 846  )))
847 847  * (((
848 -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.
849 -
850 -
858 +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.
851 851  )))
852 852  
853 -(% aria-label="image-20220602165351-6.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-6.png||data-widget="image"]](% title="Click and drag to resize" %)​
861 +(% aria-label="image-20220602165351-6.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-6.png||data-widget="image"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
854 854  
855 -(% aria-label="image-20220602165351-7.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-7.png||data-widget="image"]](% title="Click and drag to resize" %)​
863 +(% aria-label="image-20220602165351-7.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-7.png||data-widget="image"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
856 856  
857 857  
858 858  
859 859  
860 -==== (% style="color:blue" %)**RS485 command timeout**(%%) ====
868 +==== **RS485 command timeout** ====
861 861  
862 862  (((
863 863  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.
... ... @@ -868,14 +868,17 @@
868 868  )))
869 869  
870 870  * (((
871 -(% style="color:#037691" %)** AT Command:**
879 +**AT Command:**
880 +)))
872 872  
882 +(% class="box infomessage" %)
883 +(((
884 +(((
873 873  **AT+CMDDLaa=hex(bb cc)*1000**
874 874  )))
887 +)))
875 875  
876 876  (((
877 -
878 -
879 879  **Example:**
880 880  )))
881 881  
... ... @@ -888,7 +888,7 @@
888 888  )))
889 889  
890 890  * (((
891 -(% style="color:#037691" %)** Downlink Payload:**
902 +**Downlink Payload:**
892 892  )))
893 893  
894 894  (((
... ... @@ -900,17 +900,17 @@
900 900  )))
901 901  
902 902  (((
903 -**Example:**
914 + **Example:**
904 904  )))
905 905  
906 906  (((
907 -**0xAA 01 00 01**  ~-~-> Same as  **AT+CMDDL1=1000 ms**
918 + 0xAA 01 00 01  ~-~-> Same as **AT+CMDDL1=1000 ms**
908 908  )))
909 909  
910 910  
911 911  
912 912  
913 -==== (% style="color:blue" %)**Uplink payload mode**(%%) ====
924 +==== **Uplink payload mode** ====
914 914  
915 915  (((
916 916  Define to use one uplink or multiple uplinks for the sampling.
... ... @@ -918,21 +918,32 @@
918 918  
919 919  (((
920 920  The use of this command please see: [[Compose Uplink payload>>||anchor="H3.3.4Composetheuplinkpayload"]]
921 -
922 -
923 923  )))
924 924  
925 925  * (((
926 -(% style="color:#037691" %)** AT Command:**
935 +**AT Command:**
927 927  )))
928 928  
938 +(% class="box infomessage" %)
939 +(((
940 +(((
929 929  **AT+DATAUP=0**
942 +)))
943 +)))
930 930  
945 +(% class="box infomessage" %)
946 +(((
947 +(((
931 931  **AT+DATAUP=1**
949 +)))
950 +)))
932 932  
952 +(((
953 +
954 +)))
933 933  
934 934  * (((
935 -(% style="color:#037691" %)** Downlink Payload:**
957 +**Downlink Payload:**
936 936  )))
937 937  
938 938  (((
... ... @@ -946,7 +946,7 @@
946 946  
947 947  
948 948  
949 -==== (% style="color:blue" %)**Manually trigger an Uplink**(%%) ====
971 +==== **Manually trigger an Uplink** ====
950 950  
951 951  (((
952 952  Ask device to send an uplink immediately.
... ... @@ -953,7 +953,7 @@
953 953  )))
954 954  
955 955  * (((
956 -(% style="color:#037691" %)** AT Command:**
978 +**AT Command:**
957 957  )))
958 958  
959 959  (((
... ... @@ -965,7 +965,7 @@
965 965  )))
966 966  
967 967  * (((
968 -(% style="color:#037691" %)** Downlink Payload:**
990 +**Downlink Payload:**
969 969  )))
970 970  
971 971  (((
... ... @@ -975,16 +975,14 @@
975 975  
976 976  
977 977  
978 -==== (% style="color:blue" %)**Clear RS485 Command**(%%) ====
1000 +==== **Clear RS485 Command** ====
979 979  
980 980  (((
981 981  The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them.
982 -
983 -
984 984  )))
985 985  
986 986  * (((
987 -(% style="color:#037691" %)** AT Command:**
1007 +**AT Command:**
988 988  )))
989 989  
990 990  (((
... ... @@ -1011,7 +1011,7 @@
1011 1011  
1012 1012  
1013 1013  * (((
1014 -(% style="color:#037691" %)** Downlink Payload:**
1034 +**Downlink Payload:**
1015 1015  )))
1016 1016  
1017 1017  (((
... ... @@ -1021,7 +1021,7 @@
1021 1021  
1022 1022  
1023 1023  
1024 -==== (% style="color:blue" %)**Set Serial Communication Parameters**(%%) ====
1044 +==== **Set Serial Communication Parameters** ====
1025 1025  
1026 1026  (((
1027 1027  Set the Rs485 serial communication parameters:
... ... @@ -1028,39 +1028,52 @@
1028 1028  )))
1029 1029  
1030 1030  * (((
1031 -(% style="color:#037691" %)** AT Command:**
1051 +**AT Command:**
1032 1032  )))
1033 1033  
1034 1034  (((
1035 -
1036 -
1037 -* Set Baud Rate
1055 +Set Baud Rate:
1038 1038  )))
1039 1039  
1058 +(% class="box infomessage" %)
1059 +(((
1060 +(((
1040 1040  **AT+BAUDR=9600**    ~/~/ Options: (1200,2400,4800,14400,19200,115200)
1062 +)))
1063 +)))
1041 1041  
1042 -
1043 1043  (((
1044 -* Set UART Parity
1066 +Set UART Parity
1045 1045  )))
1046 1046  
1069 +(% class="box infomessage" %)
1070 +(((
1071 +(((
1047 1047  **AT+PARITY=0**    ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity
1073 +)))
1074 +)))
1048 1048  
1049 -
1050 1050  (((
1051 -* Set STOPBIT
1077 +Set STOPBIT
1052 1052  )))
1053 1053  
1080 +(% class="box infomessage" %)
1081 +(((
1082 +(((
1054 1054  **AT+STOPBIT=0**    ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits
1084 +)))
1085 +)))
1055 1055  
1087 +(((
1088 +
1089 +)))
1056 1056  
1057 -
1058 1058  * (((
1059 -(% style="color:#037691" %)** Downlink Payload:**
1092 +**Downlink Payload:**
1060 1060  )))
1061 1061  
1062 1062  (((
1063 -**A7 01 aa bb**:  Same  AT+BAUDR=hex(aa bb)*100
1096 +**A7 01 aa bb**: Same  AT+BAUDR=hex(aa bb)*100
1064 1064  )))
1065 1065  
1066 1066  (((
... ... @@ -1075,11 +1075,11 @@
1075 1075  )))
1076 1076  
1077 1077  (((
1078 -A7 02 aa:  Same as  AT+PARITY=aa  (aa value: 00 , 01 or 02)
1111 +A7 02 aa: Same as  AT+PARITY=aa  (aa value: 00 , 01 or 02)
1079 1079  )))
1080 1080  
1081 1081  (((
1082 -A7 03 aa:  Same as  AT+STOPBIT=aa  (aa value: 00 , 01 or 02)
1115 +A7 03 aa: Same as  AT+STOPBIT=aa  (aa value: 00 , 01 or 02)
1083 1083  )))
1084 1084  
1085 1085  
... ... @@ -1133,7 +1133,7 @@
1133 1133  )))
1134 1134  
1135 1135  (((
1136 -(% style="color:#037691" %)** Downlink Command:**
1169 +**Downlink Command:**
1137 1137  )))
1138 1138  
1139 1139  (((
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0