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


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-15-2006, 12:44 PM
 
Join Date: Apr 2006
Location: usa
Age: 39
Posts: 22
bink is on a distinguished road
programming multiple double vises

hi all, long time reader, first time poster. how do i program multiple double vises? we are wanting to put 6 double kurts on the table. we will be drilling, c-sink, and tapping. can anyone help me out? fanuc control. thanks.
Reply With Quote

  #2  
Old 10-15-2006, 02:14 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Hi Bink,
The accuracy of the job and the number of work offsets available to you could have an effect. Also, whether you plan to machine all the same parts at all the stations, or different parts at all the stations would be relevant to your decision.

Take a high accuracy job, with one reference edge on the part as the'worst case'. The fixed center jaw is the locator on the vise. Visually, this puts the reference on the foremost edge of the back station but on the rearmost edge of the front station.

This precludes setting a couple of parts in there and running with a simple work offset from one side of the vise to the other, unless you rotate the program 180 degrees when moving across to opposite sides of the vise. This step is necessary to keep the reference edge of the part in exactly the same relative position to the toolpaths in the program.

Now, you might have means via gcodes, to rotate the part program according to which side of the center jaw you are working on. If so, well and good.

If not, then you should make two programs, using your cadcam system to rotate the program for one of the parts. Then, you can run one program, using unique work offsets all along the rearmost stations on all the vises, then switch to the other program to machine with unique work offsets along the foremost station on all the vises.

Now, if your work has a wider tolerance, or has no requirement to accurately locate the parts along an existing edge, then you could simply assign different work offsets to all work stations, and use one program to machine them all. You would write the main program which would contain the calls for a new work offset, then jump to the sub programs which actually contain all the toolpath code.

Do you want to use one tool at all stations, or do you want to machine complete, but different parts at all stations?
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #3   Ban this user!
Old 10-15-2006, 02:18 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,563
Geof will become famous soon enough

Originally Posted by bink View Post
hi all, long time reader, first time poster. how do i program multiple double vises? we are wanting to put 6 double kurts on the table. we will be drilling, c-sink, and tapping. can anyone help me out? fanuc control. thanks.
One way to do this is to make your part program into a subroutine in what becomes a coordinate definition program (if your machine controller will handle subroutines). Then you define a work zero for the center of each vise which gives you six work zeroes, or a work zero for each part which gives you twelve works zeroes. Your coordinate definition program then sets each work zero and then calls the subroutine. Something like this:

blah
blah
G54 M97 P1000
G55 M97 P1000
blah
blah
M30
N1000 (Part Program)
blah
blah
M99

Your machine may use something different to M97 P1000 to call the subroutine; these are the Haas commands.

A disadvantage to this method is you have to enter a lot of work coordinate numbers so another way is to use G52 and you only need to enter coordinates in the program when it is written...but if the vises are removed you have to put them back in the same place or edit the program coordinates. The program using G52 is:

blah
blah
G54
G52 Xfirst Yfirst M97 P1000
G52 Xsecond Ysecond M97 P1000
blah
blah
G52 X0.0 Y0.0
M30
N1000 (Part Program)
blah
blah
M99

Your machine probably uses G54 as default. If you do not put anything in for G54 then it is at the machine home position and you simply need to find out the first, second, etc, X and Y coordinates which will be the same values as you would have used for the individual work zeroes.

Both these methods with the entire part program in a single subroutine finish one part at a time so there is not much benefit to having multiple vises because you do not reduce the number of tool changes.

To have one tool change for every twelve parts and speed up cycle times you put each tool in its own subroutine. Then you select the work zero by either method, multiple G's or G52 then go to the tool subroutine. Your structure then becomes:

blah
blah
G54
G52 Xfirst Yfirst M97 P1000
G52 Xsecond Ysecond M97 P1000
G52 Xfirst Yfirst M97 P2000
G52 Xsecond Ysecond M97 P2000
blah
blah
G52 X0.0 Y0.0
M30
N1000 (Tool 1 Program)
blah
blah
M99
N2000 (Tool 2 Program)
blah
blah
M99

All of this is assuming you are doing identical parts at each location. For different parts which may use some of the same tools you simply have two tool subroutines; N1000 for one part, N1100 for the other and you have the tool selection in the subroutine.
Reply With Quote

  #4   Ban this user!
Old 10-15-2006, 05:40 PM
 
Join Date: Aug 2006
Location: usa
Posts: 50
solgood is on a distinguished road

Not sure if this is a option for you, but if u plan on using these vices allot for this job and others i would machine the vices and table for repeat setup.

First look on the bottom of your vices there should be two blind holes (one in front one in back on center) ment to hold slip fit dowls and two taped holes (one on left and one on right on center) these are ment to hold key stock. I dont know if Kurt does this or not, i work with Chick vices so if they dont just machine them your self.

After u do that mill a key way across the center of your table to mesh with the keys on the bottom of the vices. Then drill and ream slip fit blind holes in there proper locations.

Then put dowl pin in the reamed holes on your table and set your vices over them. Bump them back and clamp down.

