Method | Description | |
---|---|---|
Abort ( ) : void |
Abort causes all motion to abruptly stop usually due to something catastrophic like a communication error Use in an E-Stop condition
|
|
ArcFeed ( double feedrate, int plane, double planarXend, double planarYend, double planarXcenter, double planarYcenter, int rotation, double planarZ, double a, double b, double c, int sequence_number, int ID ) : void |
Perform arc motion at a specified feed rate
|
|
ArcFeedAccel ( double feedrate, double accel, int plane, double planarXend, double planarYend, double planarXcenter, double planarYcenter, int rotation, double planarZ, double a, double b, double c, int sequence_number, int ID ) : void |
Perform arc motion at a specified feed rate and Acceleration
|
|
CheckMotionHalt ( bool coord ) : int |
Cehecks for a motion halt
|
|
ClearAbort ( ) : void |
Clears any existing Abort conditions
|
|
ClearHalt ( ) : void |
Clear any exisiting halts
|
|
Dispose ( ) : void |
Releases object resources
|
|
DoKMotionBufCmd ( string command ) : void |
Inserts a console script command in the buffer
|
|
DoKMotionCmd ( string command, bool flushbufferfirst ) : void |
Processes a console script command
|
|
DoRateAdjustments ( int i0, int i1, double feedrate ) : void |
Update the Trajectory Planner's segment feedrates.
|
|
DoSpecialCommand ( int segment ) : void |
Perform segment execution
|
|
DownloadDoneSegments ( ) : void |
Download all computed segments from the Trajectory Planner to the device buffer
|
|
DownloadInit ( ) : void |
Initializes download
|
|
Dwell ( double seconds, int sequence_number ) : void |
Pause motion fow given amount of time
|
|
ExecutionStop ( ) : void |
Stop the execution of current motion in a controlled number
|
|
FlushSegments ( ) : void |
Flushes the segment buffer
|
|
GetAxisDefinitions ( int &x, int &y, int &z, int &a, int &b, int &c ) : void |
Get the assignment of KFLOP axis Channels to GCode Axes XYZABC, -1 indicates unused/unassigned axis
|
|
GetAxisDestination ( int axis ) : double |
Gets the axis destination
|
|
GetAxisPosition ( int axis ) : double |
Gets the axis position
|
|
Halt ( ) : void |
Halt cause motion to stop in a controlled manner. A feed hold is commanded so that the motion decellerates along the intended path. After the system completely stops, the exact point in the Coordinated Motion Buffer where the stop actually happened is uploaded and the GCode Interpreter is rewound to that point.
|
|
KM_CoordMotion ( KM_Controller controller ) : System |
Primary constructor for KM_CoordMotion object
|
|
MeasurePointAppendToFile ( string command ) : void |
Write position data to file
|
|
OutputSegment ( int segment ) : void |
Output given segment
|
|
ReadAndSyncCurPositions ( double &x, double &y, double &z, double &a, double &b, double &c ) : void |
First Syncs the Coor Motion Library to the current axis destinations then sets the passed variables to the CoordMotion's Absolute positions
|
|
SetAxisDefinitions ( int x, int y, int z, int a, int b, int c ) : void |
Set the assignment of KFLOP axis Channels to GCode Axes XYZABC, -1 indicates unused/unassigned axis
|
|
SetTPParams ( ) : void |
Force the Trajectory Planner to update it's parameters
|
|
StartTraverse ( double x, double y, double z, double a, double b, double c, bool suppresscallback, object usercallback ) : void |
Fires an async delegate to move axes at traversal speeds non-interpolated
|
|
StraightFeed ( double feedrate, double x, double y, double z, double a, double b, double c, int sequence_number, int ID ) : void |
Perform linear motion at a specified feed rate
|
|
StraightFeedAccel ( double feedrate, double accel, double x, double y, double z, double a, double b, double c, int sequence_number, int ID ) : void |
Perform linear motion at a specified feed rate and Acceleration
|
|
StraightTraverse ( double x, double y, double z, double a, double b, double c, bool suppresscallback ) : void |
Move axes at traversal speeds non-interpolated
|
|
UpdateCurrentPositionsABS ( double &x, double &y, double &z, double &a, double &b, double &c, bool snap ) : void |
Sets the passed variables to the CoordMotion's Absolute positions
|
|
WaitForMoveXYZABCFinished ( ) : void |
Blocks calling thread until all commanded motion is complete
|
|
WaitForSegmentsFinished ( bool suppressdisablederror ) : void |
Waits for all buffered segments to complete Blocks calling thread until the buffer is complete
|
Method | Description | |
---|---|---|
OnTraverseCompletes ( IAsyncResult result ) : void |
Returns after the Async Traverse is called
|
Method | Description | |
---|---|---|
GetFeedRateOverride ( ) : double |
Gets the current Feedrate override
|
|
GetFeedRateRapidOverride ( ) : double |
Gets the current Feedrate Rapidoverride
|
|
GetHardwareFRORange ( ) : double |
Gets the Hardware FRO Range for all axes Below this value FRO is handled by hardware (no delay) Above this value FRO is handle by the Trajectory Planner (proper accelerations)
|
|
GetIsAbort ( ) : bool |
Property accessor to query Abort condition
|
|
GetIsHalt ( ) : bool |
Property accessor to query Halt condition
|
|
GetSpindleRateOverride ( ) : double |
Gets the current Spindlerate override
|
|
Get_PreviouslyStopped ( ) : PREV_STOP_TYPE |
Property getter Accessor for PreviouslyStopped
|
|
Get_Simulate ( ) : bool |
Property getter Accessor for simulation
|
|
KM_dotnet_Interop_CoordMotion_ArcFeed ( |
||
KM_dotnet_Interop_CoordMotion_ArcFeedAccel ( |
||
KM_dotnet_Interop_CoordMotion_CheckMotionHalt ( |
||
KM_dotnet_Interop_CoordMotion_Clear_Abort ( |
||
KM_dotnet_Interop_CoordMotion_Clear_Halt ( |
||
KM_dotnet_Interop_CoordMotion_DoKMotionBufCmd ( |
||
KM_dotnet_Interop_CoordMotion_DoKMotionCmd ( |
||
KM_dotnet_Interop_CoordMotion_DoRateAdjustments ( |
||
KM_dotnet_Interop_CoordMotion_DoSpecialCommand ( |
||
KM_dotnet_Interop_CoordMotion_DownloadDoneSegments ( |
||
KM_dotnet_Interop_CoordMotion_DownloadInit ( |
||
KM_dotnet_Interop_CoordMotion_DownloadedSegmentCount ( |
||
KM_dotnet_Interop_CoordMotion_Dwell ( |
||
KM_dotnet_Interop_CoordMotion_ExecutionStop ( |
||
KM_dotnet_Interop_CoordMotion_FlushSegments ( |
||
KM_dotnet_Interop_CoordMotion_Free ( |
||
KM_dotnet_Interop_CoordMotion_GetAxisDefinitions ( |
||
KM_dotnet_Interop_CoordMotion_Get_Abort ( |
||
KM_dotnet_Interop_CoordMotion_Get_AxisDestination ( |
||
KM_dotnet_Interop_CoordMotion_Get_AxisPosition ( |
||
KM_dotnet_Interop_CoordMotion_Get_FeedRateOverride ( |
||
KM_dotnet_Interop_CoordMotion_Get_FeedRateRapidOverride ( |
||
KM_dotnet_Interop_CoordMotion_Get_Halt ( |
||
KM_dotnet_Interop_CoordMotion_Get_HardwareFRORange ( |
||
KM_dotnet_Interop_CoordMotion_Get_PreviouslyStopped ( |
||
KM_dotnet_Interop_CoordMotion_Get_Simulate ( |
||
KM_dotnet_Interop_CoordMotion_Get_SpindleRateOverride ( |
||
KM_dotnet_Interop_CoordMotion_MeasurePointAppendToFile ( |
||
KM_dotnet_Interop_CoordMotion_New ( |
||
KM_dotnet_Interop_CoordMotion_OutputSegment ( |
||
KM_dotnet_Interop_CoordMotion_ReadAndSyncCurPositions ( |
||
KM_dotnet_Interop_CoordMotion_ReadCurAbsPosition ( |
||
KM_dotnet_Interop_CoordMotion_RemainingTime ( |
||
KM_dotnet_Interop_CoordMotion_SetArcFeedCallback ( |
||
KM_dotnet_Interop_CoordMotion_SetAxisDefinitions ( |
||
KM_dotnet_Interop_CoordMotion_SetStraightFeedCallback ( |
||
KM_dotnet_Interop_CoordMotion_SetStraightTraverseCallback ( |
||
KM_dotnet_Interop_CoordMotion_SetTPParams ( |
||
KM_dotnet_Interop_CoordMotion_Set_Abort ( |
||
KM_dotnet_Interop_CoordMotion_Set_FeedRateOverride ( |
||
KM_dotnet_Interop_CoordMotion_Set_FeedRateRapidOverride ( |
||
KM_dotnet_Interop_CoordMotion_Set_Halt ( |
||
KM_dotnet_Interop_CoordMotion_Set_HardwareFRORange ( |
||
KM_dotnet_Interop_CoordMotion_Set_PreviouslyStopped ( |
||
KM_dotnet_Interop_CoordMotion_Set_Simulate ( |
||
KM_dotnet_Interop_CoordMotion_Set_SpindleRateOverride ( |
||
KM_dotnet_Interop_CoordMotion_StraightFeed ( |
||
KM_dotnet_Interop_CoordMotion_StraightFeedAccel ( |
||
KM_dotnet_Interop_CoordMotion_StraightTraverse ( |
||
KM_dotnet_Interop_CoordMotion_TimeAlreadyExecuted ( |
||
KM_dotnet_Interop_CoordMotion_TotalDownloadedTime ( |
||
KM_dotnet_Interop_CoordMotion_WaitForMoveXYZABCFinished ( |
||
KM_dotnet_Interop_CoordMotion_WaitForSegmentsFinished ( |
||
OnCoordMotionArcFeed ( bool ZeroLenAsFullCircles, double DesiredFeedRate_in_per_sec, int plane, double first_end, double second_end, double first_axis, double second_axis, int rotation, double axis_end_point, double a, double b, double c, double first_start, double second_start, double axis_start_point, int sequence_number, int ID ) : void |
Dispatches Arc Feed callback values to CoordMotionArcFeed event subscribers
|
|
OnCoordMotionStraightFeed ( double DesiredFeedRate_in_per_sec, double x, double y, double z, double a, double b, double c, int sequence_number, int ID ) : void |
Dispatches Straight Feed callback values to CoordMotionStraightFeed event subscribers
|
|
OnCoordMotionStraightTraverse ( double x, double y, double z, double a, double b, double c, int sequence_number ) : void |
Dispatches Straight Traverse callback values to CoordMotionStraightTraverse event subscribers
|
|
SetArcFeedCallback ( ) : void |
Sets the internal Arc Feed callback for the CoordMotion.cpp object Separate delegate for this callback prevents the Garbage Collector from releasing the unmanaged function pointer from being destroyed
|
|
SetFeedRateOverride ( double value ) : void |
Sets the current Feedrate override
|
|
SetFeedRateRapidOverride ( double value ) : void |
Sets the current Rapid Feedrate override
|
|
SetHardwareFRORange ( double value ) : void |
Sets the Hardware FRO Range for all axes Below this value FRO is handled by hardware (no delay) Above this value FRO is handle by the Trajectory Planner (proper accelerations)
|
|
SetSpindleRateOverride ( double value ) : void |
Sets the current Spindlerate override
|
|
SetStraightFeedCallback ( ) : void |
Sets the internal Straight Feed callback for the CoordMotion.cpp object Separate delegate for this callback prevents the Garbage Collector from releasing the unmanaged function pointer from being destroyed
|
|
SetStraightTraverseCallback ( ) : void |
Sets the internal Straight Traverse callback for the CoordMotion.cpp object Separate delegate for this callback prevents the Garbage Collector from releasing the unmanaged function pointer from being destroyed
|
|
Set_PreviouslyStopped ( PREV_STOP_TYPE value ) : void |
Property setter Accessor for PreviouslyStopped
|
|
Set_Simulate ( bool value ) : void |
Property setter Accessor for simulation
|
public ArcFeed ( double feedrate, int plane, double planarXend, double planarYend, double planarXcenter, double planarYcenter, int rotation, double planarZ, double a, double b, double c, int sequence_number, int ID ) : void | ||
feedrate | double | Desired feed rate |
plane | int | plane to perform arc (determines axis pair to use) |
planarXend | double | X end point of arc |
planarYend | double | Y end point of arc |
planarXcenter | double | X center of rotation of arc |
planarYcenter | double | Y center of rotation of arc |
rotation | int | CW or ACW |
planarZ | double | End point of perpindicular axis(for helical motion) |
a | double | final end position of a axis |
b | double | final end position of a axis |
c | double | final end position of a axis |
sequence_number | int | internal reference |
ID | int | internal reference |
return | void |
public ArcFeedAccel ( double feedrate, double accel, int plane, double planarXend, double planarYend, double planarXcenter, double planarYcenter, int rotation, double planarZ, double a, double b, double c, int sequence_number, int ID ) : void | ||
feedrate | double | Desired feed rate |
accel | double | Desired acceleration rate |
plane | int | plane to perform arc (determines axis pair to use) |
planarXend | double | X end point of arc |
planarYend | double | Y end point of arc |
planarXcenter | double | X center of rotation of arc |
planarYcenter | double | Y center of rotation of arc |
rotation | int | CW or ACW |
planarZ | double | End point of perpindicular axis(for helical motion) |
a | double | final end position of a axis |
b | double | final end position of a axis |
c | double | final end position of a axis |
sequence_number | int | internal reference |
ID | int | internal reference |
return | void |
public CheckMotionHalt ( bool coord ) : int | ||
coord | bool | specify axis mapped axes only |
return | int |
public DoKMotionBufCmd ( string command ) : void | ||
command | string | command |
return | void |
public DoKMotionCmd ( string command, bool flushbufferfirst ) : void | ||
command | string | console script |
flushbufferfirst | bool | Flush current buffered commands before adding a new one |
return | void |
public DoRateAdjustments ( int i0, int i1, double feedrate ) : void | ||
i0 | int | |
i1 | int | |
feedrate | double | |
return | void |
public DoSpecialCommand ( int segment ) : void | ||
segment | int | segment index |
return | void |
public Dwell ( double seconds, int sequence_number ) : void | ||
seconds | double | time in seconds |
sequence_number | int | sequence number to be associated with the dwell |
return | void |
public GetAxisDefinitions ( int &x, int &y, int &z, int &a, int &b, int &c ) : void | ||
x | int | |
y | int | |
z | int | |
a | int | |
b | int | |
c | int | |
return | void |
public GetAxisDestination ( int axis ) : double | ||
axis | int | Axis map index |
return | double |
public GetAxisPosition ( int axis ) : double | ||
axis | int | Axis map index |
return | double |
public KM_CoordMotion ( KM_Controller controller ) : System | ||
controller | KM_Controller | |
return | System |
public MeasurePointAppendToFile ( string command ) : void | ||
command | string | file name to append to |
return | void |
protected OnTraverseCompletes ( IAsyncResult result ) : void | ||
result | IAsyncResult | User supplied object that gets returned when traverse is complete |
return | void |
public OutputSegment ( int segment ) : void | ||
segment | int | segment index to output |
return | void |
public ReadAndSyncCurPositions ( double &x, double &y, double &z, double &a, double &b, double &c ) : void | ||
x | double | X axis value |
y | double | Y axis value |
z | double | Z axis value |
a | double | A axis value |
b | double | B axis value |
c | double | C axis value |
return | void |
public SetAxisDefinitions ( int x, int y, int z, int a, int b, int c ) : void | ||
x | int | |
y | int | |
z | int | |
a | int | |
b | int | |
c | int | |
return | void |
public StartTraverse ( double x, double y, double z, double a, double b, double c, bool suppresscallback, object usercallback ) : void | ||
x | double | x position |
y | double | y position |
z | double | z position |
a | double | a position |
b | double | b position |
c | double | c position |
suppresscallback | bool | Prevents callback information from being dispatched |
usercallback | object | User supplied object that gets returned when traverse is complete |
return | void |
public StraightFeed ( double feedrate, double x, double y, double z, double a, double b, double c, int sequence_number, int ID ) : void | ||
feedrate | double | Desired feed rate |
x | double | X end point |
y | double | Y end point |
z | double | Z end point |
a | double | A end point |
b | double | B end point |
c | double | C end point |
sequence_number | int | internal reference |
ID | int | internal reference |
return | void |
public StraightFeedAccel ( double feedrate, double accel, double x, double y, double z, double a, double b, double c, int sequence_number, int ID ) : void | ||
feedrate | double | Desired feed rate |
accel | double | Desired acceleration rate |
x | double | X end point |
y | double | Y end point |
z | double | Z end point |
a | double | A end point |
b | double | B end point |
c | double | C end point |
sequence_number | int | internal reference |
ID | int | internal reference |
return | void |
public StraightTraverse ( double x, double y, double z, double a, double b, double c, bool suppresscallback ) : void | ||
x | double | x position |
y | double | y position |
z | double | z position |
a | double | a position |
b | double | b position |
c | double | c position |
suppresscallback | bool | Prevents callback information from being dispatched |
return | void |
public UpdateCurrentPositionsABS ( double &x, double &y, double &z, double &a, double &b, double &c, bool snap ) : void | ||
x | double | X axis value |
y | double | Y axis value |
z | double | Z axis value |
a | double | A axis value |
b | double | B axis value |
c | double | C axis value |
snap | bool | snap to exact previously commanded postion (if close) to avoid rounding errors |
return | void |
public WaitForSegmentsFinished ( bool suppressdisablederror ) : void | ||
suppressdisablederror | bool | suppress errors cause by commanding a disabled axis |
return | void |