Table of Contents

Class Controller

Namespace
TwinSharp.NC
Assembly
TwinSharp.dll

Represents a controller in the TwinCAT NC system. This class provides access to the controller's parameters and state, allowing for the retrieval and manipulation of various control parameters and state information. It interacts with an AdsClient to communicate with the underlying system.

public class Controller
Inheritance
Controller
Inherited Members

Properties

Parameters

Gets the parameters of the controller, which include various control parameters such as ID, name, type, and control weights.

public ControllerParameters Parameters { get; }

Property Value

ControllerParameters

State

Gets the state of the controller, which includes various state parameters such as error state, output in absolute units, output in percent, and output in volts.

public ControllerState State { get; }

Property Value

ControllerState