Beckhoff KL3102, KL3112, KL3122 Documentation

Documentation
KL3102, KL3112, KL3122
Dual-Channel Analog Input Terminals,-10 V to +10 V, 0/4 mA to 20 mA
Version: Date:
3.2 2019-10-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
1.4 Beckhoff Identification Code (BIC) ....................................................................................................7
2 Product Overview ....................................................................................................................................10
2.1 Overview of two-channel analog input terminals .............................................................................10
2.2 KL3102 - Introduction ......................................................................................................................10
2.3 KL3102 - Technical data..................................................................................................................11
2.4 KL3112, KL3122 - Introduction........................................................................................................12
2.5 KL3112, KL3122 - Technical data ...................................................................................................13
2.6 Basic function principles ..................................................................................................................14
3 Mounting and wiring................................................................................................................................16
3.1 Instructions for ESD protection........................................................................................................16
3.2 Installation on mounting rails ...........................................................................................................16
3.3 Installation instructions for enhanced mechanical load capacity .....................................................20
3.4 Connection ......................................................................................................................................20
3.4.1 Connection system .......................................................................................................... 20
3.4.2 Wiring............................................................................................................................... 23
3.4.3 Shielding .......................................................................................................................... 24
3.5 KL3102 - Connection and LED description .....................................................................................25
3.6 KL3112, KL3122 - Connection and LED description .......................................................................26
3.7 ATEX - Special conditions (standard temperature range) ...............................................................27
3.8 ATEX Documentation ......................................................................................................................28
4 Configuration Software KS2000.............................................................................................................29
4.1 KS2000 - Introduction......................................................................................................................29
4.2 Sample program for KL register communication via EtherCAT on KL3314 exemplary...................30
5 Access from the user program ..............................................................................................................33
5.1 Terminal configuration .....................................................................................................................33
5.2 Mapping in the Bus Coupler ............................................................................................................34
5.2.1 KL3102, KL3112, KL3122................................................................................................ 35
5.3 Register overview ............................................................................................................................35
5.4 Register description.........................................................................................................................36
5.5 Control and status byte....................................................................................................................41
5.5.1 Process data exchange ................................................................................................... 41
5.5.2 Register communication .................................................................................................. 42
5.6 Examples of Register Communication ............................................................................................43
5.6.1 Example 1: reading the firmware version from Register 9............................................... 43
5.6.2 Example 2: Writing to an user register............................................................................. 44
6 Appendix ..................................................................................................................................................47
6.1 Support and Service ........................................................................................................................47
KL3102, KL3112, KL3122 3Version: 3.2
KL3102, KL3112, KL31224 Version: 3.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.
KL3102, KL3112, KL3122 5Version: 3.2
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.
KL3102, KL3112, KL31226 Version: 3.2

1.3 Documentation issue status

Version Comment
3.2 • Update chapter “Instructions for ESD protection”
• Chapter “Beckhoff Identification Code (BIC)” added
3.1 • Example program added to chapter “KS2000 Configuration software“
• Design of the safety instructions adapted to IEC 82079-1
3.0 • Migration
• Update Technical data
• Structure update
• Chapter Mounting and wiring added
• Chapters KS2000 configuration software and Access from the user program added
Firmware and hardware versions
Foreword
Documen­tation, Version
3.1 3B 09 3B 05 3B 05
3.0 3B 09 3B 05 3B 05
KL3102 KL3112 KL3122
Firmware Hardware Firmware Hardware Firmware Hardware
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.: 35 04 1B 01:
35 - week of production 35 4 - year of production 2004 1B - firmware version 1B 1 - hardware version 1

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.
KL3102, KL3112, KL3122 7Version: 3.2
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
KL3102, KL3112, KL31228 Version: 3.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.
KL3102, KL3112, KL3122 9Version: 3.2
Product Overview

2 Product Overview

2.1 Overview of two-channel analog input terminals

Module Signal voltage Signal current Filter
KL3102 [}10]
KL3112 [}12]
KL3122 [}12]

2.2 KL3102 - Introduction

-10V ... +10V 50Hz, configurable
0mA ... 20mA 50Hz, configurable
4mA ... 20mA 50Hz, configurable
Fig.2: KL3102
Two-channel analog input terminal -10V…+10V
The analog input terminal KL3102 processes signals in the range of -10V to +10V. The voltage is digitized to a resolution of 16bits, and is transmitted, electrically isolated, to the higher-level automation device. The input channels of one Bus Terminal have differential inputs and possess a common, internal ground potential. The KL3102 combines two channels in a single housing. The two LEDs give an indication of the data exchange with the Bus Coupler.
KL3102, KL3112, KL312210 Version: 3.2
Product Overview

