<
From version < 123.5 >
edited by Xiaoling
on 2025/04/01 16:54
To version < 123.11 >
edited by Xiaoling
on 2025/04/01 17:06
>
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]]
... ... @@ -785,13 +785,9 @@
785 785  
786 786  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
787 787  |(% style="background-color:#4f81bd; color:white; width:97px" %)(((
788 -
789 -
790 790  Size(bytes)
791 791  )))|(% style="background-color:#4f81bd; color:white; width:48px" %)2|(% style="background-color:#4f81bd; color:white; width:71px" %)2|(% style="background-color:#4f81bd; color:white; width:98px" %)2|(% style="background-color:#4f81bd; color:white; width:73px" %)2|(% style="background-color:#4f81bd; color:white; width:122px" %)1
792 -|(% style="width:97px" %)Value|(% style="width:48px" %)[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(% style="width:71px" %)[[Probe Model>>||anchor="H2.3.4ProbeModel"]]|(% style="width:98px" %)[[0 ~~~~ 20mA value>>||anchor="H2.3.507E20mAvalue28IDC_IN29"]]|(% style="width:73px" %)[[0 ~~~~ 30v value>>||anchor="H2.3.607E30Vvalue28pinVDC_IN29"]]|(% style="width:122px" %)(((
793 -
794 -
789 +|(% style="width:98px" %)Value|(% style="width:48px" %)[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(% style="width:71px" %)[[Probe Model>>||anchor="H2.3.4ProbeModel"]]|(% style="width:98px" %)[[0 ~~~~ 20mA value>>||anchor="H2.3.507E20mAvalue28IDC_IN29"]]|(% style="width:73px" %)[[0 ~~~~ 30v value>>||anchor="H2.3.607E30Vvalue28pinVDC_IN29"]]|(% style="width:122px" %)(((
795 795  [[IN1 &IN2 Interrupt  flag>>||anchor="H2.3.7IN126IN226INTpin"]] & ROC_flag
796 796  )))
797 797  
... ... @@ -857,6 +857,7 @@
857 857  
858 858  ==== 2.8.2.1 Wave alarm mode ====
859 859  
855 +
860 860  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.
861 861  
862 862  * Change value: The amount by which the next detection value increases/decreases relative to the previous detection value.
... ... @@ -867,46 +867,27 @@
867 867  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
868 868  |=(% style="width: 163px; background-color: rgb(79, 129, 189); color: white;" %)Command Example|=(% style="width: 154px; background-color: rgb(79, 129, 189); color: white;" %)Parameters|=(% style="width: 197px; background-color: rgb(79, 129, 189); color: white;" %)Response/Explanation
869 869  |(% style="width:143px" %)AT+ROC=?|(% style="width:154px" %)Show current ROC setting|(% style="width:197px" %)(((
870 -
871 -
872 872  0,0,0,0(default)
873 873  OK
874 874  )))
875 875  |(% colspan="1" rowspan="4" style="width:143px" %)(((
876 -
877 -
878 -
879 -
880 -
881 881  AT+ROC=a,b,c,d
882 882  )))|(% style="width:154px" %)(((
883 -
884 -
885 -
886 -
887 -
888 -
889 -
890 -a: Enable or disable the ROC
872 +**a:** Enable or disable the ROC
891 891  )))|(% style="width:197px" %)(((
892 -
893 -
894 -0: off
895 -1: Turn on the wave alarm mode, send the ROC uplink when the increment exceeds the set parameter and refresh the comparison value.
896 -
897 -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"]]).
898 898  )))
899 -|(% style="width:154px" %)b: Set the detection interval|(% style="width:197px" %)(((
900 -
901 -
878 +|(% style="width:154px" %)**b:** Set the detection interval|(% style="width:197px" %)(((
902 902  Range:  0~~65535s
903 903  )))
904 -|(% style="width:154px" %)c: Setting the IDC change value|(% style="width:197px" %)Unit: uA
905 -|(% 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
906 906  
907 907  Example:
908 908  
909 -* 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.
910 910  * 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.
911 911  * 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.
912 912  * 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.
... ... @@ -925,9 +925,9 @@
925 925  
926 926  Example:
927 927  
928 -* Downlink Payload: 09 01 00 3C 0B B8 01 F4  ~/~/Equal to AT+ROC=1,60,3000, 500
929 -* Downlink Payload: 09 01 00 3C 0B B8 00 00  ~/~/Equal to AT+ROC=1,60,3000,0
930 -* 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
931 931  
932 932  Screenshot of parsing example in TTN:
933 933  
... ... @@ -938,6 +938,7 @@
938 938  
939 939  ==== 2.8.2.2 Over-threshold alarm mode ====
940 940  
918 +
941 941  Feature: Monitors whether the IDC/VDC exceeds the threshold by setting the detection period and threshold. Alarm if the threshold is exceeded.
942 942  
943 943  AT Command: AT+ROC=3,a,b,c,d,e
... ... @@ -945,8 +945,6 @@
945 945  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
946 946  |=(% 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
947 947  |(% style="width:143px" %)AT+ROC=?|(% style="width:160px" %)Show current ROC setting|(% style="width:185px" %)(((
948 -
949 -
950 950  0,0,0,0(default)
951 951  OK
952 952  )))
... ... @@ -958,44 +958,32 @@
958 958  
959 959  AT+ROC=3,a,b,c,d,e
960 960  )))|(% style="width:160px" %)(((
961 -
962 -
963 -a: Set the detection interval
937 +**a:** Set the detection interval
964 964  )))|(% style="width:185px" %)(((
965 -
966 -
967 967  Range:  0~~65535s
968 968  )))
969 -|(% style="width:160px" %)b: Set the IDC alarm trigger condition|(% style="width:185px" %)(((
970 -
941 +|(% style="width:160px" %)**b:** Set the IDC alarm trigger condition|(% style="width:185px" %)(((
942 +**0:** Less than the set IDC threshold, Alarm
971 971  
972 -0: Less than the set IDC threshold, Alarm
973 -
974 -1: Greater than the set IDC threshold, Alarm
944 +**1:** Greater than the set IDC threshold, Alarm
975 975  )))
976 976  |(% style="width:160px" %)(((
977 -
978 -
979 -c:  IDC alarm threshold
947 +**c: ** IDC alarm threshold
980 980  )))|(% style="width:185px" %)(((
981 -
982 -
983 983  Unit: uA
984 984  )))
985 -|(% style="width:160px" %)d: Set the VDC alarm trigger condition|(% style="width:185px" %)(((
986 -
951 +|(% style="width:160px" %)**d:** Set the VDC alarm trigger condition|(% style="width:185px" %)(((
952 +**0:** Less than the set VDC threshold, Alarm
987 987  
988 -0: Less than the set VDC threshold, Alarm
989 -
990 -1: Greater than the set VDC threshold, Alarm
954 +**1:** Greater than the set VDC threshold, Alarm
991 991  )))
992 -|(% style="width:160px" %)e: VDC alarm threshold|(% style="width:185px" %)Unit: mV
956 +|(% style="width:160px" %)**e:** VDC alarm threshold|(% style="width:185px" %)Unit: mV
993 993  
994 994  Example:
995 995  
996 -* 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.
997 -* 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.
998 -* 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.
960 +* 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.
961 +* 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.
962 +* 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.
999 999  
1000 1000  Downlink Command: 0x09 03 aa bb cc dd ee
1001 1001  
... ... @@ -1014,9 +1014,9 @@
1014 1014  
1015 1015  Example:
1016 1016  
1017 -* Downlink Payload: 09 03 00 3C 00 0B B8 00 13 38 ~/~/Equal to AT+ROC=3,60,0,3000,0,5000
1018 -* Downlink Payload: 09 03 00 b4 01 0B B8 01 13 38  ~/~/Equal to AT+ROC=3,60,1,3000,1,5000
1019 -* Downlink Payload: 09 03 01 2C 00 0B B8 01 13 38  ~/~/Equal to AT+ROC=3,60,0,3000,1,5000
981 +* Downlink Payload: 09 03 00 3C 00 0B B8 00 13 38 ~/~/ Equal to AT+ROC=3,60,0,3000,0,5000
982 +* Downlink Payload: 09 03 00 b4 01 0B B8 01 13 38  ~/~/ Equal to AT+ROC=3,60,1,3000,1,5000
983 +* Downlink Payload: 09 03 01 2C 00 0B B8 01 13 38  ~/~/ Equal to AT+ROC=3,60,0,3000,1,5000
1020 1020  
1021 1021  Screenshot of parsing example in TTN:
1022 1022  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0