The Calculation/Logic (CALC) function block allows you to specify an expression that determines the block's output. Mathematical functions, logical operators, constants, parameter references, and I/O reference values can be used in the expression. There are no modes or alarm detection in the Calculation/Logic function block.
IN1 through IN[n] are the inputs to the block (as many as 16 inputs).
OUT1 through OUT[n] are the block outputs (as many as 16 outputs).
The following diagram shows the internal components of the Calculation/Logic function block: