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-17-2009, 02:48 AM
 
Join Date: Jan 2007
Location: USA
Posts: 355
Eurisko is on a distinguished road
Designing "The Ultimate MPG"

Manual pulse generators are great (compared to jog buttons) but they have their limitations.

You can select only ONE axis at a time.
There are 3 choices (x1 x10 x50) how far each click of the dial will move that axis.
Boring. And not very useful.

I've compiled a short list of features that I'd like to see.

Linear and circular interpolation (using the handwheel !)
Storing / recalling / executing waypoints in 3 dimensional space
Setting multiple "interference zones" or soft limits .
MDI commands

These features could be implemented using just a microcontroller.
No computer would be needed for manual control.

Just thinking out loud. Would be fun to do.

A word of warning:
Manual operation of a CNC machine may pose the risk of serious injury or death.

Use common sense. Wear safety glasses and hearing protection. Avoid loose fitting clothing.
Don't flick aluminum chips off of a cutter with your finger while it's spinning at 10,000 rpm.
Don't stick your face closer to the spindle so you can see what's happening.
Don't spin the handwheel really fast and drive the spindle into your table.
Don't use one hand to hold the workpiece while the other hand is using the handwheel.

I will not be held responsible for any injuries that you sustain after you build your own "Ultimate MPG".
__________________
Diplomacy is the art of saying "Nice doggie" until you can find a rock. - Will Rogers
Reply With Quote

  #2  
Old 07-17-2009, 09:17 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,536
Al_The_Man is on a distinguished road
Buy me a Beer?

IMO PWG's are not intended to be used for machining, I have a mill that I can select 3 simultaneous axis moves, but I would never use it for machining.
The MDI mode is probably more useful for this as feed-rate etc cannot be controlled with the normal PWG.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #3   Ban this user!
Old 07-17-2009, 09:36 AM
kvcummins's Avatar  
Join Date: Mar 2009
Location: USA
Posts: 21
kvcummins is on a distinguished road

You missed one: The ability to replay a stored set of operations (not just waypoints). My thought being to use EMC2 or whatever to generate a list of step/direction pulses that could be replayed by a controller. With 16Gb CF cards, you could get a fair number of pulses stored (1 byte per clock tick should do it for a 3-axis system). Simply replaying the pulses at a fixed frequency would emulate the pulses generated by the CNC software. I kind of like the idea of taking a CF card to my shop (heh, like I have a shop), plugging it in, and watching chips fly. No need to worry about a computer in a harsh environment, no need to fret over the realtime capabilities of my computer, etc., etc.

Sounds like a fun project, but I think I should get my router built first...
__________________
Ken Cummins
Still looking for a Kaplan program for the Turing Test...
Reply With Quote

  #4   Ban this user!
Old 07-17-2009, 04:34 PM
 
Join Date: Jan 2007
Location: USA
Posts: 355
Eurisko is on a distinguished road

Al,
I understand your reservations. But there are times when total manual control is needed. I've had to do some manual touch-ups on fixturing, simply because it was faster than writing a program to do the same thing.

Ken,
I had the same idea, but with an SD card for storage. The problem is that if you simply record a series of pulses from a PC, you will also record the lags and delays caused by task switching, processing, etc.

What we need is a gcode compiler which is able to store the real-time pulse data.
__________________
Diplomacy is the art of saying "Nice doggie" until you can find a rock. - Will Rogers
Reply With Quote

  #5   Ban this user!
Old 07-17-2009, 04:38 PM
 
Join Date: Jul 2008
Location: Canada
Posts: 216
analogman is on a distinguished road

Originally Posted by Eurisko View Post
Al,
The problem is that if you simply record a series of pulses from a PC, you will also record the lags and delays caused by task switching, processing, etc.
But does it really matter? If it worked for the first real cut, what difference would it make if you recorded and played it back?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-17-2009, 04:59 PM
 
Join Date: Jan 2007
Location: USA
Posts: 355
Eurisko is on a distinguished road

Originally Posted by analogman View Post
But does it really matter? If it worked for the first real cut, what difference would it make if you recorded and played it back?
Pausing in the middle of a cut can cause poor finish, chattering, etc.
If the original pulse train does it, the recorded version will, too.

