FAQ
Here you can find a number of questions and answers regarding our products.
Here you can find a number of questions and answers regarding our products.
Here is an example of how to setup the initial contact with a PiiGAB M-Bus 810.
Now you should see the PiiGAB M-Bus Setup display the PiiGAB M-Bus 810 in the list. Check the MAC-address and that the IP-address should be set to 192.168.10.2.
Here is an example of how to setup the initial contact with a PiiGAB M-Bus 900.
Now you should see the PiiGAB M-Bus Setup display show the PiiGAB M-Bus 900 in the list. Check the MAC-address and the IP-address should be 192.168.10.2.
Some meters do not handle SND_NKE together with REQ_UD2. Untick the SND_NKE option and the meters should respond.
To troubleshoot M-Bus meters connected to an PiiGAB M-Bus 810 there are a couple of things to verify.
Here is a list of good tools to use during troubleshooting:
IP-address
What IP-address is the gateway using? To have network communication with the gateway you need to setup your computer in the same network as the gateway. If there is an IT section please contact them to receive an IP-address for your computer. With the PiiGAB M-Bus Setup Wizard you can search gateways on the network or ping the gateway’s IP-address to verify if the network communication works.
In the PiiGAB M-Bus Wizard, you can search for converters on the network or "ping" the IP address of the converter to verify that the network connector is working.
f it’s not possible to receive the gateway’s IP-address then you need to setup a new IP-address.
Please see the FAQ on how to do this.
Harbour
What port is the gateway set to in order for the the M-Bus client to read the M-Bus meters? If you have network connection with the gateway you can find out the port with the PiiGAB M-Bus Setup Wizard.
Start the PiiGAB M-Bus Wizard -> Change converter parameters -> Connect via network.
Protocol
What protocol is the gateway set to in order for the the M-Bus client to read the M-Bus meters? If you have network connection with the gateway you can find out the protocol with the PiiGAB M-Bus Setup Wizard.
Start the PiiGAB M-Bus Wizard -> Change converter parameters -> Connect via network.
Note: If the gateway uses TCP you might not be able to connect to the gateway with the PiiGAB M-Bus Setup Wizard to read the M-Bus meters. This is due to that another client is connected to the port that the gateway is using. Change the port, change to UDP or turn off the client.
Communication speed
What communication speed is the gateway set to in order for the the M-Bus client to read the M-Bus meters?If you have network connection with the gateway you can find out the communication speed with the PiiGAB M-Bus Setup Wizard.
Start the PiiGAB M-Bus Wizard -> Change converter parameters -> Connect via network.
Note: If the gateway is set to 300 baud the communication speed is very slow. Remember to change the timeout in the PiiGAB M-Bus Setup Wizard to handle the long response time.
M-Bus meters
Is there any documentation of what M-Bus meters that are connected to the gateway? What addresses does the M-Bus meters use? (primary or secondary addresses).
If there is documentation of the meters then you can simple check each meter one by one with the PiiGAB M-Bus Setup Wizard. It’s also possible to read the search function in the PiiGAB M-Bus Setup Wizard.
If there is no documentation of the meters then you can use the search function in the PiiGAB M-Bus Setup Wizard. If the the result of the search function is incomplete then you have to find each meter one by one on the site and test them individually by it’s M-Bus address (primary or secondary address).
A M-Bus meter not responding
If an M-bus meter is not responding then you have to test the meter individually. If possible disconnect all other meters and test only that specific meter. Try with primary address 254 or the meter’s own primary or secondary address.
If it’s not possible to disconnect all meters then you can test the specific meter with a MicroMaster USB.
Only PiiGAB M-Bus 900 V2.XX.XX.XXX or later versions support the function where the IP address can be changed with the PiiGAB M-Bus Wizard.
Both PiiGAB M-Bus 900 V2 and PiiGAB M-Bus 900S can change their IP address with the PiiGAB M-Bus Wizard.
Keep in mind that the netmask and default gateway will not be set. These need to be set in the converter's web interface. Please read it under the FAQ section "Example of initial contact"
If you are using TCP and the M-Bus Wizard at the same time you cannot make contact with an additional TCP client since the M-Bus Wizard “owns” the TCP handle. Shut down the M-Bus Wizard before starting the second TCP client. The same goes if you are using COM ports.
If the search of secondary addresses failes in the PiiGAB M-Bus Setup Wizard through a PiiGAB M-Bus 900/900S then the timeouts are probably set too high.
There are four timeouts that are required to configure:
This table shows how to configure the tiemouts depending on the communication speed:
| 300 baud rate | 2400 baud rate | 9600 baud rate | |
| Master port | 9600ms | 1300ms | 400ms |
| Slave port | 9600ms | 1300ms | 400ms |
| SND_NKE | 11000ms | 1500ms | 600ms |
| REQ_UD2 | 11000ms | 1500ms | 600ms |
If the search of secondary addresses failes in the PiiGAB M-Bus Setup Wizard through a PiiGAB M-Bus 900/900S then the timeouts are probably set too high.
There are four timeouts that are required to configure:
This table shows how to configure the tiemouts depending on the communication speed:
| 300 baud rate | 2400 baud rate | 9600 baud rate | |
| Master port | 9600ms | 1300ms | 400ms |
| Slave port | 9600ms | 1300ms | 400ms |
| SND_NKE | 11000ms | 1500ms | 600ms |
| REQ_UD2 | 11000ms | 1500ms | 600ms |
Make sure the computer and the gateway are configured within the same IP-address range. If the gateway is placed in a subnet, the PiiGAB M-Bus Setup Wizard will not be able to find the gateway.
Make sure the computer and the gateway are configured within the same IP-address range. If the gateway is placed in a subnet, the PiiGAB M-Bus Setup Wizard will not be able to find the gateway.
Port 30718 over UDP/IP is used in the following functions:
Other functions in the PiiGAB M-Bus Wizard you specify yourself which port and protocol to use.
Specific to Find converters on the network
Functions Find gateways on your network. uses the broadcast address (255.255.255.255) to find the PiiGAB M-Bus 810 and PiiGAB M-Bus 900/900S on the network. Keep in mind that broadcast may be disabled in routers. This can cause not being able to find converters that are placed on other subnets.
To troubleshoot M-Bus meters connected to an PiiGAB M-Bus 810 there are a couple of things to verify.
Here is a list of good tools to use during troubleshooting:
IP-address
What IP-address is the gateway using? To have network communication with the gateway you need to setup your computer in the same network as the gateway. If there is an IT section please contact them to receive an IP-address for your computer. With the PiiGAB M-Bus Setup Wizard you can search gateways on the network or ping the gateway’s IP-address to verify if the network communication works.
In the PiiGAB M-Bus Wizard, you can search for converters on the network or "ping" the IP address of the converter to verify that the network connector is working.
f it’s not possible to receive the gateway’s IP-address then you need to setup a new IP-address.
Please see the FAQ on how to do this.
Harbour
What port is the gateway set to in order for the the M-Bus client to read the M-Bus meters? If you have network connection with the gateway you can find out the port with the PiiGAB M-Bus Setup Wizard.
Start the PiiGAB M-Bus Wizard -> Change converter parameters -> Connect via network.
Protocol
What protocol is the gateway set to in order for the the M-Bus client to read the M-Bus meters? If you have network connection with the gateway you can find out the protocol with the PiiGAB M-Bus Setup Wizard.
Start the PiiGAB M-Bus Wizard -> Change converter parameters -> Connect via network.
Note: If the gateway uses TCP you might not be able to connect to the gateway with the PiiGAB M-Bus Setup Wizard to read the M-Bus meters. This is due to that another client is connected to the port that the gateway is using. Change the port, change to UDP or turn off the client.
Communication speed
What communication speed is the gateway set to in order for the the M-Bus client to read the M-Bus meters?If you have network connection with the gateway you can find out the communication speed with the PiiGAB M-Bus Setup Wizard.
Start the PiiGAB M-Bus Wizard -> Change converter parameters -> Connect via network.
Note: If the gateway is set to 300 baud the communication speed is very slow. Remember to change the timeout in the PiiGAB M-Bus Setup Wizard to handle the long response time.
M-Bus meters
Is there any documentation of what M-Bus meters that are connected to the gateway? What addresses does the M-Bus meters use? (primary or secondary addresses).
If there is documentation of the meters then you can simple check each meter one by one with the PiiGAB M-Bus Setup Wizard. It’s also possible to read the search function in the PiiGAB M-Bus Setup Wizard.
If there is no documentation of the meters then you can use the search function in the PiiGAB M-Bus Setup Wizard. If the the result of the search function is incomplete then you have to find each meter one by one on the site and test them individually by it’s M-Bus address (primary or secondary address).
A M-Bus meter not responding
If an M-bus meter is not responding then you have to test the meter individually. If possible disconnect all other meters and test only that specific meter. Try with primary address 254 or the meter’s own primary or secondary address.
If it’s not possible to disconnect all meters then you can test the specific meter with a MicroMaster USB.
If you are using TCP and the M-Bus Wizard at the same time you cannot make contact with an additional TCP client since the M-Bus Wizard “owns” the TCP handle. Shut down the M-Bus Wizard before starting the second TCP client. The same goes if you are using COM ports.
Make sure the computer and the gateway are configured within the same IP-address range. If the gateway is placed in a subnet, the PiiGAB M-Bus Setup Wizard will not be able to find the gateway.
Some meters do not handle SND_NKE together with REQ_UD2. Untick the SND_NKE option and the meters should respond.
To troubleshoot M-Bus meters connected to an PiiGAB M-Bus 810 there are a couple of things to verify.
Here is a list of good tools to use during troubleshooting:
IP-address
What IP-address is the gateway using? To have network communication with the gateway you need to setup your computer in the same network as the gateway. If there is an IT section please contact them to receive an IP-address for your computer. With the PiiGAB M-Bus Setup Wizard you can search gateways on the network or ping the gateway’s IP-address to verify if the network communication works.
In the PiiGAB M-Bus Wizard, you can search for converters on the network or "ping" the IP address of the converter to verify that the network connector is working.
f it’s not possible to receive the gateway’s IP-address then you need to setup a new IP-address.
Please see the FAQ on how to do this.
Harbour
What port is the gateway set to in order for the the M-Bus client to read the M-Bus meters? If you have network connection with the gateway you can find out the port with the PiiGAB M-Bus Setup Wizard.
Start the PiiGAB M-Bus Wizard -> Change converter parameters -> Connect via network.
Protocol
What protocol is the gateway set to in order for the the M-Bus client to read the M-Bus meters? If you have network connection with the gateway you can find out the protocol with the PiiGAB M-Bus Setup Wizard.
Start the PiiGAB M-Bus Wizard -> Change converter parameters -> Connect via network.
Note: If the gateway uses TCP you might not be able to connect to the gateway with the PiiGAB M-Bus Setup Wizard to read the M-Bus meters. This is due to that another client is connected to the port that the gateway is using. Change the port, change to UDP or turn off the client.
Communication speed
What communication speed is the gateway set to in order for the the M-Bus client to read the M-Bus meters?If you have network connection with the gateway you can find out the communication speed with the PiiGAB M-Bus Setup Wizard.
Start the PiiGAB M-Bus Wizard -> Change converter parameters -> Connect via network.
Note: If the gateway is set to 300 baud the communication speed is very slow. Remember to change the timeout in the PiiGAB M-Bus Setup Wizard to handle the long response time.
M-Bus meters
Is there any documentation of what M-Bus meters that are connected to the gateway? What addresses does the M-Bus meters use? (primary or secondary addresses).
If there is documentation of the meters then you can simple check each meter one by one with the PiiGAB M-Bus Setup Wizard. It’s also possible to read the search function in the PiiGAB M-Bus Setup Wizard.
If there is no documentation of the meters then you can use the search function in the PiiGAB M-Bus Setup Wizard. If the the result of the search function is incomplete then you have to find each meter one by one on the site and test them individually by it’s M-Bus address (primary or secondary address).
A M-Bus meter not responding
If an M-bus meter is not responding then you have to test the meter individually. If possible disconnect all other meters and test only that specific meter. Try with primary address 254 or the meter’s own primary or secondary address.
If it’s not possible to disconnect all meters then you can test the specific meter with a MicroMaster USB.
There are three timeouts in the PiiGAB M-Bus Wizard for the three protocols M-Bus, Modbus and MBusASCII. Set each timeout according to how long it takes to get a response to each query that the PiiGAB M-Bus Wizard sends.
Note: For older versions of PiiGAB M-Bus Wizard (3.1.0. or earlier) there was the same timeout for the three different protocols.
To set the respective timeout do the following:

