<
From version < 45.78 >
edited by Xiaoling
on 2024/08/06 16:37
To version < 45.76 >
edited by Xiaoling
on 2024/08/06 16:27
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -494,7 +494,6 @@
494 494  
495 495  [[image:image-20240714174241-2.png]]
496 496  
497 -
498 498  == 3.4 Installation Notice ==
499 499  
500 500  
... ... @@ -553,7 +553,6 @@
553 553  |=(% style="width: 64.75px;background-color:#4F81BD;color:white" %)Original address|=(% style="width: 64.75px;background-color:#4F81BD;color:white" %)Function code|=(% style="width: 64.75px;background-color:#4F81BD;color:white" %)Address high|=(% style="width: 64.75px;background-color:#4F81BD;color:white" %)Address low|=(% style="width: 64.75px;background-color:#4F81BD;color:white" %)Quantity high|=(% style="width: 64.75px; background-color: rgb(79, 129, 189); color: white;" %)Quantity low|=(% style="width: 64.75px;background-color:#4F81BD;color:white" %)CRC16 low|=(% style="width: 64.75px;background-color:#4F81BD;color:white" %)CRC16 high
554 554  |(% style="width:99px" %)0XFE |(% style="width:112px" %)0X03|(% style="width:135px" %)0X00|(% style="width:126px" %)0X50|(% style="width:85px" %)0X00|(% style="width:1px" %)0X00|(% style="width:1px" %)0X51|(% style="width:1px" %)0XD4
555 555  
556 -
557 557  **response:**
558 558  
559 559  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %)
... ... @@ -560,7 +560,6 @@
560 560  |=(% style="width: 103.6px;background-color:#4F81BD;color:white" %)New address|=(% style="width: 103.6px;background-color:#4F81BD;color:white" %)Function code|=(% style="width: 103.6px; background-color: rgb(79, 129, 189); color: white;" %)Data length|=(% style="width: 103.6px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 103.6px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
561 561  |(% style="width:99px" %)0X01|(% style="width:112px" %)0X03|(% style="width:106px" %)0X00|(% style="width:93px" %)0X20|(% style="width:104px" %)0XF0
562 562  
563 -
564 564  === 3.6.2 Change address ===
565 565  
566 566  
... ... @@ -598,7 +598,6 @@
598 598  0X96
599 599  )))
600 600  
601 -
602 602  === 3.6.4 Query data ===
603 603  
604 604  
... ... @@ -646,9 +646,6 @@
646 646  0XC3
647 647  )))
648 648  
649 -
650 -
651 -
652 652  = 4. DR-DO1 Dissolved Oxygen Sensor =
653 653  
654 654  == 4.1 Specification ==
... ... @@ -655,31 +655,21 @@
655 655  
656 656  
657 657  * **Measuring range**: 0-20mg/L, 0-50°C
658 -
659 659  * **Accuracy**: 3%, ±0.5°C
660 -
661 661  * **Resolution**: 0.01 mg/L, 0.01°C
662 -
663 663  * **Maximum operating pressure**: 6 bar
664 -
665 665  * **Output signal**: A: 4-20mA (current loop)B: RS485 (standard Modbus-RTU protocol, device default address: 01)
666 -
667 667  * **Power supply voltage**: 5-24V DC
668 -
669 669  * **Working environment**: temperature 0-60°C; humidity <95%RH
670 -
671 671  * **Power consumption**: ≤0.5W
672 672  
673 -
674 674  == 4.2 wiring ==
675 675  
676 -
677 677  [[image:image-20240720172632-4.png||height="390" width="640"]]
678 678  
679 679  
680 -== 4.3 Impedance requirements for current signals ==
664 +== (% id="cke_bm_224234S" style="display:none" %) (%%)4.3 Impedance requirements for current signals ==
681 681  
682 -
683 683  [[image:image-20240718195414-8.png||height="100" width="575"]]
684 684  
685 685  
... ... @@ -691,71 +691,60 @@
691 691  
692 692  == 4.5 Instructions for use and maintenance ==
693 693  
694 -
695 695  * It can be directly put into water without adding a protective tube, ensuring the long-term stability, reliability and accuracy of the sensor.
696 -
697 697  * If the water conditions are complex and you want accurate data, you need to wipe the sensor probe frequently.
698 698  
699 -
700 700  == 4.6 RS485 Commands ==
701 701  
702 -
703 703  RS485 signaldefault address 0x14
704 704  Standard Modbus-RTU protocol, baud rate: 9600; check bit: none; data bit: 8; stop bit: 1
705 705  
706 -
707 707  === 4.6.1 Query address ===
708 708  
687 +send
709 709  
710 -**send:**
711 -
712 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %)
713 -|=(% style="width: 64.75px;background-color:#4F81BD;color:white" %)Original address|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 64px; background-color: rgb(79, 129, 189); color: white;" %)Register address high|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Register address low|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Register length high|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Register length low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
689 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:599.333px" %)
690 +|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Original address|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 64px; background-color: rgb(79, 129, 189); color: white;" %)Register address high|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Register address low|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Register length high|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Register length low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
714 714  |(% style="width:99px" %)0XFF|(% style="width:72px" %)0X03|(% style="width:64px" %)0X00|(% style="width:68px" %)0X0A|(% style="width:70px" %)0X00|(% style="width:72px" %)0X02|(% style="width:56px" %)0XF1|(% style="width:56px" %)0XD7
715 715  
716 -
717 717  If you forget the original address of the sensor, you can use the broadcast address 0XFF instead. When using 0XFE, the host can only connect to one slave, which can be used as a method of address query.
718 718  
719 719  
720 -**response:**
696 +response
721 721  
722 722  Register 0 data high and register 0 data low indicate the actual address of the sensor: 1
723 723  Register 1 data high and register 1 data low indicate the sensor version
724 724  
725 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %)
701 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:599.333px" %)
726 726  |=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 64px; background-color: rgb(79, 129, 189); color: white;" %)Data length|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Register 0 Data high|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Register 0 Data low|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Register 1 Data high|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Register 1 Data low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
727 727  |(% style="width:99px" %)0XFF|(% style="width:72px" %)0X03|(% style="width:64px" %)0X04|(% style="width:68px" %)0X00|(% style="width:70px" %)0X01|(% style="width:72px" %)0X00|(% style="width:56px" %)0X00|(% style="width:56px" %)0XB4|(% style="width:56px" %)0X3C
728 728  
729 -
730 730  === 4.6.2 Change address ===
731 731  
732 -
733 733  For example: Change the address of the sensor with address 1 to 2(address range: 1-119), master → slave
734 734  
735 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %)
709 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:907.333px" %)
736 736  |=(% style="width: 67px; background-color: rgb(79, 129, 189); color: white;" %)Original address|=(% style="width: 71px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 65px; background-color: rgb(79, 129, 189); color: white;" %)Starting register address high|=(% style="width: 65px; background-color: rgb(79, 129, 189); color: white;" %)Starting register address low|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Register length high|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Register length low|=(% style="width: 53px; background-color: rgb(79, 129, 189); color: white;" %)Data length|=(% style="width: 53px; background-color: rgb(79, 129, 189); color: white;" %)Start address high|=(% style="width: 53px; background-color: rgb(79, 129, 189); color: white;" %)Start address low|=(% style="width: 53px; background-color: rgb(79, 129, 189); color: white;" %)Sensor version|=(% style="width: 53px; background-color: rgb(79, 129, 189); color: white;" %)Sensor version|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low
737 737  |(% style="width:67px" %)0X01|(% style="width:71px" %)0X10|(% style="width:65px" %)0X00|(% style="width:65px" %)0X0A|(% style="width:70px" %)0X00|(% style="width:72px" %)0X02|(% style="width:53px" %)0X04|(% style="width:53px" %)0X00|(% style="width:72px" %)0X02|(% style="width:53px" %)0X00|(% style="width:53px" %)0X00|(% style="width:56px" %)0XD2|(% style="width:53px" %)0X10
738 738  
739 -**response:**
713 +response
740 740  
741 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %)
715 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:599.333px" %)
742 742  |=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 64px; background-color: rgb(79, 129, 189); color: white;" %)Starting register address high|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Starting register address low|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Register length high|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Register length low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
743 743  |(% style="width:99px" %)0X01|(% style="width:72px" %)0X10|(% style="width:64px" %)0X00|(% style="width:68px" %)0X0A|(% style="width:70px" %)0X00|(% style="width:72px" %)0X02|(% style="width:56px" %)0X61|(% style="width:56px" %)0XCA
744 744  
745 -
746 746  === 4.6.3 Query data ===
747 747  
748 748  
749 749  Query the data (dissolved oxygen) of the sensor (address 14), host → slave
750 750  
751 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %)
724 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:599.333px" %)
752 752  |=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 64px; background-color: rgb(79, 129, 189); color: white;" %)Starting register address high|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Starting register address low|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Register length high|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Register length low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
753 753  |(% style="width:99px" %)0X14|(% style="width:72px" %)0X03|(% style="width:64px" %)0X00|(% style="width:68px" %)0X14|(% style="width:70px" %)0X00|(% style="width:72px" %)0X01|(% style="width:56px" %)0XC6|(% style="width:56px" %)0XCB
754 754  
755 -
756 756  If the sensor receives correctly, the following data will be returned, slave → host
757 757  
758 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %)
730 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:599.333px" %)
759 759  |=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Data length|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Register 0 Data high|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Register 0 Data low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
760 760  |(% style="width:99px" %)0X14|(% style="width:72px" %)0X03|(% style="width:68px" %)0X02|(% style="width:70px" %)0X03|(% style="width:72px" %)0X78|(% style="width:56px" %)0XB5|(% style="width:56px" %)0X55
761 761  
... ... @@ -766,71 +766,56 @@
766 766  
767 767  Query the data (temperature) of the sensor (address 14), host → slave
768 768  
769 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %)
741 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:599.333px" %)
770 770  |=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 64px; background-color: rgb(79, 129, 189); color: white;" %)Starting register address high|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Starting register address low|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Register length high|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Register length low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
771 771  |(% style="width:99px" %)0X14|(% style="width:72px" %)0X03|(% style="width:64px" %)0X00|(% style="width:68px" %)0X11|(% style="width:70px" %)0X00|(% style="width:72px" %)0X01|(% style="width:56px" %)0XD6|(% style="width:56px" %)0XCA
772 772  
773 -
774 774  If the sensor receives correctly, the following data will be returned, slave → host
775 775  
776 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %)
747 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:599.333px" %)
777 777  |=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Data length|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Register 0 Data high|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Register 0 Data low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
778 778  |(% style="width:99px" %)0X14|(% style="width:72px" %)0X03|(% style="width:68px" %)0X02|(% style="width:70px" %)0X09|(% style="width:72px" %)0XA4|(% style="width:56px" %)0XB2|(% style="width:56px" %)0X6C
779 779  
780 -
781 781  After the query, 7 bytes will be returned. For example, the returned data is 14 03 02 (% style="color:red" %)**09 A4**(%%) B2 6C. 03 78 is the value of dissolved oxygen temperature.
782 782  
783 -Converted to decimal, it is 2468. Add two decimal places to get the actual value. 09 A4 means the current dissolved oxygen temperature is 24.68°C
753 +Converted to decimal, it is 2468. Add two decimal places to get the actual value. 09 A4 means the current dissolved oxygen temperature is 24.68
784 784  
785 785  
786 786  = 5. DR-TS1 Water Turbidity Sensor =
787 787  
788 -== 5.1 Specification ==
789 789  
790 790  
791 -* **Measuring range**: 0.1~1000.0NTU
760 +== (% id="cke_bm_81470S" style="display:none" %) (%%)5.1 Specification ==
792 792  
762 +* **Measuring range**: 0.1~1000.0NTU
793 793  * **Accuracy**: ±5%
794 -
795 795  * **Resolution**: 0.1NTU
796 -
797 797  * **Stability**: ≤3mV/24 hours
766 +* **Output signal**: A: 4~20 mA (current loop)B: RS485 (standard Modbus-RTU protocol, device default address: 01)
767 +* **Power supply voltage**: 5~24V DC (when output signal is RS485)12~24V DC (when output signal is 4~20mA)
768 +* **Working environment**: temperature 0~60℃; humidity ≤95%RH
769 +* **Power consumption**: ≤0.5W
798 798  
799 -* **Output signal**: A: 4~20 mA (current loop)B: RS485 (standard Modbus-RTU protocol, device default address: 01)
800 -
801 -* **Power supply voltage**: 5~24V DC (when output signal is RS485)12~24V DC (when output signal is 4~20mA)
802 -
803 -* **Working environment**: temperature 0~60°C; humidity ≤ 95%RH
804 -
805 -* **Power consumption**: ≤ 0.5W
806 -
807 -
808 808  == 5.2 wiring ==
809 809  
810 -
811 811  [[image:image-20240720172640-5.png||height="387" width="635"]]
812 812  
813 813  
814 814  == 5.3 Impedance requirements for current signals ==
815 815  
816 -
817 817  [[image:image-20240718195414-8.png||height="100" width="575"]]
818 818  
819 819  
820 820  == 5.4 Mechinical Drawing ==
821 821  
822 -
823 823  [[image:image-20240718195058-7.png||height="305" width="593"]]
824 824  
825 825  
826 826  == 5.5 Instructions for use and maintenance ==
827 827  
828 -
829 829  * It can be directly put into water without adding a protective tube, ensuring the long-term stability, reliability and accuracy of the sensor.
830 -
831 831  * If the water conditions are complex and you want accurate data, you need to wipe the sensor probe frequently.
832 832  
833 -
834 834  == 5.6 RS485 Commands ==
835 835  
836 836  
... ... @@ -837,13 +837,11 @@
837 837  RS485 signaldefault address 0x15
838 838  Standard Modbus-RTU protocol, baud rate: 9600; check bit: none; data bit: 8; stop bit: 1
839 839  
840 -
841 841  === 5.6.1 Query address ===
842 842  
799 +send
843 843  
844 -**send:**
845 -
846 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %)
801 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:599.333px" %)
847 847  |=(% style="width: 50px;background-color:#4F81BD;color:white" %)Original address|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 64px; background-color: rgb(79, 129, 189); color: white;" %)Address high|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Address low|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Quantity high|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Quantity low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
848 848  |(% style="width:99px" %)0XFE |(% style="width:72px" %)0X03|(% style="width:64px" %)0X00|(% style="width:68px" %)0X50|(% style="width:70px" %)0X00|(% style="width:72px" %)0X00|(% style="width:56px" %)0X51|(% style="width:56px" %)0XD4
849 849  
... ... @@ -850,43 +850,38 @@
850 850  If you forget the original address of the sensor, you can use the broadcast address 0XFE instead. When using 0XFE, the host can only connect to one slave, which can be used as a method of address query.
851 851  
852 852  
853 -**response:**
808 +response
854 854  
855 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %)
810 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:561.333px" %)
856 856  |=(% style="width: 50px;background-color:#4F81BD;color:white" %)New address|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Function code|=(% style="width: 106px; background-color: rgb(79, 129, 189); color: white;" %)Data length|=(% style="width: 93px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 104px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
857 857  |(% style="width:99px" %)0X01|(% style="width:112px" %)0X03|(% style="width:106px" %)0X00|(% style="width:93px" %)0X20|(% style="width:104px" %)0XF0
858 858  
859 -
860 860  === 5.6.2 Change address ===
861 861  
862 862  For example: Change the address of the sensor with address 1 to 2, master → slave
863 863  
864 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %)
818 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %)
865 865  |=(% style="width: 50px;background-color:#4F81BD;color:white" %)Original address|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Function code|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address high|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address low|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Quantity high|=(% style="width: 1px; background-color: rgb(79, 129, 189); color: white;" %)Quantity low|=(% style="width: 50px;background-color:#4F81BD;color:white" %)CRC16 low|=(% style="width: 50px;background-color:#4F81BD;color:white" %)CRC16 high
866 866  |(% style="width:99px" %)0X01|(% style="width:112px" %)0X06|(% style="width:135px" %)0X00|(% style="width:126px" %)0X50|(% style="width:85px" %)0X00|(% style="width:1px" %)0X02|(% style="width:1px" %)0X08|(% style="width:1px" %)0X1A
867 867  
868 -
869 869  If the sensor receives correctly, the data is returned along the original path.
823 +Note: If you forget the original address of the sensor, you can use the broadcast address 0XFE instead. When using 0XFE, the host can only connect to one slave, and the return address is still the original address, which can be used as a method of address query.
870 870  
871 -(% style="color:red" %)**Note: If you forget the original address of the sensor, you can use the broadcast address 0XFE instead. When using 0XFE, the host can only connect to one slave, and the return address is still the original address, which can be used as a method of address query.**
872 -
873 873  === 5.6.3 Query data ===
874 874  
875 875  
876 876  Query the data (turbidity) of the sensor (address 15), host → slave
877 877  
878 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %)
830 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:599.333px" %)
879 879  |=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 64px; background-color: rgb(79, 129, 189); color: white;" %)Starting register address high|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Starting register address low|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Register length high|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Register length low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
880 880  |(% style="width:99px" %)0X15|(% style="width:72px" %)0X03|(% style="width:64px" %)0X00|(% style="width:68px" %)0X00|(% style="width:70px" %)0X00|(% style="width:72px" %)0X01|(% style="width:56px" %)0X87|(% style="width:56px" %)0X1E
881 881  
882 -
883 883  If the sensor receives correctly, the following data will be returned, slave → host
884 884  
885 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %)
836 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:599.333px" %)
886 886  |=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Data length|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Register 0 Data high|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Register 0 Data low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 56px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
887 887  |(% style="width:99px" %)0X15|(% style="width:72px" %)0X03|(% style="width:68px" %)0X02|(% style="width:70px" %)0X02|(% style="width:72px" %)0X9A|(% style="width:56px" %)0X09|(% style="width:56px" %)0X4C
888 888  
889 -
890 890  The query data command is 15 03 00 00 00 01 87 1E
891 891  
892 892  For example, the returned data is 15 03 02 (% style="color:red" %)**02 9A**(%%) 09 4C
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0