I am just starting to dip my toe in the water as far as adding my probing code into my programs ( verses manually running my probe when needed )

So I just wanted to post the generic code that I will use for this operation

This will be used for an operation that always uses 1/2 inch material, and it will be setup to check the Z for G154 P1 and P2

I figured its best to ask the question now, verses after my probe has been destroyed by something I overlooked...

I've ran this code a few times with my finger on the stop several times and it seems to be working fine.

One foot note, you will notice I have the feed rate set at 100, and this was just to slow everything down during the testing...


Here is my code:

%
O01001 (Mold Prep 1)
(Using high feed G1 F500. instead of G0.)
(T5 D=0.5 CR=0. - ZMIN=-0.3 - "1/2"" Flat Endmill 4-Flute")
(T10 D=0.25 CR=0. - ZMIN=-0.06 - "1/4"" Chamfer- 90 Degree")
(T18 D=3. CR=0.015 - ZMIN=-0.007 - "3"" Shell Mill")

(--START OF PROBING--)

( LOAD PROBE )
T17 M6

(MOVE INTO POSITION)
G53 G1 F100.0 X-19.735 Y-7.50 Z-7.50
G53 G1 F100.0 Z-9.81

(PROBE - P1)
G65 P9995 W154.01 A20. H-1

(RAISE TO SAFE HEIGHT)
G53 G1 F100.0 Z-3.0

(MOVE TO P2 POSITION)
G53 G1 F100.0 X-8.9050 Y-7.50
G53 G1 F100.0 Z-9.81

(PROBE - P2)
N19 G65 P9995 W154.02 A20. H-1.

(RAISE TO SAFE HEIGHT)
G53 G1 F100.0 Z-3.0

(--END OF PROBING--)

N25 G90 G94 G17
N30 G20
N35 M31

(Trim All 4 Edges)
N40 T5 M6