Class InputChannel
Information about a G/M/T-code channel
Inherited Members
Namespace: DuetAPI.ObjectModel
Assembly: DuetAPI.dll
Syntax
public sealed class InputChannel : ModelObject, IModelObject, ICloneable, INotifyPropertyChanged, INotifyPropertyChanging
Properties
Active
True if the input is is in active mode i.e. executing commands for its assigned motion system, false if it is assigned to a motion system other than the current one
Declaration
public bool Active { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
This will always be true except for the File and File2 inputs
AxesRelative
Whether relative positioning is being used
Declaration
public bool AxesRelative { get; set; }
Property Value
Type | Description |
---|---|
bool |
Compatibility
Emulation used on this channel
Declaration
public Compatibility Compatibility { get; set; }
Property Value
Type | Description |
---|---|
Compatibility |
DistanceUnit
Whether inches are being used instead of mm
Declaration
public DistanceUnit DistanceUnit { get; set; }
Property Value
Type | Description |
---|---|
DistanceUnit |
DrivesRelative
Whether relative extrusion is being used
Declaration
public bool DrivesRelative { get; set; }
Property Value
Type | Description |
---|---|
bool |
FeedRate
Current feedrate in mm/s
Declaration
public float FeedRate { get; set; }
Property Value
Type | Description |
---|---|
float |
InMacro
Whether a macro file is being processed
Declaration
public bool InMacro { get; set; }
Property Value
Type | Description |
---|---|
bool |
InverseTimeMode
Indicates if inverse time mode (G73) is active
Declaration
public bool InverseTimeMode { get; set; }
Property Value
Type | Description |
---|---|
bool |
LineNumber
Number of the current line
Declaration
public long LineNumber { get; set; }
Property Value
Type | Description |
---|---|
long |
MacroRestartable
Indicates if the current macro file can be restarted after a pause
Declaration
public bool MacroRestartable { get; set; }
Property Value
Type | Description |
---|---|
bool |
MotionSystem
Active motion system index
Declaration
public int MotionSystem { get; set; }
Property Value
Type | Description |
---|---|
int |
Name
Name of this channel
Declaration
public CodeChannel Name { get; set; }
Property Value
Type | Description |
---|---|
CodeChannel |
SelectedPlane
Index of the selected plane
Declaration
public int SelectedPlane { get; set; }
Property Value
Type | Description |
---|---|
int |
StackDepth
Depth of the stack
Declaration
public byte StackDepth { get; set; }
Property Value
Type | Description |
---|---|
byte |
State
State of this input channel
Declaration
public InputChannelState State { get; set; }
Property Value
Type | Description |
---|---|
InputChannelState |
Volumetric
Whether volumetric extrusion is being used
Declaration
public bool Volumetric { get; set; }
Property Value
Type | Description |
---|---|
bool |