585,992 active members*
5,978 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Okuma > Okuma Mill tool length check
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2016
    Posts
    20

    Okuma Mill tool length check

    We have a couple special combination tools that have a small diameter drill protruding from the end. I want to check the tool length from the registry that it is within a certain limit. So that if the tool length is changed it has to be between these set lengths.
    For example.
    If tool is under 11" then N...
    If tool is over 11.5" then N...

    Also I've done multiple tool offsets many times on a lathe. What does that look like for a mill? We have an older horizontal with 150 magazine.

    Thanks

  2. #2
    Join Date
    Jun 2015
    Posts
    4154

    Re: Okuma Mill tool length check

    hello zufan i can help for osp300

    ... what control do you have ?
    ... why do you need this check ?
    ... what do you mean by " Also I've done multiple tool offsets many times on a lathe " ?

    kindly !
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  3. #3
    Join Date
    Dec 2008
    Posts
    3109

    Re: Okuma Mill tool length check

    Simplest would be to place something in your NC program that interrogates the length that the tool offset has been set to, after your header
    - you may also place the same code after your tool call, so if a restart situation occurs, any out-of-range tool length would make the program stop

    ie
    Code:
    IF [ VTOFH[11] GE 11.5000 ] M00 ( TOOL SET-OUT TOO FAR )
    IF [ VTOFH[11] LE 11.0000 ] M00 ( TOOL SET-IN TOO SHORT)
    T11 M6 ( Call in Special Tool )
    T12 ( Prepare Next Tool )

  4. #4
    Join Date
    Aug 2011
    Posts
    419

    Re: Okuma Mill tool length check

    System variables list for OSP-P200M
    Attached Thumbnails Attached Thumbnails p200m system variables.pdf  
    "Imagination is more important than knowledge."

  5. #5
    Join Date
    Jun 2015
    Posts
    4154

    Re: Okuma Mill tool length check

    if condition_evaluated_to_true then execute_true_branch

    execute_true_branch allowed syntaxes are : " GOTO N* " and " N* "

    Code:
        IF [ VTOFH [ 13 ] GE 11.5 ] NGOOD
             M0 ( hey )
        NGOOD
    
    Code:
        IF [ VTOFH [ LV01 ] GE LV02 ] NGOOD
             M0 ( hey )
        NGOOD
    
    ( LV01 may contian the value of VTLCN, or may be replaced with VTLVN, etc )
    ( LV03 may contian the value of a real number, or may be replaced with a real number, etc )
    ( local variables can be created when a tool change macro is called : CALL LV01=13 LV02=next_tool LV03=11.5 )
    

    a tool change macro may be called to also execute the following :
    ... offset > minimal_target ( m : greater than minimal )
    ... offset < maximal_target ( M : lower than maximal )
    ... minimal_target < offset < maximal_target ( mM : bounding )
    ... if you consider :
    ...... ( minimal_target + maximal_target ) / 2 = medium_offset
    ...... maximal_targer - minimal_target = 2 * tolerance, than above condition becames | offset - medium_offset | < tolerance ( mM : symetrical bounding )
    ... offset = target, thus no corrections are allowed
    ... etc

    i have developed this for lathes, and i will write codes for mill only when a series will kick in now we are machining uniques ...

    i can raise the safety level, at least for osp300 kindly !
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

Similar Threads

  1. Replies: 16
    Last Post: 07-01-2016, 02:38 PM
  2. Replies: 6
    Last Post: 06-27-2015, 10:04 PM
  3. set up tool length offset and ref tool on mill
    By buklattt in forum CNC Machining Centers
    Replies: 2
    Last Post: 04-01-2012, 05:01 PM
  4. Replies: 10
    Last Post: 12-02-2010, 10:49 PM
  5. programing tool length offset in a 3axis mill
    By bert4255 in forum G-Code Programing
    Replies: 14
    Last Post: 12-30-2009, 10:41 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
  •