The
pulse duration
defines how long the output is set. It may be
preset in steps of 2.048ms between 0 and 522.24ms. The
pulse dura-
tion
starts with the setting of the according digital output. The inac-
curacy of the
pulse duration
is less than 2.048ms. There is no past
triggering of the
pulse duration
when the
comparison value
has been
left and reached again during pulse output.
The bit STS_DO is set together with the bit STS_CMP in
the counter status. In contrast to the bit STS_DO this bit
remains set as long as it is reset by setting the bit
RES_SET in the control word.
n
The
hysteresis
serves the avoidance of many toggle processes of
the output and the interrupt, if the
counter value
is in the range of
the
comparison value
.
n
For the hysteresis you may set a range of 0 to 255.
n
The settings 0 and 1 deactivate the
hysteresis
.
n
The
hysteresis
influences zero run, comparison, over- and under-
flow.
n
An activated
hysteresis
remains active after a change. The new
hysteresis
range is activated with the next
hysteresis
event.
The following pictures illustrate the output behavior for
hysteresis
0
and
hysteresis
3 for the according conditions:
1
Counter value
³
comparison value
®
output is set and
hysteresis
activated
2 Leave
hysteresis
range
®
output is reset
3
Counter value
³
comparison value
®
output is set and
hysteresis
activated
4 Leave
hysteresis
range, output remains set for
counter value
³
comparison value
5
counter value
<
comparison value
and
hysteresis
active
®
output
is reset
6
counter value
³
comparison value
®
output is not set for
hyste-
resis
active
7 Leave
hysteresis
range, output remains set for
counter value
³
comparison value
Hysteresis
Effect at counter value
³
comparison value
VIPA System SLIO FM 050
Deployment
Counter additional functions
HB300 | FM | 050-1BA00 | GB | 15-11
57