beautypg.com

Terminal-specific register description – BECKHOFF KL3064 User Manual

Page 12

background image

Register description

12

KL3064

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

R0: Raw ADC value X_R
This register contains the ADC raw value afflicted with gain and offset er-
rors.

R1 - R5: No function

R6: Diagnostic register
High byte: not used
Low byte: status byte

Manufacturer's Parameters R17: Offset – Hardware B_a

16 bit signed integer
The terminal’s offset is adjusted via this register (Eq. 1.1).
Register value approximately 0xFFXX

R18: Gain-Hardware A_a
16 bit * 2 ^-12
The terminal’s gain is adjusted by means of this register (Eq. 1.1).
In doing so a 1 corresponds to 0x1000.
Register value approximately 0x11XX

R19: Manufacturer –Offset B_h
16 bit signed integer [0x0000]
This register contains the offset of the manufacturer‘s straight-line equation
(1.3). The straight-line equation is activiated via R32.

R20: Manufacturer scaling A_h
16 bit signed integer *2^-10 [0x2002]
This register contains the scaling factor of the manufacturer’s straight-line
equation (1.3). The straight-line equation is activated via R32.
A 1 corresponds to the register value 0x0400.

R21: Over range limit: OVRL
16 bit signed integer in Y_a Gl 1.0 [0x0FFF]
This limit limits the maximum measured range of the input terminal. If it is
exceeded, the corresponding status bit is set and the maximum value is