Table of Contents

Class Axis

Namespace
TwinSharp.NC
Assembly
TwinSharp.dll

Represents an axis in a TwinCAT NC system, encapsulating its functions, parameters, state, cyclic process data, and associated sub-elements such as encoders, controllers, and drives.

public class Axis
Inheritance
Axis
Inherited Members

Constructors

Axis(AdsClient, uint)

Creates a new axis object representation of the given ID.

public Axis(AdsClient client, uint id)

Parameters

client AdsClient
id uint

Properties

Controllers

Gets the array of controllers associated with the axis.

public Controller[] Controllers { get; }

Property Value

Controller[]

CyclicProcessData

Gets the cyclic process data of the axis.

public AxisCyclicProcessData CyclicProcessData { get; }

Property Value

AxisCyclicProcessData

Drives

Gets the array of drives associated with the axis.

public Drive[] Drives { get; }

Property Value

Drive[]

Encoders

Gets the array of encoders associated with the axis.

public Encoder[] Encoders { get; }

Property Value

Encoder[]

Functions

Gets the functions available for the axis.

public AxisFunctions Functions { get; }

Property Value

AxisFunctions

Parameters

Gets the parameters of the axis.

public AxisParameters Parameters { get; }

Property Value

AxisParameters

State

Gets the state of the axis.

public AxisState State { get; }

Property Value

AxisState

Methods

ToString()

Returns the name of the axis.

public override string ToString()

Returns

string