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
-
... ... @@ -38,8 +38,6 @@ 38 38 39 39 * [[Video Demo>>url:https://www.youtube.com/watch?v=TAFZ5eaf-MY&t=6s&ab_channel=XavierFlorensaBerenguer]] 40 40 41 - 42 - 43 43 == 1.2 Example 2: Connect to Pulse Counter == 44 44 45 45 ... ... @@ -63,8 +63,6 @@ 63 63 64 64 * [[Dragino Solution in Farm>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/&file=Dragino%20on%20Farms.pptx]] 65 65 66 - 67 - 68 68 == 1.3 Example 3: Use RS485-LN with energy meters == 69 69 70 70 === 1.3.1 OverView === ... ... @@ -166,8 +166,6 @@ 166 166 167 167 * 08 FD is register data. Use short integer 16 bits to convert to decimal, get 2301, then 230.1V is the voltage. 168 168 169 - 170 - 171 171 === 1.3.3 How to configure RS485-LN and parse output commands === 172 172 173 173 ... ... @@ -538,8 +538,6 @@ 538 538 539 539 * 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"]] 540 540 541 - 542 - 543 543 == 1.5 Example 5: SEM Three Energy Meter with RS485-BL or RS485-LN == 544 544 545 545 ... ... @@ -549,8 +549,6 @@ 549 549 550 550 * 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"]] 551 551 552 - 553 - 554 554 == 1.6 Example 6: CEM C31 485-T1-MID Energy Meter with RS485-LN == 555 555 556 556 ... ... @@ -558,14 +558,24 @@ 558 558 559 559 * 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);"]] 560 560 561 - 562 - 563 563 == 1.7 Example 7: Schneider Electric PLC M221 with RS485-BL == 564 564 565 565 566 566 [[image:image-20220527094556-31.png]] 567 567 556 + 568 568 Network Structure 569 569 570 - 571 571 * [[Reference Instruction>>url:https://www.dragino.com/downloads/index.php?dir=RS485-LN/Application_Note/Schneider%20Electric%20PLC/]] 560 + 561 +== 1.8 Example 8: This sketch is supposed to test Dragino RS485-BL (Modbus master), using an Arduino UNO as a Modbus slave. == 562 + 563 +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. 564 + 565 +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. 566 + 567 +This is released the code under GNU LGPL licence on Github: 568 + 569 +[[https:~~/~~/github.com/zorbaproject/ArduinoModbusForDraginoRS485>>url:https://github.com/zorbaproject/ArduinoModbusForDraginoRS485]] 570 + 571 +