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
49
Special function Zx (CNT): Synchronization (HW latch retrigger)
→
Enable/disable the special function (
→
see page 45)
If the synchronization of the counter value is parameterized for Zx (Parameter data of the
module (page 25)), Zx is used as
hardware (HW) latch retrigger
.
With a signal change 0
→
1 at input Zx,
1
the current count value is stored to REG_CNTx_LATCH page 94,
2
the load value is transferred as count value from REG_CNTx_LOADVAL page 93 to
REG_CNTx_CNT page 93
and
3
the count operation is continued
After an latch retrigger occurred, the bit MSG_CNT1_SFKT (page 28) or resp.
MSG_CNT2_SFKT (page 28) in the check-back interface is set. It can then be reset via bit
CNTx_LOGMSG page 32 in the control interface with 0
→
1
→
0.
• Single synchronization:
If in the Process output / control interface (page 32) the single synchronization is parame-
terized with CNTx_SINGLE = 1 (CNT1: byte 0, bit 6 / CNT2: byte 1, bit 6), a latch retrigger
is executed only with the
first
signal change 0
→
1 at Zx after enabling the counter with
CNTx_SFKT_DISABLE = 0.
• Periodical synchronization:
If in the Process output / control interface (page 32) the single synchronization is parame-
terized with CNTx_SINGLE = 0 (CNT1: byte 0, bit 6 / CNT2: byte 1, bit 6), a latch retrigger
is executed only with the
first
signal change 0
→
1 at Zx after enabling the counter with
CNTx_SFKT_DISABLE = 0.
When executing a HW latch retrigger, the following applies:
(REG_CNTx_LATCH) = (REG_CNTx_CNT)
and
(REG_CNTx_CNT) = (REG_CNTx_LOADVAL)
and
MSG_CNTx_SFKT = 1
if
CNTx_GENERAL_DISABLE = 0
and
CNTx_SFKT_DISABLE = 0
and
Zx 0
→
1
Содержание 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...