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! > MetalWorking Machines > Benchtop Machines


Benchtop Machines Discuss all mini mills sherline, taig, square column, round column and CNC mill conversions here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 06-15-2007, 01:12 AM
 
Join Date: Jun 2007
Location: India
Posts: 9
mvadu is on a distinguished road
Question Lot of Basic Questions from a Newbie

Hi I am a software engineer by profession. I also studied some electronics in my graduation. I can do lot of stuff in a Comp, few stuff with Microchip PICs, but mechanics is a new world for me .

Only Last week I got introduced to fascinating world of Home Made CNC by visiting http://www.mr-bean.co.uk. Though first I though “It’s not my cup of tea”, after visiting http://www.cnconabudget.com and http://www.crankorgan.com/brute.htm I though of building one on the same design. But I have some basic questions which you senior people need to answer.. be patient to read till end..:

1. Since a stepper motor is Open Loop motor, how computer (or the CNC controlling software) knows that a command is successfully completed by the machine? For example if the controller asks the CNC machine to move the spindle down to drill 0.5” deep hole how it knows that its finished? What is stepper stalls because the job material is very hard?

2. In all the designs I have visited I could see a limit switch and a home switch but none say anything about the wiring part. If steppers are controlled by stepper motor controller where these switches will go? What happens when these switches are closed? If it simple stops the stepper from rotating further or it even informs the computer that the job table reached the extreme end? If it only stops then what happens if I try to mill a job of say 8” (in X axis) but my machine supports only 6” movement, so when the x axis tries to move behind 6” it closes limit switch. What will be the response from the controller?

3. As per my understanding movement of the table along the leaner guide depends on pitch of the guide screw. And its thickness as well. So the distance the table moves/revolution of stepper is a variable. How does that taken in to account? Is it at the controller hardware or we have some thing to configure in the CNC software?


Don’t blame me for such a long set of questions.. be patient once I get answers for these I have few more… actually for the last few days I am getting dreams of my own CNC, al that I could see is a PCB milled by my machine.. but I was so happy in that dream that I could not notice much info about the machine so I have to ask you guy’s only..


Note: Mods.. I am not very sure whether this the right place to ask these questions, if not then please move this thread to proper location (other than Trash Bin )
Reply With Quote

  #2   Ban this user!
Old 06-15-2007, 03:38 AM
 
Join Date: Feb 2007
Location: USA
Posts: 424
in2steam is on a distinguished road

First off welcome, cnc is an intersting place between the realms of mechincs and electronics. Your questions are none that have not been answered before I suggest in the future before you ask them that you use the forum search functions as there many areas to cover. But I will answer them to the best of my knowledge and what you are planning on doing.

1. The control has no way to know if the stepper has not completed a move, you answered the question yourself its "open loop". This is the biggest difference between servos and steppers, on most low cost low power systems such as taigs and sherlines steppers are more then sufficent. The stepper control has no way to know if the lead screws broke either so you are reading into the issue more then needed I think. This other then the intial setup is not a normal worry if you run the machine in its normal parameters.
2. This depends upon what kind of control, interface board, and software you are using. Some setups the the limits and home switchs are not even needed but you should IMHO have them for saftey reasons. The software will almost always stop you from exceeding the limits of the table. The wiring could be done directly to the control board in a couple cases but most often the wiring is attached to a break out board. You may wire a limit switch to the control board in such a way that it shuts it down if the "hard limit" is exceeded.
3. The control software takes care of the lead on you machine, in can be fine tunned with measuring insturments while setting up. The motor control strictly controls the motor and depends upon the software to preform its task. The thickness of the lead(or axis) does not effect the movement only the teeth per inch/mm.
You may want to vist artsoft they make Mach 2/3 series of cnc control software and are excepted as one of the leaders in the homeshop area. They have alot information on there product and cnc in general in there instructions.

chris
Reply With Quote

  #3   Ban this user!
Old 06-15-2007, 04:07 AM
 
Join Date: Jun 2007
Location: India
Posts: 9
mvadu is on a distinguished road
Unhappy

