-
G53 Datum Shift
Hi All
Outside of BobCAM I have a question I need some help on.
Need to offset lots of holes while keeping the same datum. So program is like this
G00 X0, Y0, Z20
G01 Z-12 F1000
G01 X1.25 F1000
G03 X-1.25 R1.25
G03 X1.25 R1.25
G01 X0
G00 Z3
( )
G00 Y2
G01 Z-12 F1000
G01 X1.25 F1000
G03 X-1.25 R1.25
G03 X1.25 R1.25
G01 X0
G00 Z3
( )
G00 Y2
G01 Z-12 F1000
G01 X1.25 F1000
G03 X-1.25 R1.25
G03 X1.25 R1.25
G01 X0
G00 Z3
( )
etc for a position up to Y120
Then I need to do a datum shift in X by a distance of 2
I am guessing G52 X2 Y0 should do the job and followed by X4, X4 etc and cancelled by a G52 X0 Y0)
Am I on the right track
-
Re: G53 Datum Shift
fidia
G0X2Y0. the next one would be G0X4Y0. Etc don't need to mess with any other codes keep it simple
-
Re: G53 Datum Shift
Thanks, . Using a CNC router for some testing on a part. Need to punch a 0.9mm hole 2mm on center over a 120 x 140mm work piece of plastic
If I wanted to shift the X and Y datum I am guessing it would be G52 X1 Y1. See hole pattern below
X0, Y0 Y+ = --->
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
.o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
.o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
.o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
.o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Is G52 incremental each time from abs datum or previous incremental datum
-
1 Attachment(s)
Re: G53 Datum Shift
fidia
This is what your program can look like, there are other ways to do it, this is in inch, just one line to change ( G73 line ) to suit your speeds feeds Etc
You should be able to do this in BobCam
-
Re: G53 Datum Shift
-
Re: G53 Datum Shift
Thanks for all feedback. What we are actually doing is piercing a piece of plastic with 3 needles mounted on a 3 axis CNC machine (BZT PFL-3). Hole pitch of .5mm in Y then X.
I have actually used G92 to do it.
What we need it to do is
Rapid to XY position. Plunge to -10mm. Then do an R1.25 circular interpolation. Rapid to +10mm, move 0.5mm in Y and repeat for up to 120mm in Y. Then step over .5 in X and repeat
3 needles mounted in head 12mm apart.
What I have figured out so far is to use G92 and do an X move after each line of holes in Y has been completed
G00 Z10
G00 X0 Y0
G92 X.5
G0 Z3
G01 Z--10 F1000
G01 X1.25
G03 X-1.25 R1.25
G03 X1.25 R1.25
G01 X0
G00 Z10
G00 Y0.5
REPEAT