Last modified by Karry Zhuang on 2024/07/11 11:58
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -24,7 +24,6 @@ 24 24 **Connection** 25 25 26 26 27 - 28 28 [[image:image-20220527091942-2.png]](% style="display:none" %) 29 29 30 30 **Connection** ... ... @@ -39,6 +39,7 @@ 39 39 * [[Video Demo>>url:https://www.youtube.com/watch?v=TAFZ5eaf-MY&t=6s&ab_channel=XavierFlorensaBerenguer]] 40 40 41 41 41 + 42 42 == 1.2 Example 2: Connect to Pulse Counter == 43 43 44 44 ... ... @@ -50,7 +50,6 @@ 50 50 **Connection** 51 51 52 52 53 - 54 54 [[image:image-20220527092146-4.png||height="507" width="906"]] 55 55 56 56 **Connection** ... ... @@ -63,6 +63,7 @@ 63 63 * [[Dragino Solution in Farm>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/&file=Dragino%20on%20Farms.pptx]] 64 64 65 65 65 + 66 66 == 1.3 Example 3: Use RS485-LN with energy meters == 67 67 68 68 === 1.3.1 OverView === ... ... @@ -74,8 +74,6 @@ 74 74 75 75 ((( 76 76 This example describes a single-phase meter.This is the connection between the RS485-LN and the energy meter. 77 - 78 - 79 79 ))) 80 80 81 81 [[image:image-20220527092419-5.png]] ... ... @@ -83,7 +83,6 @@ 83 83 **Connection1** 84 84 85 85 86 - 87 87 ((( 88 88 (% style="color:blue" %)**How to connect with Energy Meter:** 89 89 ... ... @@ -108,8 +108,6 @@ 108 108 109 109 ((( 110 110 Once there is power, the RS485-LN will be on. 111 - 112 - 113 113 ))) 114 114 115 115 [[image:image-20220527092514-6.png]] ... ... @@ -117,7 +117,6 @@ 117 117 **Connection2** 118 118 119 119 120 - 121 121 [[image:image-20220527092555-7.png]] 122 122 123 123 **Connection3** ... ... @@ -165,6 +165,7 @@ 165 165 * 08 FD is register data. Use short integer 16 bits to convert to decimal, get 2301, then 230.1V is the voltage. 166 166 167 167 162 + 168 168 === 1.3.3 How to configure RS485-LN and parse output commands === 169 169 170 170 ... ... @@ -203,7 +203,6 @@ 203 203 **AT COMMAND** 204 204 205 205 206 - 207 207 PAYLOAD is available after the valid value is intercepted. 208 208 209 209 [[image:image-20220601143046-7.png]] ... ... @@ -211,7 +211,6 @@ 211 211 **AT COMMAND** 212 212 213 213 214 - 215 215 You can get configured PAYLOAD on TTN. 216 216 217 217 [[image:image-20220601143519-1.png]] ... ... @@ -275,7 +275,6 @@ 275 275 AT COMMAND 276 276 277 277 278 - 279 279 (% style="color:blue" %)**01 is device address,00 02 is the current, 08 DC is the voltage,00 00 00 44 is the total active energy.** 280 280 281 281 ... ... @@ -284,7 +284,6 @@ 284 284 AT COMMAND 285 285 286 286 287 - 288 288 ==== **1.3.3.2 via LoRaWAN DOWNLINK** ==== 289 289 290 290 ... ... @@ -295,7 +295,6 @@ 295 295 ))) 296 296 297 297 298 - 299 299 ((( 300 300 (% style="color:blue" %)**Type Code 0xAF** 301 301 ))) ... ... @@ -357,25 +357,21 @@ 357 357 **DOWNLINK** 358 358 359 359 360 - 361 361 [[image:image-20220601143803-3.png]] 362 362 363 363 **DOWNLINK** 364 364 365 365 366 - 367 367 [[image:image-20220601144053-5.png]] 368 368 369 369 **DOWNLINK** 370 370 371 371 372 - 373 373 [[image:image-20220601143921-4.png]] 374 374 375 375 **DOWNLINK** 376 376 377 377 378 - 379 379 [[image:image-20220601142805-5.png]] 380 380 381 381 **DOWNLINK** ... ... @@ -402,8 +402,6 @@ 402 402 403 403 ((( 404 404 check digit: Even 405 - 406 - 407 407 ))) 408 408 409 409 [[image:image-20220527093708-21.png]] ... ... @@ -411,7 +411,6 @@ 411 411 **USB** 412 412 413 413 414 - 415 415 [[image:image-20220527093747-22.png]] 416 416 417 417 **USB** ... ... @@ -437,7 +437,6 @@ 437 437 **USB** 438 438 439 439 440 - 441 441 === 1.3.5 How to configure multiple devices and modify device addresses === 442 442 443 443 ... ... @@ -536,6 +536,7 @@ 536 536 * Configure Documen: [[Circuit Breaker Remote Open Close>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/Circuit_Breaker_Remote_Open_Close/||_mstmutation="1"]] 537 537 538 538 521 + 539 539 == 1.5 Example 5: SEM Three Energy Meter with RS485-BL or RS485-LN == 540 540 541 541 ... ... @@ -546,6 +546,7 @@ 546 546 * Configure Document for RS485-LN: [[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||_mstmutation="1"]] 547 547 548 548 532 + 549 549 == 1.6 Example 6: CEM C31 485-T1-MID Energy Meter with RS485-LN == 550 550 551 551 ... ... @@ -554,6 +554,7 @@ 554 554 * Configure Document For RS485-LN: [[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||_mstmutation="1" style="background-color: rgb(255, 255, 255);"]] 555 555 556 556 541 + 557 557 == 1.7 Example 7: Schneider Electric PLC M221 with RS485-BL == 558 558 559 559 ... ... @@ -564,10 +564,11 @@ 564 564 565 565 * [[Reference Instruction>>url:https://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/Schneider%20Electric%20PLC/]] 566 566 567 -== == 568 568 569 -== 1.8 Example 8: This sketch is supposed to test Dragino RS485-BL (Modbus master), using an Arduino UNO as a Modbus slave. == 570 570 554 +== 1.8 Example 8: This sketch is supposed to test Dragino RS485-BL (Modbus master), using an Arduino UNO as a Modbus slave. == 555 + 556 + 571 571 This sketch uses 4 registers: some of them can be set by Dragino with a command, another is used to store value from a DS18B20 temperature sensor, or a random generated number. All data is 16bit uint, but the sketch shows also how to represent booleans and negative numbers. 572 572 573 573 In the next days I will be adding more documentation, but I think it already explains users how to build their own modbus sensor to pair with Dragino RS485-BL.