What's new
What's new

? in process work offset probe

D. Rey

Titanium
Joined
Jan 20, 2003
Location
Phoenix, AZ
I just got the renishaw probe on my VF-2. How does one set it up so it will run through probing a boss for a g54 x-y work offset before it starts a cycle?
 
If you don't have the probe programming manual, PM me your email address and I'll send it to you. I'm not in the shop until Monday and can't recall the numbers you need from memory, but what you're talking about is super easy, however it has to be hand written.
 
%
G0 G17 G20 G40 G80 G90 G54
M6 T25 (PROBE)
G43 H25
G65 P9832 (PROBE ON)
G0 X0. Y0. Z.5 (BE CAREFULL WITH THIS ONE!!)
G65 P9810 Z.1 F20. (PROTECTED MOVE TO Z PLANE)
G65 P9814 D2. Z-.4 S1. (FINDS CENTER OF 2" ROUND OR SQUARE BOSS, SETS G54)
G0 Z.5
G65 P9833 (PROBE OFF)
G53 Z0.
G53 X-15. Y0.
M30
%

For your first part during setup, you have to pre-set your G54 to a known feature (in the example, it would be the center and top of your boss). This routine will do round or square bosses, and if you position the probe inside a bore and ommit the Z input in P9814, it will measure the inside of a round or square bore/pocket.

If you needed to probe a rectangular boss, you would use P9812 and input the nominal XY size. Position probe at center to start. Again, no Z input means it will assume an bore/pocket, not a boss.

I've not actually tried this, but based on the manual, you can not set a work offset AND update a tool wear offset on the same line.
 
Cool

Ok so I make this sub at the beginning of the program and m99 back...is that right? it will update the g54 with the new measurement?

If I use s2 s3 etc it will update g55 g56 etc right?
 
I can't see running the probe from a sub routine because subs are only good for doing the exact same thing multiple times, whereas each time you run the probe, you'll be setting different offsets, different tools, etc. Just program the probe in the beginning (or wherever you want it) of the main program. Atleast I've not run across for a good use of the probe in a subroutine. If you need to probe several places on a pallet or subplate, you would do this (cut&paste plus modification of my original example):

G0 G17 G20 G40 G80 G90 G54
M6 T25 (PROBE)
G43 H25
G65 P9832 (PROBE ON)
G0 X0. Y0. Z.5
G65 P9810 Z.1 F20.
G65 P9814 D2. Z-.4 S1.
G55
G65 P9810 X0. Y0. F150.
G65 P9814 D2. Z-.4 S2.
G56
G65 P9810 X0. Y0. F150.
G65 P9814 D2. Z-.4 S3.
G0 Z.5
G65 P9833 (PROBE OFF)
G53 Z0. G53 X-15. Y0.
M30

That will go to each work offset zero and do the same cycle, but update the correct offset. In this example, G54, G55 and G56. If you wanted to update the Z for each, then you would have to run a P9811 Z0. S1. before or after (doesn't matter which) each P9814 line. Otherwise you are correct. S2. will update G55. S154.01 will update G154 P1.
 








 
Back
Top