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, 0 added, 4 removed)
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 ((( ... ... @@ -263,7 +263,7 @@ 263 263 **ATZ** 264 264 ))) 265 265 266 - (% style="color:#4f81bd" %)**AT Commands for counting:**261 +AT Commands for counting: 267 267 268 268 **For LT22222-L:** 269 269 ... ... @@ -287,180 +287,228 @@ 287 287 **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 288 288 ))) 289 289 290 -(% class="box infomessage" %) 291 -((( 292 -**AT+SETCNT=1,60 (Set COUNT1 value to 60)** 293 -))) 294 294 295 -(% class="box infomessage" %) 296 -((( 297 -**AT+SETCNT=2,60 (Set COUNT2 value to 60)** 298 -))) 286 +AT+SETCNT=1,60 (Set COUNT1 value to 60) 299 299 300 - === 3.3.3AT+MOD~=3, SingleDI Counting+2xACI===288 +AT+SETCNT=2,60 (Set COUNT2 value to 60) 301 301 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 + 302 302 **LT22222-L**: This mode the DI1 is used as a counting pin. 303 303 304 -[[image:image-20220523181246-5.png]] 305 305 306 -((( 307 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 308 -))) 308 +(% border="1" style="background-color:#f7faff" %) 309 +|Size(bytes)|4|2|2|1|1|1 310 +|Value|COUNT1|((( 311 +ACI1 309 309 310 -[[image:image-20220523181301-6.png]] 313 +Current 314 +)))|((( 315 +ACI2 311 311 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 + 312 312 * RO is for relay. ROx=1 : close,ROx=0 always open. 313 313 * FIRST: Indicate this is the first packet after join network. 314 314 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 315 315 316 - (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.330 +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 -))) 333 +To use counting mode, please run: 324 324 325 -(% class="box infomessage" %) 326 -((( 327 -**ATZ** 328 -))) 335 +AT+MOD=3 329 329 337 +ATZ 338 + 339 + 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 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 + 334 334 **LT22222-L**: This mode the DI1 is used as a counting pin. 335 335 353 + 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 -))) 357 +(% border="1" style="background-color:#f7faff" %) 358 +|Size(bytes)|4|4|1|1|1 359 +|Value|COUNT1|AVI1 Counting|DIDORO*|((( 360 +Reserve 343 343 344 -[[image:image-20220523181727-7.png]] 362 + 363 +)))|MOD 345 345 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 + 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.375 +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 -))) 378 +To use this mode, please run: 358 358 359 -(% class="box infomessage" %) 360 -((( 361 -**ATZ** 362 -))) 380 +AT+MOD=4 363 363 382 +ATZ 364 364 384 + 385 + 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:**388 +Plus below command for AVI1 Counting: 368 368 369 -(% class="box infomessage" %) 370 -((( 371 -**AT+SETCNT=3,60 (set AVI Count to 60)** 372 -))) 390 +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 -))) 392 +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 -))) 394 +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 -))) 396 +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 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 + 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 -))) 409 +(% border="1" style="background-color:#f7faff" %) 410 +|Size(bytes)|2|2|2|2|1|1|1 411 +|Value|((( 412 +AVI1 398 398 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 + 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.439 +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 -))) 442 +To use this mode, please run: 411 411 412 -(% class="box infomessage" %) 413 -((( 414 -**ATZ** 415 -))) 444 +AT+MOD=5 416 416 446 +ATZ 447 + 448 + 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 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 + 423 423 For example, if user has configured below commands: 424 424 425 -* **AT+MOD=1****~-~->**The normal working mode426 -* **AT+ADDMOD6=1****~-~->**Enable trigger463 +* AT+MOD=1 à The normal working mode 464 +* 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 type431 -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.**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.** 432 432 433 433 **AT Command to set Trigger Condition**: 434 434 435 - (% style="color:#4f81bd" %)**Trigger base on voltage**:473 +**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:**477 +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 484 +**Trigger base on current**: 485 + 447 447 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> 448 448 449 - **Example:**488 +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 493 +**Trigger base on DI status**: 494 + 455 455 DI status trigger Flag. 456 456 457 457 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 458 458 459 - **Example:**499 +Example: 460 460 461 461 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 462 462 463 463 504 + 505 + 506 + 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 526 +Example1: AA 00 13 88 00 00 00 00 00 00 527 + 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 535 + 536 + 537 +**Trigger Settings Payload Explanation:** 538 + 492 492 MOD6 Payload : total 11 bytes payload 493 493 494 -[[image:image-20220524085923-1.png]] 541 +(% border="1" style="background-color:#f7faff" %) 542 +|Size(bytes)|1|1|1|6|1|1 543 +|Value|((( 544 +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 546 +FLAG 547 +)))|((( 548 +TRI_A 497 497 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 + 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 below606 +**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 below653 +**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.668 +**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