C# 클래스 KMotion_dotNet.KM_AxisGroup

KM_Controller Object for grouping Axis channels
파일 보기 프로젝트 열기: parhansson/KMotionX

보호된 프로퍼티들

프로퍼티 타입 설명
_Acceleration double
_ArcsToSegs bool
_AxisList List
_BreakAngle double
_CollinearTolerance double
_Controller KM_Controller
_CornerTolerance double
_DegreesA bool
_DegreesB bool
_DegreesC bool
_FacetAngle double
_ID int
_LookAhead double
_MaxLength double
_MaxVelocity double
_Name string
_UseOnlyLinearSegments bool
_Velocity double

공개 메소드들

메소드 설명
Abort ( ) : void

Abort any Coordinated Motion

AddArc ( double endx, double endy, double centerx, double centery, CANON_PLANE plane, bool clockwise, double finalz ) : void

Perform Coordinated Arc Move (in specified plane) of multiple axis to a desired destination

AddArc ( double endx, double endy, double centerx, double centery, CANON_PLANE plane, bool clockwise, double finalz, double a, double b, double c ) : void

Perform Coordinated Arc Move (in specified plane) of multiple axis to a desired destination with aditional a,b,c, axes linearly interpolated

AddArc ( double endx, double endy, double centerx, double centery, bool clockwise, double finalz ) : void

Perform Coordinated Arc Move of multiple axis to a desired destination

AddCommand ( int command ) : void

Insert special embedded IO commaand into the Coordinated moition buffer

AddLine ( double nextpoint ) : void

Add a linear motion to the coordinated motion buffer

ClearAbort ( ) : void

Clear any Coordinated Motion Abort condition

ClearHalt ( ) : void

Clear any Coordinated Motion Halt condition

CompletePath ( ) : void

Finalize any motion that resides in the coordinated motion buffer

DisableGroup ( ) : void

Abort and disable an entire coordinated group

EnableGroup ( ) : void

Define, configure, and enable an axis group

Halt ( ) : void

Halt any Coordinated Motion

KM_AxisGroup ( KM_Controller controller ) : System

Creates group of axes

MotionComplete ( ) : bool

Checks if the commanded axis group motion is completed

RapidTo ( double position ) : void

Perform Rapid Move (independent motion) of multiple axis to a desired destination and wait until motion is completed

RunGcodeFile ( string file ) : void

Launch GCode Interpreter executing specified GCode file

RunGcodeFileSegment ( string file, int firstline, int lastline ) : void

Launch GCode Interpreter executing specified GCode file

SetMCodeAction ( int num, MCODE_TYPE type, double p1, double p2, double p3, double p4, double p5, string data ) : void

Specifies a specific M Code action to be performed for a encountered MCodeSet. Parameters and data are specific to the action type

SetOffsetData ( int num, double x, double y, double z, double a, double b, double c ) : void

Set Work Fixture Offset to be used by the GCode Interpreter

SetParamsFile ( string paramsfile ) : void

Set Params File name to be used by the GCode Interpreter

SetToolFile ( string toolFile ) : void

Set Tool File name to be used by the GCode Interpreter

SetToolTableEntry ( int index, int slot, int ID, double length, double diameter, double xoffset, double yoffset ) : void

Set Tool Table Entry to be used by the GCode Interpreter

StartPath ( ) : void

Flush/clear coordinated motion buffer and wait for any rapids to complete

StartRapidTo ( double position ) : void

Perform Start of Rapid Move (independent motion) of multiple axis to a desired destination

WaitforMotionComplete ( int timeout ) : bool

Blocks the calling thread until the axis group is in position within a specified time limit

메소드 상세

Abort() 공개 메소드

Abort any Coordinated Motion
public Abort ( ) : void
리턴 void

AddArc() 공개 메소드

Perform Coordinated Arc Move (in specified plane) of multiple axis to a desired destination
public AddArc ( double endx, double endy, double centerx, double centery, CANON_PLANE plane, bool clockwise, double finalz ) : void
endx double
endy double
centerx double
centery double
plane CANON_PLANE
clockwise bool
finalz double
리턴 void

