Changes for page CPL03-LB/LS -- LoRaWAN Pulse/Contact Sensor User Manual
Last modified by Mengting Qiu on 2024/05/17 15:48
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -22,24 +22,24 @@ 22 22 23 23 = 1. Introduction = 24 24 25 -== 1.1 What is CPL03-LB LoRaWAN Pulse/Contact Sensor == 25 +== 1.1 What is CPL03-LB/LS LoRaWAN Pulse/Contact Sensor == 26 26 27 27 28 -The Dragino CPL03-LB is a (% style="color:blue" %)**LoRaWAN Contact Sensor**(%%) for Internet of Things solution. It detects dry contact status, open time, open counts, and then upload to IoT server via LoRaWAN wireless protocol. 28 +The Dragino CPL03-LB/LS is a (% style="color:blue" %)**LoRaWAN Contact Sensor**(%%) for Internet of Things solution. It detects dry contact status, open time, open counts, and then upload to IoT server via LoRaWAN wireless protocol. 29 29 30 -The CPL03-LB will send periodically data every day as well as for each dry contact action. It also counts the contact open times and calculate last open duration. User can also disable the uplink for each open/close event, instead, device can count each open event and uplink periodically. 30 +The CPL03-LB/LS will send periodically data every day as well as for each dry contact action. It also counts the contact open times and calculate last open duration. User can also disable the uplink for each open/close event, instead, device can count each open event and uplink periodically. 31 31 32 -The LoRa wireless technology used in CPL03-LB allows device to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. 32 +The LoRa wireless technology used in CPL03-LB/LS allows device to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. 33 33 34 -CPL03-LB (% style="color:blue" %)**supports open alarm feature**(%%), user can set open alarm for instant notice. CPL03-LB (% style="color:blue" %)**supports Datalog feature**(%%), it can save the data when there is no LoRaWAN network and uplink when network recover. 34 +CPL03-LB/LS (% style="color:blue" %)**supports open alarm feature**(%%), user can set open alarm for instant notice. CPL03-LB/LS (% style="color:blue" %)**supports Datalog feature**(%%), it can save the data when there is no LoRaWAN network and uplink when network recover. 35 35 36 -CPL03-LB is designed for outdoor use. It has a weatherproof enclosure and industrial level battery to work in low to high temperatures. 36 +CPL03-LB/LS is designed for outdoor use. It has a weatherproof enclosure and industrial level battery to work in low to high temperatures. 37 37 38 -CPL03-LB (% style="color:blue" %)**supports BLE configure**(%%) and (% style="color:blue" %)**wireless OTA update**(%%) which make user easy to use. 38 +CPL03-LB/LS (% style="color:blue" %)**supports BLE configure**(%%) and (% style="color:blue" %)**wireless OTA update**(%%) which make user easy to use. 39 39 40 -CPL03-LB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery **(%%)or **solar powered + li-on battery**, it is designed for long term use up to 5 years. 40 +CPL03-LB/LS is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery **(%%)or (% style="color:blue" %)**solar powered + li-on battery**(%%), it is designed for long term use up to 5 years. 41 41 42 -Each CPL03-LB is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on. 42 +Each CPL03-LB/LS is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on. 43 43 44 44 45 45 [[image:image-20230530111051-3.png||height="402" width="850"]] ... ... @@ -111,7 +111,7 @@ 111 111 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/RS485-LB_Waterproof_RS485UART_to_LoRaWAN_Converter/WebHome/image-20240103160425-4.png?rev=1.1||alt="image-20240103160425-4.png"]] 112 112 113 113 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 114 -|=(% style="width: 167px;background-color:# D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action**114 +|=(% style="width: 167px;background-color:#4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 226px;background-color:#4F81BD;color:white" %)**Action** 115 115 |(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)((( 116 116 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. 117 117 Meanwhile, BLE module will be active and user can connect via BLE to configure device. ... ... @@ -126,7 +126,7 @@ 126 126 == 1.7 BLE connection == 127 127 128 128 129 -CPL03-LB support BLE remote configure. 129 +CPL03-LB/LS support BLE remote configure. 130 130 131 131 132 132 BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case: ... ... @@ -161,12 +161,12 @@ 161 161 162 162 163 163 164 -= 2. Configure CPL03-LB to connect to LoRaWAN network = 164 += 2. Configure CPL03-LB/LS to connect to LoRaWAN network = 165 165 166 166 == 2.1 How it works == 167 167 168 168 169 -The CPL03-LB is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and press the button to activate the CPL03-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 2 hours. 169 +The CPL03-LB/LS is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and press the button to activate the CPL03-LB/LS. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 2 hours. 170 170 171 171 (% style="display:none" %) (%%) 172 172 ... ... @@ -180,9 +180,9 @@ 180 180 [[image:image-20230530111412-4.png||height="398" width="805"]](% style="display:none" %) 181 181 182 182 183 -(% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from CPL03-LB. 183 +(% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from CPL03-LB/LS. 184 184 185 -Each CPL03-LB is shipped with a sticker with the default device EUI as below: 185 +Each CPL03-LB/LS is shipped with a sticker with the default device EUI as below: 186 186 187 187 [[image:image-20230426084152-1.png||alt="图片-20230426084152-1.png" height="233" width="502"]] 188 188 ... ... @@ -211,10 +211,10 @@ 211 211 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20220611161308-6.png?width=744&height=485&rev=1.1||alt="图片-20220611161308-6.png"]] 212 212 213 213 214 -(% style="color:blue" %)**Step 2:**(%%) Activate on CPL03-LB 214 +(% style="color:blue" %)**Step 2:**(%%) Activate on CPL03-LB/LS 215 215 216 216 217 -Press the button for 5 seconds to activate the CPL03-LB. 217 +Press the button for 5 seconds to activate the CPL03-LB/LS. 218 218 219 219 (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:blue" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network. (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 220 220 ... ... @@ -226,9 +226,9 @@ 226 226 === 2.3.1 Device Status, FPORT~=5 === 227 227 228 228 229 -Include device configure status. Once CPL03-LB Joined the network, it will uplink this message to the server. After that, CPL03-LB will uplink Device Status every 12 hours. 229 +Include device configure status. Once CPL03-LB/LS Joined the network, it will uplink this message to the server. After that, CPL03-LB/LS will uplink Device Status every 12 hours. 230 230 231 -Users can also use the downlink command**(0x26 01)** to ask CPL03-LB to resend this uplink. This uplink payload also includes the DeviceTimeReq to get time. 231 +Users can also use the downlink command**(0x26 01)** to ask CPL03-LB/LS to resend this uplink. This uplink payload also includes the DeviceTimeReq to get time. 232 232 233 233 The Payload format is as below. 234 234 ... ... @@ -243,7 +243,7 @@ 243 243 [[image:image-20230702165811-1.png||height="166" width="913"]] 244 244 245 245 246 -(% style="color:#037691" %)**Sensor Model**(%%): For CPL03-LB, this value is 0x20 246 +(% style="color:#037691" %)**Sensor Model**(%%): For CPL03-LB/LS, this value is 0x20 247 247 248 248 (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version 249 249 ... ... @@ -299,7 +299,7 @@ 299 299 === 2.3.2 Sensor Configuration, FPORT~=4 === 300 300 301 301 302 -CPL03-LB will only send this command after getting the downlink command **(0x26 02)** from the server. 302 +CPL03-LB/LS will only send this command after getting the downlink command **(0x26 02)** from the server. 303 303 304 304 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 305 305 |(% colspan="9" style="background-color:#d9e2f3; color:#0070c0; width:515px" %)**Sensor Configuration FPORT=4** ... ... @@ -334,11 +334,11 @@ 334 334 ))) 335 335 336 336 ((( 337 -(% style="color:blue" %)** If Disalarm = 1**(%%), CPL03-LB will only send uplink at every TDC periodically. This is normally use for pulse meter application, in this application, there are many disconnect/connect event, and platform only care about the total number of pulse. 337 +(% style="color:blue" %)** If Disalarm = 1**(%%), CPL03-LB/LS will only send uplink at every TDC periodically. This is normally use for pulse meter application, in this application, there are many disconnect/connect event, and platform only care about the total number of pulse. 338 338 ))) 339 339 340 340 ((( 341 -(% style="color:blue" %)** If Disalarm = 0**(%%), CPL03-LB will send uplink at every TDC periodically. 341 +(% style="color:blue" %)** If Disalarm = 0**(%%), CPL03-LB/LS will send uplink at every TDC periodically. 342 342 343 343 344 344 ))) ... ... @@ -428,7 +428,7 @@ 428 428 [[image:image-20230810113214-2.png||height="399" width="565"]] 429 429 430 430 ((( 431 -CPL03-LB will send this uplink **after** Device Status once join the LoRaWAN network successfully. And CPL03-LB will: 431 +CPL03-LB/LS will send this uplink **after** Device Status once join the LoRaWAN network successfully. And CPL03-LB/LS will: 432 432 ))) 433 433 434 434 ((( ... ... @@ -440,7 +440,7 @@ 440 440 ))) 441 441 442 442 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 443 -|=(% colspan="5" style="background-color:# D9E2F3;color:#0070C0; width: 515px;" %)**Real-Time Open/Close Status, FPORT=2**443 +|=(% colspan="5" style="background-color:#4F81BD;color:white; width: 515px;" %)**Real-Time Open/Close Status, FPORT=2** 444 444 |(% style="width:60px" %)**Size(bytes)**|(% style="width:65px" %)**1**|(% style="width:65px" %)**3**|(% style="width:240px" %)**3**|(% style="width:90px" %)**4** 445 445 |(% style="width:101px" %)**Value**|(% style="width:133px" %)Status & [[Alarm>>||anchor="H3.3.5TTRIGtimeoutstatusalarm"]]|(% style="width:92px" %)Total pulse|(% style="width:247px" %)The last duration (unit: sec)|(% style="width:149px" %)[[Unix TimeStamp>>||anchor="H2.5.2UnixTimeStamp"]] 446 446 ... ... @@ -706,7 +706,7 @@ 706 706 707 707 708 708 ((( 709 -CPL03-LB stores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.5DatalogFeature"]]. 709 +CPL03-LB/LS stores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.5DatalogFeature"]]. 710 710 ))) 711 711 712 712 ((( ... ... @@ -714,7 +714,7 @@ 714 714 ))) 715 715 716 716 * ((( 717 -Each data entry is 11 bytes and has the same structure as [[Real-Time open/close status>>||anchor="H2.3.3CPL01:Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]], to save airtime and battery, CPL03-LB will send max bytes according to the current DR and Frequency bands. 717 +Each data entry is 11 bytes and has the same structure as [[Real-Time open/close status>>||anchor="H2.3.3CPL01:Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]], to save airtime and battery, CPL03-LB/LS will send max bytes according to the current DR and Frequency bands. 718 718 ))) 719 719 720 720 ((( ... ... @@ -738,7 +738,7 @@ 738 738 ))) 739 739 740 740 ((( 741 -If CPL03-LB doesn't have any data in the polling time. It will uplink 11 bytes of 0 741 +If CPL03-LB/LS doesn't have any data in the polling time. It will uplink 11 bytes of 0 742 742 743 743 744 744 ))) ... ... @@ -821,7 +821,7 @@ 821 821 == 2.5 Datalog Feature == 822 822 823 823 824 -Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, CPL03-LB will store the reading for future retrieving purposes. 824 +Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, CPL03-LB/LS will store the reading for future retrieving purposes. 825 825 826 826 (% style="color:red" %)**Note:After the device is reset, in cumulative counting mode ,the last stored count value will be read as the initial value.** 827 827 ... ... @@ -829,24 +829,20 @@ 829 829 === 2.5.1 Ways to get datalog via LoRaWAN === 830 830 831 831 832 -Set PNACKMD=1, CPL03-LB will wait for ACK for every uplink, when there is no LoRaWAN network,CPL03-LB will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery. 832 +Set PNACKMD=1, CPL03-LB/LS will wait for ACK for every uplink, when there is no LoRaWAN network, CPL03-LB/LS will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery. 833 833 834 834 * ((( 835 -a) CPL03-LB will do an ACK check for data records sending to make sure every data arrive server. 835 +a) CPL03-LB/LS will do an ACK check for data records sending to make sure every data arrive server. 836 836 ))) 837 837 * ((( 838 -b) CPL03-LB will send data in **CONFIRMED Mode** when PNACKMD=1, but CPL03-LB won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if CPL03-LB gets a ACK, CPL03-LB will consider there is a network connection and resend all NONE-ACK messages. 838 +b) CPL03-LB/LS will send data in **CONFIRMED Mode** when PNACKMD=1, but CPL03-LB/LS won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if CPL03-LB/LS gets a ACK, CPL03-LB/LS will consider there is a network connection and resend all NONE-ACK messages. 839 839 ))) 840 840 841 -Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 842 842 843 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220703111700-2.png?width=1119&height=381&rev=1.1||alt="图片-20220703111700-2.png" height="381" width="1119"]] 844 - 845 - 846 846 === 2.5.2 Unix TimeStamp === 847 847 848 848 849 -CPL03-LB uses Unix TimeStamp format based on 845 +CPL03-LB/LS uses Unix TimeStamp format based on 850 850 851 851 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523001219-11.png?width=627&height=97&rev=1.1||alt="图片-20220523001219-11.png" height="97" width="627"]] 852 852 ... ... @@ -865,7 +865,7 @@ 865 865 866 866 User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command. 867 867 868 -Once CPL03-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to CPL03-LB. If CPL03-LB fails to get the time from the server, CPL03-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 864 +Once CPL03-LB/LS Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to CPL03-LB/LS. If CPL03-LB/LS fails to get the time from the server, CPL03-LB/LS will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 869 869 870 870 (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.** 871 871 ... ... @@ -893,7 +893,7 @@ 893 893 ))) 894 894 895 895 ((( 896 -Uplink Internal =5s,means CPL03-LB will send one packet every 5s. range 5~~255s. 892 +Uplink Internal =5s,means CPL03-LB/LS will send one packet every 5s. range 5~~255s. 897 897 ))) 898 898 899 899 ... ... @@ -900,17 +900,17 @@ 900 900 == 2.6 Frequency Plans == 901 901 902 902 903 -The CPL03-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 899 +The CPL03-LB/LS uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 904 904 905 905 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 906 906 907 907 908 -= 3. Configure CPL03-LB = 904 += 3. Configure CPL03-LB/LS = 909 909 910 910 == 3.1 Configure Methods == 911 911 912 912 913 -CPL03-LB supports below configure method: 909 +CPL03-LB/LS supports below configure method: 914 914 915 915 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 916 916 ... ... @@ -932,10 +932,10 @@ 932 932 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 933 933 934 934 935 -== 3.3 Commands special design for CPL03-LB == 931 +== 3.3 Commands special design for CPL03-LB/LS == 936 936 937 937 938 -These commands only valid for CPL03-LB, as below: 934 +These commands only valid for CPL03-LB/LS, as below: 939 939 940 940 941 941 === 3.3.1 Set Transmit Interval Time === ... ... @@ -995,7 +995,7 @@ 995 995 (% style="color:blue" %)**AT Command: AT+5VT** 996 996 997 997 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 998 -|=(% style="width: 155px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response**994 +|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response** 999 999 |(% style="width:154px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:157px" %)0 (default) 1000 1000 OK 1001 1001 |(% style="width:154px" %)AT+5VT=500|(% style="width:196px" %)Close after a delay of 500 milliseconds.|(% style="width:157px" %)OK ... ... @@ -1039,7 +1039,7 @@ 1039 1039 **It only takes effect when (% style="color:blue" %)AT+MOD=1(%%).** 1040 1040 1041 1041 ((( 1042 -CPL03-LB can monitor the timeout for a status change, this feature can be used to monitor some events such as door opening too long etc. Related Parameters are: 1038 +CPL03-LB/LS can monitor the timeout for a status change, this feature can be used to monitor some events such as door opening too long etc. Related Parameters are: 1043 1043 ))) 1044 1044 1045 1045 ((( ... ... @@ -1077,7 +1077,7 @@ 1077 1077 ))) 1078 1078 1079 1079 ((( 1080 -(% style="color:blue" %)**AT+TTRIG=1,30**(%%) ~-~-> When the **Keep Status** change from connect to disconnect, and device remains in disconnect status for more than 30 seconds. CPL03-LB will send an uplink packet, the [[Alarm bit>>||anchor="H2.3.3Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]] (the second bit of 1^^st^^ byte of payload) on this uplink packet is set to 1. 1076 +(% style="color:blue" %)**AT+TTRIG=1,30**(%%) ~-~-> When the **Keep Status** change from connect to disconnect, and device remains in disconnect status for more than 30 seconds. CPL03-LB/LS will send an uplink packet, the [[Alarm bit>>||anchor="H2.3.3Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]] (the second bit of 1^^st^^ byte of payload) on this uplink packet is set to 1. 1081 1081 ))) 1082 1082 1083 1083 ((( ... ... @@ -1147,8 +1147,8 @@ 1147 1147 1148 1148 (% style="color:blue" %)**AT Command: AT+TTRMOD1** 1149 1149 1150 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:499px" %)1151 -|=(% style="width: 157px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 246px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 96px; background-color:rgb(217, 226, 243);rgb(0, 112, 192);" %)**Response**1146 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:499px" %) 1147 +|=(% style="width: 157px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 246px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 96px; background-color:#4F81BD;color:white" %)**Response** 1152 1152 |(% style="width:157px" %)((( 1153 1153 AT+TTRMOD1=1 1154 1154 )))|(% style="width:156px" %)Count and trigger from open to close (rising edge)|(% style="width:96px" %)((( ... ... @@ -1176,8 +1176,8 @@ 1176 1176 1177 1177 (% style="color:blue" %)**AT Command: AT+TTRMOD2** 1178 1178 1179 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:501px" %)1180 -|=(% style="width: 157px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 246px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 98px; background-color:rgb(217, 226, 243);rgb(0, 112, 192);" %)**Response**1175 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:501px" %) 1176 +|=(% style="width: 157px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 246px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 98px; background-color:#4F81BD;color:white" %)**Response** 1181 1181 |(% style="width:157px" %)((( 1182 1182 AT+TTRMOD2=1 1183 1183 )))|(% style="width:156px" %)Count and trigger from open to close (rising edge)|(% style="width:98px" %)((( ... ... @@ -1205,8 +1205,8 @@ 1205 1205 1206 1206 (% style="color:blue" %)**AT Command: AT+TTRMOD3** 1207 1207 1208 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:500px" %)1209 -|=(% style="width: 157px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 246px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 97px; background-color:rgb(217, 226, 243);rgb(0, 112, 192);" %)**Response**1204 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 1205 +|=(% style="width: 157px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 246px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 97px; background-color:#4F81BD;color:white" %)**Response** 1210 1210 |(% style="width:157px" %)((( 1211 1211 AT+TTRMOD3=1 1212 1212 )))|(% style="width:156px" %)Count and trigger from open to close (rising edge)|(% style="width:97px" %)((( ... ... @@ -1234,8 +1234,8 @@ 1234 1234 1235 1235 (% style="color:blue" %)**AT Command: AT+CALCFLAG** 1236 1236 1237 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:472px" %)1238 -|=(% style="width: 158px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 193px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 121px; background-color:#D9E2F3;color:#0070C0" %)**Response**1233 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:472px" %) 1234 +|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 193px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 121px; background-color:#4F81BD;color:white" %)**Response** 1239 1239 |(% style="width:158px" %)AT+CALCFLAG =0|(% style="width:192px" %)Set the calculate flag to 0.|(% style="width:119px" %)OK(default) 1240 1240 |(% style="width:158px" %)AT+CALCFLAG =2|(% style="width:192px" %)Set the calculate flag to 2.|(% style="width:119px" %)OK 1241 1241 ... ... @@ -1254,8 +1254,8 @@ 1254 1254 1255 1255 (% style="color:blue" %)**AT Command: AT+SETCNT** 1256 1256 1257 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:479px" %)1258 -|=(% style="width: 160px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 223px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 96px;background-color:#D9E2F3;color:#0070C0" %)**Response**1253 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:479px" %) 1254 +|=(% style="width: 160px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 223px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 96px;background-color:#4F81BD;color:white" %)**Response** 1259 1259 |(% style="width:160px" %)AT+ SETCNT =1,100|(% style="width:221px" %)Set the count number to 0.|(% style="width:95px" %)OK 1260 1260 |(% style="width:160px" %)AT+ SETCNT =2,0|(% style="width:221px" %)Set the count number to 100.|(% style="width:95px" %)OK 1261 1261 |(% style="width:160px" %)AT+ SETCNT =3,50|(% style="width:221px" %)Set the count number to 50.|(% style="width:95px" %)OK ... ... @@ -1276,8 +1276,8 @@ 1276 1276 1277 1277 (% style="color:blue" %)**AT Command:** 1278 1278 1279 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:479px" %)1280 -|=(% style="width: 160px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 223px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 96px;background-color:#D9E2F3;color:#0070C0" %)**Response**1275 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:479px" %) 1276 +|=(% style="width: 160px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 223px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 96px;background-color:#4F81BD;color:white" %)**Response** 1281 1281 |(% style="width:160px" %)AT+CLRC|(% style="width:221px" %)Set all counter values to 0.|(% style="width:95px" %)OK 1282 1282 1283 1283 (% style="color:blue" %)**Downlink Command: **(%%)0xA6 01 ... ... @@ -1290,8 +1290,8 @@ 1290 1290 1291 1291 (% style="color:blue" %)**AT Command:** 1292 1292 1293 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:515px" %)1294 -|=(% style="width: 160px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 269px; background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 86px; background-color:#D9E2F3;color:#0070C0" %)**Response**1289 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 1290 +|=(% style="width: 160px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 269px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 86px; background-color:#4F81BD;color:white" %)**Response** 1295 1295 |(% style="width:160px" %)AT+COUNTMOD=0|(% style="width:318px" %)the count value keeps accumulating mode|(% style="width:96px" %)OK(default) 1296 1296 |(% style="width:160px" %)AT+COUNTMOD=1|(% style="width:318px" %)the count value will be reset after each TDC time(Last Close Duration Reset after each uplink)|(% style="width:96px" %)OK 1297 1297 ... ... @@ -1309,8 +1309,8 @@ 1309 1309 1310 1310 (% style="color:blue" %)**AT Command:** 1311 1311 1312 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:474px" %)1313 -|=(% style="width: 155px; background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 223px; background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 96px; background-color:#D9E2F3;color:#0070C0" %)**Response**1308 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:474px" %) 1309 +|=(% style="width: 155px; background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 223px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 96px; background-color:#4F81BD;color:white" %)**Response** 1314 1314 |(% style="width:155px" %)AT+MOD=1|(% style="width:223px" %)Set the Real-Time Open/Close Status mode(CPL01).|(% style="width:96px" %)OK(default) 1315 1315 |(% style="width:155px" %)AT+MOD=2|(% style="width:223px" %)Set the 3 pulse mode(CPL03).|(% style="width:96px" %)OK 1316 1316 ... ... @@ -1330,8 +1330,8 @@ 1330 1330 1331 1331 (% style="color:blue" %)**AT Command:** 1332 1332 1333 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:515px" %)1334 -|=(% style="width: 160px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 269px; background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 86px; background-color:#D9E2F3;color:#0070C0" %)**Response**1329 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 1330 +|=(% style="width: 160px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 269px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 86px; background-color:#4F81BD;color:white" %)**Response** 1335 1335 |(% style="width:160px" %)AT+SYNCMOD=1|(% style="width:318px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) The default is zero time zone.|(% style="width:98px" %)OK(default) 1336 1336 |(% style="width:160px" %)AT+SYNCMOD=1,8|(% style="width:318px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) Set to East eight time zone.|(% style="width:98px" %)OK 1337 1337 |(% style="width:160px" %)AT+SYNCMOD=1,-12|(% style="width:318px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) Set to West Twelve Time Zone.|(% style="width:98px" %)OK ... ... @@ -1359,7 +1359,7 @@ 1359 1359 1360 1360 1361 1361 (% class="wikigeneratedid" %) 1362 -User can change firmware CPL03-LB to: 1358 +User can change firmware CPL03-LB/LS to: 1363 1363 1364 1364 * Change Frequency band/ region. 1365 1365 ... ... @@ -1386,9 +1386,9 @@ 1386 1386 == 6.2 How to Connect Dry contacts or Wet Contacts == 1387 1387 1388 1388 1389 -CPL03-LB can only be connected to dry contacts by default, and the wiring method is to connect the two ports of dry contacts to the VDD pin and pulse input pin of CPL03-LB respectively. 1385 +CPL03-LB/LS can only be connected to dry contacts by default, and the wiring method is to connect the two ports of dry contacts to the VDD pin and pulse input pin of CPL03-LB/LS respectively. 1390 1390 1391 -If you want to connect a wet contact, you need to change the original wiring method. The wiring method is that the GND of the wet contact is connected to the GND of CPL03-LB, and the pulse output is connected to the pulse pin, but the pulse output voltage of the wet contact must be less than 3.6V. 1387 +If you want to connect a wet contact, you need to change the original wiring method. The wiring method is that the GND of the wet contact is connected to the GND of CPL03-LB/LS, and the pulse output is connected to the pulse pin, but the pulse output voltage of the wet contact must be less than 3.6V. 1392 1392 1393 1393 1394 1394 == 6.3 What is the maximum total number of pulses for CPL03? What happens after the maximum total number of pulses is reached? ==