Class Spindle
Information about a CNC spindle
Inherited Members
Namespace: DuetAPI.ObjectModel
Assembly: DuetAPI.dll
Syntax
public sealed class Spindle : ModelObject, IModelObject, ICloneable, INotifyPropertyChanged, INotifyPropertyChanging
Properties
Active
Active RPM
Declaration
public int Active { get; set; }
Property Value
Type | Description |
---|---|
int |
CanReverse
Flags whether the spindle may spin in reverse direction
Declaration
public bool CanReverse { get; set; }
Property Value
Type | Description |
---|---|
bool |
Current
Current RPM, negative if anticlockwise direction
Declaration
public int Current { get; set; }
Property Value
Type | Description |
---|---|
int |
Frequency
Frequency (in Hz)
Declaration
public int Frequency { get; set; }
Property Value
Type | Description |
---|---|
int |
IdlePwm
Idle PWM value (0..1)
Declaration
public float IdlePwm { get; set; }
Property Value
Type | Description |
---|---|
float |
Max
Maximum RPM
Declaration
public int Max { get; set; }
Property Value
Type | Description |
---|---|
int |
MaxPwm
Maximum PWM value when turned on (0..1)
Declaration
public float MaxPwm { get; set; }
Property Value
Type | Description |
---|---|
float |
Min
Minimum RPM when turned on
Declaration
public int Min { get; set; }
Property Value
Type | Description |
---|---|
int |
MinPwm
Minimum PWM value when turned on (0..1)
Declaration
public float MinPwm { get; set; }
Property Value
Type | Description |
---|---|
float |
State
Current state
Declaration
public SpindleState State { get; set; }
Property Value
Type | Description |
---|---|
SpindleState |