Vaisala · Sensor
CARBOCAP GMP252 carbon dioxide probe Modbus register map
Serial device: in Modbus Connect, choose “Add to existing device” and pick the serial (RTU) device you created on your COM port.
Default configuration
- Protocol
- Modbus RTU over RS-485
- Unit ID
- 240
- Addressing
- 1-based
- Byte order
- Big endian
- Word order
- Low word first
- Baud rate
- 19200
- Parity
- None
- Data bits
- 8
- Stop bits
- 2
To read this device over Modbus RTU in Modbus Connect:
- In Modbus Connect, add a serial (RTU) device on your COM port with the serial settings and unit ID shown above.
- Click Add to Modbus Connect (or open the downloaded JSON), choose “Add to existing device” and pick that serial device. Its registers, byte order and word order are added; the serial device keeps its own line settings.
The “Add device” tab creates a Modbus TCP device (IP address and port), so use it only when you reach this device through a Modbus RTU-to-TCP gateway set to the serial settings above.
Register map
| Address | Count | Name | Type | Unit | Scale | Access |
|---|---|---|---|---|---|---|
| 1 | 2 | Measured CO2 value 32-bit float. The register number is the document's own 1-based number; the PDU address is 0 (0000hex). | Float32 | ppm | 1 | R |
| 3 | 2 | Compensation temperature 32-bit float (0002hex). The temperature the probe uses for CO2 compensation. | Float32 | °C | 1 | R |
| 5 | 2 | Measured temperature 32-bit float (0004hex). Temperature measured by the probe. | Float32 | °C | 1 | R |
| 257 | 1 | Measured CO2 value (16-bit integer) 16-bit signed integer (0100hex), up to 32 000 ppm. An unavailable measurement returns 0000hex rather than an exception. | Int16 | ppm | 1 | R |
| 258 | 1 | Measured CO2 value (16-bit integer, x10) 16-bit signed integer (0101hex). The document states that this register is scaled and must be multiplied by 10, so the range reaches about 320 000 ppm. | Int16 | ppm | 10 | R |
| 513 | 2 | Power-up value for pressure compensation 0200hex. 700...1500 hPa (operating limit 1.5 bar), init/default 1013.25. Written to EEPROM, which is rated for 30 000 writes. | Float32 | hPa | 1 | RW |
| 515 | 2 | Power-up value for temperature compensation 0202hex. -40...+80 °C, init/default 25. | Float32 | °C | 1 | RW |
| 517 | 2 | Power-up value for humidity compensation 0204hex. 0...100 %RH, init/default 0. | Float32 | %RH | 1 | RW |
| 519 | 2 | Power-up value for oxygen compensation 0206hex. 0...100 %O2, init/default 0. | Float32 | %O2 | 1 | RW |
| 521 | 2 | Volatile pressure compensation 0208hex. Same range as register 513 but cleared at probe reset; use this register for values that change regularly. | Float32 | hPa | 1 | RW |
| 523 | 2 | Volatile temperature compensation 020Ahex. Same range as register 515 but cleared at probe reset. | Float32 | °C | 1 | RW |
| 525 | 2 | Volatile humidity compensation 020Chex. Same range as register 517 but cleared at probe reset. | Float32 | %RH | 1 | RW |
| 527 | 2 | Volatile oxygen compensation 020Ehex. Same range as register 519 but cleared at probe reset. | Float32 | %O2 | 1 | RW |
| 769 | 1 | Modbus address 0300hex. Valid range 1...247, factory default 240. | UInt16 | - | 1 | RW |
| 770 | 1 | Serial speed 0301hex. Enum: 0 = 4800, 1 = 9600, 2 = 19200, 3 = 38400, 4 = 57600, 5 = 115200 baud. Factory default 2 (19200). | UInt16 | - | 1 | RW |
| 771 | 1 | Serial parity 0302hex. Enum: 0 = None, 1 = Even, 2 = Odd. Factory default 0 (None). | UInt16 | - | 1 | RW |
| 772 | 1 | Serial stop bits 0303hex. Valid range 1...2, factory default 2. | UInt16 | - | 1 | RW |
| 773 | 1 | Pressure compensation mode 0304hex. Enum: 0 = Off, 1 = On. Factory default 1 (On). | UInt16 | - | 1 | RW |
| 774 | 1 | Temperature compensation mode 0305hex. Enum: 0 = Off, 1 = Given, 2 = Measured. Factory default 2 (Measured). | UInt16 | - | 1 | RW |
| 775 | 1 | Humidity compensation mode 0306hex. Enum: 0 = Off, 1 = On. Factory default 0 (Off). | UInt16 | - | 1 | RW |
| 776 | 1 | Oxygen compensation mode 0307hex. Enum: 0 = Off, 1 = On. Factory default 0 (Off). | UInt16 | - | 1 | RW |
| 777 | 1 | CO2 filtering factor 0308hex. Valid range 0...100, factory default 100 (no filtering). A lower value means heavier filtering. | UInt16 | - | 1 | RW |
| 2049 | 1 | Device status 0800hex. 0 = status OK, 1 = critical error, 2 = error, 4 = warning; several statuses can be set at once and the values add up. | UInt16 | - | 1 | R |
| 2050 | 1 | CO2 status 0801hex. 0 = status OK, 2 = CO2 reading not reliable (during start-up), 256 = measurement not ready (during start-up). | UInt16 | - | 1 | R |
Read this device live with Modbus Connect, free for Windows, macOS and Linux
Related guides
Notes
Source: Vaisala 'User Guide - Vaisala CARBOCAP Carbon Dioxide Probe GMP252', document M211897EN-D ((c) Vaisala 2018), chapter 5 'Modbus' and Appendix A 'Modbus Reference' (A.1 function codes, A.2.1 measurement data, A.2.2 configuration registers, A.2.3 status registers). The vendor serves the current edition (M211897EN-F) through its documentation portal at https://docs.vaisala.com/r/M211897EN-F/en-US, which is a JavaScript application with no downloadable PDF; the file read here is the vendor's own PDF mirrored by a distributor at https://envcoglobal.com/wp-content/uploads/2020/02/gmp252-user-guide.pdf (SHA-256 25287e143763e8203749de9b742285297c6e07c3785925e3f5875e8ec65c613f) - the mirror rule of the 7 Nov ruling. Factory serial settings from Table 45 'Default Modbus Serial Communication Settings': 19200 bps, no parity, 8 data bits, 2 stop bits, Modbus device address 240. They are the same values the configuration registers report (770 = 2 = 19200, 771 = 0 = None, 772 = 2 stop bits, 769 = 240). Addressing: Appendix A.2 states that the registers are numbered from one and that the PDU address is the register number minus one (register 769 = address 0300hex), so the printed register numbers are stored with addressing 'one_based'. Word order: A.3 prints a float as two registers 'least significant word first', backed by a worked read (D47A then 43E8 = 465.65997 ppm), so the seed declares LowFirst; bytes inside each register stay big-endian. Modbus is one of two serial protocols: the probe can also be in Vaisala Industrial Protocol mode, and the guide's chapter 4.6 explains the 'smode modbus' and 'addr' commands that switch it. The probe serves function codes 03 (read), 16 (write), and 43/14 (read device identification). Registers 513-519 are written to EEPROM (30 000 write cycles); 521-527 are the volatile copies that are cleared on reset. The pressure, temperature, humidity and oxygen compensation values only take effect in the modes set by registers 773-776.
Related devices
- HMP110 / HMP110T humidity and temperature probe (also HMP60, HMP63, HMP113, HMP115)Vaisala
- WXT530 series weather transmitter (WXT531 / WXT532 / WXT533 / WXT534 / WXT535 / WXT536)Vaisala
- CMD5B1 series Modbus carbon monoxide transmitterGreystone Energy Systems
- MS-80S pyranometer (Modbus RTU variant of the MS-80 series)EKO Instruments