Machine Crashed Following the Probing Operation for Live Part Alignment Data
My goal is to utilize the machine work probe on a HAAS GR510 for live part alignment to locate a production part held in a vice. At this time there is not a fully designed and validated fixture setup, therefore I saw it as an opportunity to test out and utilize live part alignment to locate the XYZ of the part in space. Here is a photo of the setup.
During the test run the vice was purposely not indicated for alignment along the X axis to test the capabilities of live part alignment. The program was setup to probe two points on each side of the part (XYZ) to restrict all degrees of freedom for aligning the part correctly. The program probed all of the 6 points on the part and prompted review of the data and asked for approval. I did not analyze the data close enough to notice that some points failed to project. See the inspection results before and after part alignment.
I pressed approve and immediately the machine lowered the probe and crashed into the part at the location of the last probing point. I have attached the inspection report along with the nc code for investigation.
What would cause the machine to lower into the part after it just probed the surface locating the top z surface? Was the machine crash a result of the probed data not able to successfully project onto the part? Was the crash a result of the machine trying to make a tool change, but first lowering the height of the head to the tool carousel height?
Let me know if anyone has any ideas. For now I have limited the programs to probing the WCS instead of full live part alignment.
Solved! Go to Solution.
Solved by Richard.stubley. Go to Solution.
Hi @chohmanQ74YB,
Firstly, as a fellow probe wielding machinist sorry to hear this has happened. Regardless of Setup, operator, software or hardware issue it's never a nice feeling to see the probe hurtling towards the part! Lets dig into this and see where the problem could be. Your description gives me ideas already but lets start from the basics and look at the code.
The code for live connection isn't too easy to read as it's lots of macro calls.
Lines 470 to 477
Thank you @Richard.stubley for the detailed analysis!
I believe your analysis is correct that the line 503: G53 G0 Z0 is the root cause of the machine crash. I reached out to the Haas applications engineering department to further understand the nature of the movement of the GR510 when commanded to make moves through the g code. The engineer confirmed that with the G53 line of code utilized for safe retracts in the post processor the machine will lower (in my case) to this height in preparation for a tool change at the tool change height based on the machine setup. Here is the GR510 layout drawing for reference.
I believe the solution to this moving forward is to utilize G28 as the safe retract height in the prost processor to command the machine to move to the Z zero machine limit then jog over to the tool changer, lower the height and proceed with the tool change.
This has has not happened in the past with the G53 safe retracts selected due to the height of the parts being machined, but in some cases it is very close. Based on my height stack up analysis, utilizing G53 safe retract there is a clash in the height of the part at the tool change height.
I will analyze the movement of the machine for programs currently running with G53 safe retract. I will also test out G28 safe retract to observe whether this will be a confirmed solution moving forward.
Hi @chohmanQ74YB,
Thanks for the info. So it sounds like this part has been the highest one you have machined on this machine so far. So although this may have happened in the past, your part has been low enough to miss.
I spoke to a HAAS engineer over here in the UK about this ad he just warned that G28 may go to the same spot as G53 depending on how its been setup. So possibly using the clearance height so its a value in your WCS might be the better option than G53 or G28.
Another option would be to modify the post so rather than G53 G0 Z0. its G53 G0 Z50. (I've put 50 in as a guess, basically whatever is the Highest X you have)
Clearance height would be my guess now knowing a bit more about what's going on.
Hopefully this at least lets us know where the issue was.
Back on your description of what you were trying to do the only advice I would have is maybe a 321 alignment. Otherwise known as plane line point. This can sometimes be more reliable than 3 lines.
Hi @chohmanQ74YB
I'm really sorry what happened.
You can set the home position either in the post processor or
if you are using the machine definition connected in the setup you can change the home position in the kinematics tab of the machine definition
Can't find what you're looking for? Ask the community or share your knowledge.