4 Functions of the count inputs (CNT1 and CNT2)
4.1 Basic functions of the count inputs CNTx
40
XI/ON: XNE-2CNT-2PWM
04/2011 MN05002035Z-EN
www.eaton.com
The internal enable is reset automatically when a count limit is reached and STS_CNTx_RUN
is set = 0. In this case, with CNTx_ENABLE = 1 being active, a counter restart is executed
through first setting bit CNTx_GENERAL_DISABLE to "1" and then resetting it to "0".
4.1.8
Method of counting: periodical counting
If, in the Process output / control interface (page 32), periodical counting is activated via
CNTx_SINGLE =
0
, the counter reacts as follows depending on the main count direction
defined (Parameter data of the module (page 25)).
Table 10:
Main count
direction with
CNTx_SINGLE
=
0
Main count direction CNTx
Bit 1
Bit 0
0
0
Ba
sic fun
ction
Load value
The counting operation starts with the current count value.
Upper
count limit
If, while counting upwards, the counter reaches the upper count limit and
another counting pulse is received, the counter value jumps to the lower count
limit. The counter continues counting starting at the lower count limit.
Lower
count limit
If, while counting downwards, the counter reaches the lower count limit and
another counting pulse is received, the counter value jumps to the load value.
The counter continues counting starting at the load value.
Internal enable
The internal enable is not automatically reset. The counter remains active.
0
1
No
ne
Load value
The counting operation starts with the current count value.
Upper
count limit
If, when counting upwards, the counter reaches the upper count limit and
another counting pulse is received, the counter value jumps to the load value
and continues counting.
Lower
count limit
If, when counting downwards, the counter reaches the lower count limit and
another counting pulse is received, the counter value jumps to the load value
and continues counting.
Internal enable
The internal enable is not automatically reset. The counter remains active.
1
0
Up
Load value
The counting operation starts with the current count value.
Upper
count limit
If, while counting upwards, the counter reaches the upper count limit and
another counting pulse is received, the counter value jumps to the load value.
The counter continues counting starting at the load value.
Lower
count limit
If, while counting downwards, the counter reaches the lower count limit and
another counting pulse is received, the counter value jumps to the upper count
limit. The counter continues counting starting at the upper count limit.
Internal enable
The internal enable is not automatically reset. The counter remains active.
Содержание XNE-2CNT-2PWM
Страница 1: ...04 2011 MN05002035Z EN User Manual XI ON XNE 2CNT 2PWM Technology Module...
Страница 10: ...1 About this manual 1 3 Overview 10 XI ON XNE 2CNT 2PWM 04 2011 MN05002035Z EN www eaton com...
Страница 84: ...7 Report of configuration errors 7 1 Error register 84 XI ON XNE 2CNT 2PWM 04 2011 MN05002035Z EN www eaton com...