Hello Guest it is May 06, 2024, 03:06:38 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Graham Waterworth

2361
G-Code, CAD, and CAM discussions / Re: G42 problem
« on: December 03, 2006, 04:57:43 AM »
The top left line starts at X0 Y0 and ends at X25. Y0,  by starting the cut at a known point in free space that is larger than or equal to the cutter radius you don't get pips on the edges of the start and finish cut.

I tend to use 1.5 times the cutter radius

The cutter is 10mm dia so, 10/2=5  then 5*1.5=7.5

By applying the comp on the move to x-7.5 y7.5 the tool is in the right place ready to blend without any uncut edges.

It all makes for a much nicer cleaner cut.

If you load the code into Mach3,  double click the code viewer, then scroll down the code line by line you will see the tool path highlighted line by line.

Graham.

2362
G-Code, CAD, and CAM discussions / Re: G42 problem
« on: December 02, 2006, 01:59:24 PM »
Here is what you are talking about,  I think I have put in all the detail this time.

Tool dia 10mm
Height offset 3
Using 'P' this time, set to 5.0mm

Graham.

O0002 (G41 - G42)

G21 G40
G91 G28 X0 Y0 Z0

N1 (10MM END/SLOT DRILL)
(TOP LEFT EDGE)
G54 G00 G90 G43 X-2.5 Y12.5 Z25. H3 S2500 M3
Z1.
G01 Z-1. F500.
G41 P5.0 X-7.5 Y7.5
G03 X0. Y0. R7.5
G01 X25.
G03 X32.5 Y7.5 R7.5
G01 G40 X27.5 Y12.5
G00 Z25.

(TOP RIGHT EDGE)
G00 X77.5 Y12.5
Z1.
G01 Z-1.
G42 P5.0 X82.5 Y7.5
G02 X75. Y0. R7.5
G01 X50.
G02 X42.5 Y7.5 R7.5
G01 G40 X47.5 Y12.5
G00 Z25.

(BOTTOM LEFT EDGE)
G00 X-2.5 Y-62.5
Z1.
G01 Z-1.
G42 P5.0 X-7.5 Y-57.5
G02 X0. Y-50. R7.5
G01 X25.
G02 X32.5 Y-57.5 R7.5
G01 G40 X27.5 Y-62.5
G00 Z25.

(BOTTOM RIGHT EDGE)
G00 X77.5 Y-62.5
Z1.
G01 Z-1.
G41 P5.0 X82.5 Y-57.5
G03 X75. Y-50. R7.5
G01 X50.
G03 X42.5 Y-57.5 R7.5
G01 G40 X47.5 Y-62.5
G00 Z25.
G91 G28 Y0 Z0
M30


2363
G-Code, CAD, and CAM discussions / Re: G42 problem
« on: December 02, 2006, 12:35:16 PM »
10 out of 10, go to the top of the class  ;D

Graham.

2364
G-Code, CAD, and CAM discussions / Re: G42 problem
« on: December 02, 2006, 10:48:54 AM »
Oops, Good point Gerry, forgot to mention that bit,

Its a work habit, we have 20 tools in our machines so we always add 20 to the tool number for the dia offsets as our machines don't have length and dia in one offset.

The circles are 25mm dia on a 50mm grid.

Graham.



2365
G-Code, CAD, and CAM discussions / Re: G42 problem
« on: December 02, 2006, 01:42:23 AM »
That would depend on where you live UK or US  ;D

G41 and G42 are dependent on the direction you are traveling clockwise or counterclockwise

This should help to explain it :-

O0001 (COMP G41 AND G42)

G21 G40
G91 G28 X0 Y0 Z0

(OUTSIDE CW)
G54 G00 G90 G43 X-19.445 Y35.91 Z25. H3 S2500 M3
G00 Z1.
G01 Z-1. F500.
G01 G41 D23 X-5.303 Y14.697 F800. S2500
G03 X0. Y12.5 R7.5
G02 X10.827 Y-6.248 R12.5
G02 X-10.827 R12.5
G02 X0. Y12.5 R12.5
G03 X5.303 Y14.697 R7.5
G01 G40 X19.445 Y35.91
G00 Z25.

(INSIDE CW)
G00 X46.25 Y3.75
G00 Z1.
G01 Z-1. F500.
G01 G42 D23 X50. Y12.5 F800. S2500
G02 X60.827 Y-6.248 R12.5
G02 X39.173 R12.5
G02 X50. Y12.5 R12.5
G01 G40 X53.75 Y3.75
G00 Z25.

(INSIDE CCW)
G00 X53.75 Y-46.25
G00 Z1.
G01 Z-1. F500.
G01 G41 D23 X50. Y-37.5 F800. S2500
G03 X39.173 Y-56.248 R12.5
G03 X60.827 R12.5
G03 X50. Y-37.5 R12.5
G01 G40 X46.25 Y-46.25
G00 Z25.

(OUTSIDE CCW)
G00 X19.445 Y-14.09
G00 Z1.
G01 Z-1. F500.
G01 G42 D23 X5.303 Y-35.303 F800. S2500
G02 X0. Y-37.5 R7.5
G03 X-10.827 Y-56.248 R12.5
G03 X10.827 R12.5
G03 X0. Y-37.5 R12.5
G02 X-5.303 Y-35.303 R7.5
G01 G40 X-19.445 Y-14.09
G00 Z25.

G91 G28 Y0 Z0
M30


2366
General Mach Discussion / Re: Progam stopping in mid-run
« on: November 30, 2006, 04:31:56 PM »
What line number is it stopping on, is it the same each time.

Graham.

2367
General Mach Discussion / Re: Progam stopping in mid-run
« on: November 30, 2006, 12:23:02 PM »
It could be viabration tripping a switch or a bad joint


2368
VB and the development of wizards / Re: Need help with new macro or wizard
« on: November 28, 2006, 05:39:38 AM »
Give each LED a number then add them up and if number is zero show warning, you can check any combination of led's then.

E.G.

led1=1
led2=2
led3=4
led4=8
led5=16
led6=32

ledcount=0
if led1 is on ledcount=ledcount+led1
if led2 is on ledcount=ledcount+led2
etc.......

if ledcount=0 "warning"

case ledcount

when 3 "led 1 and 2 are on"
when 12 "led 3 and 4 are on"
.....
end case

Graham.

2369
Thanks Chad,

the spindle is now working in manual mode, I just need to sort out the computer control side now,  my rotation sensor disk may have too many holes in it, its got 50 2mm dia holes on a 60mm pcd.

Graham.

2370
General Mach Discussion / Re: Coolant not working after upgrade
« on: November 27, 2006, 01:12:11 PM »
Sound more like a duff relay or motor on the coolant.

Graham.