Asked this on another forum, but will ask here also. Thanks
We have a CMS with a Fagor control, and a few old manual Hardinge lathes retro fitted with Fagor controls. Only programming manual I have says CNC 8025 T, TS. They are quite the pain when you are use to programming Fanuc controlled machines for the most part.
I am having trouble with the G83 drill cycle. This is what I have.
N100G0M8M50 (DRILL)
N110G97S1200M3
N120X0Z.5F.0025T10.10
N130P0=K0 P1=K0 P4=K1.165 P5=K.167 P6=K.5
N140P15=K.2 P16=K.2 P17=K.02
N150G83
According to the manual (and the picture example) P6 "...defines the distance to the part from the point where the tool ends the positioning approach." I take this to be a rapid move (positioning approach). Instead program is feeding from Z.5.
Example shows P16 as being the incremental distance the tool rapids away from each ending feed point while P17 is the "distance between the bottom of the previous penetration and the point where the tool ends the rapid approach for a subsequent penetration."
To me these statements (and picture example) mean that I should get results like this: From X0Z.5 rapid to Z0 (has a nice 90 deg. spot drill), feed in to Z-.167, rapid to .033 (-.167+.2), dwell .2 sec., rapid to Z-.147, feed to Z-.334, etc.
Instead it rapids back .02 (I assume, since move is too short to catch a distance), and then feeds in the .167 depth. Tried reversing the values in P16 & P17, but that didn't work.
Any help greatly appreciated. I managed to get the G68 cycle working with one exception. If I put a value in P7 (Finishing stock allowance along X axis), it alarms. At least I can get the threading cycle to work right!