2 Getting Started - first steps for operating this module
2.2 Getting Started
XI/ON: XNE-2CNT-2PWM
04/2011 MN05002035Z-EN
www.eaton.com
15
2.2.2
PWM function
The following section describes the current procedure to output pulses at
PWM1
of
XNE-2CNT-2PWM:
Prerequisites / start conditions
The default parameterization fulfils all necessary prerequisites / start conditions for a pulse
output:
• Operation mode: Period duration / duty cycle definition,
→
module (page 25) and Period Duration / Duty Cycle Definition (page 61)
• Period duration: 1000 Hz,
→
• Duty cycle: 50 %,
→
• PWM1_ SINGLE = 0 (continuous enable,
→
see Process output / control interface
Enable
The pulse output
is generally enabled via the default settings
.
→
see Process output / control interface byte 2, bit 0, page 32).
The pulse output can be generally disabled using PWM1_ GENERAL_ DISABLE = 1.
An enabled PWM function is displayed via
STS_PWM1_GENERAL_ EN = 1.
(
→
see Process input / check-back interface byte 4, bit 4, page 28).
1
The user has to enable the pulse output using either the HW or the SW gate.
1.1
Hardware gate:
Input "Z" can be parameterized as HW gate for the pulse output:
Parameters:
Mode Z1 = 0001 = HW gate PWM (
→
see Parameter data of the module (page 25))
or
1.2
Software gate:
The software gate is set via the process output bit
PWM1_ ENABLE= 1.
(Process output / control interface byte 2, bit 1, page 32).
2
The pulse output is enabled.
3
The pulses are output according to the parameterized period duration and the parameter-
ized duty cycle (see above).
(
→
see Process input / check-back interface (page 28), byte 4, bit 5, STS_PWM1_RUN = 1)
Note
If a defined number of pulse is to be output, the bit PWM1_ SINGLE has to be set =
1 (Process output / control interface (page 32))
and
the number of the pulses to be
output has to be defined via REG_PWM1_CNTSV (load value register of PWM1, reg-
ister no. 0 × 64,
→
Содержание 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...