background image

 

PN/M-Bus LINK 
Operating Instructions, 03/2018, A5E44260928-AA 

35

 

 

Commissioning 

8.1

 

Commissioning PN/M-Bus LINK 

Requirements  

 

The PN/M-Bus LINK is mounted and connected to a SIMATIC S7 CPU via PROFINET. 

 

The M-Bus is connected to the PN/M-Bus LINK 

 

PN/M-Bus LINK and all other components are wired and connected. 

Basic commissioning procedure 

After commissioning of the hardware perform the additional steps required for 

commissioning in the TIA Portal. 

TIA Portal  

1.

 

Install the GSDML file. This step integrates the PN/M-Bus LINK in the HW catalog  

(for details, see TIA Portal Devices & Networks (Page 36)). 

2.

 

Enter a PROFINET device name and an IP address for the PN/M-Bus LINK. 

3.

 

Creating a project 

4.

 

Configuring in the TIA Portal (see also Configuring / Programming (Page 36)). 

5.

 

Download project to the S7 CPU 

6.

 

Set the SIMATIC-CPU to RUN mode. The corresponding configuration data is then 

downloaded automatically from the S7-CPU to the PN/M-Bus LINK. 

7.

 

The light of the left RUN LED indicates that the device is in error-free operating state.  

When the right RUN LED lights up, this indicates that the M-Bus communication is 

running without error. 

 

 

 

Note 
The complete startup of the PN/M-Bus LINK (initialization of the firmware, transfer of 

configuration data and startup of PROFINET and M-Bus communication) takes several 

seconds, depending on the complexity of the configuration. 

 

Result 

PN/M-Bus LINK has been successfully commissioned. 

 

Summary of Contents for SIMATIC PN/M-Bus LINK

Page 1: ...Operating Instructions PN M Bus LINK Network transitions 03 2018 Edition SIMATIC siemens com ...

Page 2: ......

Page 3: ...___ ___________________ ___________________ ___________________ SIMATIC Network transitions PN M Bus LINK Operating Instructions 03 2018 A5E44260928 AA Introduction 1 Safety information 2 System overview 3 Functions 4 Application planning 5 Mounting Extending 6 Connecting 7 Commissioning 8 Configuring Programming 9 Diagnostics 10 Maintenance and service 11 Technical specifications 12 Appendix A ...

Page 4: ...ly by personnel qualified for the specific task in accordance with the relevant documentation in particular its warning notices and safety instructions Qualified personnel are those who based on their training and experience are capable of identifying risks and avoiding potential hazards when working with these products systems Proper use of Siemens products Note the following WARNING Siemens prod...

Page 5: ...m requirements 13 3 5 Design 14 4 Functions 15 4 1 Cyclic and acyclic data exchange 15 4 2 Response to errors 18 5 Application planning 19 5 1 Installation guidelines 19 5 2 Installation location 20 5 3 Transportation 23 5 4 Storage 23 5 5 Scope of delivery 23 6 Mounting Extending 24 6 1 Installing the device 24 7 Connecting 26 7 1 Safety instructions and guidelines 26 7 2 Power supply and potenti...

Page 6: ...nnection status of Ethernet interfaces 44 10 2 Diagnostic messages to the S7 controller 45 10 2 1 Events that trigger a diagnostic message 45 10 2 2 Status byte in cyclic IO image 46 11 Maintenance and service 47 11 1 Firmware update 47 11 2 Reset to factory settings 47 11 3 Replacing PN M Bus LINK 48 11 4 Recycling and disposal 49 12 Technical specifications 50 12 1 Technical specifications 50 12...

Page 7: ...Operating and service personnel System integrator Knowledge required The following knowledge is required in order to understand the operating instructions Knowledge of programming a SIMATIC S7 controller Knowledge in the application of the TIA configuration environment Knowledge of working with the PROFINET fieldbus Well founded knowledge in the M Bus communication protocol General knowledge in th...

