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! > Electronics > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-30-2006, 10:32 PM
 
Join Date: Nov 2006
Location: canada
Posts: 5
jahcure is on a distinguished road
Minimal system to control steppers \ servos ??

Hi im pretty new here and i have been reading on how to diy 3 axis cnc but since i am studying in electronics at dawson college i have to build a microprocessor as part of my final year project
its max 20mhz and 1 meg ram im really not sure of the capabilities of this system but here is a link to the specs http://volta.dawsoncollege.qc.ca/co605.html the essence of my question is that i want to build a 3 axis cnc and would like to use this microprosessor as a controller for stepper \ servos is this possible ? i know that the microprosessor will be interfaced via hyperterminal to load files to it. i spoke about it to my asembly language teacher he told me that i would need a program that would convert the g-code and then send it out via the microprossor parralell ports. But i dont know were to start Any pointers

all help is apreciated

Thanks
Reply With Quote

  #2   Ban this user!
Old 12-01-2006, 11:19 AM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

hi jahcure,
You can control 3 steppers with your system, with adding to power drivers for the coils of a stepper motor. You can also do servo's, but it becomes more involved. Browse my website and you may find some information that helps. http://pminmo.com
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #3   Ban this user!
Old 12-01-2006, 12:30 PM
 
Join Date: Nov 2006
Location: canada
Posts: 5
jahcure is on a distinguished road

Thanks you very much but humm that was not really my concern it was more on how do i get to interface this minimal system meaninng it does not have dos or anything so i guess i need to get or programm a g code converter for it and thats where im stuck

Last edited by jahcure; 12-01-2006 at 02:11 PM.
Reply With Quote

  #4   Ban this user!
Old 12-01-2006, 04:04 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

My suggestion would be since it and 8088 based board would be to look into a minimalist linux os such as puppy, dsl, or mulinux and emc2. It may be a stretch, and would definitely require some effort. Thus you would be creating an embedded machine controller that would execute g-code. Or dos and turbocnc running on the 8088. Either way you would require a couple of megs or ram, but you would benifit from having the g-code controller turn key. But it would be simpler to find and old pc that somebody thinks is outdated for free and use it.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #5   Ban this user!
Old 12-01-2006, 04:58 PM
 
Join Date: Nov 2006
Location: canada
Posts: 5
jahcure is on a distinguished road

i agree but since my first intentions was to use it for school project it would of been great im sad thats its kinda limited tough cause since ihave to program the 8088 from scratch making a cnc out of it would of been neat

Thanks for you help
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-03-2006, 01:37 AM
 
Join Date: Nov 2005
Location: Latvia
Posts: 72
Episs is on a distinguished road

how match peripherals your 8088 MCH have? sutch ase PWM chanels, Timers, input capture, compare chanels.
I ask becouse it would be hard to make simple code without these chanels for example for step/dir signal PWM generation (wehn you will decode G-code) or for Quadrature encoder decoding without Input capture chanel it would be harder to decode and if these periferals are not in MCU hardware then to make them in code it will consume lot of MCU instructions and time so you will get slow CNC controller.
You could make system were one 8088 Mcu is for one motor then it will be mutch esier and faster.
Reply With Quote

  #7   Ban this user!
Old 12-04-2006, 03:56 PM
 
Join Date: Nov 2006
Location: canada
Posts: 5
jahcure is on a distinguished road

Thanks for your concern but actually it is a mpu and not a mcu so according to my teacher all these PWM chanels, Timers, input capture, compare chanels. i will be able to add them sepratly. if your intrested in helping futher more, information on the device it self can be found here : http://volta.dawsoncollege.qc.ca/co605.html

Jahcure
Reply With Quote

  #8   Ban this user!
Old 12-04-2006, 05:26 PM
 
Join Date: Nov 2006
Location: USA
Posts: 261
Willbird is on a distinguished road

I am pretty new to this stuff, so ignore my rambling if it is insane. But DOS is not a multi-task OS right ??

That aside, depending on what kind of control you need, I'm wondering if you could send the X axis direction and a number of pulses, say 500, then send the same data to Y, then send the reverse direction and the same number of pulses to X, then Y. The table would move in a square. ?? The exact timing would not be so critical then, as it would not be multitasking ??


Bill
Reply With Quote

  #9   Ban this user!
Old 12-04-2006, 09:37 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Originally Posted by Willbird View Post
I am pretty new to this stuff, so ignore my rambling if it is insane. But DOS is not a multi-task OS right ??

That aside, depending on what kind of control you need, I'm wondering if you could send the X axis direction and a number of pulses, say 500, then send the same data to Y, then send the reverse direction and the same number of pulses to X, then Y. The table would move in a square. ?? The exact timing would not be so critical then, as it would not be multitasking ??


Bill
Multitasking is not a requirement, and in fact can be a source of a problem. Since most of the cnc cam software uses step-direction signals from the same parallel port, the 8bit data becomes one datastream, and the processor is making decisions based on cpu timing.
For example say your drawing a 45 degree vector, the x and y axis are stepped at the same rate, and that rate is based on the computation of the mechanical characteristics, step rate, feed rate. As you move the angle of the vector off 45, one axis gets step pulse(s) when the other doesn't. Think of it as fractional time.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
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 09:16 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