603,546 active members*
3,114 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Dynomotion/Kflop/Kanalog > How can I access the Tool "xoffset" info. / Like I access the Tool Length Offset?
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2004
    Posts
    241

    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

  2. #2
    Join Date
    May 2006
    Posts
    4088

    Re: How can I access the Tool "xoffset" info. / Like I access the Tool Length Offset?

    Hi Jeff,

    Sorry you are correct those were not fully exposed. There are some changed files located here to expose them:

    Index of /Software/Patch/ExposeToolTableXYoffsetsV433k

    Replace those files and you should then have ToolXOffset and ToolYOffset properties.

    HTH
    Regards
    TK
    http://dynomotion.com

  3. #3
    Join Date
    Jul 2004
    Posts
    241

    Re: How can I access the Tool "xoffset" info. / Like I access the Tool Length Offset?

    Tom,

    Thanks so much... I have completed my lathe version... and have it working in 433k.

    This was just a loose end... that will make that portion of the software much easier to manage.

    Thanks again,
    Robot & Machine Design - BLUECNC4, GreenCNC3, RedCNC2L, SilverCNC2; CNC Software!
    www.truemachinedesign.com - - - - - - - - - - - - - www.truemachineautomation.com

Similar Threads

  1. Sinumerik 802d sl : message "no access "
    By merhas06 in forum CNC Machining Centers
    Replies: 1
    Last Post: 01-05-2014, 06:42 AM
  2. Replies: 3
    Last Post: 12-01-2013, 05:21 PM
  3. Setting "Z" tool coordinate in geometry offset
    By Jim Beyer in forum Mori Seiki lathes
    Replies: 5
    Last Post: 09-07-2012, 12:34 PM
  4. Unable to access tool library V24
    By mgbgt89 in forum BobCad-Cam
    Replies: 1
    Last Post: 11-23-2011, 03:05 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •