Guides (2)
Here is an example of how to setup the initial contact with a PiiGAB M-Bus 810.
- Connect the PiiGAB M-Bus 810 to a network switch.
- Connect the computer to the same network switch.
- Configure the computer’s network card with this IP-configuration:
- IP-address: 192.168.10.1
- Netmask: 255.255.255.0
- Gateway: 192.168.10.254
- Check the IP-configuration with the ipconfig command in the command interpreter.
- Read the MAC-address of the PiiGAB M-Bus 810 on the right side.
(Starts with 00-80-A3 or 00-20-A4). - Start PiiGAB M-Bus Wizard.
- In the main menu, select Change gateway IP-settings and press Next.
- Select Select Setup IP using network (UDP broadcast)..
- Specify the MAC-address and press Next.
- Select Use the following IP-address.
- Specify the following IP-configuration:
- IP-address: 192.168.10.2
- Netmask: 255.255.255.0
- Gateway: 192.168.10.1
- Press the Next and then Apply..
- Go ahead to Find gateways on your network. in PiiGAB M-Bus Wizard.
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.
- Connect the PiiGAB M-Bus 900 to a network switch.
- Connect the computer to the same network switch.
- Configure the computer’s network card with this IP-configuration:
- IP-address: 192.168.10.1
- Netmask: 255.255.255.0
- Gateway: 192.168.10.254
- Check the IP-configuration with the ipconfig command in the command interpreter.
- Read the MAC-address of the PiiGAB M-Bus 900 on the right side. (Starts with E8-99-5A).
- Start PiiGAB M-Bus Wizard.
- In the main menu, select Change gateway IP-settings and press Next.
- Select Select Setup IP using network (UDP broadcast)..
- Specify the MAC-address and press Next.
- Select Use the following IP-address.
- Specify the following IP-configuration:
- IP-address: 192.168.10.2
- Netmask: 255.255.255.0
- Gateway: 192.168.10.1
- Press the Next and then Apply..
Note: Ignore the error messages displayed in PiiGAB M-Bus Setup Wizard. - Wait one minute for the PiiGAB M-Bus 900 to restart.
- Go ahead to Find gateways on your network. in PiiGAB M-Bus Wizard.
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.
PiiGAB 900S/T (10)
Vissa mätare hanterar inte SND_NKE tillsammans med REQ_UD2 . Klicka ur alternativet SND_NKE så borde mätarna svara.
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:
- PiiGAB M-Bus Wizard
- Gettings started PiiGAB M-Bus 810
- MicroMaster USB
- PiiGAB's general M-Bus documentation
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.
I PiiGAB M-Bus Wizard kan man söka efter omvandlare på nätverket eller ”pinga” omvandlarens IP-adress för att verifiera att nätverkskontakten fungerar.
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.
Port
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.
Starta PiiGAB M-Bus Wizard -> Ändra omvandlarens parametrar -> Anslut via nätverk.
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.
Starta PiiGAB M-Bus Wizard -> Ändra omvandlarens parametrar -> Anslut via nätverk.
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.
Starta PiiGAB M-Bus Wizard -> Ändra omvandlarens parametrar -> Anslut via nätverk.
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.
Det är bara PiiGAB M-Bus 900 V2.XX.XX.XXX eller senare versioner som stödjer funktionen där IP-adressen kan ändras med 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:
- MBusHub Master port in PiiGAB M-Bus 900/900S.
- MBusHub slave port in PiiGAB M-Bus 900/900S.
- SND_NKE/SND_UD timeout in PiiGAB M-Bus Setup Wizard.
- RSP_UD2 timeout in PiiGAB M-Bus Setup Wizard
This table shows how to configure the tiemouts depending on the communication speed:
300 Baudrate | 2400 Baudrate | 9600 Baudrate | |
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:
- MBusHub Master port in PiiGAB M-Bus 900/900S.
- MBusHub slave port in PiiGAB M-Bus 900/900S.
- SND_NKE/SND_UD timeout in PiiGAB M-Bus Setup Wizard.
- RSP_UD2 timeout in PiiGAB M-Bus Setup Wizard
This table shows how to configure the tiemouts depending on the communication speed:
300 Baudrate | 2400 Baudrate | 9600 Baudrate | |
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 över UDP/IP används i följande funktioner:
- Hitta omvandlare på nätverket.
- Ändra omvandlarens IP-inställningar.
- Ändra omvandlarens parametrar.
Övriga funktioner i PiiGAB M-Bus Wizard anger man själv vilken port och protokoll som ska användas.
Specifikt för Hitta omvandlare på nätverket
Funktionen Find gateways on your network. använder broadcast adressen (255.255.255.255) för att hitta PiiGAB M-Bus 810 och PiiGAB M-Bus 900/900S på nätverket. Tänk på att broadcast kan vara inaktiverat i routrar. Detta kan orsaka att man inte kan hitta omvandlare som är placerade på andra subnät.
PiiGAB 810 (4)
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:
- PiiGAB M-Bus Wizard
- Gettings started PiiGAB M-Bus 810
- MicroMaster USB
- PiiGAB's general M-Bus documentation
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.
I PiiGAB M-Bus Wizard kan man söka efter omvandlare på nätverket eller ”pinga” omvandlarens IP-adress för att verifiera att nätverkskontakten fungerar.
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.
Port
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.
Starta PiiGAB M-Bus Wizard -> Ändra omvandlarens parametrar -> Anslut via nätverk.
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.
Starta PiiGAB M-Bus Wizard -> Ändra omvandlarens parametrar -> Anslut via nätverk.
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.
Starta PiiGAB M-Bus Wizard -> Ändra omvandlarens parametrar -> Anslut via nätverk.
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.
- For M-Bus communication the default port is 10001. The port number can be changed with the application PiiGAB M-Bus Setup Wizard.
- To configure the gateway and find the gateway on the network port 30718 is used with UDP in PiiGAB M-Bus Setup wizard.
PiiGAB Wizard (16)
Vissa mätare hanterar inte SND_NKE tillsammans med REQ_UD2 . Klicka ur alternativet SND_NKE så borde mätarna svara.
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:
- PiiGAB M-Bus Wizard
- Gettings started PiiGAB M-Bus 810
- MicroMaster USB
- PiiGAB's general M-Bus documentation
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.
I PiiGAB M-Bus Wizard kan man söka efter omvandlare på nätverket eller ”pinga” omvandlarens IP-adress för att verifiera att nätverkskontakten fungerar.
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.
Port
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.
Starta PiiGAB M-Bus Wizard -> Ändra omvandlarens parametrar -> Anslut via nätverk.
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.
Starta PiiGAB M-Bus Wizard -> Ändra omvandlarens parametrar -> Anslut via nätverk.
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.
Starta PiiGAB M-Bus Wizard -> Ändra omvandlarens parametrar -> Anslut via nätverk.
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.
Det finns tre timeouter i PiiGAB M-Bus Wizard för de tre protokollen M-Bus, Modbus och MBusASCII. Ställ respektive timeout enligt hur lång tid det tar att få svar på varje fråga som PiiGAB M-Bus Wizard skickar.
Obs: För äldre versioner av PiiGAB M-Bus Wizard (3.1.0. eller tidigare) var det samma timeout för de tre olika protokollen.
För att ställa respektive timeout gör följande:
- In the main menu, select Testa, sök och konfigurera mätare and press Next:
- Press the Next igen.
- Press the Debug-knappen.
- Go to the Verktyg-menyn och välj Tidsfördröjningar.
- Ange önskat värde för respektive protokoll:
- M-Bus timeout: För all M-Bus kommunikation.
- Modbus timeout: För att Modbus kommunikation.
- M-Bus ASCII timeout: För all MBusASCII timeout.
- Obs: I de tidigare versioner heter timeouten BusTimeout.
- Press the OK.
Det är bara PiiGAB M-Bus 900 V2.XX.XX.XXX eller senare versioner som stödjer funktionen där IP-adressen kan ändras med PiiGAB M-Bus Wizard.
Öka värdet på M-BusTimeout. PiiGAB M-Bus Wizard gör säkert timeout då svaret från mätaren inte hunnit komma in. Tryck på Debug/Verktygsmeny/Tidsfördröjningar. Ändra värdet på M-BusTimeout till 10000 millisekunder.
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.
Detta beror på att ett eller flera nätverkskort har fått en annan konfiguration under tiden PiiGAB M-Bus Wizard kördes. Exempelvis om man byter IP-adress på ett nätverkskort.
PiiGAB M-Bus Wizard läser in tillgängliga nätverkskort under uppstart och när felet uppstod finns det en felande länk till nätverkskorten.
Vänligen starta om 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:
- MBusHub Master port in PiiGAB M-Bus 900/900S.
- MBusHub slave port in PiiGAB M-Bus 900/900S.
- SND_NKE/SND_UD timeout in PiiGAB M-Bus Setup Wizard.
- RSP_UD2 timeout in PiiGAB M-Bus Setup Wizard
This table shows how to configure the tiemouts depending on the communication speed:
300 Baudrate | 2400 Baudrate | 9600 Baudrate | |
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:
- MBusHub Master port in PiiGAB M-Bus 900/900S.
- MBusHub slave port in PiiGAB M-Bus 900/900S.
- SND_NKE/SND_UD timeout in PiiGAB M-Bus Setup Wizard.
- RSP_UD2 timeout in PiiGAB M-Bus Setup Wizard
This table shows how to configure the tiemouts depending on the communication speed:
300 Baudrate | 2400 Baudrate | 9600 Baudrate | |
Master port | 9600ms | 1300ms | 400ms |
Slave port | 9600ms | 1300ms | 400ms |
SND_NKE | 11000ms | 1500ms | 600ms |
REQ_UD2 | 11000ms | 1500ms | 600ms |
Ett felmeddelande visar att en OCX-fil saknas när PiiGAB M-Bus Wizard startar.
Exempelvis:
Felet beror på att den angivna systemfilen saknas i Windows installationen.
För att lösa problemet:
1) Sök efter filen som saknas. Prova leta i OCX-dump.
2) Spara OCX-filen i mappen C:\Windows\SysWOW64\.
3) Starta terminalen.
4) Kör kommandot: regsvr32 ”C:\Windows\SysWOW64\mscomm32.ocx”.
OBS: Det kan behövas att terminalen körs med administratörs rättigheter.
Nu ska PiiGAB M-Bus Setup starta.
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.
För nyare operativsystem än Windows XP är C:\Program files inte passande som installationskatalog. Det krävs administratörsrättigheter för att skriva till katalogen. Är du en användare som inte har administratörsrättigheter måste PiiGAB M-Bus Wizard i så fall installeras under en annan systemkatalog. Vi föreslår installation direkt under C:\, exempelvis C:\PiiGAB_M-Bus_Wizard
- For M-Bus communication the default port is 10001. The port number can be changed with the application PiiGAB M-Bus Setup Wizard.
- To configure the gateway and find the gateway on the network port 30718 is used with UDP in PiiGAB M-Bus Setup wizard.
Port 30718 över UDP/IP används i följande funktioner:
- Hitta omvandlare på nätverket.
- Ändra omvandlarens IP-inställningar.
- Ändra omvandlarens parametrar.
Övriga funktioner i PiiGAB M-Bus Wizard anger man själv vilken port och protokoll som ska användas.
Specifikt för Hitta omvandlare på nätverket
Funktionen Find gateways on your network. använder broadcast adressen (255.255.255.255) för att hitta PiiGAB M-Bus 810 och PiiGAB M-Bus 900/900S på nätverket. Tänk på att broadcast kan vara inaktiverat i routrar. Detta kan orsaka att man inte kan hitta omvandlare som är placerade på andra subnät.