TapHome

Samsung MIM-B19N (Gateway)

Modbus RTU
Submitted by
Last updated: 03. 2026

This is the diagnostic module for the Samsung MIM-B19N Modbus RTU gateway. It monitors the gateway error register and outdoor unit error code, and provides an indoor unit discovery service that scans all 48 IU slots with automatic type detection.

This template does not contain controllable devices. For controlling indoor units, use the Samsung MIM-B19N (IU) template. For heat pump control (EHS/HE/HT units), use the Samsung MIM-B19N (EHS) template.

Hardware connection

The hardware connection is identical for all three MIM-B19N templates. See the Samsung MIM-B19N (EHS) page for full wiring instructions, DIP/rotary switch addressing, and RS-485 configuration.

Quick reference
  • Power supply: DC 12 V from CN12 on outdoor unit main board
  • Protocol: Modbus RTU Slave, RS-485
  • Baud rate: 9600, even parity, 1 stop bit, 8 data bits
  • Max units: 48 indoor units + 1 outdoor unit per gateway
  • Max bus length: 1000 m (RS-485)

Module capabilities

Error monitoring

The module ReadScript continuously monitors two registers:

  • H:0 – Error register (bitfield) – detects three error conditions:
    • Bit 0: Address error
    • Bit 1: R1/R2 communication error
    • Bit 2: Tracking error
  • H:1 – Outdoor unit error code – reports the outdoor unit error code number; any non-zero value triggers an error in TapHome

These errors appear in the TapHome module status, allowing immediate notification when the gateway or outdoor unit encounters a problem.

Units Found (service attribute)

The “Units Found” service attribute performs a discovery scan across all 48 indoor unit slots. For each slot, it reads:

  • H:base+0 – Communication status bitfield (Exist, Type OK, Ready, Communication error)
  • H:base+1 – Unit type register

Where base = 50 + IU x 50 (IU = 0..47).

The attribute decodes the unit type byte into a human-readable label:

Type byte rangeDetected unit type
0x6EHE
0x78HT
0x73–0x75EHS
Upper byte = 10FCU
0x64–0x65ERV
0x6CERV+
0x5A–0x63AHU
0x8C–0x95Chiller
0xA0–0xA9FCU kit
0xFFFFNot defined

The output lists each found unit with its slot index, detected type, and status flags – for example: IU 0 Exist (EHS), Type OK, Ready.

When to use this template

Use this gateway diagnostic template when you need to:

  • Monitor gateway health – track R1/R2 bus errors and outdoor unit faults
  • Discover connected units – identify how many and what type of indoor units are on the Samsung bus before configuring control templates
  • Diagnose installation issues – verify that all expected units are found and in “Ready” state

After discovery, import the appropriate control template for each unit type:

Troubleshooting

No units found in discovery
  1. Verify the MIM-B19N is powered (DC 12 V from CN12 on outdoor unit)
  2. Check that indoor units are powered on and connected to the Samsung F1/F2 bus
  3. Wait up to 10 minutes for tracking to complete after power-on
  4. If the error register shows a tracking error (bit 2), reset the MIM-B19N module
Error register shows R1/R2 communication error
  1. Check the F1/F2 bus wiring between the MIM-B19N and the outdoor unit
  2. Verify the MIM-B19N is installed on the correct outdoor unit PCB connector
  3. Check for bus conflicts with other Samsung accessories
No Modbus communication with TapHome
  1. Check RS-485 wiring polarity (A to A+, B to B-)
  2. Verify the gateway address using DIP and rotary switches
  3. Confirm TapHome is set to: 9600 baud, even parity, 1 stop bit, 8 data bits

Sources

  • MIM-B19N Installation Manual — Modbus register table, wiring, DIP switch addressing
  • Extended register map with MessageSet IDs for outdoor/indoor hidden registers
  • Samsung Modbus community integration reference