Easy Modbus
  1. Home
  2. Modbus register maps
  3. Marvair
  4. MAH / MGH wall-mount air conditioner control board (Modbus RTU)

Rooftop unit / packaged wall-mount air conditioner · Modbus register map

Marvair MAH / MGH wall-mount air conditioner control board (Modbus RTU) Modbus register map

Updated 19 November 2026

Short answer

Marvair MAH and MGH packaged wall-mount air conditioners (electronic equipment shelters and process control rooms) carry an electronic control board with two RJ11 Modbus RTU ports. Over Modbus the board accepts thermostat calls, reports switch, relay and sensor states and an alarm word, and exposes fan-speed, economizer and calibration settings.

This page lists 72 Modbus registers for the Marvair MAH / MGH wall-mount air conditioner control board (Modbus RTU) — 35 writable — with the table, 0-based wire address, data type, word order, scale, units and access of each, re-typed from Marvair’s own free documentation (linked below) and checked against it.

Manufacturer
Marvair
Model
MAH / MGH wall-mount air conditioner control board (Modbus RTU)
Equipment type
Rooftop unit / packaged wall-mount air conditioner
Registers
72 (35 writable)
Transport
Modbus RTU
Default unit ID
1
Default serial
19200 baud, 8N1
Documented addressing
0-based (the number printed is the address on the wire)
Also known as
MAH1018A, MAH1024A, MAH1030A, MAH1036A, MAH1042A, MAH1048A, MAH1060A, MGH1072A, MAH2024A, MAH2030A, MAH2036A, MAH2042A, MAH2048A, MAH2060A, MGH2072A, Marvair MAH, Marvair MGH
Source document
MAH1018A-1060A, MGH1072A, MAH2024A-2060A & MGH2072A Wall-Mount AC Installation & Operation Manual · Rev. 7 · rev. 2026-05
Download CSV all columns JSON Manufacturer PDF ↗

Integration notes: Marvair MAH / MGH wall-mount air conditioner control board (Modbus RTU)

Integration in brief

Set coil 17 = 1 (communicating mode; the map says it mirrors parameter P22), then drive the unit with the Y1/Y2/G/W2/humidity/O call coils (0-4, 24). Read temperatures, relay states, pressure switches and the alarm word (input register 18) to monitor it.

Minimum registers to map

Addresses are 0-based wire addresses. Enough to monitor and run the unit; map more as the job needs.

RegisterNameTypeWhyAccess
CO 17Communicating thermostat modeBITCommunicating (Modbus) thermostat modeRead/write
CO 0Y1 compressor callBITY1 cooling callRead/write
CO 3G fan callBITG fan callRead/write
DI 13Compressor 1 relay outputBITCompressor 1 relay stateRead
IR 18Alarm statusBITMAP16Alarm status bitsRead
IR 14P1 temperatureUINT16P1 temperatureRead
IR 27Outdoor temperatureUINT16Outdoor temperatureRead
HR 8Modbus timeoutUINT16Modbus timeout (minutes)Read/write

Enable Modbus control & writes

