Table of Contents

Class EmergencyStopModule

Namespace
Loehnert.Lisrt.IO
Assembly
Loehnert.Lisrt.IO.dll

Represents a emergency off button.

public class EmergencyStopModule : EmergencyButtonModule, INotifyPropertyChangedEx, ICompositeModule, ILisrtModule, INotifyPropertyChanged, IDigitalInput, IHasKey, IHasDescription, IHasDeviceLabel
Inheritance
PropertyChangedBase
EmergencyStopModule
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Remarks

This module shows a state message if the emergency stop is actuated. You can disable this behavior by the DisableIsActiveMessage property.

Constructors

EmergencyStopModule(string, IDigitalInput, IDigitalInput, IDigitalOutput, ContactType)

Initializes a new instance of the EmergencyStopModule class.

public EmergencyStopModule(string name, IDigitalInput inputChannel1, IDigitalInput inputChannel2 = null, IDigitalOutput indicator = null, ContactType contactType = ContactType.NormmallyClosed)

Parameters

name string

The module name.

inputChannel1 IDigitalInput

Input channel 1.
If the input has no name, it is set by this constructor. See TrySetModuleName<T>(T, string, bool).
If the input is a ILisrtModule implementation, it is add as SubModules.

inputChannel2 IDigitalInput

Optional input channel 2, if the emergency stop has two contacts.
If the input has no name, it is set by this constructor. See TrySetModuleName<T>(T, string, bool).
If the input is a ILisrtModule implementation, it is add as SubModules.

indicator IDigitalOutput

Optional indicator that indicates whether the emergency stop button is pressed.
If the output has no name, it is set by this constructor. See TrySetModuleName<T>(T, string, bool).
If the input is a ILisrtModule implementation, it is add as SubModules.

contactType ContactType

The type of the contact.