CC

Top  Previous  Next

 

Conditional call

 

Syntax:

CC

FBxx

 

CC

FCxx

 

The specified block will be called if the RLO is ‘1’, otherwise the next instruction will be processed. No parameter list appears.

 

You should use this kind of calling just for functions and function blocks that have no parameter and no static variables because otherwise unexpected results will occur, in every case your program will be hard to understand.

 

If you do not specify an IDB when calling a FB the IDB of the calling block will be used instead!

This does not lead to sensible results quite often.

 

See also:

CALL

UC

 

List of operations