Hello Guest it is April 24, 2024, 10:01:23 AM

Author Topic: Help on work offsett  (Read 2837 times)

0 Members and 1 Guest are viewing this topic.

Help on work offsett
« on: January 24, 2007, 05:49:34 PM »

I am just trying to get to grips with work offsets and srtuggling.  ???

I have a small part which I am able to cut out as a single item.
I wish to cut out 4 in a 2x2 array.
I have failed to set up work offsets too achieve this.
I have read the manual, put offsets into the offset table and become completely confused.
Can someone show me the coding/technique to to make the cutter move to the required 4 start positions  and cut each item in turn.

tmsmith

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: Help on work offsett
« Reply #1 on: January 24, 2007, 06:58:27 PM »
Hi Malcolm,

you can use the G52 command to do this.

If you set G54 as the datum for the first part.

If the second part is at X50.00 Y0.00 and the third part is at X50.00 Y-50.00 and the forth part is at X0.00 Y-50.00 then the code would be.

G21 G40 G17
Etc.

G54 G00 G90 X0 Y0 Z25.
CODE TO MILL FIRST PART
...
G52 X50. Y0 (DO DATUM SHIFT)
G00 X... Y...
CODE FOR SECOND PART (COPY OF FIRST PART)
G52 X0 Y0 (CANCEL DATUM SHIFT)

G52 X50. Y-50. (SECOND DATUM SHIFT)
CODE FOR THIRD PART
G52 X0 Y0

G52 X0 Y-50.
CODE FOR FORTH PART
G52 X0 Y0
M30

Graham.
Without engineers the world stops
Re: Help on work offsett
« Reply #2 on: January 25, 2007, 02:22:58 PM »
Thanks for the help Graham.
I havn't fitted a homimg switch yet, but this seems to figure in setting up offsets tutorial etc.
But then again perhaps I shouldn't be thinkiing of this as an offset problem.
I will try your suggested method; I had not considered the G52 code I will now look it up.

I was trying to code using G54, G55, G56 etc.

Malcolm