Click or drag to resize

KM_CoordMotion Class

Coordinated Motion class representing the CoordMotion.cpp object from the C++ Dynotion Code Use to directly control multiple axis motion Notably:: Straight Traverse Straight Feed Arc Feed
Inheritance Hierarchy
SystemObject
  KMotion_dotNetKM_CoordMotion

Namespace: KMotion_dotNet
Assembly: KMotion_dotNet (in KMotion_dotNet.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public class KM_CoordMotion : IDisposable

The KM_CoordMotion type exposes the following members.

Constructors
 NameDescription
Public methodKM_CoordMotion Primary constructor for KM_CoordMotion object
Top
Properties
 NameDescription
Public propertyBoardNumber Board number (for use in multiple board scenarios)
Public propertyBufferedSegments Gets how may segments are currently loaded into the CoordMotion buffer
Public propertyFeedRateOverride Gets/Sets the Feedrate override for all axes
Public propertyFeedRateRapidOverride Gets/Sets the Feedrate Rapid override for all axes
Public propertyHardwareFRORange Gets/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)
Public propertyInstanceHandle CCoordMotion class instance pointer
Public propertyInterpreter RS274 Interpreter Component
Public propertyIsAbort Returns true if the CoordMotion is aborting
Public propertyIsHalt Returns true if the CoordMotion is halted
Public propertyIsPreviouslyStopped Result of previous Interpreter Halt
Public propertyIsSimulation Flags whether to Simulate commands or not
Public propertyLoaded Flag to determine that this object has been properly initialized
Public propertyMaxErrorLength Maximum allowed return error string length
Public propertyMotionParams Accessor to the various MotionParams
Public propertyRemainingTimeInBuffer Gets time Total time downloaded into the CoordMotion buffer
Public propertySpindleRateOverride Gets/Sets the Spindlerate override for all axes
Public propertyTimeExecuted Gets how many seconds have already been executed
Public propertyTotalTimeInBuffer Gets time Total time downloaded into the CoordMotion buffer
Top
Methods
 NameDescription
Public methodAbort Abort causes all motion to abruptly stop usually due to something catastrophic like a communication error Use in an E-Stop condition
Public methodArcFeed Perform arc motion at a specified feed rate (in/sec)
Public methodArcFeedAccel Perform arc motion at a specified feed rate (in/sec) and Acceleration (in/sec2)
Public methodCheckMotionHalt Cehecks for a motion halt
Public methodClearAbort Clears any existing Abort conditions
Public methodClearHalt Clear any exisiting halts
Public methodDispose Releases object resources
Public methodDoKMotionBufCmd Inserts a console script command in the buffer
Public methodDoKMotionCmd Processes a console script command
Public methodDoRateAdjustments Update the Trajectory Planner's segment feedrates.
Public methodDoSpecialCommand Perform segment execution
Public methodDownloadDoneSegments Download all computed segments from the Trajectory Planner to the device buffer
Public methodDownloadInit Initializes download
Public methodDwell Pause motion fow given amount of time
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExecutionStop Stop the execution of current motion in a controlled number
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFlushSegments Flushes the segment buffer
Public methodGetAxisDefinitions Get the assignment of KFLOP axis Channels to GCode Axes XYZABC, -1 indicates unused/unassigned axis
Public methodGetAxisDestination Gets the axis destination
Public methodGetAxisPosition Gets the axis position
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHalt 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.
Public methodKinematicsReadGeoTable Loads Coordinated Motion Kinematics Geo Correction Table
Public methodMeasurePointAppendToFile Write position data to file
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnTraverseCompletes Returns after the Async Traverse is called
Public methodOutputSegment Output given segment
Public methodReadAndSyncCurPositions First Syncs the Coor Motion Library to the current axis destinations then sets the passed variables to the CoordMotion's Absolute positions
Public methodSetAxisDefinitions Set the assignment of KFLOP axis Channels to GCode Axes XYZABC, -1 indicates unused/unassigned axis
Public methodSetTPParams Force the Trajectory Planner to update it's parameters
Public methodStartTraverse Fires an async delegate to move axes at traversal speeds non-interpolated
Public methodStraightFeed Perform linear motion at a specified feed rate (in/sec)
Public methodStraightFeedAccel Perform linear motion at a specified feed rate (in/sec) and Acceleration (in/sec2)
Public methodStraightTraverse Move axes at traversal speeds non-interpolated
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdateCurrentPositionsABS Sets the passed variables to the CoordMotion's Absolute positions
Public methodWaitForMoveXYZABCFinished Blocks calling thread until all commanded motion is complete
Public methodWaitForSegmentsFinished Waits for all buffered segments to complete Blocks calling thread until the buffer is complete
Top
Events
 NameDescription
Public eventAsyncTraverseCompleted Event handler to signal calling application when an async traverse has completed
Public eventCoordMotionArcFeed Event handler to signal the download of a Arc Feed segment into the Coordmotion buffer
Public eventCoordMotionArcFeedSixAxis Event handler to signal the download of a Arc Feed segment into the Coordmotion buffer
Public eventCoordMotionStraightFeed Event handler to signal the download of a Straight Feed segment into the Coordmotion buffer
Public eventCoordMotionStraightFeedSixAxis Event handler to signal the download of a Straight Feed segment into the Coordmotion buffer
Public eventCoordMotionStraightTraverse Event handler to signal the download of a Straight Traverse segment into the Coordmotion buffer
Public eventCoordMotionStraightTraverseSixAxis Event handler to signal the download of a Straight Traverse segment into the Coordmotion buffer
Top
See Also