Table of Contents

Class EL1262

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

Represents an EL1262 terminal with two digital 24V oversampling inputs.

public class EL1262 : WCStateTerminalBase, INotifyPropertyChanged, ITerminal, IHasWCState
Inheritance
EL1262
Implements
Inherited Members

Remarks

The setting 'DC/Oversampling' -> 'Operation Mode' must be set to '2 Channels (Bytes)'.

Constructors

EL1262(ushort, double)

Initializes a new instance of the EL1262 class.

public EL1262(ushort samplesCount, double sampleCycleTimeInMicroSeconds)

Parameters

samplesCount ushort

Count of the oversampling samples (Oversampling Factor).

sampleCycleTimeInMicroSeconds double

Time between two samples in microseconds (Sample Cycle Time).

Remarks

The parameters can be found in the TwinCAT project on the terminal configuration 'DC/Oversampling' -> 'Oversampling Factor' for samplesCount and 'Sample Cycle Time (μs)' for sampleCycleTimeInMicroSeconds.

Exceptions

ArgumentOutOfRangeException

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

Properties

Inputs

Gets the inputs.

public IReadOnlyList<DigitalOversamplingInput> Inputs { get; }

Property Value

IReadOnlyList<DigitalOversamplingInput>

Modules

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

public override IEnumerable<ILisrtModule> Modules { get; }

Property Value

IEnumerable<ILisrtModule>