1
General Mach Discussion / REF ALL HOME Code
« on: October 22, 2013, 07:09:18 AM »
I have two questions
1. I would like to have a "G" or "M" code to make the CNC move to and operate the REF ALL HOME button. I have limit switches and the REF ALL HOME works great. It finds the switch and then backs off approximately .050 and sets zero, I like it. I would like the "G" code to do the same.
2. I Would like to use a "G" code to set an offset in my program for the X,Y and Z in case my CNC moves. Example - start location is 0,0,0. System moved by .020 in all axis. "G" code to shift all X,Y and Z axis by the .020. This way I don't have to re-program all of the X,YZ coordinates, which are about 30.
Allen
1. I would like to have a "G" or "M" code to make the CNC move to and operate the REF ALL HOME button. I have limit switches and the REF ALL HOME works great. It finds the switch and then backs off approximately .050 and sets zero, I like it. I would like the "G" code to do the same.
2. I Would like to use a "G" code to set an offset in my program for the X,Y and Z in case my CNC moves. Example - start location is 0,0,0. System moved by .020 in all axis. "G" code to shift all X,Y and Z axis by the .020. This way I don't have to re-program all of the X,YZ coordinates, which are about 30.
Allen