Register description, General register description – BECKHOFF KL6051 User Manual

Page 8

Advertising
background image

Register description

8

KL6051


Register description

The complex terminals can be adjusted to different operating modes or
functionalities. The " general description of register " describes the con-
tents of the registers, which are identical for all complex terminals.

The terminal-specific registers are explained in the section following to it.

The access to the internal registers of the terminal is described in the sec-
tion " register communication ".

General register description

Complex terminals that possess a processor are capable of bidirectionally
ex-changing data with the higher-level control system. Below, these termi-
nals are referred to as intelligent bus terminals. They include the analog
inputs (0-10V, -10-10V, 0-20mA, 4-20mA), the analog outputs (0-10V, -10-
10V, 0-20mA, 4-20mA), serial interface terminals (RS485, RS232, TTY,
data transfer terminals), counter terminals, encoder interfaces, SSI inter-
faces, PWM terminals and all other parametrizable 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 para-
meters of the terminal can be read and adjusted by way of the structure.
Function calls with corresponding parameters are also possible. Each logi-
cal 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:
(You will find a list of all registers at the end of this documentation).

Area

Address

Process variables

0-7

Type registers

8-15

Manufacturer parameters

16-30

User parameters

31-47

Extended user area

48-63


Process variables

R0 - 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 - 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


Advertising