<
From version < 21.2 >
edited by Xiaoling
on 2022/05/23 18:19
To version < 17.2 >
edited by Xiaoling
on 2022/05/23 18:08
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -246,7 +246,7 @@
246 246  
247 247  (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.
248 248  
249 -**To use counting mode, please run:**
249 +To use counting mode, please run:
250 250  
251 251  (% class="box infomessage" %)
252 252  (((
... ... @@ -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,65 +282,92 @@
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 -**To use counting mode, please run:**
314 314  
315 -(% class="box infomessage" %)
316 -(((
317 -**AT+MOD=3**
318 -)))
333 +To use counting mode, please run:
319 319  
320 -(% class="box infomessage" %)
321 -(((
322 -**ATZ**
323 -)))
335 +AT+MOD=3
324 324  
337 +ATZ
338 +
339 +
325 325  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
326 326  
327 -=== 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
328 328  
343 +
344 +
345 +1.
346 +11.
347 +111. AT+MOD=4, Single DI Counting + 1 x Voltage Counting
348 +
349 +**LT33222-L**: This mode the DI3 is used as a counting pin.
350 +
329 329  **LT22222-L**: This mode the DI1 is used as a counting pin.
330 330  
353 +
331 331  The AVI1 is also used for counting. AVI1 is used to monitor the voltage. It will check the voltage **every 60s**, if voltage is higher or lower than VOLMAX mV, the AVI1 Counting increase 1, so AVI1 counting can be used to measure a machine working hour.
332 332  
333 333  
334 -(% border="1" style="background-color:#f7faff; width:601px" %)
335 -|(% style="width:111px" %)Size(bytes)|(% style="width:85px" %)4|(% style="width:130px" %)4|(% style="width:92px" %)1|(% style="width:94px" %)1|(% style="width:86px" %)1
336 -|(% style="width:111px" %)Value|(% style="width:85px" %)COUNT1|(% style="width:130px" %)AVI1 Counting|(% style="width:92px" %)DIDORO*|(% style="width:94px" %)Reserve|(% style="width:86px" %)MOD
357 +(% border="1" style="background-color:#f7faff" %)
358 +|Size(bytes)|4|4|1|1|1
359 +|Value|COUNT1|AVI1 Counting|DIDORO*|(((
360 +Reserve
337 337  
338 -(((
339 -(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
340 -)))
362 +
363 +)))|MOD
341 341  
342 -[[image:image-20220523181727-7.png]]
365 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
343 343  
367 +(% border="1" style="background-color:#f7faff" %)
368 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
369 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
370 +
344 344  * RO is for relay. ROx=1 : close,ROx=0 always open.
345 345  * FIRST: Indicate this is the first packet after join network.
346 346  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
image-20220523181246-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -5.5 KB
Content
image-20220523181301-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -4.6 KB
Content
image-20220523181727-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -4.8 KB
Content
image-20220523181903-8.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -4.9 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0