Register description
The registers are used for parameterization of the Bus Terminals and are present once for each channel. They can be read or written by means of register communication.
- R0: A/D converter, raw value
Register R0 contains the raw value of the analog/digital converter. This is the unchanged analog value prior to any scaling.
- R1: A/D converter, raw value of the line
Register R1 contains the raw value of the line resistance between +R1 – RL1 or between +R2 – RL2.
- R6: diagnostic register
The status byte SBn of Channel n is shown in the low byte of register R6.
- R7: command register
The command register of KL3222 is currently not used.
- R8: terminal designation
Register R8 contains the name of the terminal: KL3222: 0x0C9C (3222dec)
- R9: firmware version
Register R9 contains the ASCII coding of the terminal's firmware version, e.g. 0x3141 = '1A'. The '0x31' corresponds here to the ASCII character '1', while the '0x41' represents the ASCII character 'A'.
This value cannot be changed.
- R12: minimum data length of a channel
- Bits 0 to 6 of the high-order byte indicate the minimum number of output data in bits: 000.0000bin = 0dec so 0 bytes.
- Bits 0 to 6 of the low-order byte indicate the minimum number of input data in bits: 001.1000bin = 24dec so 3 bytes.
- The fact that bit 7 is set indicates that the control and status byte are not mandatory for the terminal function and are not transferred in compact mode.
- R16: hardware version number
Register R16 contains the hardware version of the terminal.
- R17: manufacturer compensation - offset
This register contains the offset of the vendor calibration.
- R18: manufacturer compensation - gain
This register contains the gain of the vendor calibration.
- R19: manufacturer scaling - offset
This register contains the offset of the manufacturer scaling. It can be enabled by R32.1 in the feature register.
- R20: manufacturer scaling - gain
This register contains the gain of the manufacturer scaling. It can be enabled by R32.1 in the feature register.
- R23: reference calibration value: offset
This register contains the reference value of the calibration, which is determined during the vendor calibration.
- R24: reference calibration value: gain
This register contains the reference value of the calibration, which is determined during the vendor calibration.
- R31: code word register
- If you write values into the user registers without first entering the user code word (0x1235) into the code word register, the terminal will not accept the supplied data.
- If you write values into the user registers and have previously entered the user code word (0x1235) in the code word register, these values are stored in the RAM registers and in the SEEPROM registers and are therefore retained if the terminal is restarted.
- The code word is reset if the terminal is restarted.
- Feature register (R32)
The feature register specifies the terminal's operation mode.
Bit | R32.15 | R32.14 | R32.13 | R32.12 | R32.11 | R32.10 | R32.9 | R32.8 |
Name | SensorType |
Bit | R32.7 | R32.6 | R32.5 | R32.4 | R32.3 | R32.2 | R32.1 | R32.0 |
Name | ConnectionTech | Resolution | - | - | Watchdog | enManScal | enUsrScal |
Key | ||||
---|---|---|---|---|
Bit | Name | Description | Default | |
R32.15 ... R32.08 | SensorType | 0dec | PT100 | 0bin |
1dec | NI100 | |||
2dec | PT1000 | |||
3dec | PT500 | |||
4dec | PT200 | |||
5dec | NI1000 | |||
6dec | NI120 | |||
7dec | RS1000 | |||
14dec | RTD_RES16 | |||
15dec | RTD_RES64 | |||
16dec | RTD_KTSIEMENS2K | |||
17dec | KTY81110 | |||
18dec | KTY81121 | |||
19dec | KTY81122 | |||
20dec | KTY81151 | |||
21dec | KTY81221 | |||
22dec | KTY81210 | |||
23dec | KTY81221 | |||
24dec | KTY81222 | |||
25dec | KTY81251 | |||
26dec | KTY81252 | |||
27dec | KTY83110 | |||
28dec | KTY83121 | |||
29dec | KTY83122 | |||
30dec | KTY83151 | |||
31dec | KTY83152 | |||
32dec | KTY84130 | |||
33dec | KTY84151 | |||
34dec | KTSIEMENS1K | |||
35dec | KTSIEMENS2K_5 | |||
36dec | KTSIEMENS2K_7 | |||
37dec | KTSIEMENS1K_5 | |||
38dec | KTSIEMENS1K_7 | |||
others | reserved | |||
R32.7...R32.6 | ConnectionTech | 00dec | Two-conductor (not applicable, see note 2/3 conductor measurement) | 10bin |
01dec | Three-conductor (not applicable, see note 2/3 conductor measurement) | |||
10dec | Four-wire | |||
11dec | not connected | |||
R32.5 | Resolution | 0bin | Resolution: 1/10 °C | 1bin |
1bin | Resolution: 1/100 °C (high-precision) | |||
R32.4 | enS format | 0bin | Siemens format not active | 0bin |
1bin | Siemens format active | |||
R32.3 | - | 0bin | reserved | 0bin |
R32.2 | Watchdog | 0bin | Watchdog not active | 1bin |
1bin | Watchdog active | |||
R32.1 | enManScal | 0bin | Manufacturer scaling is not active | 0bin |
1bin | Manufacturer scaling is active | |||
R32.0 | enUsrScal | 0bin | User scaling is not active | 0bin |
1bin | User scaling is active |
- R33: User scaling - offset
This register contains the offset of the user scaling. User scaling can be enabled in the feature register via bit R32.0.
- R34: user scaling - gain
This register contains the gain of the user scaling. User scaling can be enabled in the feature register via bit R32.0.
- R37: filter constant of the A/D converter
Value in R37 | Limit frequency | Default |
---|---|---|
0dec | 50 Hz | 0dec |
1dec | 60 Hz | |
2dec | 100 Hz | |
3dec | 500 Hz | |
4dec | 1000 Hz | |
5dec | 2000 Hz | |
6dec | 3750 Hz | |
7dec | 7500 Hz | |
8dec | 15 kHz | |
9dec | 30 kHz | |
10dec | 5 Hz | |
11dec | 10 Hz |