background image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description  

User Manual 

 

PiiGAB 

www.PiiGAB.se 

PiiGAB M-Bus 810  

Summary of Contents for M-Bus 810

Page 1: ...Description User Manual PiiGAB www PiiGAB se PiiGAB M Bus 810 ...

Page 2: ...46 0 31 55 99 77 All rights reserved PiiGAB are registered trademark of Processinformation i Göteborg AB Microsoft Windows Windows NT Windows 2000 Windows XP and Windows Server 2003 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 ...

Page 3: ...4 and 5 Spy 11 GET STARTED STEP BY STEP 12 3 3 1 NECESSARY INFORMATION 12 3 1 1 Hardware address 12 3 1 2 IP Address 12 3 1 3 TCP UDP 12 3 1 4 Port number 12 3 2 USING M BUS WIZARD 13 3 3 ADJUSTMENTS FOR TCP UDP AND PORT NUMBER 13 3 4 COMMUNICATION TOWARD METERS 14 3 4 1 The right communication speed 14 3 4 2 Adjusting the meter s communication speed 14 3 4 3 Manufacturer specific configuration so...

Page 4: ...OM PORT REDIRECTOR 36 8 8 1 INTRODUCTION TO COM PORT REDIRECTOR 36 8 1 1 Overview 36 8 1 2 Non Redirected Connection vs Redirected Connections 37 8 2 INSTALLING COM PORT REDIRECTOR 38 8 3 CONFIGURATION 43 8 3 1 General Configuration Guidelines 43 8 3 2 General Com Port Redirector Usage Guidelines 43 8 3 3 Redirector Configuration 44 8 3 4 Verifying Connectivity with the gateway 46 APPENDIX 47 9 9 ...

Page 5: ...orwarded onto the electrical M Bus interface The same applies to the answers from the meters that are being sent over the Ethernet to the superior system The gateway also works as a pure serial M Bus gateway 1 3 Benefits and possibilities The gateway can be used on either 10 or 100 Mbit network The possibility to choose between TCP IP or UDP IP SNMP for network surveillance The gateway can be used...

Page 6: ...ning short circuit or overload of the M Bus loop 2 1 Connections In the table bellow you will find information about how to connect to the 12 pins screw terminal Table 2 1 Connections Connection Term Description 1 AC DC The gateway is powered by 24V AC or DC When DC is used connect the positive cable to connection 1 2 AC DC When DC is used connect the negative cable to connection 2 3 GND This conn...

Page 7: ...question onto the M Bus loop The Rx diode lamp has a flashing green light when the gateway receives an answer from one of the meters connected to the M Bus loop 2 3 Technical specifications Table 2 2 Technical specifications Connection Description Supply voltage 24V AC DC local supply Rated Current 350mA 24V AC 60 slaves 250mA 24V AC 5 and 20 slaves Operating temperature 20 C till 55 C Storage tem...

Page 8: ...ption Communication speed 300 9600 bps Normal 300 or 2400 bps Voltage ground level 1 40V 1V Voltage zero level 0 28V 1V Short circuit level 140mA Internal resistance 100 Ohm Number of units 20 or 60 each unit maximum load 1 5mA 2 6 Ethernet connection Communication speed 300 230000bps Connector type 8 Position Modular RJ45 2 7 Serial connection RS232 Communication speed 300 38400bps Connector type...

Page 9: ...T H E M O D E R N M B U S T E C H N O L O G Y PiiGAB Process Information i Göteborg AB 8 810M E 1 14 2 8 Drawings Figure 2 1 Cabinet ...

Page 10: ...port Spy possibility 2 9 1 Pin connection for module contact RJ12 In figure 2 2 the pin location in the female module contact RJ12 in the gateway are shown Figure 2 2 Pin description RJ12 socket Table 2 4 Connections in module contact RJ12 Pin Number Direction Comment 1 GND Ground 2 Rx M Bus Serial 3 Rx Serial Ethernet 4 Tx Ethernet Serial 5 Tx Serial M Bus 6 N A Not used The following section des...

