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

From version 29.40
edited by Xiaoling
on 2022/06/02 09:10
Change comment: There is no comment for this version
To version 30.1
edited by Xiaoling
on 2022/06/02 09:18
Change comment: Uploaded new attachment "1654132684752-193.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -744,7 +744,6 @@
744 744  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-BL.  User can see these commands below:
745 745  
746 746  
747 -
748 748  === 3.5.1 Common Commands: ===
749 749  
750 750  They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.3, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
... ... @@ -752,11 +752,14 @@
752 752  
753 753  === 3.5.2 Sensor related commands: ===
754 754  
755 -==== Choose Device Type (RS485 or TTL) ====
754 +(% class="wikigeneratedid" %)
755 +==== ====
756 756  
757 +==== **Choose Device Type (RS485 or TTL)** ====
758 +
757 757  RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect.
758 758  
759 -* AT Command
761 +* **AT Command**
760 760  
761 761  **AT+MOD=1** ~/~/ Set to support RS485-MODBUS type sensors. User can connect multiply RS485 , Modbus sensors to the A / B pins.
762 762  
... ... @@ -763,17 +763,17 @@
763 763  **AT+MOD=2** ~/~/ Set to support TTL Level sensors, User can connect one TTL Sensor to the TXD/RXD/GND pins.
764 764  
765 765  
766 -* Downlink Payload
768 +* **Downlink Payload**
767 767  
768 -**0A aa**     à same as AT+MOD=aa
770 +**0A aa**  ~-~->  same as AT+MOD=aa
769 769  
770 770  
771 771  
772 -==== [[RS485 Debug Command>>path:#downlink_A8]] (AT+CFGDEV) ====
774 +==== **RS485 Debug Command (AT+CFGDEV)** ====
773 773  
774 774  This command is used to configure the RS485 or TTL sensors; they won’t be used during sampling.
775 775  
776 -* AT Command
778 +* **AT Command**
777 777  
778 778  AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
779 779  
... ... @@ -780,9 +780,8 @@
780 780  m: 0: no CRC; 1: add CRC-16/MODBUS in the end of this command.
781 781  
782 782  
785 +* **Downlink Payload**
783 783  
784 -* Downlink Payload
785 -
786 786  Format: A8 MM NN XX XX XX XX YY
787 787  
788 788  Where:
... ... @@ -792,6 +792,7 @@
792 792  * XX XX XX XX: RS485 command total NN bytes
793 793  * YY: How many bytes will be uplink from the return of this RS485 command, if YY=0, RS485-BL will execute the downlink command without uplink; if YY>0, RS485-BL will uplink total YY bytes from the output of this RS485 command
794 794  
796 +
795 795  **Example 1:**
796 796  
797 797  To connect a Modbus Alarm with below commands.
1654132684752-193.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +22.8 KB
Content