ifm
System Manual
ecomat
mobile
SmartController (CR2500) V05
PWM in the ecomatmobile controller
PWM signal processing
165
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,
→
), 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
ecomat
mobile
CD "Software, Tools and Documentation", projects with examples
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
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.