Originally Posted by in2steam View Post
First off welcome, cnc is an intersting place between the realms of mechincs and electronics. Your questions are none that have not been answered before I suggest in the future before you ask them that you use the forum search functions as there many areas to cover.
Thanks for the reply Chris.. You are helpful. I know that there is a search facility, but i was not sure on what to search.. (Those were little big questions you know)

By looking at your reply it seems that every thing is handled by the CNC software running on the PC. (The problem with me is I have not yet got my hands on such software.. so bit confused)
Do you mean CNC controller hardware will not send any feedbacks to the system with respect to machine health, limit switch closing etc.

Actually I am planning to do my own Stepper controller, if it need not to send ant thing back to system then its job will be just to turn the stepper in desired direction for desired time as instructed by the software through Parallel port. Am I right here

If I am right then why some designs use PICs in controllers when every thing can be driven by Parallel port only
Reply With Quote

  #4   Ban this user!
Old 06-15-2007, 04:55 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

Mvadu, the electronics on the machine will send signals back to the controller if a limit or homing switch is activated, usually a breakout board is used to terminate the limit and homing switches, also can provide terminals to send signals to relays to turn on the spindle, dust extraction etc from the controller PC.

The steppers on the other hand do not send any feedback back to the controller, and the method is to make sure the steppers are not loaded to the point of stalling and move where they are supposed to, it might not sound the best but it works quite well so long as the motors are sized properly.

Servo's do have feedback but the added complexity makes them more expensive , though drives are getting cheaper and appearing more and more in hobby machines.

Not too sure what you mean by your last question, usually the drives with micro's on them are servo drives, that need a little more"brains" to work, these might be what you were talking about ?

Russell.
Reply With Quote

  #5   Ban this user!
Old 06-15-2007, 05:16 AM
 
Join Date: Jun 2007
Location: India
Posts: 9
mvadu is on a distinguished road
Lightbulb

Originally Posted by epineh View Post
Not too sure what you mean by your last question, usually the drives with micro's on them are servo drives, that need a little more"brains" to work, these might be what you were talking about ?

Russell.
Thanks Russell,

Actually i got similar info about limit switches few minutes back from here http://www.solsylva.com/cnc/limits.html.

My last question is not about servo controllers. (actually I know the different type of motors and difference between Servo and a Stepper, I am a graduate in Electronics, Physics and Electronics )

I am actually referring to this schematic http://www.fromorbit.com/projects/pi...4_0_schema.pdf. This one is used by Mr-Bean of UK (http://www.mr-bean.co.uk/step_drive/p1/index.html). This circuit uses LMD18245T, and when i compared both the schematic and data sheet of LMD18245T it seems PIC is used as a source for current controller of LMD18245T.
can any one confirm it?

This guy has got a simpler servo controller as well..
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-15-2007, 09:02 AM
 
Join Date: Feb 2007
Location: USA
Posts: 424
in2steam is on a distinguished road

Yes you are correct most of the handling is done vis the software on the smaller home machines. This replaces in what the past used to be hardware controlled on larger older machines.

Typically a stepper control used in these systems sends a step and direction signal and thats it no feedback. Russel slightly misstates that the machine electronics will send a signal back if a limit switch changes state whereas the signal normally goes directly from the switch to the BoB(break out board) or the computer parallel port, it really depends upon the equipment used.

The use of a BoB prevents serious damage to your PC should there be an accident or a short as the stepper drives are high power, its possible to drive the systems directly through the parallel port however I don't recommend it, it also decreases safety and flexibility. These boards allow you to use otherwise pins that would not be usable with direct hook ups. You need to remember in a machine environment that metal chips and coolant get everywhere so you stand a very good chance of shorting something out.

I recommend you check these sites:
This is the mach controller software with detailed instructions and download able demo so you can get your hands on some software. Their instructions will answer many of your questions as they cover not only there software but also machine design in general and BoB's

www.machsupport.com

Gecko manufactures stepper and servo drives they are considered one of the best.

www.geckodrive.com

Chris
Reply With Quote

  #7   Ban this user!
Old 06-15-2007, 08:02 PM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

