Installing and Starting the M-Bus Adapter
Scenario: You want to connect Desigo CC to the energy, water, and heat metering devices that use the M-Bus protocol.
Reference: For background information, see the reference section.
Workflow diagram:
Prerequisites:
- After installation, the Siemens MBus Adapter Installer.msi installer package is available in [Installation Drive]:\[Company Name]\[Brand Name]\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, it is installed on the Desigo CC server station.
- Run Siemens MBus Adapter Installer.msi.
- Follow the wizard instructions to complete the installation.
2 – Start the Adapter as a Service
NOTICE
The use of 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
- 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.
- In the M-Bus adapter installation folder, locate the batch file Install_AdapterAsService_HTTPS.bat.
- Edit the batch file with Notepad or any other text editor:
- In the parameters field, enter: -secure:[thumbprint] (for example, secure:40f0329e31f85466cae9ec1507f7e6318589fd77).
- Save and close the file.
- Run the HTTPS service on port 443:
- Double-click the batch file Install_AdapterAsService_HTTPS.bat.