Do you have a question about the Techbase MBus Gateway and is the answer not in the manual?
The M-Bus Gateway RTU is a device designed for easy integration of M-Bus and TCP/MQTT/SNMP networks. It functions as a slave device that can be seamlessly added into an existing Modbus TCP network, allowing for remote web access panel control and the management of groups of devices. The device emphasizes integration customization and ease of use.
To power up the device, connect the power supply to the device and the meter to "M+" and "M-" connectors. Ensure the power supply is connected to VCC on the M-Bus side.
To locate the device, connect the gateway device to the same network as your PC and use SSH to connect to the device. You can use PuTTY in Windows or ssh command in Linux.
The device's IP address can be found using an SSH port. If you know the IP address, you can connect directly. Otherwise, use a network scanner or the provided link: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe to download PuTTY.
The M-Bus Gateway RTU supports configuration using the iModCloud system. There are two ways to configure the device: using your iModCloud system or using SSH.
To begin, create a new account or log in to iModCloud. If you have an account, contact http://support.techbase.eu/ to obtain the appropriate M-Bus Gateway template for iModCloud.
To start the M-Bus Gateway, go to M-Bus Gateway view (1,2) and run the M-Bus Gateway scan start action (3).
After scanning, a configuration file will be generated. Allow some time for the process to complete.
To check the configuration, go to the Main Page of http://demo.imodcloud.com/ and then to the devices view. Select your device and check iMod Parameters.
The M-Bus gateway can scan the M-Bus network to find all meters connected to the device. To perform an M-Bus network scan using SSH, use the following command:
imod scan mbus -p /dev/tty5C0 -rtu-access COM4
This command creates a configuration file named "MBusScan.xml" containing all available parameters detected during the scan.
The configuration file will display parameters like parameter type="int32", id="MBUS_47290041_41_1", value="0 (Integer)", scale="e3/scale", units="Wh", description="UNKNOWN", comment="INST_VAL", source-channel name="MBUS_COM1" parameter-id="41-1", and access-channel channel-name="Modbus_SMBUS" parameter-id="302".
The following part of the configuration is responsible for mapping M-bus to Modbus. For example, parameter 1 from meter with ID 41 is mapping on modbus parameter ID 302.
After scanning and parameter identification, the next step is to rename the configuration file to MainConfig.xml.
cd /mnt/mntd/iMod/config
mv MBusScan.xml MainConfig.xml
The last step is to run the iMod:
imod start
The iMod Wizard allows for simple editing and installation of the configuration on the M-Bus Gateway. First, find the IP Address of your device (refer to 1.2 Find device in the LAN network) and then type it into the address bar in your browser. Go to the M-Bus Gateway View and follow the instructions below.
If you have problems with detection meters, first check the connection and then use mbus_scan. If you connect your meter correctly, the result of mbus_scan should look like the example provided in the manual, showing details like MBUS:Address, MBUS:Address type, MBUS:Sending short message, MBUS:Waiting for response, Received MBus Data, deviceType, manufacturer, VIB, VariableDataBlock, OBIS Code, Data Information Block, Value Information Block, Data Bytes, Data field, Function Field, Scaler, and Unit.
To update your device to the latest version, use the command:
softmgr update imod -b x500cm3-test
Loading...