Behavior of Function Blocks with the Input i_xExecute and i_xAbort

General Information

A rising edge of the input i_xExecute starts the execution of the function block. The function block continues execution and the output q_xBusy is set to TRUE. A rising edge at the input i_xExecute is ignored while the function block is being executed.

A rising edge of the input i_xAbort aborts the execution of the function block. As soon as the abort procedure has been finished, the output q_xAborted is set to TRUE.

Once the execution or abort procedure has been finished, the outputs q_xDone, q_xError or q_xAborted remain TRUE until the input i_xExecute is set to FALSE. If the input is reset before the execution is finished, the outputs q_xDone, q_xError or q_xAborted are set to TRUE for one cycle. One cycle indicates the period until the next call of the function block.

Example