Hello Guest it is April 26, 2024, 09:34:40 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

1531
It is enough to hold the edges down but it can also force the middle up.  See picture.

Graham


1532
how is the work fastened down on the machine, is it possible the tool is lifting the job, this would cause the parts to be the wrong size and the wrong depth.

Graham

1533
You can only enter values in to a DRO on a mach screen, then read them with your code.

Mach also has no IF statement, you would be better using a macro.

Graham

1534
G-Code, CAD, and CAM discussions / Re: New member
« on: October 19, 2008, 07:08:24 PM »
Hi Dave,

I do not think this is possible in write.

Why do you need incremental I&J?

Graham

1535
Hi Jinca,

the idea of the the wizzards is to make it easy to produce code without any g-code knowledge.  The idea is you recreate the code as needed.

If you want to write your own code then the easy way to produce a circle is like this

If we want to cut a 1.000" dia hole with a 1/8" dia cutter.

G00 G90 X0 Y0 Z1. (move to centre of circle)
Z.1 (safe start point in Z)
G01 Z-.0625 F3. (feed to depth in Z axis)
G91 X.4375 (change to incremental moves and feed out to hole rad-cutter rad)
G03 I-.4375(move CCW to form circle)
G00 G90 X0 (back to absolute and centre of hole)
Z.1 (up in Z to safe height)

To change this into a sub :-

O0001
(main program)
G20 G40 G80
G00 G90
T1 M6
M98 P0002
M30

O0002
(this is a sub)
G00 G90 X0 Y0 Z1. (move to centre of circle)
Z.1 (safe start point in Z)
G01 Z-.0625 F3. (feed to depth in Z axis)
G91 X.4375 (change to incremental moves and feed out to hole rad-cutter rad)
G03 I-.4375(move CCW to form circle)
G00 G90 X0 (back to absolute and centre of hole)
Z.1 (up in Z to safe height)
M99

The magic of putting holes any where is done with G52

O0001
(main program)
G20 G40 G80
G00 G90
T1 M6
G52 X0 Y0 (clear any existing G52)
M98 P0002 (jump into sub)
G52 X2. Y2. (datum shift 2" in X&Y )
M98 P0002 (jump into sub)
G52 X0 Y0(cancel datum shift ** very important **)
M30

O0002
(this is a sub)
G00 G90 X0 Y0 Z1. (move to centre of circle)
Z.1 (safe start point in Z)
G01 Z-.0625 F3. (feed to depth in Z axis)
G91 X.4375 (change to incremental moves and feed out to hole rad-cutter rad)
G03 I-.4375(move CCW to form circle)
G00 G90 X0 (back to absolute and centre of hole)
Z.1 (up in Z to safe height)
M99

Graham

1536
General Mach Discussion / Re: G code
« on: October 14, 2008, 05:51:25 PM »
Hi Hille,

what size cutter do you have in the spindle, can you post your code here for me to look at.

Have you set your cutter on the top of the work piece and pressed z zero to set the z datum?

Graham

1537
General Mach Discussion / Re: Macros For Dummies
« on: October 11, 2008, 02:45:28 PM »
If you use the macropump it is run constantly from start up, it is polled about 40 times per second, all calls need to execute and exit as soon as possible to avoid slowing things down.  eg. no counter/delay loops, set pointers and move on, check on the next call.

Remember the macropump will allow silly things to happen if you do not interlock them out with your code.

Graham

1538
General Mach Discussion / Re: Macros For Dummies
« on: October 11, 2008, 02:26:36 PM »
If you load it by the VB script editor within Mill or Turn you can just save it back in the same place

Graham

1539
General Mach Discussion / Re: Macros For Dummies
« on: October 11, 2008, 12:21:34 PM »
If you want the functions to be live all the time then the macropump is where you will have to add the code.  Open up the vb editor and load it from there.  Make sure the macropump is turned on in config.

Graham

1540
Show"N"Tell ( Your Machines) / Re: Taig CNC mill
« on: October 06, 2008, 12:48:27 PM »
Very nice set up, thanks for sharing

Graham