Interface INCT_CLData
CAM system interface, which implements the commands for the formation of the tool path, using machine axes.
Assembly: STNCInterpreter.dll
Syntax
[Guid("F1996BF5-89CA-49D4-A667-79846F9EB459")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface INCT_CLData
Methods
AddCircle(TNC3DPoint, TNC3DPoint, double, TNCPlaneType, bool)
Declaration
void AddCircle(TNC3DPoint P, TNC3DPoint Pc, double R, TNCPlaneType Plane, bool CanBeFull)
Parameters
AddCoolant(bool, int)
Declaration
void AddCoolant(bool OnOff, int PipeNumber)
Parameters
Type |
Name |
Description |
bool |
OnOff |
|
int |
PipeNumber |
|
AddDelay(double)
Declaration
void AddDelay(double Value)
Parameters
Type |
Name |
Description |
double |
Value |
|
AddLengthCompensation(TNCLengthCompensationMode, int)
Declaration
void AddLengthCompensation(TNCLengthCompensationMode Mode, int OffsetNumber)
Parameters
AddLengthCompensationValue(TNCLengthCompensationMode, int, double)
Declaration
void AddLengthCompensationValue(TNCLengthCompensationMode Mode, int OffsetNumber, double Value)
Parameters
AddLengthCompensationWithSpecifiedAxis(TNCLengthCompensationMode, int, int)
Declaration
void AddLengthCompensationWithSpecifiedAxis(TNCLengthCompensationMode Mode, int SpecifiedAxis, int OffsetNumber)
Parameters
AddMotion(int, double)
Declaration
void AddMotion(int AxisIndex, double Value)
Parameters
Type |
Name |
Description |
int |
AxisIndex |
|
double |
Value |
|
AddOpStop()
The method adds an optional command to the G-code in the tool path. When this optional stop block is reached, execution halts only if the corresponding mode is enabled in the NC rack; otherwise, it continues. There are no input or output parameters.
Declaration
AddOrigin(double)
Declaration
void AddOrigin(double WCSNumber)
Parameters
Type |
Name |
Description |
double |
WCSNumber |
|
AddOriginByShift(TNC3DPoint)
The method adds a command to shift the coordinate system by the specified displacement (Shift) along X, Y, and Z axes.
Declaration
void AddOriginByShift(TNC3DPoint Shift)
Parameters
AddOriginByShiftAndRotate(TNC3DPoint, double, double, double, TNCEulerAnglesConvention, bool, bool)
Declaration
void AddOriginByShiftAndRotate(TNC3DPoint Shift, double Ang1, double Ang2, double Ang3, TNCEulerAnglesConvention Convention, bool RotationsAroundMovableAxes, bool AnglesInDegrees)
Parameters
AddRadiusCompensation(TNCRadiusCompensationMode, int)
Declaration
void AddRadiusCompensation(TNCRadiusCompensationMode Mode, int OffsetNumber)
Parameters
AddRadiusCompensationValue(TNCRadiusCompensationMode, int, double, double)
Declaration
void AddRadiusCompensationValue(TNCRadiusCompensationMode Mode, int OffsetNumber, double Value, double Value2)
Parameters
AddSinglePassThread(TNCThreadOrientation, TNCThreadLeadType, double, double)
Declaration
void AddSinglePassThread(TNCThreadOrientation Orient, TNCThreadLeadType LeadType, double Step, double StartAngle)
Parameters
AddSpindleOff()
The method adds a command to turn off the active spindle in the tool movement path. There are no input or output parameters.
Declaration
AddSpindleOrient(double)
Declaration
void AddSpindleOrient(double OrientationAngle)
Parameters
Type |
Name |
Description |
double |
OrientationAngle |
|
AddSpindleSpeedOnCSS(double, double, int, bool)
Declaration
void AddSpindleSpeedOnCSS(double CSS, double MaxRPM, int Range, bool Direction)
Parameters
AddSpindleSpeedOnRPM(double, int, bool)
Declaration
void AddSpindleSpeedOnRPM(double RPM, int Range, bool Direction)
Parameters
AddStop()
The method adds a command to interrupt the execution of the control program in the tool movement path. When this stop frame is reached, G-code execution is halted. There are no input or output parameters.
Declaration
Declaration
void AddTooltipMotion(int AxisIndex, double Value)
Parameters
Type |
Name |
Description |
int |
AxisIndex |
|
double |
Value |
|
CloseMultiMotion()
The method marks the end of multi-axis displacement input and adds the corresponding multi-coordinate displacement command to the toolpath, which is formed from the displacements added via AddMotion since the OpenMultiMotion command.
Declaration
The method marks the end of displacement input and adds a multi-coordinate movement command to the toolpath, formed from movements added via Tooltip commands since OpenTooltipMotion.
Declaration
void CloseTooltipMotion()
Returns the arc path maker interface (INCT_CircularMotionFormer), simplifying arc path creation. No input parameters.
Declaration
object CreateCircularMotionFormer()
Returns
Returns the driver interface for the specified drilling cycle type: simple, with shift, or peck. Supports corresponding interfaces: INCT_DrillingCycleFormer, INCT_DrillingCycleWithShiftFormer, INCT_PeckDrillingCycleFormer.
Declaration
object CreateDrillingCycleFormer(TNCDrillingCycleType CycleType)
Parameters
Returns
Returns the trajectory driver interface for the specified turning cycle: grooving, threading, or stock removal. Each supports a specific interface: INCT_LatheGroovingCycleFormer, INCT_LatheThreadCuttingCycleFormer, or INCT_LatheStockRemovalCycleFormer.
Declaration
object CreateLatheCycleFormer(TNCLatheCycleType CycleType)
Parameters
Returns
Returns the linear motion generator interface (INCT_LinearMotionFormer), simplifying linear tool path creation. No input parameters.
Declaration
object CreateLinearMotionFormer()
Returns
GetActiveSpindle()
The function returns the index of the active spindle.
Declaration
Returns
GetAxisValue(int)
Declaration
double GetAxisValue(int Index)
Parameters
Type |
Name |
Description |
int |
Index |
|
Returns
GetFeedrateUnits()
The function returns the current feed units (TNCFeedrateMeasure)
Declaration
TNCFeedrateMeasure GetFeedrateUnits()
Returns
GetSystemUnits()
The HRESULT _stdcall returns project units of measurement (TNCSystemMeasure)
Declaration
TNCSystemMeasure GetSystemUnits()
Returns
Declaration
void LoadTool(int ToolID)
Parameters
Type |
Name |
Description |
int |
ToolID |
|
OpenMultiMotion(TNCGotoMode)
The method initiates multi-axis displacement input with specified GotoMode: gtmTooltip for relative movement with path control, or gtmPhysic for movement relative to machine zeros without path interpolation.
Declaration
void OpenMultiMotion(TNCGotoMode GotoMode)
Parameters
The method starts multi-coordinate movement input with the specified Mode: tmLinear for linear moves, tmCircularMiddlePoint or tmCircularEndPoint for arc moves via middle or end point, and tmPhysic for simultaneous physical axis movement.
Declaration
void OpenTooltipMotion(TNCTooltipMode Mode)
Parameters
OutCylindricalInterpolation(bool, double)
Declaration
void OutCylindricalInterpolation(bool Enable, double Radius)
Parameters
OutFeed(TNCFeedType, double, bool)
Declaration
void OutFeed(TNCFeedType Feed, double Value, bool mpm)
Parameters
OutPolarInterpolation(bool)
Declaration
void OutPolarInterpolation(bool Enable)
Parameters
Type |
Name |
Description |
bool |
Enable |
|
OutStandardFeed(TNCFeedType)
The method adds a command to the toolpath to change the feed to the specified type (Feed), such as working, rapid, first, engage, retract, plunge, finish, next, return, or approach. The corresponding feed value is taken from the CAM system's 'Feed' tab.
Declaration
void OutStandardFeed(TNCFeedType Feed)
Parameters
ResetOrigin()
The method add toolpath command turns off the shifting and turning of the coordinate system specified in AddOriginByShiftAndRotate.
Declaration
SetActiveSpindle(int)
Declaration
void SetActiveSpindle(int Number)
Parameters
Type |
Name |
Description |
int |
Number |
|
SetCurrentPlane(TNCPlaneType)
The method adds a command to change the current plane in the toolpath to the specified plane (Plane), such as XY, YZ, or ZX.
Declaration
void SetCurrentPlane(TNCPlaneType Plane)
Parameters
SetFeedrateUnits(TNCFeedrateMeasure)
The method sets the feed rate units to either millimeters per minute (fmMMPerMinute) or inches per minute (fmInchPerMinute). Input: Units (TNCFeedrateMeasure).
Declaration
void SetFeedrateUnits(TNCFeedrateMeasure Units)
Parameters
SetRTCPMode(bool)
Declaration
void SetRTCPMode(bool Enable)
Parameters
Type |
Name |
Description |
bool |
Enable |
|
SetSystemUnits(TNCSystemMeasure)
The method sets the project's measurement units to either metric (smMetrics) or inches (smImperial). Input: Units (TNCSystemMeasure).
Declaration
void SetSystemUnits(TNCSystemMeasure Units)
Parameters
Declaration
void SetTooltipAttitude(double Ang1, double Ang2, double Ang3, TNCEulerAnglesConvention Convention, bool RotationsAroundMovableAxes, bool AnglesInDegrees)
Parameters
Declaration
void SetTooltipAttitude2(double qx, double qy, double qz, double qw)
Parameters
Declaration
void SetTooltipFlip(TNCFlipType FlipType, bool Value)
Parameters
The method sets a point's position in the Cartesian coordinate system relative to part zero, using the specified coordinates P.
Declaration
void SetTooltipPosition(TNC3DPoint P)
Parameters
WasAxisMovement(int)
Declaration
bool WasAxisMovement(int Index)
Parameters
Type |
Name |
Description |
int |
Index |
|
Returns