Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
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 ((( ... ... @@ -310,181 +310,152 @@ 310 310 311 311 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 312 312 318 +**To use counting mode, please run:** 313 313 314 -To use counting mode, please run: 320 +(% class="box infomessage" %) 321 +((( 322 +**AT+MOD=3** 323 +))) 315 315 316 -AT+MOD=3 325 +(% class="box infomessage" %) 326 +((( 327 +**ATZ** 328 +))) 317 317 318 -ATZ 319 - 320 - 321 321 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 322 322 332 +=== 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 323 323 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 - 332 332 **LT22222-L**: This mode the DI1 is used as a counting pin. 333 333 334 - 335 335 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. 336 336 338 +[[image:image-20220523181903-8.png]] 337 337 338 -(% border="1" style="background-color:#f7faff" %) 339 -|Size(bytes)|4|4|1|1|1 340 -|Value|COUNT1|AVI1 Counting|DIDORO*|((( 341 -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 +))) 342 342 343 - 344 -)))|MOD 344 +[[image:image-20220523181727-7.png]] 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 - 352 352 * RO is for relay. ROx=1 : close,ROx=0 always open. 353 353 * FIRST: Indicate this is the first packet after join network. 354 354 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 355 355 356 -Note: DO3 is not valid for LT-22222-L. 350 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 357 357 352 +**To use this mode, please run:** 358 358 359 -To use this mode, please run: 354 +(% class="box infomessage" %) 355 +((( 356 +**AT+MOD=4** 357 +))) 360 360 361 -AT+MOD=4 359 +(% class="box infomessage" %) 360 +((( 361 +**ATZ** 362 +))) 362 362 363 -ATZ 364 364 365 - 366 - 367 367 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 368 368 369 -Plus below command for AVI1 Counting: 367 +**Plus below command for AVI1 Counting:** 370 370 371 -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 +))) 372 372 373 -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 +))) 374 374 375 -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 +))) 376 376 377 -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 +))) 378 378 389 +=== 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 379 379 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 - 387 387 **LT22222-L**: This mode the DI1 is used as a counting pin. 388 388 393 +[[image:image-20220523182334-9.png]] 389 389 390 -(% border="1" style="background-color:#f7faff" %) 391 -|Size(bytes)|2|2|2|2|1|1|1 392 -|Value|((( 393 -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 +))) 394 394 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 - 416 416 * RO is for relay. ROx=1 : close,ROx=0 always open. 417 417 * FIRST: Indicate this is the first packet after join network. 418 418 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 419 419 420 -Note: DO3 is not valid for LT-22222-L. 403 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 421 421 405 +**To use this mode, please run:** 422 422 423 -To use this mode, please run: 407 +(% class="box infomessage" %) 408 +((( 409 +**AT+MOD=5** 410 +))) 424 424 425 -AT+MOD=5 412 +(% class="box infomessage" %) 413 +((( 414 +**ATZ** 415 +))) 426 426 427 -ATZ 428 - 429 - 430 430 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 431 431 419 +=== 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 432 432 421 +(% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 433 433 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 - 442 442 For example, if user has configured below commands: 443 443 444 -* AT+MOD=1 àThe normal working mode445 -* AT+ADDMOD6=1 àEnable trigger425 +* **AT+MOD=1 ** **~-~->** The normal working mode 426 +* **AT+ADDMOD6=1** **~-~->** Enable trigger 446 446 447 447 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 448 448 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.** 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.** 451 451 452 452 **AT Command to set Trigger Condition**: 453 453 454 -**Trigger base on voltage**: 435 +(% style="color:#4f81bd" %)**Trigger base on voltage**: 455 455 456 456 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> 457 457 458 -Example: 439 +**Example:** 459 459 460 460 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) 461 461 462 462 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 463 463 445 +(% style="color:#4f81bd" %)**Trigger base on current**: 464 464 465 -**Trigger base on current**: 466 - 467 467 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> 468 468 469 -Example: 449 +**Example:** 470 470 471 471 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 472 472 453 +(% style="color:#4f81bd" %)**Trigger base on DI status**: 473 473 474 -**Trigger base on DI status**: 475 - 476 476 DI status trigger Flag. 477 477 478 478 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 479 479 480 -Example: 459 +**Example:** 481 481 482 482 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 483 483 484 484 485 - 486 - 487 - 488 488 **Downlink Command to set Trigger Condition** 489 489 490 490 Type Code: 0xAA. Downlink command same as AT Command [[AT+AVLIM, AT+ACLIM>>path:#AT_Trigger]] ... ... @@ -503,9 +503,8 @@ 503 503 504 504 Yy4 yy4: AC2 or AV2 high limit. 505 505 482 +**Example1**: AA 00 13 88 00 00 00 00 00 00 506 506 507 -Example1: AA 00 13 88 00 00 00 00 00 00 508 - 509 509 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 510 510 511 511 Example2: AA 02 01 00 ... ... @@ -512,35 +512,14 @@ 512 512 513 513 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 514 514 490 +(% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 515 515 516 - 517 - 518 -**Trigger Settings Payload Explanation:** 519 - 520 520 MOD6 Payload : total 11 bytes payload 521 521 522 -(% border="1" style="background-color:#f7faff" %) 523 -|Size(bytes)|1|1|1|6|1|1 524 -|Value|((( 525 -TRI_A 494 +[[image:image-20220524085923-1.png]] 526 526 527 -FLAG 528 -)))|((( 529 -TRI_A 496 +(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 530 530 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 - 544 544 (% border="1" style="background-color:#f7faff" %) 545 545 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 546 546 |((( ... ... @@ -584,7 +584,7 @@ 584 584 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW 585 585 586 586 587 -**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 588 588 589 589 (% border="1" style="background-color:#f7faff" %) 590 590 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 ... ... @@ -631,7 +631,7 @@ 631 631 632 632 633 633 634 -**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 635 635 636 636 (% border="1" style="background-color:#f7faff" %) 637 637 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 ... ... @@ -646,7 +646,7 @@ 646 646 00000101: Means both DI1 and DI2 trigger are enabled. 647 647 648 648 649 -**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. 650 650 651 651 652 652 Downlink command to poll MOD6 status:
- 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