2.3 KL3102 - Technical data

Technical data KL3102
Number of inputs 2 Power supply for the electronics via the K-bus Signal voltage -10V … +10V Technology Differential input Internal resistance >200kΩ Common-mode voltage U Resolution 16bit (for the 0V to 10V range from: resolution 15bit) Conversion time 140ms, configurable to 2ms Filter 50Hz, configurable Measuring error (total measuring
range) Electrical isolation 500V (K-bus / signal voltage) Current consumption K-bus typically 65mA Bit width in the K-bus I/O Input: 2 x 16bits of data (2 x 8bits control/status optional) 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 [}16]
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
CM
max. 35V
<±0.3% relative to full scale value
on 35mm mounting rail according to EN60715
0°C ... + 55°C
-25°C ... + 85°C
conforms to EN60068-2-6/ EN60068-2-27, see also Installation
instructions for enhanced mechanical load capacity [}20]
CE, cULus, ATEX [}27]
KL3102, KL3112, KL3122 11Version: 3.2
Product Overview

2.4 KL3112, KL3122 - Introduction

Fig.3: KL3112, KL3122
Two-channel analog input terminals 0mA...20mA and 4mA...20mA
The analog input terminals process signals in the range of
• KL3112: 0mA ... 20mA
• KL3122: 4mA ... 20mA.
The current is digitized to a resolution of 16bits (default: 15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. The terminals combine two channels in a single housing. A wire breakage or overload condition are detected, and the terminal state is relayed to the controller via the K-bus. The Run LEDs indicate the data exchange with the Bus Coupler, while the Error LEDs indicate overload.
KL3102, KL3112, KL312212 Version: 3.2
Product Overview

2.5 KL3112, KL3122 - Technical data

Technical data KL3112 KL3122
Number of inputs 2 Power supply for the electronics via the K-bus Signal voltage 0mA…20mA 4mA…20mA Technology Differential input Internal resistance 50Ω measuring resistance, load: 60Ω + diode voltage Common-mode voltage U
CM
Resolution 15bits (configurable to 16bits) Conversion time 140ms, configurable to 2ms Filter 50Hz, configurable Measuring error (total measuring
range) Surge voltage resistance 35V Electrical isolation 500V (K-bus / signal voltage) Current consumption K-bus typically 60mA Bit width in the K-bus I/O Input: 2 x 16bits of data (2 x 8bits control/status optional) 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 [}16]
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
max. 35V
<±0.3% of the full scale value
DC
on 35mm mounting rail according to EN60715
0°C ... + 55°C
-25°C ... + 85°C
conforms to EN60068-2-6/ EN60068-2-27, see also Installation
instructions for enhanced mechanical load capacity [}20]
CE, cULus, ATEX [}27]
KL3102, KL3112, KL3122 13Version: 3.2
Product Overview

2.6 Basic function principles

The analog input terminals process signals in the range of:
KL3102: -10V ... +10V
KL3112: 0mA ... 20mA
KL3122: 4mA ... 20mA
with a resolution of up to 16bits (65535 steps). The terminal inputs are differential inputs with common ground. Due to the differential inputs, the terminals are particularly suitable for floating measuring of voltage drops. In the standard version, a filter with a stop frequency (64.5dB) of 50Hz is active. The filter constant and the associated conversion time are configurable in a wide range.
The green Run LEDs indicate the operating state of the associated terminal channel.
• 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 red ERROR LEDs indicate an overflow.
• On: Measured current outside the measuring range (> 20mA)
• Off: Current in valid range
KL3102 - Output format of the process data
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
KL3102 dec hex
-10V -32768 0x8000
-5V -16383 0xC001
0V 0 0x0000
5V 16383 0x3FFF
10V 32767 0x7FFF
KL3112, KL3122 - Output format of the process data
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
KL3112 KL3122 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 records 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:
KL3102, KL3112, KL312214 Version: 3.2
Product Overview
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 Designation 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 [}38]
R19 [}38]
R20 [}38]
R33 [}38]
R34 [}39]
The equations of the straight line are enabled via register R32 [}38]
Fig.4: KL3102, KL3112, KL3122 - Data flow
KL3102, KL3112, KL3122 15Version: 3.2
Loading...
+ 33 hidden pages