CALC

Conditional Call

If the content of the accumulator is TRUE, the function block defined in the operand field is called. After finishing processing the function block, the main program will be executed with the command following the CALC command.

Remarks

  • Valid operands for this operator must be of one of the following data types: Any valid function block identifier.

  • Operator only available in IL programming language.

Example

POU header

In this example the standard operator CALC is programmed in instruction list (IL).

In the POU header, all input and output variables are declared that are used for programming this function.

IL body

Modified on: 2019-01-25Feedback on this pagePanasonic hotline