Register Description - Beckhoff KL3222 Documentation

2 channel accurate input terminals for pt100 (rtd)
Hide thumbs Also See for KL3222:
Table of Contents

Advertisement

Access from the user program
5.4

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 [} 38].
• 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 (3222
• 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.0000
0
so 0 bytes.
dec
◦ Bits 0 to 6 of the low-order byte indicate the minimum number of input data in bits: 001.1000
24
so 3 bytes.
dec
◦ 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 [} 37] in the
feature register.
• R20: manufacturer scaling - gain
This register contains the gain of the manufacturer scaling. It can be enabled by R32.1 [} 37] 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.
36
Version: 2.3.0
)
dec
=
bin
=
bin
KL3222

Advertisement

Table of Contents
loading

Table of Contents