We need to take the controller delays out of the equation.
__________________
Diplomacy is the art of saying "Nice doggie" until you can find a rock. - Will Rogers
Reply With Quote

  #7   Ban this user!
Old 07-17-2009, 07:48 PM
kvcummins's Avatar  
Join Date: Mar 2009
Location: USA
Posts: 21
kvcummins is on a distinguished road

Originally Posted by Eurisko View Post
Pausing in the middle of a cut can cause poor finish, chattering, etc.
If the original pulse train does it, the recorded version will, too.

We need to take the controller delays out of the equation.
Ummm... Toss the delays out the window. If you can get your software to calculate pulses based on a consistient frequency, you can have the controller play them back at whatever frequency you choose. All you record is the step/direction for each axis for each clock pulse. That's it. Then play them all back at the correct frequency.

A g-code interpreter would be cool, but the products I've seen that do that are thousands, if not tens of thousands of dollars... That's a *lot* of computing power and code interpretation.
__________________
Ken Cummins
Still looking for a Kaplan program for the Turing Test...
Reply With Quote

  #8   Ban this user!
Old 07-30-2009, 08:28 PM
 
Join Date: Jan 2007
Location: USA
Posts: 355
Eurisko is on a distinguished road

Time to work out some details.

I've been studying my "Theory and Problems of Computer Graphics" book.

What does that have to do with "The Ultimate MPG", you ask ?

The algorithms used in scan converting lines and circles for raster displays were developed for early computer systems. Systems without floating point co-processors. These algorithms are perfect for an 8 bit microcontroller.

We can treat each step of a stepper motor as a pixel which must be plotted.
There is no floating point math involved. Using only integer addition, subtraction, and bit shifting, we can determine where the next "pixel" will be.

The only caveat is that each axis have the same resolution, or integer multiples of that resolution. Trying to interpolate a circle with a metric 'X' axis and an SAE 'Y' axis would not be a good idea.

Anyway, the math is trivial. Interpolating an arc at 100 ipm or more is doable.
__________________
Diplomacy is the art of saying "Nice doggie" until you can find a rock. - Will Rogers
Reply With Quote

  #9  
Old 07-31-2009, 07:36 PM
Gold Member
 
Join Date: Dec 2004
Location: Newtown, CT, USA
Age: 68
Posts: 517
lerman is on a distinguished road

Originally Posted by kvcummins View Post
Stuff deleted...

A g-code interpreter would be cool, but the products I've seen that do that are thousands, if not tens of thousands of dollars... That's a *lot* of computing power and code interpretation.
EMC is free and will run on a $100 used computer. It has a gcode interpreter, of course.

Ken
__________________
Kenneth Lerman
55 Main Street
Newtown, CT 06470
Reply With Quote

  #10   Ban this user!
Old 08-03-2009, 07:14 PM
 
Join Date: Jan 2007
Location: USA
Posts: 355
Eurisko is on a distinguished road

Originally Posted by lerman View Post
EMC is free and will run on a $100 used computer. It has a gcode interpreter, of course.

Ken
Okay, free is good. EMC it is!


I've been searching online for a very small (cellphone size) alpha-numeric keypad for data entry that will interface to a microcontroller.

No luck. Any suggestions?
__________________
Diplomacy is the art of saying "Nice doggie" until you can find a rock. - Will Rogers
Reply With Quote

Sponsored Links
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
"low end" HF Spindle or "high end" router for about $1000? biomed_eng DIY-CNC Router Table Machines 14 01-06-2012 12:15 AM
Need Help!- "Warco GH Univ" V "Chester Lux Mill" JQ_Quint Benchtop Machines 37 01-22-2009 10:59 AM
G320 "common" or "+5vdc" why do they vary? beezerlm Gecko Drives 3 01-12-2008 04:00 PM
Vertical system "jerks" and "bangs"?? REVCAM_Bob Servo Motors and Drives 5 06-12-2006 09:09 AM
Add "View New Posts" to "Main Menu" Mr.Chips Forum Questions or Problems 4 04-21-2004 10:54 PM




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