Beckhoff KL6021-0023, KL6023 Documentation

Documentation
KL6021-0023 and KL6023
Serial interface terminal and wireless adaptor for EnOcean radio technology
Version: Date:
2.0.0 2019-07-16
Table of contents
1 Foreword ....................................................................................................................................................5
1.1 Notes on the documentation..............................................................................................................5
1.2 Safety instructions .............................................................................................................................6
1.3 Documentation issue status ..............................................................................................................7
2 Product overview.......................................................................................................................................8
2.1 KL6021-0023 - Introduction ...............................................................................................................8
2.2 KL6021-0023 - Technical Data..........................................................................................................9
2.3 KL6023 - Introduction ......................................................................................................................10
2.4 KL6023 - Technical Data .................................................................................................................11
2.5 Basic Function Principles ................................................................................................................12
3 Mounting and wiring................................................................................................................................14
3.1 Installation on mounting rails ...........................................................................................................14
3.2 Connection of the wireless adapter .................................................................................................17
4 KS2000 Configuration Software.............................................................................................................18
4.1 KS2000 - Introduction......................................................................................................................18
4.2 Parameterization with KS2000 ........................................................................................................19
4.3 Register ...........................................................................................................................................21
4.4 Settings............................................................................................................................................21
4.5 Process data....................................................................................................................................22
5 Programming ...........................................................................................................................................24
5.1 TwinCAT libraries ............................................................................................................................24
6 Access from the user program ..............................................................................................................25
6.1 Process image.................................................................................................................................25
6.2 Control and status byte....................................................................................................................25
6.3 Register overview ............................................................................................................................27
6.4 Register description.........................................................................................................................28
6.5 Examples of Register Communication ............................................................................................29
6.5.1 Example 1: reading the firmware version from Register 9............................................... 29
6.5.2 Example 2: Writing to an user register............................................................................. 29
7 Appendix ..................................................................................................................................................33
7.1 Support and Service ........................................................................................................................33
KL6021-0023 and KL6023 3Version: 2.0.0
KL6021-0023 and KL60234 Version: 2.0.0
Foreword

1 Foreword

1.1 Notes on the documentation

Intended audience
This description is only intended for the use of trained specialists in control and automation engineering who are familiar with the applicable national standards. It is essential that the documentation and the following notes and explanations are followed when installing and commissioning these components. It is the duty of the technical personnel to use the documentation published at the respective time of each installation and commissioning.
The responsible staff must ensure that the application or use of the products described satisfy all the requirements for safety, including all the relevant laws, regulations, guidelines and standards.
Disclaimer
The documentation has been prepared with care. The products described are, however, constantly under development.
We reserve the right to revise and change the documentation at any time and without prior announcement.
No claims for the modification of products that have already been supplied may be made on the basis of the data, diagrams and descriptions in this documentation.
Trademarks
Beckhoff®, TwinCAT®, EtherCAT®, EtherCATG®, EtherCATG10®, EtherCATP®, SafetyoverEtherCAT®, TwinSAFE®, XFC®, XTS® and XPlanar® are registered trademarks of and licensed by Beckhoff Automation GmbH. Other designations used in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owners.
Patent Pending
The EtherCAT Technology is covered, including but not limited to the following patent applications and patents: 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. Offenders will be held liable for the payment of damages. All rights reserved in the event of the grant of a patent, utility model or design.
KL6021-0023 and KL6023 5Version: 2.0.0
Foreword

1.2 Safety instructions

Safety regulations
Please note the following safety instructions and explanations! Product-specific safety instructions can be found on following pages or in the areas mounting, wiring, commissioning etc.
Exclusion of liability
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.
Description of instructions
In this documentation the following instructions are used. These instructions must be read carefully and followed without fail!
DANGER
Serious risk of injury!
Failure to follow this safety instruction directly endangers the life and health of persons.
WARNING
Risk of injury!
Failure to follow this safety instruction endangers the life and health of persons.
CAUTION
Personal injuries!
Failure to follow this safety instruction can lead to injuries to persons.
NOTE
Damage to environment/equipment or data loss
Failure to follow this instruction can lead to environmental damage, equipment damage or data loss.
Tip or pointer
This symbol indicates information that contributes to better understanding.
KL6021-0023 and KL60236 Version: 2.0.0

1.3 Documentation issue status

