Terminal-specific register description – BECKHOFF KL3102 User Manual
Page 11

Register description
KL3102
11
User parameters
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
permanently in a serial EEPROM in the terminal and cannot be destroyed
by power failures. The user area is write protected over a Codeword.
i
Note
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
errors.
R1 - R5: No function
R6: Diagnostic register
High byte: not used
Low byte: status byte
Manufacturer's Parameters R17: Offset – Hardware B_a
ca. 0x00XX
16 bit signed integer
The terminal’s offset is adjusted via this register (eq. 1.1).
R18: Gain-Hardware A_a
ca. 0x24XX
16 Bit signed Integer* 2 ^-16 +1
The terminal’s gain is adjusted by means of this register (eq. 1.1).
In doing so a 1 corresponds to 0x0000, a 2 corresponds to 0xFFFF.
R19: Manufacturer –Offset B_h
[0x0000]
16 bit signed integer
This register contains the offset of the manufacturer‘s straight-line equation
(1.3). The straight-line equation is activated via R32.
R20: Manufacturer scaling A_h
[0x0100]
16 Bit signed Integer * 2^-8
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.