<
From version < 19.1 >
edited by Xiaoling
on 2022/05/23 18:12
To version < 24.2 >
edited by Xiaoling
on 2022/05/24 08:59
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,8 +4,13 @@
4 4  **LT-22222-L LoRa IO Controller User Manual **
5 5  
6 6  
7 +**Table of Contents:**
7 7  
9 +{{toc/}}
8 8  
11 +
12 +
13 +
9 9  = 1.Introduction =
10 10  
11 11  == 1.1 What is LT Series I/O Controller ==
... ... @@ -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:
254 +**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 -AT Commands for counting:
266 +(% style="color:#4f81bd" %)**AT Commands for counting:**
262 262  
263 263  **For LT22222-L:**
264 264  
... ... @@ -282,228 +282,180 @@
282 282  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
283 283  )))
284 284  
290 +(% class="box infomessage" %)
291 +(((
292 +**AT+SETCNT=1,60   (Set COUNT1 value to 60)**
293 +)))
285 285  
286 -AT+SETCNT=1,60   (Set COUNT1 value to 60)
295 +(% class="box infomessage" %)
296 +(((
297 +**AT+SETCNT=2,60   (Set COUNT2 value to 60)**
298 +)))
287 287  
288 -AT+SETCNT=2,60   (Set COUNT2 value to 60)
300 +=== 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
289 289  
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 -
305 305  **LT22222-L**: This mode the DI1 is used as a counting pin.
306 306  
304 +[[image:image-20220523181246-5.png]]
307 307  
308 -(% border="1" style="background-color:#f7faff" %)
309 -|Size(bytes)|4|2|2|1|1|1
310 -|Value|COUNT1|(((
311 -ACI1
306 +(((
307 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
308 +)))
312 312  
313 -Current
314 -)))|(((
315 -ACI2
310 +[[image:image-20220523181301-6.png]]
316 316  
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 -
326 326  * RO is for relay. ROx=1 : close,ROx=0 always open.
327 327  * FIRST: Indicate this is the first packet after join network.
328 328  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
329 329  
330 -Note: DO3 is not valid for LT-22222-L.
316 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
331 331  
318 +**To use counting mode, please run:**
332 332  
333 -To use counting mode, please run:
320 +(% class="box infomessage" %)
321 +(((
322 +**AT+MOD=3**
323 +)))
334 334  
335 -AT+MOD=3
325 +(% class="box infomessage" %)
326 +(((
327 +**ATZ**
328 +)))
336 336  
337 -ATZ
338 -
339 -
340 340  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
341 341  
332 +=== 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
342 342  
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 -
351 351  **LT22222-L**: This mode the DI1 is used as a counting pin.
352 352  
353 -
354 354  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.
355 355  
338 +[[image:image-20220523181903-8.png]]
356 356  
357 -(% border="1" style="background-color:#f7faff" %)
358 -|Size(bytes)|4|4|1|1|1
359 -|Value|COUNT1|AVI1 Counting|DIDORO*|(((
360 -Reserve
340 +(((
341 +(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
342 +)))
361 361  
362 -
363 -)))|MOD
344 +[[image:image-20220523181727-7.png]]
364 364  
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 -
371 371  * RO is for relay. ROx=1 : close,ROx=0 always open.
372 372  * FIRST: Indicate this is the first packet after join network.
373 373  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
374 374  
375 -Note: DO3 is not valid for LT-22222-L.
350 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
376 376  
352 +**To use this mode, please run:**
377 377  
378 -To use this mode, please run:
354 +(% class="box infomessage" %)
355 +(((
356 +**AT+MOD=4**
357 +)))
379 379  
380 -AT+MOD=4
359 +(% class="box infomessage" %)
360 +(((
361 +**ATZ**
362 +)))
381 381  
382 -ATZ
383 383  
384 -
385 -
386 386  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
387 387  
388 -Plus below command for AVI1 Counting:
367 +**Plus below command for AVI1 Counting:**
389 389  
390 -AT+SETCNT=3,60   (set AVI Count to 60)
369 +(% class="box infomessage" %)
370 +(((
371 +**AT+SETCNT=3,60   (set AVI Count to 60)**
372 +)))
391 391  
392 -AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)
374 +(% class="box infomessage" %)
375 +(((
376 +**AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
377 +)))
393 393  
394 -AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)
379 +(% class="box infomessage" %)
380 +(((
381 +**AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
382 +)))
395 395  
396 -AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)
384 +(% class="box infomessage" %)
385 +(((
386 +**AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
387 +)))
397 397  
389 +=== 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
398 398  
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 -
406 406  **LT22222-L**: This mode the DI1 is used as a counting pin.
407 407  
393 +[[image:image-20220523182334-9.png]]
408 408  
409 -(% border="1" style="background-color:#f7faff" %)
410 -|Size(bytes)|2|2|2|2|1|1|1
411 -|Value|(((
412 -AVI1
395 +(((
396 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
397 +)))
413 413  
414 -voltage
415 -)))|(((
416 -AVI2
417 -
418 -voltage
419 -)))|(((
420 -ACI1
421 -
422 -Current
423 -)))|COUNT1|DIDORO*|(((
424 -Reserve
425 -
426 -
427 -)))|MOD
428 -
429 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
430 -
431 -(% border="1" style="background-color:#f7faff" %)
432 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
433 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
434 -
435 435  * RO is for relay. ROx=1 : close,ROx=0 always open.
436 436  * FIRST: Indicate this is the first packet after join network.
437 437  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
438 438  
439 -Note: DO3 is not valid for LT-22222-L.
403 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
440 440  
405 +**To use this mode, please run:**
441 441  
442 -To use this mode, please run:
407 +(% class="box infomessage" %)
408 +(((
409 +**AT+MOD=5**
410 +)))
443 443  
444 -AT+MOD=5
412 +(% class="box infomessage" %)
413 +(((
414 +**ATZ**
415 +)))
445 445  
446 -ATZ
447 -
448 -
449 449  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
450 450  
419 +=== 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
451 451  
421 +(% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
452 452  
453 -
454 -
455 -1.
456 -11.
457 -111. AT+ADDMOD=6. (Trigger Mode, Optional)
458 -
459 -**This mode is an optional mode for trigger purpose. It can run together with other mode.**
460 -
461 461  For example, if user has configured below commands:
462 462  
463 -* AT+MOD=1   à The normal working mode
464 -* AT+ADDMOD6=1    à Enable trigger
425 +* **AT+MOD=1 ** **~-~->** The normal working mode
426 +* **AT+ADDMOD6=1**   **~-~->** Enable trigger
465 465  
466 466  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
467 467  
468 -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
469 -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.**
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.**
470 470  
471 471  **AT Command to set Trigger Condition**:
472 472  
473 -**Trigger base on voltage**:
435 +(% style="color:#4f81bd" %)**Trigger base on voltage**:
474 474  
475 475  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
476 476  
477 -Example:
439 +**Example:**
478 478  
479 479  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)
480 480  
481 481  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
482 482  
445 +(% style="color:#4f81bd" %)**Trigger base on current**:
483 483  
484 -**Trigger base on current**:
485 -
486 486  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
487 487  
488 -Example:
449 +**Example:**
489 489  
490 490  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
491 491  
453 +(% style="color:#4f81bd" %)**Trigger base on DI status**:
492 492  
493 -**Trigger base on DI status**:
494 -
495 495  DI status trigger Flag.
496 496  
497 497  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
498 498  
499 -Example:
459 +**Example:**
500 500  
501 501  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
502 502  
503 503  
504 -
505 -
506 -
507 507  **Downlink Command to set Trigger Condition**
508 508  
509 509  Type Code: 0xAA. Downlink command same as AT Command [[AT+AVLIM, AT+ACLIM>>path:#AT_Trigger]]
... ... @@ -522,9 +522,8 @@
522 522  
523 523   Yy4 yy4: AC2 or AV2 high limit.
524 524  
482 +**Example1**: AA 00 13 88 00 00 00 00 00 00
525 525  
526 -Example1: AA 00 13 88 00 00 00 00 00 00
527 -
528 528  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
529 529  
530 530  Example2: AA 02 01 00
... ... @@ -531,35 +531,14 @@
531 531  
532 532  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
533 533  
490 +(% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
534 534  
535 -
536 -
537 -**Trigger Settings Payload Explanation:**
538 -
539 539  MOD6 Payload : total 11 bytes payload
540 540  
541 -(% border="1" style="background-color:#f7faff" %)
542 -|Size(bytes)|1|1|1|6|1|1
543 -|Value|(((
544 -TRI_A
494 +[[image:image-20220524085923-1.png]]
545 545  
546 -FLAG
547 -)))|(((
548 -TRI_A
496 +(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
549 549  
550 -Status
551 -)))|(((
552 -TRI_DI
553 -
554 -FLAG+STA
555 -)))|Reserve|Enable/Disable MOD6|(((
556 -MOD
557 -
558 -(6)
559 -)))
560 -
561 -**TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below
562 -
563 563  (% border="1" style="background-color:#f7faff" %)
564 564  |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
565 565  |(((
... ... @@ -603,7 +603,7 @@
603 603  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
604 604  
605 605  
606 -**TRI Status1** is a combination to show which condition is trigger. Totally 1byte as below
541 +(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below
607 607  
608 608  (% border="1" style="background-color:#f7faff" %)
609 609  |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
... ... @@ -650,7 +650,7 @@
650 650  
651 651  
652 652  
653 -**TRI_DI FLAG+STA **is a combination to show which condition is trigger. Totally 1byte as below
588 +(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
654 654  
655 655  (% border="1" style="background-color:#f7faff" %)
656 656  |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
... ... @@ -665,7 +665,7 @@
665 665  00000101: Means both DI1 and DI2 trigger are enabled.
666 666  
667 667  
668 -**Enable/Disable MOD6 **: 0x01: MOD6 is enable. 0x00: MOD6 is disable.
603 +(% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable.
669 669  
670 670  
671 671  Downlink command to poll MOD6 status:
image-20220523181727-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.8 KB
Content
image-20220523181903-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.9 KB
Content
image-20220523182334-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.4 KB
Content
image-20220524085923-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.4 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0