n Define the output channel that you want to address.
– Value range: 0 ... 1
n Via this parameter you may activate the PWM function (true) res. deactivate it (false).
– Value range: true, false
n Type in the frequency in Hz as hexadecimal value.
– Value range: 09C4h ... C350h (2.5kHz ... 50kHz)
n This parameter shows the pulse duty ratio per mille. Here you define the relationship
between pulse length and pulse break, concerned on one period.
– 1 per mille = 1 TIMEBASE
n If the calculated pulse duration is no multiplication of the TIMEBASE, it is rounded
down to the next smaller TIMEBASE limit.
– Value range: 0 ... 1000
n Via MINLEN you define the minimal pulse length in μs. Switches are only made, if the
pulse exceeds the here fixed minimum length.
– Value range: 0 ... 60000
Via the parameter RET_VAL you get an error number in return. See the table below for
the concerning error messages:
Value Description
0000h no error
8005h Parameter MINLEN outside the permissible range
8006h Parameter DUTY outside the permissible range
8007h Parameter FREQUENCE outside the permissible range
8008h Parameter TIMEBASE outside the permissible range
8009h Parameter CHANNEL outside the permissible range.
9001h Internal error - There was no valid address for a parameter.
9002h Internal hardware error - Please contact the hotline.
9003h Output is not configured as PWM output respectively there is an error in
hardware configuration.
9004h HF-PWM was configured but SFC 223 was called (please use SFC 225
HF_PWM!).
CHANNEL
ENABLE
FREQUENCE
DUTY
MINLEN
RET_VAL (Return Value)
VIPA SPEED7
Device Specific
Onboard I/O System 100V > SFC 225 - HF_PWM - HF pulse duration modulation
HB00 | OPL_SP7 | Operation list | en | 18-30 286