Calling Operator

 

CAL

Overview

IEC operator for calling a function block or a program.

Use CAL in IL to call up a function block instance. Place the variables that will serve as the input variables in parentheses right after the name of the function block instance.

Example

Calling up the instance Inst of a function block where input variables Par1 and Par2 are 0 and TRUE, respectively.

CAL INST(PAR1 := 0, PAR2 := TRUE)