<
From version < 18.1 >
edited by Xiaoling
on 2022/05/23 18:12
To version < 21.3 >
edited by Xiaoling
on 2022/05/23 18:22
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -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:
249 +**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:
261 +(% style="color:#4f81bd" %)**AT Commands for counting:**
262 262  
263 263  **For LT22222-L:**
264 264  
... ... @@ -282,144 +282,118 @@
282 282  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
283 283  )))
284 284  
285 +(% class="box infomessage" %)
286 +(((
287 +**AT+SETCNT=1,60   (Set COUNT1 value to 60)**
288 +)))
285 285  
286 -AT+SETCNT=1,60   (Set COUNT1 value to 60)
290 +(% class="box infomessage" %)
291 +(((
292 +**AT+SETCNT=2,60   (Set COUNT2 value to 60)**
293 +)))
287 287  
288 -AT+SETCNT=2,60   (Set COUNT2 value to 60)
295 +=== 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  
299 +[[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
301 +(((
302 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
303 +)))
312 312  
313 -Current
314 -)))|(((
315 -ACI2
305 +[[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.
311 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
331 331  
313 +**To use counting mode, please run:**
332 332  
333 -To use counting mode, please run:
315 +(% class="box infomessage" %)
316 +(((
317 +**AT+MOD=3**
318 +)))
334 334  
335 -AT+MOD=3
320 +(% class="box infomessage" %)
321 +(((
322 +**ATZ**
323 +)))
336 336  
337 -ATZ
338 -
339 -
340 340  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
341 341  
327 +=== 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  
333 +[[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
335 +(((
336 +(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
337 +)))
361 361  
362 -
363 -)))|MOD
339 +[[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.
345 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
376 376  
347 +**To use this mode, please run:**
377 377  
378 -To use this mode, please run:
349 +(% class="box infomessage" %)
350 +(((
351 +**AT+MOD=4**
352 +)))
379 379  
380 -AT+MOD=4
354 +(% class="box infomessage" %)
355 +(((
356 +**ATZ**
357 +)))
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:
362 +**Plus below command for AVI1 Counting:**
389 389  
390 -AT+SETCNT=3,60   (set AVI Count to 60)
364 +(% class="box infomessage" %)
365 +(((
366 +**AT+SETCNT=3,60   (set AVI Count to 60)**
367 +)))
391 391  
392 -AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)
369 +(% class="box infomessage" %)
370 +(((
371 +**AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
372 +)))
393 393  
394 -AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)
374 +(% class="box infomessage" %)
375 +(((
376 +**AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
377 +)))
395 395  
396 -AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)
379 +(% class="box infomessage" %)
380 +(((
381 +**AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
382 +)))
397 397  
384 +=== 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  
408 -
409 409  (% border="1" style="background-color:#f7faff" %)
410 -|Size(bytes)|2|2|2|2|1|1|1
411 -|Value|(((
412 -AVI1
413 -
414 -voltage
415 -)))|(((
416 -AVI2
417 -
418 -voltage
419 -)))|(((
420 -ACI1
421 -
422 -Current
389 +|(% style="width:93px" %)Size(bytes)|(% style="width:112px" %)2|(% style="width:105px" %)2|(% style="width:449px" %)2|2|1|1|1
390 +|(% style="width:93px" %)Value|(% style="width:112px" %)AVI1 voltage|(% style="width:105px" %)AVI2 voltage|(% style="width:449px" %)ACI1 Current| | | |
391 +|(% style="width:93px" %)Value|(% style="width:112px" %)(((
392 +AVI1 voltage
393 +)))|(% style="width:105px" %)(((
394 +AVI2 voltage
395 +)))|(% style="width:449px" %)(((
396 +ACI1 Current
423 423  )))|COUNT1|DIDORO*|(((
424 424  Reserve
425 425  
image-20220523181301-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.6 KB
Content
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
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0