G57 ( use a new offset for only this experiment ) G0 G21 ( metric ) G17 ( use XY plane ) G90 ( absolute programming ) G80 ( cancel any canned cycles ) ( end setup ) T2 M06 ( get T2 ) G0 X25.4 Z25.4 ( Move up and right 1 inch ) T6 M06 ( get T6 ) G0 Y50.8 Z0 ( move down 1 inch and back 2 inches ) ( should now be one XYZ block, stood on end, from the origin ) M05 ( stop the motor )