Only PiiGAB M-Bus 900 V2.XX.XX.XXX or later versions support the function where the IP address can be changed with the PiiGAB M-Bus Wizard.
Increase the value of M-BusTimeout. The PiiGAB M-Bus Wizard will probably timeout when the response from the meter has not arrived. Press Debug/Tool menu/Time delays. Change the value of M-BusTimeout to 10000 milliseconds.
Both PiiGAB M-Bus 900 V2 and PiiGAB M-Bus 900S can change their IP address with the PiiGAB M-Bus Wizard.
Keep in mind that the netmask and default gateway will not be set. These need to be set in the converter's web interface. Please read it under the FAQ section "Example of initial contact"
If you are using TCP and the M-Bus Wizard at the same time you cannot make contact with an additional TCP client since the M-Bus Wizard “owns” the TCP handle. Shut down the M-Bus Wizard before starting the second TCP client. The same goes if you are using COM ports.

This is due to the fact that one or more network cards have been configured differently while the PiiGAB M-Bus Wizard was running. For example, if you change the IP address on a network card.
The PiiGAB M-Bus Wizard reads the available network cards during startup and when the error occurred, there is a failing link to the network cards.
Please restart the PiiGAB M-Bus Wizard.
If the search of secondary addresses failes in the PiiGAB M-Bus Setup Wizard through a PiiGAB M-Bus 900/900S then the timeouts are probably set too high.
There are four timeouts that are required to configure:
This table shows how to configure the tiemouts depending on the communication speed:
| 300 baud rate | 2400 baud rate | 9600 baud rate | |
| Master port | 9600ms | 1300ms | 400ms |
| Slave port | 9600ms | 1300ms | 400ms |
| SND_NKE | 11000ms | 1500ms | 600ms |
| REQ_UD2 | 11000ms | 1500ms | 600ms |
If the search of secondary addresses failes in the PiiGAB M-Bus Setup Wizard through a PiiGAB M-Bus 900/900S then the timeouts are probably set too high.
There are four timeouts that are required to configure:
This table shows how to configure the tiemouts depending on the communication speed:
| 300 baud rate | 2400 baud rate | 9600 baud rate | |
| Master port | 9600ms | 1300ms | 400ms |
| Slave port | 9600ms | 1300ms | 400ms |
| SND_NKE | 11000ms | 1500ms | 600ms |
| REQ_UD2 | 11000ms | 1500ms | 600ms |
An error message indicates that an OCX file is missing when the PiiGAB M-Bus Wizard starts.
For example:

