CAL

The IEC operator is used to call a function block.

CAL calls the instance of a function block in IL.

Syntax:

CAL <function block> (<input variable 1> := <value>,  <input variable N> := <value>)

Example:

Call of the instance fbInst of a function block with assignment of the input variables nVar1, bVar2 to 0 or TRUE.

CAL fbInst(nVar1 := 0, bVar2 := TRUE)