Page 8: ...n Most important contents Designing inter ference free controllers Function Manual Designing interference free controllers https support industry siemens com cs ww en view 59193566 Basics Electromagnetic compatibility Lightning protection PROFINET SIMATIC PROFINET System Description https support industry siemens com cs ww en view 19292127 Basics Installation Functions Configuration examples The l...

Page 9: ...shall constitute a revocation of the CE approval and manufacturer s warranty Intended use NOTICE PN M Bus LINK may only be used for the applications specified in the catalog and the corresponding technical documentation If the device is used in a manner other than the one specified by Siemens the protection offered by the device might be impaired See also the section Legal notices at the beginning...

Page 10: ...ion ports must be supplied from approved sources which meet the requirements of various standards for SELV PELV voltage limited sources Therefore only connect safety extra low voltages SELV with safe electrical separation according to IEC 60950 1 EN 60950 1 VDE 0805 1 to the supply voltage connections and the communications interfaces Working on the device or on connected components WARNING Risk o...

Page 11: ... the extent necessary and with appropriate security measures e g use of firewalls and network segmentation in place Additionally Siemens guidance on appropriate security measures should be taken into account For more information about industrial security please visit http www siemens com industrialsecurity Siemens products and solutions undergo continuous development to make them more secure Sieme...

Page 12: ...stem overview 3 3 1 Field of application PN M Bus LINK is a communication gateway and enables the connection of SIMATIC controllers to the M Bus fieldbus via PROFINET It enables data and information exchange between PROFINET and M Bus Figure 3 1 SIMATIC PN M Bus LINK ...

Page 13: ...onnect up to 40 M Bus slaves to the M Bus network standard loads with current consumption 1 5 mA If the current consumption of individual M Bus slaves is more than a standard load fewer M Bus slaves can be connected When an M Bus slave is in a short circuit state the PN M Bus LINK can still communicate with other M Bus slaves PN M Bus LINK supports the Primary address and Secondary address address...

Page 14: ...of the M Bus to PROFINET PN M Bus LINK communicates with the CPU of the S7 controller exclusively via the PROFINET interface From a PROFINET point of view PN M Bus LINK is an IO device according to Conformance Class B CC B Cyclic data exchange between the PN M Bus LINK and the connected SIMATIC CPU is performed by updating the IO image Acyclic communication is handled via the Read Data Record serv...

Page 15: ...ements System requirements PN M Bus LINK Controller Supported are SIMATIC S7 1200 SIMATIC S7 1500 SIMATIC ET 200SP SIMATIC OpenController 24 V power supply M Bus network PROFINET bus Windows PC for configuring commissioning and diagnostics TIA Portal V15 We recommend a switch for configuring commissioning and diagnostics ...

Page 16: ...ts on PN M Bus LINK The figure shows the device without a top and bottom enclosure cover Design 24 V DC functional grounding Status LEDs device operating state PROFINET MAC address that the device uses on PROFINET Status LEDs Ethernet interface for PROFINET Ethernet connection for PROFINET X1P2 Connection for M Bus Ethernet connection for PROFINET X1P1 Status LEDs M Bus operating state Rating plat...

Page 17: ... from connected M Bus devices To do this the M Bus functions SND_NKE SND_UD and REQ_UD2 are implemented in PN M Bus LINK It is not possible to configure or write to M Bus devices Communication paths The following figure shows the interrelationships in the communication between the S7 controller PN M Bus LINK and connected M Bus devices Figure 4 1 Communication paths between S7 controller PN M Bus ...

Page 18: ...o read measured data from M Bus device 1 7 Not used If the PN M Bus LINK accepts the call it sets the corresponding status bit in the cyclic input data from 0 to 1 After the PN M Bus LINK has read the measurement data from the addressed M Bus device it sets the corresponding status bit in the cyclic input data from 1 to 0 If an error occurs during a read attempt the PN M Bus LINK also sets the cor...

