<
From version < 58.18 >
edited by Xiaoling
on 2022/06/06 11:23
To version < 58.9 >
edited by Xiaoling
on 2022/06/06 11:22
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -831,256 +831,142 @@
831 831  
832 832  
833 833  
834 -
835 835  ==== **RS485 command timeout** ====
836 836  
837 -(((
838 838  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.
839 -)))
840 840  
841 -(((
842 842  Default value: 0, range:  0 ~~ 65 seconds
843 -)))
844 844  
845 -* (((
846 -**AT Command:**
847 -)))
840 +* **AT Command:**
848 848  
849 849  (% class="box infomessage" %)
850 850  (((
851 -(((
852 852  **AT+CMDDLaa=hex(bb cc)*1000**
853 853  )))
854 -)))
855 855  
856 -(((
857 857  **Example:**
858 -)))
859 859  
860 -(((
861 861  **AT+CMDDL1=1000** to send the open time to 1000ms
862 -)))
863 863  
864 -(((
865 -
866 -)))
867 867  
868 -* (((
869 -**Downlink Payload:**
870 -)))
852 +* **Downlink Payload:**
871 871  
872 -(((
873 873  **0x AA aa bb cc**
874 -)))
875 875  
876 -(((
877 877  Same as: AT+CMDDLaa=hex(bb cc)*1000
878 -)))
879 879  
880 -(((
881 881   **Example:**
882 -)))
883 883  
884 -(((
885 885   0xAA 01 00 01  ~-~-> Same as **AT+CMDDL1=1000 ms**
886 -)))
887 887  
888 888  
889 889  
890 -
891 891  ==== **Uplink payload mode** ====
892 892  
893 -(((
894 894  Define to use one uplink or multiple uplinks for the sampling.
895 -)))
896 896  
897 -(((
898 898  The use of this command please see: [[Compose Uplink payload>>||anchor="H3.3.4Composetheuplinkpayload"]]
899 -)))
900 900  
901 -* (((
902 -**AT Command:**
903 -)))
870 +* **AT Command:**
904 904  
905 905  (% class="box infomessage" %)
906 906  (((
907 -(((
908 908  **AT+DATAUP=0**
909 909  )))
910 -)))
911 911  
912 912  (% class="box infomessage" %)
913 913  (((
914 -(((
915 915  **AT+DATAUP=1**
916 916  )))
917 -)))
918 918  
919 -(((
920 -
921 -)))
922 922  
923 -* (((
924 -**Downlink Payload:**
925 -)))
883 +* **Downlink Payload:**
926 926  
927 -(((
928 928  **0xAD 00**  **~-~->** Same as AT+DATAUP=0
929 -)))
930 930  
931 -(((
932 932  **0xAD 01**  **~-~->** Same as AT+DATAUP=1
933 -)))
934 934  
935 935  
936 936  
937 -
938 938  ==== **Manually trigger an Uplink** ====
939 939  
940 -(((
941 941  Ask device to send an uplink immediately.
942 -)))
943 943  
944 -* (((
945 -**AT Command:**
946 -)))
895 +* **AT Command:**
947 947  
948 -(((
949 949  No AT Command for this, user can press the [[ACT button>>||anchor="H3.7Buttons"]] for 1 second for the same.
950 -)))
951 951  
952 -(((
953 -
954 -)))
955 955  
956 -* (((
957 -**Downlink Payload:**
958 -)))
900 +* **Downlink Payload:**
959 959  
960 -(((
961 961  **0x08 FF**, RS485-LN will immediately send an uplink.
962 -)))
963 963  
964 964  
965 965  
966 -
967 967  ==== **Clear RS485 Command** ====
968 968  
969 -(((
970 970  The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them.
971 -)))
972 972  
973 -* (((
974 -**AT Command:**
975 -)))
910 +* **AT Command:**
976 976  
977 -(((
978 978  **AT+CMDEAR=mm,nn**   mm: start position of erase ,nn: stop position of erase
979 -)))
980 980  
981 -(((
982 982  Etc. AT+CMDEAR=1,10 means erase AT+COMMAND1/AT+DATACUT1 to AT+COMMAND10/AT+DATACUT10
983 -)))
984 984  
985 -(((
986 986  Example screen shot after clear all RS485 commands. 
987 -)))
988 988  
989 -(((
990 -
991 -)))
992 992  
993 -(((
994 994  The uplink screen shot is:
995 -)))
996 996  
997 997  [[image:1654160691922-496.png]]
998 998  
999 999  
1000 -* (((
1001 -**Downlink Payload:**
1002 -)))
924 +* **Downlink Payload:**
1003 1003  
1004 -(((
1005 1005  **0x09 aa bb** same as AT+CMDEAR=aa,bb
1006 -)))
1007 1007  
1008 1008  
1009 1009  
1010 -
1011 1011  ==== **Set Serial Communication Parameters** ====
1012 1012  
1013 -(((
1014 1014  Set the Rs485 serial communication parameters:
1015 -)))
1016 1016  
1017 -* (((
1018 -**AT Command:**
1019 -)))
934 +* **AT Command:**
1020 1020  
1021 -(((
1022 1022  Set Baud Rate:
1023 -)))
1024 1024  
1025 1025  (% class="box infomessage" %)
1026 1026  (((
1027 -(((
1028 1028  **AT+BAUDR=9600**    ~/~/ Options: (1200,2400,4800,14400,19200,115200)
1029 1029  )))
1030 -)))
1031 1031  
1032 -(((
1033 1033  Set UART Parity
1034 -)))
1035 1035  
1036 1036  (% class="box infomessage" %)
1037 1037  (((
1038 -(((
1039 1039  **AT+PARITY=0**    ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity
1040 1040  )))
1041 -)))
1042 1042  
1043 -(((
1044 1044  Set STOPBIT
1045 -)))
1046 1046  
1047 1047  (% class="box infomessage" %)
1048 1048  (((
1049 -(((
1050 1050  **AT+STOPBIT=0**    ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits
1051 1051  )))
1052 -)))
1053 1053  
1054 -(((
1055 -
1056 -)))
1057 1057  
1058 -* (((
1059 -**Downlink Payload:**
1060 -)))
958 +* **Downlink Payload:**
1061 1061  
1062 -(((
1063 1063  **A7 01 aa bb**: Same  AT+BAUDR=hex(aa bb)*100
1064 -)))
1065 1065  
1066 -(((
1067 1067  **Example:**
1068 -)))
1069 1069  
1070 -* (((
1071 -A7 01 00 60   same as AT+BAUDR=9600
1072 -)))
1073 -* (((
1074 -A7 01 04 80  same as AT+BAUDR=115200
1075 -)))
964 +* A7 01 00 60   same as AT+BAUDR=9600
965 +* A7 01 04 80  same as AT+BAUDR=115200
1076 1076  
1077 -(((
1078 1078  A7 02 aa: Same as  AT+PARITY=aa  (aa value: 00 , 01 or 02)
1079 -)))
1080 1080  
1081 -(((
1082 1082  A7 03 aa: Same as  AT+STOPBIT=aa  (aa value: 00 , 01 or 02)
1083 -)))
1084 1084  
1085 1085  
1086 1086  == 3.6 Listening mode for RS485 network ==
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0