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

From version 40.53
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
... ... @@ -474,20 +474,32 @@
474 474  After we got the valid value from each RS485 commands, we need to combine them together with the command **AT+DATAUP**.
475 475  )))
476 476  
477 +(((
477 477  **Examples:**
479 +)))
478 478  
481 +(((
479 479  Below are examples for the how above AT Commands works.
483 +)))
480 480  
485 +(((
481 481  **AT+COMMANDx : **This command will be sent to RS485/TTL devices during each sampling, Max command length is 14 bytes. The grammar is:
487 +)))
482 482  
483 483  (% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:500px" %)
484 484  |(% style="width:498px" %)(((
491 +(((
485 485  **AT+COMMANDx=xx xx xx xx xx xx xx xx xx xx xx xx,m**
493 +)))
486 486  
495 +(((
487 487  **xx xx xx xx xx xx xx xx xx xx xx xx: The RS485 command to be sent**
497 +)))
488 488  
499 +(((
489 489  **m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command**
490 490  )))
502 +)))
491 491  
492 492  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.
493 493