Page 19: ... is not included in the data record The data block with the measured data contained in the data record is transferred to the S7 controller without any changes The corresponding evaluation and further processing of the measurement data must be performed by the user program A data record has the following structure Byte Name Data type Value Description 0 1 ResponseCode UINT16 Device error informatio...

Page 20: ...gnostic message is available in the section Events that trigger a diagnostic message Page 45 This sec tion also includes a detailed description of the error that triggers the diag nostic message and possible measures M Bus status bit See section Cyclic and acyclic data exchange Page 15 Device fault Device errors are indicated by the status LEDs If necessary corresponding diagnostic messages are al...

Page 21: ...classified as open equipment according to standards for electrical devices You must install PN M Bus LINK in an enclosure switch cabinet or control room The enclosure control panel or control center may be located in residential areas business and commercial areas or in a small business Only authorized personnel must have access to the enclosure control cabinet or control center Installation and o...

Page 22: ... in control cabinet device connection box NOTICE The device is intended for installation in a control cabinet or in a device connection box It is important to note that installation in a control cabinet or device connection box is essential for compliance with the UL regulations The control cabinet device connection box must satisfy the regulations regarding fire protection housing Ensure that all...

Page 23: ... permitted temperature range for the different mounting positions Mounting position Permitted ambient temperature Horizontal 25 60 C Vertical 25 55 C Lying 25 45 C Hanging 25 45 C NOTICE Damage due to overheating You must comply with all the instructions regarding the installation site and mounting position Otherwise the device may malfunction or incur permanent damage as a result of overheating ...

Page 24: ... relative humidity between 10 and 95 Ensure that the atmospheric pressure is between 795 hPa and 1080 hPa This corresponds to an installation height of 1000 m to 2000 m Pollution degree PN M Bus LINK is designed for Pollution Degree 2 Pollution degree 2 according to the EN 50178 standard is non conductive contamination in the normal case which can briefly become conductive as a result of condensat...

Page 25: ...re must be between 40 C and 70 C Temperature fluctuations greater than 20 K per hour are not permitted 5 4 Storage The devices must be stored in clean and dry rooms preferably in their original packaging The storage temperature must be between 40 C and 70 C 5 5 Scope of delivery PN M Bus LINK 2 retaining collars for the Ethernet connections installed on the device in the delivery state Compact ope...

Page 26: ...section Installation location Page 20 Mounting on a standard mounting rail Follow these steps 1 Hook the PN M Bus LINK into the mounting rail 2 Swivel the PN M Bus LINK backwards until the device audibly engages Figure 6 1 Standard rail mounting of the PN M Bus LINK NOTICE If the device is not installed on a control panel the mounting sliders see figure Control panel mounting item must always be i...

Page 27: ...o the outside until they latch in place 2 Tighten the PN M Bus LINK Use a cylinder head screw M4 as well as a spring lock washer and a flat washer for this NOTICE Do not use a countersunk head screw The type of screw required depends on the type of material on which the module is mounted Fasten the screw with the corresponding torque until the spring lock washer is pressed flat Do not fasten the s...

Page 28: ...age supply and external connections to communication ports must be supplied from approved sources which meet the requirements of various standards for SELV PELV voltage limited sources Therefore only connect safety extra low voltages SELV with safe electrical separation according to IEC 60950 1 EN 60950 1 VDE 0805 1 to the supply voltage connections and the communications interfaces Working on the...

Page 29: ...erference Ensure that all plants or systems in which PN M Bus LINK is installed have sufficient equipotential bonding for example through a low impedance connection to the ground potential Note Strain relief Ensure that all cables and leads that protrude externally are equipped with adequate strain relief Other requirements NOTICE Damaged cables The cables must be suitably dimensioned to ensure th...

Page 30: ...d from the supply voltage at the 24 V DC connection by means of a DC DC converter boost converter The generated voltage is typically 12 V higher than the applied supply voltage The current consumption at the 24 V DC connection depends on the configuration of the M Bus network Example 1 Typical current consumption Load on M Bus 5 standard loads 5 x 1 5 mA Supply voltage 24 0 V M Bus voltage 36 V M ...

