Equipment definition > Control module classes

Editing the NC_VALVE control module class

Use Control Studio to make changes to the NC_VALVE control module class. The changes to be made include adding a Deadtime block, an input parameter for the valve setpoint, and an output parameter for the PV. We will also change the mode properties for the DC1 block to allow Cascade as a permitted mode and to change the normal and target modes to Cascade. (The reason for making these changes to the mode properties is that the phases will write to the CAS setpoint. Later, during testing, you will have to put some of the valves in AUTO mode to change the setpoint.) The Deadtime block will be used to simulate the valve opening and closing. The valve setpoint and PV parameters will be used later when the control module is added to an equipment module. 

After configuring the logic for the module, we will open the Properties dialog and select Process as the primary control display for this module. Selecting the display at the class level eliminates the need to set the display for all the individual control module instances created from the class. (In a real process system, it may well be that many process graphics are available, but in this tutorial, only one process graphic is used.)