Call Phone +8618073152920 Hotline: +8618073152920
Call Phone +8618073152920
English
CONTACT US/ CONTACT US
Consumer hotline +8618073152920
Changsha Zoko Link Technology Co., Ltd.

Email:Arvin@niubol.com

WhatsApp:+8615367865107

Address:Room 102, District D, Houhu Industrial Park, Yuelu District, Changsha City, Hunan Province, China

Position:Home >> Blogs >> Product knowledge

Product knowledge

Digital pH Water Quality Tester: Fix PLC Scaling and Stale Data

Time:2026-08-21 09:07:00 Popularity:241

Quick Answer: If a digital pH water quality tester reads correctly through one interface but incorrectly in a PLC, trace the returned data before recalibrating the electrode. For the described NBL-WQ-PH register layout, pH and temperature are separate integer-and-decimal pairs, not two floating-point numbers. Verify the address convention, four-register read and scaling, then test stale-data handling.

NBL-WQ-PH digital pH probe with RS485 Modbus RTU and range-specific measurement data

First Decide Whether the Error Is in Measurement or Display

A digital pH instrument combines an electrode measurement with an electronic output. The receiving system must still interpret that output correctly. A wrong PLC value can come from an incorrect register offset, a decimal conversion or an old value retained after communication fails. Changing calibration to correct a host-display problem alters the measurement without fixing the data path.

Compare a direct read of the probe with the PLC or data logger while the water or verification condition is stable. Retain the returned register words, decoded pH, decoded temperature and acquisition time. This gives the technician a repeatable starting point instead of two screenshots whose underlying data are unknown.

Other probes, such as the dissolved oxygen instrument shown here, can use different data definitions even when their connectors and RS485 leads look similar. Do not copy a working oxygen tag into the pH channel without verifying the pH-specific layout.

NiuBoL dissolved oxygen probe with a channel definition distinct from the pH register map

Confirm the Digital pH Water Quality Tester Configuration

The NBL-WQ-PH online pH sensor provides RS485 Modbus RTU. It is not a bare millivolt electrode that can be connected to an ordinary voltage input. Keep its field supply, serial electrical interface and measurement registers distinct when reviewing an existing panel.

ItemRS485 NBL-WQ-PH configurationCheck at the receiving system
Measurement0-14 pH; 0.01 pH resolution; stated accuracy +/-0.1 pHA plausible decimal display does not prove the right data source
Probe supply12-24 V DC; 0.2 W at 12 VVerify voltage at the probe under operating load
Serial interfaceRS485 / Modbus RTUUse a compatible RS485 port or interface module
Default serial settings9600 baud, 8 data bits, no parity, 1 stop bitMatch the delivered settings; previously configured devices may differ
Default device address3Identify the actual address and avoid duplicates on a shared bus
Measurement readFunction 03; protocol start 0x0000; four 16-bit registersExpect eight measurement-data bytes in a normal response
Probe environment0-65 degrees C; pressure below 0.2 MPa; IP68Do not treat a communications repair as proof of process suitability
Standard assemblyPOM housing; 3/4 NPT immersion mounting; 5 m cableKeep joints dry and protected without pulling on the cable

For the described four-wire cable, red is supply positive, black is GND, blue is 485A and white is 485B. Confirm the supplied identification before energising. A different connector or optional interface needs its own wiring definition; matching conductor colours between unrelated instruments is not sufficient.

NiuBoL salinity probe requiring its own units and register conversion

Decode Four Registers as Two Value-and-Decimal Pairs

In this layout, the first word contains the pH integer and the second contains its number of decimal places. The third and fourth words do the same for temperature. Apply each decimal count to its associated value. Do not combine every two words into an IEEE floating-point value merely because another sensor uses that format.

Illustrative registerReturned valueInterpretation
Protocol offset 0x0000712, hexadecimal 0x02C8pH integer before decimal conversion
Protocol offset 0x00012712 divided by 10 squared = 7.12 pH
Protocol offset 0x0002253, hexadecimal 0x00FDTemperature integer before decimal conversion
Protocol offset 0x00031253 divided by 10 = 25.3 degrees C

These are illustrative values, not a factory test record. A PLC showing 71.2 instead of 7.12 may be dividing by ten rather than one hundred. A display showing 2.53 instead of 25.3 may be reusing the pH decimal rule for temperature. Inspect the actual returned words before deciding which conversion is wrong.

The human-readable holding-register label 40001 corresponds here to protocol offset 0x0000. Host software may ask for a register label, a zero-based offset or a one-based index. Identify the convention used by that host rather than adding or subtracting one repeatedly until a plausible number appears.

Use Read-Only Tests Before Any Calibration Write

Begin with measurement reads on one identified device. Check the response address, function, byte count and CRC. A response from a different device is not a valid pH check. Where several factory-default devices share a line, isolate and identify them before assigning distinct valid addresses according to the supported configuration procedure.

Keep calibration and factory-reset commands outside the routine acquisition loop. Those operations can alter measurement settings. A register offset error in a write operation can be more consequential than a wrong display. Use the delivered configuration instructions for any authorised change, and preserve the previous settings.

The BOD-related optical probe below needs its own measurement interpretation. A shared PLC connection does not make its registers, calibration commands or failure values interchangeable with those of the pH probe.

NiuBoL BOD-related optical probe whose calibration writes must not be copied into a pH channel

