Configuring standardized data status codes (00, 01, 02) within data text files transmitted to the Department of Natural Resources and Environment (DONRE) is a mandatory technical regulation under Circular 10/2021/TT-BTNMT. During routine sensor maintenance, zero-point calibration, or high-concentration standard gas injection, measuring instruments output anomalous values. Without automated status code tagging, these spikes are interpreted by provincial monitoring servers as severe environmental pollution incidents, triggering immediate automated breach alerts, unexpected environmental police raids, and operational shutdown orders.
This technical guide is part of DeviceLab's comprehensive engineering handbook on environmental monitoring datalogger compliant with Circular 10.
In automated wastewater and CEMS flue gas stations across Vietnam, many plant engineers encounter the terrifying ordeal of "False Over-Threshold Alarms" caused simply because a technician injected calibration gas without placing the datalogger into maintenance mode. This technical guide explains the legal structure of status codes under Circular 10, details the diagnostic bit mapping, and demonstrates the smart hardware calibration switch built into the DeviceLab DL-ENV10 Datalogger.
Circular 10/2021/TT-BTNMT Data Status Code Definitions:
- Code 00 (Normal Operation): The sensor and datalogger are operating in normal measurement state. Measured values are legally evaluated against national discharge standards (QCVN).
- Code 01 (Equipment Fault / Error): The sensor or transmission link is experiencing hardware failure, wire breakage, optical saturation, or power outage. Values are flagged as invalid.
- Code 02 (Calibration / Inspection / Maintenance): The station is undergoing routine calibration, standard solution testing, or cleaning. Regulatory servers log the data but automatically suppress threshold breach alarms.
- Automated Mode Switching: DeviceLab DL-ENV10 supporting front-panel physical maintenance key-switches, web dashboard toggles, and automated Modbus diagnostic bit detection.
📑 Table of Contents
The Disaster of "False Over-Threshold Alarms" During Routine Station Maintenance
Every industrial monitoring station undergoes periodic calibration: soaking pH electrodes in pH 4.01/9.21 buffer solutions, immersing conductivity probes in $1,413 mu S/cm$ KCl standards, or injecting high-concentration $SO_2 / NO$ span gas cylinders into CEMS analyzers.
During these 15–30 minute procedures, sensors output extreme readings that vastly exceed normal industrial discharge standards (e.g. $SO_2 > 2,000 mg/Nm³$). If the datalogger blindly transmits these numbers with status code 00 (Normal), the DONRE automated surveillance software immediately triggers red flash alerts on provincial monitoring dashboards. Environmental police dispatch enforcement officers to the factory gate, presuming illegal pollution dumping. Explaining that it was merely an unflagged maintenance test consumes weeks of bureaucratic justification.
Circular 10 Data Line Record Format & Status Code Syntax
Under Circular 10/2021/TT-BTNMT, every parameter line in the uploaded text file must conclude with its corresponding data status code:
2026-10-15 09:30:00 TSS 15.4 00
2026-10-15 09:30:00 COD 45.2 00
2026-10-15 09:30:00 SO2 1850.0 02 <-- Flagged as 02 (Calibration Mode)
When the DONRE server receives a line tagged with 02, its automated rule engine records the value for analytical traceability but suppresses all threshold exceedance alarms and automatic water sampler trigger commands.
Smart Hardware & Software Calibration Interlock on DeviceLab DL-ENV10
The DeviceLab DL-ENV10 Datalogger provides three fail-safe mechanisms to activate calibration mode:
- Physical Key Switch on Enclosure Panel: Technicians turn a physical key switch on the monitoring cabinet door. This triggers a dedicated digital input on the DL-ENV10, instantly shifting all transmitted data lines to status code
02and starting a visual countdown timer. - Automated Modbus Diagnostic Polling: When communicating with high-end analyzers (ABB, Siemens, Endress+Hauser), the DL-ENV10 continuously monitors the analyzer's internal status register. When the analyzer initiates automated auto-zero/purge, the datalogger detects the bit transition and switches to code
02automatically. - Timed Web UI Toggle with Auto-Revert: Technicians can activate "Maintenance Mode" via smartphone on the DL-ENV10 Web Dashboard, setting a 30-minute timer. If the technician forgets to turn it off before leaving the site, the datalogger automatically reverts to normal operation (
00), preventing stations from being left in permanent maintenance blackout.