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

COD Sensor SCADA Integration: Decode Values and Validate Tags

Time:2026-08-16 09:08:00 Popularity:283

Quick Answer: COD sensor SCADA integration requires correct measurement decoding, an explicit unit and validity state, and a tested path to the historian and alarms. The NBL-WQ-COD uses a measured integer plus a decimal-place word for each measurement in the referenced Modbus format. Receiving a reply is not enough to establish that the displayed COD value is correct.

NiuBoL optical COD probe for RS485 Modbus RTU acquisition

Start COD sensor SCADA integration with a defined tag

The NiuBoL NBL-WQ-COD uses dual-wavelength ultraviolet absorption to provide a COD-equivalent estimate on a KHP calibration basis. Name the tag so that operators understand its measurement basis. Do not label the optical estimate as a laboratory result or assume that a valid digital message establishes agreement for every wastewater matrix.

A typical path is probe → RS485 Modbus RTU → PLC, RTU or compatible data logger → SCADA. If a Modbus TCP gateway is inserted, distinguish the gateway's network address from the downstream sensor address. Confirm whether the host receives a live field value or a cached gateway value and how its age is indicated.

SCADA tag propertyDefine it for this measuring point
IdentityLocation, sensor model, configured range and downstream device address
Measurement basisOptical COD-equivalent value, mg/L, and the applicable local comparison relationship if used
ValidityCommunication state, update age, maintenance state and out-of-range treatment
TimeAcquisition timestamp, server timestamp and any sample-transfer delay
HistoryLogging interval, exception/deadband behavior and treatment of gaps
NiuBoL salinity probe for a separate SCADA channel, not a COD measurement

The salinity probe shown above is a separate possible channel. Keep its parameter, unit and scaling distinct from COD even when both share a cabinet or a historian. Similar-looking trend lines do not establish a conversion between dissolved salts and oxygen-demand measurements.

Read the two-word format as two integers

For the NBL-WQ-COD integer-format configuration, measurement reads use function 03. The communication starting point is 9600 baud, no parity, eight data bits and one stop bit. Confirm the actual commissioned serial settings and unique address before adding the probe to an existing bus.

Register startMeasurement and returned words
0x0000COD: measured-value integer followed by decimal-place integer; two 16-bit registers
0x0002Temperature: measured-value integer followed by decimal-place integer; two 16-bit registers
0x0004Turbidity: measured-value integer followed by decimal-place integer; two 16-bit registers

The conversion is measured integer divided by 10 raised to the decimal-place value. For example, the returned pair 866 and 1 represents 86.6 mg/L COD equivalent. It is not a single 32-bit floating-point number. Treating these two words as a float can produce a plausible-looking but incorrect trend.

Address notation also needs agreement. A protocol offset of 0x0000 and a host tool's displayed holding-register number may use different conventions. Check the actual request start address rather than changing the probe to compensate for a software numbering convention. This map is model- and version-specific, not a rule for all COD sensors.

The BOD-related probe below has its own measurement basis and protocol definition. Do not reuse the COD tag's decoding or calibration relationship for it without checking its delivered data format.

NiuBoL optical BOD-related probe with a measurement basis distinct from COD

Use a read-only comparison before enabling alarms

Start with one sensor and a read-only acquisition test. Compare the raw returned words, the decoded PLC value and the final SCADA display for the same observation. Keep all three in the test record so a decimal or register-offset mistake can be found without changing sensor calibration.

For a software test using the example above, verify that the display shows 86.6, not 866 or 8.66. Check the engineer's intended unit label and configured display precision. Do not use a calibration-write command as a communication test; it changes measurement behavior instead of testing the reading path.

Then introduce the remaining devices with unique addresses. A second device answering the same address can create intermittent errors that appear to be a failing probe. Check termination, bus layout and shield/reference arrangements against the actual installation rather than prescribing one resistor or grounding rule for every plant.

Keep turbidity compensation separate from the turbidity tag

The COD probe uses an optical reference to compensate for some particle-related interference. This does not mean that all solids, color or bubbles have been removed from the measurement problem. Verify the estimate against suitable laboratory comparisons over the actual wastewater conditions before relying on it for operating decisions.

