Enhanced Device Control (EDC) function block

Enhanced Device Control function block parameters

The following table lists the system parameters for the Enhanced Device Control function block.

Table: EDC block parameters
Parameter Units Description

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).

ACT_STATE_COUNT

None

The number of times OUT_D has transitioned from the Passive state to an active state since the last reset.

ACT_TIME

Seconds

The time in seconds that the block has been in an active state (PV_D not in the Passive state) since the last reset.

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 errors for an EDC block are:
  • Readback Failed
  • Local Override
  • Output Failure
  • Input Failure/Bad PV
  • Simulate Active

CAS_IN_D

None

The remote discrete setpoint value from another block or value written by block logic.

CFM_LOSS_TIMER

Seconds

The elapsed time of the TRIP_TIME setting. CFM_LOSS_TIMER is reset to zero when PV_STATE is Confirmed State n and PV_D changes from State n to another state.

CFM_STATE0_TIME

Seconds

The maximum time allowed to transition to State 0.

CFM_STATE1_TIME

Seconds

The maximum time allowed to transition to State 1.

CFM_STATE2_TIME

Seconds

The maximum time allowed to transition to State 2.

CFM_STATE3_TIME

Seconds

The maximum time allowed to transition to State 3.

CFM_STATE4_TIME

Seconds

The maximum time allowed to transition to State 4.

CFM_STATE5_TIME

Seconds

The maximum time allowed to transition to State 5.

CLEAR_PREV_FAIL

None

When non-zero, this parameter resets the last failure state stored in PREV_FAIL_STATE and returns to zero at the end of scan.

CMD_D

None

CMD_D is the discrete value and status of:
  • OUT_D when OUT_D is not in the Passive state
  • OUT_D + 10 when OUT_D is in the Passive state

COUNT_AS_TIMER

None

When True, this parameter enables the block's active state timer.

COUNT_NOF_AS

None

When True, this parameter enables the count of transitions to an active state.

CRACK_TIME

Seconds

The maximum time allowed to drop the confirmation PV_D of the previous state.

CRACK_TIMER

Seconds

The elapsed time of the CRACK_TIME setting. When the device cracks or changes state through the FV_D parameter, CRACK_TIMER is held at that value. CRACK_TIMER is reset to zero when PV_STATE enters Expecting State n and FAILURE_STATE is not State n confirm lost.

CUR_ACT_TIME

Seconds

The time in seconds that the block has been in an active state (PV_D is not in the Passive state) since the last transition of PV_D from the Passive state to an active state or from the last reset, whichever occurred last.

When the block is in the Passive state, CUR_ACT_TIME remains at its last value until PV_D transitions to an active state or RESET_ACT_TIME is set to True.

DELAY_TIME

Seconds

Specifies the delay time when SP_D is changed from the Confirmed Passive state to an Active state before the change is sent to PV_STATE logic. This allows a common external setpoint to cause a sequenced start of a group of motors. A change in SP_D to an Active state, when not in the Confirmed Passive state is not delayed.

DELAY_TIMER

Seconds

Elapsed time of DELAY_TIME or RESTART_TIME setting. DELAY_TIMER counts down from DELAY_TIME or RESTART_TIME to zero.

DEVICE_OPTS

None

Device options. Select options to control block logic.

DISABLE_IO_OUT

None

When this parameter is True, all IO_OUT_n are forced to zero, otherwise, IO_OUT_n are calculated based on the state mask.

F_IN_D1

None

Current value and status of IO_IN_1.

F_IN_D2

None

Current value and status of IO_IN_2.

F_IN_D3

None

Current value and status of IO_IN_3.

F_IN_D4

None

Current value and status of IO_IN_4.

F_OUT_D1

None

Current value and status of IO_OUT_1.

F_OUT_D2

None

Current value and status of IO_OUT_2.

F_OUT_D3

None

Current value and status of IO_OUT_3.

F_OUT_D4

None

Current value and status of IO_OUT_4.

FAIL_ACTIVE

None

True when FAILURE_STATE is not Clear.

FAILURE_STATE

None

The block failure states include Clear, State n crack time exceeded, State n travel time exceeded, State n confirm lost, where n is 0 to 5.

