Behavior of Function Blocks with the Input i_xExecute

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. Additional rising edges at the input i_xExecute are ignored while the function block is being executed.

Once the execution is finished, the outputs q_xDone or q_xError remain TRUE until the input i_xExecute is set to FALSE. If the input is reset before the execution is finished, the function block continues to execute until it has finished its processing, and then the outputs q_xDone or q_xError are set to TRUE for one cycle.

Example