Skip to content

Technical Knowledge

Data Status Codes 00, 01, 02 & Smart Calibration Mode on Circular 10 Datalogger

Guide to implementing status codes 00, 01, 02 and smart calibration interlock mode on environmental dataloggers under Circular 10/2021/TT-BTNMT.

Circular 10 Datalogger & EMS →
Data Status Codes 00, 01, 02 & Smart Calibration Mode on Circular 10 Datalogger

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.
Data Status Codes 00, 01, 02 and Calibration Mode on Datalogger
Figure 17: Technician calibrating CEMS gas analyzer with standard reference gas while DL-ENV10 automatically flags status code 02.

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 pH 7.25 00
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:

  1. 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 02 and starting a visual countdown timer.
  2. 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 02 automatically.
  3. 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.

Frequently Asked Questions (FAQ)

About the author

Written by

✓ E-E-A-T Verified Engineer

Thao Dinh – Lead Embedded Systems Engineer

Lead Embedded Systems & Hardware R&D, DeviceLab

🎓 Kỹ sư Điện tử - Viễn thông (ĐHBK Hà Nội) · 12+ năm R&D Phần cứng Nhúng & IoT

Technical Review

DeviceLab Engineering Team

Peer-reviewed for circuit schematic topology, bus signal integrity, and compliance standards (QCVN / TT10 BTNMT).

Last updated: 17/10/2026

Specialization: Hardware · PCB · Embedded · Prototype

View DeviceLab engineered projects & case studies →

Related Technical Articles & Engineering Guides

Deepen your engineering knowledge with practical guides from DeviceLab engineers:

Recommended Industrial IoT Hardware & OEM Solutions

Standardized industrial-grade devices engineered and mass-produced by DeviceLab Vietnam:

ĐIỀU 39 TT10 · FTPS 5 PHÚT DL-ENV10: datalogger quan trắc môi trường thông tư 10 Đạt chuẩn quy chuẩn datalogger điều 39 thông tư 10, lưu đệm Flash > 180 ngày, pin UPS 6–8h. CÁCH LY 3.0kV · DIN-RAIL DL-RS485: RS485 sang Ethernet Chuyển đổi Modbus RTU sang Modbus TCP, chống nhiễu biến tần 24/7. MQTT · CLOUD API · 4G DL-GW200: Industrial IoT Gateway Thu thập Modbus RS485 đẩy MQTT/API, bộ nhớ đệm Flash 100k bản ghi. 4 CỔNG RS485 · THÔNG TƯ 10 DL-GW400: Edge Gateway & Datalogger Bộ tập trung 4 cổng RS485 độc lập cho quan trắc môi trường và năng lượng.
Explore Solutions: Custom PCB & Circuit Design • PCBA & SMT Assembly • Embedded Firmware Engineering • Turnkey IoT Device R&D • Circular 10 Environmental Datalogger • Machinery IoT Modules • OEM Gateways for SIs • Factory Energy Telemetry • White-Label IoT Platform • Batch Manufacturing & QC • Hardware R&D Partner • Why DeviceLab

Need custom hardware design or embedded device engineering?

You do not need a complete schematic. Describe your functional specifications, target application, and power/size/connectivity constraints.

Submit Project Requirements

DeviceLab helps define engineering scope from architecture to functional prototype.