The error is due to the specified system file being missing from the Windows installation.
To solve the problem:
1) Search for the missing file. Try searching in OCX dump.
2) Save the OCX file in the C:\Windows\SysWOW64\ folder.
3) Start terminals.
4) Run the command: regsvr32 "C:\Windows\SysWOW64\mscomm32.ocx".
NOTE: It may be necessary to run the terminal with administrator rights.
Now the PiiGAB M-Bus Setup should start.
Make sure the computer and the gateway are configured within the same IP-address range. If the gateway is placed in a subnet, the PiiGAB M-Bus Setup Wizard will not be able to find the gateway.
Make sure the computer and the gateway are configured within the same IP-address range. If the gateway is placed in a subnet, the PiiGAB M-Bus Setup Wizard will not be able to find the gateway.
For operating systems newer than Windows XP, C:\Program files is not suitable as an installation directory. Administrator rights are required to write to the directory. If you are a user without administrator rights, the PiiGAB M-Bus Wizard must be installed under a different system directory. We suggest installing directly under C:\, for example C:\PiiGAB_M-Bus_Wizard
Port 30718 over UDP/IP is used in the following functions:
Other functions in the PiiGAB M-Bus Wizard you specify yourself which port and protocol to use.
Specific to Find converters on the network
Functions Find gateways on your network. uses the broadcast address (255.255.255.255) to find the PiiGAB M-Bus 810 and PiiGAB M-Bus 900/900S on the network. Keep in mind that broadcast may be disabled in routers. This can cause not being able to find converters that are placed on other subnets.
Can't find the information you are looking for? Let us know with an email to support@piigab.se. We also want to recommend our manuals and our "getting started" documents that you will find under downloads section in the respective product. The documents include valuable information on how to proceed.
If you are looking for features or if you find that something is not working as expected, do not hesitate to contact us so we can adjust the help files or include the features at the next update. If there is anything that you feel is missing or if you have ideas on how to make it better, let us know.
Phone: +46 (0) 31-55 99 77
Email: info@piigab.se
About cookies
Integrity policy/GDPR
PiiGAB applies "Allmänna bestämmelser NL 17"
PiiGAB Processinformation i Göteborg AB
Visiting address: Analysvägen 3
Delivery: Kalkylvägen 1
435 33 MölnlyckeSweden
Account Number: 1821313184
Branch: 9960
IBAN: SE73 9500 0099 6018 2131 3184
Swift/BIC: NDEASESS
Account holder: PiiGAB Processinformation i Göteborg AB
Bank: Nordea Bank Abp, Sweden

