Changes for page RS485 Configure Tool
Last modified by Xiaoling on 2025/01/04 15:52
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 7 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -1,4 +1,5 @@ 1 -**Table of Contents:** 1 +(% class="wikigeneratedid" id="HTableofContentsFF1A" %) 2 +**Table of Contents:** 2 2 3 3 {{toc/}} 4 4 ... ... @@ -23,7 +23,6 @@ 23 23 24 24 * Import / Export commands 25 25 26 - 27 27 = 2. Hardware Connection = 28 28 29 29 ... ... @@ -31,21 +31,27 @@ 31 31 32 32 **[[Download RS485 Configure Tool>>https://www.dropbox.com/sh/us9qecn39fwt8n1/AABREdqUCzEmJMRrfuWuXasoa?dl=0]]**. 33 33 34 -[[image:image-20230928230446-1.png||height="275" width="471"]] 34 +[[image:image-20230928230446-1.png||_mstalt="431288" height="275" width="471"]] 35 35 36 36 = 3. Use the tool = 37 37 38 -== Overview == 38 +== 3.1 Overview == 39 39 40 40 41 +(% style="color:red" %)**warning: Please do not input multiple instructions at once for a site, as this may result in incorrect data** 42 + 41 41 Below is the block diagram of the RS485 Tool: 42 42 43 -[[image:image-20230928235259-4.png||height="681" width="915"]] 45 +[[image:image-20230928235259-4.png||_mstalt="434590" height="681" width="915"]] 44 44 47 +Below is the block diagram of the RS485 Tool V1.2: 45 45 46 - ==3.1GeneralConfigure:==49 +[[image:image-20231010145454-2.png||_mstalt="428597" height="689" width="921"]] 47 47 48 48 52 +== 3.2 General Configure: == 53 + 54 + 49 49 * (% style="color:blue" %)**Port **(%%): COM port in PC to connect to RS485 End Node. 50 50 51 51 * (% style="color:blue" %)**Node Baud Rate **(%%): The Baud Rate for RS485 End Node. ... ... @@ -67,7 +67,7 @@ 67 67 * (% style="color:blue" %)**Configure Devices **(%%): Send General Configure Command to End Node. 68 68 69 69 70 -== 3. 2Console Window: ==76 +== 3.3 Console Window: == 71 71 72 72 73 73 After **Connect End Node**. The Console Window will shows all the output from RS485 End Node. ... ... @@ -74,10 +74,10 @@ 74 74 75 75 User can also Send AT Commands to RS485 End Node in this window. 76 76 77 -[[image:image-20230928233408-3.png]] 83 +[[image:image-20230928233408-3.png||_mstalt="432289"]] 78 78 79 79 80 -== 3. 3RS485 Commands to Sensor ==86 +== 3.4 RS485 Commands to Sensor == 81 81 82 82 83 83 This area is used to configure what RS485 Commands the End Node should send to the RS485 sensors to get the sensor value. ... ... @@ -97,7 +97,7 @@ 97 97 **Test RS485 Commands**: After configure poll commands. Click this button then the tool will generate related AT+COMMANDS and send to the End node to test and get return. 98 98 99 99 100 -== 3. 4Process Sensor Returns ==106 +== 3.5 Process Sensor Returns == 101 101 102 102 103 103 RS485 sensors will return a string, to make it more efficient to process via LoRaWAN packets, we can fetch the valid chars from the returns in the **process sensor returns area**. ... ... @@ -116,20 +116,21 @@ 116 116 117 117 Their returnes will be shown in "RS485 Return Data" Area, such as below: 118 118 119 -[[image:image-20230930193108-1.png]] 125 +[[image:image-20230930193108-1.png||_mstalt="430235"]] 120 120 121 121 Use can choose to get "Discrete Data Bytes" or "Bytes Blocks": 122 122 123 -[[image:image-20230930193257-2.png]] Select the 1st ~~3rd bytes from the return.129 +[[image:image-20230930193257-2.png||_mstalt="432198"]] Select the 1st - 3rd bytes from the return. 124 124 125 -[[image:image-20230930193357-3.png]] Select the 3rd, 6th, 9th bytes from the return. 131 +[[image:image-20230930193357-3.png||_mstalt="432874"]] Select the 3rd, 6th, 9th bytes from the return. 126 126 127 -[[image:image-20230930193456-4.png]] After select the byte fetch method. User can see preview the result. This photo shows to fetch the Block 1~~3 from the first return. 133 +[[image:image-20230930193456-4.png||_mstalt="433212"]] After select the byte fetch method. User can see preview the result. This photo shows to fetch the Block 1~~3 from the first return. 128 128 135 +[[image:image-20231010150227-4.png||_mstalt="427531"]] Based on the AT command in the preview window, the node will upload data in the format of the left image 129 129 130 130 Below is the full screen shot: 131 131 132 -[[image:image-20230 930193658-5.png||height="735" width="1146"]]139 +[[image:image-20231010150054-3.png||_mstalt="426504"]] 133 133 134 134 135 135 (% style="color:blue" %)**AT+CMDDL**(%%): This specify the delay for RS485 End Node to wait for the RS485 sensors return. If RS485 sensors doesn't reply in this time. End Node will consider there is no reply. ... ... @@ -137,7 +137,7 @@ 137 137 (% style="color:blue" %)**Generate AT Instructions**(%%): After All testing goes fine with Poll Command & Return Process. User can press this button to generate the AT Commands which is for the Ene Node. 138 138 139 139 140 -== 3. 5Commands Previwe Window ==147 +== 3.6 Commands Previwe Window == 141 141 142 142 143 143 This window show the commands to be flash into the RS485 end node. ... ... @@ -150,22 +150,56 @@ 150 150 151 151 * (% style="color:blue" %)**Erase All **(%%): Clear All Configured Commands in the RS485. It won't erase the commands shows in the preview window. 152 152 160 +== 3.7 Reference video == 153 153 154 -== Change Log: == 155 155 163 +link: [[https:~~/~~/youtu.be/l9fLE3ekY4I>>https://youtu.be/l9fLE3ekY4I]] 164 + 165 + 166 +== 3.8 Change Log: == 167 + 156 156 === v1.1: === 157 157 170 +~1. No spaces are required between each byte of the inquiry frame 158 158 172 +2. Improve the prompt box 159 159 160 - =TODO:=174 +3. AT instruction coverage function 161 161 176 +4. Button function prompt 162 162 163 - ~1.Add Payload Structure Window178 +=== V1.2: === 164 164 165 - 2.ModifyCharstolooksnicer180 +~1. Fixed overwrite failure when AT instruction has multiple parameters 166 166 167 - 3.Each COmmandcan haveseperatereturn processcommand.182 +2. Add Payload Structure Window 168 168 169 - 4.184 +=== V1.3: === 170 170 171 - 186 +Fixed bug in V1.2 187 + 188 +1.When the input cut value exceeds the number of bytes returned, an incorrect AT instruction will be generated 189 + 190 +New: 191 + 192 +~1. Control the inquiry time input box between inquiry frames 193 + 194 +2. The inquiry frame does not require CRC verification input 195 + 196 +[[image:image-20240311144211-2.png||height="948" width="1268"]] 197 + 198 +=== V1.3.1: === 199 + 200 +Added a password input box. 201 +When using NB modules or nodes with access passwords other than 123456. 202 +Enter the password before connecting to the serial port 203 + 204 +[[image:image-20240620083959-1.png||height="680" width="1265"]] 205 + 206 + 207 += 4. TODO: = 208 + 209 + 210 +~1. Add Payload Structure Window(Done at v1.2) 211 + 212 +2. Modify Chars to looks nicer ( Done at v1.1)
- image-20231010145353-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lu - Size
-
... ... @@ -1,0 +1,1 @@ 1 +145.4 KB - Content
- image-20231010145454-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lu - Size
-
... ... @@ -1,0 +1,1 @@ 1 +118.4 KB - Content
- image-20231010150054-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lu - Size
-
... ... @@ -1,0 +1,1 @@ 1 +124.4 KB - Content
- image-20231010150227-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lu - Size
-
... ... @@ -1,0 +1,1 @@ 1 +4.7 KB - Content
- image-20240311143856-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lu - Size
-
... ... @@ -1,0 +1,1 @@ 1 +174.5 KB - Content
- image-20240311144211-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lu - Size
-
... ... @@ -1,0 +1,1 @@ 1 +180.9 KB - Content
- image-20240620083959-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Lu - Size
-
... ... @@ -1,0 +1,1 @@ 1 +122.9 KB - Content