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 Introduction ............................ 8 Technical data .......................... 12 Basic function principles........................ 13 Continuative documentation for I/O components with analog in and outputs .........
Page 4
Table of contents Version: 4.6 KL320x/KS320x...
, 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...
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.
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 Technical data Technical data KL3201, KS3201 KL3202, KS3202 KL3204, KS3204 KL3204-0030 Number of inputs Power supply via the K-bus Sensor types PT100, PT200, PT500, PT1000, Ni100, Ni120, Ni1000 NTC (10 kΩ), no resistance measurement (e.g. potentiometer connection) resistance output Connection technology 2 or 3-wire (pre-set to 3-wire) 2-wire...
Product overview Basic function principles Properties The KL320x analog input terminals enable resistance sensors to be connected directly. The conversion and linearization of the resistance value into a temperature is done locally in the terminal. The measured values are output in the following scaling: •...
Page 14
Product overview 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) A_h, B_h Manufacturer scaling A_w, B_w: User scaling Temperature sensor resistance value...
I/O Analog Manual Notes on I/O components with analog inputs and outputs, which is available for download on the Beckhoff homepage https://www.beckhoff.com on the respective product pages! It explains the basics of sensor technology and contains notes on analog measured values.
• Surroundings (working place, packaging and personnel) should by grounded probably, when handling with the devices. • 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. 6: Spring contacts of the Beckhoff I/O components Version: 4.6 KL320x/KS320x...
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. 7: 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.
Mounting and wiring Disassembly Fig. 8: 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. 9: 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 Explanation...
Mounting and wiring Connection 3.5.1 Connection system 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! Overview The bus terminal system offers different connection options for optimum adaptation to the respective application: •...
Mounting and wiring A tab for strain relief of the cable simplifies assembly in many applications and prevents tangling of individual connection wires when the connector is removed. Conductor cross sections between 0.08 mm and 2.5 mm can continue to be used with the proven spring force technology.
Mounting and wiring 3.5.2 Wiring 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! Terminals for standard wiring ELxxxx/KLxxxx and for pluggable wiring ESxxxx/KSxxxx Fig. 13: Connecting a cable on a terminal point Up to eight terminal points enable the connection of solid or finely stranded cables to the bus terminal.
Mounting and wiring Terminal housing High Density Housing 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 (conductors with a wire end sleeve) 0.14 ... 0.75 mm Wire size width (ultrasonically “bonded" conductors) only 1.5 mm (see notice [} 22]) Wire stripping length 8 ...
Mounting and wiring Contact assignment and LEDs 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/KS3201 Fig. 14: KL3201 - Contact assignment and LEDs Terminal point No.
Mounting and wiring KL3202/KS3202 Fig. 15: KL3202 - Contact assignment 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)
Mounting and wiring KL3204/KS3204, KL3204-0030 Fig. 16: KL3204, KL3204-0030 - Contact assignment and LEDs Terminal point No. Comment Input +R1 Input –R1 Input +R3 Input -R3 Input +R2 Input –R2 Input +R4 Input -R4 LED displays Color Description Error The respective channel is affected by a short circuit or broken wire. The resistance is in the invalid range of the characteristic curve.
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! •...
Pay also attention to the continuative documentation Ex. Protection for Terminal Systems Notes on the use of the Beckhoff terminal systems in hazardous areas according to ATEX and IECEx, that is available for download within the download area of your product on the Beckhoff homepage www.beckhoff.com!
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. 17: KS2000 configuration software Configuration You can configure the Fieldbus stations with the Configuration Software KS2000 offline.
Page 32
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.
Programming Programming Data structures 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 34
Programming 5.1.1.1 KL3201 Default mapping for: CANopen, CANCAL, DeviceNet, ControlNet, Modbus, RS232, RS485 Conditions Word offset High byte Low byte Complete evaluation: no Ch0 D1 Ch0 D0 Motorola format: no Word alignment: any Default mapping for: PROFIBUS, Interbus Conditions Word offset High byte Low byte Complete evaluation: no...
Page 35
Programming 5.1.1.2 KL3202 Default mapping for: CANopen, CANCAL, DeviceNet, ControlNet, Modbus, RS232, RS485 Conditions Word offset High byte Low byte Complete evaluation: no Ch0 D1 Ch0 D0 Ch1 D1 Ch1 D0 Motorola format: no Word alignment: any Default mapping for: PROFIBUS, Interbus Conditions Word offset...
Page 36
Programming 5.1.1.3 KL3204, KL3204-0030 Default mapping for: CANopen, CANCAL, DeviceNet, ControlNet, Modbus, RS232, RS485 Conditions Word offset High byte Low byte Complete evaluation: no Ch0 D1 Ch0 D0 Ch1 D1 Ch1 D0 Motorola format: no Ch2 D1 Ch2 D0 Word alignment: any Ch3 D1 Ch3 D0 Default mapping for:...
Programming 5.1.2 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. Motorola/Intel format, word alignment etc.) the terminal data are mapped in different ways to the Bus Coupler memory.
Programming Fig. 19: 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 • KL3204: 8 bytes of input data Parameterization via the fieldbus is not possible.
Programming 5.1.3 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.
Page 40
Programming 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. It is also possible for functions to be called by means of corresponding parameters.
Programming • 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.
Programming R33 to R47: Terminal-specific registers The function of these registers depend on the respective terminal type (see terminal-specific register description). 5.1.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.
Page 43
Programming 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.
Programming 5.1.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: •...
Programming 5.1.6 Control and status byte 5.1.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 • during process data exchange (REG = 0 The control byte can be used to carry out gain and offset compensation for the terminal (process data exchange).
Programming • Gain compensation is then carried out independently of the offset, e.g. at 300 Ω. 300 Ω corresponds to 557.7°C = 0x15C9 5.1.6.4 Default setting of the registers • R17: 0xED68 corresponds to -90.8 Ω • R18: 0x4E20 corresponds to 2000 * 16-5 = 0,01907 Ω/digit •...
Programming 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. Control byte in register mode REG=1 • REG = 0 : Process data exchange •...
Programming 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 (0x0C82 corresponds to unsigned integer 3202). Byte Byte 3 Byte 2 Byte 1 Byte 0...
Programming • The terminal returns the firmware version 0x3341 in the input data word (byte 1 and byte 2). This is to be interpreted as an ASCII code: ◦ ASCII code 0x33 represents the digit 3 ◦ ASCII code 0x41 represents the letter A The firmware version is thus 3A.
Page 50
Programming Input Data (answer of the Bus Terminal) Byte 0: Status byte Byte 1: DataIN1, high byte Byte 2: DataIN1, low byte 0x9F (1001 1111 0x12 0x35 Explanation: • The terminal returns the value of the control byte as a receipt in the status byte. •...
Programming Input Data (answer of the Bus Terminal) Byte 0: Status byte Byte 1: DataIN1, high byte Byte 2: DataIN1, low byte 0xA0 (1010 0000 0x00 0x02 Explanation: • The terminal returns the value of the control byte as a receipt in the status byte. •...
Page 52
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 53
HTTP. A TwinCAT component is available for this purpose. Beckhoff Information System Further information on the TwinCAT automation software can be found in the Beckhoff Information System. The setup for installing the Beckhoff Information System is available to you on the Beckhoff Products & Solutions DVD and on our website for download.
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.6...
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: https://www.beckhoff.com You will also find further documentation for Beckhoff components there.
KL3204-0000..........................Fig. 4 KL3204-0030..........................Fig. 5 Data flow of the KL320x ....................... Fig. 6 Spring contacts of the Beckhoff I/O components ................. Fig. 7 Attaching on mounting rail......................Fig. 8 Disassembling of terminal ......................Fig. 9 Power contact on left side ......................
Need help?
Do you have a question about the KS320 Series and is the answer not in the manual?
Questions and answers