Installing and Starting the M-Bus Adapter

Scenario: You want to connect to energy, water, and heat metering using the M-Bus protocol.

 

Reference: For background information, see the reference section.

 

Workflow diagram:

 

 

Prerequisites:

  • The Siemens MBus Adapter Installer.msi is available at the following path: GMSMainProject > AddSW > MBus.

 

Steps:

1 – Install the Adapter Software
  • You can install the adapter software service on any networked computer that can connect to the M-Bus system and to Desigo CC. Typically you can install it on the Desigo CC server station.
  1. Run Siemens MBus Adapter Installer.msi.
  1. Follow the installation instructions.

 

2 – Start the Adapter as a Service
NOTICE
IMPORTANT SECURITY RECOMMENDATION

The use HTTPS protocol is strongly recommended to ensure a secure communication over public networks. Failing to use HTTPS increases the vulnerability to cyberattacks when using an open or badly secured network.

Method 1 – Start the Service Using the HTTP Protocol

  1. Run the HTTP service on port 8080:
  • In the M-Bus adapter installation folder, locate and double-click the batch file Install_AdapterAsService_HTTP.bat.
    NOTE: IP ports used by the adapter can be modified by changing the IP ports specified in the batch file.

Method 2 – Start the Service Using the HTTPS Protocol

  • You created the self-signed certificate.
  • Using the Microsoft Management Console you obtained the thumbprint needed for starting the adapter service in secure mode using the https protocol.
  1. In the M-Bus adapter installation folder, locate the batch file Install_AdapterAsService_HTTPS.bat.
  1. Edit the batch file with Notepad or any other text editor:
  • In the parameters field, enter: -secure:[thumbprint] (for example, secure:40f0329e31f85466cae9ec1507f7e6318589fd77).
  1. Save and close the file.
  1. Run the HTTPS service on port 443:
  • Double-click the batch file Install_AdapterAsService_HTTPS.bat.