Interface IMachineAxisConfig
- Namespace
- Hi.NcParsers.Dependencys
- Assembly
- HiMech.dll
Machine axis configuration: which axes exist and their types. Compatible with Fanuc, Siemens, Heidenhain, Mazak, Okuma.
public interface IMachineAxisConfig : INcDependency, IMakeXmlSource
- Inherited Members
- Extension Methods
Properties
AxisNames
Gets the configured axis names in order.
IEnumerable<string> AxisNames { get; }
Property Value
Methods
IsModularRotary(string)
Whether the rotary axis wraps 0°–360° (modular). Decides which axes
McAbcCyclicPathSyntax resolves cyclically —
the shortest path, or the controller's rule for an absolute word
(IRotaryAbsoluteWordConfig); a rotary axis that is not
modular keeps every programmed word as written — except a DC()
/ CDC() word, which still takes the shortest way (FB2 R2
§13.3.3 p.863) — and takes a value it carries without a word to the
nearest turn its stroke limits admit. Returns false for linear axes.
The default is every rotary axis; the brand tables
(IsModularRotary(string)) take a
rotary axis whose two stroke limits are set less than a turn apart out
of the set, and the Siemens table answers from MD30310 alone: a modulo
axis only when the row is 1, the control's factory value being 0.
bool IsModularRotary(string axisName)
Parameters
axisNamestring
Returns
IsRotaryAxis(string)
Returns true if the axis is rotary or spindle, false if linear.
bool IsRotaryAxis(string axisName)
Parameters
axisNamestring
Returns
RemoveAxis(string)
Removes an axis from the configuration.
void RemoveAxis(string axisName)
Parameters
axisNamestring
SetAxis(string, AxisType)
Adds or updates an axis with the specified type.
void SetAxis(string axisName, AxisType type)