BLOCK_FB

Top  Previous  Next

 

You can transfer a function block as parameter so that varying functions can be executed in the called block. For the call you have to use one of the operations UC or CC. Please note the dangers which are described there calling function blocks which have In/Out-parameter or use static variables.

 

The operation CALL is reserved for calls with specification of parameter. But parameter cannot be specified calling a BLOCK_FB because it is not known at the period of development which FB will be called.

 

See also:

Data Types