Logical Blocks > Condition function block

Condition function block parameters

The following table lists the system parameters for the Condition function block:

Table: Condition function block system parameters

Parameter

Units

Description

ALGO_OPTS

None

The supported algorithm option is AbortOnReadErrors. When selected, the expression algorithm will abort after a read error. When the Condition block expression aborts, the value and status of PRE_OUT_D and OUT_D remain unchanged.

BLOCK_ERR

None

The summary of active error conditions associated with the block. The block error for the Condition function block is:

  • Configuration Error - The expression is empty

ERROR_OPT

None

Specifies how the block behaves when a read error occurs. The value of PRE_OUT_D will be False (default), True, or the last value prior to the read error as defined in ERROR_OPT (unless 'Abort on Read Errors' is set in ALGO_OPTS, in which case ERROR_OPT does not apply). The status of PRE_OUT_D is BadNoComm when a read error occurs.

DESC

None

User-specified description of the expression.

DISABLE

None

Enables/disables the block logic (True = disable, False = enable).

OUT_D

None

The discrete output value and status.

PRE_OUT_D

None

The internal value set when the expression evaluates to True for the period defined by TIME_DURATION. PRE_OUT_D ignores the DISABLE value.

TIME_DURATION

Seconds

Specifies the time the expression must be True to set OUT_D.

TIMER

Seconds

The time the expression is True.

Note

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