Page 11: ...de via the serial port adapter 2 is used Connect the adapter to the COM port on the computer and the straight module cable between the adapter and the RJ 12 contact on the gateway Table 2 6 Connection for adapter 2 9 pin DSUB F RJ12 F Pin 2 RxD Pin 3 Pin 3 TxD Pin 4 Pin 5 GND Pin 1 2 9 4 Adapter 3 Ethernet to serial port If the gateway is being used as an Ethernet RS232 gateway adapter 3 is used O...

Page 12: ...what is being written and read two communication ports are demanded on your computer Through using adapter 4 and 5 monitoring can be done Adapter 4 is used to monitor the question and adapter 5 is used to monitor the answer The two adapter s module cables are connected via a branch and onto the gateway s RJ 12 contact Table 2 8 Connection for adapter 4 Ethernet request 9 pin DSUB F RJ12 F Pin 2 Rx...

Page 13: ...er to be connected to the superior software You can also use the automatic IP address via DHCP if you wish Contact the system administrator to receive the right IP address with the belonging subnet mask and gateway The IP address has to be within the allowed area unique within your network and it has to be in the same subnet as your PC 3 1 3 TCP UDP To communicate with the superior software you ha...

Page 14: ...search and configure the gateway through the MAC address You cannot find the gateway if it is connected to a sub network 3 3 Adjustments for TCP UDP and port number To adjust the TCP alternatively UDP the M Bus Wizard is used and it can be found in chapter 4 Choose Change Device Parameters from the main menu and click through to the site where you make your choice At PiiGAB we recommend usage of U...

Page 15: ...rt the possibility to change for example the primary address via a standard M Bus command 3 4 3 Manufacturer specific configuration software If you want to configure the meters via the meter delivery s own software you can do so in most cases over the network via the gateway They usually have no network support so they communicate only via the communication port on the computer By using Comport Re...

Page 16: ...file MBus 800 Family Setup Wizard 2 0 1 zip to the appropriate folder on the computer and open the file Install the program by double clicking on the Setup files or go via the control panel After the program has been installed you can start it by choosing the program in the start menu If the installation has been made with the base settings the program can be found under the PiiGAB folder The firs...

Page 17: ...option and click Next If the gateway has not been configured before choose Change device IP Settings and click Next Figure 4 3 Change IP settings select connection method In this picture you are choosing the way you want to communicate to install the IP address If 810 is connected to the network choose the option on top and with a serial connection pick the lower In this part we are assuming that ...

Page 18: ...is way The difference to configure via the network is that the voltage has to be turned on and off in order for the settings to have an effect Figure 4 4 Change IP settings enter new IP settings Fill out the fields IP address Netmask and Gateway If you are using DHCP choose the upper option otherwise choose the lower If you are going to use a unique IP address contact the responsible for the netwo...

Page 19: ...m the main menu as the first step instead If the unit is found on the network you do not have to provide MAC number when you are setting the IP address Sometimes it can be hard to find the gateway and the reason for that can be because it is in a subnet Contact the network responsible for further information about the network Figure 4 6 Outside permitted address area If the IP address can be found...

Page 20: ...ll be presented to you after choosing Ping Device from the main menu Fill in the IP address on the gateway you want to control and push Ping If the earlier steps in the Wizard are made correctly the chosen IP address will show up on this page Figure 4 9 Ping device If you make contact by using the Ping command the above communication result will show Push Next to continue ...

Page 21: ...rds the superior system and towards the meters on the M Bus loop possible Figure 4 10 Change device parameters At this point there are two choices to configure the gateway via the network or via the serial port on the gateway If the serial port is chosen adapter 2 is used see chapter 2 8 1 Follow the Wizard instructions to configure via the serial port The difference from configure via the network...

Page 22: ...nfigure the gateway so that there is a password needed to change the installations see the picture bellow There are other safety installations that can be made but it has to be done via the Device Installer or with the Hyper Terminal and serial connection See the document DeviceInstaller_UG_900 310 pdf 1 for further installation information Figure 4 12 Change device parameters If serial communicat...

Page 23: ...Process Information i Göteborg AB 22 810M E 1 14 Figure 4 13 Change device parameters After the port has been chosen click Next and follow the picture instructions The same configuration picture will be shown as the one for configuration over the network ...

