154
ifm
Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n
2017-12-19
ifm function libraries
Library ifmOutPWM
uiDitherValue
UNIT
Peak-to-peak value of the dither signal
which overlays with the PWM signal, in
[‰]
permissible = 0...1
If the resulting PWM ratio value is outside
the 0...1000
‰ range, the dither value will
be temporarily internally reduced to the
minimum/maximum value that is possible,
so that the mean value of the PWM ratio
corresponds with the required value.
usiKP
USINT
Proportional component of the output
signal
permissible = 0...255
usiKI
USINT
Integral component of the output signal
0 ... 255
uiDesiredCurrent
UINT
Default value at the output channel.
When 0 is set, the output is immediately
deactivated.
0 ... 65535
>
Output parameters
23358
Parameters
Data type
Description
Possible values
xError
BOOL
Indication if an error occurred during the FB
execution
FALSE
No error occurred or the FB is
still being executed
TRUE
Error occurred
Action could not be
executed
Note diagnostic
information
eDiagInfo
DIAG_INFO Diagnostic information
→ List below (diagnostic codes:)
xPrepared
BOOL
State of the FB outputs
FALSE
FB outputs still invalid; FB is
still processed
TRUE
FB outputs valid; FB has been
processed
uiCurrent
UINT
Output current signal in [mA]
available = 0...final value of the
measuring range
uiPWMRatio
UINT
PWM pulse ration calculated by the PI
controller in [‰]
>