FORCE_SP_D

None

Discrete input that must be True to:
  • Force SP_D to FORCE_SP_VAL when the Force Setpoint in Auto device option is selected. or
  • Force CAS_IN_D to FORCE_SP_VAL when the Force Setpoint in Cas device option is selected.

FORCE_SP_VAL

None

This parameter's value is:
  • Copied to CAS_IN_D when the device option Force Setpoint in CAS is selected, or
  • Copied to SP_D when the device option Force Setpoint in Auto is active.

FV_D

None

The feedback state of the discrete device. FV_D represents the state of the field device as determined from state masks for the four discrete inputs when SIMULATE_D is disabled (False).

IGNORE_PV

None

When IGNORE_PV is True PV_D is a copy of OUT_D. IGNORE_PV forces the block logic to accept the requested state as confirmed without using an actual feedback as long as IGNORE_PV is True.

Note

Set this parameter to True to simulate the feedback to the correct state.

IGNORE_PV_ACT

None

Indicates if IGNORE_PV is True or not. IGNORE_PV can be assigned as an alarm.

ILK_SHUTD_ACTIVE

None

This parameter is True when there is an interlock or shutdown condition that changes the command OUT_D.

INSPECT_ACT

None

Indicates if Inspect is enabled and one or more of the limits for the block have been exceeded. The normal value is 0. This parameter is set to 1 only if both of the following conditions are true:
  • The Write to Inspect Alarm context menu item has been selected from Inspect for this block.

  • With the Current Hour filter selected, Inspect indicates that an abnormal condition exists for Mode, Control, Input, or Variability. (Note that an abnormal condition exists for Variability only if both the Variability Index and the Standard Deviation have exceeded their defined limits.)

INTERLOCK_D

None

Discrete input that must be True for OUT_D to remain in a state different than INTERLOCK_STATE when the Interlock device option is selected.

INTERLOCK_OPT

None

Interlock options. Select the block's behavior when the status of INTERLOCK_D, PERMISSIVE_D, or SHUTDOWN_D is Bad. The three options are:
  • Always Use Value - The block behaves as described in the block execution topic. This is the default value for INTERLOCK_OPT.
  • Use Last Good Value - The block uses the value of each parameter the last time the parameter's status was not Bad. Note that the last good value is not preserved on controller switchover.
  • Passive if Bad - If the status of any of these parameters is Bad, the block uses the Passive state value for that parameter.

INTERLOCK_STATE

None

Named State - The state selected among the six possible states and the Passive state as the Interlock state.

IO_IN_1

None

Input hardware reference that defines the Device Signal Tag (DST) for the first I/O channel used for the feedback field measurement.

IO_IN_2

None

Input hardware reference that defines the DST for the second I/O channel used for the feedback field measurement.

IO_IN_3

None

Input hardware reference that defines the DST for the third I/O channel used for the feedback field measurement.

IO_IN_4

None

Input hardware reference that defines the DST for the fourth I/O channel used for the feedback field measurement.

IO_OUT_1

None

Output hardware reference that defines the DST for the first output I/O channel of the block.

IO_OUT_2

None

Output hardware reference that defines the DST for the second output I/O channel of the block.

IO_OUT_3

None

Output hardware reference that defines the DST for the third output I/O channel of the block.

IO_OUT_4

None

Output hardware reference that defines the DST for the fourth output I/O channel of the block.

IO_OUT_DURATION1

Seconds

When non zero, IO_OUT_1 is pulsed and the duration of the pulse is defined by this parameter. Otherwise, IO_OUT_1 is sustained.

IO_OUT_DURATION2

Seconds

When non zero, IO_OUT_2 is pulsed and the duration of the pulse is defined by this parameter. Otherwise, IO_OUT_2 is sustained.

IO_OUT_DURATION3

Seconds

When non zero, IO_OUT_3 is pulsed and the duration of the pulse is defined by this parameter. Otherwise, IO_OUT_3 is sustained.

IO_OUT_DURATION4

Seconds

When non zero, IO_OUT_4 is pulsed and the duration of the pulse is defined by this parameter. Otherwise, IO_OUT_4 is sustained.

