DoOEMButton(1024) ' Ref Z axis (note presume that home is at the top away from the table!) DoOEMButton(1022) ' Ref X axis DoOEMButton(1023) ' Ref Y axis ' DoOEMButton(1025) ' Ref A axis (remove the first " ' " to uncomment out / use this axis ref command) ' DoOEMButton(1026) ' Ref B axis (remove the first " ' " to uncomment out / use this axis ref command) ' DoOEMButton(1027) ' Ref C axis (remove the first " ' " to uncomment out / use this axis ref command) While IsMoving() Wend code("G00 X200") 'change the "200" to whatever number you desire While IsMoving() Wend code("G00 Y200") 'change the "200" to whatever number you desire While IsMoving() Wend code("G00 Z50") 'change the "50" to whatever number you desire While IsMoving() Wend ' uncomment out the first " ' " to activate the axis movement if you need them. ' code("G00 A200") 'change the "200" to whatever number you desire ' While IsMoving() ' Wend ' code("G00 B200") 'change the "200" to whatever number you desire ' While IsMoving() ' Wend ' code("G00 C200") 'change the "200" to whatever number you desire ' While IsMoving() ' Wend