121
ifm
Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n
2017-12-19
ifm function libraries
ifmFastInput.library
>
Output parameters
23316
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
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
uiValueRatio
UINT
Depends on the mode that is set in the
eMode input.
Pulse/pause ratio of the input signal in [‰]
at:
IN_PERIOD_RATIO_CSI
IN_PERIOD_RATIO_CSO
Phase shift of the input signal at the B
channel to the signal at the A channel in [°]
IN_PHASE_CSI
IN_PHASE_CSO
Diagnostic codes (
→
Messages / diagnostic codes of the function blocks
(
STAT_PREPARING
State: FB/FUN is processed; final results are not yet available. Some output values are
updated in each PLC cycle.
STAT_DONE
State: FB/Function has been successfully executed and completed. There are valid
results on the outputs.
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_EXCEEDED_RANGE
Error: The value exceeds the value range of its data type.
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.
>