(X-Axis Accel Test - RELATIVE POSITIONING) (WARNING: Ensure you have 200mm of travel to the RIGHT of your starting point) G21 (Set units to millimeters) G91 (Set relative positioning mode) (Long moves: Test acceleration up to full max speed) G0 X200 (Move 200mm right) G0 X-200 (Move 200mm left) G0 X200 G0 X-200 (Medium moves) G0 X100 G0 X-100 G0 X100 G0 X-100 (Short, aggressive back-and-forth moves to stress rotational inertia) G0 X20 G0 X-10 G0 X20 G0 X-20 G0 X30 G0 X-30 G0 X40 G0 X-30 G0 X40 G0 X-40 G0 X50 (Return to Start Position) (The net travel of the short moves above is +70mm) (We must move -70mm to get exactly back to the start point) G0 X-70 G90 (Set back to absolute positioning for normal operation) (End of test) M30