Access from the user program
KL31x2
45
Version: 2.4.0
5.4
Register overview
The registers are used for the parameterization of the Bus Terminals and are available for each channel.
They can be read or written by means of
Register no.
Comment
Default value
R/W
Memory
Raw ADC value
0x0000
0
dec
R
RAM
Calibration value: Offset
typically 0x0046
typically 70
dec
R
RAM
Calibration value: Gain
typically 0xF1CC
typically 61900
dec
R
RAM
R3
reserved
-
-
-
-
R4
reserved
-
-
-
-
R5
reserved
-
-
-
-
Diagnostic register
0x0000
0
dec
R
RAM
Command register
0x0000
0
dec
R/W
RAM
Terminal type
KL3132:
0xC3C
3132
dec
R
ROM
KL3142:
0xC46
3142
dec
KL3152:
0xC50
3152
dec
KL3162:
0xC5A
3162
dec
KL3172:
0x0C64
3172
dec
KL3182:
0x0C6E
3182
dec
Firmware version
e.g. 0x3141
e.g. 12609
dec
R
ROM
R10
Multiplex shift register
0x0218 / 0x0130
536
dec
/ 304
dec
R
ROM
R11
Signal channels
0x0218
536
dec
R
ROM
minimum data length of a channel
0x0098
152
dec
R
ROM
R13
Data structure
0x0007
7
dec
R
ROM
R14
reserved
-
-
-
-
R15
Alignment register
typically 0x7F80
typically 32,640
dec
R/W
RAM
Hardware version number
e.g. 0x0000
e.g. 0
dec
R/W
SEEPROM
Vendor calibration: Offset
typically 0x0046
70
dec
R/W
SEEPROM
Vendor calibration: Gain
typically 0x5208
typically 21000
dec
R/W
SEEPROM
Manufacturer scaling: Offset
0x0000
0
dec
R/W
SEEPROM
Manufacturer scaling: Gain
KL3162, KL3172,
KL3142, KL3152:
0x0100
256
dec
R/W
SEEPROM
KL3132, KL3182:
0x0080
128
dec
Upper limitation of the measuring
range
KL3162, KL3172,
KL3142, KL3152:
0xFFFF
65535
dec
R/W
SEEPROM
KL3132, KL3182:
0x7FFF
+32767
dec
Lower limitation of the measuring
range
KL3162, KL3172,
KL3142, KL3152:
0x0000
0
dec
R/W
SEEPROM
KL3132, KL3182:
0x8000
-32768
dec
Reference calibration value: Offset
typically 0x0046
typically 70
dec
R/W
SEEPROM
Reference calibration value: Gain
typically 0xF1CC
typically 61900
dec
R/W
SEEPROM
R25
reserved
-
-
-
-
...
reserved
-
-
-
-
R28
reserved
-
-
-
-
R29
Terminal type, special identifica-
tion
KL3132-0000
0x0000
0
dec
R
ROM
KL3142-0000
0x0000
0
dec
KL3152-0000
0x0000
0
dec
KL3162-0000
0x0000
0
dec
KL3172-0000
0x0000
0
dec
KL3172-0500
0x01F4
500
dec
KL3172-1000
0x03E8
1000
dec
KL3182-0000
0x0000
0
dec
R30
reserved
-
-
-
-
Code word register
0x0000
0
dec
R/W
RAM
Feature register
KL3162, KL3172,
KL3142, KL3152:
0x0180
384
dec
R/W
SEEPROM
KL3132, KL3182:
0x0182
386
dec