A computer numerical control machine tool for grinding two sides of a plane by shifting self-rotation and ultrasonic vibration, being characterized in that a pillar (3) is provided on a tool body (1) of the machine tool, a Y axis movement assembly (12) is provided on a platform of the tool body (1), with a lower revolving movement assembly (11), which revolves about a coordinate axis Z, being mounted on an upper surface of the Y axis movement assembly (12), and a lower grinding plate (10) is mounted coaxially above the lower revolving movement assembly (11);
- an ultrasonic vibration assembly (2) is fixedly mounted on the pillar (3), with a separation plate (8) for clamping a workpiece assembly (9) being provided on the ultrasonic vibration assembly (2);
- an X axis movement assembly (4) is mounted on the pillar (3), and a Z axis movement assembly (5) is mounted on an upright face of the X axis movement assembly (4), with an upper revolving movement assembly (6), which revolves about the coordinate axis Z, being provided on the Z axis movement assembly (5), and an upper grinding plate (7) being mounted coaxially on the revolving axis of the upper revolving movement assembly (6).