2 terminal-specific register description – BECKHOFF KL1501 User Manual
Page 12

Terminal configuration
10
KL1501
3.2.2 Terminal-specific register description
R32:
Feature register
[0x0100]
The feature register specifies the operating modes of the terminal.
Feature bit no.
Description of the mode
Bit 0
-
No function
Bit 1
0/1
Output format
0: Standard output [0]
1: Alternative output
Bit 2
1
If two counters are active, the CNT_INH bit
becomes CNT_SET for the second counter [0].
Bit 3
1
The counter(s) is/are set with a positive edge of the
CNT_SET bit in the control byte [0]
Bit 4
1
The internal function for setting output OUT1 is
active [0].
Bit 5
1
The internal function for resetting output OUT1 is
active [0].
Bit 6
1
The internal function for setting output OUT2 is
active [0].
Bit 7
1
The internal function for resetting output OUT2 is
active [0].
001
32-bit up/down counter [001].
24-bit if alternative output format is active.
010
Standard output: 2 *16-bit up counter
Alternative output: counter0 is 8 bits and couner1 is
16 bits wide
The counting frequency is limited to approximately 5
kHz.
[Pulse width > 100 microseconds]
100
32-bit gated counter
24-bit if alternative output format is active
gate input low: counter is disabled
Bit 10, 9, 8
101
32-bit gated counter
24-bit if alternative output is active
gate input high: counter is disabled
Bit 11
0/1
Counting direction
0: Up [0]
1: Down
Bit 12
1
Terminal bus access is polled if the bit is set [0]
Bit 15, 14, 13
-
No function [0], don't change