PWM in the ecomatmobile controller
Ramp function
In order to prevent abrupt changes from one PWM value to the next, e.g. from 15 % ON to 70 % ON
(→ figure in PWM signal processing, → page 161), it is possible to delay the increase by using the
function PT1. The ramp function used for PWM is based on the CoDeSys library UTIL.LIB. This
allows a smooth start e.g. for hydraulic systems.
NOTE
When installing the
ecomatmobile
have been stored in the program directory of your PC:
...\ifm electronic\CoDeSys V...\Projects\DEMO_PLC_CDV... (for controllers) or
...\ifm electronic\CoDeSys V...\Projects\DEMO_PDM_CDV... (for PDMs).
There you also find projects with examples regarding this subject. It is strongly recommended to follow
the shown procedure.
→ chapter ifm demo programs (→ page 25)
NOTE
The PWM function of the controller is a hardware function provided by the processor. The PWM
function remains set until a hardware reset (switching on and off the supply voltage) has been carried
out at the controller.
ifm
System Manual
ecomatmobile
CD "Software, Tools and Documentation", projects with examples
SmartController (CR2500) V05
PWM signal processing
165