Page 1
PiiGAB M-Bus 900S/T Description User Manual From Version: System 2016-09-12 M-Bus Hub 2.02.02 www.PiiGAB.com...
Page 2
Phone +46 (0)31 55 99 77 All rights reserved. PiiGAB are registered trademark of Processinformation i Göteborg AB. Microsoft and Windows are either trademarks or registered trademarks of Microsoft Cooperation in the United States and other countries. All other trademarks are the property of their respective owners.
Contents GENERAL ........................1 ....................1 BOUT THIS MANUAL ....................1 UNCTIONAL OVERVIEW .................. 1 DVANTAGES AND POSSIBILITIES TECHNICAL STRUCTURE ..................2 ........................ 2 ONNECTIONS 2.1.1 Connections on the upper 18 pin connector ............2 2.1.2 Connections on the lower 12 pin connector ............3 ........................
Page 4
Correct baud rate ....................38 The meter’s board rate settings ................38 7.2.2 7.2.3 Supplier specific configuration software .............. 38 7.2.4 Parameter settings to keep in mind ............... 38 PIIGAB M-BUS SETUP WIZARD ................39 GAB M-B ............... 39 TART ETUP IZARD ................ 40 IND THE GATEWAY ON THE NETWORK ......................
Page 5
RAWINGS ......... 58 ETAILED TELEGRAM INFORMATION FOR THE INTERNAL METER 9.4.1 Read command REQ_UD2 ................... 58 9.4.2 Response from PiiGAB M-Bus 900S/T ..............58 9.4.3 Write to the relay output ..................60 9.4.4 Writing passed ...................... 60 9.4.5 Reset command SND_NKE ................... 61 9.4.6...
General 1.1 About this manual This manual will give you the guidance to install and connect the PiiGAB M-Bus 900 to your network. It demonstrate how you connect to network, RS232, RS485, M-Bus Slave and the M- Bus Master output as well as how you configure the module based on your requirements 1.2 Functional overview...
T H E M O D E R M - B U S T E C H N O L O Y Chapter Technical structure The gateway’s interface consists of one Ethernet connection, one RS232, one RS485, two separate M-Bus slave inputs, four parallel outputs for M-Bus loops, two digital inputs and one relay output as well as a voltage connection.
T H E M O D E R M - B U S T E C H N O L O Y Connection to already existing M-Bus loop with belonging M-Bus M-Bus Slave 2 master. Polarity independent. 2.1.2 Connections on the lower 12 pin connector Figure 2-2 Connections on the lower left 3 pole connector are as stated in the below table: Table 2-2...
T H E M O D E R M - B U S T E C H N O L O Y 2.2 Indications The description of the different leds is in the front. By using the leds it is easy to simply follow the traffic from different M-Bus clients and how the traffic moves via the masterport and the meters.
In the event of pushing the button whilst it is flashing fast you will automatically restart the PiiGAB M-Bus 900S/T. If you don’t push whilst the light is flashing nothing will occur.
Relay” in the web interface. The status for the relay can also be read via the internal M- Bus meter inside the PiiGAB M-Bus 900S. To activate the relay use the write function for the internal M-Bus meter in PiiGAB M-Bus 900S. Read more When there is no voltage the relay will be as shown in the position below.
T H E M O D E R M - B U S T E C H N O L O Y 3.2.1 Connection Digital inputs The connection of the digital inputs is shown in the figure below Figure 3-4 If the gateways is fed with 24VDC this voltage can also be used to feed the digital inputs.
T E C H N O L O Y 3.5 M-Bus Slave, plint 15-18 The PiiGAB M-Bus 900S contains two separate M-Bus slave inputs. By using these two M-Bus slave inputs it is possible to connect to external M-Bus masters. These connections are completely galvanic isolated from each other and from the earth feed.
M-Bus meter inside the PiiGAB M-Bus 900S/T. In the PiiGAB M-Bus 900S/T the different master outputs can be turned on or off via the web interface. See the below picture. It can be found under base configuration in the web interface.
T E C H N O L O Y Chapter The internal M-Bus meter PiiGAB M-Bus 900S/T also functions as M-Bus meter on the M-Bus network with the default primary address 251. You can read out the information according to the table below. There is also the possibility to influence the built in relay.
M - B U S T E C H N O L O Y 4.1.2 Writing By writing down to the PiiGAB M-Bus 900S with a standard M-Bus write command the relay can be set to ON/OFF. For details please read more here.
5) For initial contact with the PiiGAB M-Bus 900S/T there are three possibilities depending on what your network looks like. a) DHCP with router: You should be able to find your PiiGAB M-Bus 900 directly via the Wizard’s ”Find gateways on your network”.
Make sure to check with your network department what port number to use. 5.1.5 Factory settings The factory settings are made to make it easy to test PiiGAB M-Bus 900S/T with a connected M- Bus meter. Master Port:...
Wizard. This includes all other configurations that can be made via the web interface in PiiGAB M-Bus 900S/T. To test the meters that are connected to the PiiGAB M-Bus 900S/T it is best to use the Wizard. Read more here...
M - B U S T E C H N O L O Y 6.1.1 Ethernet Settings PiiGAB M-Bus 900 can be set to static IP or dynamic IP address. This is done in Configuration->Ethernet Settings. 6.1.2 DNS name The gateway contains a DNS name from production that consists of gateway type and serial number.
Domain Name Server (DNS) connects the host name to an IP-address. The host name can for example be”piigab.com” but its IP-address is 91.177.244.31. DNS server is generally not needed but in a few instances the PiiGAB M-Bus 900 must invoke a host name and in that case the DNS needs to be set.
If you are using the gateway with Modbus, M-Bus ASCII or with QuickPost, these configuration files will be uploaded to PiiGAB M-Bus 900S/T here. If you want to read back an existing configuration or delete old configuration files you can do this here.
M - B U S T E C H N O L O Y 6.1.7 RS-485 Failsafe PiiGAB M-Bus 900S has built in Failsafe resistors. Read the detailed description here. Figure 6-6 6.1.8 Restart MBusHub If needed you can restart the MBusHub part by pushing the ”Restart” button”.
6.2 Master Port configuration Figure 6-8 The master port is the part in the gateway that sends out data to destined port. The PiiGAB M-Bus 900S/T has the possibility to send data to Ethernet and M-Bus master. The basic setting...
M-Bus ASCII or Modbus on the slave ports. If the configuration information is needed for the master port you can add the current configuration file in the field ”Configuration File”. The configuration file is created with help from the PiiGAB Explorer. 6.2.2...
6.2.3.1 myprimaryaddress PiiGAB M-Bus 900S/T is functioning as an M-Bus meter on the M-Bus network with the internal master address set to 251. The address 251 is according to the M-Bus standard used for intelligent M-Bus masters. The address can be changed by writing in a new primary address between 0-250 in the field ”myprimaryaddress.”...
T H E M O D E R M - B U S T E C H N O L O Y 6.3 Slave Port 1-4 configuration Figure 6-9 Slave ports is the part in the gateway that handle connected clients. All slave ports can be configured to UDP/TCP or Serial communication.
If you have chosen Modbus RTU or TCP additional parameters may have to be set. In addition the field ”Configuration File” will be shown and here you will have to choose the cross reference file. For a more detailed description of the usage of Modbus in the PiiGAB M-Bus 900S/T please see separate manual.
Page 30
This is the unit’s address when using RS485 communication. Observe that address 0 in Modbus is reserved for Broadcast. If a broadcast address request is received by the PiiGAB M-Bus 900 it will be ignored. slaveaddress has no function when using Modbus TCP.
6.4.1.1 Show Configuration Files: PiiGAB M-Bus 900S/T has a number of different configuration files where all the settings are saved. By first choosing a file via the dropdown menu and then press the “Show” button you can see the settings in respective file.
6.4.1.2 Back Up Current Configuration If a back-up of your PiiGAB M-Bus 900S/T is needed you can create one by clicking Create backup”. This will create a pi900S/T_config_xxxxxxxx_backup.tgz file (xxxxxxxx corresponds to the gateways serial number) where all necessary files and configurations are saved. In case of support issues please send your configuration back-up if possible.
Password: Admin 6.4.4 License To be able to use your PiiGAB M-Bus 900S/T a license has to be installed in the unit. The installed license makes the licensed part available. Example Below is an example of a licensed PiiGAB M-Bus 900S/T Figure 6-14 6.4.4.1...
The internal clock is always set to ”Universal Coordinated Time” (UTC). The time zone is set so that the PiiGAB M-Bus 900 will show the correct local time. The default for the time zone is Stockholm/Paris/Berlin, however if another time zone is to be used please refer to the public internet site for ucLibc time zone.
T H E M O D E R M - B U S T E C H N O L O Y 6.4.5.3 Example to set the time zone Stockholm/Paris/Berlin CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00 M3.5.0/02:00:00 -> 5th week in March at 02:00 am summertime will start M10.5.0/03:00:00 ->...
T E C H N O L O Y 6.5 Logging The logging part consists of an easier logging to be able to follow the traffic in the PiiGAB M-Bus 900S/T. There are four buttons in the web interface to direct the logging: Start, Show, Clear and Startup Log.
6.5.3 Extra debug option PiiGAB M-Bus 900S/T has an extra debug function that makes it possible to send debug files to a specific place. By installing a program script it is possible to send logged detailed communication data as well as extra debug information from the PiiGAB M-Bus 900S/T. This program script can...
6.6.2 Webserver Settings When PiiGAB M-Bus 900S/T is delivered it is in HTTPS mode. It is possible to choose HTTP without a password as well. This option is available for customers that have a well-protected network including many different units connected in that network. In this event it would be close to impossible to keep track of all the passwords for the staff on site.
M - B U S T E C H N O L O Y 6.9 Status This page is completely new in PiiGAB M-Bus 900S/T. It shows a combination of status from the system and I/O signals. Figure 6-21 6.9.1 Digital I/O and Relay The status for digital inputs and for the relay is shown below.
A summary of error flags can also be found. Figure 6-25 6.10 Documents Starting with PiiGAB M-Bus 900S this manual can be found stored in your unit. You can also connect to our webserver for the latest version Figure 6-26...
Communication with the meters 7.1 Testing with the PiiGAB M-Bus 900S/T as an M-Bus meter This little test is useful to learn how to use the PiiGAB M-Bus 900S/T but also how to search for errors. 1) Browse in the web interface in the PiiGAB M-Bus 900S/T and go to ”Administration” and control that you have a valid license.
If you have a meter that contains many telegrams a so called multi telegram meter make sure not to read more telegrams than necessary. With client software from PiiGAB it is possible to set the parameter NrOfTelegrams, which limits the number of M-Bus telegrams read from the current meter.
The M-Bus Wizard is a software that can be downloaded from the PiiGAB website. The software helps you to find the PiiGAB M-Bus 900S/T on the network as well as testing the M-Bus loop. Additional configuration is done via the web interface.
The gateways found on the network will be displayed equivalently to the list above. Look under Type to see if it is a PiiGAB M-Bus 810 or a PiiGAB M-Bus 900 that has been found. Under Identity you can read out the serial number of the current PiiGAB M-Bus 900. Other units...
PiiGAB M-Bus Setup Wizard. 8.3 Web interface When you know the IP number of the PiiGAB M-Bus 900S/T you can open your web browser manually and type in the gateway’s IP number. This will get you to the web interface on the gateway.
T E C H N O L O Y 8.4 Network settings via PiiGAB M-Bus Wizard You can change the IP settings in PiiGAB M-Bus 900 via the PiiGAB M-Bus Setup Wizard as well as the Web interface. Notice that PiiGAB M-Bus Setup Wizard doesn’t support settings and changing of the netmask and gateway in PiiGAB M-Bus 900S/T.
Page 48
T H E M O D E R M - B U S T E C H N O L O Y Set an IP-address statically Figure 8-9 Click Next to confirm Set an IP-address dynamically Figure 8-10 Click Next to confirm...
Page 49
T H E M O D E R M - B U S T E C H N O L O Y By clicking Apply the IP-Settings will be updated. Figure 8-11 The figure below shows that the IP-settings for the dynamic IP-address have succeeded. Figure 8-12...
Page 50
T E C H N O L O Y If the addressing should fail make a new trial as the figure below is showing. Notice that PiiGAB M-Bus 900S/T has no support for setting the IP-address via the serial port.
T H E M O D E R M - B U S T E C H N O L O Y 8.5 Communications test (Ping) Figure 8-14 The above picture will be presented after you have chosen to Ping gateway from the main menu.
T H E M O D E R M - B U S T E C H N O L O Y 8.6 Meter settings When all previous steps have been made the gateway is ready to communicate on the M-Bus network.
Page 53
Above is an example of when the meter responds. Figure 8-19 Via the PiiGAB M-Bus Setup Wizard it is also a possibility to change the meter’s primary address. Some meter brands don’t support the option to change the primary address with an M-Bus command.
Page 54
T H E M O D E R M - B U S T E C H N O L O Y Figure 8-20 This choice makes it possible to change the baud rate. When the meter is updating you will receive a message when it has been successfully updated.
Page 55
M - B U S T E C H N O L O Y Figure 8-22 A read from PiiGAB M-Bus 900S/T can look like this including voltage and current on the M-Bus network. Figure 8-23 Some meters use ”Application reset” instead of or in combination with SND_NKE in order to reset the meter to be able to read the first telegram.
T E C H N O L O Y 8.7 Finding meters on the M-Bus network Finding meters on an M-Bus network with the PiiGAB M-Bus 900 can be done with primary addressing or secondary addressing. If you have many meters with the same primary address you will get a collision indication.
T H E M O D E R M - B U S T E C H N O L O Y 8.7.3 Finding meters via secondary addressing When secondary addressing is used a so called binary tree is used. This can partly be followed in the search window.
T H E M O D E R M - B U S T E C H N O L O Y Chapter Appendix 9.1 Technical data 9.1.1 Specification Base unit Supply voltage 24V AC/DC (22-30V AC/DC) Rated current 500mA (24V AC, 120 loads) 350mA (24V AC, 60 loads) 250mA (24V AC, 5 and 20 loads) Operating temperature -...
PiiGAB M-Bus 900S has a built in Failsafe resistance (430Ohm) to boost the limit. Failsafe resistances are connected via the web interface. If the Failsafe function is activated these will be connected until they are turned off via the web interface.
If that is the case these questions will end up in a line that creates extra waiting time that needs to be considered when setting timeouts. In the PiiGAB M-Bus 900S/T there are three main timeouts Master timeout, Slave timeout and Defrag timeout.
T H E M O D E R M - B U S T E C H N O L O Y Table 9-2 Number of clients Master Timeout Slave Timeout (ms) 2000ms 2000ms +100ms 2000ms 4000ms +100ms 2000ms 6000ms +100ms 2000ms 8000ms +100ms Normally the telegrams are shorter and the times can therefore be adjusted for optimal...
T H E M O D E R M - B U S T E C H N O L O Y 9.3 Drawings Figure 9-1 Cabinet Dimension and tolerance in accordance with DIN43880. Outer measurements: B x H x D 107.6 x 90 x 62.2 mm...
T E C H N O L O Y 9.4 Detailed telegram information for the internal meter Below you see how the internal M-Bus telegram in PiiGAB M-Bus 900S/T is built up. In the current version it’s only one telegram.
Page 64
T H E M O D E R M - B U S T E C H N O L O Y DIF size, 16 bits integer VIF extension VIF code VIFE Voltage (V*0,1) 29-30 xxxx Voltage Object 3, M-Bus net’s current consumption DIF size, 16 bits integer VIF extension VIF code VIFE Current (µA*100)
T H E M O D E R M - B U S T E C H N O L O Y DIF size, 16 bits integer VIF External temperature (°C*0,1) 61-62 xxxx Temperature Object 10, Status for the four Master outputs DIF size, 8 bits integer VIF extension VIF code VIFE Digital output (binary)
T H E M O D E R M - B U S T E C H N O L O Y 9.4.5 Reset command SND_NKE Table 9-7 Byte No Size (byte) Value (Hex) Description Start character C-field, REQ_UD2 A-field, address (Default 251, Hex FB) CS checksum End character 9.4.6...
T H E M O D E R M - B U S T E C H N O L O Y 9.5 Contacts PiiGAB Processinformation Anders Carlssons gata 7 417 55 Göteborg Sweden Phone + 46 31 55 99 77 www.piigab.com...
T E C H N O L O Y 9.6 Document version Table 9-11 Version Description 2.01.01 First version Chapter 5 is completed with PiiGAB M-Bus 900 telegram structure 2.01.01-1 Chapter 7 is new 2.01.01-2 New address plus some small adjustments 3.00.01 First version PiiGAB M-Bus 900S 3.00.02...
Need help?
Do you have a question about the M-Bus 900S and is the answer not in the manual?
Questions and answers