Changes for page RS485-LN – RS485 to LoRaWAN Converter User Manual
Last modified by Bei Jinggeng on 2025/01/16 11:36
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -795,35 +795,18 @@ 795 795 796 796 ==== **Fast command to handle MODBUS device** ==== 797 797 798 -((( 799 799 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]]. 800 -))) 801 801 802 -((( 803 803 This command is valid since v1.3 firmware version 804 -))) 805 805 806 -((( 807 807 AT+MBFUN can auto read the Modbus function code: 01, 02, 03 or 04. AT+MBFUN has lower priority vs AT+DATACUT command. If AT+DATACUT command is configured, AT+MBFUN will be ignore. 808 -))) 809 809 810 -((( 811 - 812 -))) 813 813 814 -((( 815 815 **Example:** 816 -))) 817 817 818 -* ((( 819 -AT+MBFUN=1 and AT+DATACUT1/AT+DATACUT2 are not configure (0,0,0). So RS485-LN. 820 -))) 821 -* ((( 822 -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. 823 -))) 824 -* ((( 825 -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. 826 -))) 807 +* AT+MBFUN=1 and AT+DATACUT1/AT+DATACUT2 are not configure (0,0,0). So RS485-LN. 808 +* 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. 809 +* 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. 827 827 828 828 [[image:image-20220602165351-6.png]] 829 829 ... ... @@ -831,110 +831,63 @@ 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 -))) 823 +* **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 -))) 835 +* **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 -))) 853 +* **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 -))) 866 +* **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 940 Ask device to send an uplink immediately. ... ... @@ -950,7 +950,6 @@ 950 950 951 951 952 952 953 - 954 954 ==== **Clear RS485 Command** ==== 955 955 956 956 The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them. ... ... @@ -975,7 +975,6 @@ 975 975 976 976 977 977 978 - 979 979 ==== **Set Serial Communication Parameters** ==== 980 980 981 981 Set the Rs485 serial communication parameters: