Table of Contents

Class Elm3002

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

Represents an ELM3002 terminal with two 24Bit -/+30 V ... -/+20 mV oversampling voltage inputs.

public class Elm3002 : WCStateTerminalBase, INotifyPropertyChangedEx, INotifyPropertyChanged, ITerminal, IHasWCState
Inheritance
PropertyChangedBase
Elm3002
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Remarks

Commissioning

The parameters can be found in the TwinCAT project on the terminal configuration Settings.

Configure ELM3002 by settings page

  1. Constructor parameter samplesCount
  2. Constructor parameter sampleRateInHertz
  3. Check whether the IO task cycle time matches the sampling cycle time by recalculating it, otherwise a TimeBetweenPointsDiffersException could be thrown. CycleTime = Samples / SampleRate
  4. Range for each channel (CoE 8000:01)
  5. Only Extended Range is supported (CoE 8000:2E)

Constructors

Elm3002(ushort, double)

Initializes a new instance of the Elm3002 class.

public Elm3002(ushort samplesCount, double sampleRateInHertz)

Parameters

samplesCount ushort

Count of the oversampling samples (Mode of operation).

sampleRateInHertz double

Sample rate in hertz.

Remarks

The parameters can be found in the TwinCAT project on the terminal configuration 'Settings' -> 'Mode of operation' for samplesCount and 'Sample Rate[Hz]' for sampleRateInHertz.

Exceptions

ArgumentOutOfRangeException

Thrown when samplesCount or sampleRateInHertz is 0 (zero) or less.

Properties

Inputs

Gets the inputs.

public IReadOnlyList<Elm300xOversamplingInput> Inputs { get; }

Property Value

IReadOnlyList<Elm300xOversamplingInput>

Modules

Gets the ILisrtModules from the terminal, for example input channels.

public override IEnumerable<ILisrtModule> Modules { get; }

Property Value

IEnumerable<ILisrtModule>