Hi
I have a 3Axis mill with a Fagor 8055 controller.
I am a newbie and trying to write G-Code to rotate a profile.
The profile is a 3D path of 450 lines which needs to be passed along 12 times at 1mm Z levels.
Rather then duplicate the profile 12 times with corrected Z figures, I want to repeat the profile and alter the Z level.
Can this be done by altering the Tool Length Compensation.
This is a sample of what I have (may be all wrong):
Many Thanks
Kiwi.
N100 (IF(P1 EQ -1)P1 = -2) ;??
(IF(P1 EQ 0)P1 = -1) ;??
N200 G00 X0 Y0 Z15
G43 ZP1 ;?? Set Z Compensation
;(Start of Path)
G01 X0 Y0 Z0 ;Sample Only
X20 Y5 Z-7 ;Sample Only
X30 Y8 Z-12 ;Sample Only
;(End of Path)
N400 G00 Z15
X0 Y0
(RPT N100, N400) N3
G44 ;?? Canel Z Compensation
N500 G73 Q10
(RPT N100, N500) N3