Beckhoff KL6001 Documentation
Beckhoff KL6001 Documentation

Beckhoff KL6001 Documentation

Serial interface rs232 c
Table of Contents

Advertisement

Documentation
KL6001
Serial Interface RS232 C
Version:
Date:
3.0.0
2019-09-25

Advertisement

Table of Contents
loading

Summary of Contents for Beckhoff KL6001

  • Page 1 Documentation KL6001 Serial Interface RS232 C Version: 3.0.0 Date: 2019-09-25...
  • Page 3: Table Of Contents

    ATEX - Special conditions (standard temperature range) ............... 20 ATEX Documentation ........................ 21 4 Configuration Software KS2000 ...................... 22 KS2000 - Introduction ........................ 22 5 Access from the user program ...................... 24 KL6001 - Terminal configuration ..................... 24 Mapping in the Bus Coupler ...................... 26 5.2.1 Standard format .......................  26 Register overview .......................... 28 Register description ......................... 28...
  • Page 4 Table of content Version: 3.0.0 KL6001...
  • 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

    1 - hardware version 1 Beckhoff Identification Code (BIC) The Beckhoff Identification Code (BIC) is increasingly being applied to Beckhoff products to uniquely identify the product. The BIC is represented as a Data Matrix Code (DMC, code scheme ECC200), the content is based on the ANSI standard MH10.8.2-2016.
  • Page 8 Example of composite information from item 1 to 4 and 6. The data identifiers are marked in red for better display: An important component of the BIC is the Beckhoff Traceability Number (BTN, item no. 2). The BTN is a unique serial number consisting of eight characters that will replace all other serial number systems at Beckhoff in the long term (e.g.
  • Page 9: Product Overview

    Fig. 2: KL6001 Serial interface RS232 The KL6001 serial interface enables the connection of devices with an RS232 interface. The interface operates in conformity with the CCITT V.28/DIN 66 259-1 standards. The device connected to the terminal communicates with the automation device via the Bus Coupler. The active communication channel operates independently of the higher-level bus system in full duplex mode at up to 19,200 baud.
  • Page 10: Kl6001 - Technical Data

    Product overview KL6001 - Technical data Technical data KL6001 Technology RS232 Data transfer channels 2 (1/1), TxD and RxD, full duplex Data transfer rate 1200...19200 baud, default: 9600 baud, 8 data bits, no parity and one stop bit are preset (max. 19200 baud) Bit distortion <...
  • Page 11: Basic Function Principles

    Standard output format for process data In the standard output format, 4 bytes are mapped in the Bus Coupler (3 bytes for user data and 1 control/ status byte). By changing the parameters of the KL6001, up to 5 bytes of user data can be transferred. Reference The chapter on "Access from the user program"...
  • Page 12: Mounting And Wiring

    • Each assembly must be terminated at the right hand end with a KL9010 bus end terminal, to ensure the protection class and ESD protection. Fig. 3: Spring contacts of the Beckhoff I/O components Installation on mounting rails WARNING...
  • Page 13: Fig. 4 Attaching On 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). KL6001 Version: 3.0.0...
  • Page 14: Fig. 5 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. Version: 3.0.0 KL6001...
  • Page 15: Fig. 6 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! KL6001 Version: 3.0.0...
  • Page 16: Installation Instructions For Enhanced Mechanical Load Capacity

    Overview The Bus Terminal system offers different connection options for optimum adaptation to the respective application: • The terminals of ELxxxx and KLxxxx series with standard wiring include electronics and connection level in a single enclosure. Version: 3.0.0 KL6001...
  • Page 17: Fig. 7 Standard Wiring

    Conductor cross sections between 0.08 mm and 2.5 mm can continue to be used with the proven spring force technology. The overview and nomenclature of the product names for ESxxxx and KSxxxx series has been retained as known from ELxxxx and KLxxxx series. KL6001 Version: 3.0.0...
  • Page 18: Fig. 9 High Density Terminals

    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 concerning the wire-size width below! Version: 3.0.0 KL6001...
  • Page 19: Wiring

    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. KL6001 Version: 3.0.0...
  • Page 20: Shielding

    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 21: 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! KL6001...
  • Page 22: Configuration Software Ks2000

    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: 3.0.0 KL6001...
  • Page 23 • Process values can be specified in the output image for commissioning of the output modules. All possibilities in the online mode can be used in parallel with the actual fieldbus mode of the terminal station. The fieldbus protocol always has the higher priority in this case. KL6001 Version: 3.0.0...
  • Page 24: Access From The User Program

    In the BK2000 Lightbus Coupler, the control and status byte is mapped in addition to the data bytes. This is always in the low byte on the offset address of the terminal channel. With the KL6001, the C/S byte is used exclusively in register mode.
  • Page 25: Fig. 13 Mapping For Profibus Coupler - Example For Kl6001

    Fig. 13: Mapping for Profibus Coupler - example for KL6001 BK4000 Interbus Coupler By default, the BK4000 Interbus Coupler maps the KL6001 with 4 bytes of input data and 4 bytes of output data. Parameterization via the fieldbus is not possible. The KS2000 software is required if the terminal is to be reparameterized.
  • Page 26: Mapping In The Bus Coupler

    5.2.1 Standard format In the standard format, the KL6001 is mapped by default with 4 bytes of input and output data (adjustable: 2 to 6 bytes via R35). Note: In the standard format, the CT/ST byte is used for register and process data communication.
  • Page 27 Control byte for the handshake (appears in the process image of the outputs). Ser. ST Status byte for the handshake (appears in the process image of the inputs). D0-D4 Data byte 0 - 4 “-“ This byte is not used or occupied by the terminal. KL6001 Version: 3.0.0...
  • Page 28: Register Overview

    It is also possible for functions to be called by means of corresponding parameters. Each logical channel in an intelligent terminal has such a structure (so a 4- channel analog terminal has 4 sets of registers). This structure is divided into the following areas: Version: 3.0.0 KL6001...
  • Page 29 The Bus Coupler sees this structure. • R11: Signal channels Related to R10, this contains the number of channels that are logically present. Thus for example a shift register that is physically present can perfectly well consist of several signal channels. KL6001 Version: 3.0.0...
  • Page 30 • R32: Feature register This register specifies the operation modes of the terminal. Thus, for instance, a user-specific scaling can be enabled for the analog I/Os. The default values are shown in square brackets. Version: 3.0.0 KL6001...
  • Page 31 8 data bits, odd parity Bit 3 0: 1 stop bit [0] 1: 2 stop bits Bit 4 - 15 not used – do not change! • R34: Feature register [0x0003] The feature register specifies the operating modes of the terminal. KL6001 Version: 3.0.0...
  • Page 32: Register Communication Kl6001

    High byte = not used • R47 - R63 Extended registers with additional functions. Register communication KL6001 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 33: Fig. 15 Register Mode Control Byte

    Example 1 Reading of register 8 in the BK2000 with a KL6001 and the end terminal: If the following bytes are transferred from the controller to the terminal,...
  • Page 34: Data Exchange, Function

    The handshake for data transmission is provided via this bit. A change of state in TR causes the data set defined via OL0-OL2 (5 bytes maximum) to be loaded into the transmission FIFO. The terminal signals execution of this instruction via TA. Version: 3.0.0 KL6001...
  • Page 35 Start data transmission 00000100 0XXXXXXX Initialization is requested by the controller … … … 00000100 00000100 The terminal has completed the initialization 00000000 00000100 The controller requests data exchange … … … 00000000 00000000 The terminal is ready KL6001 Version: 3.0.0...
  • Page 36: Examples Of Register Communication

    (0x1235) into Register 31. If a value other than 0x1235 is written into Register 31, write protection is reactivated. Please note that changes to a register only become effective after restarting the terminal (power-off/power-on). Version: 3.0.0 KL6001...
  • Page 37 • The terminal returns the current value of the code word register in the input data word (byte 1 and byte III. Write to Register 32 (change contents of the feature register) Output data Byte 0: Control byte Byte 1: DataIN1, high byte Byte 2: DataIN1, low byte 0xE0 (1110 0000 0x00 0x02 KL6001 Version: 3.0.0...
  • Page 38 • 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 0x00 Explanation: Version: 3.0.0 KL6001...
  • Page 39 • 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! KL6001 Version: 3.0.0...
  • Page 40: 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 41 Fig. 11 KS2000 configuration software....................Fig. 12 Mapping for Lightbus Coupler, example: KL6001................ Fig. 13 Mapping for Profibus Coupler - example for KL6001..............Fig. 14 Mapping for Interbus Coupler - example for KL6001..............Fig. 15 Register mode control byte......................KL6001...

Table of Contents