15
« on: February 14, 2013, 19:05:22 pm »
Here is a snippet of code generated by CAMBAM using a Centroid PP;
%
:
; CAMBAM
; ENCLOSURE PLATEN 2/14/2013 2:26:05 PM
; T1 DIA 0.25
; T29 DIA 0.125
; CUTVIEWER
; FROM/0,0,5
; SELECT DUMMY TOOL TO AVOID WARNINGS
; TOOL/MILL,1,0,20.0,0
; STOCK/BLOCK,4.25,7.0,0.1,0.0,0.0,0.1
N100 G20
N110 G0 G17 G40 G80 G90
; T1 : 0.25
; TOOL/MILL,0.25,0.0,1.25,0
N120 M9 ; COOLANT OFF
N130 M5 ; SPINDLE OFF
N140 M25
N150 M1 ; OPTIONAL STOP
N160 G28 ; GO TO MACHINE RETURN POSITION
N170 T1 M6
N180 G43 H1
N190 G0 Z0.125
; DRILL3
N200 M3 S5000
N210 G0 X0.505 Y0.945
N220 G99
My question is, is there a method whereby I can eliminate that initial Z movement (Shown in Red Above)? Currently, I have to manually edit out the initial Z movement (going to clearance plane) in order to eliminate the possibility of a crash into clamps or other parts of the fixture. If I could have the tool locate over the X/Y coordinate BEFORE going to Z Clearance, it would simplify and eliminate some problems.
Thanks in advance.