Beckhoff KL6781 Documentation

M-bus master terminals

Advertisement

Quick Links

Documentation
KL6781
M-Bus Master Terminals
Version:
Date:
2.0.0
2018-01-16

Advertisement

Table of Contents
loading

Summary of Contents for Beckhoff KL6781

  • Page 1 Documentation KL6781 M-Bus Master Terminals Version: 2.0.0 Date: 2018-01-16...
  • Page 3: Table Of Contents

    Safety instructions ..........................  6 Documentation Issue Status...................... 7 2 Product overview............................ 8 Introduction .............................  8 Technical data of the KL6781 ...................... 9 LED displays.......................... 10 3 Mounting and wiring .......................... 11 Installation on mounting rails ...................... 11 Installation instructions for enhanced mechanical load capacity .......... 13 Connection............................
  • Page 4 Table of contents Version: 2.0.0 KL6781...
  • Page 5: Foreword

    The TwinCAT Technology is covered, including but not limited to the following patent applications and patents: EP0851348, US6167425 with corresponding applications or registrations in various other countries. ® EtherCAT is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany Copyright © Beckhoff Automation GmbH & Co. KG, Germany.
  • Page 6: Safety Instructions

    All the components are supplied in particular hardware and software configurations appropriate for the application. Modifications to hardware or software configurations other than those described in the documentation are not permitted, and nullify the liability of Beckhoff Automation GmbH & Co. KG. Personnel qualification This description is only intended for trained specialists in control, automation and drive engineering who are familiar with the applicable national standards.
  • Page 7: Documentation Issue Status

    • Mounting instructions extended • Description of control and status word expanded • Register description extended • M-bus chapter added • Programming chapter extended 1.0.0 • First release Firmware and hardware versions Documentation KL6781 Version Firmware Hardware 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0...
  • Page 8: Product Overview

    The KL6781 does not contain the M-bus protocol but converts the K-bus data to an M-bus compliant format. On the K-bus, 24 bytes are available for this purpose for each M-bus master terminal.
  • Page 9: Technical Data Of The Kl6781

    Product overview Technical data of the KL6781 Technical Data KL6781 Data transfer channels M-bus devices max. 40 Transmission standard M-bus properties Data transfer rate 300...9600 baud (default 2,400 baud) Bus access Master-slave technique (polling) Cable length max. 300 m Current consumption from the K-bus typically 65 mA...
  • Page 10: Led Displays

    The RUN LED goes out if no process data is transmitted to the terminal from the Bus Coupler for 100 ms. Error General error is signaled Send green Data transmission on the M-bus Receive green Data transmission on the M-bus Version: 2.0.0 KL6781...
  • Page 11: Mounting And Wiring

    Note flict with the fixing bolts of the mounting rail. To mount the mounting rails with a height of 7.5 mm under the terminals and couplers, you should use flat mounting connections (e.g. countersunk screws or blind rivets). KL6781 Version: 2.0.0...
  • Page 12: Fig. 4 Disassembling Of Terminal

    PE power contact The power contact labeled PE can be used as a protective earth. For safety reasons this contact mates first when plugging together, and can ground short-circuit currents of up to 125 A. Version: 2.0.0 KL6781...
  • Page 13: Installation Instructions For Enhanced Mechanical Load Capacity

    Vibration 10 frequency runs in 3 axes 6 Hz < f < 60 Hz displacement 0.35 mm, constant amplitude 60.1 Hz < f < 500 Hz acceleration 5 g, constant amplitude Shocks 1000 shocks in each direction, in 3 axes 25 g, 6 ms KL6781 Version: 2.0.0...
  • Page 14: Connection

    Standard wiring (ELxxxx / KLxxxx) Fig. 6: Standard wiring The terminals of ELxxxx and KLxxxx series have been tried and tested for years. They feature integrated screwless spring force technology for fast and simple assembly. Version: 2.0.0 KL6781...
  • Page 15: Fig. 7 Pluggable Wiring

    Ultrasonically "bonded" (ultrasonically welded) conductors Ultrasonically “bonded" conductors It is also possible to connect the Standard and High Density Terminals with ultrasonically "bonded" (ultrasonically welded) conductors. In this case, please note the tables concern- Note ing the wire-size width below! KL6781 Version: 2.0.0...
  • Page 16: Wiring

    The cables are released, as usual, using the contact release with the aid of a screwdriver. See the following table for the suitable wire size width. Version: 2.0.0 KL6781...
  • Page 17: Connection

    M-bus minus, internally connected to terminal point 7 Shield Shield connection, internally connected to terminal point 8 reserved M-bus+ M-bus plus, internally connected to terminal point 2 M-bus- M-bus minus, internally connected to terminal point 3 Shield Shield connection, internally connected to terminal point 4 KL6781 Version: 2.0.0...
  • Page 18: Access From The User Program

    Hardware version e.g. 0x0000 e.g.: 0 EEPROM reserved 0x0000 reserved 0x0000 Terminal type - special identification 0x0000 EEPROM R29 [} 24] reserved 0x0000 Code word register 0x0000 R31 [} 24] Baud rate register 0x0004 EEPROM R32 [} 24] reserved 0x0000 reserved 0x0000 Version: 2.0.0 KL6781...
  • Page 19: Control And Status Word

    The status word (SW) is located in the input process image [} 21], and is transmitted from terminal to the controller. SW.15 SW.14 SW.13 SW.12 SW.11 SW.10 SW.9 SW.8 SW.7 SW.6 SW.5 SW.4 SW.3 SW.2 SW.1 SW.0 Name IL7 BUF_F KL6781 Version: 2.0.0...
  • Page 20 The status word (SW) is located in the input process image [} 21], and is transmitted from terminal to the controller. SW.15 SW.14 SW.13 SW.12 SW.11 SW.10 SW.9 SW.8 SW.7 SW.6 SW.5 SW.4 SW.3 SW.2 SW.1 SW.0 Name RegData: Reg. no. Version: 2.0.0 KL6781...
  • Page 21: Process Image

    The KL6781 is represented with its complex process image, even if you set your Bus Coupler to a compact process image! The KL6781 is represented in the process image with up to 24 bytes of input data and 24 bytes of output data.
  • Page 22: Mapping

    Process image [} 21] and Control and status word [} 19]. Compact evaluation No compact process image The KL6781 cannot be operated with a compact process image (without control and status word), since the control and status words are required for meaningful process data mode Note operation of the terminal.
  • Page 23: Register Description

    A parity error has occurred R6.0 RxBufferOverflow 1 The receive buffer has overflowed, incoming data is lost. R7: Command register The command register of the KL6781 is not used. R8: Terminal type The terminal name is contained in register R8: KL6781: 0x1A7D (6781 KL6781...
  • Page 24 Register R16 contains the hardware version of the terminal. R29: Terminal type - special identification The name of the special type of the terminal is contained in register R29. KL6781-0000: 0x0000 (0000 R31: Code word register • If you write values into the user registers without first entering the user code word (0x1235) into the code word register, the terminal will not accept the supplied data.
  • Page 25: Examples Of Register Communication

    • Bit 0.6 set means: writing to the register. • Bits 0.5 to 0.0 specify the register number 31 with 01 1111 • The output data word (byte 1 and byte 2) contains the code word (0x1235) for deactivating write protection. KL6781 Version: 2.0.0...
  • Page 26 The bits of the feature register change the properties of the terminal and have a different CAUTION meaning, depending on the type of terminal. Refer to the description of the feature register of your terminal (chapter Register description) regarding the meaning of the individual bits before changing the values. Version: 2.0.0 KL6781...
  • Page 27 • The terminal returns a value as a receipt in the status byte that differs only in bit 0.6 from the value of the control byte. • The input data word (byte 1 and byte 2) is of no importance after the write access. Any values still displayed are invalid! KL6781 Version: 2.0.0...
  • Page 28: Bus

    The M-Bus library only evaluates data with variable data structure (low byte first). The slaves do not communicate with each other. The data have to be requested sequentially from the slaves. Overview Fig. 11: KL6781 as M-bus master Version: 2.0.0 KL6781...
  • Page 29: Topology

    Star, line and tree topology Fig. 12: Star, line and tree topology Ring topology Fig. 13: Ring topology Ring topology is not supported Although ring topology is possible with the M-bus, it is not recommended and therefore not supported by Beckhoff. Note KL6781 Version: 2.0.0...
  • Page 30: Programming

    Programming Programming TwinCAT libraries Software documentation in the Beckhoff Information System: TwinCAT 2: TwinCAT 2 PLC Lib: M-bus TwinCAT 3: TwinCAT 3 PLC Lib: Tc2_MBus Version: 2.0.0 KL6781...
  • Page 31: Appendix

    Beckhoff's branch offices and representatives Please contact your Beckhoff branch office or representative for local support and service on Beckhoff products! The addresses of Beckhoff's branch offices and representatives round the world can be found on her internet pages: http://www.beckhoff.com You will also find further documentation for Beckhoff components there.
  • Page 32 Pluggable wiring .......................... Fig. 8 High Density Terminals........................ Fig. 9 Connecting a cable on a terminal point ..................Fig. 10 Connection........................... Fig. 11 KL6781 as M-bus master......................Fig. 12 Star, line and tree topology......................Fig. 13 Ring topology..........................Version: 2.0.0 KL6781...

Table of Contents