Originally Posted by in2steam View Post
Russel slightly misstates that the machine electronics will send a signal back if a limit switch changes state whereas the signal normally goes directly from the switch to the BoB(break out board) or the computer parallel port, it really depends upon the equipment used.

Chris
It was late, and I was including the BoB as a part of the electronics... that is my excuse and I am sticking to it

Also check out EMC2 for a controller, it is Linux (Ubuntu) based and FREE !!!
It is also very good, you could use it to build a servo drive simply as it will read the encoder pulses directly and calculate PID values in the PC, all you need is a "dumb" H-bridge driver stage and you are in business... well for that side of things anyway

There is also support for using FPGA based cards to get extra IO and functionality, I am thinking of getting either a MESA electronics 5i20 anything IO card or a Pluto-p card to retrofit my router, the Pluto-p is a parallel based card while the MESA is a PCI card, might be worth a look for you.

Russell.
Reply With Quote

  #8   Ban this user!
Old 06-18-2007, 02:07 AM
 
Join Date: Jun 2007
Location: India
Posts: 9
mvadu is on a distinguished road
Red face

Originally Posted by in2steam View Post
I recommend you check these sites:
This is the mach controller software with detailed instructions and download able demo so you can get your hands on some software. Their instructions will answer many of your questions as they cover not only there software but also machine design in general and BoB's

www.machsupport.com

Gecko manufactures stepper and servo drives they are considered one of the best.

www.geckodrive.com

Chris
Thanks Chris.. for the links. earlier also you had given ArtSoft links, but i never went in to Mach docs, I was looking for some files with a more generic names, Only after this message that i went and opened Mach-3 user guide, its detailed beautiful document. Thanks again. I will spend some time reading this before I come back to you..
I must say.. You guys are really helpful.. I am looking forward for your help till I have my own CNC running on my table.
Reply With Quote

  #9   Ban this user!
Old 06-18-2007, 03:19 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

Make sure you post a build log for to see with lots of pics

Russell.
Reply With Quote

  #10   Ban this user!
Old 06-18-2007, 04:07 AM
 
Join Date: Jun 2007
Location: India
Posts: 9
mvadu is on a distinguished road
Unhappy

Ya.. Man.. I think this weekend I will go out to hunt for acme threaded rods for guide screw. The one's i saw on e-Bay or way too costly (more than 100$ which means more than 4000 Indian rupees, which is nearly 15-20% of my monthly income.. I f I spend that much for a 15" steel rod my wife is gonna kill me )
For sides and base i am planning to use Plastic boards (the one used for veg/meat chopping).for leaner guide i will use small ball bearings bolted to the plastic sides rolling over bottom plastic.(like X-Axis bearing will run over Y-Axis side walls) Lot of plans in mind.. hope to finish... God.. please help me out..
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-18-2007, 08:53 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

I just used threaded rod for my leadscrew, I managed to find high tensile for the Y and Z axis, but couldn't get a piece long enough for the X, so I just used plain old threaded rod. I ran a die nut up and down a few times to take off any sharp bits and it works like a charm

I might eventually upgrade to ballscrew's if I can find some cheap enough but maybe later.

My build log is here if it is any help to you :

http://www.cnczone.com/forums/showthread.php?t=22101

I also got heaps of HDPE plastic, same kind of stuff as breadboards, but this stuff is black, about 10mm thick, got it from a plastic manufacturing shop, they make all kinds of stuff with it, water tanks etc. I got heaps of offcuts for next to no cost

Good luck !

Russell.
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
Very Basic CAM Questions kochevnik General CNC (Mill and Lathe) Control Software (NC) 4 06-26-2008 07:59 AM
Basic CAD program for total newbie? hhsmiley General CAM Discussion 1 05-11-2007 06:43 AM
New guy asking basic questions. Crazybillybob PicStep Controllers 2 02-22-2007 10:28 PM
Basic Questions NinerSevenTango FeatureCAM CAD/CAM 6 01-05-2007 09:53 PM
Basic questions (new guy) mattsgarage CNCzone Club House 12 04-08-2005 01:27 PM




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