5 Functions of the PWM outputs (PWM1 and PWM2)
5.1 Functions of the PWM outputs (PWM1 and PWM2)
XI/ON: XNE-2CNT-2PWM
04/2011 MN05002035Z-EN
www.eaton.com
73
Special function Zx (PWM): Hardware latch retrigger
If Zx is parameterized as latch retrigger signal for the PWM output (Parameter data of the
module (page 25)), Zx is used as hardware (HW) latch retrigger
→
Enable/disable the special function (
→
see page 70)
With a signal change 0
→
1 at input Zx:
1
The content of register REG_PWMx_CNTDC is stored to REG_PWM_LATCH page 95,
2
and REG_PWMx_CNTDC is reloaded via REG_PWMx_CNTSV .
3
If the enabling is set via SW gate (PWMx_ENABLE), the signal output is started immedi-
ately.
After a latch retrigger event occurred, bit MSG_ PWM1_ SFKT (page 28)
MSG_ PWM2_ SFKT (page 28) in the check-back interface is set. It can be reset via bit
PWMx_LOGMSG page 32 in the control interface with 0
→
1
→
0.
• Single signal output:
If the single signal output (PWMx_SINGLE = 1) is parameterized in the Process output /
control interface (page 32), the function is only executed once with the
first
signal change
0
→
1 at Zx after enabling the output with PWMx_SFKT_DISABLE = 0.
• Periodical signal output:
If the periodical signal output (PWMx_SINGLE = 0) is parameterized in the Process output
/ control interface (page 32), the function is executed with the
every
signal change 0
→
1
at Zx after enabling the output with PWMx_SFKT_DISABLE = 0.
When executing a
HW
latch retrigger, the following applies:
(REG_PWMx_LATCH) = (REG_PWMx_CNTDC) and
(REG_PWMx_CNTDC) = (REG_PWMx_CNTSV) and
MSG_PWMx_SFKT = 1
if
PWMx_GENERAL_DISABLE = 0 and
PWMx_SFKT_DISABLE = 0 and
Zx 0
→
1
Note
A
software (SW) latch retrigger
is also possible (
→
see also Latch Retrigger (CNT)
(page 38)). Please use byte 2 (PWM1) or byte 3 (PWM2) bit 5 PWMx_SW_LR of the
Process output / control interface (page 32).
When executing a SW latch retrigger, the following applies:
(REG_PWMx_LATCH) = (REG_CNTx_CNTDC) and
(REG_PWMx_CNTDC) = (REG_CNTx_CNTSV) and
MSG_PWMx_SW_LR = 1
if
PWMx_GENERAL_DISABLE = 0 and
PWMx_SW_LR 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...