<
From version < 123.8 >
edited by Xiaoling
on 2025/04/01 17:01
To version < 123.12 >
edited by Xiaoling
on 2025/04/01 17:08
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -679,7 +679,6 @@
679 679  )))|(% style="width:86px" %)Unix Time Stamp
680 680  
681 681  
682 -
683 683  IN1_pin_level & IN2_pin_level & Exti_pin_level & Exti_status:
684 684  
685 685  [[image:image-20250117104847-4.png]]
... ... @@ -853,6 +853,7 @@
853 853  
854 854  ==== 2.8.2.1 Wave alarm mode ====
855 855  
855 +
856 856  Feature: By setting the detection period and a change value, the IDC/VDC variable is monitored whether it exceeds the set change value. If this change value is exceeded, the ROC uplink is sent and the comparison value is flushed.
857 857  
858 858  * Change value: The amount by which the next detection value increases/decreases relative to the previous detection value.
... ... @@ -869,24 +869,21 @@
869 869  |(% colspan="1" rowspan="4" style="width:143px" %)(((
870 870  AT+ROC=a,b,c,d
871 871  )))|(% style="width:154px" %)(((
872 -a: Enable or disable the ROC
872 +**a:** Enable or disable the ROC
873 873  )))|(% style="width:197px" %)(((
874 -0: off
875 -1: Turn on the wave alarm mode, send the ROC uplink when the increment exceeds the set parameter and refresh the comparison value.
876 -
877 -2: Turn on the wave alarm mode, send the ROC uplink when the increment exceeds the set parameter and refresh the comparison value. In addition, the comparison value is refreshed when the device sends packets ([[TDC>>||anchor="H3.3.1SetTransmitIntervalTime"]] or [[ACT>>||anchor="H1.7Button26LEDs"]]).
874 +**0:** off
875 +**1:** Turn on the wave alarm mode, send the ROC uplink when the increment exceeds the set parameter and refresh the comparison value.
876 +**2:** Turn on the wave alarm mode, send the ROC uplink when the increment exceeds the set parameter and refresh the comparison value. In addition, the comparison value is refreshed when the device sends packets ([[TDC>>||anchor="H3.3.1SetTransmitIntervalTime"]] or [[ACT>>||anchor="H1.7Button26LEDs"]]).
878 878  )))
879 -|(% style="width:154px" %)b: Set the detection interval|(% style="width:197px" %)(((
880 -
881 -
878 +|(% style="width:154px" %)**b:** Set the detection interval|(% style="width:197px" %)(((
882 882  Range:  0~~65535s
883 883  )))
884 -|(% style="width:154px" %)c: Setting the IDC change value|(% style="width:197px" %)Unit: uA
885 -|(% style="width:154px" %)d: Setting the VDC change value|(% style="width:197px" %)Unit: mV
881 +|(% style="width:154px" %)**c:** Setting the IDC change value|(% style="width:197px" %)Unit: uA
882 +|(% style="width:154px" %)**d:** Setting the VDC change value|(% style="width:197px" %)Unit: mV
886 886  
887 887  Example:
888 888  
889 -* AT+ROC=0,0,0,0  ~/~/The ROC function is not used.
886 +* AT+ROC=0,0,0,0  ~/~/ The ROC function is not used.
890 890  * AT+ROC=1,60,3000, 500  ~/~/ Check value every 60 seconds. lf there is change in IDC (>3mA) or VDC (>500mV), sends an ROC uplink, and the comparison value is refreshed.
891 891  * AT+ROC=1,60,3000,0  ~/~/ Check value every 60 seconds. lf there is change in IDC (>3mA), send an ROC uplink and the comparison value of IDC is refreshed. dd=0 Means doesn't monitor Voltage.
892 892  * AT+ROC=2,60,3000,0  ~/~/ Check value every 60 seconds. lf there is change in IDC (>3mA), send an ROC uplink and the comparison value of IDC is refreshed. dd=0 Means doesn't monitor Voltage. In addition, if the change in the IDC does not exceed 3mA, then the ROC uplink is not sent, and the comparison value is not refreshed by the ROC uplink packet. However, if the device TDC time arrives, or if the user manually sends packets, then the IDC comparison value is also refreshed.
... ... @@ -905,9 +905,9 @@
905 905  
906 906  Example:
907 907  
908 -* Downlink Payload: 09 01 00 3C 0B B8 01 F4  ~/~/Equal to AT+ROC=1,60,3000, 500
909 -* Downlink Payload: 09 01 00 3C 0B B8 00 00  ~/~/Equal to AT+ROC=1,60,3000,0
910 -* Downlink Payload: 09 02 00 3C 0B B8 00 00  ~/~/Equal to AT+ROC=2,60,3000,0
905 +* Downlink Payload: 09 01 00 3C 0B B8 01 F4  ~/~/ Equal to AT+ROC=1,60,3000, 500
906 +* Downlink Payload: 09 01 00 3C 0B B8 00 00  ~/~/ Equal to AT+ROC=1,60,3000,0
907 +* Downlink Payload: 09 02 00 3C 0B B8 00 00  ~/~/ Equal to AT+ROC=2,60,3000,0
911 911  
912 912  Screenshot of parsing example in TTN:
913 913  
... ... @@ -918,6 +918,7 @@
918 918  
919 919  ==== 2.8.2.2 Over-threshold alarm mode ====
920 920  
918 +
921 921  Feature: Monitors whether the IDC/VDC exceeds the threshold by setting the detection period and threshold. Alarm if the threshold is exceeded.
922 922  
923 923  AT Command: AT+ROC=3,a,b,c,d,e
... ... @@ -925,57 +925,36 @@
925 925  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
926 926  |=(% style="width: 163px; background-color: rgb(79, 129, 189); color: white;" %)Command Example|=(% style="width: 160px; background-color: rgb(79, 129, 189); color: white;" %)Parameters|=(% style="width: 185px; background-color: rgb(79, 129, 189); color: white;" %)Response/Explanation
927 927  |(% style="width:143px" %)AT+ROC=?|(% style="width:160px" %)Show current ROC setting|(% style="width:185px" %)(((
928 -
929 -
930 930  0,0,0,0(default)
931 931  OK
932 932  )))
933 933  |(% colspan="1" rowspan="5" style="width:143px" %)(((
934 -
935 -
936 -
937 -
938 -
939 939  AT+ROC=3,a,b,c,d,e
940 940  )))|(% style="width:160px" %)(((
941 -
942 -
943 -a: Set the detection interval
932 +**a:** Set the detection interval
944 944  )))|(% style="width:185px" %)(((
945 -
946 -
947 947  Range:  0~~65535s
948 948  )))
949 -|(% style="width:160px" %)b: Set the IDC alarm trigger condition|(% style="width:185px" %)(((
950 -
951 -
952 -0: Less than the set IDC threshold, Alarm
953 -
954 -1: Greater than the set IDC threshold, Alarm
936 +|(% style="width:160px" %)**b:** Set the IDC alarm trigger condition|(% style="width:185px" %)(((
937 +**0:** Less than the set IDC threshold, Alarm
938 +**1:** Greater than the set IDC threshold, Alarm
955 955  )))
956 956  |(% style="width:160px" %)(((
957 -
958 -
959 -c:  IDC alarm threshold
941 +**c: ** IDC alarm threshold
960 960  )))|(% style="width:185px" %)(((
961 -
962 -
963 963  Unit: uA
964 964  )))
965 -|(% style="width:160px" %)d: Set the VDC alarm trigger condition|(% style="width:185px" %)(((
966 -
967 -
968 -0: Less than the set VDC threshold, Alarm
969 -
970 -1: Greater than the set VDC threshold, Alarm
945 +|(% style="width:160px" %)**d:** Set the VDC alarm trigger condition|(% style="width:185px" %)(((
946 +**0:** Less than the set VDC threshold, Alarm
947 +**1:** Greater than the set VDC threshold, Alarm
971 971  )))
972 -|(% style="width:160px" %)e: VDC alarm threshold|(% style="width:185px" %)Unit: mV
949 +|(% style="width:160px" %)**e:** VDC alarm threshold|(% style="width:185px" %)Unit: mV
973 973  
974 974  Example:
975 975  
976 -* AT+ROC=3,60,0,3000,0,5000  ~/~/The data is checked every 60 seconds. If the IDC is less than 3mA or the VDC is less than 5000mV, an alarm is generated.
977 -* AT+ROC=3,180,1,3000,1,5000  ~/~/The data is checked every 180 seconds. If the IDC is greater than 3mA or the VDC is greater than 5000mV, an alarm is generated.
978 -* AT+ROC=3,300,0,3000,1,5000  ~/~/The data is checked every 300 seconds. If the IDC is less than 3mA or the VDC is greater than 5000mV, an alarm is generated.
953 +* AT+ROC=3,60,0,3000,0,5000  ~/~/ The data is checked every 60 seconds. If the IDC is less than 3mA or the VDC is less than 5000mV, an alarm is generated.
954 +* AT+ROC=3,180,1,3000,1,5000  ~/~/ The data is checked every 180 seconds. If the IDC is greater than 3mA or the VDC is greater than 5000mV, an alarm is generated.
955 +* AT+ROC=3,300,0,3000,1,5000  ~/~/ The data is checked every 300 seconds. If the IDC is less than 3mA or the VDC is greater than 5000mV, an alarm is generated.
979 979  
980 980  Downlink Command: 0x09 03 aa bb cc dd ee
981 981  
... ... @@ -994,9 +994,9 @@
994 994  
995 995  Example:
996 996  
997 -* Downlink Payload: 09 03 00 3C 00 0B B8 00 13 38 ~/~/Equal to AT+ROC=3,60,0,3000,0,5000
998 -* Downlink Payload: 09 03 00 b4 01 0B B8 01 13 38  ~/~/Equal to AT+ROC=3,60,1,3000,1,5000
999 -* Downlink Payload: 09 03 01 2C 00 0B B8 01 13 38  ~/~/Equal to AT+ROC=3,60,0,3000,1,5000
974 +* Downlink Payload: 09 03 00 3C 00 0B B8 00 13 38 ~/~/ Equal to AT+ROC=3,60,0,3000,0,5000
975 +* Downlink Payload: 09 03 00 b4 01 0B B8 01 13 38  ~/~/ Equal to AT+ROC=3,60,1,3000,1,5000
976 +* Downlink Payload: 09 03 01 2C 00 0B B8 01 13 38  ~/~/ Equal to AT+ROC=3,60,0,3000,1,5000
1000 1000  
1001 1001  Screenshot of parsing example in TTN:
1002 1002  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0