background image

 

Appendix 

 

KL304x and KL305x 

19 

 
 

Register Table 

 
These registers exist once for each channel. 

 

Address 

Denomination 

Default value 

R/W 

Storage medium 

R0 

Raw ADC value 

variable 

RAM 

R1 

reserved 

0x0000 

 

... 

... 

... 

... 

... 

R5 

reserved 

0x0000 

 

R6 

Diagnostic register 

variable 

RAM 

R7 

Command register not used 

0x0000 

 

R8 

Terminal type 

e.g. 3042 

ROM 

R9 

Software version number 

0x???? 

ROM 

R10 

Multiplex shift register 

0x0218/0130 

ROM 

R11 

Signal channels 

0x0218 

ROM 

R12 

Minimum data length 

0x0098 

ROM 

R13 

Data structure 

0x0000 

ROM 

R14 

reserved 

0x0000 

 

R15 

Alignment register 

variable 

R/W 

RAM 

R16 

Hardware version number 

0x???? 

R/W 

SEEROM 

R17 

Hardware compensation offset 

specific 

R/W 

SEEROM 

R18 

Hardware compensation gain 

specific 

R/W 

SEEROM 

R19 

Manufacturer scaling: Offset 

0x0000 

R/W 

SEEROM 

R20 

Manufacturer scaling: Gain 

0x2002 

R/W 

SEEROM 

R21 

Over range limit

 

0x0FFF 

R/W 

SEEROM 

R22 

Under range limit 

0x0000 

R/W 

SEEROM 

R23 

ADC hardware preset 

0x0000 

R/W 

SEEROM 

R24 

reserved 

0x0000 

R/W 

SEEROM 

... 

... 

... 

... 

... 

R30 

reserved 

0x0000 

R/W 

SEEROM 

R31 

Code word register 

variable 

R/W 

RAM 

R32 

Feature register 

0x1106 

R/W 

SEEROM 

R33 

User scaling: Offset 

0x0000 

R/W 

SEEROM 

R34 

User scaling: Gain 

0x0100 

R/W 

SEEROM 

R35 

Limit value 1 

0x0000 

R/W 

SEEROM 

R36 

Limit value 2 

0x0000 

R/W 

SEEROM 

R37 

reserved 

0x0000 

R/W 

SEEROM 

... 

... 

... 

... 

... 

R63 

reserved 

0x0000 

R/W 

SEEROM 

 

Summary of Contents for KL3041

Page 1: ...1 KL3042 and KL3044 Single Two and Four Channel Analog Input Terminals Measuring range 0 to 20 mA and KL3051 KL3052 and KL3054 Single Two and Four Channel Analog Input Terminals Measuring range 4 to 2...

Page 2: ...KL3041 and KL3051 2 KL3042 and KL3052 3 KL3044 and KL3054 3 4 Functional description 4 5 Terminal configuration 6 6 Register Description 7 General Description of Registers 7 Terminal specific register...

Page 3: ...e of the statements of this manual represents a guarantee Garantie in the meaning of 443 BGB of the German Civil Code or a statement about the contractually expected fitness for a particular purpose i...

Page 4: ...s signal voltage Current consumption from K Bus typically 65 mA Bits width in process image Input 1 x 16 bits of data 1 x 8 bit control status optional Input 2 x 16 bits of data 2 x 8 bit control stat...

Page 5: ...Connection KL304x and KL305x 3 KL3042 and KL3052 KL3044 and KL3054...

Page 6: ...hown in two s complement form integer 1 corresponds to 0xFFFF Other display types can be selected via the feature register e g sign amount representation Siemens output format Measured value Output KL...

Page 7: ...h Manufacturer scaling R19 R20 B_w A_w User scaling R33 R34 a Neither user nor manufacturer scaling are active Y_a B_a X_adc A_a 1 0 Y_aus Y_a b Manufacturer scaling active factory setting Y_1 B_h A_h...

Page 8: ...erminal2 Channel2 8 User data allocation depending on mapping K Bus Beckhoff Lightbus bus coupler BK2000 To the bus terminal L H C S 0 D0 0 D0 1 D1 0 D1 1 C S 1 C S C S Data L Data H Data H Data L C S...

Page 9: ...r manual under Master configuration i Note The Appendix contains an overview of possible mapping configurations depending on the parameters that can be set Parameterization with KS2000 The parameteriz...

Page 10: ...iagnostic register can contain additional diagnostic information Parity errors for instance that occur in serial interface terminals during data transmission are indicated here R7 Command register Hig...

Page 11: ...r The manufacturer parameters are stored in a serial EEPROM in the terminal and are retained in the event of voltage drop out These registers can only be altered after a code word has been set in R31...

Page 12: ...gister contains the offset of the manufacturer s equation of the straight line 1 3 The straight line equation is activated via register R32 R20 Manufacturer scaling gain A_h 16 bits signed integer 2 1...

Page 13: ...1 active 0 The process data are compared with limit value 1 R35 and appropriate status bits are set Bit 10 1 Limit value 2 active 0 The process data are compared with limit value 1 R36 and appropriate...

Page 14: ...wing filter constants can be selected in R37 not possible for KL3044 and KL3054 In the standard setting the corresponding conversion time is 2 5 ms R37 Explanation 0x0000 2nd order FIR filter default...

Page 15: ...tion function is activated Bit 4 1bin Gain compensation Bit 3 1bin Offset compensation Bit 2 0bin Slower cycle 1000 ms 1bin Fast cycle 50 ms Bit 1 1bin up Bit 0 1bin down Status byte for process data...

Page 16: ...ister that is to be addressed is entered into bits 0 to 5 of the control byte Control byte in register mode MSB REG 1 W R A5 A4 A3 A2 A1 A0 REG 0bin Process data exchange REG 1bin Access to register s...

Page 17: ...yte 3 Byte 2 Byte 1 Byte 0 Name DataIN 1 DataIN 0 Not used Status byte Value 0x0B 0xE2 0x00 0x88 Example 2 Writing of register 31 in the BK2000 with an intelligent terminal and the end terminal If the...

Page 18: ...ignment any 2 Default mapping for CANopen CANCAL DeviceNet ControlNet Modbus RS232 and RS485 Coupler 3 Conditions Word offset High byte Low byte Complete evaluation no 0 Ch1 D0 Ch1 D1 Motorola format...

Page 19: ...Word offset High byte Low byte Complete evaluation yes 0 res Ch1 CB SB Motorola format no 1 Ch1 D1 Ch1 D0 Word alignment yes 2 res Ch2 CB SB Default mapping for Lightbus and Ethernet Coupler and Bus T...

Page 20: ...1 Ch2 D0 3 Ch3 D0 Ch3 CB SB 4 Ch4 CB SB Ch3 D1 5 Ch4 D1 Ch4 D0 Conditions Word offset High byte Low byte Complete evaluation yes 0 Ch1 D1 Ch1 CB SB Motorola format yes 1 Ch2 CB SB Ch1 D0 Word alignmen...

Page 21: ...egister variable R W RAM R16 Hardware version number 0x R W SEEROM R17 Hardware compensation offset specific R W SEEROM R18 Hardware compensation gain specific R W SEEROM R19 Manufacturer scaling Offs...

Page 22: ...nsive training program for BECKHOFF system components Hotline 49 0 5246 963 157 Fax 49 0 5246 963 199 e mail support beckhoff com BECKHOFF Service The BECKHOFF Service Centre supports you in all matte...

Reviews: