I/O Blocks > Smart HART Discrete Output (SHDO) function block

Smart HART Discrete Output function block I/O selection

When you configure the Smart HART Discrete Output function block, you select the I/O channel associated with the discrete output by configuring the Device Signal Tag (DST) of the IO_OUT parameter to one of the Smart HART Discrete output variables. If the device provides a discrete input variable as the output's Readback, then configure IO_READBACK to map to that variable. Both output and input IO are shown below. Note that HART_DV_DOn parameters can be bound only to the IO_OUT parameter of the SHDO block

IO_READBACK IO_OUT (OUT_STATE)
HART_DV_DI0 HART_DV_DO0
HART_DV_DI1 HART_DV_DO1
HART_DV_DI2 HART_DV_DO2
HART_DV_DI3 HART_DV_DO3

OUT_STATE value mapping

The block's OUT_STATE values are hard coded and depend on the named set configured for the block's SP. The SHDO block output values are written to field devices over the wireless network.

The following table shows how the named set state values are mapped to OUT_STATE values for various named sets.

DeltaV Named Set Named State Value Named State Name Mapped to OUT_STATE Value
mtr2-sp 0 STOP 2
1 START 47
2 Not used n/a
3 Undefined n/a
mtrfr 0 STOP 2
1 FORWARD 9
2 REVERSE 10
3 UNDEFINED n/a
mtrfs 0 STOP 2
1 FAST 7
2 SLOW 8
3 UNDEFINED n/a
vlvnc and vlvnc_sp 0 CLOSE 4
1 OPEN 5
2 Not used n/a
3 UNDEFINED n/a
vlvno and vlvno-sp 0 OPEN 5
1 CLOSE 4
2 Not used n/a
3 UNDEFINED n/a
rosemount_discrete 0 FALSE 240
1 TRUE 242
2 Not used n/a
3 Undefined n/a
tank 0 STOP 2
1 FILL 40
2 DRAIN 41
3 Undefined n/a
temperature 0 OFF 0
1 HEAT 42
2 COOL 43
3 Undefined n/a
elevator 0 STOP 2
1 UP 38
2 DOWN 39
3 Undefined n/a
User defined Named Set 0 OFF 0
1 ON 1
2 Not used n/a
3 Undefined n/a