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! > CAM Software > Mastercam


Mastercam Discuss Mastercam software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #37   Ban this user!
Old 12-10-2007, 03:13 PM
 
Join Date: Jan 2004
Location: Gardnerville,Nevada
Posts: 256
cncwhiz is on a distinguished road

I have a post for doing angle drilling. The guy the built the post had a MIT math major work on this calculation and could not get it?
Reply With Quote

  #38  
Old 12-10-2007, 03:28 PM
dertsap's Avatar
Gold Member
 
Join Date: Oct 2005
Location: canada
Posts: 3,668
dertsap is on a distinguished road
Buy me a Beer?

it's like i said it's not a simple macro , there are multiple calculations ,end result is a x shift and a z shift , most guys look at it and say what the %@% is that ,the guy that created it is a wizzard , we use the same custom macro for most of the horizontal jobs , especially on very complex jobs , and we never have a problem with it
Reply With Quote

  #39   Ban this user!
Old 12-10-2007, 09:33 PM
 
Join Date: Sep 2007
Location: USA
Posts: 217
crazythunder is on a distinguished road

I agree with dertsap here and if you don't know where it is and don't understand the math to get to it then need to get out there a little more on the machine. 6 sides or 50 sides makes no difference to me. It is all a matter of approach, planning and programming. If you use your Macro's right and plan around them to tell you where and what part of the program it is in you will be able to restart back to the point you stopped may have to rerun one part if it was not finished, but not a big deal. Working from center of rotary of 24 different parts would never bother me and if they were all the same part even easier. All a matter of approach and updating your macro statements and just trusting your machine to do what it is suppose to.

Macro statement at the end of each sub could be like so #5000 = #5000 + 1
Then you could have one for each sub program. So if you were running 40 sub programs your last sub program would have #5040 = #5040 + 1. Then you go to the paramer page and would know on which part which one was. In your main program when it starts you reset all of your parameters like so

#5000 = 0
#5001 = 0
.......
#5040 = 0

This way your parameters reset everytime you either cycle through the main program. You can get very fancy and have them for each workoffset using the Macro. All a matter of planning and letting the machine do the work for you.

Now if you were using a While do loop then you could use your parameter counters as a restart call so that it would go back to the correct place and everything, but that really depends on the machine.

This is a great book:http://www.amazon.com/Fanuc-CNC-Cust...7343950&sr=8-1
It should give you some great ideas.
Reply With Quote

  #40   Ban this user!
Old 12-11-2007, 10:19 AM
 
Join Date: Jan 2004
Location: Gardnerville,Nevada
Posts: 256
cncwhiz is on a distinguished road

So, tell me how simple the math is. I have been working on machining centers for over 20 years and have always done angle work from the center of the tombstone. I do all the prototype work in my company so I do get on the machines. How does macro programming of this type work with a cam system? Do you have posts built to handle this or are you still in the dark and program by hand? I do some macro programming, but only to control tool changes, pallet exist etc.
Reply With Quote

Sponsored Links
  #41   Ban this user!
Old 12-12-2007, 04:42 AM
cnc-king's Avatar  
Join Date: Jul 2003
Location: united states
Posts: 232
cnc-king is on a distinguished road

you guys are making the setup and programming of horizontal sounds like rocket science. there is a reason the machine builder gives the machine the ability to utilise 48+ offsets, subprograms and G10 codes. it is all in the manner how the job is approached and fixturing. you don't put any yahoo off the streets to run your 3/4 million dollars worth of equiptment.
__________________
If you can ENVISION it I can make it
Reply With Quote

  #42  
Old 12-12-2007, 05:17 AM
dertsap's Avatar
Gold Member
 
Join Date: Oct 2005
Location: canada
Posts: 3,668
dertsap is on a distinguished road
Buy me a Beer?

its not rocket science , it is utilizing the features the manufacturer as you say supplies ,what good is a g10 on a one off job?

tell me ,if a part has features at 48 different angles , how much setup time is involved in taking 48 workshifts vs one workshift ,
how much greater are the odds of making a slight mistake of a few tenths here or there which will have an overall effect on the condition of the part , vs one workshift
it seems people would rather argue the point than to understand how much more simple it is

there is always a better way to do things ,its only a matter of figuring out how to do it ,it's only a matter of having an open mind

Last edited by dertsap; 12-12-2007 at 05:35 AM.
Reply With Quote

  #43   Ban this user!
Old 12-12-2007, 10:25 AM
 
Join Date: Jan 2004
Location: Gardnerville,Nevada
Posts: 256
cncwhiz is on a distinguished road

Your system is simple to use once someone built a "complex" macro to do what you are doing? How many people out there use macro's? I don't do one offs so your type of setup would do my shop no good. We use "G10's" for all of our programs. We have a shop full of Walmart "button pushers". You simple point is valid for a short run shop with "real" machinists. You made me think out of my daily box for a machine that I am building a post for at this time. The machine I am working on has a "FAPT" control on it. It does not have "G54.1". I need 8 work offsets to run the productionon on this machine. I am going to build a macro to handle this. I will still be using "G10's" but I will use a macro to change "G54, G55" from the face of the part to the centerline. Cnc-king, alot of shops including mine are pulling people off of the street to run machines so this is a valid issue. You have to build your programs so a button pusher can't crash the machine. This is all about the approach.
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
CNC programming - HELP kyo_ysh General Metalwork Discussion 3 01-11-2010 09:42 PM
Programming Help?? dconder Haas Mills 2 10-17-2007 05:06 AM
CNC Programming qman General CAM Discussion 7 10-16-2007 01:34 PM
g&l programming abigg General CAM Discussion 3 10-01-2007 02:46 PM
API Programming Anyone Al_The_Man Computers and Networking 3 02-14-2005 08:31 PM




All times are GMT -5. The time now is 11:33 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