Page 24: ...oop To get to this part of the Wizard choose Meter feature By this choice a SND_NKE question is sent to test the communication and to set the meter at zero to be able to read the first telegram Figure 4 14 Initialize meter Figure 4 15 Find meter s address By this choice you get information about what primary and secondary address the meter has If you do not know the meter s address choose Test and...

Page 25: ... connected to the M Bus loop Some meters do not support secondary addresses but the information about the secondary address can still be read from the meter Figure 4 16 Find meter s address This is the way it can look when the meter is answering Figure 4 17 Set meter s primary address There is also a possibility to change the meter s primary address Some meter manufacturers do not support the poss...

Page 26: ...eing updated you will receive information that the updating succeeded Some meters answer faster than the M Bus standard therefore occasionally you do not get the information although the meter has been updated If this is the case do a test on the communication speed to make sure the change has been made It is very important to read the communication speed after it has been changed because some met...

Page 27: ...iGAB Process Information i Göteborg AB 26 810M E 1 14 Figure 4 19 Read meter s first data telegram The first telegram can be read out by this choice Figure 4 20 Read meter s first data telegram This is the way it can look when the meter is answering ...

Page 28: ...7 810M E 1 14 Figure 4 21 Application Reset only Some meters need an application reset instead or in combination with SND_NKE to reset the meter to be able to read the first telegram In some cases the meter need a subcode together with the application reset which also is possible to choose ...

Page 29: ...mmunication 1 Connect the serial port to the gateway s serial port with adapter 2 2 Start a terminal program like HyperTerminal to the serial port that the gateway is connected to The base installation should be 9600 baud 8 bites no parity 1 stop bit and no flow control 3 To get into Setup Mode you have to set the unit at zero by breaking the voltage and turn it back on Now a self test will start ...

Page 30: ...mation i Göteborg AB 29 810M E 1 14 5 2 Using Telnet To configure a unit over the network via Telnet you have to first create a connection to port 9999 Figure 5 1 Example Telnet The necessary settings to do if you are using Telnet to get the communication to work are ...

Page 31: ...CP UDP and datagram has to be set These settings are done in Channel 1 There are other settings under this choice but these do not have to be made Communications speed 300 2400 or 9600 Communications parameters 7C 8 Even 1 Flow control 00 None Port number 10001 Contact the person who is responsible for the network to get correct information Connection mode CC UDP C0 TCP Datagram Type when UDP 01 I...

Page 32: ...e communication port on the computer A straight cable is used between the adapter and the gateway When the spying is done both regarding the answer and the question an additional branch connection is used for the module cable 6 2 Serial to M Bus To communicate via the serial outlet directly to M Bus adapter 1 is used Connect the adapter to the COM port and the straight module cable between the ada...

Page 33: ...the technical staff has to connect themselves via the network 6 4 Ethernet to serial If the gateway is being used as a Ethernet RS232 gateway adapter 3 is used Connect the adapter with the equipment that you want to establish communication with Use the straight module cable between the adapter and the gateway s RJ 12 contact When this connection is used the 810 gateway is like a gateway between Et...

Page 34: ...r from the meter is being reflected all the data pieces can be analyzed Example of usage You have a suspicion that the information shown on the superior system is false By following the transported traffic through the gateway a complete analysis can be done of the M Bus traffic You have given someone the assignment to do the reading regularly at a set frequency By monitoring and or logging the tra...

Page 35: ...ugh if you want to use the Device Installer we refer you to the help in the software and to the enclosed document for the Device Installer DeviceInstaller_UG_900 310 pdf3 You need to keep the following settings to use the M Bus protocol in mind when the Device Installer is used The correct communication speed 300bps 2400bps alt 9600bps Not all meters support 9600bps Check with your meter manufactu...

Page 36: ... N M B U S T E C H N O L O G Y PiiGAB Process Information i Göteborg AB 35 810M E 1 14 If UDP is used Datagram Mode has to be set to True and Datagram Type be set to 01 see the picture below Figure 7 2 Port Properties ...

