Last modified by Karry Zhuang on 2024/07/11 11:58
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 10 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -8,12 +8,12 @@ 8 8 9 9 10 10 11 -= 1. Introduction = 11 += **1. Introduction** = 12 12 13 13 This article provide the examples for RS485-LN to connect to different type of RS485 sensors. 14 14 15 15 16 -== 1.1 Example 1: Connect to Leak relay and VFD == 16 +== **1.1 Example 1: Connect to Leak relay and VFD** == 17 17 18 18 This instruction is provided by Xavier Florensa Berenguer from [[NORIA GRUPO DE COMPRAS>>url:http://www.gruponovelec.com/]]. It is to show how to use RS485-LN to connect to Relay and VFD and communicate with Mobile. The structure is like below: 19 19 ... ... @@ -34,8 +34,10 @@ 34 34 * [[Configure Manual>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/Relay_VFD/]] : Explanation on how to integrate to Node-red and to the Mobile Phone, and with link to the Github code. 35 35 * [[Video Demo>>url:https://www.youtube.com/watch?v=TAFZ5eaf-MY&t=6s&ab_channel=XavierFlorensaBerenguer]] 36 36 37 -== 1.2 Example 2: Connect to Pulse Counter == 38 38 38 + 39 +== **1.2 Example 2: Connect to Pulse Counter** == 40 + 39 39 This instruction is provided by Xavier Florensa Berenguer from [[NORIA GRUPO DE COMPRAS>>url:http://www.gruponovelec.com/]]. It is to show how to use RS485-LN to connect to Pulse Counter and communicate with Mobile. This example and example 2 compose the structure for a farm IoT solution. The structure is like below: 40 40 41 41 [[image:image-20220527092058-3.png]] ... ... @@ -43,18 +43,20 @@ 43 43 Connection 44 44 45 45 48 + 46 46 [[image:image-20220527092146-4.png]] 47 47 48 48 Connection 49 49 53 + 50 50 * [[Pickdata MIO40 water pulse counter to LoRa with Dragino RS485-LN>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/Pulse-Counter/]] : Configure Document 51 51 * [[Dragino Solution in Farm>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/&file=Dragino%20on%20Farms.pptx]] 52 52 53 53 == == 54 54 55 -== 1.3 Example3: Use RS485-LN with energy meters == 59 +== **1.3 Example3: Use RS485-LN with energy meters** == 56 56 57 -=== 1.3.1 OverView === 61 +=== **1.3.1 OverView** === 58 58 59 59 ((( 60 60 **Note**:The specifications of each energy meter are different, please refer to your own energy meter specifications. ... ... @@ -69,6 +69,7 @@ 69 69 Connection1 70 70 71 71 76 + 72 72 ((( 73 73 How to connect with Energy Meter: 74 74 ))) ... ... @@ -98,16 +98,17 @@ 98 98 Connection2 99 99 100 100 106 + 101 101 [[image:image-20220527092555-7.png]] 102 102 103 103 Connection3 104 104 105 105 106 -=== 1.3.2 How to use the parameters of the energy meter and MODBUS commands === 112 +=== **1.3.2 How to use the parameters of the energy meter and MODBUS commands** === 107 107 108 108 If the user needs to read the parameters of the electric energy meter and use the modbus command,please refer to the appendix of the MODBUS communication protocol in the user manual of the energy meter. 109 109 110 -[[image:image-20220 527092629-8.png]]116 +[[image:image-20220601143257-10.png]] 111 111 112 112 113 113 (% class="box infomessage" %) ... ... @@ -155,7 +155,7 @@ 155 155 If the configured parameters and commands are incorrect, the return value is not obtained. 156 156 ))) 157 157 158 -[[image:image-20220 527092748-9.png]]164 +[[image:image-20220601143201-9.png]] 159 159 160 160 AT COMMAND 161 161 ... ... @@ -165,25 +165,27 @@ 165 165 AT+DATACUTx : This command defines how to handle the return from AT+COMMANDx, max reture length is 40 bytes. AT+DATACUTx=a,b,c 166 166 ))) 167 167 168 -a: length for the return of AT+COMMAND 174 +a: length for the return of AT+COMMAND 169 169 170 -b:1: grab valid value by byte, max 6 bytes .2: grab valid value by bytes section, max 3 sections.176 +b: 1: grab valid value by byte, max 6 bytes; 2: grab valid value by bytes section, max 3 sections. 171 171 172 -c: define the position for valid value. 178 +c: define the position for valid value. 173 173 174 -[[image:image-20220 527092936-10.png]]180 +[[image:image-20220601143115-8.png]] 175 175 176 176 AT COMMAND 177 177 178 178 185 + 179 179 PAYLOAD is available after the valid value is intercepted. 180 180 181 181 182 -[[image:image-20220 527093059-11.png]]189 +[[image:image-20220601143046-7.png]] 183 183 184 184 AT COMMAND 185 185 186 186 194 + 187 187 You can get configured PAYLOAD on TTN. 188 188 189 189 [[image:image-20220527093133-12.png]] ... ... @@ -242,7 +242,7 @@ 242 242 Payload:01 00 02 39 85 08 DC 00 00 00 44 243 243 ))) 244 244 245 -[[image:image-20220 527093204-13.png]]253 +[[image:image-20220601142936-6.png]] 246 246 247 247 AT COMMAND 248 248 ... ... @@ -249,6 +249,8 @@ 249 249 250 250 (% style="color:#4f81bd" %)**01 is device address,00 02 is the current, 08 DC is the voltage,00 00 00 44 is the total active energy.** 251 251 260 + 261 + 252 252 [[image:image-20220527093251-14.png]] 253 253 254 254 AT COMMAND ... ... @@ -314,6 +314,8 @@ 314 314 ))) 315 315 316 316 ((( 327 + 328 + 317 317 (% style="color:#4f81bd" %)**Example:** 318 318 ))) 319 319 ... ... @@ -326,23 +326,27 @@ 326 326 DOWNLINK 327 327 328 328 341 + 329 329 [[image:image-20220527093508-17.png]] 330 330 331 331 DOWNLINK 332 332 333 333 347 + 334 334 [[image:image-20220527093530-18.png]] 335 335 336 336 DOWNLINK 337 337 338 338 353 + 339 339 [[image:image-20220527093607-19.png]] 340 340 341 341 DOWNLINK 342 342 343 343 344 -[[image:image-20220527093628-20.png]] 345 345 360 +[[image:image-20220601142805-5.png]] 361 + 346 346 DOWNLINK 347 347 348 348 ... ... @@ -373,11 +373,13 @@ 373 373 USB 374 374 375 375 392 + 376 376 [[image:image-20220527093747-22.png]] 377 377 378 378 USB 379 379 380 380 398 + 381 381 ((( 382 382 The configuration command is consistent with the AT command, input the hexadecimal command directly into the serial port, and the serial port will output the command. 383 383 ))) ... ... @@ -405,7 +405,7 @@ 405 405 ))) 406 406 ))) 407 407 408 -[[image:image-20220 527093849-24.png]]426 +[[image:image-20220601142044-1.png]] 409 409 410 410 411 411 **Example**:These two meters are examples of setting parameters and device addresses. ... ... @@ -432,7 +432,7 @@ 432 432 ))) 433 433 ))) 434 434 435 -[[image:image-20220 527094100-27.png]]453 +[[image:image-20220601142354-2.png]] 436 436 437 437 (% class="box infomessage" %) 438 438 ((( ... ... @@ -459,10 +459,10 @@ 459 459 460 460 Its default device address is 01, and the following are the parameters for configuring two energy meters. 461 461 462 -[[image:image-20220 527094150-28.png]]480 +[[image:image-20220601142452-3.png]] 463 463 464 464 465 -[[image:image-20220 527094224-29.png]]483 +[[image:image-20220601142607-4.png]] 466 466 467 467 **PAYLOAD:01 08 DF 43 62** 468 468 ... ... @@ -470,7 +470,6 @@ 470 470 * 43 62 is the valid value of the meter with device address 01. 471 471 472 472 473 - 474 474 == 1.4 Example 4: Circuit Breaker Remote Open Close == 475 475 476 476 This instruction is provided by Xavier Florensa Berenguer from [[NORIA GRUPO DE COMPRAS>>url:http://www.gruponovelec.com/]]. It is to show how to use RS485-LN to connect to SCHNEIDER SMART and Monitor and control your cabinet remotely with no wires and with Dragino RS485-LN LoRaWAN technology. The structure is like below: ... ... @@ -482,7 +482,6 @@ 482 482 * [[Circuit Breaker Remote Open Close>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/Circuit_Breaker_Remote_Open_Close/]] : Configure Documen 483 483 484 484 485 - 486 486 == 1.5 Example 5: SEM Three Energy Meter with RS485-BL or RS485-LN == 487 487 488 488 This instruction is provided by Xavier Florensa Berenguer from [[NORIA GRUPO DE COMPRAS>>url:http://www.gruponovelec.com/]]. It is to show how to use RS485-BL to connect to SEM Three Energy Meter and send the data to mobile phone for remote minitor. The structure is like below: ... ... @@ -491,6 +491,8 @@ 491 491 492 492 * [[Connect to SEM Three>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/SEM_Three_Energy_Meter/&file=SEM%20three%20and%20Dragino%20RS485-LN%20v1.pdf]] : Configure Document for RS485-LN 493 493 510 + 511 + 494 494 == 1.6 Example 6:CEM C31 485-T1-MID Energy Meter with RS485-LN == 495 495 496 496 This instruction is provided by Xavier Florensa Berenguer from [[NORIA GRUPO DE COMPRAS>>url:http://www.gruponovelec.com/]]. It is to show how to use RS485-LN to connect to CEM C31 485-T1-MID and send the data for remote minitor. The structure is like below: ... ... @@ -497,6 +497,8 @@ 497 497 498 498 * [[CEM C31 485-T1-MID>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/ELECTRICAL%20CABINET/&file=ELECTRICAL%20CABINET%20READINGS.pdf]] : Configure Document For RS485-LN 499 499 518 + 519 + 500 500 == 1.7 Example 7:Schneider Electric PLC M221 with RS485-BL == 501 501 502 502 [[image:image-20220527094556-31.png]]
- image-20220601142044-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +3.7 KB - Content
- image-20220601142354-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.8 KB - Content
- image-20220601142452-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +28.1 KB - Content
- image-20220601142607-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +26.9 KB - Content
- image-20220601142805-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +35.8 KB - Content
- image-20220601142936-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +26.7 KB - Content
- image-20220601143046-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +11.2 KB - Content
- image-20220601143115-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +11.9 KB - Content
- image-20220601143201-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +16.5 KB - Content
- image-20220601143257-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +9.1 KB - Content