2 general register description – BECKHOFF KL5111-0000 User Manual
Page 11

Register description
KL5111-0000
9
3.2 General register description
Complex terminals that possess a processor are capable of bidirectionally ex-changing data with the
higher-level control system. Below, these terminals are referred to as intelligent bus terminals. They
include the analog inputs (0 to 10V, -10 to 10V, 0 to 20mA, 4 to 20mA), the analog outputs
(0 to 10V, -10 to 10V, 0 to 20mA, 4 to 20mA), serial interface terminals (RS485, RS232, TTY, data
transfer terminals), counter terminals, encoder interfaces, SSI interfaces, PWM terminals and all other
parameterizable terminals.
Internally, all intelligent terminals possess a data structure that is identical in terms of it's essential
characteristics. This data area is organized in words and embraces 64 memory locations. The essential
data and parameters of the terminal can be read and adjusted by way of the structure. Function calls with
corresponding parameters are also possible. Each logical channel of an intelligent terminal has such a
structure (therefore, 4-channel analog terminals have 4 register sets.
This structure is broken down into the following areas:
Area
Register number
Process variables
0 to 7
Type registers
8 to 15
Manufacturer parameters
16 to 30
User parameters
31 to 47
Extended user area
48 to 63
3.2.1 Process
variables
R0 to R7: Registers in the terminal’s internal RAM
The process variables can be used in additional to the actual process image and their functions are
specific to the terminal.
R0 to R5: These registers have a function that depends on the terminal type.
R6: Diagnostic register
The diagnostic register may contain additional diagnostic information. In the case of serial interface
terminals, for example, parity errors that have occurred during data transfer are indicated.
R7: Command register
High-Byte_Write = function parameter
Low-Byte_Write = function number
High-Byte_Read = function result
Low-Byte_Read = function number
3.2.1.1
R8 to R15 Registers in the terminal’s internal ROM
The type and system parameters are programmed permanently by the manufacturer and can only be
read by the user but cannot be modified.
R8: Terminal type:
The terminal type in register R8 is needed to identify the terminal.
R9: Firmware Version X.y
The Firmware-Version can be read as an ASCII character string.