Jump to content

Welcome to eMastercam

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:

Mazak Probing on HMC


ARP
 Share

Recommended Posts

I'm a long time VMC and Mastercam user. I am now working for a place that bought an HMC and has no Mastercam.

I'm using a Mazak HCN-4000 horizontal and Mazatrol to machine castings in low volumes. The machine has a Renishaw OMP-60 and software.

The castings vary enough that I have been probing every one before machining to ensure my work offsets are good to each part. I'm using softjaws (machined aluminum bars) to hold the specific shapes in Kurt DX6 crossover vises mounted to Kurt 2 sided or 4 sided tombstones. I machine features on the face of parts and then rotate the stone 90 degrees left and right to do some more features on the sides. I want the Y work offset to be the same for the face work and for both sides. So my probing program just repeats the motions 3 times to get the same Y value in multiple offsets. The machine has up to 300 work offsets so I've been using specific offsets for specific parts. We don't do too many different parts so I still have lots of open work offsets.

I know there is a way to use macros to just probe the part once and then shoot those values to whatever other offset number I want...but I'm having a tough time figuring out how. I am the programmer, operator, tooling co-ordinator, fixture guy, maintenance guy... just like all the rest of you folks.

The example below uses G54.1 P31 as my face ops and P32 and P34 are the side holes that I make NPT's. It also flips around 180 degrees to probe a second part on the tombstone and do face ops at P36 and side holes at P33 and P35. I want the Y value for all 3 offsets for that part (P31, P32, P34) to be the same. I would like to probe the face and take the Y value from P31 and copy it to the Y value of  P32 and P34 without actually waiting for the machine to bump the part 2 more times and the same with the backside part.

This is a sub-program that is called in Mazatrol. My probing routines are all EIA programs and the main programs are all made with Mazatrol.

Any help is greatly appreciated.

Probe multiple.png

Link to comment
Share on other sites

Here is one example where I use the center of rotation to set a new offset about a C180 rotation so that you can see how it flows:

 

<SET-G55>()
(SET-G55)
(Be sure G54 XYZBC are set!!!)
(J. Wright, 04/2017)


N10
(=== Declare/Initialize Variables  ===)
#525=#50700 (X-COR)
#526=#50705 (Y-COR)
#527=#5221  (X-G54)
#528=#5222  (Y-G54)
#529=#5223  (Z-G54)
#530=#5225  (C-G54)
#531=0.     (X-G55 #5421)
#532=0.     (Y-G55 #5422)
#533=0.     (C-G55 #5245)
#534=0.     (Operator)
#535=0.     (Operator)
#536=0.     (Operator)


N100
(=== Solve X Deviation ===)
#534=ABS[#527]#535=ABS[#525]
IF[#527GT#525]GOTO110
#536=#534-#535
#531=#525+#536
#5241=#531
IF[#531EQ#531]GOTO120
N110
#536=[#535-#534]
#531=[-1*[#536-#525]]
#5241=#531


N120
(=== Solve Y Deviation ===)
#534=ABS[#528]#535=ABS[#526]
IF[#528GT#526]GOTO130
#536=[#534-#535]
#532=[#526+#536]
#5242=#532
IF[#532EQ#532]GOTO140 
N130
#536=#535-#534
#532=[-1*[#536-#526]]
#5242=#532


N140
(=== Set Z ===)
#5243=#529


M30

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

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.

Follow us

×
×
  • Create New...