ifm
System Manual
ecomat
mobile
SmartController (CR2500) V05
PWM in the ecomatmobile controller
PWM signal processing
169
A current measurement for the initialised PWM channel can be implemented:
•
via the function OUTPUT_CURRENT (
→
)
•
or for example using the
ifm
unit EC2049 (series element for current measurement).
DITHER is called once for each channel during initialisation of the application program. When doing
so, input INIT must be set to TRUE. During initialisation, the value FREQUENCY for determining the
dither frequency and the dither value (VALUE) are transmitted.
Info
The parameters DITHER_FREQUENCY and DITHER_VALUE can be individually set for each channel.
Parameters of the function inputs
Name
Data type Description
INIT
BOOL
TRUE (in the 1st cycle):
PWM100 is initialised
FALSE: during cyclical processing of the program
FREQUENCY WORD
PWM
frequency in [Hz]
CHANNEL
BYTE
Current PWM channel / output
VALUE
BYTE
Current PWM value
CHANGE
BOOL
TRUE: new PWM value is adopted
FALSE: the changed PWM value has no influence on the
output
DITHER_VALUE
BYTE
Amplitude of the dither value in [%]
DITHER_FREQUENCY WORD
Dither frequency in [Hz]
Содержание Ecomat Mobile Series
Страница 1: ...System Manual SmartController CR2500 CoDeSys V2 3 Target V05 7390675 00 10 2009...
Страница 6: ......