Page 31: ... V typical The slave communicates with the master through modulation of the current consumption by the slave space state 11 20 mA The master hereby outputs the voltage for the mark state 36 V typical to the M Bus network The required supply voltage for the mark state is generated by a DC DC converter boost converter from the voltage at the 24 V DC connection and is typically 12 V higher than this ...

Page 32: ...s network However we do recommend the use of shielded M Bus cables In accordance with the standard the M Bus cable shield should only be connected on the side of the M Bus master The M Bus cable shield can alternatively be connected as follows To a shield busbar FE To the M Bus screw type terminal With this type of connection there is capacitive grounding of the cable shield NOTICE Adequate immuni...

Page 33: ...ge May cause death or serious injury The device is designed for operation using directly connectable safety extra low voltage SELV with safe electrical separation according to IEC 60950 1 EN 60950 1 VDE 0805 1 or IEC 61131 2 EN 61131 2 DIN EN 61131 2 In order to maintain the safe characteristics of the low voltage circuits of the PN M Bus LINK the 24 V rated voltage supply and external connections...

Page 34: ...T ML2 BD 180 article number 920 247 on basis BXT BAS or an equivalent protection element Manufacturer DEHN SOEHNE GmbH Co KG Hans Dehn Str 1 Postfach 1640 92306 Neumarkt Germany The lightning protection module must be installed and used in accordance with the manufacturer s specifications 7 4 Connecting the functional ground Connect the ground e g from mounting rail for discharge of EMI such as bu...

Page 35: ...imized retaining collars for the two Ethernet connections are attached to the lower part of the PN M Bus LINK enclosure in the factory state These retaining collars are intended for the Siemens FastConnect connectors NOTICE Make sure you observe the minimum bending radius of the Ethernet cable otherwise the shield effect of the cable shield may be impaired There is also the risk that the cable shi...

Page 36: ...nection Note The maximum permissible length of the connecting cable is 300 m Depending on the properties of the cable used the baud rate and the number of connected slaves the permissible length of the cable can be less than 300 m Connector pin assignment The following figure shows the assignment of the terminal for the M Bus connection Table 7 2 Terminal assignment for the M Bus connection M M Bu...

Page 37: ...ROFINET device name and an IP address for the PN M Bus LINK 3 Creating a project 4 Configuring in the TIA Portal see also Configuring Programming Page 36 5 Download project to the S7 CPU 6 Set the SIMATIC CPU to RUN mode The corresponding configuration data is then downloaded automatically from the S7 CPU to the PN M Bus LINK 7 The light of the left RUN LED indicates that the device is in error fr...

Page 38: ...The description is not based on a concrete example configuration It is intended to explain the basic method for configuring the PN M Bus LINK and to provide a quick introduction to configuring the PN M Bus LINK The remarks refer to TIA Portal V15 9 2 TIA Portal Devices Networks Requirement Check whether the PN M Bus LINK is contained in the hardware catalog of the TIA Portal Otherwise you must int...

Page 39: ...cific article number from the hardware catalog PN M Bus LINK appears in the Devices networks window 2 Connect the CPU and PN M Bus LINK via a PROFINET connection The CPU and PN M Bus LINK are then connected in the Devices networks window over a green PN line 3 Configure the PROFINET interface of the PN M Bus LINK based on the conditions of your PROFINET network Figure 9 1 TIA Portal Devices and ne...

Page 40: ...e catalog Inserting an M Bus device 1 Double click M Bus device in the hardware catalog This places a generic M Bus device as a module in the next available slot 2 If necessary edit the name of the M Bus device Figure 9 2 Inserting an M Bus device M Bus device parameters You can now configure the device parameters for the M Bus device created Enter Primary or Secondary as the addressing mode and e...