Set menu item 23 (T'STAT Select) to C for a communicating thermostat via Modbus, or write coil 17 = 1 (the Modbus map says coil 17 reads and changes 'P22', the thermostat-type setting). The Modbus ID (item 24, 1-99, default 1) and baud (item 25: 9.6 or 19 = 9600/19200) are set in the board configuration menu.

Communication loss & watchdog

Register 8 / configuration item 26 sets the Modbus timeout (1-60 min, default 10). After that long without Modbus traffic the board falls back to hardware thermostat calls.

Byte order & addressing

Network setup

Watch out for

Marvair MAH / MGH wall-mount air conditioner control board (Modbus RTU) Modbus registers

Address = 0-based wire address (the documented number is shown under it when it differs) · Order: ABCD = high word first, CDAB = low word first · Scale: engineering value = raw × scale.

72 of 72 shown
Marvair MAH / MGH wall-mount air conditioner control board (Modbus RTU) Modbus register map
TableAddressNameDescriptionTypeOrderScaleUnitsAccessValues / bits
CO0Y1 compressor callStage 1 cooling requestBITRead/write0 = No call; 1 = Call
CO1Y2 compressor callStage 2 cooling requestBITRead/write0 = No call; 1 = Call
CO2Humidity callDehumidification requestBITRead/write0 = No call; 1 = Call
CO3G fan callFan-only requestBITRead/write0 = No call; 1 = Call
CO4W2 electric heat callBITRead/write0 = No call; 1 = Call
CO17Communicating thermostat modeSame as parameter P22: take calls from Modbus instead of hardware inputsBITRead/write0 = Hardware calls (H); 1 = Comm/Modbus calls (C)
CO18Read hardware call inputs1 = still read hardware thermostat inputs while P22 = CBITRead/write0 = Normal (per P22); 1 = Read hardware calls
CO24O reversing valve requestBITRead/write0 = No call; 1 = Call
CO26Emergency ventilation requestBITRead/write0 = Off; 1 = On
CO27Pulse reheatDefault onBITRead/write0 = Off; 1 = On
DI5FCC callBITRead0 = No call; 1 = Call
DI6High pressure switch 1BITRead0 = Open; 1 = Closed
DI7High pressure switch 2BITRead0 = Open; 1 = Closed
DI8Low pressure switch 1AC manual labels it the HPS2 hardware inputBITRead0 = Open; 1 = Closed
DI9Low pressure switch 2BITRead0 = Open; 1 = Closed
DI10OFM mode selectionOutdoor fan motor signal typeBITRead0 = PWM; 1 = 0-10 V
DI11IFM mode selectionIndoor fan motor signal typeBITRead0 = PWM; 1 = 0-10 V
DI12Technician speedup test modeBITRead0 = Normal; 1 = Test mode
DI13Compressor 1 relay outputBITRead0 = Off; 1 = Energized
DI14Compressor 2 relay outputBITRead0 = Off; 1 = Energized
DI15RH relay outputBITRead0 = Off; 1 = Energized
DI16W2 relay outputBITRead0 = Off; 1 = Energized
DI19AC / HPUnit typeBITRead0 = AC; 1 = Heat pump
DI20EHDDEHDD option settingBITRead0 = No; 1 = Yes
DI21SCKTSCKT option settingBITRead0 = No; 1 = Yes
DI22Economizer enabledBITRead0 = No; 1 = Yes
DI23Economizer sensor typeBITRead0 = Dry bulb; 1 = Enthalpy
DI25RV outputReversing valve outputBITRead0 = Off; 1 = Energized
DI28Emergency ventilation statusBITRead0 = Off; 1 = On
DI29EC relay outputBITRead0 = Off; 1 = On
IR9Current OFM speed0-1023UINT16Read
IR10Current IFM speed0-1023UINT16Read
IR11Anti-short-cycle compressor 10-360 counts of 0.5 sUINT16× 0.5sRead
IR12Anti-short-cycle compressor 20-360 counts of 0.5 sUINT16× 0.5sRead
IR13Voltage reading0-1023; 1023 = above 20 V, 965 = 18 V cutoffUINT16Read
IR14P1 temperature0-160 °F; 255 = no sensorUINT16°FRead255 = No sensor
IR15P2 temperature0-160 °F; 255 = no sensorUINT16°FRead255 = No sensor
IR16Freeze sensor 1 temperature0-160 °F; 255 = no sensorUINT16°FRead255 = No sensor
IR17Freeze sensor 2 temperature0-160 °F; 255 = no sensorUINT16°FRead255 = No sensor
IR18Alarm status0 = no faultBITMAP16Readbit 0 = Freeze sensor fault; bit 1 = HPS1 fault; bit 2 = Low voltage; bit 6 = LPS1 fault; bit 14 = Y1 locked out; bit 15 = Y2 locked out
IR24Software versionDecimalUINT16Read
IR25Supply / mixed air temperature0-160 °FUINT16°FRead
IR27Outdoor temperature0-160 °FUINT16°FRead
IR29Suction line temperature (LPS1)0-160 °F; 255 = open or shorted sensorUINT16°FRead255 = Sensor open/shorted
IR31Liquid line temperature (FCC1)0-160 °F; 255 = open or shorted sensorUINT16°FRead255 = Sensor open/shorted
IR33Defrost sensor temperature0-160 °FUINT16°FRead
IR38Economizer output0 = off, 20-100UINT16Read0 = Off
HR0Heat set pointReserved for future use; 45-100 °FUINT16°FRead/write
HR1Cool set pointReserved for future use; 45-100 °FUINT16°FRead/write
HR2Temperature calibration0-18, default 9; correction = value - 9UINT16Read/write
HR3W2 speed multiplierPercent of Y2 fan speed, 0-100, default 80UINT16%Read/write
HR4Dehumidification speed multiplierPercent of Y2 fan speed, 0-100, default 80UINT16%Read/write
HR5OFM set speedOutdoor fan speed, 0-1023UINT16Read/write
HR6IFM Y1 set speedIndoor fan speed for Y1, 40-100, default 60UINT16Read/write
HR7IFM Y2 set speedIndoor fan speed for Y2, 40-100, default 60UINT16Read/write
HR8Modbus timeoutMinutes without Modbus before reverting to hardware calls; 1-60, default 10UINT16minRead/write
HR19Minimum positionEconomizer minimum position: 20 = minimum, 20-100 = open %UINT16%Read/write
HR20Economizer dry bulb set point20-105 °F, default 70UINT16°FRead/write
HR21ODS set0-70, default 50UINT16Read/write
HR22Fan purge0 = no, 10-90 s, default 90UINT16sRead/write0 = No purge
HR23Defrost timer30, 60 or 90 min (default 30)UINT16minRead/write
HR26SAS/MAS calibration0-18, default 9; correction = value - 9UINT16Read/write
HR28ODS calibration0-18, default 9; correction = value - 9UINT16Read/write
HR30Suction line temp calibration0-18, default 9; correction = value - 9UINT16Read/write
HR32Liquid line temp calibration0-18, default 9; correction = value - 9UINT16Read/write
HR34DS calibration0-18, default 9; correction = value - 9UINT16Read/write
HR35Dehumidifier set point70-75 °F, default 72UINT16°FRead/write
HR36Pulse reheat differential5-10 °F, default 5UINT16°FRead/write
HR37Economizer enthalpy set pointModes A..E as 0..4, default 3 (D)UINT16Read/write0 = A; 1 = B; 2 = C; 3 = D; 4 = E
HR39Head pressure cutout temperature75-95, default 85UINT16Read/write
HR40IFM G set speedIndoor fan speed for fan-only, 30-100, default 60UINT16Read/write
HR41OFM speed heatingOutdoor fan speed in heating (heat pumps), 65-100, default 85UINT16Read/write

Notes on this map

Check it against the live device. A register map tells you what the controller can expose; the unit in front of you may differ by firmware or options. Read a few registers and compare them with the unit’s own display; for a 32-bit value the float and byte-order decoder shows all four word orders at once, so a wrong word order or scale is obvious. New to this? Read what a register map is and why addresses are off by one.

Questions about the Marvair MAH / MGH wall-mount air conditioner control board (Modbus RTU)

What Modbus registers does the Marvair MAH / MGH wall-mount air conditioner control board (Modbus RTU) have?

This map lists 72 registers: 10 coils, 20 discrete inputs, 17 input registers, 25 holding registers. 35 of them can be written. Registers vary with firmware, options and configuration, so confirm against the device.

Are the Marvair MAH / MGH wall-mount air conditioner control board (Modbus RTU) Modbus addresses 0-based or 1-based?

The manufacturer's document numbers registers 0-based (the number printed is the address on the wire). Every address on this page is the 0-based wire address you put in the request; the documented number is shown under it where it differs. The map prints a zero-based packet ID next to a one-based reference ID (1, 2, 3...). The zero-based ID is the wire address.

What are the minimum Modbus registers to integrate the Marvair MAH / MGH wall-mount air conditioner control board (Modbus RTU)?

Start with CO 17 Communicating thermostat mode (Communicating (Modbus) thermostat mode); CO 0 Y1 compressor call (Y1 cooling call); CO 3 G fan call (G fan call); DI 13 Compressor 1 relay output (Compressor 1 relay state); IR 18 Alarm status (Alarm status bits); IR 14 P1 temperature (P1 temperature); IR 27 Outdoor temperature (Outdoor temperature); HR 8 Modbus timeout (Modbus timeout (minutes)).

How do I enable Modbus control of the Marvair MAH / MGH wall-mount air conditioner control board (Modbus RTU)?

Set menu item 23 (T'STAT Select) to C for a communicating thermostat via Modbus, or write coil 17 = 1 (the Modbus map says coil 17 reads and changes 'P22', the thermostat-type setting). The Modbus ID (item 24, 1-99, default 1) and baud (item 25: 9.6 or 19 = 9600/19200) are set in the board configuration menu.

What happens when the Marvair MAH / MGH wall-mount air conditioner control board (Modbus RTU) loses Modbus communication?

Register 8 / configuration item 26 sets the Modbus timeout (1-60 min, default 10). After that long without Modbus traffic the board falls back to hardware thermostat calls.

Where is the official Marvair MAH / MGH wall-mount air conditioner control board (Modbus RTU) Modbus documentation?

The source is MAH1018A-1060A, MGH1072A, MAH2024A-2060A & MGH2072A Wall-Mount AC Installation & Operation Manual (Rev. 7), revision 2026-05, published free by Marvair at https://marvair.com/doc/25/MAH1018A-1060A%20MGH1072A%20MAH2024A-2060A%20%20MGH2072A%20Wall-Mount%20AC%20Manual%20Rev%207.

More Marvair Modbus register maps

Other hvac equipment register maps

All hvac equipment Modbus register maps →

Source: MAH1018A-1060A, MGH1072A, MAH2024A-2060A & MGH2072A Wall-Mount AC Installation & Operation Manual · Rev. 7 · rev. 2026-05. Register numbers, types, scaling and units are reproduced as published; descriptions are our own.