Page 37: ...m ports created with Com Port Redirector encounters no problems and acts as if it were communicating with a physical port Not all software applications however are suited for use with Com Port Redirector Serial port software applications are designed for direct communication with the serial device being managed However when device servers are used across a network latency can occur with the connec...

Page 38: ...ice being managed Instead all traffic between the software application and the serial device is routed as follows 1 From a virtual com port the data is stripped out of a serial packet and placed into an IP packet 2 The serial packet is sent from the virtual com port to a network interface on the PC 3 Data is transmitted over the network through switches or routers to the network interface on a dev...

Page 39: ...rt Redirector If Com Port Redirector is on a CD ROM insert the CD ROM into the computer s CD ROM drive If you downloaded Com Port Redirector double click the download file Either step displays the Redirector Welcome screen in Figure 8 2 Figure 8 2 Redirector Welcome Screen 2 Click the Continue button The contents of the file are unpacked and the Welcome screen in Figure 8 3 appears ...

Page 40: ...ocation dialog box appears see Figure 8 4 Figure 8 4 Choose Destination Location Dialog Box 4 The path under Destination Folder shows where the Com Port Redirector software will be installed We recommend the default location To change this location click the Browse button and select a different location 5 Click Next The Select Program Folder dialog box appears see Figure 8 5 ...

Page 41: ...r Dialog Box 6 The name of the folder that will contain the Com Port Redirector software appears below Program Folders We recommend the default folder name To change this name type a new name in the Program Folders field 7 Click Next The program is installed After the installation the Setup Complete dialog box appears see Figure 8 6 ...

Page 42: ...t your computer Note After you complete the installation we recommend you read the Read Me file to obtain the latest information about Com Port Redirector 9 Click the Start button in the Windows Taskbar point to Programs point to Lantronix Redirector and click Configuration The Com Port Redirector Configuration window appears see Figure 8 7 Figure 8 7 Com Port Redirector Configuration Window ...

Page 43: ...ay vary from those in the picture below Figure 8 8 Port Setup Dialog Box 11 Click all the logical ports to which the PC will be redirected A checkmark appears next to each logical port selected Each port selected will be available from the Redirect To drop down list in the Com Port Redirector Configuration window this procedure is described in the next chapter 12 To deselect a port click it again ...

Page 44: ...the gateway must have a correct gateway address configured in their TCP IP settings All serial settings on the gateway must match the settings of the meter Connect Disconnect and Access Modes The way the device server accepts a connection must be configured appropriately to accept a network connection from Com Port Redirector Set the connect mode to C0 and the disconnect mode to 00 8 3 2 General C...

Page 45: ...ial port on the gateway The UDP box should not be checked All the traffic is only via TCP Alternately this can be done via the Telnet or via the Hyper Terminal The different configuration methods are described in chapter 4 4 Figure 8 9 M Bus 800 Family Setup Wizard 1 Click the Start button in the Windows Taskbar point to Programs point to Lantronix Redirector and click Configuration The Com Port R...

Page 46: ...6 Click the OK button 7 Click the Port Settings button The Port Settings dialog box appears 8 Check Raw Mode Timeout Reconnect and Server Reconnect see Figure 8 12 For more information refer to Table 4 1 in the original English document Observe that Timeout Reconnect and Server Reconnect are not checked automatically at the installation If you have interference on the net or if the net goes down t...

Page 47: ...dows Taskbar point to Programs point to Accessories point to Communications and click HyperTerminal 2 Open a new session to the virtual com port configured to connect to the gateway 3 When the HyperTerminal window opens a pop up window displays Attempting to connect to service If this message is replaced by Successfully redirected to service the connection from the Com Port Redirector to the gatew...

Page 48: ... respective countries Germany Relay GmbH Stettiner Str 38 33106 Paderborn Germany Phone 49 5251 17670 www relay de Norway Autic Systems AS Stoltenbergs gate 48 3110 Tønsberg Norway Phone 47 33 30 09 50 www autic no Czech Republic Papouch s r o Strasnicka 3164 1a 102 00 PRAGUE 10 Czech Republic Phone 420 267 314 267 www papouch com United Kingdom Helping Buildings Think Lutidine House Newark Lane R...

Reviews: