Table of Contents

Class DriveParameters

Namespace
TwinSharp.NC
Assembly
TwinSharp.dll

The DriveParameters class provides an interface to interact with drive parameters in a TwinCAT system using the AdsClient. It allows reading and writing various properties of a drive such as its ID, name, type, and motor polarity inversion status.

public class DriveParameters
Inheritance
DriveParameters
Inherited Members

Properties

ID

The ID of the drive.

public uint ID { get; }

Property Value

uint

MotorPolarityInverted

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

public bool MotorPolarityInverted { get; set; }

Property Value

bool

Name

The name of the drive.

public string Name { get; }

Property Value

string

Type

The type of the drive.

public NcDriveType Type { get; }

Property Value

NcDriveType