Table of Contents

Interface IStrokeLimitConfig

Namespace
Hi.NcParsers.Dependencys
Assembly
HiMech.dll

Per-axis stroke (travel) limits. Unit is mm for linear axes, deg for rotary axes. Implemented by ControllerParameterTableBase using brand-specific parameter numbers (e.g., Fanuc #1300/#1320, Siemens MD36100/MD36110, Heidenhain MP420/MP430).

public interface IStrokeLimitConfig : INcDependency, IMakeXmlSource
Inherited Members
Extension Methods

Methods

CheckStrokeLimit(DVec3d, IProgress<object>)

Checks whether a position is within all configured stroke limits.

bool CheckStrokeLimit(DVec3d mcXyzabc, IProgress<object> errorReporter)

Parameters

mcXyzabc DVec3d

Machine coordinate. Point = XYZ (mm), Normal = ABC (rad).

errorReporter IProgress<object>

Receives error messages for each violated axis. Can be null.

Returns

bool

True if within all limits or no limits configured.

GetNegativeLimit(string)

Gets the negative stroke limit for a specific axis. Unit is mm for linear axes, deg for rotary axes. Returns null if not configured (no limit).

double? GetNegativeLimit(string axisName)

Parameters

axisName string

Returns

double?

GetPositiveLimit(string)

Gets the positive stroke limit for a specific axis. Unit is mm for linear axes, deg for rotary axes. Returns null if not configured (no limit).

double? GetPositiveLimit(string axisName)

Parameters

axisName string

Returns

double?

SetNegativeLimit(string, double)

Sets the negative stroke limit for a specific axis. Unit is mm for linear axes, deg for rotary axes.

void SetNegativeLimit(string axisName, double value)

Parameters

axisName string
value double

SetPositiveLimit(string, double)

Sets the positive stroke limit for a specific axis. Unit is mm for linear axes, deg for rotary axes.

void SetPositiveLimit(string axisName, double value)

Parameters

axisName string
value double