AddArc() 공개 메소드

Perform Coordinated Arc Move (in specified plane) of multiple axis to a desired destination with aditional a,b,c, axes linearly interpolated
public AddArc ( double endx, double endy, double centerx, double centery, CANON_PLANE plane, bool clockwise, double finalz, double a, double b, double c ) : void
endx double
endy double
centerx double
centery double
plane CANON_PLANE
clockwise bool
finalz double
a double
b double
c double
리턴 void

AddArc() 공개 메소드

Perform Coordinated Arc Move of multiple axis to a desired destination
public AddArc ( double endx, double endy, double centerx, double centery, bool clockwise, double finalz ) : void
endx double
endy double
centerx double
centery double
clockwise bool
finalz double
리턴 void

AddCommand() 공개 메소드

Insert special embedded IO commaand into the Coordinated moition buffer
public AddCommand ( int command ) : void
command int
리턴 void

AddLine() 공개 메소드

Add a linear motion to the coordinated motion buffer
public AddLine ( double nextpoint ) : void
nextpoint double
리턴 void

ClearAbort() 공개 메소드

Clear any Coordinated Motion Abort condition
public ClearAbort ( ) : void
리턴 void

ClearHalt() 공개 메소드

Clear any Coordinated Motion Halt condition
public ClearHalt ( ) : void
리턴 void

CompletePath() 공개 메소드

Finalize any motion that resides in the coordinated motion buffer
public CompletePath ( ) : void
리턴 void

DisableGroup() 공개 메소드

Abort and disable an entire coordinated group
public DisableGroup ( ) : void
리턴 void

EnableGroup() 공개 메소드

Define, configure, and enable an axis group
public EnableGroup ( ) : void
리턴 void

Halt() 공개 메소드

Halt any Coordinated Motion
public Halt ( ) : void
리턴 void

KM_AxisGroup() 공개 메소드

Creates group of axes
public KM_AxisGroup ( KM_Controller controller ) : System
controller KM_Controller
리턴 System

MotionComplete() 공개 메소드

Checks if the commanded axis group motion is completed
public MotionComplete ( ) : bool
리턴 bool

RapidTo() 공개 메소드

Perform Rapid Move (independent motion) of multiple axis to a desired destination and wait until motion is completed
public RapidTo ( double position ) : void
position double
리턴 void

RunGcodeFile() 공개 메소드

Launch GCode Interpreter executing specified GCode file
public RunGcodeFile ( string file ) : void
file string Gcode File Path
리턴 void

RunGcodeFileSegment() 공개 메소드

Launch GCode Interpreter executing specified GCode file
public RunGcodeFileSegment ( string file, int firstline, int lastline ) : void
file string Gcode File Path
firstline int Gcode line number to start
lastline int Gcode line number to stop
리턴 void

SetMCodeAction() 공개 메소드

Specifies a specific M Code action to be performed for a encountered MCodeSet. Parameters and data are specific to the action type
public SetMCodeAction ( int num, MCODE_TYPE type, double p1, double p2, double p3, double p4, double p5, string data ) : void
num int MCode Mapping Number
type MCODE_TYPE type of action to be performed
p1 double parameter #1
p2 double parameter #3
p3 double parameter #3
p4 double parameter #4
p5 double parameter #5
data string string parameter - typically a file name
리턴 void

SetOffsetData() 공개 메소드

Set Work Fixture Offset to be used by the GCode Interpreter
public SetOffsetData ( int num, double x, double y, double z, double a, double b, double c ) : void
num int Fixture Number
x double x offset
y double y offset
z double z offset
a double a offset
b double b offset
c double c offset
리턴 void

SetParamsFile() 공개 메소드

Set Params File name to be used by the GCode Interpreter
public SetParamsFile ( string paramsfile ) : void
paramsfile string Params File Path String
리턴 void

SetToolFile() 공개 메소드

