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 ... ... @@ -833,106 +833,61 @@ 833 833 834 834 ==== **RS485 command timeout** ==== 835 835 836 -((( 837 837 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. 838 -))) 839 839 840 -((( 841 841 Default value: 0, range: 0 ~~ 65 seconds 842 -))) 843 843 844 -* ((( 845 -**AT Command:** 846 -))) 823 +* **AT Command:** 847 847 848 848 (% class="box infomessage" %) 849 849 ((( 850 -((( 851 851 **AT+CMDDLaa=hex(bb cc)*1000** 852 852 ))) 853 -))) 854 854 855 -((( 856 856 **Example:** 857 -))) 858 858 859 -((( 860 860 **AT+CMDDL1=1000** to send the open time to 1000ms 861 -))) 862 862 863 -((( 864 - 865 -))) 866 866 867 -* ((( 868 -**Downlink Payload:** 869 -))) 835 +* **Downlink Payload:** 870 870 871 -((( 872 872 **0x AA aa bb cc** 873 -))) 874 874 875 -((( 876 876 Same as: AT+CMDDLaa=hex(bb cc)*1000 877 -))) 878 878 879 -((( 880 880 **Example:** 881 -))) 882 882 883 -((( 884 884 0xAA 01 00 01 ~-~-> Same as **AT+CMDDL1=1000 ms** 885 -))) 886 886 887 887 888 888 889 889 ==== **Uplink payload mode** ==== 890 890 891 -((( 892 892 Define to use one uplink or multiple uplinks for the sampling. 893 -))) 894 894 895 -((( 896 896 The use of this command please see: [[Compose Uplink payload>>||anchor="H3.3.4Composetheuplinkpayload"]] 897 -))) 898 898 899 -* ((( 900 -**AT Command:** 901 -))) 853 +* **AT Command:** 902 902 903 903 (% class="box infomessage" %) 904 904 ((( 905 -((( 906 906 **AT+DATAUP=0** 907 907 ))) 908 -))) 909 909 910 910 (% class="box infomessage" %) 911 911 ((( 912 -((( 913 913 **AT+DATAUP=1** 914 914 ))) 915 -))) 916 916 917 -((( 918 - 919 -))) 920 920 921 -* ((( 922 -**Downlink Payload:** 923 -))) 866 +* **Downlink Payload:** 924 924 925 -((( 926 926 **0xAD 00** **~-~->** Same as AT+DATAUP=0 927 -))) 928 928 929 -((( 930 930 **0xAD 01** **~-~->** Same as AT+DATAUP=1 931 -))) 932 932 933 933 934 934 935 - 936 936 ==== **Manually trigger an Uplink** ==== 937 937 938 938 Ask device to send an uplink immediately.