The following list instructs how to configure a PiiGAB M-Bus 900/900S so that M-Bus meters can be read with RS232.
- Start the gateway’s web interface in any web browser.
- Go to the Configuration page.
- Select any slave port for the RS232 communication.
- Specify the following parameters:
- Type: Serial.
- Com port: RS-232.
- Baud rate: The specified communication speed on the RS232 bus.
- Bit Number: Number of data bits on the RS232 bus.
- Parity: The parity for the RS232 bus.
- Stop Bit: Number of stop bits on the RS232 bus.
- Timeout: Expected time to get answer from the M-Bus meter.
- Protocol: The data protocol on the RS232 bus.
- Press the Save settings.
- Connect the RS232-cable to the RS232-connection on the gateway:
- PiiGAB M-Bus 900: Pins 10-12.
- PiiGAB M-Bus 900S: Pins 11-13.
The picture shows Slave port 2 is configured for RS232 on 2400 baud, 8 data bits, even parity, 1 stop bit, 2000ms as timeout and M-Bus communication.

Note:
- Make sure the gateway doesn’t use the RS232-port anywhere else. For instance any other slave ports or the Modbus2MBus and/or the Wireless applications.
- The RX and TX pins should likely go to the opposite pins on the unit.
Exempelvis: RX->TX och TX->RX.

Comment on this FAQ
Want to join the discussion?Feel free to contribute!