Page 1
Operating instructions for KL3041, KL3042 and KL3044 Single-, Two- and Four-Channel Analog Input Terminals Measuring range: 0 to 20 mA KL3051, KL3052 and KL3054 Single-, Two- and Four-Channel Analog Input Terminals Measuring range: 4 to 20 mA Version: 3.2 Date:...
Table of contents 1. Foreword Safety Instructions Copyright 2. Technical data 3. Connection KL3041 and KL3051 KL3042 and KL3052 KL3044 and KL3054 4. Functional description 5. Terminal configuration 6. Register Description General Description of Registers Terminal-specific register description Control and Status byte Register communication 7.
Technical data Technical data Technical data KL3041 KL3051 KL3042 KL3052 KL3044 KL3054 Number of inputs Power supply 24 V via the power contacts Signal current 0..20mA 4..20mA 0..20mA 4..20mA 0..20mA 4..20mA typically 80 Ω + diode voltage 0.7V Internal resistance Surge voltage resistance 35 V max.
Functional description Functional description The analog input terminals - KL304x process signals in the range between 0 and 20 mA - KL305x process signals in the range between 4 and 20 mA with a resolution of 12 bits (4095 increments). They can supply the sensors from voltage fed in via the power contacts.
Page 7
Functional description Process data The process data that are transferred to the Bus Coupler are calculated using the following equations: X_adc: Output values of the A/D converter Y_aus: Process data to PLC B_a,A_a: Manufacturer gain and offset compensation (R17, R18) B_h,A_h: Manufacturer scaling (R19, R20) B_w,A_w:...
2 bytes per channel: • KL3041 and KL3051: 2 bytes of input data • KL3042 and KL3052: 4 bytes of input data • KL3044 and KL3054: 8 bytes of input data Example for KL3042 and KL3052: Profibus bus coupler...
2 bytes per channel: • KL3041 and KL3051: 2 bytes of input data • KL3042 and KL3052: 4 bytes of input data • KL3044 and KL3054: 8 bytes of input data Parameterization via the fieldbus is not possible. If the control and status byte is to be used, the KS2000 configuration software is required.
Page 10
Register Description 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.
Page 11
Register Description R13: Data type register Data type register 0x00 Terminal with no valid data type 0x01 Byte array 0x02 Structure 1 byte n bytes 0x03 Word array 0x04 Structure 1 byte n words 0x05 Double word array 0x06 Structure 1 byte n double words 0x07 Structure 1 byte 1 double word 0x08...
Register Description Terminal-specific register description Process variables R0: Raw ADC value (X_R) This register contains the raw ADC value with gain and offset error. R1 to R5: Reserved R6: Diagnostic register High byte: reserved Low byte: Status byte R17: Hardware compensation - offset (B_a) Manufacturer parameters 16 bit signed integer This register is used for offset compensation of the terminal (Eq.
Page 13
The process data is represented in bits 3 to 15, with bit 15 representing the sign bit. Scaling of the measurement reading according to the Siemens standard has to be done via user scaling (R33, R34). KL3041, KL3042 and KL3044 Bit 15 to 3 Bit 2...
Page 14
Register Description R33: User scaling - offset (B_w) 16 bit signed integer This register contains the offset of the user straight-line equation (1.4). The straight-line equation is activated via register R32. R34: User scaling - gain (A_w) 16 bits signed integer* 2 This register contains the scale factor of the user straight-line equation (1.4).
Register Description Control and Status byte Control byte for process The control byte is transmitted from the controller to the terminal. It can be data exchange Gain and used offset compensation - 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).
Register Description Register communication Register access via If bit 7 of the control byte is set, then the first two bytes of the user data are process data exchange not used for exchanging process data, but are written into or read from the Bit 7=1 : Register mode terminal's register set.
Page 17
Register Description Example 1 Reading of register 8 in the BK2000 with a KL3042 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...
Ch1 D1 Ch1 D0 Bus Terminal Controller Word alignment: (BCxxxx, BXxxxx) Conditions Word offset High byte Low byte Complete evaluation: res. Ch1 CB/SB Motorola format: Ch1 D0 Ch1 D1 Word alignment: Legend See KL3042 and KL3052 mapping. KL304x and KL305x...
Page 19
Appendix KL3042 and KL3052 Default mapping for Conditions Word offset High byte Low byte CANopen, CANCAL, Complete evaluation: Ch1 D1 Ch1 D0 DeviceNet, ControlNet, Motorola format: Ch2 D1 Ch2 D0 Modbus, RS232 and Word alignment: RS485 Coupler Default mapping for...
Appendix Register Table These registers exist once for each channel. Address Denomination Default value Storage medium Raw ADC value variable reserved 0x0000 reserved 0x0000 Diagnostic register variable Command register not used 0x0000 Terminal type e.g. 3042 Software version number 0x???? Multiplex shift register 0x0218/0130 Signal channels...
BECKHOFF products and system solutions. BECKHOFF Support Support offers you comprehensive technical assistance, helping you not only with the application of individual BECKHOFF products, but also with other, wide-ranging services: • world-wide support •...
Need help?
Do you have a question about the KL3042 and is the answer not in the manual?
Questions and answers