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! > Machine Controllers Software and Solutions > G-Code Programing > Parametric Programing


Parametric Programing (custom macro b, fadal macro, okuma user task)


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-26-2011, 11:42 AM
 
Join Date: Apr 2011
Location: USA
Posts: 2
JGruberJr is on a distinguished road
Help a Neophyte?

I'm new here, and pretty much new to parametric programming (probably know just enough to be dangerous).
I've been writing G & M code for years but find myself needing to program a family of parts with 8 different threadforms (SAE -12, BSPF & JIS).
I know I could write a bunch of different subprograms and swap them out, but that would get too unwieldy too fast for some of my less experienced set up people.
I'm thinking a macro would be the way to go, considering all other machining on these parts is the same.
My biggest problem is most of the examples I've found don't explain too clearly what the different variables address (not for this newbie anyway).
I'm working in cast aluminum on a Mori Seiki SH-400, with an MSC-501 control (Fanuc 16i/18i/160i/181i Model A).

edit: I should mention I intend to use multipoint thread mills and not single point for cycle time.

I have a few sample programs from a Chiron machine the parts were run on before, but haven't been able to find anyone that could help me translate them to Fanuc.
Any and all help would be greatly appreciated.
Jim
Reply With Quote

  #2   Ban this user!
Old 04-27-2011, 06:08 PM
christinandavid's Avatar  
Join Date: Aug 2009
Location: New Zealand
Posts: 573
christinandavid is on a distinguished road

So you want a threadmilling macro example? If you can post the Chiron macro we can attempt to translate it - or we can build a new one/modify an existing example to suit your needs...let us know what arguments you want to specify.

DP
Reply With Quote

  #3   Ban this user!
Old 04-28-2011, 07:30 AM
 
Join Date: Apr 2011
Location: USA
Posts: 2
JGruberJr is on a distinguished road

Thank you for the response. I've attached the Chiron main program and 3 of the subprograms for this size family. (It's 2 different castings with 8 - 10 configurations on each) I've also included the Toolmac & Workdat files.

The arguments I'd need to specify would be diameter, pitch and depth to the best of my knowledge.

Any help, or information you can provide would be greatly appreciated.
Attached Files
File Type: txt PARKER15CNMAIN.840.txt‎ (771 Bytes, 16 views)
File Type: txt TOOLMAC.840.txt‎ (1.2 KB, 12 views)
File Type: txt WRKDAT.840.txt‎ (907 Bytes, 8 views)
File Type: txt PARKER1502MC.840.txt‎ (2.1 KB, 10 views)
File Type: txt PARKER1503MC.840.txt‎ (1.6 KB, 7 views)
File Type: txt PARKER1504MC.840.txt‎ (2.5 KB, 8 views)
Reply With Quote

  #4   Ban this user!
Old 04-28-2011, 04:35 PM
christinandavid's Avatar  
Join Date: Aug 2009
Location: New Zealand
Posts: 573
christinandavid is on a distinguished road

Right, after trawling through what appears to be nonsensical gibberish gobbledygook to my eyes, is this the bit you want to emulate? But you don't want it in longhand you want a one-liner yes?

7/8" x 14 UNF
G0 G90 G54 G95 X-22.89 Y0 Z80 S2600 M3 M8
Z3
Z-22
G1 G64 G41 X-25 Y9 F0.15
G3 X-34 Y0 Z-21.662 CR=9
G3 X-34 Y0 Z-19.848 I11.11 J0
G3 X-22.89 Y-11.11 Z-19.395 I11.11 J0
G3 X-13.89 Y-2.11 Z-19.057 CR=9
G0 G40 X-22.89 Y0
G0 Z100
G0 G53 Z0 D0 M95

I have a helical macro but it will need a bit of tweaking to ramp on/off in at the helix angle (which I'm guessing is important due to the tool/hole size ratio), at the minute it just approaches and departs with no movement in Z...

Let us know, and in the meantime I will study it at work to see if I can work out the rampy bit (I didn't write it but have hacked into it to get it moving in all directions, ie upwards in Z, which appears to be what you're after).

DP


Note that if any of your Fanuc controls have manual guide i, you could try G1010 threadmilling cycle (try it even if there is no menu option for it). If it is recognised you should be able to 'Alter' it. It would then be possible to 'NC Convert' it to suit the other controls.
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
overwhelmed neophyte fungi CNCzone Club House 2 01-08-2010 05:07 PM
Software for absolue CAD and CNC neophyte endgrainguy General CAM Discussion 3 03-06-2008 05:24 PM




All times are GMT -5. The time now is 01:04 AM.





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