Changes for page Water Quality Sensors

Last modified by Karry Zhuang on 2025/07/18 16:37

From version 69.9
edited by Karry Zhuang
on 2025/07/15 19:10
Change comment: There is no comment for this version
To version 69.4
edited by Karry Zhuang
on 2025/07/15 19:07
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1015,23 +1015,15 @@
1015 1015  Example 1: Read the current residual chlorine concentration of the device with address 01
1016 1016  
1017 1017  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:534.333px" %)
1018 -|=(% style="width: 42px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 53px;background-color:#4F81BD;color:white" %)Function code|=(% style="width: 74px; background-color: rgb(79, 129, 189); color: white;" %)Register Address|=(% style="width: 94px; background-color: rgb(79, 129, 189); color: white;" %)Register length|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 77px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
1019 -|(% style="width:99px" %)0X01|(% style="width:112px" %)0X03|(% style="width:74px" %)0X00 0X00|(% style="width:94px" %)0X00 0X01|(% style="width:72px" %)(((
1018 +|=(% style="width: 42px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 53px;background-color:#4F81BD;color:white" %)Function code|=(% style="width: 53px;background-color:#4F81BD;color:white" %)Register Address|=(% style="width: 53px;background-color:#4F81BD;color:white" %)Register length|=(% style="width: 53px;background-color:#4F81BD;color:white" %)Data length|=(% style="width: 53px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 60px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
1019 +|(% style="width:99px" %)0X01|(% style="width:112px" %)0X03|(% style="width:135px" %)0X00 0X00|(% style="width:126px" %)0X00 0X01|(% style="width:85px" %)0X06|(% style="width:1px" %)(((
1020 1020  0X84
1021 -)))|(% style="width:77px" %)0X0a
1021 +)))|(% style="width:60px" %)0X0a
1022 1022  
1023 -**response:**
1024 1024  
1025 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:534.333px" %)
1026 -|=(% style="width: 42px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 83px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 110px; background-color: rgb(79, 129, 189); color: white;" %)Valid Bytes|=(% style="width: 94px; background-color: rgb(79, 129, 189); color: white;" %)Register contents|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 77px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
1027 -|(% style="width:99px" %)0X01|(% style="width:83px" %)0X03|(% style="width:110px" %)0X02|(% style="width:94px" %)0X03 0X16|(% style="width:72px" %)(((
1028 -0X39
1029 -)))|(% style="width:77px" %)0X7a
1030 1030  
1031 -Calculation of residual chlorine concentration: 316H (hexadecimal) = 790 => residual chlorine = 7.90
1032 1032  
1033 1033  
1034 -Example 2: Set the deviation value for the current residual chlorine value of the device with address 01 to correct the value and send the frame: (If the current residual gas value output by the device is 7.90, the value needs to be corrected to 8.00, the difference is 8.00-7.90-0.100.1*100=10=>41200000 (floating point number), write 41200000 to the contents of the two registers)
1035 1035  
1036 1036  
1037 1037  
... ... @@ -1046,7 +1046,6 @@
1046 1046  
1047 1047  
1048 1048  
1049 -
1050 1050  = 7.  Water Quality Sensor Datasheet =
1051 1051  
1052 1052  * **[[Water Quality Sensor Transmitter Datasheet>>https://www.dropbox.com/scl/fi/9tofocmgapkbddshznumn/Datasheet_WQS-xB-WQS-xS_Water-Quality-Sensor-Transmitter.pdf?rlkey=wxua12ur9swk30rkqnh2boo9z&st=axga6epf&dl=0]]**