Class AnalogOutput
Represents a base class for a Beckhoff IO analog output.
public abstract class AnalogOutput : ChannelLisrtModuleBase, ILisrtModule, IHasDeviceLabel, IAnalogOutput, IHasKey, IHasDescription, IHasServiceView, IInitializable, INotifyPropertyChangedEx, INotifyPropertyChanged
- Inheritance
-
PropertyChangedBaseAnalogOutput
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Properties
Actuator
Gets or sets the actuator.
public IActuator Actuator { get; set; }
Property Value
Adjustment
Gets or sets the adjustment.
public IAdjustment Adjustment { get; set; }
Property Value
Description
Gets or sets the translatable description.
public ITranslation Description { get; set; }
Property Value
- ITranslation
InitializationState
Gets a value indicating whether the object is initialized.
public InitializationState InitializationState { get; }
Property Value
UnadjustedValue
Gets the value, that isn't adjusted by Adjustment.
public double UnadjustedValue { get; }
Property Value
UnscaledUnit
Gets the value of the UnscaledValue. Usually "V" or "mA".
protected abstract string UnscaledUnit { get; }
Property Value
UnscaledValue
Gets the real value of the analog output, not scaled by Actuator and not adjusted by Adjustment. Usually in V or mA.
public double UnscaledValue { get; }
Property Value
Value
Gets or sets the output value.
public double Value { get; set; }
Property Value
Methods
Exit()
De initializes the object.
public void Exit()
GetValue()
Gets the value by scaling the latest set value with Actuator and then with Adjustment.
public double GetValue()
Returns
- double
The latest set value.
Initialize()
Initializes the object.
public void Initialize()
SetValue(double)
Sets the value for the actuator. For example the revolutions per second.
public void SetValue(double value)
Parameters
value
doubleThe value to set.
ShowServiceView()
Shows the service window.
public void ShowServiceView()