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! > CAM Software > General CAM Discussion


General CAM Discussion Discuss CAD/CAM software and Design software methods here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-05-2004, 11:26 PM
 
Join Date: Aug 2003
Location: United States
Posts: 253
samualt is on a distinguished road
Confused about CNC software

I'm confused about CNC software.

I always thought the CAM software is what sent the G-code to the hardware. But Visual Mill (a prominent CAM program) evidently only takes the 3D file (IGES, Rhino, Dxf, Dwg, STL, VRML, RAW, Point Cloud) and makes a tool path or G-code file. Then you need yet another program to send the G-code to the hardware. Is that correct? If so, which program is best to send the G-code to the router (Hardware driver like Rutex or Gecko)?
I've already got my Rutex drivers, and I really like Rhino-3d which I'm told works best with Visual Mill. So I've already gone down part of the path.

Rhiono-3d --> Visual Mill --> ??? --> Rutex

Another problem I have is I'd like to design on my Desktop (a nice machine) but use a rather old laptop to control the router (Compaq Armada - Pentium 200Mhz, 128Megs ram, SVGA, Win98). Any control software work with that?

Also, what do I call a program that sends the G-code to the driver, if it's not CAD or Cam?

Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 08-05-2004, 11:38 PM
 
Join Date: Jun 2003
Posts: 1,984
turmite is on a distinguished road

samualt I simply copy to disc or cd and transfer that way. I do have two seats of bobcad 17 and one is loaded on my cnc computer. If you have both together you can also use networking to do the transfer.

Mike
__________________
No greater love can a man have than this, that he give his life for a friend.
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 08-06-2004, 04:34 AM
ynneb's Avatar
Moderator
 
Join Date: Feb 2004
Location: Oz
Posts: 2,571
ynneb is on a distinguished road

Yes at first I was a bit confused too.
You will need a program like Mach2 that you can then load your Gcode into. Programs like Mach2 will then do all the talking to your servos/stepper cards and control your machine.
Fortunately Mach 2 is very cheap for what it does. ( Unilke many other expensive software programs)

As for what to call this software, I am not sure. I guess it could be called "Frontend machine operating software" ( Does anyone know the exact name for this sort of software? )
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 08-06-2004, 06:32 AM
drawbar's Avatar  
Join Date: Apr 2004
Location: USA
Age: 43
Posts: 90
drawbar is on a distinguished road

I've heard of it being called NC software.
Took me a while, too, to figure out the different requirements of the different software.

Brian
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 08-06-2004, 07:24 AM
ynneb's Avatar
Moderator
 
Join Date: Feb 2004
Location: Oz
Posts: 2,571
ynneb is on a distinguished road

Yes NC software sounds like a good description.

Oh,.... about sending it to another computer. I also design on a better computer and just send the fiinished files to the operating computer via a cheap network setup.
I can't actually operate the router remotely though. Not that you would ever really want to do that. You can get cheap network cards these days for 10 bucks each if you settle for lower speed transfere. Most NC files are only small anyway. It should still only take seconds to transfere the files.

Because of the sort of computer you wish to use and the operating system you would have to use a program called Master5. This program is written by the same guy who wrote Mach2.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6  
Old 08-06-2004, 08:26 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

CNC controller software is what interprets the gcode and interfaces to your machine.

