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.
The following instruction shows how to use Browse-template in the PiiGAB M-Bus Explorer to display the M-Bus objects in an M-Bus meter.
Note:
This instruction assumes that the PiiGAB M-Bus Explorer is already configured to communicate with the M-Bus converter and the address of the M-Bus meter.
The picture shows an M-Bus meter with the identification number 53880741 and its two M-Bus objects.
Keep in mind:
Below is an image of how to read the contents of the Browse template.
Quick start Guide to Configure M-Bus to Modbus
1. Plug all the meters you want to use on the M-bus loop into Mbus Master ports 1-4 on your Gateway.
2. Search your meters in the web interface using a "Fast Search" in the Startup Config tab

Your meters should appear in a list under the "Fast Search" button
3. Go to the overview page in Startup Config where the meters should now be visible in the list below.

Add Encryption Keys to the meters if they are Wireless meters
4. Click on "Auto-Create Myconfig files"

The files to be used to read meters are now created
5. Go to MbusHub and the tab "Master port", then select the configuration file for the Master port file as shown below. Save the configuration.

6. Go to Slave Port 1 and select the configuration file as shown below

7. Now you will be able to query against the registry entries described in the CSV file located in the slave ports tab of the web interface

You probably do not have the current Sentinel driver installed on your computer. The driver can be downloaded at: http://www.safenet-inc.com/support-downloads/sentinel-drivers/ . As of version 2.5, we no longer have support for hardware locks.
If it is a new configuration you want to test, the error is because the OPC server was not turned off when you started the monitor function. In the lower right corner there is an indication that shows whether the server is on (solid green) or off (solid red). You must wait until the OPC server is turned off before testing a change.
When there are two or more instances of the process MBusOPC.exe this is because the OPC clients run with different users and each user starts their own instance of MBusOPC.exe. Therefore, Windows has not been able to synchronize so that each OPC client uses the same process of the M-Bus OPC server.
When there are several instances of MBusOPC.exe, there is a risk that the OPC server will not get in touch with the M-Bus converters and the M-Bus meters. As a result, OPC clients will not receive the desired data from the M-bus meters.
To control Windows to use only one instance of MBusOPC.exe, you must control in the DCOM settings which users should own the process.


Citect is set up for DA 1.0 OPC Servers. PiiGAB M-Bus OPC Server supports version 2.00, 2.05 and 3.0. This means that you need to add a setting in Citect.ini. Under the [OPC] group, enter UseOPC2=1.
We have found that the WinZip Selfextractor that we used for the installation tool is not stable in the 64 bit environment. From version 2.02.01.001 the WinZip Selfextractor is no longer used and therefore the installation in a 64 bit environment should work as expected.
Find out the existing and new System ID for both computers. Email order@piigab.se and ask for a licence transfer and specify the existing and new System IDs.
As of v2.5, you deactivate the licence on the computer you want to move it from via Tools/License... "Deactivate this workstation" and then activate it with your License ID and activation password on the other computer.
The OPC Server is a thin server, which means that it does not contain a user interface, but the interface is completely external and consists of a real OPC client. The changes made are loaded when the server restarts. The OPC standard says that there must be a small time delay from when you press stop until the server actually crashes. If you restart too quickly, the server will not have time to stop and no new configuration file will be loaded. As of version 1.3.0.1, the server status is displayed in the status bar at the bottom right. This means that it will be easier to understand when the server has really stopped.
After a change in the project in PiiGAB Explorer, both the file must be saved and the Server process must be restarted. If this is not done, the meters affected by the change will not receive communication.
Save the project
Stop the server via the button Stop Monitor


The status of the server should turn red. Only then is the server switched off.
After this, the connection can be started again.
Quick start Guide to Configure M-Bus to Modbus
1. Plug all the meters you want to use on the M-bus loop into Mbus Master ports 1-4 on your Gateway.
2. Search your meters in the web interface using a "Fast Search" in the Startup Config tab

Your meters should appear in a list under the "Fast Search" button
3. Go to the overview page in Startup Config where the meters should now be visible in the list below.

Add Encryption Keys to the meters if they are Wireless meters
4. Click on "Auto-Create Myconfig files"

The files to be used to read meters are now created
5. Go to MbusHub and the tab "Master port", then select the configuration file for the Master port file as shown below. Save the configuration.

6. Go to Slave Port 1 and select the configuration file as shown below

7. Now you will be able to query against the registry entries described in the CSV file located in the slave ports tab of the web interface

