Operator: CAL
The IEC operator is used for calling function blocks.
In IL, CAL
calls the instance of a function block.
CAL <function block> (<input variable1> := <value>, <input variableN> := <value>)
Example 135. Example
Call of the Inst
instance of a function block with assignment of the Par1
and Par2
input variables with 0
or TRUE
CAL Inst(Par1 := 0, Par2 := TRUE);