NC communications software is what is used to transfer gcode files from your PC into the memory of the cnc controller. This would be relevant only if your cnc controller software is installed on a remote computer.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(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

  #7   Ban this user!
Old 08-06-2004, 08:41 AM
 
Join Date: Feb 2004
Location: United States
Posts: 56
snaggletto is on a distinguished road

Hello,
In your case Rhino is the CAD, Visual Mill is the CAM, Mach2/Linux EMC/many others is the control software, NC (numerical control) is correct also.

Depending on your performance needs, you may be able to use the slower PC to run Mach2 and the router. However, you will soon find out that your maximum speed with steppers or step servos is determined by your maximum pulse rate. Pulse rate is the speed of the step/direction signals coming from your PC control software. Pulse rate is largely based on CPU speed. For example, Mach2 will run in 3 modes, 25khz (demo only), 35khz and 45khz (full version, $150, does all three). However, a slow PC might only be able to run 25khz (25,000 pulses/sec on each axis), while your faster PC might easily run 45khz (45,000 pulses or steps/sec on each axis).

Say you have a high RPM servo with 1000 line quadrature encoder. That would be 4000 pulses/rev quadrature ( rising and falling edge detection on two distinct channels). Now say you have to gear reduce the servo 5 to 1. You now have 4000 pulses/rev of the motor X 5 = 20,000 encoder pulses/rev of the screw. Lets say your screw is 5TPI. Now you have 20,000 X 5 = 100,000 encoder pulses in 1 inch.

With a fast PC, Mach2 can only put out 45,000 pulses per sec, in other words your machine will travel a maximum speed of .45 inches/sec X 60 is 27 inches/min.

You can see how you can quickly use up your pulse rate, and how it can severly limit your speed.

Now lets take a low speed torque servo with a 250 line encoder and 2 to 1 gear reduction. The 250 line encoder is 1000 quadrature X 2 = 2000 pulses /rev of the screw X 5 TPI = 10,000 pulses/inch of table movement. At 45,000 pulses/sec, this system could operate at up to 4.5 inches/sec X 60 = 270IPM.

The Gecko G340 has a pulse multiplier, and Rutex has a multiplier of 1, 4, 10 and 20. This has the effect of moving X pulses for every pulse into the drive (from the PC). In my first example with a count of 100,000 pulses/inch would effectively become 10,000 pulses/inch (as in the second example) by setting the pulse multiplier to 10. The trade off is speed for resolution.

Routers and there size usually need high rapid speeds to be effecient. Try to figure out what rapid speed you want to run your table at and buy your screws, servos etc.. based on what is required to get your desired speed using calculations just like the above, but in the reverse order.

Consider what you want from your design. You may have to use your faster PC to run Mach2 at 45khz. Good luck.
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 08-06-2004, 10:49 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?

The current testing versions of Mach2 are looking like they will require 500Mhz minumum CPU's. Also, you need to be running either XP or Win2K. You might want to consider using TurboCNC, but it must be run in DOS, not from a Win98 DOS prompt.

Another thing to consider is that some laptops parralel ports can't output enough voltage to run your drivers, so you may be out of luck with the laptop anyway. Both Mach2 and TurboCNC can be downloaded and tried before purchase, to see if they'll work with your laptop.
__________________
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

  #9   Ban this user!
Old 08-06-2004, 10:41 PM
 
Join Date: Jun 2003
Location: Australia
Posts: 431
Splint is on a distinguished road

Isn't communication software known as DNC? What's the difference between CNC and NC software?
Splint
Tweet this Post!Share on Facebook
Reply With Quote

  #10  
Old 08-07-2004, 09:53 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

DNC may be a function of communications software. Uploading a program to the cnc memory is an example of regular comm function.

Drip feeding a program line by line from a PC to the CNC for immediate execution is what DNC is all about.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(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  
Old 08-07-2004, 12:29 PM
Rekd's Avatar
Community Moderator
 
Join Date: Apr 2003
Location: teh Debug Window
Posts: 1,877
Rekd is on a distinguished road

Originally Posted by Splint
Isn't communication software known as DNC? What's the difference between CNC and NC software?
Splint
This could get complicated, but should help you understand how/what communications are, what types are most popular, and the differences between CNC and NC.

DNC is a type of communication. It's a protocol, not software. There are 2 basic ways of sending data to the machine, (this data is in NC format, typically called an NC File, more on that later.)

The most common way is via a standard RS-232 cable connection. You connect a cable from the computer to the machine and transfer the NC data from the computer to the machine one line/block/char at a time using one of many many different kinds of transfer programs, (I made my own for this), until the entire program is stored in the machine. (This works for NC Files that are small enough to fit into the memory of the machine.) Once the entire program is stored in the machine, you can run it as many times as you need, start in the middle, make edits to it, etc etc.

You can also, if you've made changes to the NC File while it was in the machine, send it BACK to the computer to be stored as a 'proofed' or 'proved' program. So if you run the same parts 3 months from now, you'll have the same program you made changes to by sending out the 'proofed' program again.

DNC is Direct Numerical Control. It is used in cases where the NC File is too big to fit into the machine all at once. It allows you to run bigger programs by sending as much data as it can, then waiting for more room to be made available so it can send more.

This method has several drawbacks, some that can be over-come with high-end DNC Software. With DNC, you set the machine up to recieve, and start sending the program out and you can begin running it while it's still sending.

Once the machine's memory is full, the DNC Software will stop sending data and wait for part of the program to be run, (after a portion of the program is run, that data is thown away which frees up more room on the machine), and when more room is made on the machine, the DNC Software will send more data until the machine is full again. You have to make sure you can send the data faster than the machine can process it, or you will get 'pauses' while the machine waits for it's next move to be sent.

Drawbacks to this method are that you can only run the program once before having to send it out again. You can't (unless you invest in high-end DNC Software) generally start in the middle of the program. You can't make changes to the NC File after it's sent.

You asked the difference between CNC and NC; CNC, Computer Numerical Control is a process in which a machine is controlled by computer data instead of by using hand wheels and knobs.

NC is the type of data that the machine reads, typically called G-Code. It has all the codes that the machine uses to cut your parts.

This NC code is generated from a CAD/CAM program; Computer Aided Design/Computer Aided Manufacturing. CAD programs don't generally create G-Code, and not all CAM programs allow you to do CAD. Many do both. There are hundreds of different kinds of CAD/CAM Software, ranging from free to tens of thousands of dollars, depending on what you want to do.

Basically what you do is create the geometry that will represent the part's shape, and apply toolpaths to it. Once you've applied all the toolpaths, you run it thru what's called a "post processor". This is the process that converts the stuff you did in the CAD/CAM program into the NC File that the machine reads. (NC Files are almost alway in 'human' readable format, unlike normal computer programs that look like gibberish when a human looks at it.)

Here's a sample of some NC Code generated with Mastercam..

Code:
%
O0001
(HOUSING.NCF)
(AUG 07, 2004 09:17)
(MC8 FILE: -G_HOUSING)
(MACHINE: PRESTAGE 4 AXIS)
(MATERIAL: ALUMINUM INCH - 6061)
(STOCK SIZE: X 4.45 Y 3.5 Z 1.)
(TOOL 1: DIA 0.5000  .500 HSS EM 2FL)
(TOOL 12: DIA 0.1875  .1875 CB EM 4FL)
(TOOL 2: DIA 0.1250  .125 CB EM 4FL)
(TOOL 3: DIA 0.0312  R0.0156  .0312 Ball EM)
(TOOL 4: DIA 0.2500  1/4 C'Sink)
(TOOL 5: DIA 0.0670  .067 Drill)
(TOOL 6: DIA 0.0780  .078 Drill)
(TOOL 7: DIA 0.1400  .140 Drill)
(TOOL 8: DIA 0.0730  #1-72 Tap Roll Tap)
(TOOL 9: DIA 0.0860  #2-56 Tap Roll Tap)
(TOOL 10: DIA 0.1250  .125 x 90 Deg Spot Drill)
(TOOL 11: DIA 0.2500  .250 Drill)
(OVERALL MAX Z1.)
(OVERALL MIN Z-.8634)
N1 G00 G17 G40 G49 G80 G90 G20
N2 T1
N3 M01
( OPERATION: 1   CONTOUR )
N4 ( TOP OP 1 )
N5 M06(T1: .500 HSS EM 2FL)
(MAX-DEPTH | Z-.72)
( TOOLPATH - CONTOUR)
( STOCK LEFT ON X & Y = -.35)
( STOCK LEFT ON Z = 0.)
N6 M03 S7500
N7 G00 G90 G54 X-4.8 Y-2.175 A0.
N8 G43 H1 Z1. M08 T12
N9 Z.11
N10 G01 Z0. F50.
N11 G41 D1 X-4.75 F65.
N12 G03 X-4.25 Y-1.675 I0. J.5
N13 G01 Y-.1
N14 X-.1
N15 Y-3.25
N16 X-4.25
N17 Y-1.675
N18 G03 X-4.75 Y-1.175 I-.5 J0.
N19 G01 G40 X-4.8
N20 G00 Z1.
(OPERATION: 2 CONTOUR)
N21(OUTLINE OP 1)
(T1: .500 HSS EM 2FL)
( TOOLPATH - CONTOUR)
( STOCK LEFT ON X & Y = 0.)
( STOCK LEFT ON Z = 0.)
N22 X-4.71 Y-3.4
N23 Z.1
N24 G01 Z-.72 F50.
N25 G41 D1 X-4.66 F45.
N26 G03 X-4.61 Y-3.35 I0. J.05
N27 G01 Y0.
N28 G02 X-4.35 Y.26 I.26 J0.
N29 G01 X0.
And here's a couple of pictures from the CAD/CAM program, one showing the lines/arcs etc that represent the part,



the other showing the part as it will appear while it's being cut. (This is typically called rendering or verifying)



There's a lot more to it than this, but it should give you a better understanding.
__________________
Matt
San Diego, Ca

___ o o o_
[l_,[_____],
l---L - □lllllll□-
( )_) ( )_)--)_)

(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

  #12  
Old 08-07-2004, 12:34 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,713
Al_The_Man is on a distinguished road
Buy me a Beer?

Typically there is four stages in Cad/Cam to machine. First there is the CAD to draw the part up, second, CAM usually allows you to draw/enter the tool paths and supply tooling information etc then third to convert to G code you need to pass it through a post-processor (usually an extension of the CAM s/w) which has all the options that your particular machine might have, including unique M codes or ways of interpreting G codes etc such as circular interpolation methods. Fourth is the DNC program that sends it out the (serial) port to the machine e.g. http:www.cadem.com/.
Some programs have all the above options in one piece of s/w.
AL
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(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

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
Augh. Too many choices in CNC control software MadMax General CNC (Mill and Lathe) Control Software (NC) 4 07-08-2005 02:00 PM
Conversational CNC Software BlueChip Product Announcements & Manufacturer News 0 02-07-2005 12:43 PM
***One stop CNC software guide*** ynneb DIY-CNC Router Table Machines 4 05-27-2004 05:31 PM
Which CNC Mill and what software? MaxxMan-X Knee Vertical Mills 16 04-18-2004 12:25 PM
Cheap or free CNC software JFettig General CAM Discussion 9 12-05-2003 08:38 AM




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