Table of Contents

Class EncoderParameters

Namespace
TwinSharp.NC
Assembly
TwinSharp.dll

The EncoderParameters class provides an interface to interact with encoder parameters via an AdsClient. It allows reading and writing various encoder settings such as ID, name, type, scaling factor, position offset, count direction, modulo factor, mode, soft end monitoring, soft end positions, evaluation direction, and filter times. The class uses an AdsClient to communicate with the encoder and retrieve or update these parameters.

public class EncoderParameters
Inheritance
EncoderParameters
Inherited Members

Properties

EncoderCountDirectionInverted

Encoder count direction. Writing is not allowed if the controller enable has been issued.

public bool EncoderCountDirectionInverted { get; set; }

Property Value

bool

EncoderEvaluationDirection

public EncoderEvaluationDirection EncoderEvaluationDirection { get; set; }

Property Value

EncoderEvaluationDirection

EncoderMode

Encoder mode.

public EncoderMode EncoderMode { get; set; }

Property Value

EncoderMode

FilterSecondsAcceleration

Filter time for actual acceleration value in seconds (P-T1). [0.0 ... 60.0].

public double FilterSecondsAcceleration { get; set; }

Property Value

double

FilterSecondsPosition

Filter time for actual position value in seconds (P-T1). [0.0 ... 60.0].

public double FilterSecondsPosition { get; set; }

Property Value

double

FilterSecondsVelocity

Filter time for actual velocity value in seconds (P-T1). [0.0 ... 60.0].

public double FilterSecondsVelocity { get; set; }

Property Value

double

ID

Encoder ID [1 ... 255]

public uint ID { get; }

Property Value

uint

ModuloFactor

Modulo factor.

public double ModuloFactor { get; set; }

Property Value

double

Name

Encoder name

public string Name { get; }

Property Value

string

PositionOffset

Position offset. Writing is not allowed if the controller enable has been issued.

public double PositionOffset { get; set; }

Property Value

double

ScalingFactor

Resulting scaling factor (numerator / denominator) Note: from TC3 the scaling factor consists of two components – numerator and denominator (default: 1.0). Writing is not allowed if the controller enable has been issued.

public double ScalingFactor { get; set; }

Property Value

double

SoftEndMaxMonitoring

Soft end max. monitoring?

public bool SoftEndMaxMonitoring { get; set; }

Property Value

bool

SoftEndMinMonitoring

Soft end min. monitoring?

public bool SoftEndMinMonitoring { get; set; }

Property Value

bool

SoftEndPositionMax

Soft end position max.

public double SoftEndPositionMax { get; set; }

Property Value

double

SoftEndPositionMin

Soft end position min.

public double SoftEndPositionMin { get; set; }

Property Value

double

Type

Encoder type

public EncoderType Type { get; }

Property Value

EncoderType