page 94
Funktion
PWM100
Library
CRxxxx.LIB
Function symbol
Purpose
The function is used to initialised and parameterise the PWM
outputs.
Parameter
Function inputs
Function outputs, none
Description
Function PWM100 allows a simple use of the PWM functions in
the R 360. The PWM frequency can be stated directly in Hz and
the pulse /break ratio in 1% steps. This function is not suited for
setting up high-accuracy proportional controls.
Function PWM100 is called up once for each channel during the
initialisation of the user program. The input INIT has to be set to
TRUE. During initialisation the parameter FREQUENCY is
transferred.
The FREQUENCY value has to be the same for channels
4...7. The functions PWM and PWM100 must not be mixed.
The PWM frequency is internally limited to 10 kHz.
Name
Data type
Description
INIT
BOOL
TRUE: PWM100 is initialised
FALSE: PWM100 is allocated new values
FREQUENCY WORD
PWM frequency in Hz
CHANNEL
BYTE
current PWM channel/output
VALUE
BYTE
current PWM value
CHANGE
BOOL
TRUE:
new PWM value is accepted
FALSE: changed PWM value has no
influence on the output
DITHER_
VALUE
BYTE
amplitude of the dither value in percent
DITHER_
FREQUENCY
WORD
dither frequency in Hz
Содержание ecomat 100 R 360 Series
Страница 1: ...System manual ecomat 100 type R 360 ...
Страница 14: ...page 14 ...
Страница 26: ...page 26 ...
Страница 86: ...page 86 ...
Страница 100: ...page 100 ...
Страница 126: ...page 126 ...
Страница 146: ...page 146 ...
Страница 162: ...page 162 ...
Страница 163: ...page 163 Annex 2 Wiring Annex 2 1 Type CR0015 ...
Страница 164: ...page 164 Annex 2 2 Type CR0016 ...
Страница 165: ...page 165 Annex 2 3 Type CR0017 ...
Страница 166: ...page 166 Annex 2 4 Type CR0501 ...