Last modified by Mengting Qiu on 2025/06/04 18:42

From version 159.1
edited by Bei Jinggeng
on 2024/11/01 14:02
Change comment: There is no comment for this version
To version 160.1
edited by Dilisi S
on 2024/11/02 05:25
Change comment: edits on payload formats upto section 3.3.4

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +XWiki.pradeeka
Content
... ... @@ -277,7 +277,7 @@
277 277  
278 278  
279 279  (((
280 -In working mode MOD1, the uplink payload includes a total of 11 bytes. Uplink packets are sent over LoRaWAN FPort=2. By default, one uplink is sent every 10 minutes. (% style="display:none" %)
280 +The uplink payload is 11 bytes long. Uplink packets are sent over LoRaWAN FPort=2. By default, one uplink is sent every 10 minutes. (% style="display:none" %)
281 281  
282 282  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
283 283  |(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**
... ... @@ -295,7 +295,7 @@
295 295  )))
296 296  
297 297  (((
298 -(% style="color:#4f81bd" %)*** DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1, for a total of 1 byte ,as shown below
298 +(% style="color:#4f81bd" %)*** DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1, for a total of 1 byte, as shown below.
299 299  
300 300  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
301 301  |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0**
... ... @@ -321,31 +321,35 @@
321 321  
322 322  ACI2 channel current is 0x1300/1000=4.864mA
323 323  
324 -The last byte 0xAA= 10101010(B) means
324 +The last byte 0xAA= 10101010(b) means,
325 325  
326 326  * [1] RO1 relay channel is closed, and the RO1 LED is ON.
327 327  * [0] RO2 relay channel is open, and RO2 LED is OFF.
328 -* [1] DI2 channel is high input and DI2 LED is ON.
329 -* [0] DI1 channel is low input.
330 -* [0] DO3 channel output state
328 +* [1] DI3 - not used for LT-22222-L.
329 +* [0] DI2 channel input is low, and the DI2 LED is OFF.
330 +* [1] DI1 channel input state:
331 +** DI1 is floating when there is no load between DI1 and V+.
332 +** DI1 is high when there is load between DI1 and V+.
333 +** DI1 LED is ON in both cases.
334 +* [0] DO3 channel output state:
331 331  ** DO3 is float in case no load between DO3 and V+.
332 332  ** DO3 is high in case there is load between DO3 and V+.
333 -** DO3 LED is off in both case
334 -* [1] DO2 channel output is low and DO2 LED is ON.
335 -* [0] DO1 channel output state
336 -** DO1 is float in case no load between DO1 and V+.
337 -** DO1 is high in case there is load between DO1 and V+.
338 -** DO1 LED is off in both case.
337 +** DO3 LED is OFF in both case
338 +* [1] DO2 channel output is low, and the DO2 LED is ON.
339 +* [0] DO1 channel output state:
340 +** DO1 is floating when there is no load between DO1 and V+.
341 +** DO1 is high when there is load between DO1 and V+.
342 +** DO1 LED is OFF in both case.
339 339  
340 340  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
341 341  
342 342  
343 343  (((
344 -**For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
348 +**For LT-22222-L**: In this mode, the **DI1 and DI2** are used as counting pins.
345 345  )))
346 346  
347 347  (((
348 -Total : 11 bytes payload
352 +The uplink payload is 11 bytes long.
349 349  
350 350  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
351 351  |(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**
... ... @@ -355,26 +355,26 @@
355 355  )))
356 356  
357 357  (((
358 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
362 +(% style="color:#4f81bd" %)***DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1, for a total of 1 byte, as shown below.
359 359  
360 360  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
361 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
362 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
365 +|**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0**
366 +|RO1|RO2|FIRST|Reserve|Reserve|--DO3--|DO2|DO1
363 363  
364 -RO is for relay. ROx=1 : close , ROx=0 always open.
368 +* RO is for relay. ROx=1 : closed, ROx=0 always open.
365 365  )))
366 366  
367 -* FIRST: Indicate this is the first packet after join network.
368 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
371 +* FIRST: Indicates that this is the first packet after joining the network.
372 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or floating.
369 369  
370 370  (((
371 -(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L.**
375 +(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L**
372 372  
373 373  
374 374  )))
375 375  
376 376  (((
377 -**To use counting mode, please run:**
381 +**To activate this mode, please run the following AT command:**
378 378  )))
379 379  
380 380  (((
... ... @@ -395,17 +395,17 @@
395 395  (((
396 396  **For LT22222-L:**
397 397  
398 -(% style="color:blue" %)**AT+TRIG1=0,100**(%%)**  (set DI1 port to trigger on low level, valid signal is 100ms) **
402 +(% style="color:blue" %)**AT+TRIG1=0,100**(%%)**  (set the DI1 port to trigger on a low level, the valid signal duration is 100ms) **
399 399  
400 -(% style="color:blue" %)**AT+TRIG1=1,100**(%%)**  (set DI1 port to trigger on high level, valid signal is 100ms ) **
404 +(% style="color:blue" %)**AT+TRIG1=1,100**(%%)**  (set the DI1 port to trigger on a high level, the valid signal duration is 100ms) **
401 401  
402 -(% style="color:blue" %)**AT+TRIG2=0,100**(%%)**  (set DI2 port to trigger on low level, valid signal is 100ms) **
406 +(% style="color:blue" %)**AT+TRIG2=0,100**(%%)**  (set the DI2 port to trigger on a low level, the valid signal duration is 100ms) **
403 403  
404 -(% style="color:blue" %)**AT+TRIG2=1,100**(%%)**  (set DI2 port to trigger on high level, valid signal is 100ms ) **
408 +(% style="color:blue" %)**AT+TRIG2=1,100**(%%)**  (set the DI2 port to trigger on a high level, the valid signal duration is 100ms) **
405 405  
406 -(% style="color:blue" %)**AT+SETCNT=1,60**(%%)**   (Set COUNT1 value to 60)**
410 +(% style="color:blue" %)**AT+SETCNT=1,60**(%%)**   (Set the COUNT1 value to 60)**
407 407  
408 -(% style="color:blue" %)**AT+SETCNT=2,60**(%%)**   (Set COUNT2 value to 60)**
412 +(% style="color:blue" %)**AT+SETCNT=2,60**(%%)**   (Set the COUNT2 value to 60)**
409 409  )))
410 410  
411 411  
... ... @@ -412,7 +412,7 @@
412 412  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
413 413  
414 414  
415 -**LT22222-L**: This mode the DI1 is used as a counting pin.
419 +**LT22222-L**: In this mode, the DI1 is used as a counting pin.
416 416  
417 417  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
418 418  |(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**
... ... @@ -423,16 +423,16 @@
423 423  )))|DIDORO*|Reserve|MOD
424 424  
425 425  (((
426 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
430 +(% style="color:#4f81bd" %)***DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1, for a total of 1 byte, as shown below.
427 427  
428 428  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
429 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
430 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
433 +|**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0**
434 +|RO1|RO2|FIRST|Reserve|Reserve|--DO3--|DO2|DO1
431 431  )))
432 432  
433 -* RO is for relay. ROx=1 : close, ROx=0 always open.
434 -* FIRST: Indicate this is the first packet after join network.
435 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
437 +* RO is for relay. ROx=1 : closed, ROx=0 always open.
438 +* FIRST: Indicates that this is the first packet after joining the network.
439 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or floating.
436 436  
437 437  (((
438 438  (% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.**
... ... @@ -440,7 +440,7 @@
440 440  
441 441  
442 442  (((
443 -**To use counting mode, please run:**
447 +**To activate this mode, please run the following AT command:**
444 444  )))
445 445  
446 446  (((
... ... @@ -453,7 +453,9 @@
453 453  )))
454 454  
455 455  (((
456 -Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
460 +AT Commands for counting:
461 +
462 +The AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. Use only the commands that match 'DI'.
457 457  )))
458 458  
459 459  
... ... @@ -461,11 +461,11 @@
461 461  
462 462  
463 463  (((
464 -**LT22222-L**: This mode the DI1 is used as a counting pin.
470 +**LT22222-L**: In this mode, the DI1 is used as a counting pin.
465 465  )))
466 466  
467 467  (((
468 -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.
474 +The AVI1 is also used for counting. It monitors the voltage and checks it every **60 seconds**. If the voltage is higher or lower than VOLMAX mV, the AVI1 count increases by 1, allowing AVI1 counting to be used to measure a machine's working hours.
469 469  
470 470  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
471 471  |(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**
... ... @@ -475,16 +475,16 @@
475 475  )))
476 476  
477 477  (((
478 -(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
484 +(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1, for a total of 1 byte, as shown below.
479 479  
480 480  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
481 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
482 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
487 +|**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0**
488 +|RO1|RO2|FIRST|Reserve|Reserve|--DO3--|DO2|DO1
483 483  )))
484 484  
485 -* RO is for relay. ROx=1 : close, ROx=0 always open.
486 -* FIRST: Indicate this is the first packet after join network.
487 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
491 +* RO is for relay. ROx=1 : closed, ROx=0 always open.
492 +* FIRST: Indicates that this is the first packet after joining the network.
493 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or floating.
488 488  
489 489  (((
490 490  (% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.**
... ... @@ -493,7 +493,7 @@
493 493  )))
494 494  
495 495  (((
496 -**To use this mode, please run:**
502 +**To activate this mode, please run the following AT command:**
497 497  )))
498 498  
499 499  (((
... ... @@ -510,9 +510,9 @@
510 510  )))
511 511  
512 512  (((
513 -**Plus below command for AVI1 Counting:**
519 +**In addition to that, below are the commands for AVI1 Counting:**
514 514  
515 -(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**  (set AVI Count to 60)**
521 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**  (set AVI Count to 60)**
516 516  
517 517  (% style="color:blue" %)**AT+VOLMAX=20000**(%%)**  (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
518 518