How can I access the Tool "xoffset" info. / Like I access the Tool Length Offset?
Greetings,
How can I access the Tool "xoffset" info. / Like I access the Tool Length Offset?
__________________________________________________ ______________________
double r = KM.CoordMotion.Interpreter.SetupParams.ToolLengthO ffset;
double r2 = KM.CoordMotion.Interpreter.SetupParams.xoffset; //This and other new settings, are not exposed to my C# program???
__________________________________________________ ______________________
__________________________________________________ ______________________
I tried to do something with the GetTool( but don't really know where to put that in the program? Or if I am executing it properly??
private void GetTool(index, ref int slot, ref int ID, ref double length, ref double diameter, ref double xoffset, ref double yoffset)
{
KM.CoordMotion.Interpreter.SetupParams.GetTool(GV. tool, ref slot, ref ID, ref length, ref diameter, ref xoffset, ref yoffset);
GV.myslot = slot;
GV.myid = ID;
GV.mylength = length;
GV.mydiameter = diameter;
GV.myxoffset = xoffset;
GV.myyoffset = yoffset;
}
Robot & Machine Design - BLUECNC4, GreenCNC3, RedCNC2L, SilverCNC2; CNC Software!
www.truemachinedesign.com - - - - - - - - - - - - - www.truemachineautomation.com