Diagnose the Symptom at the Right Layer

SymptomUseful investigationAction not justified by that symptom alone
No valid replySupply, interface, polarity, address and serial settingsElectrode recalibration
Communication exceptionSupported function, register start and requested countAssuming the returned exception code is a water measurement
Repeatable decimal errorRegister pairing, decimal count and engineering conversionChanging the probe slope to compensate for host scaling
Plausible but frozen valueLast successful read, timestamp and retained-value behaviourCalling the electrode stable without checking fresh data
Direct and host values agree but the process result is suspectSampling, mounting, temperature and electrode verificationBlaming the serial link after the conversion has been established

A turbidity probe may continue updating while the pH channel has failed. Retain separate quality states rather than using one controller-online flag for every value. The availability of a neighbouring instrument does not demonstrate a valid pH acquisition.

Make Missing and Stale Data Visible

Store the time of the last successful pH read. On a failed request, keep the error condition separate from the measured value. Do not replace missing data with zero: pH zero has a physical meaning and is not a universal communications-failure code. Do not assume an undocumented number, such as the largest register value, is a specified fault indication.

If the host retains the last good value for display, label it as stale when the freshness requirement is exceeded. Select that requirement for the process and actual polling behaviour. A network dashboard showing a recent upload time can still contain an old pH acquisition, so retain the two times separately where relevant.

Where pH enters a dosing calculation, the control engineer must define the response to unavailable or questionable data. Checking Modbus conversion is not validation of the whole dosing loop. Test the required control behaviour independently with the responsible engineering team.

Verify Recovery, Not Only the First Correct Number

After establishing the conversion, disconnect the communications path in a controlled test and verify the unavailable indication. Restore it and confirm that a fresh reading is accepted with the correct time. Repeat a controlled restart if it is part of the commissioning procedure. Check that the host does not silently restore an old cached value as a new measurement.

Keep a small accepted record containing device identity, serial settings, register convention, returned example and decoded values. Include it when replacing a probe or controller so the next technician does not reconstruct the format from an unrelated channel.

A separate ammonium measurement can depend on additional water-condition information for its intended interpretation. Identify any use of the pH channel in derived results. If pH is unavailable, a dependent result should not appear fully valid merely because the ammonium device still communicates.

NiuBoL turbidity probe with independent acquisition status on a shared monitoring system

Project Decision FAQ

Q1. Can the pH and temperature words be read as two floats?

Not for the described NBL-WQ-PH layout. It uses four 16-bit integers arranged as value and decimal-count pairs. Confirm the delivered model and firmware before applying that definition to another device.

Q2. Why does the PLC value differ by a factor of ten or one hundred?

Check the returned decimal-count word and any additional scaling already applied by the PLC or display. Double conversion or a copied fixed divisor can create that error. Compare raw words before changing calibration.

Q3. Is address 3 the same as function 03?

No. The device address identifies the responding instrument. Function 03 identifies a holding-register read operation. They are separate fields even when both happen to contain the number three in an example transaction.

Q4. Does a correct PLC display prove that the electrode is accurate?

No. It establishes a data-conversion result under the tested condition. Electrode condition, installation and calibration need their own checks. Conversely, an electrode adjustment cannot repair a wrong host register definition.

Q5. What should be sent for help with an integration fault?

Provide the delivered model, controller details, wiring definition, serial settings, requested register range and raw request/response data. Add the decoded and displayed pH and temperature, timestamps and recent configuration changes. NiuBoL can then locate the problem without assuming an electrode failure.

Q6. Can the RS485 probe connect to an analogue pH input?

Not directly. The described probe has a digital serial output, whereas an analogue electrode or transmitter input expects a different electrical signal. Use a supported RS485 acquisition path or assess a separately specified compatible instrument; do not connect A/B to a millivolt input.

Q7. Can a replacement probe reuse the old controller definition?

Only after checking the delivered model, interface, firmware definition and configuration. Compare a direct read with the host again, including both pH and temperature. A familiar product-family name does not prove that the old address or conversion remains correct.

NiuBoL ammonium probe that does not validate a separate pH input or its dependencies

Summary

A digital pH water quality tester needs a correctly interpreted and time-valid data path. For NBL-WQ-PH, confirm the four-register integer-and-decimal layout and distinguish device address from function code. Prove the read, conversion and recovery behaviour before altering calibration or using the channel in process control.

Related recommendations

Sensors & Weather Stations Catalog

Agriculture Sensors and Weather Stations Catalog-NiuBoL.pdf

Weather Stations Catalog-NiuBoL.pdf

Agriculture Sensors Catalog-NiuBoL.pdf

Water Quality Sensor Catalog-NiuBoL.pdf

Related products

Tell us your requirements, Let's discuss more about your project.we can do more.

Name*

Tel*

Email*

Company*

Country*

Message


online
Contacts
Email
Top
XDigital pH Water Quality Tester: Fix PLC Scaling and Stale Data-Product knowledge-Automatic Weather Stations_Industrial, Agricultural, Water & Environmental IoT Monitoring Solutions—NiuBoL

Screenshot, WhatsApp to identify the QR code

WhatsApp number:+8615367865107

(Click on WhatsApp to copy and add friends)

Open WhatsApp

The WhatsApp ID has been copied, please open WhatsApp to add consultation details!
WhatsApp