The probe also returns a turbidity value in its defined map. A separately selected NBL-WQ-TS probe, shown below, is another possible NTU channel. Give each a distinct tag name and measuring-point identity; do not silently replace one instrument's value with the other's when a signal is missing.

NBL-WQ-TS turbidity probe whose NTU tag must remain distinct from COD

Set a hardware envelope the cabinet can support

NBL-WQ-COD itemSpecification for the digital configuration
COD range options0-200 or 0-500 mg/L COD equivalent, KHP basis; select the ordered range
COD resolution / accuracy term0.1 mg/L; +/-5% accuracy term, with its basis agreed for the selected version
OutputRS485 Modbus RTU; a separate analog channel or gateway is not implied
Supply / probe consumption12-24 V DC; 0.3 W at 12 V
Working conditions0-45 degrees C; pressure below 0.1 MPa
Construction / protection316L stainless steel; IP68; assess water chemistry separately
Mounting / cableImmersion installation; standard cable 5 m, other lengths configurable; specify jacket suitability and protected terminations

Do not equate IP68 with an unlimited process pressure or chemical rating. Check voltage at the probe under the installed load and include the PLC, gateway and any auxiliary equipment in the cabinet power design. The sensor's listed consumption is not a complete station load.

If the station also measures ammonium, keep that channel's independent register map and unit definition. It can provide process context, but it does not validate COD scaling or establish the cause of an organic-load change by itself.

NiuBoL ammonium probe for a separately identified wastewater monitoring channel

Give faults and maintenance their own states

Distinguish a valid low result from timeout, stale data, a returned Modbus exception, maintenance and an out-of-range observation. Not every state is necessarily available as a sensor register: the host can derive update age and communication quality, while an operator may need to mark a service period.

Keep the last valid value for investigation if useful, but display its age and quality. Do not continue using it as a current control input indefinitely. Alarm delays and acknowledgements must not conceal that the measurement has stopped updating.

During optical-window cleaning or calibration, retain a visible maintenance interval rather than inserting artificial normal values into the historian. Record any changed calibration relationship and the time it became active. Otherwise a step in the trend may be mistaken for a process change.

For a wastewater plant, align the COD trend with flow and operating status only after checking timestamps and transport delay. A separate dissolved-oxygen tag, illustrated below, belongs to its actual measuring location and time; sharing a dashboard does not make all channels simultaneous observations of the same water.

NiuBoL dissolved oxygen probe for a separate process oxygen tag

Project Decision FAQ

Q1. What causes a value ten times too high during COD sensor SCADA integration?

Check whether the measured integer has been divided by the specified decimal factor. In this NBL-WQ-COD integer format, 866 with decimal-place value 1 means 86.6 mg/L. Also verify register offsets and the host's data type before adjusting calibration.

Q2. Does an RS485 sensor connect directly to an Ethernet SCADA driver?

Not without a compatible serial interface, PLC or gateway arrangement. Define where Modbus RTU is read and how the value reaches the network. Confirm downstream addressing and whether the gateway caches measurements.

Q3. Is a successful Modbus reply sufficient for acceptance?

No. Verify parameter identity, decoded value, unit, update time and quality through the final display and historian. Then test a controlled communication interruption and the intended alarm behavior.

Q4. Can the optical COD value replace every laboratory result?

No. Establish the applicable reporting method and the relationship for the actual wastewater. A calibrated optical estimate can support trends while still requiring laboratory analysis for specified acceptance or compliance duties.

Q5. What should the integration quotation identify?

Name the probe version and range, serial or gateway interface, PLC/SCADA responsibility and required tag list. Include historian quality handling and commissioning tests. A probe-only price does not include a completed plant integration.

For NiuBoL technical review, provide the proposed host, serial settings, required data interval and a sample of the intended tag structure. Include wastewater range and conditions so electrical compatibility is checked alongside measurement suitability.

NBL-WQ-COD optical COD probe with RS485 Modbus RTU output for PLC and SCADA acquisition

Summary

Commission the measurement from raw register response to decoded value, quality indication and stored record. The NBL-WQ-COD integer-plus-decimal format provides a concrete check against scaling mistakes. Preserve that decoding and version information with the installed point so future maintenance does not turn a working connection into an incorrect COD trend.

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
XCOD Sensor SCADA Integration: Decode Values and Validate Tags-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