C# 클래스 KMotion_dotNet.KM_Interpreter.KM_Interpreter_SetupParams

Direct settings access for the EMC internal settings Warning, use at own risk Make sure to examine the Interpreter.cpp and related files to ensure you are aware of the possible repercussions when using these parameters
파일 보기 프로젝트 열기: parhansson/KMotionX

공개 메소드들

메소드 설명
GetTool ( int index, int &slot, int &ID, double &length, double &diameter, double &xoffset, double &yoffset ) : void

Get info on specific tool

KM_Interpreter_SetupParams ( IntPtr handle ) : System

Constructor for GCode interpreter internal setup parameters interface

SetTool ( int index, int slot, int id, double length, double diameter, double xoffset, double yoffset ) : void

Updates the given tool table location

비공개 메소드들

메소드 설명
Get_A_AxisOffset ( ) : double
Get_A_AxisPosition ( ) : double
Get_A_OriginOffset ( ) : double
Get_Active_GCodes ( ) : List
Get_Active_MCodes ( ) : List
Get_Active_Settings ( ) : double[]
Get_AllowSpindleSpeedOverride ( ) : int
Get_B_AxisOffset ( ) : double
Get_B_AxisPosition ( ) : double
Get_B_OriginOffset ( ) : double
Get_BlockDelete ( ) : int
Get_C_AxisOffset ( ) : double
Get_C_AxisPosition ( ) : double
Get_C_OriginOffset ( ) : double
Get_ControlMode ( ) : int
Get_CurrentLine ( ) : int
Get_CurrentMotionMode ( ) : int
Get_CurrentToolSlot ( ) : int
Get_Cycle_CC ( ) : double
Get_Cycle_I ( ) : double
Get_Cycle_J ( ) : double
Get_Cycle_K ( ) : double
Get_Cycle_L ( ) : double
Get_Cycle_P ( ) : double
Get_Cycle_Q ( ) : double
Get_Cycle_R ( ) : double
Get_Cycle_RetractMode ( ) : int
Get_Cycle_Z ( ) : double
Get_DistanceMode ( ) : int
Get_FeedMode ( ) : int
Get_FeedRate ( ) : double
Get_FileName ( ) : string
Get_FloodCoolantOn ( ) : int
Get_LengthUnits ( ) : int
Get_LineLength ( ) : int
Get_LineText ( ) : string
Get_MistCoolantOn ( ) : int
Get_OriginIndex ( ) : int
Get_PercentFlag ( ) : int
Get_ProbeComplete ( ) : int
Get_ProgramX ( ) : double
Get_ProgramY ( ) : double
Get_RadiusComp ( ) : int
Get_RadiusCompSide ( ) : int
Get_RadiusCompValue ( ) : double
Get_SelectedToolSlot ( ) : int
Get_SequenceNumber ( ) : int
Get_SpindleDirection ( ) : int
Get_SpindleSpeed ( ) : double
Get_ToolLengthOffset ( ) : double
Get_ToolLengthOffsetIndex ( ) : int
Get_ToolXOffset ( ) : double
Get_ToolYOffset ( ) : double
Get_TraverseSpeed ( ) : double
Get_WorkPlane ( ) : int
Get_X_AxisOffset ( ) : double
Get_X_AxisPosition ( ) : double
Get_X_OriginOffset ( ) : double
Get_Y_AxisOffset ( ) : double
Get_Y_AxisPosition ( ) : double
Get_Y_OriginOffset ( ) : double
Get_Z_AxisOffset ( ) : double
Get_Z_AxisPosition ( ) : double
Get_Z_OriginOffset ( ) : double
Get_block_p_flag ( ) : bool
Get_block_p_number ( ) : double
Get_block_q_flag ( ) : bool
Get_block_q_number ( ) : double
Get_block_r_flag ( ) : bool
Get_block_r_number ( ) : double
KM_dotnet_Interop_GCodeInterpreter_GetTool ( IntPtr handle, int index, int &slot, int &id, double &length, double &diameter, double &xoffset, double &yoffset ) : void
KM_dotnet_Interop_GCodeInterpreter_Get_A_Axis_Offset ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_A_Current_Position ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_A_Origin_Offset ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_Active_GCode ( IntPtr handle, int index ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_Active_MCode ( IntPtr handle, int index ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_Active_Setting ( IntPtr handle, int index ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_AllowSpindleSpeedOverride ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_B_Axis_Offset ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_B_Current_Position ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_B_Origin_Offset ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_BlockDelete ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_C_Axis_Offset ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_C_Current_Position ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_C_Origin_Offset ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_ControlMode ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_CurrentLine ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_CurrentMotionMode ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_CurrentToolSlot ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_Cycle_CC ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_Cycle_I ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_Cycle_J ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_Cycle_K ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_Cycle_L ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_Cycle_P ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_Cycle_Q ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_Cycle_R ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_Cycle_RetractMode ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_Cycle_Z ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_DistanceMode ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_FeedMode ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_FeedRate ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_FileName ( IntPtr handle, string &file ) : void
KM_dotnet_Interop_GCodeInterpreter_Get_FloodCoolantOn ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_LengthUnits ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_LineLength ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_LineText ( IntPtr handle, string &line ) : void
KM_dotnet_Interop_GCodeInterpreter_Get_MistCoolantOn ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_OriginIndex ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_PercentFlag ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_ProbeComplete ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_ProgramX ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_ProgramY ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_RadiusComp ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_RadiusCompSide ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_RadiusCompValue ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_SelectedToolSlot ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_SequenceNumber ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_SpindleDirection ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_SpindleSpeed ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_ToolLengthOffset ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_ToolLengthOffsetIndex ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_ToolXOffset ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_ToolYOffset ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_TraverseSpeed ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_WorkPlane ( IntPtr handle ) : int
KM_dotnet_Interop_GCodeInterpreter_Get_X_Axis_Offset ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_X_Current_Position ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_X_Origin_Offset ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_Y_Axis_Offset ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_Y_Current_Position ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_Y_Origin_Offset ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_Z_Axis_Offset ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_Z_Current_Position ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_Z_Origin_Offset ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_block_p_flag ( IntPtr handle ) : bool
KM_dotnet_Interop_GCodeInterpreter_Get_block_p_number ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_block_q_flag ( IntPtr handle ) : bool
KM_dotnet_Interop_GCodeInterpreter_Get_block_q_number ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_Get_block_r_flag ( IntPtr handle ) : bool
KM_dotnet_Interop_GCodeInterpreter_Get_block_r_number ( IntPtr handle ) : double
KM_dotnet_Interop_GCodeInterpreter_SetTool ( IntPtr handle, int index, int slot, int id, double length, double diameter, double xoffset, double yoffset ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_A_Axis_Offset ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_A_Current_Position ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_A_Origin_Offset ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_AllowSpindleSpeedOverride ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_B_Axis_Offset ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_B_Current_Position ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_B_Origin_Offset ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_BlockDelete ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_C_Axis_Offset ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_C_Current_Position ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_C_Origin_Offset ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_ControlMode ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_CurrentLine ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_CurrentMotionMode ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_CurrentToolSlot ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Cycle_CC ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Cycle_I ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Cycle_J ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Cycle_K ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Cycle_L ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Cycle_P ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Cycle_Q ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Cycle_R ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Cycle_RetractMode ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Cycle_Z ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_DistanceMode ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_FeedMode ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_FeedRate ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_FloodCoolantOn ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_LengthUnits ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_MistCoolantOn ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_OriginIndex ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_ProbeComplete ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_ProgramX ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_ProgramY ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_RadiusComp ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_RadiusCompSide ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_RadiusCompValue ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_SelectedToolSlot ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_SpindleDirection ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_SpindleSpeed ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_ToolLengthOffset ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_ToolLengthOffsetIndex ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_ToolXOffset ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_ToolYOffset ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_TraverseSpeed ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_WorkPlane ( IntPtr handle, int value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_X_Axis_Offset ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_X_Current_Position ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_X_Origin_Offset ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Y_Axis_Offset ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Y_Current_Position ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Y_Origin_Offset ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Z_Axis_Offset ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Z_Current_Position ( IntPtr handle, double value ) : void
KM_dotnet_Interop_GCodeInterpreter_Set_Z_Origin_Offset ( IntPtr handle, double value ) : void
Set_A_AxisOffset ( double value ) : void
Set_A_AxisPosition ( double value ) : void
Set_A_OriginOffset ( double value ) : void
Set_AllowSpindleSpeedOverride ( int value ) : void
Set_B_AxisOffset ( double value ) : void
Set_B_AxisPosition ( double value ) : void
Set_B_OriginOffset ( double value ) : void
Set_BlockDelete ( int value ) : void
Set_C_AxisOffset ( double value ) : void
Set_C_AxisPosition ( double value ) : void
Set_C_OriginOffset ( double value ) : void
Set_ControlMode ( int value ) : void
Set_CurrentLine ( int value ) : void
Set_CurrentMotionMode ( int value ) : void
Set_CurrentToolSlot ( int value ) : void
Set_Cycle_CC ( double value ) : void
Set_Cycle_I ( double value ) : void
Set_Cycle_J ( double value ) : void
Set_Cycle_K ( double value ) : void
Set_Cycle_L ( double value ) : void
Set_Cycle_P ( double value ) : void
Set_Cycle_Q ( double value ) : void
Set_Cycle_R ( double value ) : void
Set_Cycle_RetractMode ( int value ) : void
Set_Cycle_Z ( double value ) : void
Set_DistanceMode ( int value ) : void
Set_FeedMode ( int value ) : void
Set_FeedRate ( double value ) : void
Set_FloodCoolantOn ( int value ) : void
Set_LengthUnits ( int value ) : void
Set_MistCoolantOn ( int value ) : void
Set_OriginIndex ( int value ) : void
Set_ProbeComplete ( int value ) : void
Set_ProgramX ( double value ) : void
Set_ProgramY ( double value ) : void
Set_RadiusComp ( int value ) : void
Set_RadiusCompSide ( int value ) : void
Set_RadiusCompValue ( double value ) : void
Set_SelectedToolSlot ( int value ) : void
Set_SpindleDirection ( int value ) : void
Set_SpindleSpeed ( double value ) : void
Set_ToolLengthOffset ( double value ) : void
Set_ToolLengthOffsetIndex ( int value ) : void
Set_ToolXOffset ( double value ) : void
Set_ToolYOffset ( double value ) : void
Set_TraverseSpeed ( double value ) : void
Set_WorkPlane ( int value ) : void
Set_X_AxisOffset ( double value ) : void
Set_X_AxisPosition ( double value ) : void
Set_X_OriginOffset ( double value ) : void
Set_Y_AxisOffset ( double value ) : void
Set_Y_AxisPosition ( double value ) : void
Set_Y_OriginOffset ( double value ) : void
Set_Z_AxisOffset ( double value ) : void
Set_Z_AxisPosition ( double value ) : void
Set_Z_OriginOffset ( double value ) : void

메소드 상세

GetTool() 공개 메소드

Get info on specific tool
public GetTool ( int index, int &slot, int &ID, double &length, double &diameter, double &xoffset, double &yoffset ) : void
index int Table Index
slot int Tool changer slot referenced in GCode as 2 digit number
ID int Tool ID referenced in GCode as 4 digit number
length double Tool Length Offset
diameter double Tool Diameter Offset
xoffset double Tool X Offset
yoffset double Tool Y Offset
리턴 void

KM_Interpreter_SetupParams() 공개 메소드

Constructor for GCode interpreter internal setup parameters interface
public KM_Interpreter_SetupParams ( IntPtr handle ) : System
handle IntPtr
리턴 System

SetTool() 공개 메소드

Updates the given tool table location
public SetTool ( int index, int slot, int id, double length, double diameter, double xoffset, double yoffset ) : void
index int Table Index
slot int Tool changer slot referenced in GCode as 2 digit number
id int Tool ID referenced in GCode as 4 digit number
length double Tool Length Offset
diameter double Tool Diameter Offset
xoffset double Tool X Offset
yoffset double Tool Y Offset
리턴 void