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. Xiaoling1 +XWiki.Bei - Content
-
... ... @@ -24,6 +24,7 @@ 24 24 **Connection** 25 25 26 26 27 + 27 27 [[image:image-20220527091942-2.png]](% style="display:none" %) 28 28 29 29 **Connection** ... ... @@ -38,7 +38,6 @@ 38 38 * [[Video Demo>>url:https://www.youtube.com/watch?v=TAFZ5eaf-MY&t=6s&ab_channel=XavierFlorensaBerenguer]] 39 39 40 40 41 - 42 42 == 1.2 Example 2: Connect to Pulse Counter == 43 43 44 44 ... ... @@ -50,6 +50,7 @@ 50 50 **Connection** 51 51 52 52 53 + 53 53 [[image:image-20220527092146-4.png||height="507" width="906"]] 54 54 55 55 **Connection** ... ... @@ -62,7 +62,6 @@ 62 62 * [[Dragino Solution in Farm>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/&file=Dragino%20on%20Farms.pptx]] 63 63 64 64 65 - 66 66 == 1.3 Example 3: Use RS485-LN with energy meters == 67 67 68 68 === 1.3.1 OverView === ... ... @@ -74,6 +74,8 @@ 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 + 77 77 ))) 78 78 79 79 [[image:image-20220527092419-5.png]] ... ... @@ -81,6 +81,7 @@ 81 81 **Connection1** 82 82 83 83 86 + 84 84 ((( 85 85 (% style="color:blue" %)**How to connect with Energy Meter:** 86 86 ... ... @@ -105,6 +105,8 @@ 105 105 106 106 ((( 107 107 Once there is power, the RS485-LN will be on. 111 + 112 + 108 108 ))) 109 109 110 110 [[image:image-20220527092514-6.png]] ... ... @@ -112,6 +112,7 @@ 112 112 **Connection2** 113 113 114 114 120 + 115 115 [[image:image-20220527092555-7.png]] 116 116 117 117 **Connection3** ... ... @@ -159,7 +159,6 @@ 159 159 * 08 FD is register data. Use short integer 16 bits to convert to decimal, get 2301, then 230.1V is the voltage. 160 160 161 161 162 - 163 163 === 1.3.3 How to configure RS485-LN and parse output commands === 164 164 165 165 ... ... @@ -198,6 +198,7 @@ 198 198 **AT COMMAND** 199 199 200 200 206 + 201 201 PAYLOAD is available after the valid value is intercepted. 202 202 203 203 [[image:image-20220601143046-7.png]] ... ... @@ -205,6 +205,7 @@ 205 205 **AT COMMAND** 206 206 207 207 214 + 208 208 You can get configured PAYLOAD on TTN. 209 209 210 210 [[image:image-20220601143519-1.png]] ... ... @@ -268,6 +268,7 @@ 268 268 AT COMMAND 269 269 270 270 278 + 271 271 (% 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.** 272 272 273 273 ... ... @@ -276,6 +276,7 @@ 276 276 AT COMMAND 277 277 278 278 287 + 279 279 ==== **1.3.3.2 via LoRaWAN DOWNLINK** ==== 280 280 281 281 ... ... @@ -286,6 +286,7 @@ 286 286 ))) 287 287 288 288 298 + 289 289 ((( 290 290 (% style="color:blue" %)**Type Code 0xAF** 291 291 ))) ... ... @@ -347,21 +347,25 @@ 347 347 **DOWNLINK** 348 348 349 349 360 + 350 350 [[image:image-20220601143803-3.png]] 351 351 352 352 **DOWNLINK** 353 353 354 354 366 + 355 355 [[image:image-20220601144053-5.png]] 356 356 357 357 **DOWNLINK** 358 358 359 359 372 + 360 360 [[image:image-20220601143921-4.png]] 361 361 362 362 **DOWNLINK** 363 363 364 364 378 + 365 365 [[image:image-20220601142805-5.png]] 366 366 367 367 **DOWNLINK** ... ... @@ -388,6 +388,8 @@ 388 388 389 389 ((( 390 390 check digit: Even 405 + 406 + 391 391 ))) 392 392 393 393 [[image:image-20220527093708-21.png]] ... ... @@ -395,6 +395,7 @@ 395 395 **USB** 396 396 397 397 414 + 398 398 [[image:image-20220527093747-22.png]] 399 399 400 400 **USB** ... ... @@ -420,6 +420,7 @@ 420 420 **USB** 421 421 422 422 440 + 423 423 === 1.3.5 How to configure multiple devices and modify device addresses === 424 424 425 425 ... ... @@ -518,7 +518,6 @@ 518 518 * 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"]] 519 519 520 520 521 - 522 522 == 1.5 Example 5: SEM Three Energy Meter with RS485-BL or RS485-LN == 523 523 524 524 ... ... @@ -529,7 +529,6 @@ 529 529 * 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"]] 530 530 531 531 532 - 533 533 == 1.6 Example 6: CEM C31 485-T1-MID Energy Meter with RS485-LN == 534 534 535 535 ... ... @@ -538,7 +538,6 @@ 538 538 * 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);"]] 539 539 540 540 541 - 542 542 == 1.7 Example 7: Schneider Electric PLC M221 with RS485-BL == 543 543 544 544 ... ... @@ -549,11 +549,10 @@ 549 549 550 550 * [[Reference Instruction>>url:https://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/Schneider%20Electric%20PLC/]] 551 551 567 +== == 552 552 569 +== 1.8 Example 8: This sketch is supposed to test Dragino RS485-BL (Modbus master), using an Arduino UNO as a Modbus slave. == 553 553 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 - 557 557 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. 558 558 559 559 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.