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.
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.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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.
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.
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.
• 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...
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...
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...
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...