CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > MetalWorking Machines > Hardinge Lathes


Hardinge Lathes Discuss Hardinge Lathes here.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-29-2009, 05:53 PM
Dwayne Foy's Avatar  
Join Date: Nov 2009
Location: usa
Posts: 24
Dwayne Foy is on a distinguished road
Macro's on a 1997 T42 CONQUEST

I have a 1997 T42 Conquest Hardinge turning center OT Control . I use Macro's & Var. on my Okuma turning centers but havn't used them on the Hardinge. Is the Macro's on the Hardinge a turn on parameter or will they work now! I bought this machine used in 1998 and have not had Fanuc to turn anything on. Question # two does anyone have a " Deep Drilling Macro" that can but adjusted to drill as program. ( Something like 1st depth 3x dia. , 2nd depth
2-1/2 to 2 x dia. , third depth 1-1/2 to 1 x dia. ...on & on... ).
Reply With Quote

  #2   Ban this user!
Old 12-08-2009, 10:58 PM
 
Join Date: May 2007
Location: USA
Posts: 913
g-codeguy is on a distinguished road

It is a turn on option. Maybe yours came already enabled. Have you checked yet? The OT control is a bit awkward for Macro B programming. There is no equal or bracket signs on the control panel. Any modification requiring changes using either must be done off-line and the program reloaded.

Also this control does not accept a THEN statement. So far I have been able to find other ways of accomplishing what a simple THEN would do by programming a few extra blocks.

I wrote a simple little macro subroutine that figures depth of cut (plus sets one of two feedrates specified in the macro call based on DOC) that I use in the G71 roughng cycle. This allows me to write one program instead of many for the same part. Can't use it on the OT control. This control will not accept the use of brackets inside the G71. Nor will it allow something as simple as #100=#520+.1093 inside the G71 cycle.

However you can use something like U#500Z-.785 or G1 Z-#500, etc. inside the G71. The OT will accept the use of brackets, etc. as long as it isn't inside the canned cycle.


EDIT. The drill cycle you mentioned sounds interesting, but I don't know of such an animal. However, I feel certain it could be written if you wanted one bad enough.
Reply With Quote

  #3   Ban this user!
Old 12-17-2009, 08:26 PM
 
Join Date: Dec 2009
Location: usa
Posts: 3
cncweblangthang is on a distinguished road

at main program

N2(DRILL OPERATION - HSS 1/2 DIA )
G0T0202G97S850M3
G40X0.Z.1T0202
G65P9136K-2.B.02F.01W.5C.2A.5
G0X2.Z2.
T0200
M1

