Register Description - Beckhoff KL3224 Documentation

Table of Contents

Advertisement

Access from the user program
5.5

Register description

The registers can be read or written via the register communication. They are used for the parameterization
of the terminal.
R0 to R7: Registers in the internal RAM of the terminal
The process variables can be used in addition to the actual process image. Their function is specific to the
terminal.
R0 to R5: Terminal-specific registers
The function of these registers depend on the respective terminal type (see terminal-specific register
description).
R0: Raw ADC value X_R
This register contains the raw ADC value.
R1: Raw ADC value of the line resistance between +R1 - RL1 or +R2 - RL2
R2 to R5: Reserved
R6: Diagnostic register
The diagnostic register can contain additional diagnostic information. Parity errors, for instance, that occur in
serial interface terminals during data transmission are indicated here.
R6: Diagnostic register
High byte: not used
Low byte: Status byte
R7: Command register
High-Byte_Write = function parameter
Low-Byte_Write = function number
High-Byte_Read = function result
Low-Byte_Read = function number
R8 to R15: Registers in the internal ROM of the terminal
The type and system parameters are hard programmed by the manufacturer, and the user can read them
but cannot change them.
R8: Terminal type
The terminal type in register R8 is needed to identify the terminal.
R9: Software version (X.y)
The software version can be read as a string of ASCII characters.
R10: Data length
R10 contains the number of multiplexed shift registers and their length in bits.
The Bus Coupler sees this structure.
30
Version: 2.0.0
KL3224

Advertisement

Table of Contents
loading

Table of Contents