Hi Darek,
I use the following code to probe the OD of a Boss on an Okuma with OSP5020M and OSP-E100M controllers.
I have it setup as a G Code macro on G113 and works quite well.
This code is for an MP10 or OMP60 Renishaw probe (on the e100)
To use on the 5020M with the MP3 probe I took out the call to the probe ON/OFF routines (OO18 & OO19)
Hope this helps
Cheers
Brian.
OBOSS
(*G113 CODE FOR OD GAUGING, SETTING X & Y*)
(*G113 X_ Y_ H_ D_ Z_*)
(*POSITION PROBE WITHIN 8MM OF BOSS CENTRE, 'Z' DISTANCE AWAY*)
(*X & Y = POSITION TO ZEROSET AT*)
(*H = COORDINATE SYSTEM TO ZEROSET TO*)
(*D = APPROXIMATE DIAMETER OF BOSS/SPIGOT*)
(*Z = Z DISTANCE FROM FACE OF BOSS - *)
(* PROBE WILL TRAVEL 10MM BEYOND THIS Z DISTANCE*)
VSTOH[5]=VTOFH[1] (RESET PROBE LENGTH TO ORIGINAL PROBE, TOOL 1)
IF [PH EQ EMPTY] NALM1
IF [PX EQ EMPTY] NALM1
IF [PY EQ EMPTY] NALM1
IF [PD EQ EMPTY] NALM1
IF [PZ EQ EMPTY] NALM1
IF [PZ LE 0] NALM2
IF [PH LE 0] NALM1
IF [PH GT 200] NALM1
M133 (*SINGLE BLOCK VALID*)
M137 (*FEEDRATE OVERRIDE VALID*)
M141 (*SLIDE HOLD VALID*)
G15 H=PH
CALL OO18 (*TURN ON PROBE*)
CALL OO10 PMOD=6 PDI=PD PZIN=PZ+10 (*GAUGE OD*)
CALL OO20 PHN=PH PX=PX PY=PY (*SET ZEROSETS*)
GOTO NEND3
NALM1
VUACM[1]='ERROR X,Y,H,D,Z'
VDOUT[993]=4
(************)
NALM2
VUACM[1]='Z MUST BE > 0'
VDOUT[993]=5
(************)
NEND3 G15 H=PH
CALL OO19 (*TURN OFF PROBE*)
RTS
Thanks Brian, it is important for me:CALL OO10 PMOD=6 PDI=PD PZIN=PZ+10
I use MP10 Renishaw on an Okuma VH-40 with OSP7000M controller.
Do you have instructions for the milling "Gauging Manual"? (*.pdf) (for OSP7000M or OSP5020M or OSP-E100M)
Could you possibly send me? [email protected]
Best Regards
Darek
Hi Brian
I have another question. In OSP7000M controller I can not find window "gauging results". Is there another way to display gauging results?(inner/outer diameter,distance between inner/outer faces) For example in the table "common variables".I tested the code VC1 = VS30, but controller does not accept.
Darek
I am not absolutely certain for the OSP7000M control but on our OSP5020M control I press the "Extend" button (when in Auto Mode) until I see a function key label called "Personal".
Pressing that key brings up the probe results.
Hope it is the same for you.
Cheers
Brian.
Hi
I found the key. Our OSP7000M control is in German. Function key is called the "print daten". Thanks for your help
Regards
Darek
asd