Control and status byte – BECKHOFF KL3201 User Manual
Page 17

Register Description
KL3201, KL3202 and KL3204
15
If the Siemens output format is selected, the lowest three bits are used for
status evaluation. 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.
Bit
Measured value
Bits 15-3
Bit 2
X
Bit 1
Error
Bit 0
Overflow
out of range
0
0
1
in range
Process data
0
0
0
R33: User scaling - offset (B_w)
16 bit signed integer
This register contains the offset of the user straight-line equation (1.6). The
straight-line equation is activated via register R32.
R34: User scaling (A_w)
16 bits signed integer* 2
-8
. This register contains the scaling factor of the
user straight-line equation (1.6). The straight-line equation is activated via
register R32.
R35 and R36: reserved
R37: Filter constant
[0x0000]
i
Note
This documentation applies to all terminals from firmware version 3x. The
version number can be found within the serial number on the right-hand
side face of the terminal: xxxx3xxx
Example: 52983A2A
The firmware version is 3A.
Filter constants:
First notch [Hz]
Conversion time [ms]
0x0000
25
250
0x50
100
65
0xA0
50
125
0x140
25
250
0x280
12.5
500
Control and Status byte
Control byte for process
data exchange
Gain and offset
compensation
The control byte is transmitted from the controller to the terminal. It can be
used
- in register mode (REG = 1
bin
) or
- during process data exchange (REG = 0
bin
).
The control byte can be used to carry out gain and offset compensation for
the terminal (process data exchange). This requires the code word to be
entered in R31. The gain and offset of the terminal can then be
compensated.
The parameter will only be saved permanently once the code word is reset!
Control byte:
Bit 7 = 0
bin
Bit 6 = 1
bin
: Terminal compensation function is activated
Bit 4 = 1
bin
: Gain compensation
Bit 3 = 1 offset compensation
Bit 2 = 0
bin
: Slower cycle = 1000 ms
1
bin
: Fast cycle = 50 ms
Bit 1 = 1
bin
: up
Bit 0 = 1
bin
: down