Hello Guest it is April 25, 2024, 02:11:46 PM

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

1881
G-Code, CAD, and CAM discussions / Re: Newbie Question Gcode
« on: October 17, 2007, 04:16:23 AM »
Hi Olf20

G00, G01, G02, G03 are known as modal, they are in effect until another is commanded or a G80 is commanded.

Rapid setting are set by the motor tuning.

Graham.

1882
General Mach Discussion / Re: Strange toolpath
« on: October 15, 2007, 11:31:12 AM »
I think it is the fact that you are using #9001 and above, these are normally used by the system and may be getting corrupted. Art gives no guarantee that the # numbers work in all conditions.

You can use the G52 with # numbers

E.g.

#1=100.125
#2=120.000
G52 X#1 Y#2

I would keep away from the 9000+ numbers

Graham.

1883
Are you wanting to put a rad on the edge of the bore or on the grooves?

Graham.

1884
General Mach Discussion / Re: Strange toolpath
« on: October 15, 2007, 11:01:37 AM »
OK, lets try it this way.

Graham.

%

G21 G17 G90 G40 G61
G00 Z200
X0 Y0
M3
G04 P3
Z10
G52 X37.25 Y125.50
M98 P1001 L1
G00 Z10
G52 X100.75 Y125.50
M98 P1001 L1
G00 Z200
X0 Y0
M5
M30

O1001
X0 Y0
Z2.
G01 Z-1 F120
G41 P1. (change this for your cutter dia)
X0 Y5.15
X-6.95 Y5.15
G03 X-9.45 Y2.65 J-2.50
G01 X-8.44 Y-2.65
G03 X-5.98 Y-5.15 I2.5
G01 X5.98 Y-5.15
G03 X8.44 Y-3.08 J2.5
G01 X9.45 Y2.65
G03 X6.95 Y5.15 I-2.5
G01 X0 Y5.15
X0 Y0
G40
G00 Z2.

X-12.5 Y0
G01 Z-1
G41 P1. (change this for your cutter dia)
X-12.5 Y1.6
G03 X-12.5 Y-1.6 J-1.6
G03 X-12.5 Y1.6 J1.6
G40
G00 Z2.

X12.5 Y0
G01 Z-1 F120
G41 P1. (change this for your cutter dia)
X12.50 Y1.6
G03 X12.5 Y-1.6 J-1.6
G03 X12.5 Y1.6 J1.6
G40
G00 Z2.

G52 X0 Y0
M99

%

1885
General Mach Discussion / Re: Strange toolpath
« on: October 15, 2007, 08:56:17 AM »
Try this version, but change the tool dias in the marked lines.

Graham.

%

(#9001 = QUOTA OFFSET ASSE X )
(#9002 = QUOTA OFFSET ASSE Y )

G20 G17 G90 G40 G61
G00 Z200
X0 Y0
M3
G04 P3
Z10
#9001=37.25
#9002=125.50
M98 P1001 L1
G00 Z10
#9001=100.75
#9002=125.50
M98 P1001 L1
G00 Z200
X0 Y0
M5
M30

O1001
G00 Z10
X[#9001] Y[#9002]
Z2
G01 Z-1 F120

G41 P1. (change this for your cutter dia)

X[#9001+0.00] Y[#9002+5.15]
X[#9001-6.95] Y[#9002+5.15]
G03 X[#9001-9.45] Y[#9002+2.65] J-2.50
G01 X[#9001-8.44] Y[#9002-2.65]
G03 X[#9001-5.98] Y[#9002-5.15] I2.5
G01 X[#9001+5.98] Y[#9002-5.15]
G03 X[#9001+8.44] Y[#9002-3.08] J2.5
G01 X[#9001+9.45] Y[#9002+2.65]
G03 X[#9001+6.95] Y[#9002+5.15] I-2.5
G01 X[#9001+0.00] Y[#9002+5.15]
X[#9001+0.00] Y[#9002+0.00]
G40
G00 Z2
X[#9001-12.5] Y[#9002+0.00]
G01 Z-1

G41 P1. (change this for your cutter dia)

X[#9001-12.5] Y[#9002+1.6]
G03 X[#9001-12.5] Y[#9002-1.6] J-1.6
G03 X[#9001-12.5] Y[#9002+1.6] J1.6
G40
G00 Z2
X[#9001+12.5] Y[#9002+0.00]
G01 Z-1 F120

G41 P1. (change this for your cutter dia)

X[#9001+12.50] Y[#9002+1.6]
G03 X[#9001+12.50] Y[#9002-1.6] J-1.6
G03 X[#9001+12.50] Y[#9002+1.6] J1.6
G40
G00 Z10
M99

%


1886
General Mach Discussion / Re: Strange toolpath
« on: October 15, 2007, 08:21:22 AM »
In what way is the 2nd path wrong?

The only thing I can see wrong with the code is that Mach has no reference to the tool size for the G41's, you need to put a Px.xx or a Dnn

Where x.xx is the tool diameter and nn is a tool number for the offset containing the tool diameter.

If you have programed allowing for the tool size then the G41's are not needed.

Graham.

1887
G-Code, CAD, and CAM discussions / Re: Zero Radius Arc
« on: October 12, 2007, 03:23:27 AM »
Email me your post and I will take a look.

Graham.

1888
G-Code, CAD, and CAM discussions / Re: Work offset question G59p#
« on: October 11, 2007, 04:04:52 AM »
Hi Derek,

All work offsets G54 - G59 P1-254) are an X, Y & Z distance from your home position.

Working your way you would have to set every datum (G59 P12 to P20) each time you reset the jig.

Using G52 you only set one datum and the program knows where the others are. You can also correct any errors in the jig positions by juggling the G52 figures.

Not only that, but if you fit home switches and tenon your jig to the table you can go back to that point at any time.

Graham.

1889
G-Code, CAD, and CAM discussions / Re: Work offset question G59p#
« on: October 10, 2007, 06:24:26 PM »
Hi Derek,

I think you have misunderstood how the work offsets work.

G59 is the location of your x, y & z datum in relation to zero return.

G59 P12 to P20 is also the location of your 2nd to 10th x, y & z datum in relation to zero return.

So if your first part is at X-100 Y-100 Z-50 your second (G59 P12) part will be at X-135 Y-100 Z-50, your third (G59 P13) part at X-170 Y-100 Z-50 Etc.

If you want to make life a bit easier you can use G52 in your programs.  That way you only set one datum (G54) this will be the X,Y & Z distance from zero return to the datum point on the first part.

The G52 lines are the distance from the datum point on the first part.

Your program would then look like this :-

%
N1 G54
N100 G00 G17 G21 G40 G49 G80 G90
N110 T1 M06 G43 L1 (10MM slot drill)
N132 G00 Z10.S750 M03
N133 G00 X0 Y0
N135 M98 P1
N136 G52 X35.
N137 M98 P1
N1137 G52 X0
N138 G52 X70.
N139 M98 P1
N140 G52 X0
N1140 G52 X105.

N141 M98 P1
N142 G52 X0
Etc....

A G52 with a value of 0 (zero) cancels the shift, this must be done before you change to another value. You must also cancel any G52's before a tool change move or change of fixture (G55,G56 etc)

By the way,  Mach3 will not draw it correctly on the screen, don't worry it will cut correctly.

I hope this helps

Graham.


1890
G-Code, CAD, and CAM discussions / Re: Work offset question G59p#
« on: October 10, 2007, 02:14:10 PM »
Hi Derek

When you say it is someway off, how far off and in X, or X and Y or what?

What have you got in the work offset table for G59 P12 to 20?

Graham.