Table of Contents

Class MeasuringBridgeInput

Namespace
Loehnert.Lisrt.IO.Beckhoff.Channels
Assembly
Loehnert.Lisrt.IO.Beckhoff.dll

Represents an analog measure bridge input.

public class MeasuringBridgeInput : ChannelLisrtModuleBase, INotifyPropertyChangedEx, ILisrtModule, INotifyPropertyChanged, IHasDeviceLabel, IHasKey, IHasServiceView
Inheritance
PropertyChangedBase
MeasuringBridgeInput
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Properties

HasError

Gets a value indicating whether the terminal has an error.

public bool HasError { get; }

Property Value

bool

IsSteady

Gets a value indicating whether the value is steady.

public bool IsSteady { get; }

Property Value

bool

Remarks

Configure the filter (CoE object 8000:11), steady state window (CoE object 8000:29) and the steady state tolerance (CoE object 8000:2A) for an optimal result.

Unit

Gets or sets the unit.

public string Unit { get; set; }

Property Value

string

Value

Gets the latest value.

public double Value { get; }

Property Value

double

Remarks

Use GetValue() to wait for a new measured value.

Methods

GetValue()

Gets the value by awaiting new data.

public double GetValue()

Returns

double

The latest scaled value.

Remarks

Awaiting new data (TxPDO Toggle) can take 10 to 250ms + cycle time.

Exceptions

InvalidOperationException

Thrown when over range is detected, or data are invalid, or range is invalid or the terminal has an error.

TimeoutException

Thrown when the TxPDO Toggle bit does not signal a new measurement in the expected time range.

ShowServiceView()

Shows the service window.

public void ShowServiceView()

Tare()

Tares the value temporary. The tare value will be lost on brownout.

public void Tare()

Remarks

Sets the bit "Tara" in the control word to true, awaits new data available ("TxPDO Toggle" in status word) and resets the bit "Tara".

Exceptions

TimeoutException

Thrown when the TxPDO Toggle bit does not signal a new measurement in the expected time range.