Set Tool File name to be used by the GCode Interpreter
public SetToolFile ( string toolFile ) : void
toolFile string Tool File Path String
리턴 void

SetToolTableEntry() 공개 메소드

Set Tool Table Entry to be used by the GCode Interpreter
public SetToolTableEntry ( int index, int slot, int ID, double length, double diameter, double xoffset, double yoffset ) : void
index int Tool Table Index Number
slot int Tool changer 2 digit slot Number
ID int Tool 4 digit ID Number
length double Tool length offset
diameter double Tool diameter used in radius compensation
xoffset double Tool X Offset
yoffset double Tool Y Offset
리턴 void

StartPath() 공개 메소드

Flush/clear coordinated motion buffer and wait for any rapids to complete
public StartPath ( ) : void
리턴 void

StartRapidTo() 공개 메소드

Perform Start of Rapid Move (independent motion) of multiple axis to a desired destination
public StartRapidTo ( double position ) : void
position double
리턴 void

WaitforMotionComplete() 공개 메소드

Blocks the calling thread until the axis group is in position within a specified time limit
public WaitforMotionComplete ( int timeout ) : bool
timeout int time in ms to wait for axis group to acheive position, 0 will wait indefinitely
리턴 bool

프로퍼티 상세

_Acceleration 보호되어 있는 프로퍼티

Acceleration to use during positioning
protected double _Acceleration
리턴 double

_ArcsToSegs 보호되어 있는 프로퍼티

Causes Arcs to be converted to segments (Kinematic Setting)
protected bool _ArcsToSegs
리턴 bool

_AxisList 보호되어 있는 프로퍼티

Axis objects that the group is comprised of
protected List _AxisList
리턴 List

_BreakAngle 보호되어 있는 프로퍼티

Trajectory Planner Break Angle, larger angles require full stop
protected double _BreakAngle
리턴 double

_CollinearTolerance 보호되어 있는 프로퍼티

Trajectory Planner Collinear tolerance at which in-line segments can be combined
protected double _CollinearTolerance
리턴 double

_Controller 보호되어 있는 프로퍼티

KM_Controller Object for used for device access
protected KM_Controller _Controller
리턴 KM_Controller

_CornerTolerance 보호되어 있는 프로퍼티

Trajectory Planner Collinear tolerance at which in-line segments can be combined
protected double _CornerTolerance
리턴 double

_DegreesA 보호되어 있는 프로퍼티

Causes Arcs to be converted to segments (User Setting)
protected bool _DegreesA
리턴 bool

_DegreesB 보호되어 있는 프로퍼티

Axis A is in Degrees
protected bool _DegreesB
리턴 bool

_DegreesC 보호되어 있는 프로퍼티

Axis B is in Degrees
protected bool _DegreesC
리턴 bool

_FacetAngle 보호되어 있는 프로퍼티

Trajectory Planner angles to be used when corner rounding
protected double _FacetAngle
리턴 double

_ID 보호되어 있는 프로퍼티

Axis Group Number
protected int _ID
리턴 int

_LookAhead 보호되어 있는 프로퍼티

Trajectory Planner Plan/Look ahead in seconds
protected double _LookAhead
리턴 double

_MaxLength 보호되어 있는 프로퍼티

Trajectory Planner max allowed length for individual segments (long linear segments can cause cord errors in non-linear systems)
protected double _MaxLength
리턴 double

_MaxVelocity 보호되어 있는 프로퍼티

Maximum velocity to use during positioning and coordinated motion
protected double _MaxVelocity
리턴 double

_Name 보호되어 있는 프로퍼티

Call Name Use to describe what the Axis Group controls i.e. Spindle 1 Carriage, Wrist, etc...
protected string _Name
리턴 string

_UseOnlyLinearSegments 보호되어 있는 프로퍼티

Axis Group Number
protected bool _UseOnlyLinearSegments
리턴 bool

_Velocity 보호되어 있는 프로퍼티

Velocity to use during positioning
protected double _Velocity
리턴 double