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! > WoodWorking Machines > DIY-CNC Router Table Machines


DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-29-2005, 09:18 AM
buscht's Avatar  
Join Date: Nov 2003
Location: United States
Posts: 634
buscht is on a distinguished road
Question How do I synchronize 4th axis speed with X,Y,Z?

I've got my 4th axis built and have started to use it. So far, I've been just using it as an indexer and doing traditional X,Y, and Z milling.

But if I want to do full 4 axis contouring I am not sure how to get the 4th axis speed to be in sync with the other 3 axis.

For example, let's say that I am cutting at 60" per minute. My part is 3.819" in diameter. That would make the outer circumference 12".

That means that to cut in the 4th axis at 60" per minute, I'd have to spin the axis at 5 revolutions per minute. 60/12 = 5.

But if I use this code for example
G01 X12 A360 F60.
Won't it take 6 minutes to spin the 4th axis 360 degrees?

Is my logic incorrect? Or do I need to map the 4th axis as linear and use this code?
G01 X12 A12 F60

4th axis work is new to me, so any help is appreciated.
Thanks
Trent
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 07-29-2005, 09:43 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,570
ger21 is on a distinguished road
Buy me a Beer?

I think it depends on the control. But if you issue a command like

G01 X12 A360 F60, both the X and A should get to there destinations at the same time. Whether it takes 12 seconds or 6 minutes, you'll have to check. Using the axis as linear is something I've seen on the TurboCNC group to solve this type of problem.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

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

  #3   Ban this user!
Old 07-29-2005, 10:17 AM
 
Join Date: Jan 2004
Location: USA
Posts: 222
mikeschn is on a distinguished road

Trent,

Can I see a picture of your 4th axis in position? I'd like to allow sufficient room on my machine so I can add the same!

Thanks,

Mike...
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 07-29-2005, 10:41 AM
wisp's Avatar  
Join Date: Mar 2004
Location: usa
Posts: 173
wisp is on a distinguished road

Most controllers auto switch to degrees per minute when a 4th axis move is made. A simple formula to calculate IPM into DPM is,
DPM = 360 x IPM / circumference
this works pretty well in most cases. just be carefull if you are making small index moves and large X or Y moves. Imagine making a 1 degree index with a 10" X move, at a feed of F360, thats one RPM. the index will take about a second, but at the same time the X axis will try to move the 10" in that one second. youch.
__________________
www.cncfusion.com CNC kits for Sieg mills and lathes
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 07-29-2005, 11:21 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,419
Geof will become famous soon enough
Geof

Ger is correct, if you put in a G01 move that includes linear and rotary axes they get to the end at the same time. You do have to be careful if you are dealing in degrees on the rotary axis because of course the cutter is seeing the peripheral speed; the rotary might be able to make the move at the feed you program but this might translate into a heavy cut.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-29-2005, 12:05 PM
buscht's Avatar  
Join Date: Nov 2003
Location: United States
Posts: 634
buscht is on a distinguished road

Mike, this isn't mine but I copied it so it looks real similar.
http://www.cnczone.com/gallery/showp...puser/223/sl/m

Thanks for all the replies.
Trent
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 07-29-2005, 05:52 PM
 
Join Date: Jun 2004
Location: Canada
Posts: 44
broncosis is on a distinguished road

I should look at our coding her eat work all of our machines run
xy and a no z still three axis but A is rotory
with a centroid control
i have been putting them together for so long
never really to look at the cnc code they run thats our programmers
job really his software does a fine job with it

but I know we are running it linear where 1" is one revolutiuon
granted they are aon a 30-1 gear reduction drive and some sick 29inlb serveros
with crazy high encoder counts but I'll dig in co some of the code for a simple cylinder
here in a minute
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 07-29-2005, 06:04 PM
 
Join Date: Jun 2004
Location: Canada
Posts: 44
broncosis is on a distinguished road

X-1 A21.1361 Y6.1475 F50.1597
X-1 A21.1388 Y6.1472 F50.1595
X-1 A21.1416 Y6.1470 F50.1597

just snipit of the code we run
this would carve a 2 inch cylinder in our machines
the code is close to 5,000 lines though
as you can see i tis only moving a few thou
for each point along y which is layed out as a
vertical axis x is horizontal and A is rotary

it doesn't make pretty squares though almost we have tried
it isn't what it was ment for with a 5/8 x 11" carbide cutter it makes
short work of foam though
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 07-30-2005, 09:40 AM
buscht's Avatar  
Join Date: Nov 2003
Location: United States
Posts: 634
buscht is on a distinguished road

Thanks for checking broncosis,
Trent
Tweet this Post!Share on Facebook
Reply With Quote

  #10  
Old 07-30-2005, 11:13 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,570
ger21 is on a distinguished road
Buy me a Beer?

Trent, let us know what you find out. What controller are you using?
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

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

Sponsored Links
  #11   Ban this user!
Old 07-30-2005, 03:18 PM
 
Join Date: Jun 2004
Location: Canada
Posts: 44
broncosis is on a distinguished road

not sure how much it
helps but figured it
may provide some insight
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 08-01-2005, 08:58 AM
buscht's Avatar  
Join Date: Nov 2003
Location: United States
Posts: 634
buscht is on a distinguished road

I am using the 4 axis Xylotex controller. If I find out anything useful, I'll report back here.
Tweet this Post!Share on Facebook
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On





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