<
From version < 17.2 >
edited by Xiaoling
on 2022/05/23 18:08
To version < 21.2 >
edited by Xiaoling
on 2022/05/23 18:19
>
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,92 +282,65 @@
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  
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
334 +(% border="1" style="background-color:#f7faff; width:601px" %)
335 +|(% style="width:111px" %)Size(bytes)|(% style="width:85px" %)4|(% style="width:130px" %)4|(% style="width:92px" %)1|(% style="width:94px" %)1|(% style="width:86px" %)1
336 +|(% style="width:111px" %)Value|(% style="width:85px" %)COUNT1|(% style="width:130px" %)AVI1 Counting|(% style="width:92px" %)DIDORO*|(% style="width:94px" %)Reserve|(% style="width:86px" %)MOD
361 361  
362 -
363 -)))|MOD
338 +(((
339 +(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
340 +)))
364 364  
365 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
342 +[[image:image-20220523181727-7.png]]
366 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.
image-20220523181246-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.5 KB
Content
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