Results 1 to 7 of 7

Thread: Okuma tool setter program

  1. #1
    Registered
    Join Date
    Nov 2011
    Location
    USA
    Posts
    2
    Downloads
    0
    Uploads
    0

    Okuma tool setter program

    We have a new MF-46VAE with the P200M-H control. We're very familiar with the control but this is our first Okuma with a tool setter. We'd like to have a program that will allow us to load up the magazine and set all the tools automatically. We're currently doing this with our Brothers so we know what needs to happen, but the Brother control is very Fanuc-ish and the program doesn't easily translate to Okuma . Anybody doing this?
    Thanks.


  2. #2
    Registered Algirdas's Avatar
    Join Date
    Mar 2009
    Location
    Lithuania
    Posts
    1,040
    Downloads
    0
    Uploads
    0
    the program could be supplied with a new machine. Just check MD0: contains


  3. #3
    Registered
    Join Date
    Jun 2008
    Location
    USA
    Posts
    265
    Downloads
    0
    Uploads
    0
    Save this as a custom G code (G111)


    OTOOL (PROGRAM NAME)
    (************TO CALL**********)
    (G111 MEASURES THE TOOL IN THE SPINDLE)
    (G111 T1 [SELECTS THE TOOL AND MEASURES IT])
    (NOTE: THE TIP OF THE CUTTER MUST BE IN LINE WITH THE KEY)
    (AND THE CUTTER RADIUS MUST BE SET)
    (SET CUTTER RADIUS FOR BORING BAR TOOLS ALSO)
    (TIPPED TOOLS CAN BE MESURED WITH G111 PA=??)
    (G15 H20)
    IF [PA NE EMPTY] N1
    PA=0
    N1
    IF [PT EQ EMPTY] N4 (IF T IS NOT SET GOTO LINE 4)
    IF [VTLCN EQ PT] N4 (IF T=TOOL IN THE SPINDLE GOTO LINE 4)
    IF [VNTOL EQ PT] N3 (IF T=NEXT TOOL GOTO LINE 3)
    IF [VNTOL EQ 0 ] N2 (IF NEXT TOOL IS VACANT GOTO LINE 2)
    M64 (CANCEL PRE-SELECT TOOL)
    N2
    T=PT (PRE-SELECT COMMANDED TOOL)
    N3
    M06 (TOOL-CHANGE)
    N4
    CALL OO30 PX=[VTOFD[VTLCN]] VFST=#81H PRS=PA
    (TOOL GAUGE CYCLE)
    RTS (END)

    Then the Min file will be
    G111 T1
    G111 T2
    etc
    etc
    M02


  4. #4
    Registered broby's Avatar
    Join Date
    Apr 2006
    Location
    Australia
    Posts
    643
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by budgieW View Post
    Save this as a custom G code (G111)


    OTOOL (PROGRAM NAME)
    (************TO CALL**********)
    (G111 MEASURES THE TOOL IN THE SPINDLE)
    (G111 T1 [SELECTS THE TOOL AND MEASURES IT])
    (NOTE: THE TIP OF THE CUTTER MUST BE IN LINE WITH THE KEY)
    (AND THE CUTTER RADIUS MUST BE SET)
    (SET CUTTER RADIUS FOR BORING BAR TOOLS ALSO)
    (TIPPED TOOLS CAN BE MESURED WITH G111 PA=??)
    (G15 H20)
    IF [PA NE EMPTY] N1
    PA=0
    N1
    IF [PT EQ EMPTY] N4 (IF T IS NOT SET GOTO LINE 4)
    IF [VTLCN EQ PT] N4 (IF T=TOOL IN THE SPINDLE GOTO LINE 4)
    IF [VNTOL EQ PT] N3 (IF T=NEXT TOOL GOTO LINE 3)
    IF [VNTOL EQ 0 ] N2 (IF NEXT TOOL IS VACANT GOTO LINE 2)
    M64 (CANCEL PRE-SELECT TOOL)
    N2
    T=PT (PRE-SELECT COMMANDED TOOL)
    N3
    M06 (TOOL-CHANGE)
    N4
    CALL OO30 PX=[VTOFD[VTLCN]] VFST=#81H PRS=PA
    (TOOL GAUGE CYCLE)
    RTS (END)

    Then the Min file will be
    G111 T1
    G111 T2
    etc
    etc
    M02
    On the call to the G code line G111 PA=?? you actually only need to program G111 A45
    The A45 command is passed into the subprogram and referenced via PA in the subprogram.
    The "P" in front of the Letter "A" tells the subprogram to reference the stated parameter letter on the call line.

    So using G111 A45 the subprogram would have PA equaling 45.
    Cheers
    Brian.


  • #5
    Registered littlerob's Avatar
    Join Date
    Jan 2008
    Location
    usa
    Posts
    570
    Downloads
    0
    Uploads
    0
    Wow good info in post #3 and 4, thanks guys.

    Robert
    The beaten path, is exclusively for beaten men.


  • #6
    Registered broby's Avatar
    Join Date
    Apr 2006
    Location
    Australia
    Posts
    643
    Downloads
    0
    Uploads
    0
    This is the program we use on our OSP-E100M MA600HB machine.

    $TOOL.LIB%
    OTOOL
    M00
    HSET=0 (PRESET VARIABLE)
    IF [VACOD NE 0] N1
    G15 H50 HSET=1
    N1 CALL OO30 VFST=1 PY=VTOFD[VTLCN]
    IF [HSET NE 1] NEND
    G15 H0
    NEND
    G0 Z800
    RTS
    %

    Very similar to Budgie's code but less clear in what it does...
    We have this one set up as a M-Code macro rather than a G-Code, but either way will work.
    Both codes use the tool radius to put the tip inline with the tool setter point.

    To calibrate the tool setter I use the following instructions:

    Setting the Touch Sensor ZERO Point (Z Axis)

    1. From MDI: execute Sensor Advance M144
    2. Position Setting Bar in front of touch sensor.
    3. MDI: CALL OO30 PAXI=7 PLI=0

    After this, use the tool setting code to check the length of the setting tool, should be spot on.

    Setting the Touch Sensor ZERO Point (X+Y)
    1. From MDI: execute Sensor Advance M144
    2. Mount a small diameter drill into the spindle (size not important)
    3. Bring drill point up to sensor head and position centrally on sensor.
    4. From MDI: CALL OO30 PAXI=3
    a. X and Y axis zero offset is executed so that the present (actual) position of the drill becomes X0 Y0. Z axis will not move.
    b. After the execution of the X and Y zero set, Z axis will move, at rapid, to the positive end of the axis and the sensor will retract.

    Hope this helps.
    Brian.


  • #7
    Registered
    Join Date
    Nov 2011
    Location
    USA
    Posts
    2
    Downloads
    0
    Uploads
    0
    Thanks to all.


  • Similar Threads

    1. Need Help!- Tool Setter Macro for M-V60C and Metrol Setter
      By mitshack in forum Mazak, Mitsubishi, Mazatrol
      Replies: 1
      Last Post: 02-02-2013, 06:08 AM
    2. Need Help!- tool setter
      By korte1 in forum Mazak, Mitsubishi, Mazatrol
      Replies: 1
      Last Post: 12-20-2012, 11:21 AM
    3. Need Help!- Okuma Multus Touch setter
      By Green Button in forum Okuma
      Replies: 5
      Last Post: 09-06-2011, 06:35 AM
    4. Need Help!- Tool setter macro for M-V60C and Metrol setter
      By mitshack in forum General CNC (Mill and Lathe) Control Software (NC)
      Replies: 0
      Last Post: 10-06-2008, 09:38 AM
    5. TOOL SETTER WITH G50???
      By DublJ in forum Fanuc
      Replies: 0
      Last Post: 07-30-2008, 08:28 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.