<
From version < 21.3 >
edited by Xiaoling
on 2022/05/23 18:22
To version < 19.1 >
edited by Xiaoling
on 2022/05/23 18:12
>
Change comment: Uploaded new attachment "image-20220523181301-6.png", version {1}

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,118 +282,144 @@
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 -[[image:image-20220523181903-8.png]]
334 334  
335 -(((
336 -(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
337 -)))
357 +(% border="1" style="background-color:#f7faff" %)
358 +|Size(bytes)|4|4|1|1|1
359 +|Value|COUNT1|AVI1 Counting|DIDORO*|(((
360 +Reserve
338 338  
339 -[[image:image-20220523181727-7.png]]
362 +
363 +)))|MOD
340 340  
365 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
366 +
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 +
341 341  * RO is for relay. ROx=1 : close,ROx=0 always open.
342 342  * FIRST: Indicate this is the first packet after join network.
343 343  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
344 344  
345 -(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
375 +Note: DO3 is not valid for LT-22222-L.
346 346  
347 -**To use this mode, please run:**
348 348  
349 -(% class="box infomessage" %)
350 -(((
351 -**AT+MOD=4**
352 -)))
378 +To use this mode, please run:
353 353  
354 -(% class="box infomessage" %)
355 -(((
356 -**ATZ**
357 -)))
380 +AT+MOD=4
358 358  
382 +ATZ
359 359  
384 +
385 +
360 360  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
361 361  
362 -**Plus below command for AVI1 Counting:**
388 +Plus below command for AVI1 Counting:
363 363  
364 -(% class="box infomessage" %)
365 -(((
366 -**AT+SETCNT=3,60   (set AVI Count to 60)**
367 -)))
390 +AT+SETCNT=3,60   (set AVI Count to 60)
368 368  
369 -(% class="box infomessage" %)
370 -(((
371 -**AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
372 -)))
392 +AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)
373 373  
374 -(% class="box infomessage" %)
375 -(((
376 -**AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
377 -)))
394 +AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)
378 378  
379 -(% class="box infomessage" %)
380 -(((
381 -**AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
382 -)))
396 +AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)
383 383  
384 -=== 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
385 385  
399 +
400 +1.
401 +11.
402 +111. AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI
403 +
404 +**LT33222-L**: This mode the DI3 is used as a counting pin.
405 +
386 386  **LT22222-L**: This mode the DI1 is used as a counting pin.
387 387  
408 +
388 388  (% border="1" style="background-color:#f7faff" %)
389 -|(% style="width:93px" %)Size(bytes)|(% style="width:112px" %)2|(% style="width:105px" %)2|(% style="width:449px" %)2|2|1|1|1
390 -|(% style="width:93px" %)Value|(% style="width:112px" %)AVI1 voltage|(% style="width:105px" %)AVI2 voltage|(% style="width:449px" %)ACI1 Current| | | |
391 -|(% style="width:93px" %)Value|(% style="width:112px" %)(((
392 -AVI1 voltage
393 -)))|(% style="width:105px" %)(((
394 -AVI2 voltage
395 -)))|(% style="width:449px" %)(((
396 -ACI1 Current
410 +|Size(bytes)|2|2|2|2|1|1|1
411 +|Value|(((
412 +AVI1
413 +
414 +voltage
415 +)))|(((
416 +AVI2
417 +
418 +voltage
419 +)))|(((
420 +ACI1
421 +
422 +Current
397 397  )))|COUNT1|DIDORO*|(((
398 398  Reserve
399 399  
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