3.7.2 Pulse Width Modulation
Pulse width modulation (PWM) is a special application of the coun-
ters. With a suitable external wiring a signal with variable duty cy-
cle can be generated with the help of counters 0…2. The duty cy-
cle can be varied in the range of 1…99 % in steps of 1.
The prescaler has to be sourced with an external base clock of
max. 10 MHz. This results in a max. output signal frequency of
50 kHz. Picture 14 shows the external wiring to be used with the
functions
(see also ME-iDS manual).
f
OUT_2 =
Base clock
(with <Prescaler> = 2…(2
16
– 1 ))
<Prescaler>
⋅
100
The following picture shows the external wiring of the counters for
the ME-5810.
For programming the PWM output please read the ME-iDS user
manual and the ME-iDS help file (see ME-iDS Control Center).