Pi-900S Han2MBus Documentation

Chapter 0 About

This manual applies to the Han2MBus program version 0.99.00beta14

Manual version 2019-12-17

Chapter 1 General Introduction

The Han2MBus reads from Han meters and converts the telegrams to M-Bus. The Han meters electrical interface is M-Bus master. The meters must therefore be connected to the Pi-900S M-Bus Slave ports. Pi-900T does not support Han meters.

Pi-900S has two M-Bus Slave ports and supports two Han meters, Hanmeter1 and Hanmeter2 which are hard connected to MBusSlave1 and MBusSlave2 respectively if enabled. A disabled port can be used for other processes.

The M-Bus port can be set up as an ethernet or serial port. It is possible connect a Han meter to one M-Bus Slave and read the M-Bus telegram via the other M-Bus Slave port.

Han2Mbus supports three meter types, Aidon, Kaifa and Kamstrup. No user configuration is needed for the meters.

The following meters have been tested to work correctly:

Kamstrup:
686-11-11x-Nxx-3101-040
684-11-21x-Nxx-x101-040
684-11-31x-Nxx-x101-040
685-11-21x-Nxx-1101-040
685-11-31x-Nxx-1101-040
685-11-25x Dxx-0111-040

Chapter 2 Web Interface

Section 2.1 Configuration

HanModule port configuration

Meter Type:Han Meter type. Aidon, Kaifa and Kamstrup are supported.
Enable:Set to YES if a Han meter is connected. If not enabled, the port can be used by other programs.
Com port:HanModule1 is hardcoded to the MBusSlave 1 port. HanModule2 is hardcoded to the MBusSlave 2 port.
Baud rate:Set to 2400 for all supportet meters.
Bit number:8 bits for all supported meters.
Parity:Parity of serial ports.
Stop bit:1 or 2 stopbits for the serial protocol.
M-Bus Primary Address:
 M-Bus primary address for the Han meter. Can be set to 1 to 249. Default is 241 for HanModule1 and 242 for HanModule2.
M-Bus ID:ID part of secondary address. User definable. Should preferably be set to the ID number printed on the Han meter. Possible values 1 -- 99999999. Eight digits.

M-Bus port configuration

Type:

Port type. Can be set to UDP, TCP, Serial. If serial, available values are RS-232, RS-485 and M-Bus Slave. If M-Bus Slave port is selected, the port cannot be used for a Han meter.

The default value is UDP 20002. This will connect the Han2MBus program directly to one of MBusHub masterports.

Important. The Han meters have different serial setup.

  • Kamstrup: 2400 8N1
  • Kaifa: 2400 8E1
  • Aidon: 2400 8E1