117
ifm
Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n
2017-12-19
ifm function libraries
ifmFastInput.library
>
Output parameters
23261
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
udiValue
UDINT
Counter value; number of detected pulses
permissible = 0...4 294 967 295
udiValueCycle
UDINT
Cycle time of the input signal in [µs]
rValueFreq
REAL
frequency of the input signal in [Hz]
udiValueTime
UDINT
Time elapsed since the last edge evaluation
in [µs]
0...4 294 967 295
Diagnostic codes (
→
Messages / diagnostic codes of the function blocks
(
ERR_INVALID_VALUE
Error: At least one input parameter is invalid or outside the value range.
ERR_INTERNAL
Error: Internal system error
► Contact the ifm Service Center!
ERR_UNDEFINED
Error: Unknown error
► Contact the ifm Service Center!
ERR_TIMING
reserved
DIAG_INVALID_VALUE
At least one input parameter is invalid or exceeds the permissible area.
DIAG_INTERNAL
Internal system error.
DIAG_ACCESS
FB/Function cannot access the required resource; Resource is blocked by another task.
DIAG_CHANGEOVER_TIME
Minimum changeover time for the highside-lowside selection of the drivers has not yet
expired.
DIAG_SLOW_SIGNAL
Input signal is too slow for the measurement.
>