Manual Numerical Control - 'CNC' done by hand with a DRO
Aug 31, 2018 9:21:42 GMT
jem, Mike Clarke, and 4 more like this
Post by Roger on Aug 31, 2018 9:21:42 GMT
This thread explores the possibility of using CAD to create tool paths which can be used on a manual milling machine which has a DRO
In CNC you treat the job as if it were laid out on a piece of graph paper with the origin being your X0Y0 position which is anywhere convenient. It doesn't matter where, so long as you can set the mill to it. So it can be a corner, the middle of the job (found with a wobbler from both sides) or a hole.
That means your X and Y coordinates can go plus and minus if you like. All that matters in CNC is that you only have one zero point. You set that in the CAM program and that means that the G-Code will all be relative to that.
This is how a simple drill output is shown using the Alibre Design CAM module. It's pretty much the same whatever CAD/CAM you use.
Here you can see there are two triads (zero arrows). One is the origin of the CAD model, how it's been drawn, and the other has been set to the centre of the job in X and Y. That's the one that decides what the G-Code is output from
Narrow step drilling by Roger Froud, on Flickr
So a G-Code output would have a series of commands to indicate it's a drilled hole for example, and the X,Y coordinate where that's going to be. Nothing more than that.... repeat until it's all done. The beauty of this approach is that you set the datum once and then forget about it. It's either all right or all wrong!
This is the raw G-Code that my system outputs for that. You can see it tells you what the tool number and size is, the spindle speed and three lines for each drilled hole that most CNC systems recognise. Don't take any notice of the Z-12.654 values, I don't use the machine to drill holes automatically when there are only a few holes so I don't set all of the values.
(4 holes)
(Tool Dia. 1.4 Corner radius 0.7)
T4
S1000M03
G01 X13.500 Y7.160 Z6.000 F1000.0
G81 X13.500 Y7.160 Z-12.654 R2.500 F30.0
G80
G01 X13.500 Y7.160 Z6.000 F30.0
G81 X4.500 Y7.160 Z-12.654 R2.500 F30.0
G80
G01 X4.500 Y7.160 Z6.000 F30.0
G81 X-4.500 Y7.160 Z-12.654 R2.500 F30.0
G80
G01 X-4.500 Y7.160 Z6.000 F30.0
G81 X-13.500 Y7.160 Z-12.654 R2.500 F30.0
G80
G01 X-13.500 Y7.160 Z6.000 F30.0
M5M30
I've written a little utility program that rips out all that stuff so it ends up looking like this....
(4 holes)
(Tool Dia. 1.4 Corner radius 0.7)
T4
S1000M03
G01 X13.500 Y7.160 F1000
G01 X4.500 Y7.160
G01 X-4.500 Y7.160
G01 X-13.500 Y7.160
M5M30
On my machine, that allows me to single step from hole to hole, each G01 is a move to the next point.
Just to make this crystal clear. The idea is to turn the handles on the mill until the DRO shows the the positions shown in the list. You don't touch the DRO once it's set to the job zero.
These hole positions can be used with a DRO from a single datum to drill all of these holes.
I'm sure many of you are thinking this is an awfully long way around the houses to do something that you could easily have worked out in seconds on the back of a fag packet, but look at the bigger picture. This is a trivial example, imagine 100 holes on a frame, with all of the coordinates listed for you, grouped neatly into the different tool sizes. Now that has to be appealing!
Also imagine the possibilities of using the outputs to tell you where to move a milling cutter to machine a profile as in a 'part on a stick'. As long as you're machining straight lines, that's a trivial exercise. If you need to generate more complex profiles, you can generate outputs with many straight lines if you don't mind moving between all of them to generate the desired shape!
I think this method has huge potential without going to full CNC.
In CNC you treat the job as if it were laid out on a piece of graph paper with the origin being your X0Y0 position which is anywhere convenient. It doesn't matter where, so long as you can set the mill to it. So it can be a corner, the middle of the job (found with a wobbler from both sides) or a hole.
That means your X and Y coordinates can go plus and minus if you like. All that matters in CNC is that you only have one zero point. You set that in the CAM program and that means that the G-Code will all be relative to that.
This is how a simple drill output is shown using the Alibre Design CAM module. It's pretty much the same whatever CAD/CAM you use.
Here you can see there are two triads (zero arrows). One is the origin of the CAD model, how it's been drawn, and the other has been set to the centre of the job in X and Y. That's the one that decides what the G-Code is output from

So a G-Code output would have a series of commands to indicate it's a drilled hole for example, and the X,Y coordinate where that's going to be. Nothing more than that.... repeat until it's all done. The beauty of this approach is that you set the datum once and then forget about it. It's either all right or all wrong!
This is the raw G-Code that my system outputs for that. You can see it tells you what the tool number and size is, the spindle speed and three lines for each drilled hole that most CNC systems recognise. Don't take any notice of the Z-12.654 values, I don't use the machine to drill holes automatically when there are only a few holes so I don't set all of the values.
(4 holes)
(Tool Dia. 1.4 Corner radius 0.7)
T4
S1000M03
G01 X13.500 Y7.160 Z6.000 F1000.0
G81 X13.500 Y7.160 Z-12.654 R2.500 F30.0
G80
G01 X13.500 Y7.160 Z6.000 F30.0
G81 X4.500 Y7.160 Z-12.654 R2.500 F30.0
G80
G01 X4.500 Y7.160 Z6.000 F30.0
G81 X-4.500 Y7.160 Z-12.654 R2.500 F30.0
G80
G01 X-4.500 Y7.160 Z6.000 F30.0
G81 X-13.500 Y7.160 Z-12.654 R2.500 F30.0
G80
G01 X-13.500 Y7.160 Z6.000 F30.0
M5M30
I've written a little utility program that rips out all that stuff so it ends up looking like this....
(4 holes)
(Tool Dia. 1.4 Corner radius 0.7)
T4
S1000M03
G01 X13.500 Y7.160 F1000
G01 X4.500 Y7.160
G01 X-4.500 Y7.160
G01 X-13.500 Y7.160
M5M30
On my machine, that allows me to single step from hole to hole, each G01 is a move to the next point.
Just to make this crystal clear. The idea is to turn the handles on the mill until the DRO shows the the positions shown in the list. You don't touch the DRO once it's set to the job zero.
These hole positions can be used with a DRO from a single datum to drill all of these holes.
I'm sure many of you are thinking this is an awfully long way around the houses to do something that you could easily have worked out in seconds on the back of a fag packet, but look at the bigger picture. This is a trivial example, imagine 100 holes on a frame, with all of the coordinates listed for you, grouped neatly into the different tool sizes. Now that has to be appealing!
Also imagine the possibilities of using the outputs to tell you where to move a milling cutter to machine a profile as in a 'part on a stick'. As long as you're machining straight lines, that's a trivial exercise. If you need to generate more complex profiles, you can generate outputs with many straight lines if you don't mind moving between all of them to generate the desired shape!
I think this method has huge potential without going to full CNC.