Terminal-specific register description – BECKHOFF KL6051 User Manual

Page 10

Advertising
background image

Register description

10

KL6051

User parameters





i

Note

R31 - R47 "Application parameters" area (SEEROM)
The application parameters are specific to each terminal type. They can be
modified by the programmer. The application parameters are stored per-
manently in a serial EEPROM in the terminal and cannot be destroyed by
power failures. The user area is write protected over a Codeword.

R31: Code word-register in the RAM
The code word 0x1235 must be entered here to enable modification of
parameters in the user area. Write-protection is set if a different value is
entered in this register. When write protection is inactive, the code word is
returned during reading of the register. The register contains the value zero
when write protection is active.

R32: Feature-register
This register defines the operating modes of the terminal. For example, a
user-specific scaling can be activated for the analog I/O’s.

R33 - R47
Registers that depend on the terminal type

Extended application area

R47 - R63
These registers have not yet been implemented.

Terminal-specific register description

Process variables

R1-R5: no function

R6: diagnostic register [R/W]
HB

HB Status of station 2 (partner terminal)

LB

LB Status of station 1


R7: no function

Type registers

R8: terminal type [0x17A3] [R]
The terminal type in register R8 is identical with the general terminal desig-
nation.
HB,LB = 6051
HB = 0x17
LB = 0xA3

R9: software version X.y [R]
HB = main number X of X.y
LB = sub-number y of X.y

R10: data length [R]
R10 contains the number of multiplexed shift registers in the terminal bus
and their length in bits. The bus coupler sees this structure.
HB = 2 - multiplexed channels
LB = 24-bit shift registers

R11: signal channels [R]
In comparison with R10, this register contains the number of logically e-
xisting channels. Thus, for example, one physically existing shift register
may consist of several signal channels or vice versa.
HB = 1
LB = 48

R12: minimum data length (auto configuration) [R]
The respective byte contains the minimum data length to be transferred of
a signal channel. The status byte is omitted if the MSB is set.
HB = 48 ; HB is the number of outputs in the case of auto configuration
LB = 48 ; LB is the number of inputs in the case of auto configuration

Advertising