Configure ValueSplit scale factor
Here are the scale factors for ValueSplit for data types larger than 32 bits.
| Data type | Scale factor |
| BCD12 | 0,001 |
| INT48 | 0,00001 |
| INT64 | 0,0000000001 |
ATTENTION!
These scaling factors are generic and scale down the value to fit in an INT32.
Consider deriving which scaling is best suited to the plant.
For example:
The energy 12345Wh i is stored in a BCD12 and should be represented as kWh.
Highest value of BCD12 = 999 999 999 999 999, takes up 6 bytes and does not fit in an INT32 (4 bytes).
With a scale factor of 0.001, the maximum value is 999 999 999 999.999.
The integer part: 999 999 999 now fits in an INT32.
Decimal part: 999, fits in an INT32.
The value will then be 12.345kWh:12kWh and 345Wh.
In this case, one or more OPC clients are still connected to the OPC server. If you want to stop the OPC server, for example to test a new configuration, all OPC clients must release their connection to the OPC server.
.NET Framework V3.5 is the basis for PiiGAB M-Bus Explorer. The requirements for .NET Framework V3.5 are here.
PiiGAB M-Bus Explorer also works on the following operating systems:
The information below only applies to versions <= 2.4.1
Start PiiGAB M-Bus Explorer and go to the menu Tools. Please select Licence... to obtain The licence manager.
As of v2.5:
Paste the licence ID and activation password in the respective fields and click Next.
(With version 2.5 of PiiGAB M-Bus OPC Server / Explorer we change the licensing system.
Upon delivery you recieve a delivery note where a license ID as well as an activation code is included. You no longer have to send in your SystemID for activation. You can also easily move your license from one computer to another on your own, free of charge.
This assumes that you have the latest version. Otherwise, the previous licence management will continue to apply).
Below applies to versions <= 2.4.1
Start PiiGAB M-Bus Explorer and go to the Tools menu. Select Licence... to bring up the Licence Manager. Copy the licence into the Registration Code field and press Save Registration Code.
If it is a new configuration you want to test, the error is because the OPC server was not turned off when you started the monitor function. In the lower right corner there is an indication that shows whether the server is on (solid green) or off (solid red). You must wait until the OPC server is turned off before testing a change.
When there are two or more instances of the process MBusOPC.exe this is because the OPC clients run with different users and each user starts their own instance of MBusOPC.exe. Therefore, Windows has not been able to synchronize so that each OPC client uses the same process of the M-Bus OPC server.
When there are several instances of MBusOPC.exe, there is a risk that the OPC server will not get in touch with the M-Bus converters and the M-Bus meters. As a result, OPC clients will not receive the desired data from the M-bus meters.
To control Windows to use only one instance of MBusOPC.exe, you must control in the DCOM settings which users should own the process.


Citect is set up for DA 1.0 OPC Servers. PiiGAB M-Bus OPC Server supports version 2.00, 2.05 and 3.0. This means that you need to add a setting in Citect.ini. Under the [OPC] group, enter UseOPC2=1.
We have found that the WinZip Selfextractor that we used for the installation tool is not stable in the 64 bit environment. From version 2.02.01.001 the WinZip Selfextractor is no longer used and therefore the installation in a 64 bit environment should work as expected.
After a change in the project in PiiGAB Explorer, both the file must be saved and the Server process must be restarted. If this is not done, the meters affected by the change will not receive communication.
Save the project
Stop the server via the button Stop Monitor


The status of the server should turn red. Only then is the server switched off.
After this, the connection can be started again.
In this case, one or more OPC clients are still connected to the OPC server. If you want to stop the OPC server, for example to test a new configuration, all OPC clients must release their connection to the OPC server.
Quick start Guide to Configure M-Bus to Modbus
1. Plug all the meters you want to use on the M-bus loop into Mbus Master ports 1-4 on your Gateway.
2. Search your meters in the web interface using a "Fast Search" in the Startup Config tab

Your meters should appear in a list under the "Fast Search" button
3. Go to the overview page in Startup Config where the meters should now be visible in the list below.

Add Encryption Keys to the meters if they are Wireless meters
4. Click on "Auto-Create Myconfig files"

The files to be used to read meters are now created
5. Go to MbusHub and the tab "Master port", then select the configuration file for the Master port file as shown below. Save the configuration.

6. Go to Slave Port 1 and select the configuration file as shown below

7. Now you will be able to query against the registry entries described in the CSV file located in the slave ports tab of the web interface

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

