Dale,
I don’t know if I am following what exactly you are looking for but I will give a few suggestions anyway.
You say that you are writing a macro to drill holes regardless of drill diameter but you need the drill diameter to calculate the feedrate. I would use a variable in the macro call that dictates the diameter of the drill. Then in your macro have the calculation for the SF and chipload determine your feed.
Ex.
(A=drill size)
G65PxxxxA.625
Oxxxx
#100=60(SF)
#101=.005(chip)
F[#100/#1*3.82]*#101
S[#100/#1]*3.82
Another option if you don’t want to but an extra variable in the macro call. I had put all the drill diameters in the radius of the offset page. Then you can call and set the diameter to a variable used in your macro. #1=#2605—(tool5). Obviously we would set this up to get the info from the current tool in the spindle rather than programming the hard number of the tool.
Please correct me if I am way off base.
Stevo


LinkBack URL
About LinkBacks
Nor as short as I'd like. I like to keep my programs short as feasibly possible, and as clean as I can.




?
Shall we start with how the #4114 works? Thanks. 