<
From version < 19.2 >
edited by Xiaoling
on 2022/05/23 18:14
To version < 18.1 >
edited by Xiaoling
on 2022/05/23 18:12
>
Change comment: Uploaded new attachment "image-20220523181246-5.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -258,7 +258,7 @@
258 258  **ATZ**
259 259  )))
260 260  
261 -(% style="color:#4f81bd" %)**AT Commands for counting:**
261 +AT Commands for counting:
262 262  
263 263  **For LT22222-L:**
264 264  
... ... @@ -282,33 +282,52 @@
282 282  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
283 283  )))
284 284  
285 -(% class="box infomessage" %)
286 -(((
287 -**AT+SETCNT=1,60   (Set COUNT1 value to 60)**
288 -)))
289 289  
290 -(% class="box infomessage" %)
291 -(((
292 -**AT+SETCNT=2,60   (Set COUNT2 value to 60)**
293 -)))
286 +AT+SETCNT=1,60   (Set COUNT1 value to 60)
294 294  
295 -=== 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
288 +AT+SETCNT=2,60   (Set COUNT2 value to 60)
296 296  
290 +
291 +**For both LT22222-L & LT33222-L**:
292 +
293 +AT+CLRCOUNT clear all countings
294 +
295 +AT+COUTIME=60  Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
296 +
297 +
298 +
299 +1.
300 +11.
301 +111. AT+MOD=3, Single DI Counting + 2 x ACI
302 +
303 +**LT33222-L**: This mode the DI3 is used as a counting pin.
304 +
297 297  **LT22222-L**: This mode the DI1 is used as a counting pin.
298 298  
299 -[[image:image-20220523181246-5.png]]
300 300  
301 -(((
302 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
303 -)))
308 +(% border="1" style="background-color:#f7faff" %)
309 +|Size(bytes)|4|2|2|1|1|1
310 +|Value|COUNT1|(((
311 +ACI1
304 304  
305 -[[image:image-20220523181301-6.png]]
313 +Current
314 +)))|(((
315 +ACI2
306 306  
317 +Current
318 +)))|DIDORO*|Reserve|MOD
319 +
320 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
321 +
322 +(% border="1" style="background-color:#f7faff" %)
323 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
324 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
325 +
307 307  * RO is for relay. ROx=1 : close,ROx=0 always open.
308 308  * FIRST: Indicate this is the first packet after join network.
309 309  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
310 310  
311 -(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
330 +Note: DO3 is not valid for LT-22222-L.
312 312  
313 313  
314 314  To use counting mode, please run:
image-20220523181301-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -4.6 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0