168
ifm
System Manual
ecomat
mobile
SmartController (CR2500) V05
PWM in the ecomatmobile controller
PWM signal processing
9.1.3
Function PWM100
IMPORTANT:
New
ecomat
mobile
controllers only support the function PWM1000 (
→
page
Contained in the library:
ifm_CRnnnn_Vxxyyzz.LIB
Available for the following devices:
•
CabinetController: CR0301, CR0302, CR0303
•
ClassicController: CR0020, CR0505
•
ExtendedController:
CR0200
•
PCB controller: CS0015
•
SafetyController: CR7020, CR7200, CR7505
•
SmartController:
CR2500
Function symbol:
PWM100
INIT
FREQUENCY
CHANNEL
VALUE
CHANGE
DITHER_VALUE
DITHER_FREQUENCY
Description
PWM100 handles the initialisation and parameter setting of the PWM outputs.
The function enables a simple application of the PWM function in the
ecomat
mobile
controller. The
PWM frequency can be directly indicated in [Hz] and the mark-to-space ratio in steps of 1 %. This
function is
not
suited for use in controllers, due to the relatively coarse grading.
The function is called once for each channel in the initialisation of the application program. For this, the
input INIT must be set to TRUE. During initialisation, the parameter FREQUENCY is also assigned.
NOTE
The value FREQUENCY must be identical for the channels 4...7 (for the ClassicController or
ExtendedController: 4...11).
For these channels, the function PWM (
→
page
) and function PWM100 must not be mixed.
The PWM frequency is limited to 5 kHz internally.
During cyclical processing of the program INIT is set to FALSE. The function is called and the new
PWM value is assigned. The value is adopted if the input CHANGE = TRUE.
Содержание Ecomat Mobile Series
Страница 1: ...System Manual SmartController CR2500 CoDeSys V2 3 Target V05 7390675 00 10 2009...
Страница 6: ......