The valve's orientation (top, left, bottom, or right) is set when the dynamo is configured. The valve type (normally closed or normally open) is determined at configuration. The valve type determines the referenced threshold table to display the appropriate passive or active state color (DeviceControl_ColorGrey for normally closed (NC) valves and DeviceControl2_ColorGrey for normally open (NO) valves.
The following occurs at run time:
The valve body's outline becomes thicker and has the named Abnormal color when the numeric value of PV_D is equal to the configured abnormal state (0, 1, 2, or None).
The actuator top's outline top becomes thicker and has the Abnormal color when the numeric value of SP_D is equal to the configured abnormal state (0, 1, 2, or None).
The valve's edge color is based on the DCEdge color in the NamedColors threshold table unless the abnormal color is being shown.