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 10-14-2004, 01:07 PM
 
Join Date: Oct 2004
Location: USA
Posts: 395
OCNC is on a distinguished road
Serial vs. parallel communication

Would someone please briefly explain the pro's and con's of serial vs. parallel communications between the PC and the cnc machine. What are the factors that favor use of one method over the other? What are the cost differences? Reliability? Accuracy?

Thanks.

Chris
Reply With Quote

  #2  
Old 10-14-2004, 05:23 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,463
ger21 is on a distinguished road
Buy me a Beer?

All the inexpensive software send step and direction signals throught the parallel port. The serial port is usually used to send information to an external pulse generator, which usually means more expensive software and additional hardware. But you can get better performance. But other than DeskCNC, which is about $300-$350, you'll be looking in the $1000+ range for anything good that uses the serial port.
__________________
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)
Reply With Quote

  #3   Ban this user!
Old 10-14-2004, 06:44 PM
 
Join Date: Mar 2004
Location: usa
Posts: 156
cnc2k is on a distinguished road

i'm using serial with xylotex driver.
Reply With Quote

  #4   Ban this user!
Old 10-14-2004, 07:40 PM
 
Join Date: Jul 2003
Location: United States
Posts: 124
Chagrin is on a distinguished road

I'll bite -- how are you using serial with the xylotex driver?
Reply With Quote

  #5   Ban this user!
Old 10-14-2004, 08:45 PM
 
Join Date: Oct 2004
Location: USA
Posts: 395
OCNC is on a distinguished road

Originally Posted by ger21
But you can get better performance.
Can you say a little bit more about what the performance difference is? Is it more than just speed and probably smoothness?

Thanks again.

Chris
Reply With Quote

Sponsored Links
  #6  
Old 10-14-2004, 10:38 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,463
ger21 is on a distinguished road
Buy me a Beer?

Originally Posted by OCNC
Can you say a little bit more about what the performance difference is? Is it more than just speed and probably smoothness?

Thanks again.

Chris
Mainly speed and smoothness, from faster and smoother pulse trains.
__________________
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)
Reply With Quote

  #7  
Old 10-14-2004, 10:43 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,463
ger21 is on a distinguished road
Buy me a Beer?

Originally Posted by Chagrin
I'll bite -- how are you using serial with the xylotex driver?

You can use the Xylotex (or any drives) through the serial port with an external pulse generator, like DeskCNC's. The Xylotex just needs step and direction signals, it doesn't care where they come from. You can't send step and direction signals through the serial port, it's not fast enough. That's why all the inexpensive controllers (Mach2, TurboCNC) use the parallel port.
__________________
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)
Reply With Quote

  #8  
Old 10-15-2004, 08:02 AM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 269
imserv is on a distinguished road

Chris The serial port is used with an external controller. The commands sent to the external controller are not at a basic step and direction, drum beating pace. They are commands like a simplified G-code. In order to move from one end of your machine table to another a parallel port system will output every small incremental position along the way. If the system has 4000 steps per inch, that's 4000 X 48 or 192,000 commands on a 48 inch table. On a serial port, only a single motion command is sent from the PC, that says "go over THERE".

There are speed limitations on the amount of useful information that can be sent out the parallel port. These vary by the operating system and processor speed. In the inexpensive windows software the upper limit is under 45,000 steps per second, on a good day with a tail wind.

DeskCNC is a Windows based, serial port controller, which has a dedicated processor whose primary task is to create pulses at up to 125,000 steps per second. This does not change whether the computer is a Pentium 200 or a P4-3200. Precise, faster, pulse rates generally provide smoother motion control.

Because many stepper systems are limited to low step rates by inexpensive drivers and lower voltages, the parallel port limitations may not come into play.

DeskCNC provides some additional capabilities because it uses the external processor.

Probing is immediate, surface scans are an order of magnitude faster and smoother. The DeskCNC software includes full support for surface scanning, including the creation of a smooth, tip radius compensated, re-machinable .stl CAD file.

Feed Hold. The feed hold is tied directly to the external controller, so is Cycle start.

Encoder input. The 2nd generation DeskCNC controller card has implemented a quadrature encoder input. That means that if you put an encoder on a lathe, you can slave an axis to the rotation of the encoder. This can be used for threading, handwheel manual pulse generation, and servo torch height control.

Relay outputs, limit switches, homing all are also enhanced by the external controller board.

One thing that parallel port advocates often fail to mention is that while you can get by without it, most likely you will eventually need a $150 breakout board to hook your machine up to your parallel port.

The DeskCNC controller doesn't require a breakout board.

Lastly DeskCNC is not just a controller. It includes a very powerful CAM capability. It can create 2d and 3d, CNC programs from Cad files, includes engraving, carving, tracing of image files, PCB trace routing and drilling, and more.

Fred Smith - IMService
http://www.cadcamcadcam.com
Reply With Quote

  #9   Ban this user!
Old 10-15-2004, 08:44 AM
 
Join Date: Oct 2004
Location: USA
Posts: 395
OCNC is on a distinguished road

[QUOTE=imserv]Chris The serial port is used with an external controller. The commands sent to the external controller are not at a basic step and direction, drum beating pace. They are commands.....


Thanks Fred! This is exactly the information I was looking for.

Chris
Reply With Quote

  #10   Ban this user!
Old 10-15-2004, 05:29 PM
DDM DDM is offline
 
Join Date: Nov 2003
Location: USA
Age: 28
Posts: 181
DDM is on a distinguished road

With no disrespect to Fred are there any other serial controllers out there other than Desk CNC in a decent price range >$1500? I really like the idea of going serial but I would like to see what options are out thare for serial control on higher end DIY CNC machines.

Carl
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-15-2004, 06:32 PM
 
Join Date: Aug 2004
Location: usa
Posts: 4
Flapjac is on a distinguished road

Take a look at Ability Systems
Reply With Quote

  #12   Ban this user!
Old 10-16-2004, 05:00 AM
bunalmis's Avatar  
Join Date: Jul 2003
Location: Turkey
Posts: 246
bunalmis is on a distinguished road

Originally Posted by DDM
With no disrespect to Fred are there any other serial controllers out there other than Desk CNC in a decent price range >$1500? I really like the idea of going serial but I would like to see what options are out thare for serial control on higher end DIY CNC machines.

Carl
This is serial controller and approx price will be 400$.

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
Adding a serial port - please comment DareBee Machine Problems, Solutions , Wireless DNC, serial port 11 03-22-2006 07:26 AM
pic chip SERIAL to step/dir and controll berin Open Source Controller Boards 13 02-18-2005 05:23 PM
Parallel Port Options JasonCroyle General Electronics Discussion 4 01-12-2005 07:23 AM
Serial or Parallel port drive Max General Electronics Discussion 8 11-02-2004 12:20 AM
CAD/CAM Serial Control Software AndG General CAM Discussion 2 05-10-2004 07:43 PM




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