All devices

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:

  1. In Modbus Connect, add a serial (RTU) device on your COM port with the serial settings and unit ID shown above.
  2. 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

AddressCountNameTypeUnitScaleAccess
12
Measured CO2 value
32-bit float. The register number is the document's own 1-based number; the PDU address is 0 (0000hex).
Float32ppm1R
32
Compensation temperature
32-bit float (0002hex). The temperature the probe uses for CO2 compensation.
Float32°C1R
52
Measured temperature
32-bit float (0004hex). Temperature measured by the probe.
Float32°C1R
2571
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.
Int16ppm1R
2581
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.
Int16ppm10R
5132
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.
Float32hPa1RW
5152
Power-up value for temperature compensation
0202hex. -40...+80 °C, init/default 25.
Float32°C1RW
5172
Power-up value for humidity compensation
0204hex. 0...100 %RH, init/default 0.
Float32%RH1RW
5192
Power-up value for oxygen compensation
0206hex. 0...100 %O2, init/default 0.
Float32%O21RW
5212
Volatile pressure compensation
0208hex. Same range as register 513 but cleared at probe reset; use this register for values that change regularly.
Float32hPa1RW
5232
Volatile temperature compensation
020Ahex. Same range as register 515 but cleared at probe reset.
Float32°C1RW
5252
Volatile humidity compensation
020Chex. Same range as register 517 but cleared at probe reset.
Float32%RH1RW
5272
Volatile oxygen compensation
020Ehex. Same range as register 519 but cleared at probe reset.
Float32%O21RW
7691
Modbus address
0300hex. Valid range 1...247, factory default 240.
UInt16-1RW
7701
Serial speed
0301hex. Enum: 0 = 4800, 1 = 9600, 2 = 19200, 3 = 38400, 4 = 57600, 5 = 115200 baud. Factory default 2 (19200).
UInt16-1RW
7711
Serial parity
0302hex. Enum: 0 = None, 1 = Even, 2 = Odd. Factory default 0 (None).
UInt16-1RW
7721
Serial stop bits
0303hex. Valid range 1...2, factory default 2.
UInt16-1RW
7731
Pressure compensation mode
0304hex. Enum: 0 = Off, 1 = On. Factory default 1 (On).
UInt16-1RW
7741
Temperature compensation mode
0305hex. Enum: 0 = Off, 1 = Given, 2 = Measured. Factory default 2 (Measured).
UInt16-1RW
7751
Humidity compensation mode
0306hex. Enum: 0 = Off, 1 = On. Factory default 0 (Off).
UInt16-1RW
7761
Oxygen compensation mode
0307hex. Enum: 0 = Off, 1 = On. Factory default 0 (Off).
UInt16-1RW
7771
CO2 filtering factor
0308hex. Valid range 0...100, factory default 100 (no filtering). A lower value means heavier filtering.
UInt16-1RW
20491
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-1R
20501
CO2 status
0801hex. 0 = status OK, 2 = CO2 reading not reliable (during start-up), 256 = measurement not ready (during start-up).
UInt16-1R

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