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

Summary

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,107 +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 -
890 890  ==== **Uplink payload mode** ====
891 891  
892 -(((
893 893  Define to use one uplink or multiple uplinks for the sampling.
894 -)))
895 895  
896 -(((
897 897  The use of this command please see: [[Compose Uplink payload>>||anchor="H3.3.4Composetheuplinkpayload"]]
898 -)))
899 899  
900 -* (((
901 -**AT Command:**
902 -)))
853 +* **AT Command:**
903 903  
904 904  (% class="box infomessage" %)
905 905  (((
906 -(((
907 907  **AT+DATAUP=0**
908 908  )))
909 -)))
910 910  
911 911  (% class="box infomessage" %)
912 912  (((
913 -(((
914 914  **AT+DATAUP=1**
915 915  )))
916 -)))
917 917  
918 -(((
919 -
920 -)))
921 921  
922 -* (((
923 -**Downlink Payload:**
924 -)))
866 +* **Downlink Payload:**
925 925  
926 -(((
927 927  **0xAD 00**  **~-~->** Same as AT+DATAUP=0
928 -)))
929 929  
930 -(((
931 931  **0xAD 01**  **~-~->** Same as AT+DATAUP=1
932 -)))
933 933  
934 934  
935 935  
936 -
937 937  ==== **Manually trigger an Uplink** ====
938 938  
939 939  Ask device to send an uplink immediately.
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0