:9136(DEEP DRILL)
IF[#6GE0]GOTO70
G00W0.
#4=#5002
#3=ABS[#3]
#2=ABS[#2]
IF[#19EQ98]GOTO1
#19=99
N1G#19F#9
#27=ABS[#23]
#28=ABS[#6]-ABS[#26]
#29=ABS[#26]
DO1
IF[#27LE#3]GOTO2
GOTO3
N2#27=#3
N3IF[#27GE#28]GOTO4
G00Z[#2-#29]
G1Z-[#29+#27]
G00Z#4
G4U#1
#28=#28-#27
#29=#29+#27
#27=#27*.5
END1
N4G00Z[#2-#29]
G1Z#6F#9
G00Z#4
M99
N70#3000=1(K MUST BE NEGATIVE)
Reply With Quote

  #4   Ban this user!
Old 12-18-2009, 08:37 AM
 
Join Date: May 2007
Location: USA
Posts: 913
g-codeguy is on a distinguished road

9136 is Hardinge's standard Deep Drill Cycle. It does not do what Dwayne was asking. It cuts the W-value in half, then cuts that value in half, etc., until C-value is reached. The last peck can be any figure less than C-value. Of course, that would be true with the cycle Dwayne is asking for.
Reply With Quote

  #5   Ban this user!
Old 12-19-2009, 08:11 AM
Dwayne Foy's Avatar  
Join Date: Nov 2009
Location: usa
Posts: 24
Dwayne Foy is on a distinguished road

Cncweblangthang,

Thanks for your reply." Believe it or not" I notice that 9136 is in my program library I have not been able to edit 9136 or is that something that Hardinge has a lock on ? I guess if I use G65P9136K-2.B.02F.01W.5C.2A.5 I don't need to edit macro list. I have been in the machining business sense 1979 and my thoughts are on drilling are 1st entirely 3 to 5 times the dia. 2nd. entirely 3-1/2 to 2-1/2 times the dia. 3rd. entirely 2-1/2 to 1-1/2 the dia. and so on depending on drill type and matl: I have not understood why cnc drilling cycles are not setup that way.
Dwayne Foy
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-19-2009, 08:28 PM
 
Join Date: May 2007
Location: USA
Posts: 913
g-codeguy is on a distinguished road

9000 series programs are protected by default when the lathe was purchased. Most people keep the protection turned on. Change parameter 10.4 to 0 if you want to edit the 9136 program.

In your example, P9136 will drill .5 deep, .25, .2 (6 times), and .05 on the last peck. I agree that the program cuts down on peck depths too quickly for many materials. However, in my experience this cycle can be made to work in any material although it may not be the fastest on all occasions because of the depth of the pecks.

I was going to ask if you would like me to try making a macro program that will run the way you have described, but assume you can do it yourself with that much experience. I've only been programming lathes since 1985 which is also when I got into the business. I came from a sheet metal shop before that.
Reply With Quote

  #7   Ban this user!
Old 12-22-2009, 09:39 AM
Dwayne Foy's Avatar  
Join Date: Nov 2009
Location: usa
Posts: 24
Dwayne Foy is on a distinguished road

G-codeguy,

Thanks for your reply." Yes Go For It " build me a Macro that is adjustable on peck depths. Don't have any experience with Fanuc Macro's and it's rules. We have mostly Okuma equipment expect some horizonal & vertical mills and the one Conquest T42.

Custom Paint Man
Reply With Quote

  #8   Ban this user!
Old 12-29-2009, 09:38 AM
 
Join Date: May 2007
Location: USA
Posts: 913
g-codeguy is on a distinguished road

I would like to give it a try. Plant is closed until the 4th, so even if I can write it before then, I wouldn't post the program until I had a chance to test it for errors.

In the meantime why don't you try using the 9136 program in the control. These are the variable descriptions for cncweblangthang's example in case you don't have a Hardinge manual.

G40X0.Z.1T0202
G65P9136K-2.B.02F.01W.5C.2A.5

K= final drill depth
B= amount where it rapids to from the previous peck (or from the material for the first peck) before it starts feeding
F= feedrate...natch
W= amount of 1st peck
C= minimum peck (until the last one)
A= dwell at retract position

Not shown in the example is

Z= position where the cycle will start drilling from. Z0 is the default. However, if you previously drilled a bigger hole .375 deep (or was running a casting with a .375 deep counter bore), then this would be your block call:

G65P9136K-2.B.02F.01W.5C.2A.5Z-.375

The drill would rapid to Z-.355 before feeding. Useful.

Not shown or mentioned in any Hardinge manual I've looked at (at least I can't recall seeing any mention of it) is the fact that you can program it for IPM if desired. You can see that from the P9136 program. #19 (S) controls IPM/IPR with IPR being the default. Live tooling is the ONLY time I would select IPM.

SO

G65P9136K-2.B.02F.01W.5C.2A.5S98.

would run the drill in IPM.

Although I agree that cutting the 2nd peck in half from the 1st peck amount is often too much of a cut in pecking depth, I don't believe in running 3x the drill diameter on the 1st peck for all drills or all materials. A .5 inch drill would go 1.5 inches deep before pecking. A standard drill would burn up on the first part in most of the materials we run unless running WAY to slow. YMMV.

EDIT. I can give you an example of how I program the Hardinges if interested. It saves some typing and memory space. It also requires making a couple changes in the parameters. Are the Safe Index subprograms still in your control?

EDIT #2. BTW, just for your own knowledge, I think you will find that you don't have a Conquest T42 but a Conquest 42. I believe Hardinge told me if an OT control is used it is a Conquest 42. If an 18T control is used, it is a T42. Apparently they use those model designations for determining which control is on the lathe. Someone will correct me if my memory is faulty.

Last edited by g-codeguy; 12-29-2009 at 10:00 AM.
Reply With Quote

  #9   Ban this user!
Old 12-29-2009, 11:28 AM
Dwayne Foy's Avatar  
Join Date: Nov 2009
Location: usa
Posts: 24
Dwayne Foy is on a distinguished road

G-codeguy,

Thanks for your reply. I will try to use G65P9136K-2.B.02F.01W.5C.2A.5 in the mean time. That Z-.375 is a good little code to keep from cutting air.


Custom Paint Man
Reply With Quote

  #10   Ban this user!
Old 12-31-2009, 09:57 PM
 
Join Date: May 2007
Location: USA
Posts: 913
g-codeguy is on a distinguished road

Mr. Foy, I have your subroutine done tho not tested yet. Before I get into that I wanted to mention another option I thought of while writing your program.

You could slightly modify the existing 9136 program in your control. Replace the W representing the first peck depth with a D representing the drill diameter.

Replace #27=ABS[#23] with #27=ABS[#7]*3 and
Replace #27=#27*.5 with #27=#27*.75

This would drill 3 times the diameter, then 2.25 times diameter, then 1.6875, 1.2656 (rounded), .9492 (rounded), etc. until C (minimum peck) has been reached. Of course you could make the 3 and/or .75 a variable for even more control.

Regarding the program I wrote. First let me mention that it is 2 pages longer than the Hardinge subroutine. That is because their program uses a constant. I used 3x, 2.25x, 1.25x 1x and then .5x for a low limit. These figures basically fall within the mean of the ratios you mentioned in your original post except for .5. I had to set a limit somewhere. Whether or not the program actually will use them all depends on drill diameter, drill depth and the minimum peck specified.

Naturally you could modify any of these values before loading the program....or....consider this. I plan on making a second program by modifying this subroutine. It will require adding 4 more definitions to the G65 call block, but will allow you to individually specify the diameter ratio for the first 4 pecks. Provided, of course, that the hole is deep enough in relation to the drill diameter to use all 4 as a minimum number of pecks.

I will test the subroutine as soon as I can after we go back to work Monday. I'll let you know the results then.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-04-2010, 09:02 AM
Dwayne Foy's Avatar  
Join Date: Nov 2009
Location: usa
Posts: 24
Dwayne Foy is on a distinguished road

G-codeguy

What was the system parameter to be able to edit P9136 ? "Oh By The Way " the reason my logo is Custom Paint Man I have a custom paint and body shop I started 15 years ago. Check out my website eastcoastrefinish.com and see some of my work.

Custom Paint Man
Reply With Quote

  #12   Ban this user!
Old 01-04-2010, 11:27 AM
 
Join Date: May 2007
Location: USA
Posts: 913
g-codeguy is on a distinguished road

I mentioned it in a previous post, but here it is again. Change parameter 10.4 to 0 if you want to edit the 9136 program. Do you know how to change a parameter on the Hardinge? Just asking. No offense meant. It's easy to ass-u-me too much.

I tested the program on a 21i-T control this morning. Neither of the lathes with an OT control are going to be open for some time. Worked fine. Shouldn't get any different results on an OT.

I will send the program in a PM. Should fit if I don't do a lot of explaining. It drills at the ratios I've already mentioned. Also as previously mentioned, you can change 3 values in the subprogram and add 3 variables to the G65 call to vary the ratios of the first 3 pecks (or all 5 of the first 5 pecks if you want to add 2 more variables).

I will make the modifications and send the modified program in a separate PM. Experiment away. Then let me (and others if they'd like to know) what ratios work the best for you in various materials.

I've tried to allow for all circumstances. From tiny drills to the huge, from brass to the toughest materials.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- macro's how to dukes57@295.ca Mach Wizards, Macros, & Addons 1 09-02-2008 10:07 PM
macro's for probing? REVCAM_Bob G-Code Programing 2 06-09-2008 08:17 PM
Macro's on Fanuc OT pinguS Fanuc 15 09-23-2006 04:51 PM
macro's Traceycnc300 Haas Mills 12 04-17-2006 12:43 PM
How to use Macro's smallplanes General CNC (Mill and Lathe) Control Software (NC) 5 10-10-2005 04:32 AM




All times are GMT -5. The time now is 10:40 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361