4 Functions of the count inputs (CNT1 and CNT2)
4.1 Basic functions of the count inputs CNTx
XI/ON: XNE-2CNT-2PWM
04/2011 MN05002035Z-EN
www.eaton.com
37
4.1.4
Enabling the counter
Prerequisite
:
Enabling the counter via hard- or software gate requires a general enable of the count function
using CNT1_ GENERAL_ DISABLE = 0 (default-setting).
Hardware gate (HW gate)
The count operation is enabled with signal Zx = 1 and disabled with Zx = 0.
Parameterization of Zx
In order to use Zx to enable the count operation, the special function of the input Zx has to be
enabled as well (
→
see Special function Zx (CNT): HW gate (page 47)).
The following applies for the HW gate:
STS_CNTx_RUN = 1,
if
CNTx_GENERAL_DISABLE = 0
and
CNTx_SFKT_DISABLE = 0
and
Zx = 1
Software-gate (SW gate)
The counter enable is done by setting the bits CNT1_ ENABLE (CNT1) or CNT2_ ENABLE
(CNT2) of the Process output / control interface (page 32).
The following applies for the HW gate:
STS_CNTx_RUN = 1,
if
CNTx_GENERAL_DISABLE = 0
and
CNTx_ENABLE = 1
Note
The counter can be enabled either per software
or
per hardware gate:
Example:
NOT
CNTx_GENERAL_DISABLE
AND
(SW-Tor
OR
HW-Tor)
Содержание 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...