Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.
Use your display name or email address to sign in:
We have been playing with the Dynamic offset, here is a sample that Mazak sent us. We understand most of it but having trouble with the [#135*1.].
We are trying to probe a part and have the distance sent into the G54.2P1 from G54 (G54 being center of rotation). Can anybody help us?
( PROBE FOR DYNAMIC COMP OFFSET )
T40 (PROBE)
N100 #24=0. (X POSN WRT G54)
#25=1. (Y POSN WRT G54)
#26=7.3 (Z POSN WRT G54)
#21=7.75 (X DIM OF BLOCK)
#22=5.38 (Y DIM OF BLOCK)
(-------------------------)
N200 M200
G00G91G28Z0
G54 (*** OFFSET AT CENTER OF ROTARY AXES ***)
G90G00A0.C0.
T40M06
N300G00X#24 Y#25 (CENTER OF MATERIAL STOCK ON FIXTURE)
G65P9810 Z[#26+1.] F150. (TOP OF BLOCK + 1.0)
G65P9811Z#26 Q.3
#5523=[#137*1.]-.05 (G54.2P1 Z = MEASURED Z )
#5813=[#137*1.]-.05 (G54.4P1 Z = MEASURED Z )
M01
G65P9810 X#24 Y#25 Z[#26+.4] F150.
G65P9812 Z[#26-.3] Y#22 R.5 (BLOCK Y DIMENSION)
#5522=[#136*1.] (G54.2P1 Y = MEASURED Y CENTER )
#5812=[#136*1.] (G54.4P1 Y = MEASURED Y CENTER )
M01
G65P9812 Z[#26-.3] X#21 R.5 (BLOCK X DIMENSION)
#5521=[#135*1.] (G54.2P1 X = MEASURED X CENTER )
#5811=[#135*1.] (G54.4P1 X = MEASURED X CENTER )
M01
N9000 G00G91G28Z0
G90
M01
(M99)
M30
Rob
I see you have a macro #162000=0.
When I prob my part G54 being center of rotation how will it caculate the distance to the G54.2P1, is this were the macro comes into play?
Trying to understand how Dymanic Offset works. So you know how a Variaxis works, everything works off of center of rotation.
I can not change my G54, but every part is not in the same location. I would like to prob each part, but how does that work with Dymanic Offset?
eMastercam - your online source for all things Mastercam.
Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.