Last modified by Xiaoling on 2025/04/23 15:57

From version 40.51
edited by Xiaoling
on 2022/06/06 10:50
Change comment: There is no comment for this version
To version 40.54
edited by Xiaoling
on 2022/06/06 10:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -382,6 +382,8 @@
382 382  )))
383 383  )))
384 384  
385 +
386 +
385 385  === 3.3.2 Configure sensors ===
386 386  
387 387  (((
... ... @@ -405,6 +405,7 @@
405 405  Detail of AT+CFGDEV command see [[AT+CFGDEV detail>>||anchor="HRS485DebugCommand28AT2BCFGDEV29"]].
406 406  
407 407  
410 +
408 408  === 3.3.3 Configure read commands for each sampling ===
409 409  
410 410  (((
... ... @@ -471,20 +471,32 @@
471 471  After we got the valid value from each RS485 commands, we need to combine them together with the command **AT+DATAUP**.
472 472  )))
473 473  
477 +(((
474 474  **Examples:**
479 +)))
475 475  
481 +(((
476 476  Below are examples for the how above AT Commands works.
483 +)))
477 477  
485 +(((
478 478  **AT+COMMANDx : **This command will be sent to RS485/TTL devices during each sampling, Max command length is 14 bytes. The grammar is:
487 +)))
479 479  
480 480  (% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:500px" %)
481 481  |(% style="width:498px" %)(((
491 +(((
482 482  **AT+COMMANDx=xx xx xx xx xx xx xx xx xx xx xx xx,m**
493 +)))
483 483  
495 +(((
484 484  **xx xx xx xx xx xx xx xx xx xx xx xx: The RS485 command to be sent**
497 +)))
485 485  
499 +(((
486 486  **m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command**
487 487  )))
502 +)))
488 488  
489 489  For example, if we have a RS485 sensor. The command to get sensor value is: 01 03 0B B8 00 02 46 0A. Where 01 03 0B B8 00 02 is the Modbus command to read the register 0B B8 where stored the sensor value. The 46 0A is the CRC-16/MODBUS which calculate manually.
490 490