| Volume BaseComponent | |
| Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class  ClassTree | INDEX NO INDEX |
Class BaseManValve
|
||
|---|---|---|
| Version | 1.0 | |
| Modified | 30-SEP-2005 13:34:10.83 | |
Base component for a manual valve with two switches.Graphical Symbol
The graphical symbols for this object are BaseComponent/ManValve, ManValveNoSwitches, ManValveSwitchClosed, ManValveSwitchOpen and ManValveTwoSwitches..

Default dynamics: - the valve symbol is filled with the original color when the valve is open. - colored white when the valve is closed. - colored gray when no switch is affected. - colored red when an error occurs (both switches are present simultaneously). Default action: - the methods menu is opened with MB3.Object Graph

If the valve doesn't have any limit switches, it is possible to set the displayed position of the valve from the object graph. This is configured by setting OpIndication to 1. The graphical symbol ManValveNoSwitches should also be used.No switches

The figure displays a configuration without switches, where the operator has the possibility to set the state of the valve from the object graph. Set OpIndication to 1 to get this configuration, and use the graphical symbol ManValveNoSwitches.Supervision
If both limit switches for open and closed position are available, it is controlled that they aren't concurrently set. If the are, an alarm is sent.
Component configuration
- TwoSwitches Switch open and switch closed. - SwitchOpen Switch open. - SwitchClosed Switch closed. - NoSwitches No switches.Signals
Signals that should be connected to channel objects: - SwitchOpen Di (optional) - SwitchClosed Di (optional)Plc coding
For plc coding the function object BaseManValveFo is used.

Create a function object in the plc editor and connect it to the current object with the connect function.Simulate
No simulation object is needed for this object.See also
| RtBody attributes pwr_sClass_BaseManValve | |||
|---|---|---|---|
| Component | Super | Super class. | |
| BaseManValveGCEnum | GraphConfiguration | Enumeration for object graph configuration. Handled by the ConfigureComponent method. |
|
| Di | SwitchOpen | Digital input signal for switch open. | |
| Di | SwitchClosed | Digital input signal for switch closed. | |
| Boolean | IndError | Indication for error. | |
| DSupComp | Alarm | Alarm text for switch alarm. | |
| ValvePosEnum | PosEnum | Enumeration for valve position (open, closed or in between). | |
| Boolean | IndClosed | Indication for switch closed, if OpIndication is used. | |
| Boolean | OpIndication | Configures that the operator can set the position of the valve from the class graph. Only used if no switches are available. |
|
| Backup | OpIndBackup | Backup object for IndClosed. | |
| AttrRef | PlcConnect | The plc function object connected to this object. | |
| Template Object | |
|---|---|
| Alarm.DetectOn | 1 |
| Alarm.DetectText | Switch error |
| Alarm.EventType | 64 |
| Alarm.EventPriority | 67 |
| Alarm.EventFlags | 7 |
| Alarm.MoreText | |
| Alarm.Attribute | BaseComponent:Class-BaseManValve-Template |
| Alarm.CtrlPosition | 1 |
| Alarm.LockAttribute | 1 |
| DisableIndClosed | 1 |
| DisableOpIndication | 1 |
| DisableOpIndBackup | 1 |
| Super Attribute | ||
|---|---|---|
| Class | Attribute | |
| Type | Component | |
| Flags | Class|Superclass | |
| Body | RtBody | |
Super class.
| GraphConfiguration Attribute | ||
|---|---|---|
| Class | Attribute | |
| Type | BaseManValveGCEnum | |
| Flags | ||
| Body | RtBody | |
Enumeration for object graph configuration. Handled by the ConfigureComponent method.
| SwitchOpen Attribute | ||
|---|---|---|
| Class | Attribute | |
| Type | Di | |
| Flags | Class|DisableAttr | |
| Body | RtBody | |
Digital input signal for switch open.
| SwitchClosed Attribute | ||
|---|---|---|
| Class | Attribute | |
| Type | Di | |
| Flags | Class|DisableAttr | |
| Body | RtBody | |
Digital input signal for switch closed.
| IndError Attribute | ||
|---|---|---|
| Class | Attribute | |
| Type | Boolean | |
| Flags | ReduTransfer|Noedit | |
| Body | RtBody | |
Indication for error.
| Alarm Attribute | ||
|---|---|---|
| Class | Attribute | |
| Type | DSupComp | |
| Flags | Class|DisableAttr | |
| Body | RtBody | |
Alarm text for switch alarm.
| PosEnum Attribute | ||
|---|---|---|
| Class | Attribute | |
| Type | ValvePosEnum | |
| Flags | ReduTransfer | |
| Body | RtBody | |
Enumeration for valve position (open, closed or in between).
| IndClosed Attribute | ||
|---|---|---|
| Class | Attribute | |
| Type | Boolean | |
| Flags | ReduTransfer|Noedit|DisableAttr | |
| Body | RtBody | |
Indication for switch closed, if OpIndication is used.
| OpIndication Attribute | ||
|---|---|---|
| Class | Attribute | |
| Type | Boolean | |
| Flags | ReduTransfer|DisableAttr | |
| Body | RtBody | |
Configures that the operator can set the position of the valve from the class graph. Only used if no switches are available.
| OpIndBackup Attribute | ||
|---|---|---|
| Class | Attribute | |
| Type | Backup | |
| Flags | Class|DisableAttr | |
| Body | RtBody | |
Backup object for IndClosed.
| PlcConnect Attribute | ||
|---|---|---|
| Class | Attribute | |
| Type | AttrRef | |
| Flags | ||
| Body | RtBody | |
The plc function object connected to this object. This attribute is set when the function object is connected from the plc editor by the connect function.