Class BaseSupSwitch
Version 1.0
Modified 04-OCT-2005 14:04:27.29
 Base component for a supervised switch.

 The object handles supervision of a digital switch. Alarm status
 is set when the switch signal is low. When the value is low, an
 alarm i generated.

 Alarm status for high signal is possible by inverting the Di
 channel.

 The alarm can be disabled by the DisableSup input of the function
 object. DisableSup does not affect the AlarmStatus output of the
 function object.

Graphical Symbol
 The graphical symbol for this object is BaseComponent/SupSwitch.

 Default dynamic:
 - the switch symbol is colored red when the signal value is lost.

 Default action:
 - the methods menu is opened with MB3.

Object Graph

Supervision
 If the signal value is lost, an alarm is sent.

Configuration


 Signals
 The object contains the Di signal 'Switch' that should be connected to a
 Di-channel.

Plc coding
 For plc coding the function object BaseSupSwitchFo is used.
 Create a function object in the plc editor and connect it to the current
 object with the connect function.

See also



RtBody attributes pwr_sClass_BaseSupSwitch
Component Super   Super class.
Di Switch   Switch digital input.
Boolean AlarmStatus   True if the switch signal is lost.
DSupComp Alarm   Alarm text when the signal is lost.
Float32 Delay   Alarm delay in seconds.
Boolean SupDisabled   Supervision is disabled.
Boolean SwitchNormallyOpen   Configuration of switch circuit, normally open (1) or normally closed (0).
AttrRef PlcConnect   The plc function object connected to this object.


Template Object
Switch.Description Switch digital input
Alarm.DetectOn 1
Alarm.DetectText Switch alarm
Alarm.EventType 64
Alarm.EventPriority 67
Alarm.EventFlags 7
Alarm.MoreText
Alarm.Attribute BaseComponent:Class-BaseSupSwitch-Template
Alarm.CtrlPosition 1
Alarm.LockAttribute 1


Attributes detail


Super Attribute
Class Attribute
Type Component
Flags Class|Superclass
Body RtBody
Super class.

Switch Attribute
Class Attribute
Type Di
Flags Class|DisableAttr
Body RtBody
Switch digital input.

AlarmStatus Attribute
Class Attribute
Type Boolean
Flags ReduTransfer
Body RtBody
True if the switch signal is lost.

Alarm Attribute
Class Attribute
Type DSupComp
Flags Class
Body RtBody
Alarm text when the signal is lost.

Delay Attribute
Class Attribute
Type Float32
Flags ReduTransfer
Body RtBody
Alarm delay in seconds.

SupDisabled Attribute
Class Attribute
Type Boolean
Flags ReduTransfer
Body RtBody
 Supervision is disabled.
 Shows the input DisableSup in the plc Fo object.

SwitchNormallyOpen Attribute
Class Attribute
Type Boolean
Flags ReduTransfer
Body RtBody
 Configuration of switch circuit, normally open (1) or normally closed (0).
 If normally open, the signalvalue in normal state is 0, and in alarm state 1.
 If normally closed, the signalvalue in normal state is 1, and in alarm state 0.

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.