Beckhoff KL301 Series Documentation

Beckhoff KL301 Series Documentation

Single- and dual-channel analog input terminals, 0 to 20 ma and 4 to 20 ma
Table of Contents

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading

Summary of Contents for Beckhoff KL301 Series

  • Page 1 Documentation KL301x, KL302x Single- and Dual-Channel Analog Input Terminals, 0 to 20 mA and 4 to 20 mA Version: Date: 2019-02-15...
  • Page 3: Table Of Contents

    Table of contents Table of contents 1 Foreword .............................. 5 Notes on the documentation...................... 5 Safety instructions .......................... 6 Documentation issue status ...................... 7 2 Product overview............................ 8 KL301x - Introduction ........................ 8 KL302x - Introduction ........................ 9 KL301x, KL302x - Technical data.................... 10 Basic function principles ........................ 11 3 Mounting and wiring.......................... 13 Instructions for ESD protection ...................... 13 Installation on mounting rails ...................... 13...
  • Page 4 Table of contents Version: 4.1 KL301x, KL302x...
  • 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

    Foreword Documentation issue status Version Comment • Update Technische Daten • Example program added to chapter “KS2000 Configuration software“ • Design of the safety instructions adapted to IEC 82079-1 • Migration • Update Technical data • Structure update • Chapters KS2000 configuration software and Access from the user program added Firmware and hardware versions Documen- KL3011...
  • Page 8: Product Overview

    Product overview Product overview 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.
  • Page 9: Kl302X - Introduction

    Product overview KL302x - Introduction 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.
  • Page 10: Kl301X, Kl302X - Technical Data

    Product overview KL301x, KL302x - Technical data Technical Data KL3011 KL3021 KL3012 KL3022 Number of inputs 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 Ω...
  • Page 11: Basic Function Principles

    Product overview 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.
  • Page 12: Fig. 3 Kl301X, Kl302X - Data Flow

    Product overview The equations of the straight line are enabled via register R32 [} 37]. Fig. 3: KL301x, KL302x - Data flow Version: 4.1 KL301x, KL302x...
  • Page 13: Mounting And Wiring

    • 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 Installation on mounting rails...
  • Page 14: Fig. 5 Attaching On Mounting Rail

    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.
  • Page 15: Fig. 6 Disassembling Of Terminal

    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.
  • Page 16: Fig. 7 Power Contact On Left Side

    Mounting and wiring Fig. 7: Power contact on left side NOTE Possible damage of the device Note that, for reasons of electromagnetic compatibility, the PE contacts are capacitatively coupled to the mounting rail. This may lead to incorrect results during insulation testing or to damage on the terminal (e.g. disruptive discharge to the PE line during insulation testing of a consumer with a nominal voltage of 230 V).
  • Page 17: Installation Instructions For Enhanced Mechanical Load Capacity

    Mounting and wiring Installation instructions for enhanced mechanical load capacity WARNING Risk of injury through electric shock and damage to the device! Bring the Bus Terminal system into a safe, de-energized state before starting mounting, disassembly or wiring of the Bus Terminals! Additional checks The terminals have undergone the following additional tests: Verification...
  • Page 18: Fig. 8 Standard Wiring

    Mounting and wiring • The terminals of ESxxxx and KSxxxx series feature a pluggable connection level and enable steady wiring while replacing. • The High Density Terminals (HD Terminals) include electronics and connection level in a single enclosure and have advanced packaging density. Standard wiring (ELxxxx / KLxxxx) Fig. 8: Standard wiring The terminals of ELxxxx and KLxxxx series have been tried and tested for years.
  • Page 19: Wiring

    Mounting and wiring The Bus Terminals from these series with 16 terminal points are distinguished by a particularly compact design, as the packaging density is twice as large as that of the standard 12 mm Bus Terminals. Massive conductors and conductors with a wire end sleeve can be inserted directly into the spring loaded terminal point without tools.
  • Page 20: Shielding

    Mounting and wiring See the following table for the suitable wire size width. Terminal housing ELxxxx, KLxxxx ESxxxx, KSxxxx Wire size width (single core wires) 0.08 ... 2.5 mm 0.08 ... 2.5 mm Wire size width (fine-wire conductors) 0.08 ... 2.5 mm 0,08 ... 2.5 mm Wire size width (conductors with a wire end sleeve) 0.14 ...
  • Page 21: Kl301X - Connection And Led Description

    Mounting and wiring KL301x - Connection and LED description WARNING Risk of injury through electric shock and damage to the device! Bring the Bus Terminals system into a safe, de-energized state before starting mounting, disassembly or wiring of the Bus Terminals! Fig. 12: KL3011, KL3012 - Connection and LEDs Connection of KL3011 Terminal point...
  • Page 22 Mounting and wiring KL301x – LED description Color Description Run1 LED green On: Normal operation Run2 LED (KL3012 only) Off: Watchdog-timer overflow has occurred. If no process data is transmitted to the bus coupler for 100 ms, the green LEDs go out Error1 LED On: The limit stop of the A/D converter has been reached.
  • Page 23: Kl302X - Connection And Led Description

    Mounting and wiring KL302x – Connection and LED description WARNING Risk of injury through electric shock and damage to the device! Bring the Bus Terminals system into a safe, de-energized state before starting mounting, disassembly or wiring of the Bus Terminals! Fig. 13: KL3211, KL3022 –...
  • Page 24: Atex - Special Conditions (Standard Temperature Range)

    80°C at the wire branching points, then cables must be selected whose tempera- ture data correspond to the actual measured temperature values! • Observe the permissible ambient temperature range of 0 to 55°C for the use of Beckhoff fieldbus compo- nents standard temperature range in potentially explosive areas! •...
  • Page 25: Atex - Special Conditions (Extended Temperature Range)

    80°C at the wire branching points, then cables must be selected whose tempera- ture data correspond to the actual measured temperature values! • Observe the permissible ambient temperature range of -25 to 60°C for the use of Beckhoff fieldbus com- ponents with extended temperature range (ET) in potentially explosive areas! •...
  • Page 26: Atex Documentation

    Notes about operation of the Beckhoff terminal systems in potentially explosive ar- eas (ATEX) Pay also attention to the continuative documentation Notes about operation of the Beckhoff terminal systems in potentially explosive areas (ATEX) that is available in the download area of the Beckhoff homepage http:\\www.beckhoff.com! Version: 4.1...
  • Page 27: Configuration Software Ks2000

    Configuration Software KS2000 Configuration Software KS2000 KS2000 - Introduction The KS2000 configuration software permits configuration, commissioning and parameterization of bus couplers, of the affiliated bus terminals and of Fieldbus Box Modules. The connection between bus coupler / Fieldbus Box Module and the PC is established by means of the serial configuration cable or the fieldbus. Fig. 14: KS2000 configuration software Configuration You can configure the Fieldbus stations with the Configuration Software KS2000 offline.
  • Page 28: Sample Program For Kl Register Communication Via Ethercat On Kl3314 Exemplary

    Configuration Software KS2000 Commissioning The KS2000 software facilitates commissioning of machine components or their fieldbus stations: Configured settings can be transferred to the fieldbus modules by means of a download. After a login to the terminal station, it is possible to define settings in couplers, terminals and Fieldbus Box modules directly online. The same high-level dialogs and register access are available for this purpose as in the configuration phase.
  • Page 29: Fig. 15: Settings Of Kl3314 Via Visualisation Of Twincat 3

    [coupler (e.g. BK1120) or embedded PC] + KL3314 + KL9010. Download: https://infosys.beckhoff.com/content/1033/kl301x_kl302x/Resources/zip/5996114571.zip Preparations for starting the sample programs (tnzip file / TwinCAT 3) • Click on the download button to save the Zip archive locally on your hard disk, then unzip the *.tnzip archive file in a temporary folder.
  • Page 30: Fig. 17 Search Of The Existing Hw Configuration For The Ethercat Configuration Of The Example

    Configuration Software KS2000 • Select the .tnzip file (sample program). • A further selection window opens. Select the destination directory for storing the project. • For a description of the general PLC commissioning procedure and starting the program please refer to the terminal documentation or the EtherCAT system documentation.
  • Page 31: Access From The User Program

    Access from the user program Access from the user program Terminal configuration The terminal can be configured and parameterized via the internal register structure. Each terminal channel is mapped in the Bus Coupler. Mapping of the terminal data in the Bus Coupler memory may differ, depending on the Bus Coupler type and the set mapping configuration (e.g. Motorola/Intel format, word alignment etc.).
  • Page 32: Mapping In The Bus Coupler

    Access from the user program • KL3012 and KL3022: 4 bytes of input data Parameterization via the fieldbus is not possible. If the control and status byte is to be used, the KS2000 configuration software is required. Fig. 20: Mapping in the Interbus coupler – example for KL3012 and KL3022 Other Bus Couplers and further information Further information about the mapping configuration of Bus Couplers can be found in the Appendix of the respective Bus Coupler manual under Master configuration.
  • Page 33: Kl3012 And Kl3022

    Access from the user program Default mapping for: Profibus and Interbus Coupler Conditions Word offset High byte Low byte Complete evaluation: no Ch1 D0 Ch1 D1 Motorola format: yes Word alignment: any Conditions Word offset High byte Low byte Complete evaluation: yes Ch1 D0 Ch1 CB/SB Motorola format: no...
  • Page 34: Register Overview

    Access from the user program Default mapping for: Profibus and Interbus Coupler Conditions Word offset High byte Low byte Complete evaluation: no Ch1 D0 Ch1 D1 Motorola format: yes Ch2 D0 Ch2 D1 Word alignment: any Conditions Word offset High byte Low byte Complete evaluation: yes Ch1 D0...
  • Page 35 Access from the user program Address Name Default value Storage medium Raw ADC value variable R0 [} 36] R1 to R5 reserved 0x0000 Diagnostic register variable R6 [} 36] Command register - not used 0x0000 R7 [} 36] Terminal type e.g. 3012 R8 [} 36] Software version number 0x???? R9 [} 36]...
  • Page 36: Register Description

    Access from the user program Register description The registers can be read or written via the register communication. They are used for the parameterization of the terminal. R0 to R7: Registers in the internal RAM of the terminal The process variables can be used in addition to the actual process image. Their function is specific to the terminal.
  • Page 37 Access from the user program • R14: reserved • R15: Alignment bits (RAM) The alignment bits are used to place the analog terminal in the Bus Coupler on a byte boundary. R16 to R30: Manufacturer parameter area (SEEROM) The manufacturer parameters are specific for each type of terminal. They are programmed by the manufacturer, but can also be modified by the controller.
  • Page 38 Access from the user program Feature bit no. Description of the operation mode Bit 0 User scaling (R33, R34 [} 38]) active [0] Bit 1 Manufacturer scaling (R19, R20 [} 37]) active [1] Bit 2 Watchdog timer active [1] In the delivery state, the watchdog timer is switched on. Bit 3 Sign / amount representation [0] Sign / amount representation is active instead of two's-complement...
  • Page 39 Access from the user program • R36: Limit value 2 (Y_2) If the process data are outside this threshold, the appropriate bits are set in the status byte. • R37: Filter constant [0x0000] If the internal filter is activated via R32.11, the following filter constants can be selected in R37. In the standard setting, the corresponding conversion time is 2.5 ms: Applies to all terminals from firmware version 3x.
  • Page 40: Control And Status Byte

    Access from the user program Control and status byte The control and status byte is transmitted from the controller to the terminal. It can be used • in register mode [} 41] (REG = 1 ) or • in process data exchange [} 40] (REG = 0 5.5.1 Process data exchange Control byte in process data exchange (REG=0)
  • Page 41: Register Communication

    Access from the user program 5.5.2 Register communication Register access via process data exchange • Bit 7=1: Register mode If bit 7 of the control byte is set, the first two bytes of the user data are not used for process data exchange but written into the register set of the terminal or read from it.
  • Page 42: Examples Of Register Communication

    Access from the user program Byte Byte 3 Byte 2 Byte 1 Byte 0 Name DataOUT 1 DataOUT 0 Not used Control byte Value 0xXX 0xXX 0xXX 0x88 the terminal returns the following type identifier (0x0BBA corresponds to unsigned integer 3012). Byte Byte 3 Byte 2...
  • Page 43: Example 2: Writing To An User Register

    Access from the user program ◦ ASCII code 0x41 represents the letter A The firmware version is thus 3A. 5.6.2 Example 2: Writing to an user register Code word In normal mode all user registers are read-only with the exception of Register 31. In order to deacti- vate this write protection you must write the code word (0x1235) into Register 31.
  • Page 44 Access from the user program • The terminal returns the value of the control byte as a receipt in the status byte. • The terminal returns the current value of the code word register in the input data word (byte 1 and byte III.
  • Page 45 Access from the user program • The terminal returns the current value of the feature register in the input data word (byte 1 and byte 2). V. Write Register 31 (reset code word) Output Data Byte 0: Control byte Byte 1: DataOUT1, high byte Byte 2: DataOUT1, low byte 0xDF (1101 1111 0x00...
  • Page 46: 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 47 KL3011, KL3012 .......................... Fig. 2 KL3021, KL3022 .......................... Fig. 3 KL301x, KL302x - Data flow ......................Fig. 4 Spring contacts of the Beckhoff I/O components................. Fig. 5 Attaching on mounting rail ......................Fig. 6 Disassembling of terminal......................Fig. 7 Power contact on left side......................

This manual is also suitable for:

Kl3011Kl302 seriesKl3012Kl3021Kl3022

Table of Contents