Skip to content
Circular 10 Datalogger & EMS 5 min read

Datalogger Status Codes 00, 01, 02 & Calibration (TT10)

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

Datalogger Status Codes 00, 01, 02 & Calibration (TT10)

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 in-depth 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 (Calibration / Inspection / Maintenance): The station or analyzer channel is undergoing routine calibration, standard buffer/gas verification, or cleaning. Regulatory servers log the values for traceability while suppressing exceedance alarms.
  • Code 02 (Equipment Fault / Error): The sensor or loop is experiencing hardware failure, 4–20mA wire breakage (< 3.6mA), optical saturation, or RS485 Modbus timeout.
  • 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 01.

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 µS/cm KCl standards, or injecting high-concentration SO2 / 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. SO2 > 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	01   <-------- Flagged as 01 (Calibration Mode)

When the DONRE server receives a line tagged with 01, 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 01 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 01 automatically (and asserts code 02 upon hardware fault or wire break).
  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)

What do Circular 10 status codes 00, 01, and 02 mean inside DONRE telemetry .txt files?

Under Circular 10/2021/TT-BTNMT telemetry specifications: code 00 denotes Normal Measurement (legally evaluated against QCVN discharge limits); code 01 denotes Calibration/Maintenance (suppressing false exceedance alarms while probes sit in standard buffer solutions or span gas); and code 02 denotes Sensor/Equipment Fault (broken loop or analyzer error).

What happens if a technician forgets to exit calibration mode (code 01) before leaving the station?

The DeviceLab DL-ENV10 enforces a configurable Auto-Revert Safety Timer (typically 30–60 minutes). Once the maintenance window expires, the datalogger automatically restores normal monitoring mode (code 00) and logs the transition, preventing stations from remaining stuck in prolonged maintenance flags.

Can status code 01 be applied to a single analyzer channel without muting the entire station?

Yes. Per-channel status control on the DL-ENV10 lets technicians place just the pH channel into calibration code 01 while soaking the electrode in pH 4.01 buffer, keeping COD, TSS, Ammonium, and Effluent Flow actively reporting normal code 00.

Under what hardware conditions does the DL-ENV10 automatically assert fault code 02?

The DL-ENV10 automatically switches a parameter's status flag from 00 to 02 whenever its 24-bit ADC detects a 4–20mA loop current below 3.6mA (open wire or dead transmitter), when RS485 Modbus polling times out for 3 consecutive scans, or when the analyzer's diagnostic register asserts an internal fault bit.

About the author

Written by

✓ E-E-A-T Verified Engineer

Tran Thu Huong

Technical Product & Regulatory Compliance Manager - DeviceLab

B.S. in Engineering Management & Metrology (VNU) · 8+ Years in IoT Regulatory Compliance & Telemetry Standards

Technical Review

DeviceLab Engineering Team

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

View DeviceLab engineered projects & case studies →

Related Technical Articles & Engineering Guides

Practical R&D and field deployment guides from DeviceLab engineers:

Recommended Industrial IoT Hardware & OEM Solutions

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

Topic Guide Index: Environmental Monitoring Dataloggers (Circular 10)

28 articles