Analog Control Blocks > Calculation/Logic function block

Calculation/Logic function block parameters

The following table lists the system parameters for the Calculation/Logic function block:

Table: Calculation/Logic function block system parameters:

Parameter

Units

Description

IN1 to IN16

Determined by source

The analog input value stored as a floating point with status. Integer parameters wired to IN1 to IN16 will be re-cast as floating point values.
Note

IN1 to IN16 should not be used for bit manipulation of integer values.

The number of inputs is an extensible parameter.

OUT1 to OUT16

Determined by expression

The analog output value stored as a floating point with status. Integer parameters wired to OUT1 to OUT16 will be truncated, not rounded up, from float to integer. For example, when OUT1 with a value of 29.75 is wired to an unsigned integer parameter, the unsigned integer will be 29.

The number of outputs is an extensible parameter.

ABNORM_ACTIVE

None

The indication that a block error condition not selected in BAD_MASK (on the function block level) is True (Active) or the indication that an error condition (at the module level) not selected in MERROR_MASK is True (Active) or a module status not selected in MSTATUS_MASK is True (Active).

ALGO_OPTS

None

The only algorithm option option available is:
  • AbortOnReadErrors
When selected, the expression algorithm aborts after a read error.

BAD_ACTIVE

None

The indication that a block error condition selected in BAD_MASK (at the function block level) is True (Active) or the indication that an error condition (at the module level) selected in MERROR_MASK is True (Active) or a module status selected in MSTATUS_MASK is True (Active).

BAD_MASK

None

The set of active error conditions that triggers a user-defined Bad condition. The user selects a subset of block error (BLOCK_ERR) conditions in the BAD_MASK parameter. When any of these conditions are True, the BAD_ACTIVE parameter becomes True. When any of the BLOCK_ERR conditions that are not included in BAD_MASK are True, ABNORM_ACTIVE becomes True.

BLOCK_ERR

None

The summary of active error conditions associated with the block. The possible block error for the Calculation/Logic function block is:

  • Configuration Error - the expression is empty

Note

Default values and data type information for the parameters are available by expanding the Parameter View window.