background image

 

18 

 

S

ta

rtKi

t3

.E

.1

.1

3

 

PiiGAB Explorer / M-Bus OPC-server – M-Bus communication 

 
When the M-Bus communication is confirmed with PiiGAB M-Bus Setup Wizard, you may use PiiGAB 
Explorer to see what is possible to read from the PiiGAB 900 gateway and RELAY’s PadPulse M2. You can 
also use PiiGAB Explorer’s built in OPC-client to read the values from the internal meter in the PiiGAB 
900 gateway as well as the information in RELAY’s PadPulse M2. 
 

Try the StartKit3 example project in PiiGAB Explorer 

 

1.

 

Start PiiGAB Explorer 

2.

 

Go to 

File

 menu and press the 

Open

 button 

3.

 

Browse to the local folder and open 

PiiGABStartKit3.xml

 

 

 

 

4.

 

Go to 

File

 menu and press 

Set As Active Project

 

 

This will set the PiiGABStartKit3.xml as the active project for the OPC-server. You may look around in this 
project and see a default configuration of PiiGAB 900’s internal meter and RELAY’s PadPulse M2. 

For instance look at the configuration for each meter in the project: 

 

Internal  

 

PiiGAB 900’s internal meter for M-bus voltage and M-Bus current 

 

PadPuls M2 P1   

RELAY’s PadPulse M2 pulse meter with primary address 0 

 

PadPuls M2 P2   

RELAY’s PadPulse M2 pulse meter with primary address 1 

 

 

Содержание M-Bus 900

Страница 1: ...Manual for PiiGAB Start Kit 3 ...

Страница 2: ...1 PiiGAB M Bus Setup Wizard M Bus communication 12 M Bus communication with PiiGAB 900 gateway 13 Read PiiGAB 900 primary and secondary addresses 13 Read M Bus voltage and M Bus current from PiiGAB 900 14 M Bus communication with RELAY PadPulse M2 15 Change primary address of PadPulse M2 16 Read both primary and secondary address from RELAY PadPulseM2 17 Further RELAY PadPulse M2 configuration 17 ...

Страница 3: ...AB 900 s internal meter over M Bus ASCII 28 M Bus ASCII tag file 29 Introduction This document will describe how to configure PiiGAB Start Kit 3 with PiiGAB 900 and RELAY PadPulse M2 communicating over M Bus Modbus and M Bus ASCII communication Requirments One PiiGAB 900 gateway One RELAY PadPulse M2 gateway One 24VAC or 24VDC power supply A local area network LAN with DHCP PiiGAB M Bus Setup Wiza...

Страница 4: ...StartKit3 zip to a local folder 4 Connect PiiGAB 900 gateway to the LAN 5 Make sure your computer is connected to the same LAN 6 Connect PiiGAB 900 gateway to a 24V AC or DC power supply 7 Connect PadPulse M2 to the PiiGAB 900 gateway see picture below 8 Turn the power supply on 9 Wait for PiiGAB 900 s Pwr LED to go steady red ...

Страница 5: ... 900 with PiiGAB M Bus Setup software The MAC address starts with E8 99 5A The serial number starts with 167 Find your PiiGAB 900 on your network 1 Start PiiGAB M Bus Setup Wizard and go to the main menu 2 Select Find gateways on your network 3 Press Next to continue 4 Your PiiGAB 900 gateway should be listed 5 Find your PiiGAB 900 by the MAC address or the serial number 6 Select your PiiGAB 900 g...

Страница 6: ...ace for your PiiGAB 900 gateway press Yes to do so 8 You might need to specify a username and password If these settings has not been changed the defaults are Username Admin Password Admin This picture shows the main page of a PiiGAB 900 V2 web interface ...

Страница 7: ...0 gateway To be safe you can use a network switch between your computer and your PiiGAB 900 gateway This feature is only supported from PiiGAB 900 V2 and PiiGAB M Bus Setup Wizard 3 1 0 Alter the IP configuration for your PiiGAB 900 1 Set your computer to a static IP address 2 Exit and restart PiiGAB M Bus Setup Wizard and go to the main menu 3 Select Change gateway IP settings 4 Press Next to con...

