Volume BaseComponent | |
Attributes: Runtime | Development | System | Template | Detail C Binding: Struct | Class  ClassTree | INDEX NO INDEX |
Class BaseSafetySwitch | ||
---|---|---|
Version | 1.0 | |
Modified | 04-OCT-2005 10:21:50.77 |
Basecomponent for a safetyswitch A safety switch is used to prevent equipment from unintentionally being connected when electrical or mechanical work is carried out. The object supervises a digital input, and when the signal is low an alarm is sent. Alarms can be disabled by the DisableSup input in the function object. This does not affect the On output of the function object.Object Graph
The On indicator, normally green, is colored gray when the switch is disconnected. The switch is turned from 0 to 1 and a red padlock is viewed.Example
The figure displays a configuration with a safety switch, used to disconnect an electrical motor from the load.
Signal
The object contains the Di signal On that has to be connected to channel.Plc coding
For plc coding the function object BaseSafetySwitchFo is used.
Create a function object in the plc editor and connect it to the current object with the connect function.Simulate
No simulate object is needed for BaseSafetySwitch, but there is a simulate graph from which the On signal can be affected.
See also
RtBody attributes pwr_sClass_BaseSafetySwitch | |||
---|---|---|---|
Component | Super | Super class. | |
Di | On | Digital input. On is high when the switch is connected. | |
DSupComp | Alarm | Alarm text when the switch is disconnected. | |
Boolean | SupDisabled | Supervision is disabled. | |
AttrRef | PlcConnect | The plc function object connected to this object. |
Template Object | |
---|---|
Super.Specification | SafetySwitch |
Alarm.DetectOn | 1 |
Alarm.DetectText | Safety switch is not on |
Alarm.EventType | 64 |
Alarm.EventPriority | 67 |
Alarm.EventFlags | 7 |
Alarm.MoreText | |
Alarm.Attribute | BaseComponent:Class-BaseSafetySwitch-Template |
Alarm.CtrlPosition | 1 |
Alarm.LockAttribute | 1 |
Super Attribute | ||
---|---|---|
Class | Attribute | |
Type | Component | |
Flags | Class|Superclass | |
Body | RtBody |
Super class.
On Attribute | ||
---|---|---|
Class | Attribute | |
Type | Di | |
Flags | Class|DisableAttr | |
Body | RtBody |
Digital input. On is high when the switch is connected.
Alarm Attribute | ||
---|---|---|
Class | Attribute | |
Type | DSupComp | |
Flags | Class | |
Body | RtBody |
Alarm text when the switch is disconnected.
SupDisabled Attribute | ||
---|---|---|
Class | Attribute | |
Type | Boolean | |
Flags | ReduTransfer | |
Body | RtBody |
Supervision is disabled. Shows the input DisableSup in the plc Fo object.
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.