Hello Guest it is November 19, 2019, 03:06:16 AM

Author Topic: STEP / COPY A PATTERN  (Read 1613 times)

0 Members and 1 Guest are viewing this topic.

STEP / COPY A PATTERN
« on: December 06, 2016, 05:26:51 PM »
Hi All,

Tried to search for this solution, but nothing seemed to quite do what I wanted.

I have a 3 axis router table.

I regularly nest my parts into half a sheet and cut.
But sometimes Ill cut 2 sets on the one sheet, by moving to X1200, Zero X, and Run again.

Is there a way to program a "step" so my machine 0,0,0 is unchanged?

Another simple example would be to cut a small square part, then others next to it to make a pattern of, say, 10 X 10 squares on a sheet

Thanks in advance

Regards

Drew

Offline RICH

*
  • *
  •  7,371 7,371
    • View Profile
Re: STEP / COPY A PATTERN
« Reply #1 on: December 07, 2016, 07:26:24 AM »
Drew,
Consider using WORK Offsets, ie; G54, G55 or G59-P1 to P254, etc. which defines the Work offset from home to the fixture.
-An example of use would be making multiple parts  using the same code by providing an offset to do the other parts. ie; G54 offset used for the first part and then G55  ( offset amount ) such that the tool would start at a different Datum.
- G54 is default work offset when Mach starts.


Consider also using a G52 which is some distance from the G54 X,Y,Z location.
- The G52 is the distance from G54 0,0,0  to the part / tool location.
- G52  is  a temporary offset - you need to have a work offset in place since it offsets the original offset by some value and can be cancelled thus the original offsets are not cancelled.
- The  G52 just offsets the controlled point by some amount and remains in effect until canceled.

See attached pic.  


RICH
« Last Edit: December 07, 2016, 07:28:35 AM by RICH »
Re: STEP / COPY A PATTERN
« Reply #2 on: December 07, 2016, 04:33:19 PM »
Thanks Rich,

Looks like I'm going to have to look more into work offsets.

I used to program a CNC drilling machine for printed circuit boards, but that was in 1988 / 89, so forgotten allot.
However, I dont remember having to use increasing G44, G55 etc.

Time to hit google

Thanks for pointing me in the right direction :)

Drew

Online Tweakie.CNC

*
  • *
  •  8,002 8,002
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: STEP / COPY A PATTERN
« Reply #3 on: December 08, 2016, 05:41:23 AM »
Also, check out the guide in Members Documents here; http://www.machsupport.com/forum/index.php/topic,33595.0.html

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Re: STEP / COPY A PATTERN
« Reply #4 on: December 11, 2016, 04:51:18 PM »
Thanks for all your help guy's

However, this is not quite what I'm looking for.
All these seems to need to copy the code after the G52 (etc) ??

Is there a way to "loop" at the new G52 location?

Perhaps this was a special feature of the machine I used to use?


Thanks

Drew

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: STEP / COPY A PATTERN
« Reply #5 on: December 11, 2016, 07:36:16 PM »
Tried the nesting wizard? Just edit your code and save with m99 instead of m30 then open in Mach, you will need to cancel the pathe generation as it will say return with no sub or something like that. Next open the nesting wizard, choose the number of parts in X and Y then distance in X and Y they are to be apart then generate the code. Here is the standard Cross.tap that comes with Mach I have just run through the nesting wizard.

Hood

Re: STEP / COPY A PATTERN
« Reply #6 on: December 15, 2016, 05:56:28 PM »
Thanks Hood
Will give this a go :)

Drew