Страница 8: ...uld have to match your computer s IP address 10 Press Next to continue 11 Press Apply to set the IP configuration 12 Wait for the PiiGAB 900 gateway to reboot 13 Press Next to continue 14 Go back to Find your PiiGAB 900 on your network section and see if you can find your PiiGAB 900 gateway with the IP address you specified ...

Страница 9: ...n in the left panel 2 Find the License field This license enables 20 M Bus loads 4 client 1 Modbus client for either TCP or RTU 1 M Bus ASCII client Upload CSV files to the PiiGAB 900 gateway 1 In the web interface click on Configuration in the left panel 2 Find the Upload CSV file field 3 Press the Browse button 4 Upload these two files from the local folder PiiGABStartKit3 csv PiiGABStartKit3_Mb...

Страница 10: ...Modbus and M Bus ASCII Master port 1 In the web interface click on Configuration in the left panel 2 Click on Master Port and configure it with these settings Slave port 1 M Bus communication 1 In the web interface click on Configuration in the left panel 2 Click on Slave Port 1 and configure it with these settings for M Bus communication ...

Страница 11: ...ction if you don t have a PiiGAB 900 licensed for Modbus Slave port 3 M Bus ASCII 1 In the web interface click on Configuration in the left panel 2 Click on Slave Port 3 and configure it with these settings for M Bus ASCII communication Note You can ignore this section if you don t have a PiiGAB 900 licensed for M Bus ASCII If you don t have a PiiGAB 900 configured for four clients you can use sla...

Страница 12: ...ation 1 In the main menu select Test search and configure meters 2 Press Next to continue 3 Select Connect using network and configure the connection as shown in the picture below Note Your PiiGAB 900 s IP address may not be 192 168 10 183 PiiGAB M Bus Setup Wizard only fill in the IP address automatically as you selected in Find your PiiGAB 900 on your network step 6 4 Click Next to continue ...

Страница 13: ...s voltage and M Bus current on the M Bus loop This test will read from the internal M Bus meter Read PiiGAB 900 primary and secondary addresses 1 Configure these options as seen in the picture below 2 Press the Find button By using primary address 251 the PiiGAB 900 s primary address and entire secondary address are display in PiiGAB M Bus Setup Wizard ...

Страница 14: ...ure below 2 Press the Read button Besides providing the user with the raw data package of the M Bus response from the PiiGAB 900 gateway the M Bus voltage and M Bus current are displayed Note The feature to display M Bus voltage and M Bus current is only supported from PiiGAB 900 V2 and PiiGAB M Bus Setup Wizard 3 1 0 ...

Страница 15: ...lt according to EN13757 both M Bus connections have primary address set to 0 The image above displays the search window in PiiGAB M Bus Setup Wizard You can use it to search M bus meters on the M Bus loop In the image above you can see that the PadPulse M2 has two primary addresses both set to 0 Part of the Identify value can also be found inside the PadPulse M2 itself ...

Страница 16: ...meter one of them must have their primary address changed When changing the primary address on one of the pulse meter the other one will remain on primary address 0 1 Configure these options as seen in the picture below 2 Press the Set button to change the primary address on one of the pulse meters ...

Страница 17: ... under 2 Press the Find button to test primary address 0 or 1 3 Try both primary address and make sure there is a working connection to both of them Further RELAY PadPulse M2 configuration To further configure RELAY s PadPulse M2 you ll require their configuration software MBConf Please also see the manual for the PadPulse M2 how configure it You can find both the manual and the software in the RE...

Страница 18: ...iiGAB Explorer 1 Start PiiGAB Explorer 2 Go to File menu and press the Open button 3 Browse to the local folder and open PiiGABStartKit3 xml 4 Go to File menu and press Set As Active Project This will set the PiiGABStartKit3 xml as the active project for the OPC server You may look around in this project and see a default configuration of PiiGAB 900 s internal meter and RELAY s PadPulse M2 For ins...