Page 41: ...een filled slots are not used for communication but still count Module failure The setting of the input values in case of a module failure is a fixed value that cannot be changed Figure 9 3 Module failure Adapting I O addresses On the I O addresses page you can check and set the start and end addresses of the input and output data for the M Bus device In addition the address range can be assigned ...

Page 42: ...1 i e the PN M Bus LINK Master are especially important since the control and status information is exchanged with the S7 program through them Checking the configuration You can check the consistency of the configuration with a subsequent compilation Controlling PN M Bus LINK via the S7 user program To enable data to be transferred between the S7 controller and PN M Bus LINK you need to set the co...

Page 43: ... Status LEDs 10 1 1 Operating state of the PN M Bus LINK PROFINET diagnostics The LEDs for visualizing the operating states of PN M Bus LINK and the PROFINET ports are located on the front of the enclosure Figure 10 1 Status LEDs Operating state of PN M Bus LINK PROFINET diagnostics ...

Page 44: ...onnection established and configuration completed but an error oc curred Diagnostic message to the S7 control ler is pending or Incorrect configuration by the S7 con troller Flashes for at least 3 seconds Flashes Off Off Firmware update While the firmware is written to the flash memory Flashes Flashes Off LEDs are flash ing triggered by TIA Portal 3 second intervals For identification of the devic...

Page 45: ...the enclosure Figure 10 2 Status LEDs M Bus Table 10 1 Behavior of the RUN LED RUN LED Meaning Note Off PN M Bus LINK is not in the RUN state On PN M Bus LINK is in the RUN state and is configured Flashes PN M Bus LINK is in the RUN state but it is not configured Table 10 2 Behavior of the ERR LED ERR LED Meaning Note Off No error on M Bus On Error on M Bus Diagnostics active see Diagnostic mes sa...

Page 46: ...ction status of the Ethernet interfaces are located under a housing flap Figure 10 3 Status LEDs Ethernet interfaces LINK Indicates whether there is a physical connection on the Ethernet level On Connection exists Off No connection exists Rx Tx Indicates whether a packet is being sent or received On PN M Bus LINK sends or receives a packet Off No packet is sent or received ...

Page 47: ...d or no device connected to the M Bus M Bus master Check M Bus connection 1811 M Bus overcurrent Overcurrent on the M Bus M Bus master Check M Bus or connected devices for short circuit 1812 Read error during device access prima ry device address serial number 1 x An error occurred while accessing a certain de vice M Bus device Check device parameters 1813 Collision Collision at primary address se...

Page 48: ...IO image The cyclic IO image contains a status byte that informs when an error has occurred when reading from an M Bus device The status byte only contains the information that an error has occurred Detailed information about the error that has occurred is contained in the corresponding data record See section Cyclic and acyclic data exchange Page 15 ...

Page 49: ...l plant state The Ethernet switch integrated in PN M Bus LINK is only operational once the PN M Bus LINK starts up Restarting the PN M Bus LINK interrupts the Ethernet switch function Existing Ethernet connections via the switch are thus interrupted for the duration of the PN M Bus LINK startup This can result in critical plant states 11 2 Reset to factory settings In the TIA Portal you have the o...

Page 50: ...s from the screw terminal 4 Dismantle the device Proceed in the reverse order to that described in the section Mounting Page 24 5 Installing and connecting the new device Note PROFINET device name and IP address of the new device must match those of the old device otherwise the device is not recognized Commissioning the device once again Switch the power supply for S7 and PN M Bus LINK back on The...

Page 51: ...ecycling and disposal of your old equipment contact a certified electronic waste disposal company and dispose of the equipment according to the applicable regulations in your country There is no provision for returning the device to Siemens For further questions regarding disposal and recycling please contact your local Siemens contact You will find the contact details in our database on the Inter...

Page 52: ... mounting Mounting DIN rail wall mounting portrait mounting Mounting position Any Recommended mounting position Horizontal Supply voltage Type of supply voltage 24 V DC Rated value DC 24 V permissible range lower limit DC 20 4 V permissible range upper limit DC 28 8 V Reverse polarity protection Yes Overvoltage protection Yes Short circuit protection Yes Mains buffering Mains voltage failure store...

