It looks like a tensile test piece ??
Just trying to picture the actual path you want the tool to perform
- why not just break the path into 2 contours ... not having the tool do a vertical arc "jump" on either end ??
or
- insert a Z move at Y0 ( this would create a vee type movement) - LH end
- have the tool come right out of the part, move to next point before going back in ) - RH end
Question.....What codes do you use for tool length compensation ( normally G43 H<tool #> )
- & how do you call in tool radius from the offsets ( normally G41 D<tool #> )....I've put both in in the correct placement, and edited a little
Code:
G20 ( units check code, is m/c in inch setting? )
G0 G17 G40 G80 G90 G94 (safety codes = rapid, XY plane, comp OFF, cancel canned cycle, absolute, feed per minute )
G54 ( work co-ord system )
() (<--- use empty comments for separating sections )
M6 T1 (scribe)
G90 G0 X1.1 Y-0.625
S1000 M3
G43 H1 Z1. ( goto Z1 while ADDING the value in H1 to the "distance of spindle to part origin" ) (G54 Z<value> is a -ive, tool length "H"<value> is +ive)
G1 Z0.45 F25.
X1.
Y0.625
G0 Z1.
X-1.1 Y-0.625
G1 Z0.45 F25.
X-1.
Y0.625
G0 Z1. M9
M5
G91 G28 Z0. ( retract to Z home )
G90
M1
()
M6 T3 (cut)
G90 G0 X6.25 Y-0.75
M3 S930
G43 H3 Z.1 M8
G1 Z-0.950 F5
G41 D3 X5.625 Y-0.75 F12. ( G41 actually forces a line move )
X1.9364
G3 X1.275 Y-0.5 I-0.6614 J-0.75
G1 X-1.275
G3 X-1.9364 Y-0.75 I0 J-1.
G1 X-5.875
Y0. Z0. (<----- lift Z while going to centre)
Y0.75 Z-0.950 (<--- line going back to depth )
X-1.9364
G3 X-1.275 Y0.5 I0.6614 J0.75
G1 X1.275
G3 X1.9364 Y0.75 I0 J1.
G1 X5.875
Z0.1 ( <--- lift out of part)
Y-0.75 ( go to other side )
Z-0.950 ( descend down to depth )
X5.5
G40 Y-1.2 ( cancel comp, while moving away from part )( move must be larger than comp value in the machine )
G0 Z10. M9
( G0 G40 X0 Y3.5 ) (<--- not required )
G91 G28 Z0. ( retract to Z home )
G91 G28 Y0. ( move to Y home )
G90
M30