132
ifm
Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n
2017-12-19
ifm function libraries
Library ifmIOcommon.library
>
Output parameters
23223
Parameter
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
Diagnostic codes (
→
Messages / diagnostic codes of the function blocks
(
STAT_INACTIVE
State: FB/Function is inactive.
STAT_BUSY
State: FB/Function is currently executed.
STAT_DONE
State: FB/Function has been successfully executed and completed. There are valid
results on the outputs.
STAT_PREPARING
State: FB/FUN is processed; final results are not yet available. Some output values are
updated in each PLC cycle.
ERR_INVALID_FREQUENCY Error: Unsupported frequency.
ERR_INVALID_COLOUR
Error: Unsupported colour.
ERR_INVALID_VALUE
Error: At least one input parameter is invalid or outside the value range.
ERR_INSTANCE
Error: Instance is ZERO or invalid.
ERR_ACCESS
Error: FB/Funktion cannot access the required resource; Resource is blocked by another
task.
ERR_UNDEFINED
Error: Unknown error
► Contact the ifm Service Center!
ERR_NOT_SUPPORTED
Error: Invalid function calls; Function is not supported.
>