IFM Electronic Ecomat Mobile Series System Manual page 162

Smart controller
Table of Contents

Advertisement

PWM in the ecomatmobile controller
The PWM frequency is implemented by means of an internally running counter, derived from the CPU
pulse. This counter is started with the initialisation of the function PWM. Depending on the PWM
output group (0...3 and / or 4...7 or 4...11), it counts from FFFF
a transmitted comparison value (VALUE) is reached, the output is set. In case of an overflow of the
counter (change of the counter reading from 0000
reset and the operation restarts.
If this internal counter shall not operate between 0000
can be transmitted for the internal counter. In doing so, the PWM frequency increases. The
comparison value must be within the now specified range.
PWM channels 0...3
These 4 PWM channels allow the most flexibility for the parameter setting. The PWM channels 0...3
are available in all
ecomatmobile
control or not.
For each channel an own PWM frequency (RELOAD value) can be set. There is a free choice
between the function PWM (→ page 165) and the function PWM1000 (→ page 169).
Calculation of the RELOAD value
Wert / Value
0000
100%
Figure: RELOAD value for the PWM channels 0...3
The RELOAD value of the internal PWM counter is calculated on the basis of the parameter DIV64
and the CPU frequency as follows:
ClassicController
ExtendedController
SafetyController
CabinetController (CR0303)
DIV64 = 0
RELOAD = 20 MHz / f
DIV64 = 1
RELOAD = 312.5 kHz / f
Depending on whether a high or a low PWM frequency is required, the input DIV64 must be set to
FALSE (0) or TRUE (1). In case of frequencies below 305 Hz respectively 152 Hz (according to the
controller), DIV64 must be set to "1" to ensure that the RELOAD value is not greater than FFFF
162
ifm
System Manual
ecomatmobile
controller versions; depending on the type they feature a current
0%
Reload
PWM
PWM
SmartController (CR2500) V05
backwards or from 0000
16
to FFFF
or from FFFF
16
16
and FFFF
, another preset value (RELOAD)
16
16
FFFF
SmartController
CabinetController (CR0301/CR0302)
PCB controller
RELOAD = 10 MHz / f
RELOAD = 156.25 kHz / f
PWM signal processing
forwards. If
16
to 0000
), the output is
16
16
PWM
PWM
.
16

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ecomat 100 cr2500

Table of Contents