View Single Post
  #11  
Old 08-07-2004, 11:29 AM
Rekd's Avatar
Rekd Rekd is offline
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)
Reply With Quote

 

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