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
45
4.1.10
Special function of inputs Z1 and Z2 at CNTx
The inputs Z1 and Z2 can be used to support counter functions (or PWM functions,
→
see
The function of Zx is defined through the parameter "mode Zx" (
→
Possible functions of the count inputs (CNT1 and CNT2) at a signal change 0
→
1:
• alarm (
→
see Special function Zx (CNT): alarm (page 47))
• HW gate (counter enabling,
→
see Special function Zx (CNT): HW gate (page 47))
• Synchronization (latch retrigger, single or periodical with the load value,
→
tion Zx (CNT): Synchronization (HW latch retrigger) (page 49))
A
combination
of functions (for example: single synchronization
and
HW gate) is possible,
using a combination of Z1 and Z2 (
→
see also here Parameter data of the module (page 25)).
Note
Each special function of Zx is
enabled
per default via CNTx_SFKT_DISABLE
= 0
in
the Process output / control interface (page 32). The enabling of this function is ac-
knowledged via STS_CNTx_SFKT_EN = 1.
The special function is
disabled
via CNTx_SFKT_DISABLE
= 1
.
Table 11:
functions
Z1 and Z2
Bit 7 ...
Bit 4
(Value)
mode Z1
(
→
see byte 2 of the
Parameter data of the module (page 25))
mode Z2
(
→
see byte 5 of the
Parameter data of the module (page 25))
A
Default-
setting
0000
Alarm input CNT
A signal change 0
→
1 at Zx causes the setting of the MSG_CNTx_SFKT flag. This serves to also report short-
time events.
0001
A
HW gate CNT
The enabling can also be done per software gate (
→
see also here Enabling the counter (page 37))
– with Zx = 0, the counter is disabled
– with Zx = 1, the counter is enabled
0010
Single Latch-Retrigger CNT
With the first signal change 0
→
1 at Z1, the current
count value is copied into the register
REG_CNT1_LATCH and the load value 1 is trans-
ferred to counter 1. The count operation is not inter-
rupted.
With the first signal change 0
→
1 at Z2, the current
count value is copied into the register
REG_CNT2_LATCH and the load value 2 is trans-
ferred to counter 2. The count operation is not inter-
rupted.
0011
Continuous latch retrigger CNT
With the first signal change 0
→
1 at Z1, the current
count value is copied into the register
REG_CNT1_LATCH and the load value 1 is trans-
ferred to counter 1. The count operation is not inter-
rupted.
With the first signal change 0
→
1 at Z2, the current
count value is copied into the register
REG_CNT2_LATCH and the load value 2 is trans-
ferred to counter 2. The count operation is not inter-
rupted.
Содержание 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...