586,393 active members*
2,510 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2013
    Posts
    65

    Probing in Z?

    We have an Okuma MB-56 that serves as one of our shops work horses. I believe it has an OSP-200M controller, (I'm at home right now I can't check) and a Renishaw work probe. We do not have a manual for the probing system. What we know about it, we learned from dissecting the programs that were installed on the machine when we first got it. We can seem to use the probe in Z a little, but the results never seem to right, and we don't know how to calibrate it in Z to fix it, nor can I figure out how to use it from within an incremental program.

    Here is an example of a set-up program we just started using. I've stubbed in a section towards the end to pick up Z, (perhaps that should be the first thing it picks off) but it is commented out, and I don't know what it should actually look like, it's copied from the one program I have in my (private) library that works in Z (Z must first be set, and the machine in absolute mode to run)

    Code:
    (***********************)
    (**INCREMENTAL PROGRAM**)
    
    (LENGTH OF RAIL)
    VC1=31.1
    
    (WIDTH OF RAIL)
    VC2=3.9
    
    (REQ'D PARALLELISM TO X AXIS)
    VC3=.0007
    
    (OFFSET TO BE SET)
    VC4=1
    
    (***********************)
    IF [VATOL NE 31 ]NOPE
    M130 M127
    
    G91 G00 X=-[VC1*.4]
    
    (PROBE Y LEFTSIDE)
    CALL OO10 PMOD=12 PELI=VC2 PIN=.7
    CALL OO20 PHN=50 PY=0
    
    G00 X=[VC1*.8]
    
    (PROBE RIGHT SIDE) 
    CALL OO10 PMOD=12 PELI=VC2 PIN=.7
    CALL OO20 PHN=49 PY=0
    
    (TEST)
    IF [ABS[VZOFY[50]-VZOFY[49]] GE VC3]NOUT
     
    (SET Y) 
    VZOFY[VC4]=[VZOFY[50]+VZOFY[49]]/2
    
    (PROBE X)
    G91 G00 X=-[VC1*.4]
    CALL OO10 PMOD=11 PELI=VC1 PIN=.7
    CALL OO20 PHN=VC4 PX=0
    
    (PROBE Z)
    (CALL OO10 PMOD=3 PEI=???)
    (CALL OO20 PZ=.2216 PHN=VC4)
    
    M131
    
    GOTO NEND
    (ALARMS)
    NOPE
    G90
    VNCOM[1] = 3
    MSG(PROBE NOT IN SPINDLE)
    VDOUT[992]=1
    
    NOUT
    G90 
    VNCOM[1] = 3
    MSG(NOT PARALLEL WITH X AXIS)
    VDOUT[992]=1
    
    NEND
    G90
    G30 P11
    M2

  2. #2
    Join Date
    Mar 2009
    Posts
    1982
    find Your "OO10" and "OO20" subroutines
    (PROBE Z)
    (CALL OO10 PMOD=3 PEI=???)
    (CALL OO20 PZ=.2216 PHN=VC4)
    this part? You have similar pieces
    (PROBE X)
    G91 G00 X=-[VC1*.4]
    CALL OO10 PMOD=11 PELI=VC1 PIN=.7
    CALL OO20 PHN=VC4 PX=0
    maybe it's reasonable to dig in Probe x part and understand how to transform it to be Z probe

  3. #3
    Join Date
    May 2011
    Posts
    27
    A valiant effort considering you don't have a manual! If you like this weekend I can scan a "Cliffs notes" version of the probe manual and attach it to an e-mail for you.

    The "PEI" in your Z probe code is the active work Z offset location of the surface you are trying to probe. It usually has the same value as your "PZ" in the following line.

    To calibrate the probe in Z use the following probe sub call:
    Call OO10 PMOD=8 PEI=??? PLI=???
    PEI= Z coordinate value of the gauging face you are using.
    PLI= Apx probe length (TLO)

    Have you considered not using incremental mode? Your probe fixture offsets could use your varables too.
    VZOFY[1]=12.345-VC2/2 etc.

  4. #4
    Join Date
    Apr 2013
    Posts
    65
    Quote Originally Posted by Maxter View Post
    A valiant effort considering you don't have a manual! If you like this weekend I can scan a "Cliffs notes" version of the probe manual and attach it to an e-mail for you.

    The "PEI" in your Z probe code is the active work Z offset location of the surface you are trying to probe. It usually has the same value as your "PZ" in the following line.

    To calibrate the probe in Z use the following probe sub call:
    Call OO10 PMOD=8 PEI=??? PLI=???
    PEI= Z coordinate value of the gauging face you are using.
    PLI= Apx probe length (TLO)

    Have you considered not using incremental mode? Your probe fixture offsets could use your varables too.
    VZOFY[1]=12.345-VC2/2 etc.
    That would be great, a "cliff notes" version might be better than the original. Okuma's documentation not in the same version of English I speak.

  5. #5
    Join Date
    Oct 2012
    Posts
    84
    I would like to have that cliff notes of the manual too if it wouldn't be too much trouble. Please and than you.

  6. #6
    Join Date
    Apr 2013
    Posts
    65
    Quote Originally Posted by Maxter View Post

    Have you considered not using incremental mode? Your probe fixture offsets could use your varables too.
    VZOFY[1]=12.345-VC2/2 etc.
    I normally use absolute when driving the probe, I've got several good programs that loop, and use the probe to set their offsets from a mutiPart fixture, My problems are in probing Z, especially in incremental mode. I'm trying to build a set-up library for our probe, so rather than the operator having to at a minimum set his work offsets approximately, He sets the offset that he need to sets (in the program), he draws a dot on the work piece with a marker, points the probe at it, hit's go,... (and Bob is your Uncle) I'm also currently using common vars in the program to do this, that needs to fixed for forward compatibility.

  7. #7
    Join Date
    Apr 2013
    Posts
    65

    Cool

    It's taken alot longer than I would have liked to get to test my ideas for this one, caught an opportunity today. Program uses local vars now, a big plus for moving forward, and pings Z... A big time saver.

    Code:
    (**INCREMENTAL PROGRAM**)
    
    (LENGTH OF RAIL)
    JV1=28.
    
    (WIDTH OF RAIL)
    JV2=3.35
    
    (REQ'D PARALLELISM TO X AXIS)
    JV3=.0006
    
    (OFFSET TO BE SET)
    JV4=1
    
    (***********************)
    
    
    IF [VATOL NE 31 ]NOPE
    M130 M127
    
    G91 G00 X=-[JV1*.4]
    
    (PROBE Y LEFT SIDE)
    CALL OO10 PMOD=12 PELI=JV2 PIN=.7
    CALL OO20 PHN=50 PY=0
    
    G00 X=[JV1*.8]
    
    (PROBE RIGHT SIDE) 
    CALL OO10 PMOD=12 PELI=JV2 PIN=.7
    CALL OO20 PHN=49 PY=0
    
    (TEST)
    IF [ABS[VZOFY[50]-VZOFY[49]] GE JV3]NOUT
     
    (SET Y) 
    VZOFY[JV4]=[VZOFY[50]+VZOFY[49]]/2
    
    (PROBE X)
    G91 G00 X=-[JV1*.4]
    CALL OO10 PMOD=11 PELI=JV1 PIN=.7
    CALL OO20 PHN=JV4 PX=0
    
    VZOFZ[50]=[VAPAZ-VMOFZ-VTOFH[31]] (SET Z OFFSET 50 TO CURRENT POS)
    G15 H50
    G90 G00 G56 H31 Z0. 
    
    (PROBE Z)
    CALL OO10 PMOD=3 PEI=-.2
    CALL OO20 PHN=JV4 PZ=0.2209 (PZ WAS .2663)
    
    
    GOTO NEND
    (ALARMS)
    NOPE
    G90
    G15 H=JV4
    M131
    VNCOM[1] = 3
    MSG(PROBE NOT IN SPINDLE)
    VDOUT[992]=1
    
    NOUT
    G90
    G15 H=JV4
    M131
    VNCOM[1] = 3
    MSG(NOT PARALLEL WITH X AXIS)
    VDOUT[992]=1
    
    NEND
    G90
    G15 H=JV4
    M131
    M2
    It's not been thoroughly tested, but it does seem to work. I'm still looking for a better way to probe Z in incremental mode, thats quite the work around, (and I do enter absolute mode to pull it off) any thoughts on improvements would be great as well. That said, if you have a machine/probe that can run this program, and you make long skinny parts with their origins in the center top, enjoy.

Similar Threads

  1. Probing the 4th
    By Kool Parts in forum Haas Mills
    Replies: 8
    Last Post: 04-26-2013, 12:40 AM
  2. probing help
    By ozzie34231 in forum SmoothStepper Motion Control
    Replies: 0
    Last Post: 07-29-2012, 06:15 PM
  3. Probing in a TM-1P
    By HayreAss in forum Haas Mills
    Replies: 1
    Last Post: 01-15-2012, 02:32 AM
  4. Probing?
    By chunkymonkey in forum Uncategorised MetalWorking Machines
    Replies: 2
    Last Post: 04-02-2008, 05:39 AM

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
  •