Beckhoff KL2502, KL2512 Documentation

Documentation
KL2502, KL2512
Dual Channel Pulse Width Output Terminals, 24 V DC
Version: Date:
4.2 2019-10-11

Table of contents

Table of contents
1 Foreword ....................................................................................................................................................5
1.1 Notes on the documentation..............................................................................................................5
1.2 Safety instructions .............................................................................................................................6
1.3 Documentation issue status ..............................................................................................................7
1.4 Beckhoff Identification Code (BIC) ....................................................................................................7
2 Product overview.....................................................................................................................................10
2.1 KL2502 - Introduction ......................................................................................................................10
2.2 KL2512 - Introduction ......................................................................................................................11
2.3 KL2502, KL2512 - Technical data ...................................................................................................12
2.4 Basic Function Principles ................................................................................................................12
2.5 Operation modes .............................................................................................................................13
3 Mounting and wiring................................................................................................................................15
3.1 Instructions for ESD protection........................................................................................................15
3.2 Installation on mounting rails ...........................................................................................................15
3.3 Connection ......................................................................................................................................19
3.3.1 Connection system .......................................................................................................... 19
3.3.2 Wiring............................................................................................................................... 21
3.3.3 Shielding .......................................................................................................................... 22
3.4 KL2502, KL2512 - Connection and LED description .......................................................................23
3.5 ATEX - Special conditions (standard temperature range) ...............................................................24
3.6 ATEX Documentation ......................................................................................................................25
4 Configuration Software KS2000.............................................................................................................26
4.1 KS2000 - Introduction......................................................................................................................26
5 Access from the user program ..............................................................................................................28
5.1 Terminal configuration .....................................................................................................................28
5.2 Mapping in the Bus Coupler ............................................................................................................29
5.2.1 KL2502 ............................................................................................................................ 29
5.3 Register overview ............................................................................................................................31
5.4 Register description.........................................................................................................................32
5.5 Control and status byte....................................................................................................................35
5.5.1 Register communication .................................................................................................. 35
5.6 Examples of Register Communication ............................................................................................36
5.6.1 Example 1: reading the firmware version from Register 9............................................... 36
5.6.2 Example 2: Writing to an user register............................................................................. 37
6 Appendix ..................................................................................................................................................40
6.1 Support and Service ........................................................................................................................40
Table of contents
KL2502, KL25124 Version: 4.2
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.
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.
KL2502, KL25126 Version: 4.2

1.3 Documentation issue status

Version Comment
4.2 • Update chapter “Instructions for ESD protection”
• Chapter “Beckhoff Identification Code (BIC)” added
4.1 • Structure update
• Technical data updated
• Revision status updated
4.0 • Migration
• Structure update
• Technical data updated
• Revision status updated
Firmware and hardware versions
Foreword
Documentation Version
KL2502 KL2512
Firmware Firmware Firmware Hardware
4.1 3F 08 3F 02
4.0 3F 08 3F 02
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

1.4 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.
Foreword
Fig.1: BIC as data matrix code (DMC, code scheme ECC200)
The BIC will be introduced step by step across all product groups.
Depending on the product, it can be found in the following places:
• on the packaging unit
• directly on the product (if space suffices)
• on the packaging unit and the product
The BIC is machine-readable and contains information that can also be used by the customer for handling and product management.
Each piece of information can be uniquely identified using the so-called data identifier (ANSIMH10.8.2-2016). The data identifier is followed by a character string. Both together have a maximum length according to the table below. If the information is shorter, spaces are added to it. The data under positions 1 to 4 are always available.
The following information is contained:
Item
Type of
no.
information
1 Beckhoff order
number
2 Beckhoff Traceability
Number (BTN)
3 Article description Beckhoff article
4 Quantity Quantity in packaging
5 Batch number Optional: Year and week
6 ID/serial number Optional: Present-day
7 Variant number Optional: Product variant
...
Explanation Data
identifier
Beckhoff order number 1P 8 1P072222
Unique serial number, see note below
description, e.g. EL1008
unit, e.g. 1, 10, etc.
of production
serial number system, e.g. with safety products
number on the basis of standard products
S 12 SBTNk4p562d7
1K 32 1KEL1809
Q 6 Q1
2P 14 2P401503180016
51S 12 51S678294104
30P 32 30PF971, 2*K183
Number of digits incl. data identifier
Example
KL2502, KL25128 Version: 4.2
Foreword
Further types of information and data identifiers are used by Beckhoff and serve internal processes.
Structure of the BIC
Example of composite information from item 1 to 4 and 6. The data identifiers are marked in red for better display:
BTN
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. batch designations on IO components, previous serial number range for safety products, etc.). The BTN will also be introduced step by step, so it may happen that the BTN is not yet coded in the BIC.
NOTE
This information has been carefully prepared. However, the procedure described is constantly being further developed. We reserve the right to revise and change procedures and documentation at any time and with­out prior notice. No claims for changes can be made from the information, illustrations and descriptions in this information.
Product overview

2 Product overview

2.1 KL2502 - Introduction

