34
ifm Programming Manual AS-i Gateway AC14 (4.2.x) 12/2017
Programming Use functions of the ifm package
xExecute = TRUE:
xBusy = TRUE:
Rising edge (FALSE TRUE) starts execution of the FB.
FB execution has been started, but has not yet been completed.
xReady = TRUE:
xBusy = FALSE:
xError = FALSE:
FB execution completed; there are valid values on the data outputs.
FB is no longer active.
FB execution without faults.
All signal outputs are set to FALSE and all internal states are reset.
xReady = TRUE:
xBusy = FALSE:
xError = TRUE:
FB execution is terminated.
FB is no longer active.
Errors occurred during FB execution; wDiagnostic provides error code.
FB execution interrupted prior to completion; All signal outputs are set to FALSE and all
internal states are reset.
>
FB with cyclic execution
17141
Function blocks which, when activated, cyclically perform their function until they are deactivated have
the following control inputs and outputs:
Indication of whether execution of
the FB has been completed
FB execution not yet completed
Indication of whether faults have
occurred during execution of the
FB
Error occurred during execution of
the FB
Counters for the FB cycles
Integer value (hexadecimal representation)