Hello Guest it is May 03, 2024, 10:51:03 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

1581
General Mach Discussion / Re: error "too many nests Mach4"
« on: July 26, 2008, 01:35:26 PM »
Both Art and Brian have always said that there is no guarantee that parameters are safe.

I have used subs up to 3 deep with no problem, parameters seem to get corrupted after 2 deep totally at random.

Graham

1582
General Mach Discussion / Re: error "too many nests Mach4"
« on: July 26, 2008, 08:16:47 AM »
I think the nest depth is 3.

Graham

1583
General Mach Discussion / Re: Open/Close Spindle Collet....Best Way
« on: July 24, 2008, 06:10:42 AM »
Replacing "Code M5" with the VB command DoSpinStop() is better.

Graham.

1584
Hi Willem,

thank you for your comments, the only difference is the earlier one was limited to 32000 lines of code.

Graham.

1585
G-Code, CAD, and CAM discussions / Re: Help with multiple passes
« on: July 21, 2008, 02:21:10 PM »
Hi Sage,

you are correct in what you say, that is the main problem of incremental code, as the code is written to do that job then the code is safe, if it is to be adapted for other jobs then all the rapid moves have to be checked and adjusted for safe movement.

If this was going to be a regular problem then the g-code can be written using # codes to allow the code to be altered by the changing of a variable.

CNC is about repetition, we write a g-code program and prove it works, we then save it for the next time we make the same part, if the code worked the first time it will work time and again. 

As with lots of things in this world there are many ways to do a job, finding a way that suites your way of working is the hard bit.

You have learned a lot from this exercise already, just think what you may learn tomorrow.

Graham.

1586
Tangent Corner / Re: Identify this control.
« on: July 21, 2008, 01:18:15 PM »
It looks very much like a Fanuc 6 but the wording is all wrong, the wording looks siemans.

Have you a link or a better picture.

Graham.
 

1587
G-Code, CAD, and CAM discussions / Re: Help with multiple passes
« on: July 18, 2008, 04:43:26 PM »
Hi Sage,

the circle code starts and finishes at the same point so it has no need to rapid up and down, the line M98 P0005 L51 tells the main program to call the sub program O0005 51 times.

Here is a commented snippet of your code.

N2 M6 T2(TOOL Change 1/4 centercut endmill)
G43 H2
G0
M3
 (1ST SLOT)
X4.7834 Y4.0789 (move to start of slot)
Z.600                 (move clear of part by 600 thou)
M98 P0002 L51    (call sub O0002 51 times)
G00 G90 Z.6       (change to absolute and rapid clear)
 (2ND SLOT)
(code removed)
........
M1
M30

O0002 (FIRST SUB)
G00 G91 Z-.6         (set to incremental and rapid to -600 thou)
G1 Z-.01  F.50       (feed into job)
G90                      (set to absolute)
G2 X4.2265 Y3.6499 I-1.9342 J1.9351 F4.00 (create arc)
G0 G91 Z.6           (set to incremental and rapid up 600 thou)
G90 X4.7834 Y4.0789 (rapid back to start of arc)
M99                     (go back to main program)

Any questions just ask.

Graham.

1588
G-Code, CAD, and CAM discussions / Re: Help with multiple passes
« on: July 17, 2008, 04:25:07 PM »
Sage,

this is how I would do the same program.

Use Lazycam to give you the cutter path and then use subs to repeat the moves as many times as you like.

Graham.

1589
G-Code, CAD, and CAM discussions / Re: Help with multiple passes
« on: July 17, 2008, 04:25:10 AM »
Hi Sage,

post your g-code, I will have a look.

Graham.

1590
LazyTurn / Re: LazyTurn
« on: July 14, 2008, 11:35:31 AM »
Sorry chaps, the chess DXF's are only for Arts testing purposes. They actually belong to me and I sent them to Art because the proved difficult to load into Lazyturn.

Graham.