Overview Execute command

This function block executes an internal command. This block is intended only for special projects. For further information please contact support.


Inputs

TR
Trigger
The command is executed when one of the conditions from the parameter Trigger type is met.

Outputs

AT
Number of threads Each command is executed in its own process in the background so that program execution is not blocked if execution takes longer. At this output the number of commands currently running in parallel is displayed. If this value no longer returns to 0, the frequency of the calls must be reduced.

Parameters

Trigger type
  • Rising edge: The command is executed when the input changes from 0 to 1.
  • Falling edge: The command is executed when the input changes from 1 to 0.
  • Change: The command is executed on every change at the input.




See also common parameters of all function blocks.