I was wondering if there is a way to add a statement to have the flexibilty of having the G91 C30. start at another location if wanted in the loop?
Ex. Start a C90 position instead of from the beginning. I have a example below.
I am trying to work around my Cam system and post not being able to post a G66 which is my machining info and a M98 which is my positon info.
%
O1000
N10 G54 X0 Y0 Z5.0
N20 (TOOL-2-.125-FINISH-ENDMILL)
N30 T2
N40 M6
N50 M8
N60 G90 G17 G0 X2.0878 Y.2118 C0. S3820 M3
N70 G43 Z5. H2
N80 M98 P5 L5
N90 M9
N100 G91 G28 Z0
N110 M30
N120
O5
N10 ( SUB NUMBER: 5 )
N20 ( OPERATION 6: CONTOUR )
N30 G91 C30.
N40 G90 G0 X2.0878 Y.2118
N50 Z1.228
N60 G1 Z1.063 F10.
N70 G41 X2.0035 Y.2656 D52
N80 X1.9439 Y.3037
N90 X1.9369 Y.3021 F20.
N100 X1.9298 Y.3004
N110 X1.9227 Y.2973
N120 X1.9086 Y.2875
N130 X1.9026 Y.2826
N140 X1.8985 Y.2755
N150 X1.8943 Y.2684
N160 X1.8921 Y.2613
N170 X1.8895 Y.2331
N180 X1.8899 Y.226
N190 X1.904 Y.0069
N200 X1.9042 Y-.0002
N210 X1.9039 Y-.0072
N220 X1.8899 Y-.2264
N230 X1.8895 Y-.2334
N240 X1.8921 Y-.2617
N250 X1.8945 Y-.2686
N260 X1.9028 Y-.2829
N270 X1.9086 Y-.2875
N280 X1.9227 Y-.2973
N290 X1.9298 Y-.3004
N300 X1.9369 Y-.3021
N310 X1.9439 Y-.3037
N320 X2.0036 Y-.2657
N330 G40 X2.0879 Y-.2119
N340 G0 Z5.
N350 M99
%