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.
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.
The following information is contained: Item Type of Explanation Data Number of digits Example information identifier incl. data identifier Beckhoff order Beckhoff order number 1P 1P072222 number Beckhoff Traceability Unique serial number, SBTNk4p562d7 Number (BTN) see note below Article description Beckhoff article 1KEL1809 description, e.g.
Page 9
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.
Fig. 2: KL5121 4 channel linear path control The KL5121 Bus Terminal can be used to implement linear path control. The terminal reads an incremental signal supplied by an incremental encoder or a pulse generator and switches the outputs at predefined counter states.
Product overview KL5121 - Technical data Technical data KL5121 Encoder connection A, B, Latch, Gate Encoder operating voltage 24 V Counter 16 bit, binary Cut-off frequency 1 million increments/s (with 4-fold evaluation) Output voltage 24 V Output current 0.5 A Switching times < 100 µs Power supply 24 V...
The signal LEDs indicate the state of the encoder inputs A and B, the latch and gate logic inputs and of the four outputs O1, O2, O3 and O4. Connections The KL5121 has 4 logical 24 V inputs and 4 logical 24 V outputs, as well as 8 contacts for the 24 V supply of external 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. 3: Spring contacts of the Beckhoff I/O components Installation on mounting rails WARNING...
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). Version: 3.1.0 KL5121...
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. KL5121 Version: 3.1.0...
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! Version: 3.1.0 KL5121...
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. KL5121 Version: 3.1.0...
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. Version: 3.1.0 KL5121...
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! KL5121 Version: 3.1.0...
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. Version: 3.1.0 KL5121...
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! •...
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! Version: 3.1.0...
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. KL5121 Version: 3.1.0...
Page 24
• 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. Version: 3.1.0 KL5121...
(i.e. for all analog terminals). This is always in the low byte on the offset address of the terminal channel. Fig. 12: Mapping for Lightbus Coupler - sample KL5121 BK3000 PROFIBUS Coupler In the BK3000 Profibus coupler, the KL5121 is always mapped with 6 bytes of input data and 6 bytes of output data. KL5121...
Access from the user program Fig. 13: Mapping for Profibus Coupler - example for KL5121 BK4000 Interbus Coupler The BK4000 Interbus Coupler normally maps the KL5121 with 6 bytes of input data and 6 bytes of output data. Fig. 14: Mapping for Interbus Coupler - sample for KL5121...
5.2.1 Standard format The KL5121 is mapped into the bus coupler depending on the set parameters. The terminal always occupies memory space in the process image of the inputs and outputs. Default: CANCAL, CANopen, DeviceNet, RS232, RS485, ControlNet...
Page 28
Status byte (appears in the process image of the inputs). D0/D1 Counter word (read/set) (D2) The period duration is output here, together with D3/D4. D3/D4 Latch word (read) “-“ This byte is not used or occupied by the terminal. Version: 3.1.0 KL5121...
0x0000 SEEROM Feature register 4 0x0000 SEEROM Pulse duration Ti for channel 4 0x01F4 SEEROM Rate time Tv for channel 4 0x1388 SEEROM Period Td for the channel 4 nozzle 0x4E20 SEEROM test R60...R63 reserved 0x0000 SEEROM KL5121 Version: 3.1.0...
• R9: Software version (X.y) The software version can be read as a string of ASCII characters. • R10: Data length R10 contains the number of multiplexed shift registers and their length in bits. The Bus Coupler sees this structure. Version: 3.1.0 KL5121...
Page 31
This register specifies the operation modes of the terminal. Thus, for instance, a user-specific scaling can be enabled for the analog I/Os. This register describes the hardware settings for channels 1-4 [0x0062] The default values are shown in square brackets. KL5121 Version: 3.1.0...
Page 32
Period Td for the channel 1 nozzle test • R40 - R43: Channel 2 register • R47 - R63 Extended registers with additional functions. • R48 - R51: Channel 3 register • R56 - R59: Channel 4 register Version: 3.1.0 KL5121...
5.5.1 Process data exchange Process data The KL5121 terminal occupies 6 bytes in the coupler’s input process image and 6 bytes in the output process image. There are two logical channels: data channel 0 and data channel 1. Data channel 0 Data channel 0 consists of control byte 0, input data word 0, status byte 0 and output data word 0.
Page 34
Bit 7 Acknowledge for table access Output data word 1 Output data word AW1 returns the addressed table entry when a table is accessed. Bit no. Meaning Bit 0 - 15 Content of the addressed table entry Version: 3.1.0 KL5121...
◦ Bit 6=1: The user data are written into a register. The process is complete once the status byte in the input process image has returned an acknowledgment (see example). • Bit 0 to 5: Address The address of the register to be addressed is entered in bits 0 to 5 of the control byte KL5121 Version: 3.1.0...
Sample 1 Reading register 8 in the BK2000 with a KL5121 and the end terminal: If the following bytes are transferred from the controller to the terminal,...
• 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. KL5121 Version: 3.1.0...
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. Version: 3.1.0 KL5121...
Page 39
• The terminal returns the value of the control byte as a receipt in the status byte. • The terminal returns the current value of the feature register in the input data word (byte 1 and byte 2). KL5121 Version: 3.1.0...
Page 40
• 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! Version: 3.1.0 KL5121...
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 42
Connecting a cable on a terminal point ..................Fig. 11 KS2000 configuration software....................Fig. 12 Mapping for Lightbus Coupler - sample KL5121 ................. Fig. 13 Mapping for Profibus Coupler - example for KL5121..............Fig. 14 Mapping for Interbus Coupler - sample for KL5121..............
Need help?
Do you have a question about the KL5121 and is the answer not in the manual?
Questions and answers