<
From version < 25.1 >
edited by Xiaoling
on 2022/05/24 09:01
To version < 19.2 >
edited by Xiaoling
on 2022/05/23 18:14
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,13 +4,8 @@
4 4  **LT-22222-L LoRa IO Controller User Manual **
5 5  
6 6  
7 -**Table of Contents:**
8 8  
9 -{{toc/}}
10 10  
11 -
12 -
13 -
14 14  = 1.Introduction =
15 15  
16 16  == 1.1 What is LT Series I/O Controller ==
... ... @@ -251,7 +251,7 @@
251 251  
252 252  (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.
253 253  
254 -**To use counting mode, please run:**
249 +To use counting mode, please run:
255 255  
256 256  (% class="box infomessage" %)
257 257  (((
... ... @@ -315,152 +315,181 @@
315 315  
316 316  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
317 317  
318 -**To use counting mode, please run:**
319 319  
320 -(% class="box infomessage" %)
321 -(((
322 -**AT+MOD=3**
323 -)))
314 +To use counting mode, please run:
324 324  
325 -(% class="box infomessage" %)
326 -(((
327 -**ATZ**
328 -)))
316 +AT+MOD=3
329 329  
318 +ATZ
319 +
320 +
330 330  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
331 331  
332 -=== 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
333 333  
324 +
325 +
326 +1.
327 +11.
328 +111. AT+MOD=4, Single DI Counting + 1 x Voltage Counting
329 +
330 +**LT33222-L**: This mode the DI3 is used as a counting pin.
331 +
334 334  **LT22222-L**: This mode the DI1 is used as a counting pin.
335 335  
334 +
336 336  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.
337 337  
338 -[[image:image-20220523181903-8.png]]
339 339  
340 -(((
341 -(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
342 -)))
338 +(% border="1" style="background-color:#f7faff" %)
339 +|Size(bytes)|4|4|1|1|1
340 +|Value|COUNT1|AVI1 Counting|DIDORO*|(((
341 +Reserve
343 343  
344 -[[image:image-20220523181727-7.png]]
343 +
344 +)))|MOD
345 345  
346 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
347 +
348 +(% border="1" style="background-color:#f7faff" %)
349 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
350 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
351 +
346 346  * RO is for relay. ROx=1 : close,ROx=0 always open.
347 347  * FIRST: Indicate this is the first packet after join network.
348 348  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
349 349  
350 -(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
356 +Note: DO3 is not valid for LT-22222-L.
351 351  
352 -**To use this mode, please run:**
353 353  
354 -(% class="box infomessage" %)
355 -(((
356 -**AT+MOD=4**
357 -)))
359 +To use this mode, please run:
358 358  
359 -(% class="box infomessage" %)
360 -(((
361 -**ATZ**
362 -)))
361 +AT+MOD=4
363 363  
363 +ATZ
364 364  
365 +
366 +
365 365  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
366 366  
367 -**Plus below command for AVI1 Counting:**
369 +Plus below command for AVI1 Counting:
368 368  
369 -(% class="box infomessage" %)
370 -(((
371 -**AT+SETCNT=3,60   (set AVI Count to 60)**
372 -)))
371 +AT+SETCNT=3,60   (set AVI Count to 60)
373 373  
374 -(% class="box infomessage" %)
375 -(((
376 -**AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
377 -)))
373 +AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)
378 378  
379 -(% class="box infomessage" %)
380 -(((
381 -**AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
382 -)))
375 +AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)
383 383  
384 -(% class="box infomessage" %)
385 -(((
386 -**AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
387 -)))
377 +AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)
388 388  
389 -=== 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
390 390  
380 +
381 +1.
382 +11.
383 +111. AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI
384 +
385 +**LT33222-L**: This mode the DI3 is used as a counting pin.
386 +
391 391  **LT22222-L**: This mode the DI1 is used as a counting pin.
392 392  
393 -[[image:image-20220523182334-9.png]]
394 394  
395 -(((
396 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
397 -)))
390 +(% border="1" style="background-color:#f7faff" %)
391 +|Size(bytes)|2|2|2|2|1|1|1
392 +|Value|(((
393 +AVI1
398 398  
395 +voltage
396 +)))|(((
397 +AVI2
398 +
399 +voltage
400 +)))|(((
401 +ACI1
402 +
403 +Current
404 +)))|COUNT1|DIDORO*|(((
405 +Reserve
406 +
407 +
408 +)))|MOD
409 +
410 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
411 +
412 +(% border="1" style="background-color:#f7faff" %)
413 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
414 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
415 +
399 399  * RO is for relay. ROx=1 : close,ROx=0 always open.
400 400  * FIRST: Indicate this is the first packet after join network.
401 401  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
402 402  
403 -(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
420 +Note: DO3 is not valid for LT-22222-L.
404 404  
405 -**To use this mode, please run:**
406 406  
407 -(% class="box infomessage" %)
408 -(((
409 -**AT+MOD=5**
410 -)))
423 +To use this mode, please run:
411 411  
412 -(% class="box infomessage" %)
413 -(((
414 -**ATZ**
415 -)))
425 +AT+MOD=5
416 416  
427 +ATZ
428 +
429 +
417 417  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
418 418  
419 -=== 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
420 420  
421 -(% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
422 422  
434 +
435 +
436 +1.
437 +11.
438 +111. AT+ADDMOD=6. (Trigger Mode, Optional)
439 +
440 +**This mode is an optional mode for trigger purpose. It can run together with other mode.**
441 +
423 423  For example, if user has configured below commands:
424 424  
425 -* **AT+MOD=1 ** **~-~->** The normal working mode
426 -* **AT+ADDMOD6=1**   **~-~->** Enable trigger
444 +* AT+MOD=1   à The normal working mode
445 +* AT+ADDMOD6=1    à Enable trigger
427 427  
428 428  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
429 429  
430 -1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%) data type
431 -1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN (% style="color:#4f81bd" %)**CONFIRMED data type.**
449 +1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN **unconfirmed** data type
450 +1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN **CONFIRMED data type.**
432 432  
433 433  **AT Command to set Trigger Condition**:
434 434  
435 -(% style="color:#4f81bd" %)**Trigger base on voltage**:
454 +**Trigger base on voltage**:
436 436  
437 437  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
438 438  
439 -**Example:**
458 +Example:
440 440  
441 441  AT+AVLIM=3000,6000,0,2000   (If AVI1 voltage lower than 3v or higher than 6v. or AV2 voltage is higher than 2v, LT will trigger Uplink)
442 442  
443 443  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
444 444  
445 -(% style="color:#4f81bd" %)**Trigger base on current**:
446 446  
465 +**Trigger base on current**:
466 +
447 447  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
448 448  
449 -**Example:**
469 +Example:
450 450  
451 451  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
452 452  
453 -(% style="color:#4f81bd" %)**Trigger base on DI status**:
454 454  
474 +**Trigger base on DI status**:
475 +
455 455  DI status trigger Flag.
456 456  
457 457  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
458 458  
459 -**Example:**
480 +Example:
460 460  
461 461  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
462 462  
463 463  
485 +
486 +
487 +
464 464  **Downlink Command to set Trigger Condition**
465 465  
466 466  Type Code: 0xAA. Downlink command same as AT Command [[AT+AVLIM, AT+ACLIM>>path:#AT_Trigger]]
... ... @@ -479,8 +479,9 @@
479 479  
480 480   Yy4 yy4: AC2 or AV2 high limit.
481 481  
482 -**Example1**: AA 00 13 88 00 00 00 00 00 00
483 483  
507 +Example1: AA 00 13 88 00 00 00 00 00 00
508 +
484 484  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
485 485  
486 486  Example2: AA 02 01 00
... ... @@ -487,14 +487,35 @@
487 487  
488 488  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
489 489  
490 -(% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
491 491  
516 +
517 +
518 +**Trigger Settings Payload Explanation:**
519 +
492 492  MOD6 Payload : total 11 bytes payload
493 493  
494 -[[image:image-20220524085923-1.png]]
522 +(% border="1" style="background-color:#f7faff" %)
523 +|Size(bytes)|1|1|1|6|1|1
524 +|Value|(((
525 +TRI_A
495 495  
496 -(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
527 +FLAG
528 +)))|(((
529 +TRI_A
497 497  
531 +Status
532 +)))|(((
533 +TRI_DI
534 +
535 +FLAG+STA
536 +)))|Reserve|Enable/Disable MOD6|(((
537 +MOD
538 +
539 +(6)
540 +)))
541 +
542 +**TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below
543 +
498 498  (% border="1" style="background-color:#f7faff" %)
499 499  |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
500 500  |(((
... ... @@ -538,7 +538,7 @@
538 538  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
539 539  
540 540  
541 -(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below
587 +**TRI Status1** is a combination to show which condition is trigger. Totally 1byte as below
542 542  
543 543  (% border="1" style="background-color:#f7faff" %)
544 544  |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
... ... @@ -585,7 +585,7 @@
585 585  
586 586  
587 587  
588 -(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
634 +**TRI_DI FLAG+STA **is a combination to show which condition is trigger. Totally 1byte as below
589 589  
590 590  (% border="1" style="background-color:#f7faff" %)
591 591  |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
... ... @@ -600,7 +600,7 @@
600 600  00000101: Means both DI1 and DI2 trigger are enabled.
601 601  
602 602  
603 -(% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable.
649 +**Enable/Disable MOD6 **: 0x01: MOD6 is enable. 0x00: MOD6 is disable.
604 604  
605 605  
606 606  Downlink command to poll MOD6 status:
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
image-20220523182334-9.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -6.4 KB
Content
image-20220524085923-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -6.4 KB
Content
image-20220524090106-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -5.2 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0