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