Hello Guest it is April 25, 2024, 08:06:35 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

1051
To do a simple loop you can do this :-

%
O0001 (MAIN PROGRAM)

G21 G40 G80 (STANDARD SETUP LINES, METRIC, CLEAR OFFSETS, CANCEL CANNED CYCLES)

N1 (TOOL 1)
G54 (SELECT FIXTURE OFFSET 1)
T1 M6 (SELECT TOOL 1)
G00 G90 G43 X0 Y0 Z25. H1 S2000 M3 (RAPID 3 AXIS MOVE TO START POINT IN ABSOLUTE AND START SPINDLE)
Z1. (RAPID 1MM ABOVE JOB)
G01  Z0  F150. (FEED TO TOP OF JOB)
X25. F200. (FEED OUT TO 25MM)
M98 P0002 L20 (CALL SUB PROGRAM O0002 20 TIMES)
G00 G90 X0 Y0 (RAPID TO CENTRE OF CIRCLE IN ABSOLUTE MODE)
Z0 (RAPID CLEAR OF JOB)
M30

O0002 (SUB PROGRAM)
(THIS SUB IS CALLED 20 TIMES FROM MAIN PROGRAM)
(BECAUSE IT IS IN INC MODE THE TOOL WILL MOVE Z-1MM EACH PASS AND CREATE)
(A HOLE 50MM DIA + TOOL DIA TO A DEPTH OF 20MM)
G91 (CHANGE TO INCREMENTAL)
G01 Z-1. F50. (FEED DOWN 1MM)
G03 I-25. F150. (MOVE IN A CCW CIRCLE)
M99
%

Once all the remarks are removed the code is very compact and easily changed to alter the bore size.

One thing to remember is that the L command has a range of 0 to 99.

Graham

1052
Hi Deano,

what is it you want to know, give me a clue as to what you want to do and I will try and explain it in simple terms, to write a whole document would take way too long but snippets of code I can do.

Graham

1053
G-Code, CAD, and CAM discussions / Re: G Code Basics
« on: July 10, 2011, 01:17:00 PM »
Post your program here and lets see if we can work out your problem

Graham

1054
G-Code, CAD, and CAM discussions / Re: PLEASE HELP
« on: June 20, 2011, 04:57:28 AM »
what size cutters have you got and where is your datum point?

1055
General Mach Discussion / Re: I Keep Breaking Engraving Bits....
« on: May 08, 2011, 05:43:33 AM »
In hard materials you need to be above 20,000 rpm and the feed should be no more than 1/4 the tip dia per rev and depth of cut 1/3 tip dia.

I have had good results based on this but the machines are also very rigid so only a guide.

Graham

1056
MACH TOOL BOX / Re: SubRoutine : Engraving Leters
« on: May 07, 2011, 03:33:39 PM »
The space file (^.txt) looks to be missing from the ZIP

Graham

1057
Works in progress / Re: THE LATHE PROJECT-2011 - WIZARDS SCREENS ONLY
« on: April 29, 2011, 05:24:54 AM »
Better still write the code

%
G21 G40 G00 G90 G43
T0101
G97 S1000 M3
G00 Z1.
X20.
G01 Z0 F.25
X21. Z-322. F.1
G00 X25.
Z1.
M30
%

You can change the X figures to match your job.

Graham

1058
Why not mount the part on a mandrel in the mill spindle and mount a tool in the vice and use the mill like a lathe.

Graham

1059
Very nice indeed, its a shame you have to use it and get it dirty  >:D

Graham

1060
G-Code, CAD, and CAM discussions / Re: Need some g-code critique
« on: April 01, 2011, 09:31:04 AM »
At the end of the program add this bit of code

G54 G00 G90 Z1.
X0 Y0
M30

This will move the machine back to your original zero point.

Make sure the Z axis is clear of the work first

If the cutter is not back at the start point then you may be loosing position during the cutting.

Graham