page 93
The RELOAD value has to be the same for channels 4...7.
The functions PWM and PWM100 must not be mixed.
The PWM frequency (and thus the RELOAD value) is
internally limited to 10 kHz.
The input DIV64 has to be set to 0 or 1 depending on whether a
high or low PWM frequency is required (see page 89/90).
While the program is running INIT must be set to FALSE. The
function is called and the new PWM value is transferred. The
value is accepted when input CHANGE = TRUE.
The current of the initialised PWM channel can be measured via
function FAST_ANALOG.
PWM_DITHER is called up once for each channel during the
initialisation of the user program. Input INIT has to be set to
TRUE. During initialisation the DIVIDER (divisor) for establishing
the dither frequency and DELTA are transferred.
The DIVIDER value has to be the same for channels 4...7.
DELTA can be set individually for each channel
.