Fig.2: KL2502
Two-channel pulse width output terminal 24 V DC, positive switching
The KL2502 output terminal modulates the pulse width of a binary signal, and outputs it electrically isolated from the K-bus. The mark/space ratio is prescribed by a 16 bit value from the automation device. The output stage is protected against overload and short-circuit. The Bus Terminal contains two channels that indicate its signal state by means of light emitting diodes. The LEDs are driven in time with the outputs, and show the duty factor by their brightness.
KL2502, KL251210 Version: 4.2

2.2 KL2512 - Introduction

Product overview
Fig.3: KL2512
Two-channel pulse width output terminal 24 V DC, negative switching
The KL2512 Bus Terminal enables direct connection of different ohmic loads. The output signal is a pulse­width modulated voltage. The typical load of an LED group or an incandescent lamp is connected between the positive side of the supply voltage and the output of the KL2512. Via the fieldbus the output can be set independently for two channels with a resolution of more than 30,000 steps. The PWM frequency can be changed. The power transistors switch the ground connection and are electrically isolated from the internal K-bus.
Product overview

2.3 KL2502, KL2512 - Technical data

Technical data KL2502 KL2512
Number of outputs 2
Rated load voltage 24VDC (20V…29V)
Connected potential 24V 0V
Load type Resistive, inductive resistive
Max. output current (per channel) 0.1A (short-circuit proof, 1A driver compo-
Base frequency 1 ... 20kHz, default: 250Hz
Duty factor 0…100%
Resolution max. 10bit
Electrical isolation 500V (K-bus/field voltage)
Current consumption from the K-bus typ. 18mA
Load voltage current consumption typ. 10mA
Bit width in process image 48 I/O: 2 x 16bit data (2 x 8bit control/status)
Configuration No address setting,
Weight approx. 50g
Permissible ambient temperature range during operation
Permissible ambient temperature range during storage
Permissible relative air humidity 95%, no condensation
Dimensions (HxWxD) approx. 15mm x 100mm x 70mm (width aligned: 12mm)
Mounting [}15]
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 IP20
Installation position variable
Approval CE
nent)
(TON > 750ns, T
configuration via the Bus Coupler or the controller
0°C ... + 55°C
-25°C ... + 85°C
on 35mm mounting rail according to EN60715
ATEX [}24]
IECEx cULus
> 500ns)
OFF
1.5A
0…100%
CE
ATEX [}24]

2.4 Basic Function Principles

The KL2502 output terminal modulates the pulse width of a binary signal. The peripheral side of the electronics is electrically isolated from the internal K-bus, and therefore also from the fieldbus. The cycle (base frequency) and the pulse/pause ratio are configurable. 16-bit values can be specified for setting purposes via the process image of the controller.
In the delivery state the KL2502 terminal occupies 6bytes in the process image. The mapping of the KL2502 can be set by means of the controller or by the Bus Coupler's configuration interface using the Beckhoff KS2000 configuration software.
In addition to PWM mode, the KL2502 can also be operated in FM mode (frequency modulation), or with pulse direction setting for stepper motor control (Frq-Cnt pulse mode).
The default setting of the terminal in delivery state is PWM mode with a base frequency of 250Hz and a resolution of 10bit.
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. The output assumes a user-specified voltage (see Feature register).
KL2502, KL251212 Version: 4.2
Process data
Input format:
KL2502: Two's complement representation (integer -1 corresponds to 0xFFFF) The ratio of duty cycle/period is specified with a maximum resolution of 10bit.
KL2512: 16bit unsigned integer
Output value Process data
KL2502 KL2512*
0% Duty Cycle 0x0000 (0
50% Duty Cycle 0x3FFF (16383
100% Duty Cycle 0x7FFF (32767
) 0x7FFF (32767
dec
) 0x3FFF (16383
dec
) 0x0000 (0
dec
) 0xFFFF (65535
dec
) 0xBFFF (49151
dec
) 0x8000 (32768
dec
*) The KL2512 passes through the output values (0…100% duty cycle) twice.

2.5 Operation modes

The operating mode of the terminal is set via feature register R32 [}34].
Product overview
)
dec
)
dec
)
dec
PWM mode
2 channels can be operated in the PWMx modes. Note that the operating mode and the cycle duration for both channels are identical.
PWMH
In PWM mode, the ratio of duty cycle to cycle duration is determined by the process data.
100% duty cycle corresponds to process record 0x7FFF. The cycle duration can be specified during operation via register R2 [}32]. It is loaded after a system start-up from register R35 [}34] (SEEROM) and
entered into R2.
The frequency range covers 245Hz to 20kHz (0xFA0 in R2 corresponds to 250Hz) with a resolution of 10bit at 245Hz, 976Hz and 3.9kHz.
PWML
In PWM mode, the ratio of duty cycle to cycle duration is determined by the process data. 100% duty cycle corresponds to process record 0x7FFF (32767). The cycle duration can be specified during operation via
register R2 [}32]. It is loaded after a system start-up from register R35 [}34] (SEEROM) and entered into R2. The frequency range is from 2Hz to 250Hz (250Hz corresponds to 0x01F4 in R2).
Loading...
+ 28 hidden pages