585,978 active members*
4,232 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2007
    Posts
    55
    Hello colleagues

    Have a little problem and maybe somebody knows a solution to it.
    I have around 500 tools on my 5-axis milling machine. These will get a new tool description.
    To save time and to improve my programs, I want to do the tool call directly over the subprogram so that 1. The main programs become shorter and second always the up to date cutting data is programmed and thirdly so that I can call tools with the old and new description with a “IF” enquiry.


    That looks like this:

    Tool description old: 249 new: 11532495

    Sub program:
    N10 If T249 then gotof N30
    N20 T11532495
    N30 G96 S250 M3
    N40 ...

    Is it possible to call the tools if they are still in the magazine and therefore program them with a If-inquiry?

    How would the subprogram look like?

  2. #2
    $A_TOOLMN[t]
    Gives out the magazine number of the tools with the T-No.=t.
    Is the tool not allocated to the magazine, then 0 is given out.
    Is the tool management not active then -1 is given out.
    If no tool with T-Nr.=t exists, then -2 is given out.
    You get an alarm if the values for the T numbers are damaged.
    There are only 10 types of people in the world: Those who understand binary, and those who don&#39;t<br />Wir haben einen exponentiellen Zuwachs an <strike>Doofen</strike> Pack im Forum

  3. #3
    Join Date
    Feb 2007
    Posts
    55
    $A_TOOLMN[t]
    Gives out the magazine number of the tools with the T-No.=t.
    Is the tool not allocated to the magazine, then 0 is given out.
    Is the tool management not active then -1 is given out.
    If no tool with T-Nr.=t exists, then -2 is given out.
    You get an alarm if the values for the T numbers are damaged.
    Would the program look like this:

    Subprogram:
    N10 IF $A_TOOLMN[249]=0 gotof WZ2
    N20 T249
    N30 M6
    N40 G96 S2000 M3
    N50 gotof end
    N60 WZ2:
    N70 T11532495
    N80 M6
    N90 G96 S2000 M3
    N100 END:
    N110 M17

Posting Permissions

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