Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Is there a way I can create a UDF that will send the machine home? I have a part that I have to flip and I would like to do it all in one program and I can't figure out how to send the machine to its home location.
The way I've done this is to customize the sequence and add the necessary CL commands to either the end of the last pre-flip sequence, or the beginning of the first sequence I want to run after the flip. You start with the "Customize" selection. It shows you the Tool Motions. Pick a spot where you want to put your CL commands, then scroll down the list of items to the "CL Command" one, and have at it. It's kind of clunky, but it does the job. Much better than manually editing the NC code, for sure.
Could also just create an Auxiliary nc sequence and enter the HOME cl command.
The preferred Post Command would be GOHOME. This will send the tool to the home location defined in the Option File in rapid. If you need something else to happen for GOHOME you can use FIL,for example to output G0 G91 G28 Z0.
Fred