Changes for page Water Quality Sensors
Last modified by Karry Zhuang on 2025/07/25 09:38
From version 71.2
edited by Karry Zhuang
on 2025/07/16 09:11
on 2025/07/16 09:11
Change comment:
There is no comment for this version
To version 69.1
edited by Karry Zhuang
on 2025/07/15 18:48
on 2025/07/15 18:48
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -17,9 +17,11 @@ 17 17 * **Interface**: RS485. 9600 Baud Rate 18 18 19 19 * **EC Range & Resolution:** 20 +** **ECK0.01** : 0.02 ~~ 20 μS/cm 21 +** **ECK0.1**: 0.2 ~~ 200.0 μS/cm 20 20 ** **ECK1.0** : 0 ~~ 2,000 μS/cm Resolution: 1 μS/cm 21 21 ** **ECK10.0** : 10 ~~ 20,000 μS/cm Resolution: 10 μS/cm 22 -** **EC200.0** : 1 ~~ 200,000 μS/cm Resolution: 1 μS/cm 24 +** **ECK200.0** : 1 ~~ 200,000 μS/cm Resolution: 1 μS/cm 23 23 24 24 * **EC Accuracy**: ±1% FS 25 25 * **Temperature Accuracy: **±0.5 °C ... ... @@ -466,8 +466,8 @@ 466 466 Query the data (PH) of the sensor (address 10), host → slave 467 467 468 468 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %) 469 -|=(% style="width: 42px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 74px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width:75px; 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: 68px; background-color: rgb(79, 129, 189); color: white;" %)Register length high|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Register length low|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high470 -|(% style="width:99px" %)0X10|(% style="width:7 4px" %)0X03|(% style="width:75px" %)0X00|(% style="width:68px" %)0X00|(% style="width:70px" %)0X00|(% style="width:72px" %)0X01|(% style="width:56px" %)0X87|(% style="width:56px" %)0X4B471 +|=(% style="width: 42px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 68px; 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: 68px; background-color: rgb(79, 129, 189); color: white;" %)Register length high|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Register length low|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high 472 +|(% style="width:99px" %)0X10|(% 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" %)0X4B 471 471 472 472 If the sensor receives correctly, the following data will be returned, slave → host 473 473 ... ... @@ -1008,43 +1008,25 @@ 1008 1008 Standard Modbus-RTU protocol, baud rate: 9600; check bit: none; data bit: 8; stop bit: 1 1009 1009 1010 1010 1011 -== 6.7 Query data==1013 +== 6.7 Query address == 1012 1012 1013 -Example 1: Read the current residual chlorine concentration of the device with address 01 1014 1014 1015 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:534.333px" %) 1016 -|=(% 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 1017 -|(% style="width:99px" %)0X01|(% style="width:112px" %)0X03|(% style="width:74px" %)0X00 0X00|(% style="width:94px" %)0X00 0X01|(% style="width:72px" %)((( 1018 -0X84 1019 -)))|(% style="width:77px" %)0X0A 1020 1020 1021 -**response:** 1022 1022 1023 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:534.333px" %) 1024 -|=(% 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 1025 -|(% style="width:99px" %)0X01|(% style="width:83px" %)0X03|(% style="width:110px" %)0X02|(% style="width:94px" %)0X03 0X16|(% style="width:72px" %)((( 1026 -0X39 1027 -)))|(% style="width:77px" %)0X7A 1028 1028 1029 -Calculation of residual chlorine concentration: 316H (hexadecimal) = 790 => residual chlorine = 7.90 1030 1030 1031 1031 1032 -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) 1033 1033 1034 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:518px" %) 1035 -|=(% style="width: 80.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" %)Register address|=(% style="width: 64.75px;background-color:#4F81BD;color:white" %)Register number|=(% style="width: 64.75px;background-color:#4F81BD;color:white" %)Byte number|=(% style="width: 64.75px; background-color: rgb(79, 129, 189); color: white;" %)Register content|=(% style="width: 54.75px;background-color:#4F81BD;color:white" %)CRC16 low|=(% style="width: 58.75px;background-color:#4F81BD;color:white" %)CRC16 high 1036 -|(% style="width:99px" %)0X01|(% style="width:112px" %)0X10|(% style="width:135px" %)0X01 0X12|(% style="width:126px" %)0X00 0X02|(% style="width:85px" %)0X04|(% style="width:1px" %)0X4120 0X0000|(% style="width:1px" %)0X08|(% style="width:1px" %)0X1A 1037 1037 1038 -**response:** 1039 1039 1040 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:534.333px" %) 1041 -|=(% 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;" %)Register address|=(% style="width: 94px; background-color: rgb(79, 129, 189); color: white;" %)Register number|=(% 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 1042 -|(% style="width:99px" %)0X01|(% style="width:83px" %)0X10|(% style="width:110px" %)0X01 0X12|(% style="width:94px" %)0X00 0X02|(% style="width:72px" %)((( 1043 -0XE5 1044 -)))|(% style="width:77px" %)0X0D 1045 1045 1046 1046 1047 1047 1027 + 1028 + 1029 + 1030 + 1031 + 1048 1048 = 7. Water Quality Sensor Datasheet = 1049 1049 1050 1050 * **[[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]]**