Beckhoff KL6021-0023 Documentation
Beckhoff KL6021-0023 Documentation

Beckhoff KL6021-0023 Documentation

Serial interface terminal and wireless adaptor for enocean radio technology

Advertisement

Quick Links

Documentation
KL6021-0023 and KL6023
Serial interface terminal and wireless adaptor for EnOcean
radio technology
Version:
Date:
2.0.0
2019-07-16

Advertisement

Table of Contents
loading

Summary of Contents for Beckhoff KL6021-0023

  • Page 1 Documentation KL6021-0023 and KL6023 Serial interface terminal and wireless adaptor for EnOcean radio technology Version: 2.0.0 Date: 2019-07-16...
  • Page 3: Table Of Contents

    Notes on the documentation...................... 5 Safety instructions .......................... 6 Documentation issue status ...................... 7 2 Product overview............................ 8 KL6021-0023 - Introduction ....................... 8 KL6021-0023 - Technical Data ...................... 9 KL6023 - Introduction ........................ 10 KL6023 - Technical Data ......................... 11 Basic Function Principles ........................ 12 3 Mounting and wiring.......................... 14 Installation on mounting rails ...................... 14...
  • Page 4 Table of contents Version: 2.0.0 KL6021-0023 and KL6023...
  • Page 5: Foreword

    EP1590927, EP1789857, EP1456722, EP2137893, DE102015105702 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. The reproduction, distribution and utilization of this document as well as the communication of its contents to others without express authorization are prohibited.
  • 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

    FF - firmware version HH - hardware version Example with ser. no.: 12 06 3A 02: 12 - week of production 12 06 - year of production 2006 3A - firmware version 3A 02 - hardware version 02 KL6021-0023 and KL6023 Version: 2.0.0...
  • Page 8: Product Overview

    Fig. 1: KL6021-0023 – serial interface terminal for the connection of the KL6023 wireless adapter The KL6021-0023 serial interface connects the wireless adapter via an RS485 signal. The KL6023 wireless adapter operates as an EnOcean radio receiver and receives the radio signals from EnOcean sensors.
  • Page 9: Kl6021-0023 - Technical Data

    Product overview KL6021-0023 - Technical Data Technical data KL6021-0023 Number of inputs 1, for wireless adapter (EnOcean radio technology) Cable impedance approx. 120 Ω Connecting cable to KL6023 wireless adapter 2 twisted pairs Length of connection to KL6023 wireless max. 300 m...
  • Page 10: Kl6023 - Introduction

    The KL6023 Wireless Adapter receives signals from battery-less sensors with EnOcean technology. These signals are converted by the Wireless Adapter to a RS485 signal and directly processed further by the KL6021-0023 serial Bus Terminal. With a radio signal range of at least 30 m, the wiring of buildings can be simplified significantly.
  • Page 11: Kl6023 - Technical Data

    (Wireless Adapter for EnOcean radio technology) Connection 2 twisted pairs, direct to Bus Terminal KL6021-0023 Power supply via KL6021-0023 Bus Terminal (with electrical isolation) Length of connecting cable to the KL6021-0023 max. 300 m Configuration not required Frequency band 868.35 MHz Transfer range In open spaces: approx.
  • Page 12: Basic Function Principles

    Reading received telegrams When the KL6021-0023 has received new telegrams it indicates this by setting the bit SB.2 [} 26] in the status byte to 1. Reading out received telegrams is initiated through bit CB.0 [} 26] in the control byte being inverted by the higher-level controller.
  • Page 13 If the telegram from an EnOcean transmitter consists of more than 4 data bytes, it cannot be transferred in a single K-bus cycle. In that case, the KL6021-0023 sets bit SB.1 [} 26] in the status byte in the next read cycle, placing the next data block from the telegram into the process data.
  • Page 14: Mounting And Wiring

    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). Version: 2.0.0 KL6021-0023 and KL6023...
  • Page 15: Fig. 6 Disassembling Of Terminal

    EL91xx, EL92xx) interrupt the power contacts and thus represent the start of a new supply rail. 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. KL6021-0023 and KL6023 Version: 2.0.0...
  • Page 16: Fig. 7 Power Contact On Left Side

    Power Feed Terminals can be released and pulled at least 10 mm from the group of terminals. WARNING Risk of electric shock! The PE power contact must not be used for other potentials! Version: 2.0.0 KL6021-0023 and KL6023...
  • Page 17: Connection Of The Wireless Adapter

    Fig. 8: Connection of the wireless adapter KL6021-0023 KL6023 – Wireless adapter Signal Terminal point no. Signal Terminal point no. RxD+ RxD+ RxD- RxD- 3 or 7 5 V 4 or 8 5 V KL6021-0023 and KL6023 Version: 2.0.0...
  • Page 18: Ks2000 Configuration Software

    Fieldbus Box modules with the aid of which settings can be modified easily. Alternatively, you have full access to all internal registers of the bus couplers and intelligent terminals. Refer to the register description for the meanings of the registers. Version: 2.0.0 KL6021-0023 and KL6023...
  • Page 19: Parameterization With Ks2000

    In the example shown, this is • a BK2020 Lightbus Coupler • a KL1xx2 Digital Input Terminal • a KL6021-0023 serial interface terminal (RS485 for EnOcean receiver KL6023) • a KL9010 Bus End Terminal KL6021-0023 and KL6023 Version: 2.0.0...
  • Page 20: Fig. 10 Display Of The Fieldbus Station In Ks2000

    In the tree structure of the left-hand window, click on the plus-sign next to the terminal whose parameters you wish to change (item 2 in the example). Fig. 11: KS2000 branch for channel 1 of the KL6021-0023 For the KL6021-0023, the branches Register, Settings and ProcData are displayed: Version: 2.0.0 KL6021-0023 and KL6023...
  • Page 21: Register

    KS2000 Configuration Software • Register [} 21] permits direct access to the registers of the KL6021-0023. • There are no dialog masks to be found for parameterizing the KL6021-0023 under Settings, since no terminal-specific settings are required. • ProcData [} 22] displays the KL6021-0023 process data.
  • Page 22: Process Data

    The spectacles mark the data that are currently graphically displayed in the History field. Fig. 14: History field The current input value is displayed numerically in the Value field. Fig. 15: Value field Output values can be modified through direct input or by means of the fader control. Version: 2.0.0 KL6021-0023 and KL6023...
  • Page 23: Fig. 16 Value Field

    Only change these output values if you are certain that the state of your system permits it, and that there will be no risk to people or to the machine! After pressing the Settings button you can set the format of the numerical display to hexadecimal, decimal or binary. Fig. 17: Settings KL6021-0023 and KL6023 Version: 2.0.0...
  • Page 24: Programming

    Programming Programming TwinCAT libraries Software documentation in the Beckhoff Information System: TwinCAT 2: TwinCAT 2 PLC Lib: EnOcean TwinCAT 3: TwinCAT 3 PLC Lib: Tc2_EnOcean Version: 2.0.0 KL6021-0023 and KL6023...
  • Page 25: Access From The User Program

    Access from the user program Access from the user program Process image The KL6021-0023 is represented in the process image with 12 bytes of input data and 12 bytes of output data. These are organized as follows: Byte offset Format Input data...
  • Page 26 NextTelegramReq 0/1 By inverting this bit, the next EnOcean telegram in the input memory of the KL6021-0023 is copied into the process data. Status byte in process data mode The status byte (SB) is located in the input image [} 25], and is transmitted from the terminal to the controller.
  • Page 27: Register Overview

    Terminal type - special identification 0x0017 R29 [} 28] reserved Code word register 0x0000 R31 [} 28] Feature register 0x0000 SEEPROM R32 [} 28] reserved reserved Number of data bytes sent to the 0x000B R35 [} 28] Bus Coupler reserved reserved KL6021-0023 and KL6023 Version: 2.0.0...
  • Page 28: Register Description

    Register R16 contains the hardware version of the terminal; this value cannot be changed. R29: Terminal type - special identification The name of the special type of the terminal is contained in register R29. KL6021-0023: 0x0017 (0023 R31: Code word register •...
  • Page 29: 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. KL6021-0023 and KL6023 Version: 2.0.0...
  • Page 30 The bits of the feature register change the properties of the terminal and have a different meaning, depend- ing 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 KL6021-0023 and KL6023...
  • Page 31 Byte 2: DataIN1, low byte 0x9F (1001 1111 0xXX 0xXX Explanation: • 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. KL6021-0023 and KL6023 Version: 2.0.0...
  • Page 32 Access from the user program • The input data word (byte 1 and byte 2) is of no importance after the write access. Any values still displayed are invalid! Version: 2.0.0 KL6021-0023 and KL6023...
  • Page 33: 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 34 List of illustrations List of illustrations Fig. 1 KL6021-0023 – serial interface terminal for the connection of the KL6023 wireless adapter..Fig. 2 KL6023 - Wireless Adapter for EnOcean radio technology ............Fig. 3 Application ........................... Fig. 4 KL6021-0023 and KL6023......................

This manual is also suitable for:

Kl6023

Table of Contents