Table of contents Table of contents 1 Foreword .............................. 7 Notes on the documenation....................... 7 Safety instructions .......................... 7 Documentation Issue Status...................... 9 2 Product overview............................. 11 Introduction ............................ 11 Technical data .......................... 15 Basic function principles ........................ 16 3 Mounting and wiring.......................... 19 Installation on mounting rails ...................... 19 Installation instructions for enhanced mechanical load capacity ............. 22 Connection system .......................... 22 Connection and LED description ..................... 26...
Page 5
Table of contents 5.7.1 Register access via process data exchange .............. 47 5.7.2 Example 1........................ 49 5.7.3 Example 2........................ 49 6 TwinCAT .............................. 50 Programming ........................... 52 Function block FB_KL320xConfig .................... 52 7 Appendix .............................. 53 Support and Service ........................ 53 List of illustrations........................... 54 KL320x Version: 4.4...
, 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.
Page 8
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.
Foreword Documentation Issue Status Version Comment • Update Firmware and hardware versions • Update chapter “Basic Function Principles” • Update Firmware and hardware versions • Update Technical data • Chapter "Installation instructions for enhanced mechanical load capacity" added • Chapter "TwinCAT" including Link to FB_KL320xConfig added •...
Page 10
Foreword 47 - week of production 47 15 - year of production 2015 1A - firmware version 1A 00 - hardware version 00 Version: 4.4 KL320x...
Page 12
Product overview Fig. 2: KL3202 The KL3201 and KL3202 analog input terminals allow resistance sensors to be connected directly. The Bus Terminal's circuitry can operate the sensors using 2-wire or 3-wire connection techniques. Linearization over the full temperature range is realized with the aid of a microprocessor. The temperature range can be selected freely.
Product overview KL3204-0000 Fig. 3: KL3204-0000 The KL3204-0000 analog input terminal allows resistance sensors to be connected directly. The Bus Terminal's circuitry can handle sensors using the 2-wire technique. Linearization over the full temperature range is realized with the aid of a microprocessor. The temperature range can be selected freely.
Product overview KL3204-0030 Fig. 4: KL3204-0030 The KL3204-0030 analog input terminal enables four NTC resistance sensors to be connected directly. The Bus Terminal's circuitry can handle sensors using the 2-wire technique. Linearization over the full temperature range is realised with the aid of a microprocessor. The standard setting of the Bus Terminal is a resolution of 0.1°C in the temperature range of the NTC 10 kΩ...
Product overview Basic function principles Properties The KL320x analog input terminals enable resistance sensors to be connected directly. A micro-controller within the terminal is used for converting and linearizing the resistance to a temperature value. The temperatures are displayed as follows: •...
Page 17
Product overview Process data The process data that are transferred to the terminal bus are calculated using the following equations: Variable Meaning X_RL ADC value of the supply cables X_RTD ADC value of the temperature sensor, including one supply cable ADC value of the temperature sensor A_a, B_a Manufacturer gain and offset calibration (R17, R18)
Mounting and wiring Mounting and wiring 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! Assembly Fig. 6: Attaching on mounting rail The bus coupler and bus terminals are attached to commercially available 35 mm mounting rails (DIN rails...
Mounting and wiring Disassembly Fig. 7: 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.
Mounting and wiring Fig. 8: 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).
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...
Mounting and wiring Standard wiring Fig. 9: Standard wiring The terminals of KLxxxx and ELxxxx series have been tried and tested for years. They feature integrated screwless spring force technology for fast and simple assembly. Pluggable wiring Fig. 10: Pluggable wiring The terminals of KSxxxx and ESxxxx series feature a pluggable connection level. The assembly and wiring procedure for the KS series is the same as for the KLxxxx and ELxxxx series.
Mounting and wiring Wiring HD Terminals The High Density (HD) Terminals of the KLx8xx and ELx8xx series doesn't support steady wiring. Ultrasonically "bonded" (ultrasonically welded) conductors Ultrasonically “bonded" conductors It is also possible to connect the Standard and High Density Terminals with ultrasonically "bonded"...
Page 25
Mounting and wiring Terminal housing High Density Housing Wire size width (conductors with a wire end sleeve) 0.14 ... 0.75 mm Wire size width (single core wires) 0.08 ... 1.5 mm Wire size width (fine-wire conductors) 0.25 ... 1.5 mm Wire size width (ultrasonically “bonded" conductors) only 1.5 mm (see notice [} 24]!) Wire stripping length...
Mounting and wiring 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. KL3201 Fig. 13: KL3201 –...
Mounting and wiring KL3202 Fig. 14: KL3202 – connection and LEDs Terminal point No. Comment Input +R1 Input RL Input -R1 (internally connected with terminal point 7) Shield Shield, FE (internally connected to terminal point 8) Input +R2 Input RL Input –R2 (internally connected with terminal point 3) Shield Shield, FE (internally connected to terminal point 4) KL320x...
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! •...
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! •...
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! KL320x...
KS2000 Configuration software KS2000 Configuration software 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. 16: KS2000 configuration software Configuration You can configure the Fieldbus stations with the Configuration Software KS2000 offline.
Page 33
KS2000 Configuration software 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.
Access from the user program Access from the user program Different operating modes or functionalities may be set for the complex terminals. The General Description of Registers explains those register contents that are the same for all complex terminals. The terminal-specific registers are explained in the following section. Access to the internal terminal registers is described in the Register Communication section.
Page 35
Access from the user program Default mapping for: PROFIBUS, Interbus Conditions Word offset High byte Low byte Complete evaluation: no Ch0 D0 Ch0 D1 Motorola format: yes Word alignment: any Conditions Word offset High byte Low byte Complete evaluation: yes Ch0 D0 Ch0 CB/SB Ch0 D1...
Access from the user program Default mapping for: PROFIBUS, Interbus Conditions Word offset High byte Low byte Complete evaluation: no Ch0 D0 Ch0 D1 Ch1 D0 Ch1 D1 Motorola format: yes Word alignment: any Conditions Word offset High byte Low byte Complete evaluation: yes Ch0 D0 Ch0 CB/SB...
Page 37
Access from the user program Default mapping for: PROFIBUS, Interbus Conditions Word offset High byte Low byte Complete evaluation: no Ch0 D0 Ch0 D1 Ch1 D0 Ch1 D1 Motorola format: ja Ch2 D0 Ch2 D1 Word alignment: any Ch3 D0 Ch3 D1 Conditions Word offset...
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. Depending on the type of the Bus Coupler and the mapping configuration (e.g.
Access from the user program Fig. 18: Mapping BK3000 BK4000 - Interbus Coupler The BK4000 Interbus Coupler maps the terminals in the delivery state with 2 bytes per channel: • KL3201: 2 bytes of input data • KL3202: 4 bytes of input data •...
Access from the user program Register overview These registers exist once for each channel. Address Name Default value Storage medium Raw ADC value variable Unprocessed ADC value for the leads variable reserved 0x0000 reserved 0x0000 Diagnostic register variable Command register not used 0x0000 Terminal type e.g.
Access from the user program The main features of the internal data structure are the same for all the intelligent terminals. This data area is organized as words and comprises 64 registers. The important data and parameters of the terminal can be read and set through this structure.
Access from the user program • R12: Minimum data length The particular byte contains the minimum data length for a channel that is to be transferred. If the MSB is set, the control and status byte is not necessarily required for the terminal function and is not transferred to the control, if the Bus Coupler is configured accordingly.
Access from the user program R33 to R47: Terminal-specific registers The function of these registers depend on the respective terminal type (see terminal-specific register description). 5.4.5 Extended user area R47 to R63 This register specifies the terminal's operating modes. Thus, for instance, a user-specific scaling can be activated for the analog I/Os.
Access from the user program • R20: Manufacturer scaling - gain (A_h) 16 bits signed integer *2 [0x00A0] This register contains the scaling factor of the manufacturer's straight-line equation (1.5). The straight-line equation is activated via register R32. • R21: Additional offset register for two-wire connection The value of register 1 at short circuit +R1-RL1 or +R2-RL2 [approx.
Access from the user program 5.5.4 Output format If only manufacturer scaling via the feature register is active, the output format is as follows: • 1 digit corresponds to 1/10 °C or • 1 digit corresponds to 1/10 Ω If no scaling is active, the output format is as follows: •...
Access from the user program Control and status byte 5.6.1 Control byte for process data exchange The control byte is transmitted from the controller to the terminal. It can be used • in register mode (REG = 1 ) or •...
Access from the user program • Gain compensation is then carried out independently of the offset, e.g. at 300 Ω. 300 Ω corresponds to 557.7°C = 0x15C9 5.6.4 Default setting of the registers • R17: 0xED68 corresponds to -90.8 Ω • R18: 0x4E20 corresponds to 2000 * 16-5 = 0,01907 Ω/digit •...
Access from the user program If bit 6 is set, then the user data is written into a register. As soon as the status byte has supplied an acknowledgement in the input process image, the procedure is completed (see example). Bit 0 to 5: Address The address of the register that is to be addressed is entered into bits 0 to 5 of the control byte.
Access from the user program 5.7.2 Example 1 Reading of register 8 in the BK2000 with a KL3202 and the end terminal: If the following bytes are transferred from the control to the terminal, Byte Byte 3 Byte 2 Byte 1 Byte 0 Name DataOUT 1...
The general use of hardware and software from the open PC world requires some checking: Unsuitable components can upset the PC system. Beckhoff integrates a handy display of the real-time jitter in order to provide administrators with a simple means of evaluating hardware and software. A system message during operation can draw attention to error states.
Page 51
According to the requirement for operating resources, the TwinCAT software devices can be distributed: TwinCAT PLC programs can be executed on PCs and on Beckhoff Bus Terminal controllers. A "message router" manages and distributes all the messages, both in the system and via TCP/IP connections. PC systems can be connected to one another by TCP/IP;...
Function block FB_KL320xConfig The function block FB-KL320xConfig can be used to configure the KL320x terminals. A more detailed description can be found in the Beckhoff Information System: TwinCAT2: TwinCAT PLC Lib: I/O functions/Bus Terminal configuration TwinCAT3: TwinCAT 3 PLC Lib:Tc2_I/O functions/Function blocks/Bus Terminal configuration Version: 4.4...
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.
List of illustrations List of illustrations Fig. 1 KL3201 ............................Fig. 2 KL3202 ............................Fig. 3 KL3204-0000 ..........................Fig. 4 KL3204-0030 ..........................Fig. 5 Data flow of the KL320x....................... Fig. 6 Attaching on mounting rail ......................Fig. 7 Disassembling of terminal......................Fig.