Page 53: ...oltage typ 36 V Transmission rate min 300 bit s Transmission rate max 9 600 bit s Number of slaves max 40 Short circuit detection Yes short circuit proof Yes Connectable conductor cross section 1 5 mm Cable length max 300 m 1 Interface Interface type M Bus master Physics 3 wire screw type terminal Isolated No Interface types Number of ports 1 2 Interface Interface type PROFINET Physics Ethernet 2 ...

Page 54: ...d class of protection Degree of protection acc to EN 60529 IP20 Standards approvals certificates CE mark Yes RoHS conformity Yes Ambient conditions Ambient temperature during operation horizontal installation min 25 C horizontal installation max 60 C vertical installation min 25 C vertical installation max 55 C ceiling installation min 25 C ceiling installation max 45 C floor installation min 25 C...

Page 55: ...Technical specifications 12 2 Dimension drawing PN M Bus LINK Operating Instructions 03 2018 A5E44260928 AA 53 12 2 Dimension drawing Dimensional drawing of PN M Bus Link ...

Page 56: ...ives EMC Directive 2014 30 EU The product is designed for use in the following areas Residential areas in accordance with EN 61000 6 3 Industrial area according to EN 61131 2 programmable controllers EMC requirements Field of application Noise emission requirements Interference immunity requirements Residential area EN 61000 6 3 Industrial area EN 61000 6 4 EN 61000 6 2 The product meets these req...

Page 57: ...NY Other applied standards IEC 61131 2 DIN EN 61131 2 Programmable controllers IEC 61010 1 EN 61010 1 Safety requirements for electrical equipment for measurement control and laboratory use A 2 Contact address Contact address SIEMENS AG DF FA SE Breslauer Straße 5 90766 FÜRTH GERMANY A 3 Licenses Use of open source software OSS The SIMATIC PN M Bus LINK product uses open source software in unchang...

Page 58: ...ndustry Online Support You can find various services on the Support homepage http support automation siemens com on the Internet There you will find the following information for example The correct documents for you via product related search functions Online support request form Your local representative A forum for global information exchange by users and specialists Our newsletter containing u...

Page 59: ...This language is used to create a GSD General Station Description OSS Open Source Software Open Source Software OSS is software that meets the definition of the Open Source Initiative OSI for example that this software is subject to one of the Open Source Software licenses recognized by OSI PN PROFINET PROFINET Process Field Network is the open Industrial Ethernet standard of the PROFIBUS User Org...

Page 60: ...to medium sized applications the Advanced Controller S7 1500 for medium sized and complex applications the Distributed Controller ET 200SP for distributed applications and the Software Controller S7 1500 for PC based applications TIA Totally Integrated Automation The TIA Portal offers complete access to the entire digitalized automation from digital planning over integrated engineering all the way...

Page 61: ... database 49 Control panel 25 Control panel mounting 24 D Declaration of Conformity 55 Delivery Unpacking 23 Device Replacing 48 Disposal 49 Documentation Basic knowledge 5 History 5 Purpose 5 Target group 5 E EMC interferences 32 ERROR LED 42 Ethernet cable 33 Ethernet interface 44 F FE terminal 32 Firmware update 47 Functional ground 32 32 G Gateway 10 12 Grounding 27 H History Documentation 5 I...

Page 62: ...cumentation 5 R Recycling 49 Requirements Cables 27 Retaining collar 33 RUN LED 42 S Safety information General 7 Working on the device 8 26 Scope of delivery 23 Shielding 30 SIMATIC Trademark 5 Standard mounting rail 24 Status LEDs 14 Switch 13 System components 12 System configuration 12 T Target group 5 Documentation 5 Technical Support 56 TIA Portal 13 Trademark SIMATIC 5 W Wiring guidelines 2...

Reviews: