Advanced function blocks > Cause and Effect Matrix function block

Cause and Effect Matrix function block parameters

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

Table: CEM function block system parameters

Parameter (Data Type)

Default Value (Units)

Description

ACTIVE_CAUSESn

(16-bit unsigned integer)

0

Indicates which of the causes associated with an effect are currently active (0).

CAUSEn

(Discrete with status)

0

Input parameter. Indicates an inactive (1) or active (0) process trip condition. CAUSEn is extensible from 1 to 16. The default count is 4.

CAUSE_MASK

(16-bit unsigned integer)

0

Bitstring used to mask causes, where 1 (True) means the corresponding cause cannot become active.

CEM_ALERTS

(Option bitstring)

None

Contains the runtime value of alarm conditions set by the block (inactive = 0, active = 1)

  • An Effect is forced to Trip or Normal

  • An Effect has a non-zero FIRST_OUT

For a description of the alerts and information on how to access them, refer to CEM_ALERTS table following below this table.

DELAY_TIMEn

(Floating point)

0

(Seconds)

The number of seconds before EFFECTn changes to Tripped after a trip is initiated due to an active cause.

DELAY_TIMERn

(Floating point)

0

(Seconds)

Countdown timer for the trip delay function for EFFECTn.

DESC_CAUSEn

(String)

None

User-defined label for CAUSEn.

DESC_EFFECTn

(String)

None

User-defined label for EFFECTn.

EFFECTn

(Discrete with status)

0

Normal (1) or Tripped (0). EFFECTn is extensible from 1 to 16. The default count is 1.

FIRST_OUTn

(16-bit unsigned integer)

0

Indicates the cause or causes that first tripped EFFECTn.

FORCE_EFFECTn

(Named Set)

Do Not Force

The choices are:

  • Do Not Force

  • Force Trip

  • Force Normal

FORCE_OPTS

(Option bitstring)

None

Configurable options for the forcing of Effects:

  • Forcing of multiple Effects is allowed

  • Force permit is not required to force Effects

  • Force permit control should be visible in operator interface

FORCE_PERMIT

(Boolean)

False

When a permit is required to force effects (see FORCE_OPTS), an effect can be forced only when FORCE_PERMIT is True.

LATENT_TRIP

(Boolean)

False

When True, indicates that changing FORCE_PERMIT from True to False trips one or more effects.

MATRIX

(16-bit unsigned integer matrix)

NA

Holds the association of causes with effects. It is configured using a grid of check boxes to associate one or more causes with each effect.

OVERRIDESn

(Named Set)

None

Indicates the highest priority override present on EFFECTn. The possible values are:

  • None

  • Forced to Trip

  • Forced to Normal

  • All associated Causes masked

REQUIRE_RESETn

(Boolean)

True

Determines whether an operator reset is required before EFFECTn can transition to Normal.

RESETn

(Boolean)

False

A value of True is required to transition STATEn from Ready to Reset to Waiting for Start Permit or Normal.

RESET_PERMITn

(Boolean)

True

A value of True is required for STATEn to transition to Ready to Reset.

START_PERMITn

(Boolean)

True

A value of True is required for STATEn to transition from Waiting for Start Permit to Normal.

STATEn

(Named Set)

Tripped

Indicates the current state of EFFECTn:

  • Normal

  • Trip Initiated-Delayed

  • Tripped

  • Waiting for Reset Permit

  • Ready to Reset

  • Waiting for Start Permit

STATUS_OPT

(Named Set)

Always use Value

Determines the behavior when the status of an input is Bad. Choices are:

  • Always use Value

  • Use Last Good Value if Bad

  • Trip if Bad

CEM_ALERTS

The following table shows the alerts that can appear for a CEM block, an explanation of each alert, the bit position of each alert, and how to access the alert bit from DeltaV Operate. Bits in CEM_ALERTS do not propagate to the module level.

Bit Value

Explanation

Bit Position

Access from DeltaV Operate

An Effect is forced to Trip or Normal

Active when any effect is being forced, that is, any FORCE_EFFECTn parameter is Force Trip or Force Normal.

0

CEM_ALERTS.F_CV[1]

An Effect has a non-zero FIRST_OUT

Active when there is a non-zero FIRST_OUTn.

1

CEM_ALERTS.F_CV[2]