Страница 19: ...r status information Monitor the internal meter 1 Click the Internal node in PiiGAB Explorers tree structure 2 Press the Start Monitor button or go to Tools and press Start monitor 3 Wait for the Quality field to change to Good 4 Press the Stop Monitor button or go to Tools and press Stop monitor to terminate the monitor function 5 Wait for the server to properly terminate ...

Страница 20: ...dbus register list function in PiiGAB Explorer to verify Modbus register don t overlap if you change them 1 Go to Tools menu 2 Press Modbus Register List Name Data type Scaled by Description Modbus Start Characters ID VT_I4 PiiGAB 900 s S N N A N A N A Voltage VT_R4 0 1 Voltage on M Bus loop N A N A N A Current VT_R4 0 1 Current on M Bus loop N A N A N A Error VT_I4 PiiGAB 900 error status N A N A...

Страница 21: ...adPulse M2 are represented as Value in PiiGAB Explorer Note This section expects the pulse meters have their own primary addresses set to 0 and 1 Monitor one of the pulse meters 1 Click the PadPuls M2 P1 node or PadPuls M2 P2 node in PiiGAB Explorers tree structure 2 Press the Start Monitor button or go to Tools and press Start monitor 3 Wait for the Quality field to change to Good 4 Press the Sto...

Страница 22: ...R Accumulator value 29 4 8 Note Tags with ASCII in their name can be used with M Bus ASCII If you have a Modbus client which supports strings you may use these tags as well Modbus registers and Modbus register list For the PadPulse M2 gateway there are Modbus registers bound to each OPC tag The configuration of the Modbus registers can only be altered from these two meters They will not affect the...

Страница 23: ...The Modbus client is also an efficient way to check the Modbus configuration before connecting to the actual client 1 In the main menu of PiiGAB M Bus setup Wizard select Test meters with Modbus 2 Press Next to continue 3 Select Connect using network and configure the connection as shown in the picture below Note Your PiiGAB 900 s IP address may not be 192 168 10 183 PiiGAB M Bus Setup Wizard only...

Страница 24: ...he Get button 2 Browse and open PiiGABStartKit3 Wizard Modbus PiiGAB 900 csv file from the local folder 3 Press the Read button to test communication with the PiiGAB 900 gateway over Modbus This will read the internal meter in PiiGAB 900 over Modbus through Slave port 2 ...

Страница 25: ... the OPC tags which contains ASCII in their names 1 Press the Get button 2 Browse and open PiiGABStartKit3 Wizard Modbus PiiGAB 900 ASCII csv file from the local folder 3 Press the Read button to test communication with the PiiGAB 900 gateway over Modbus This will read the internal meter in PiiGAB 900 over Modbus through slave port 2 as strings ...

Страница 26: ...Modbus with and without strings 1 Press the Get button 2 Browse and open PiiGABStartKit3 Wizard Modbus PadPulse M2 csv file from the local folder 3 Press the Read button to test communication with the PiiGAB 900 gateway over Modbus This will read REALY s PadPulse M2 meters over Modbus through slave port 2 ...

Страница 27: ...ion for a PiiGAB 900 The M Bus ASCII client is an efficient way to check the M Bus ASCII configuration before connecting to the actual client 1 In the main menu of PiiGAB M Bus setup Wizard select Test meters with M Bus ASCII 2 Press Next to continue 3 Select Connect using network and configure the connection as shown in the picture below Note Your PiiGAB 900 s IP address may not be 192 168 10 183...

Страница 28: ...v file from the local folder 4 Select PiiGAB 900 Internal ID ASCII from the Tag name drop down list 5 Press the Read button to test communication with the PiiGAB 900 gateway over M Bus ASCII This will read the internal meter in PiiGAB 900 over M Bus ASCII through slave port 3 You can choose different tags in the drop down list but they must contain ASCII in their names ...

Страница 29: ...ains the M Bus ASCII tags 1 Select OPC Item file in the Open File box 2 Press Get file button 3 Browse and open PiiGABStartKit3 Wizard M Bus ASCII csv file from the local folder 4 Select PiiGAB 900 PadPulse M2 P1 Value ASCII from the Tag name drop down list 5 Press the Read button to test communication with the PiiGAB 900 gateway over M Bus ASCII ...

Отзывы: