Beckhoff KL3011, KL3012, KL3021, KL3022 Documentation

Documentation
KL301x, KL302x
Single- and Dual-Channel Analog Input Terminals, 0 to 20 mA and 4 to 20 mA
Version: Date:
4.1 2019-02-15
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 KL301x - Introduction ........................................................................................................................8
2.2 KL302x - Introduction ........................................................................................................................9
2.3 KL301x, KL302x - Technical data....................................................................................................10
2.4 Basic function principles ..................................................................................................................11
3 Mounting and wiring................................................................................................................................13
3.1 Instructions for ESD protection........................................................................................................13
3.2 Installation on mounting rails ...........................................................................................................13
3.3 Installation instructions for enhanced mechanical load capacity .....................................................17
3.4 Connection ......................................................................................................................................17
3.4.1 Connection system .......................................................................................................... 17
3.4.2 Wiring............................................................................................................................... 19
3.4.3 Shielding .......................................................................................................................... 20
3.5 KL301x - Connection and LED description......................................................................................21
3.6 KL302x – Connection and LED description.....................................................................................23
3.7 ATEX - Special conditions (standard temperature range) ...............................................................24
3.8 ATEX - Special conditions (extended temperature range) ..............................................................25
3.9 ATEX Documentation ......................................................................................................................26
4 Configuration Software KS2000.............................................................................................................27
4.1 KS2000 - Introduction......................................................................................................................27
4.2 Sample program for KL register communication via EtherCAT on KL3314 exemplary...................28
5 Access from the user program ..............................................................................................................31
5.1 Terminal configuration .....................................................................................................................31
5.2 Mapping in the Bus Coupler ............................................................................................................32
5.2.1 KL3011 and KL3021 ........................................................................................................ 32
5.2.2 KL3012 and KL3022 ........................................................................................................ 33
5.3 Register overview ............................................................................................................................34
5.4 Register description.........................................................................................................................36
5.5 Control and status byte....................................................................................................................40
5.5.1 Process data exchange ................................................................................................... 40
5.5.2 Register communication .................................................................................................. 41
5.6 Examples of Register Communication ............................................................................................42
5.6.1 Example 1: reading the firmware version from Register 9............................................... 42
5.6.2 Example 2: Writing to an user register............................................................................. 43
6 Appendix ..................................................................................................................................................46
6.1 Support and Service ........................................................................................................................46
KL301x, KL302x 3Version: 4.1
KL301x, KL302x4 Version: 4.1
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P®, SafetyoverEtherCAT®, TwinSAFE®, XFC® and XTS® 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, DE102004044764, DE102007017835 with corresponding applications or registrations in various other countries.
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. 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.
KL301x, KL302x 5Version: 4.1
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.
KL301x, KL302x6 Version: 4.1
Foreword

1.3 Documentation issue status

Version Comment
4.1 • Update Technische Daten
• Example program added to chapter “KS2000 Configuration software“
• Design of the safety instructions adapted to IEC 82079-1
4.0 • Migration
• Update Technical data
• Structure update
• Chapters KS2000 configuration software and Access from the user program added
Firmware and hardware versions
Documen­tation, Version
4.1 3C 08 3C 07 3C 08 3C 07
4.0 3C 08 3C 07 3C 08 3C 07
The firmware and hardware versions (delivery state) can be found in the serial number printed on the side of the terminal.
KL3011 KL3012 KL3021 KL3022
Firmware Hardware Firmware Hardware Firmware Hardware Firmware Hardware
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.: 35 04 1B 01:
35 - week of production 35 4 - year of production 2004 1B - firmware version 1B 1 - hardware version 1
KL301x, KL302x 7Version: 4.1
Product overview

2 Product overview

2.1 KL301x - Introduction

Fig.1: KL3011, KL3012
The KL3011 and EL3012 analog input terminals process signals in the range between 0mA and 20mA. The current is digitized to a resolution of 12bits, and is transmitted, in an electrically isolated form, to the higher­level automation device. The input channels of the Bus Terminals have differential inputs and possess a common, internal ground potential. An open lead or overload condition are detected, and the terminal status is relayed to the controller via the K-bus. The Run LEDs indicate the exchange of data with the Bus Coupler, while the Error LEDs indicate overload and wire breakage.
KL301x, KL302x8 Version: 4.1

2.2 KL302x - Introduction

Product overview
Fig.2: KL3021, KL3022
The KL3021 and EL3022 analog input terminals process signals in the range between 4mA and 20mA. The current is digitized to a resolution of 12bits, and is transmitted, in an electrically isolated form, to the higher­level automation device. The input channels of the Bus Terminals have differential inputs and possess a common, internal ground potential. An open lead or overload condition are detected, and the terminal status is relayed to the controller via the K-bus. The Run LEDs indicate the exchange of data with the Bus Coupler, while the Error LEDs indicate overload and wire breakage.
KL301x, KL302x 9Version: 4.1
Product overview

2.3 KL301x, KL302x - Technical data

Technical Data KL3011 KL3021 KL3012 KL3022
Number of inputs 1 2 Power supply for the electronics via the K-Bus Signal current 0mA to 20mA 4mA to 20mA 0mA to 20mA 4mA to 20mA Technology Differential input Internal resistance 85Ω + diode voltage 0.7V Common-mode voltage U
CM
Resolution 12bit Conversion time ~1ms ~2ms Measuring error (total measuring
range)
Surge voltage resistance 35V Electrical isolation 500V (K-Bus / signal voltage) Current consumption from the K-bus typically 60mA Bit width in the K-bus I/O Input: 1 x 16bits of data (1 x 8bit
Configuration No address or configuration settings Weight approx. 70g Dimensions (W x H x D) approx. 15mmx100mmx70mm (width aligned: 12mm)
Mounting [}13]
Permissible ambient temperature range during operation
Permissible ambient temperature range during storage
Permissible relative air humidity 95%, no condensation Vibration/shock resistance
EMC immunity/emission conforms to EN61000-6-2/ EN61000-6-4 Protection class IP20 Installation position variable Approval
35V max.
<±0.3% of the full scale value <±0.30% (at 0 °C to +55 °C)
<±0.75% (when the extended temperature range is used)
DC
Input: 2 x 16bits of data (2 x 8bit
control/status optional)
control/status optional)
on 35mm mounting rail conforms to EN60715
0°C ... + 55°C -25°C ... +60°C (extended
temperature range)
-25°C ... + 85°C -40°C ... +85°C
conforms to EN60068-2-6/ EN60068-2-27, see also Installation
instructions for enhanced mechanical load capacity [}17]
CE, cULus, ATEX [}24], GL
CE, cULus, ATEX [}25],
CE, cULus, ATEX [}25],GL
GL, IECEx
KL301x, KL302x10 Version: 4.1
Product overview

2.4 Basic function principles

The analog input terminals KL3011 and KL3012 process signals in the range from 0mA to 20mA KL3021 and KL3022 process signals in the range from 4 mA to 20 mA with 12-bit resolution (4095 steps). The terminal inputs are differential inputs with common ground. Due to the differential inputs, the terminals are particularly suitable for ground-free measurements in current loops. Cross-currents caused by voltage differences at the input terminals do not lead to any appreciable measurement distortion up to a difference in potential of 35V (UCM=35V).
The LEDs indicate the operating state of the associated terminal channels.
• green Run LED:
◦ On: Normal operation
◦ Off: Watchdog-timer overflow has occurred. If no process data are transmitted by the Bus Coupler
for 100ms, the green LEDs go out.
• red Error LED:
◦ On: The limit stop of the A/D converter has been reached. The current is greater than 21.5mA.
◦ Off: Normal operation
Process data output format
In the delivery state the process data are shown in two's complement form (integer -1 corresponds to 0xFFFF). Other presentation types can be selected via the feature register (R32) [}38] (e.g.signed amount
representation, Siemens output format).
Measured value Output
KL3011, KL3012 KL3021, KL3022 dec hex
0mA 4mA 0 0x0000
10mA 12mA 16383 0x3FFF
20mA 20mA 32767 0x7FFF
Calculation of process data
The terminal continuously takes measured values and stores the raw values of its A/D converter in register R0 [}36] (RAM ). The calculation of the correction with the calibration values takes place after each
sampling of the analog signal. This is followed by manufacturer and user scaling:
The process data that are transferred to the Bus Coupler are calculated using the following equations:
Y_a = (B_a + X_adc) * A_a Y_aus = Y_a
Y_1 = B_h + A_h * Y_a Y_aus = Y_1
Y_2 = B_w + A_w * Y_a Y_aus = Y_2
Y_1 = B_h + A_h * Y_a Y_2 = B_w + A_w * Y_1 Y_aus = Y_2
(1.0) Neither user nor manufacturer scaling is active.
(1.1) Manufacturer scaling active: (Default setting)
(1.2) User scaling active
(1.3) (1.4)
Manufacturer and user scaling active
Key
Name Name Register
X_adc Output value of the A/D converter -
Y_aus Process data for controller -
B_a Vendor calibration: Offset
A_a Vendor calibration: Gain
B_h Manufacturer scaling: Offset
A_h Manufacturer scaling: Gain
B_w User scaling: Offset
A_w User scaling: Gain
R17 [}37]
R18 [}37]
R19 [}37]
R20 [}37]
R33 [}38]
R34 [}38]
KL301x, KL302x 11Version: 4.1
Product overview
The equations of the straight line are enabled via register R32 [}37].
Fig.3: KL301x, KL302x - Data flow
KL301x, KL302x12 Version: 4.1
Mounting and wiring

3 Mounting and wiring

3.1 Instructions for ESD protection

NOTE
Destruction of the devices by electrostatic discharge possible!
The devices contain components at risk from electrostatic discharge caused by improper handling.
• Please ensure you are electrostatically discharged and avoid touching the contacts of the device directly.
• Avoid contact with highly insulating materials (synthetic fibers, plastic film etc.).
• Surroundings (working place, packaging and personnel) should by grounded probably, when handling with the devices.
• Each assembly must be terminated at the right hand end with an EL9011 or EL9012 bus end cap, to en­sure the protection class and ESD protection.
Fig.4: Spring contacts of the Beckhoff I/O components

3.2 Installation on mounting rails

WARNING
Risk of electric shock and damage of device!
Bring the bus terminal system into a safe, powered down state before starting installation, disassembly or wiring of the bus terminals!
KL301x, KL302x 13Version: 4.1
Mounting and wiring
Assembly
Fig.5: Attaching on mounting rail
The bus coupler and bus terminals are attached to commercially available 35mm mounting rails (DIN rails according to EN60715) by applying slight pressure:
1. First attach the fieldbus coupler to the mounting rail.
2. The bus terminals are now attached on the right-hand side of the fieldbus coupler. Join the compo­nents with tongue and groove and push the terminals against the mounting rail, until the lock clicks onto the mounting rail. If the terminals are clipped onto the mounting rail first and then pushed together without tongue and groove, the connection will not be operational! When correctly assembled, no significant gap should be visible between the housings.
Fixing of mounting rails
The locking mechanism of the terminals and couplers extends to the profile of the mounting rail. At the installation, the locking mechanism of the components must not come into conflict 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).
KL301x, KL302x14 Version: 4.1
Mounting and wiring
Disassembly
Fig.6: Disassembling of terminal
Each terminal is secured by a lock on the mounting rail, which must be released for disassembly:
1. Pull the terminal by its orange-colored lugs approximately 1cm away from the mounting rail. In doing so for this terminal the mounting rail lock is released automatically and you can pull the terminal out of the bus terminal block easily without excessive force.
2. Grasp the released terminal with thumb and index finger simultaneous at the upper and lower grooved housing surfaces and pull the terminal out of the bus terminal block.
Connections within a bus terminal block
The electric connections between the Bus Coupler and the Bus Terminals are automatically realized by joining the components:
• The six spring contacts of the K-Bus/E-Bus deal with the transfer of the data and the supply of the Bus Terminal electronics.
• The power contacts deal with the supply for the field electronics and thus represent a supply rail within the bus terminal block. The power contacts are supplied via terminals on the Bus Coupler (up to 24V) or for higher voltages via power feed terminals.
Power Contacts
During the design of a bus terminal block, the pin assignment of the individual Bus Terminals must be taken account of, since some types (e.g. analog Bus Terminals or digital 4-channel Bus Termi­nals) do not or not fully loop through the power contacts. Power Feed Terminals (KL91xx, KL92xx or 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.
KL301x, KL302x 15Version: 4.1
+ 32 hidden pages