Access from the user program
KL403x
38
Version: 4.1
•
R17: Hardware compensation - offset (B_a)
This register is used for hardware offset compensation (8-bit digital potentiometer) of the terminal. The
register is transferred to the hardware after each processor reset or with each write access to R17.
Note that the transferred offset does not correspond to the DAC values.
◦ High byte: reserved
◦ Low byte: Offset value (0 to 255)
•
R18: Hardware compensation - gain (A_a)
This register is used for hardware gain compensation (8-bit digital potentiometer) of the terminal. The
register is transferred to the hardware after each processor reset or with each write access to R17.
◦ High byte: reserved
◦ Low byte: Gain value (0 to 255)
•
R19: Manufacturer scaling - offset (B_h)
16 bit signed integer [0x0000]
This register contains the offset of the manufacturer straight-line equation (
). The
straight-line equation is enabled via register
.
•
R20: Manufacturer scaling - gain (A_h)
16 bit unsigned integer*2
-8
[0x0020]
This register contains the scale factor of the manufacturer's equation of the straight line (
).
The straight-line equation is enabled via register
.
1 corresponds to register value 0x0100.
•
R21: Manufacturer's switch-on value
[0 V], 12 bit unsigned integer in X [0x0000]
The manufacturer switch-on value is applied to the terminal output after a system reset or a watchdog
timer overflow (terminal has not received any process data for 100 ms).
The manufacturer switch-on value is enabled via register
.
R31 to R47: User parameter area (SEEROM)
The user parameters are specific for each type of terminal. They can be modified by the programmer. The
user parameters are stored in a serial EEPROM in the terminal, and are retained in the event of voltage
drop-out. The user area is write-protected by a code word.
• R31: Code word register in RAM
The code word
0x1235
must be entered here so that parameters in the user area can be modified.
If any other value is entered into this register, the write-protection is active. When write protection is
not active, the code word is returned when the register is read. If the write protection is active, the
register contains a zero value.
•
R32: Feature register
[0x0006]
This register specifies the operation modes of the terminal. Thus, for instance, a user-specific scaling
can be enabled for the analog I/Os.
Feature bit no.
Description of the operation mode
Bit 0
1
Bit 1
1
Manufacturer scaling (
Bit 2
1
Watchdog timer active [1]
In the delivery state, the watchdog timer is switched on. In the event of a watchdog overflow, either the
manufacturer or the user switch-on value is applied to the terminal output.
Bit 3
1
Sign / amount representation [0]
Bits 4 to 7
-
Reserved, don't change
Bit 8
0/1
0
bin
: Manufacturer switch-on value [0]
1
bin
: User switch-on value
Bits 9 to 15
-
Reserved, don't change
•
R33: User scaling - offset (B_w)
16 bit signed integer [0x0000]
This register contains the offset of the user straight-line equation (
Summary of Contents for KL403 Series
Page 2: ......