Access from the user program
KL2521
33
Version: 2.1
•
R32: Feature register
[0x0030]
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…Bit1
-
No function
Bit 2
0
[0] Watchdog timer active
In the delivery state, the watchdog timer is switched on. Either the manufacturer's
of the user's switch-on value is output if the watchdog overflows.
Bit 3
1
[0] Signed amount representation
Signed amount representation is active instead of two's complement representa-
tion. (-1 = 0x8001).
Bit 4
1
[1] The counter is cleared on a positive edge of the Counter_Clear bit in the con-
trol byte (Control.5)
Bit 5
1
[1] Ramp function active
Bit 6
0/1
[0] Ramp base frequency
• 0:10 Hz / s
• 1: 1000 Hz / s
Bit 7
0/1
[0] Input mode
• 0:relative
• 1: direct
Bit 8
0/1
[0] Behavior when watchdog triggered
• 0:Manufacturer's switch-on value
• 1: User switch-on value
Bit 9
1
[0] Travel distance control active
Bit 10
0/1
[0] Counter
• 0: delete
• 1: set
Bit 11…12
-
No function
Bit 13…15
Pos. logic
Neg. logic
[000] Operation mode
Range of values
000
100
Frequency modulation
0 - 500 kHz
001
101
Pulse-direction control
010
110
Incremental encoder
•
R35: User switch-on value
If the user switch-on value has been enabled with bit
of the feature register, the terminal
sets its output to the user switch-on value in place of the manufacturer switch-on value on the
occurrence of a system reset or a watchdog timer overflow (terminal has not received any process data
for 100 ms).
•
R36: Base frequency 1 (low word)
This register contains the low word of the base frequency 1.
The base frequency 1 is used if
◦ the ramp function is deactivated and
◦ the Frequency_Selection bit (Control.0) is 0.
•
R37: Base frequency 1 (high word)
This register contains the high word of the base frequency 1.
The base frequency 1 is used if
◦ the ramp function is deactivated and
◦ the Frequency_Selection bit (Control.0) is 0.
•
R38: Base frequency 2 (low word)
This register contains the low word of the base frequency 2.
The base frequency 2 is used if
◦ the ramp function is deactivated and
◦ the Frequency_Selection bit (Control.0) is 1.
Summary of Contents for KL2521 Series
Page 2: ......