<
From version < 161.1 >
edited by Dilisi S
on 2024/11/04 17:36
To version < 159.1 >
edited by Bei Jinggeng
on 2024/11/01 14:02
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.pradeeka
1 +XWiki.Bei
Content
... ... @@ -277,7 +277,7 @@
277 277  
278 278  
279 279  (((
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" %)
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" %)
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,35 +321,31 @@
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] 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:
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
335 335  ** DO3 is float in case no load between DO3 and V+.
336 336  ** DO3 is high in case there is load between DO3 and V+.
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.
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.
343 343  
344 344  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
345 345  
346 346  
347 347  (((
348 -**For LT-22222-L**: In this mode, the **DI1 and DI2** are used as counting pins.
344 +**For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
349 349  )))
350 350  
351 351  (((
352 -The uplink payload is 11 bytes long.
348 +Total : 11 bytes payload
353 353  
354 354  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
355 355  |(% 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**
... ... @@ -359,26 +359,26 @@
359 359  )))
360 360  
361 361  (((
362 -(% style="color:#4f81bd" %)***DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1, for a total of 1 byte, as shown below.
358 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
363 363  
364 364  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
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
361 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
362 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
367 367  
368 -* RO is for relay. ROx=1 : closed, ROx=0 always open.
364 +RO is for relay. ROx=1 : close , ROx=0 always open.
369 369  )))
370 370  
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.
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.
373 373  
374 374  (((
375 -(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L**
371 +(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L.**
376 376  
377 377  
378 378  )))
379 379  
380 380  (((
381 -**To activate this mode, please run the following AT command:**
377 +**To use counting mode, please run:**
382 382  )))
383 383  
384 384  (((
... ... @@ -399,17 +399,17 @@
399 399  (((
400 400  **For LT22222-L:**
401 401  
402 -(% style="color:blue" %)**AT+TRIG1=0,100**(%%)**  (set the DI1 port to trigger on a low level, the valid signal duration is 100ms) **
398 +(% style="color:blue" %)**AT+TRIG1=0,100**(%%)**  (set DI1 port to trigger on low level, valid signal is 100ms) **
403 403  
404 -(% style="color:blue" %)**AT+TRIG1=1,100**(%%)**  (set the DI1 port to trigger on a high level, the valid signal duration is 100ms) **
400 +(% style="color:blue" %)**AT+TRIG1=1,100**(%%)**  (set DI1 port to trigger on high level, valid signal is 100ms ) **
405 405  
406 -(% style="color:blue" %)**AT+TRIG2=0,100**(%%)**  (set the DI2 port to trigger on a low level, the valid signal duration is 100ms) **
402 +(% style="color:blue" %)**AT+TRIG2=0,100**(%%)**  (set DI2 port to trigger on low level, valid signal is 100ms) **
407 407  
408 -(% style="color:blue" %)**AT+TRIG2=1,100**(%%)**  (set the DI2 port to trigger on a high level, the valid signal duration is 100ms) **
404 +(% style="color:blue" %)**AT+TRIG2=1,100**(%%)**  (set DI2 port to trigger on high level, valid signal is 100ms ) **
409 409  
410 -(% style="color:blue" %)**AT+SETCNT=1,60**(%%)**   (Set the COUNT1 value to 60)**
406 +(% style="color:blue" %)**AT+SETCNT=1,60**(%%)**   (Set COUNT1 value to 60)**
411 411  
412 -(% style="color:blue" %)**AT+SETCNT=2,60**(%%)**   (Set the COUNT2 value to 60)**
408 +(% style="color:blue" %)**AT+SETCNT=2,60**(%%)**   (Set COUNT2 value to 60)**
413 413  )))
414 414  
415 415  
... ... @@ -416,7 +416,7 @@
416 416  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
417 417  
418 418  
419 -**LT22222-L**: In this mode, the DI1 is used as a counting pin.
415 +**LT22222-L**: This mode the DI1 is used as a counting pin.
420 420  
421 421  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
422 422  |(% 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**
... ... @@ -427,16 +427,16 @@
427 427  )))|DIDORO*|Reserve|MOD
428 428  
429 429  (((
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.
426 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
431 431  
432 432  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
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
429 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
430 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
435 435  )))
436 436  
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.
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.
440 440  
441 441  (((
442 442  (% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.**
... ... @@ -444,7 +444,7 @@
444 444  
445 445  
446 446  (((
447 -**To activate this mode, please run the following AT command:**
443 +**To use counting mode, please run:**
448 448  )))
449 449  
450 450  (((
... ... @@ -457,9 +457,7 @@
457 457  )))
458 458  
459 459  (((
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'.
456 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
463 463  )))
464 464  
465 465  
... ... @@ -467,11 +467,11 @@
467 467  
468 468  
469 469  (((
470 -**LT22222-L**: In this mode, the DI1 is used as a counting pin.
464 +**LT22222-L**: This mode the DI1 is used as a counting pin.
471 471  )))
472 472  
473 473  (((
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.
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.
475 475  
476 476  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
477 477  |(% 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**
... ... @@ -481,16 +481,16 @@
481 481  )))
482 482  
483 483  (((
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.
478 +(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
485 485  
486 486  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
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
481 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
482 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
489 489  )))
490 490  
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.
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.
494 494  
495 495  (((
496 496  (% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.**
... ... @@ -499,7 +499,7 @@
499 499  )))
500 500  
501 501  (((
502 -**To activate this mode, please run the following AT command:**
496 +**To use this mode, please run:**
503 503  )))
504 504  
505 505  (((
... ... @@ -516,9 +516,9 @@
516 516  )))
517 517  
518 518  (((
519 -**In addition to that, below are the commands for AVI1 Counting:**
513 +**Plus below command for AVI1 Counting:**
520 520  
521 -(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**  (set AVI Count to 60)**
515 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**  (set AVI Count to 60)**
522 522  
523 523  (% style="color:blue" %)**AT+VOLMAX=20000**(%%)**  (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
524 524  
... ... @@ -1420,7 +1420,7 @@
1420 1420  [[image:thingseye-io-step-6.png||height="625" width="1000"]]
1421 1421  
1422 1422  
1423 -== 3.6 Interface Details ==
1417 +== 3.6 Interface Detail ==
1424 1424  
1425 1425  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
1426 1426  
... ... @@ -1434,12 +1434,12 @@
1434 1434  
1435 1435  
1436 1436  (((
1437 -The DI ports of the LT-22222-L can support **NPN**, **PNP**, or **dry contact** output sensors.
1431 +The DI port of LT-22222-L can support **NPN** or **PNP** or **Dry Contact** output sensor.
1438 1438  )))
1439 1439  
1440 1440  (((
1441 1441  (((
1442 -The part of the internal circuit of the LT-22222-L shown below includes the NEC2501 photocoupler. The active current from NEC2501 pin 1 to pin 2 is 1 mA, with a maximum allowable current of 50 mA. When active current flows from NEC2501 pin 1 to pin 2, the DI becomes active HIGH, and the DI LED status changes.
1436 +Internal circuit as below, the NEC2501 is a photocoupler, the Active current (from NEC2501 pin 1 to pin 2 is 1ma and the max current is 50mA). (% class="mark" %)When there is active current pass NEC2501 pin1 to pin2. The DI will be active high and DI LED status will change.
1443 1443  
1444 1444  
1445 1445  )))
... ... @@ -1449,7 +1449,7 @@
1449 1449  
1450 1450  (((
1451 1451  (((
1452 -(% style="font-size: 11pt; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)When connecting a device to the DI port, both DI1+ and DI1- must be connected.
1446 +When use need to connect a device to the DI port, both DI1+ and DI1- must be connected.
1453 1453  )))
1454 1454  )))
1455 1455  
... ... @@ -1458,22 +1458,22 @@
1458 1458  )))
1459 1459  
1460 1460  (((
1461 -(% style="color:blue" %)**Example1**(%%): Connecting to a low-active sensor.
1455 +(% style="color:blue" %)**Example1**(%%): Connect to a Low active sensor.
1462 1462  )))
1463 1463  
1464 1464  (((
1465 -This type of sensors outputs a low (GND) signal when active.
1459 +This type of sensor will output a low signal GND when active.
1466 1466  )))
1467 1467  
1468 1468  * (((
1469 -Connect the sensor's output to DI1-
1463 +Connect sensor's output to DI1-
1470 1470  )))
1471 1471  * (((
1472 -Connect the sensor's VCC to DI1+.
1466 +Connect sensor's VCC to DI1+.
1473 1473  )))
1474 1474  
1475 1475  (((
1476 -When the sensor is active, the current between NEC2501 pin 1 and pin 2 will be
1470 +So when sensor active, the current between NEC2501 pin1 and pin2 is
1477 1477  )))
1478 1478  
1479 1479  (((
... ... @@ -1481,7 +1481,7 @@
1481 1481  )))
1482 1482  
1483 1483  (((
1484 -For example, if** DI1+ **= **12V**, the resulting current is [[image:1653968155772-850.png||height="23" width="19"]]= 12mA. Therefore, the LT-22222-L will be able to detect this active signal.
1478 +If** DI1+ **= **12v**, the [[image:1653968155772-850.png||height="23" width="19"]]= 12mA , So the LT-22222-L will be able to detect this active signal.
1485 1485  )))
1486 1486  
1487 1487  (((
... ... @@ -1489,22 +1489,22 @@
1489 1489  )))
1490 1490  
1491 1491  (((
1492 -(% style="color:blue" %)**Example2**(%%): Connecting to a high-active sensor.
1486 +(% style="color:blue" %)**Example2**(%%): Connect to a High active sensor.
1493 1493  )))
1494 1494  
1495 1495  (((
1496 -This type of sensors outputs a high signal (e.g., 24V) when active.
1490 +This type of sensor will output a high signal (example 24v) when active.
1497 1497  )))
1498 1498  
1499 1499  * (((
1500 -Connect the sensor's output to DI1+
1494 +Connect sensor's output to DI1+
1501 1501  )))
1502 1502  * (((
1503 -Connect the sensor's GND DI1-.
1497 +Connect sensor's GND DI1-.
1504 1504  )))
1505 1505  
1506 1506  (((
1507 -When the sensor is active, the current between NEC2501 pin1 and pin2 will be:
1501 +So when sensor active, the current between NEC2501 pin1 and pin2 is:
1508 1508  )))
1509 1509  
1510 1510  (((
... ... @@ -1512,7 +1512,7 @@
1512 1512  )))
1513 1513  
1514 1514  (((
1515 -If **DI1+ = 24V**, the resulting current[[image:1653968155772-850.png||height="23" width="19"]] 24mA , Therefore, the LT-22222-L will detect this high-active signal.
1509 +If **DI1+ = 24v**, the[[image:1653968155772-850.png||height="23" width="19"]] 24mA , So the LT-22222-L will be able to detect this high active signal.
1516 1516  )))
1517 1517  
1518 1518  (((
... ... @@ -1520,22 +1520,22 @@
1520 1520  )))
1521 1521  
1522 1522  (((
1523 -(% style="color:blue" %)**Example3**(%%): Connecting to a 220V high-active sensor.
1517 +(% style="color:blue" %)**Example3**(%%): Connect to a 220v high active sensor.
1524 1524  )))
1525 1525  
1526 1526  (((
1527 -Assume that you want to monitor an active signal higher than 220V without damaging the photocoupler  
1521 +Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler  
1528 1528  )))
1529 1529  
1530 1530  * (((
1531 -Connect the sensor's output to DI1+ with a 50K resistor in series.
1525 +Connect sensor's output to DI1+ with a serial 50K resistor
1532 1532  )))
1533 1533  * (((
1534 -Connect the sensor's GND DI1-.
1528 +Connect sensor's GND DI1-.
1535 1535  )))
1536 1536  
1537 1537  (((
1538 -When the sensor is active, the current between NEC2501 pin1 and pin2 will be:
1532 +So when sensor active, the current between NEC2501 pin1 and pin2 is:
1539 1539  )))
1540 1540  
1541 1541  (((
... ... @@ -1543,19 +1543,19 @@
1543 1543  )))
1544 1544  
1545 1545  (((
1546 -If the sensor output is 220V, the[[image:1653968155772-850.png||height="23" width="19"]](% id="cke_bm_243359S" style="display:none" %)[[image:image-20220524095628-8.png]](%%) = DI1+ / 51K.  = 4.3mA. Therefore, the LT-22222-L will be able to safely detect this high-active signal.
1540 +If sensor output is 220v, the [[image:1653968155772-850.png||height="23" width="19"]](% id="cke_bm_243359S" style="display:none" %)[[image:image-20220524095628-8.png]](%%) = DI1+ / 51K.  = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely.
1547 1547  )))
1548 1548  
1549 1549  
1550 -(% style="color:blue" %)**Example4**(%%): Connecting to Dry Contact sensor
1544 +(% style="color:blue" %)**Example4**(%%): Connect to Dry Contact sensor
1551 1551  
1552 -From DI port circuit above, you can see that activating the photocoupler requires a voltage difference between the DI+ and DI- ports. However, the Dry Contact sensor is a passive component and cannot provide this voltage difference.
1546 +From above DI ports circuit, we can see that active the photocoupler will need to have a voltage difference between DI+ and DI- port. While the Dry Contact sensor is a passive component which can't provide this voltage difference.
1553 1553  
1554 -To detect a Dry Contact, you can supply a power source to one pin of the Dry Contact. Below is a reference circuit diagram.
1548 +To detect a Dry Contact, we can provide a power source to one pin of the Dry Contact. Below is a reference connection.
1555 1555  
1556 1556  [[image:image-20230616235145-1.png]]
1557 1557  
1558 -(% style="color:blue" %)**Example5**(%%): Connecting to an Open Collector
1552 +(% style="color:blue" %)**Example5**(%%): Connect to Open Colleactor
1559 1559  
1560 1560  [[image:image-20240219115718-1.png]]
1561 1561  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0