Your work zero for x is the left edge of the fare left vice and y is the center of all vices. So u are always working in x positive and y neg. is the front jaws and y pos. is the rear jaws.

After u set up for the first time there will be no need to indicate and edge find. Realy fast setup.

Let me know if u have questions
Reply With Quote

  #5   Ban this user!
Old 10-15-2006, 05:48 PM
 
Join Date: Aug 2006
Location: usa
Posts: 50
solgood is on a distinguished road

I would drill and ream the vices and the table for slip fit dowls. Then drill and tap for key stock on the bottom of vices. Then mill a key way across the table.

work zero x= left edge of far left center jaw and y= center of all center jaws.

no need to ever edge find or indicate after first setup.

let me know if u have questions
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-15-2006, 05:55 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,563
Geof will become famous soon enough

Originally Posted by solgood View Post
Not sure if this is a option for you, but if u plan on using these vices allot for this job and others i would machine the vices and table for repeat setup...I dont know if Kurt does this or not...
Kurt vise do have the key slots and holes. We mount ours on subplates which are keyed to the slots in the machine table. Just makes it easier and quicker to switch the vises in and out.
Reply With Quote

  #7  
Old 10-15-2006, 08:19 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Keep an eye on Ebay for subplates. (Auction gloat follows ) I needed to extend my table top area on my Haas VF3, so I could hang a large rotary table off the right end and still have 40" of useful machining area. Weellll...... it so happened about that time, a 20 x 50" Bock came up on Ebay, and....what can I say......I stole it! $500, and it came with all the hole plugs and everything. I still have not geared it up to hold a bunch of vises, but one of these days, the right job will come along and force me to advance
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #8   Ban this user!
Old 10-15-2006, 10:56 PM
 
Join Date: Apr 2006
Location: usa
Age: 39
Posts: 22
bink is on a distinguished road

We are definitely gonna make pins for the vises.

I am going to use subs for each tool, and we want to drill all the parts, then c-sink all the parts, then tap all the parts. so to use the g52 command, do i set g54 at the middle of the center jaw for y, and the left edge for x? then edge find over to the parts to get the #'s and plug them into the g52? would it be best to start in the front jaw of the vises and then work left to right, then move to the back jaws, then work right to left, or just completely do the first vise then move to the second vise and so on? anyway, so if it was 2" in x and y:
(From the front jaw of the 1st vise #1)
g54
g52 x2.y2. m98 p1005 (drill sub)
g55
g52x2.y2. m98 p1005
g56
g52 x2.y2. m98 p1005
etc.... to g59
then (now i'm on the back jaw of the far right vise #6)
g59
g52x2.y-2. m98 p1005
g58
g52x2.y-2. m98 p1005
Reply With Quote

  #9   Ban this user!
Old 10-15-2006, 11:32 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,563
Geof will become famous soon enough

I think the way I described it was a bit confusing. I intended to mean that you can do it with a whole bunch of work zeroes G54 through G59, or using one main work zero and a bunch of subsidiary work zeroes defined by G52, but not both combined.

I should ask the question have you used G52 before; I find some people use it all the time but some people have never used it. Perhaps you can post a drawing of the part and hole layout and where you put you work zero now and I can possibly give some idea how I would try setting things up. We do this all the time for our products and it is really easy to decribe standing in front of the machine waving your arms around. Trying to doing it in writing is real difficult because you can't see the arm waving.
Reply With Quote

  #10   Ban this user!
Old 10-16-2006, 12:09 AM
 
Join Date: Apr 2006
Location: usa
Age: 39
Posts: 22
bink is on a distinguished road

thanks geof. i haven't used g52 before. the part is 1.25 " dia., and 3.25" lg., 3/4-10 tapped hole in the center. the vise stops are just screwed into the vise jaws. could you explain the g52?

thanks
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-16-2006, 12:38 AM
 
Join Date: Apr 2006
Location: usa
Age: 39
Posts: 22
bink is on a distinguished road

sounds like all my g52's come off of my g54. then cancel the g52 in my main program........
Reply With Quote

  #12   Ban this user!
Old 10-16-2006, 11:50 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,563
Geof will become famous soon enough

Originally Posted by bink View Post
sounds like all my g52's come off of my g54. then cancel the g52 in my main program........
Yes.

You have six vices that can hold twelve parts which means that to use G54, G55, etc, every time you do a setup you have to enter all these work coordinate values into your machine.

With G52 all these coordinates are in your program as the X and Y in the twelve G52 statements.

You have to find out what the coordinates are either way and you have to make sure the vises stay at the same spacing for G52. Your first setup for the job takes the same time whichever way you do it but your second setup only requires entering G54 because everything else is now in the program.

I mentioned putting the vises on a subplate. When you do this the vise spacing is fixed and you can machine a reference hole in the subplate and then this is the location of your G54. The subplate needs keys to line it up to the machine table to keep it parallel but the sideways position does not matter if the reference position is on the subplate.

How many parts are you doing? It sounds like you are doing lots of these if the purchase of six double lock vises is justified; I just bought three Kurts and they are not cheap. Are you using custom jaws so you can clamp two parts per jaw set for a total of 24 parts per load?
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





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