MODE

None

The mode record of the block. Contains the actual, target, permitted, and normal modes.

OPERATION_STATE

None

The block operation states include Normal, Tracking, Interlocked, Tripped, Shutdown, and Locked.

OUT_D

None

The discrete output value and status.

PASSIVE_STATE

None

The state selected among the six possible states as the Passive state.

PERMISSIVE_D

None

Discrete input that must be True for OUT_D to transition to an active state when the Permissive device option is set True and to any state when the Permissive to Any State device option is selected.

PREV_FAIL_STATE

None

Parameter that stores the previous FAILURE_STATE when FAILURE_STATE becomes Clear. The value is stored until an operator resets PREV_FAIL_STATE using CLEAR_PREV_FAIL (one shot). The only time PREV_FAIL_STATE changes is if another failure occurs.

PV_D

None

The discrete process variable used in block execution. It is a copy of FV_D or OUT_D or SIMULATE_IN_D.

PV_STATE

None

The current block state: one of six steady states and six transient states that correspond to the transitions between steady states.

RESET_ACT_SP

None

When RESET_ACT_SP is True it resets NOF_ACT_STATE to 0 (zero).

RESET_ACT_TIME

None

When RESET_ACT_TIME is True it resets ACT_TIME and CUR_ACT_TIME to 0

RESET_D

None

Unlocks the Enhanced Device Control block when the Reset Required option is selected.

RESTART_TIME

Seconds

Specifies the delay time when SP_D is changed when the Enhanced Device Control block is not in the Confirmed Passive state. The value of OUT_D is held at the Passive state while DELAY_TIMER is active. This allows time for a motor to stop before reversing direction, or for a compressor to unload before restarting. A change in SP_D to the Passive state, when not in a Confirmed state, is not delayed.

S_ELAPSED_TIMER

Seconds

The elapsed time since all the SENTINEL conditions became False.

S_TIME_DURATION

Seconds

Specifies the time that must elapse before SENTINEL goes to False after all the SENTINEL conditions became False.

SENTINEL

None

SENTINEL is True when FAIL_ACTIVE or ILK_SHUTD_ACTIVE or WRITE_ERR_ACTIVE is True.

SHUTDOWN_D

None

Sets and holds OUT_D in the Passive state when SHUTDOWN_D is True.

SIMULATE_D

None

Use this parameter to enable simulation and enter an FV_D value and status when SIMULATE_IN_D is not connected.

SIMULATE_IN_D

None

The input connector value and status used for FV_D when simulation is selected.

SP_D

None

The setpoint for the EDC block. In Auto mode, SP_D represents the manually entered requested device state or value written by block logic. In Cas mode, SP_D comes from the CAS_IN_D input.

STATE_MASKS

None

The command and feedback state definition masks. STATE_MASKS map combinations of the feedback input signals to the six discrete states and maps each of the six discrete states to combinations of output signals.

STDEV_LIMIT

Percent

For Control blocks, InSight Inspect marks the block as having Large Variability if STDEV exceeds STDEV_LIMIT and VAR_IDX exceeds VAR_IDX_LIM.

For non-Control blocks, InSight Inspect marks the block as having Large Variability if STDEV exceeds STDEV_LIMIT.

TRAVEL_TIMER

Seconds

Holds the elapsed time of travel (the time it took to confirm the new requested state). TRAVEL_TIMER is held at the current value when FV_D is changed to the requested state. The timer is reset when the state changes from Confirmed.

Note

TRAVEL_TIMER can be used as a tool to set maximum confirm times.

TRIP_TIME

Seconds

The maximum time allowed before a loss of confirm is interpreted as a failure. For example, if a state is confirmed and the feedback changes state without requesting a new state, the time in TRIP_TIME must pass before the device is labeled State n confirm lost.

TRK_IN_D

None

Discrete input that causes OUT_D to track FV_D. If the SP Track on Tracking option is set in DEVICE_OPTS, SP_D also tracks FV_D when TRK_IN_D is 1.

WRITE_ERR_ACTIVE

None

WRITE_ERR_ACTIVE is True when Write Alarm is present.