Version Comment
2.0 • Migration
1.1 • Mounting description expanded
• Information on basic function principles expanded
• Introduction to the KL6023 added
1.0 • Description of the KL6023 (wireless adapter for EnOcean radio technology) added
• Wiring instructions added
• Description of the KS2000 configuration software added
• Technical data added
0.1 First preliminary version
Firmware and hardware versions
Foreword
Documentation Version
2.0 5D 03 1A 02
1.1 5D 01 1A 01
1.0 5A 00 1A 00
0.1 5A 00 - -
The firmware and hardware versions (delivery state) of the terminal can be found in the serial number printed on the side.
Syntax of the serial number
Structure of the serial number: WWYYFFHH
WW - week of production (calendar week) YY – year of production 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 KL6023
Firmware Hardware Firmware Hardware
KL6021-0023 and KL6023 7Version: 2.0.0
Product overview

2 Product overview

2.1 KL6021-0023 - Introduction

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.
LEDs
LED Color Meaning
RUN green This LED indicates the terminal's operating state:
on normal operation off A watchdog timer overflow has occurred. The RUN LED goes out if no process
data is transmitted to the terminal from the Bus Coupler for 100ms. TxD green State of the transmit signal line RxD green State of the receive signal line
Connection
Terminal point
1 TxD+ Signal line (Transmit Data) 5 TxD- Signal line (Transmit Data) 2 RxD+ Signal line (Receive Data) 6 RxD- Signal line (Receive Data) 3 GND Ground for the KL6023 (bridged internally with terminal point 7) 7 GND Ground for the KL6023 (bridged internally with terminal point 3) 4 +5 V Supply voltage for the KL6023 (bridged internally with terminal point 8) 8 +5 V Supply voltage for the KL6023 (bridged internally with terminal point 4)
Name Signal
KL6021-0023 and KL60238 Version: 2.0.0
Product overview

2.2 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
adapter Bit width in process image 11 x 8bit user data, 1 x 8bit control/status Power supply for the electronics via the K-bus Current consumption via K-bus typically 65mA Weight approx.60g Dimensions (WxHxD) approx. 15mmx100mmx70mm Mounting on 35mm mounting rail according to EN60715 Permissible ambient temperature range
during operation Permissible ambient temperature range
during storage Permissible relative air humidity 95%, no condensation Vibration/shock resistance conforms to EN60068-2-6/ EN60068-2-27, see also
EMC immunity/emission conforms to EN61000-6-2/ EN61000-6-4 Protection class IP20 Mounting position variable Approval CE, cULus, ATEX
max. 300m
0°C ... + 55°C
-25°C ... + 85°C
Installation instructions for enhanced mechanical load capacity
KL6021-0023 and KL6023 9Version: 2.0.0
Product overview

2.3 KL6023 - Introduction

Fig.2: KL6023 - Wireless Adapter for EnOcean radio technology
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.
Fig.3: Application
KL6021-0023 and KL602310 Version: 2.0.0
Product overview
The status LEDs of the Wireless Adapter are helpful during commissioning. The LEDs indicate all telegrams they receive as faulty or faultless. With a maximum distance of 300m between the receiver and the Bus Terminal station, it is possible to place the receivers at any radio-technically favorable location within a building. The system does not stipulate a maximum number of transmitters per receiver unit. In practice, between 25 and 100transmitters per receiver are used.

2.4 KL6023 - Technical Data

Technical data KL6023
(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. 300m
Inside buildings: approx. 30m
Radio telegram depending on sensor type:
- 32bit sensor identification number
- number of user bytes is not limited Receiving aerial integrated in the housing Housing Box: Polystyrene (grey) with M16 PG threaded fitting for
cable connection
Cover: polycarbonate (transparent) Weight approx.55g Dimensions (WxHxD) approx. 52mmx50mmx35.5mm (without PG threaded
fitting) Permissible ambient temperature range during
operation Permissible ambient temperature range during
storage Vibration/shock resistance conforms to EN60068-2-6/ EN60068-2-27 EMC immunity/emission conforms to EN61000-6-2/ EN61000-6-4 Protection class IP66 Mounting position variable Approval CE
0°C ... + 55°C
-25°C ... + 85°C
KL6021-0023 and KL6023 11Version: 2.0.0
Loading...
+ 23 hidden pages