BECKHOFF KL2502 User Manual
Page 15

Terminal
configuration
KL2502, KL2512
13
Application parameters
R32: Feature register
[0x0004]
The feature register defines the terminal’s operating mode.
Feature bit No.
Description of the mode
Bit 0
1
User scaling active [0]
Bit 1
1
Manufacturer scaling active [0]
Bit 2
1
Watchdog timer active. If the terminal does
not receive any data for 100 ms, the PWM
signal is set to 0% duty cycle. [1]
Bit 12-3
0
reserved, don't change!
Mode
Value range
000
PWMH mode [000]
250 Hz to 20 kHz
001
PWML mode
2 Hz to 250 Hz
011
Frq-Cnt PWM mode
2 Hz to 2 kHz
101
Frq-Cnt pulse mode
2 Hz to 2 kHz
Bit15,Bit14,Bit13
111
Cnt-Cnt PWM mode
250 Hz to 8 kHz
R33: User offset B_w
16-bit signed integer
Linear equation:
Y = A_w X + B_w
This register contains the offset of the user linear equation. The linear
equation is activated via R32.
R34: User scaling A_w
16-bit signed Integer * 2
-8
This register contains the scaling factor of the user linear equation. The
linear equation is activated via R32.
R35: Period for PWM mode
[0x0FA0]
Subsequent to a restart of the processor, the period of R35 is entered in
R2.
During operation, this can be modified via R2 or R3.
Input is as described in R2.
R36: Duty cycle
[0x4000]
The ratio of the duty cycle to the period in the Frq-Cnt-PWM mode and in
the Cnt-Cnt-PWM mode is defined by this register.
0x2000 corresponds to 25% duty cycle
0x4000 corresponds to 50% duty cycle
R37: Pulse duration for the Frq-Cnt pulse mode
[0x0005]
The pulse duration in the Frq-Cnt pulse mode is entered in this register.
1 digit corresponds to 8 microseconds.