Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
I need to insert G91G28Z0. before the tool change. Suggestions? See below:
X-50.
Z15.
G0X150.Y100.
G0Z13.7
G1Z10.
X-50.
Z15.
G91G28Z0.
M5
; / NC SEQUENCE NAME : SQUARE_POCKET)
; / NC SEQUENCE COMMENTS)
; / THIS SEQUENCE MILL THE SQUARE POCKET.)
; / TOOL NAME : FEM5MM)
T4M6
Thanks to Francois Lamy for the answer! Just added the following to the fil file.
$$ ************************************************************* SPINDL
CIMFIL/ON,SPINDL
TYP=POSTF(7,4) $$ first param. of SPINDL command
OK=POSTF(20) $$ Save CL rec.
IF (TYP.EQ.ICODEF(OFF)) THEN
INSERT/'G91G28Z0.$'
ENDIF
OK=POSTF(21) $$ Restore CL rec.
OK=POSTF(13) $$ Process CL rec.
CIMFIL/OFF
This will put the command in front of the M5 SPINDL/OFF. Great solution, as usual! Thanks.
Regards,Michael BraatenPLM/CAX Systems Analyst - Synthes, Inc.I need to insert G91G28Z0. before the tool change. Suggestions? See below:
X-50.
Regards,
Z15.
G0X150.Y100.
G0Z13.7
G1Z10.
X-50.
Z15.
G91G28Z0.
M5
; / NC SEQUENCE NAME : SQUARE_POCKET)
; / NC SEQUENCE COMMENTS)
; / THIS SEQUENCE MILL THE SQUARE POCKET.)
; / TOOL NAME : FEM5MM)
T4M6
Michael Braaten
PLM/CAX Systems Analyst - Synthes, Inc.