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. 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 PERIOD 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!).
12.5.2 SFC 224 - HSC - High-speed-Counter
This SFC serves for parameterization of the counter functions (high speed counter) for
the first 4 inputs.
Please note that this block is not part of the library for the Siemens TIA
Portal.
Parameters
Parameter Declaration Type Description
CHANNEL IN INT Number of the input channel for HSC
ENABLE IN BOOL Start bit of the job
DIRECTION IN INT Direction of counting
DUTY
MINLEN
RET_VAL (Return Value)
Description
VIPA SPEED7
Device Specific
Onboard I/O System 100V > SFC 224 - HSC - High-speed-Counter
HB00 | OPL_SP7 | Operation list | en | 18-30 283