A grinding machine includes a plane grinding mechanism carrying a workpiece, an electrically controlled device mounted on the plane grinding mechanism, a grinder unit rotatably mounted on the plane grinding mechanism to grind the workpiece, and a smart working control system mounted on the plane grinding mechanism and electrically coupled to the electrically controlled device. The smart working control system includes a smart coder and a smart driver. When a load and a cutting force produced between the grinder unit and the workpiece reach preset parameters during the grinding process, the smart driver executes the working sequence or parameter setting program edited by the smart coder, to shorten a movement distance of the workbench of the plane grinding mechanism along the X-axis (leftward and rightward), and to produce an optimum lapping path.